diff --git a/branch/kby-3680-error-message-not-announced/404.html b/branch/kby-3680-error-message-not-announced/404.html index 71f33edabc..cd841f5e85 100644 --- a/branch/kby-3680-error-message-not-announced/404.html +++ b/branch/kby-3680-error-message-not-announced/404.html @@ -9,5 +9,5 @@ - + diff --git a/branch/kby-3680-error-message-not-announced/index.html b/branch/kby-3680-error-message-not-announced/index.html index 71f33edabc..cd841f5e85 100644 --- a/branch/kby-3680-error-message-not-announced/index.html +++ b/branch/kby-3680-error-message-not-announced/index.html @@ -9,5 +9,5 @@ - + diff --git a/branch/kby-3680-error-message-not-announced/main.ce794b919bf8ee2f.js b/branch/kby-3680-error-message-not-announced/main.ce794b919bf8ee2f.js new file mode 100644 index 0000000000..e1e46cb9b4 --- /dev/null +++ b/branch/kby-3680-error-message-not-announced/main.ce794b919bf8ee2f.js @@ -0,0 +1 @@ +(self.webpackChunkcookbook=self.webpackChunkcookbook||[]).push([[8792],{72438:ft=>{var l=function(n){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,f=0,g={},s={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function he(pe){return pe instanceof x?new x(pe.type,he(pe.content),pe.alias):Array.isArray(pe)?pe.map(he):pe.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(Le){var he=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(Le.stack)||[])[1];if(he){var pe=document.getElementsByTagName("script");for(var be in pe)if(pe[be].src==he)return pe[be]}return null}},isActive:function(he,pe,be){for(var Le="no-"+pe;he;){var ye=he.classList;if(ye.contains(pe))return!0;if(ye.contains(Le))return!1;he=he.parentElement}return!!be}},languages:{plain:g,plaintext:g,text:g,txt:g,extend:function(he,pe){var be=s.util.clone(s.languages[he]);for(var Le in pe)be[Le]=pe[Le];return be},insertBefore:function(he,pe,be,Le){var ye=(Le=Le||s.languages)[he],je={};for(var ke in ye)if(ye.hasOwnProperty(ke)){if(ke==pe)for(var De in be)be.hasOwnProperty(De)&&(je[De]=be[De]);be.hasOwnProperty(ke)||(je[ke]=ye[ke])}var Je=Le[he];return Le[he]=je,s.languages.DFS(s.languages,function(lt,Mt){Mt===Je&<!=he&&(this[lt]=je)}),je},DFS:function he(pe,be,Le,ye){ye=ye||{};var je=s.util.objId;for(var ke in pe)if(pe.hasOwnProperty(ke)){be.call(pe,ke,pe[ke],Le||ke);var De=pe[ke],Je=s.util.type(De);"Object"!==Je||ye[je(De)]?"Array"===Je&&!ye[je(De)]&&(ye[je(De)]=!0,he(De,be,ke,ye)):(ye[je(De)]=!0,he(De,be,null,ye))}}},plugins:{},highlightAll:function(he,pe){s.highlightAllUnder(document,he,pe)},highlightAllUnder:function(he,pe,be){var Le={callback:be,container:he,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",Le),Le.elements=Array.prototype.slice.apply(Le.container.querySelectorAll(Le.selector)),s.hooks.run("before-all-elements-highlight",Le);for(var je,ye=0;je=Le.elements[ye++];)s.highlightElement(je,!0===pe,Le.callback)},highlightElement:function(he,pe,be){var Le=s.util.getLanguage(he),ye=s.languages[Le];s.util.setLanguage(he,Le);var je=he.parentElement;je&&"pre"===je.nodeName.toLowerCase()&&s.util.setLanguage(je,Le);var De={element:he,language:Le,grammar:ye,code:he.textContent};function Je(Mt){De.highlightedCode=Mt,s.hooks.run("before-insert",De),De.element.innerHTML=De.highlightedCode,s.hooks.run("after-highlight",De),s.hooks.run("complete",De),be&&be.call(De.element)}if(s.hooks.run("before-sanity-check",De),(je=De.element.parentElement)&&"pre"===je.nodeName.toLowerCase()&&!je.hasAttribute("tabindex")&&je.setAttribute("tabindex","0"),!De.code)return s.hooks.run("complete",De),void(be&&be.call(De.element));if(s.hooks.run("before-highlight",De),De.grammar)if(pe&&n.Worker){var lt=new Worker(s.filename);lt.onmessage=function(Mt){Je(Mt.data)},lt.postMessage(JSON.stringify({language:De.language,code:De.code,immediateClose:!0}))}else Je(s.highlight(De.code,De.grammar,De.language));else Je(s.util.encode(De.code))},highlight:function(he,pe,be){var Le={code:he,grammar:pe,language:be};if(s.hooks.run("before-tokenize",Le),!Le.grammar)throw new Error('The language "'+Le.language+'" has no grammar.');return Le.tokens=s.tokenize(Le.code,Le.grammar),s.hooks.run("after-tokenize",Le),x.stringify(s.util.encode(Le.tokens),Le.language)},tokenize:function(he,pe){var be=pe.rest;if(be){for(var Le in be)pe[Le]=be[Le];delete pe.rest}var ye=new w;return M(ye,ye.head,he),y(he,ye,pe,ye.head,0),function R(he){for(var pe=[],be=he.head.next;be!==he.tail;)pe.push(be.value),be=be.next;return pe}(ye)},hooks:{all:{},add:function(he,pe){var be=s.hooks.all;be[he]=be[he]||[],be[he].push(pe)},run:function(he,pe){var be=s.hooks.all[he];if(be&&be.length)for(var ye,Le=0;ye=be[Le++];)ye(pe)}},Token:x};function x(he,pe,be,Le){this.type=he,this.content=pe,this.alias=be,this.length=0|(Le||"").length}function _(he,pe,be,Le){he.lastIndex=pe;var ye=he.exec(be);if(ye&&Le&&ye[1]){var je=ye[1].length;ye.index+=je,ye[0]=ye[0].slice(je)}return ye}function y(he,pe,be,Le,ye,je){for(var ke in be)if(be.hasOwnProperty(ke)&&be[ke]){var De=be[ke];De=Array.isArray(De)?De:[De];for(var Je=0;Je=je.reach);e+=Xe.value.length,Xe=Xe.next){var On=Xe.value;if(pe.length>he.length)return;if(!(On instanceof x)){var wt,Pt=1;if(et){if(!(wt=_(Ct,e,he,Bt))||wt.index>=he.length)break;var It=wt.index,At=wt.index+wt[0].length,we=e;for(we+=Xe.value.length;It>=we;)we+=(Xe=Xe.next).value.length;if(e=we-=Xe.value.length,Xe.value instanceof x)continue;for(var Ot=Xe;Ot!==pe.tail&&(weje.reach&&(je.reach=jn);var So=Xe.prev;if(fn&&(So=M(pe,So,fn),e+=fn.length),I(pe,So,Pt),Xe=M(pe,So,new x(ke,Mt?s.tokenize(tn,Mt):tn,sn,tn)),En&&M(pe,Xe,En),Pt>1){var Nt={cause:ke+","+Je,reach:jn};y(he,pe,be,Xe.prev,e,Nt),je&&Nt.reach>je.reach&&(je.reach=Nt.reach)}}}}}}function w(){var he={value:null,prev:null,next:null},pe={value:null,prev:he,next:null};he.next=pe,this.head=he,this.tail=pe,this.length=0}function M(he,pe,be){var Le=pe.next,ye={value:be,prev:pe,next:Le};return pe.next=ye,Le.prev=ye,he.length++,ye}function I(he,pe,be){for(var Le=pe.next,ye=0;ye"+ye.content+""},!n.document)return n.addEventListener&&(s.disableWorkerMessageHandler||n.addEventListener("message",function(he){var pe=JSON.parse(he.data),be=pe.language,ye=pe.immediateClose;n.postMessage(s.highlight(pe.code,s.languages[be],be)),ye&&n.close()},!1)),s;var H=s.util.currentScript();function K(){s.manual||s.highlightAll()}if(H&&(s.filename=H.src,H.hasAttribute("data-manual")&&(s.manual=!0)),!s.manual){var L=document.readyState;"loading"===L||"interactive"===L&&H&&H.defer?document.addEventListener("DOMContentLoaded",K):window.requestAnimationFrame?window.requestAnimationFrame(K):window.setTimeout(K,16)}return s}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});ft.exports&&(ft.exports=l),typeof global<"u"&&(global.Prism=l),l.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},l.languages.markup.tag.inside["attr-value"].inside.entity=l.languages.markup.entity,l.languages.markup.doctype.inside["internal-subset"].inside=l.languages.markup,l.hooks.add("wrap",function(n){"entity"===n.type&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(l.languages.markup.tag,"addInlined",{value:function(i,f){var g={};g["language-"+f]={pattern:/(^$)/i,lookbehind:!0,inside:l.languages[f]},g.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:g}};s["language-"+f]={pattern:/[\s\S]+/,inside:l.languages[f]};var x={};x[i]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:s},l.languages.insertBefore("markup","cdata",x)}}),Object.defineProperty(l.languages.markup.tag,"addAttribute",{value:function(n,i){l.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:l.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),l.languages.html=l.languages.markup,l.languages.mathml=l.languages.markup,l.languages.svg=l.languages.markup,l.languages.xml=l.languages.extend("markup",{}),l.languages.ssml=l.languages.xml,l.languages.atom=l.languages.xml,l.languages.rss=l.languages.xml,function(n){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var f=n.languages.markup;f&&(f.tag.addInlined("style","css"),f.tag.addAttribute("style","css"))}(l),l.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},l.languages.javascript=l.languages.extend("clike",{"class-name":[l.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),l.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,l.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:l.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:l.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:l.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:l.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:l.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),l.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:l.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),l.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),l.languages.markup&&(l.languages.markup.tag.addInlined("script","javascript"),l.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),l.languages.js=l.languages.javascript,function(){if(!(typeof l>"u"||typeof document>"u")){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var g={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",x="loading",_="loaded",w="pre[data-src]:not(["+s+'="'+_+'"]):not(['+s+'="'+x+'"])';l.hooks.add("before-highlightall",function(H){H.selector+=", "+w}),l.hooks.add("before-sanity-check",function(H){var K=H.element;if(K.matches(w)){H.code="",K.setAttribute(s,x);var L=K.appendChild(document.createElement("CODE"));L.textContent="Loading\u2026";var he=K.getAttribute("data-src"),pe=H.language;if("none"===pe){var be=(/\.(\w+)$/.exec(he)||[,"none"])[1];pe=g[be]||be}l.util.setLanguage(L,pe),l.util.setLanguage(K,pe);var Le=l.plugins.autoloader;Le&&Le.loadLanguages(pe),function M(H,K,L){var he=new XMLHttpRequest;he.open("GET",H,!0),he.onreadystatechange=function(){4==he.readyState&&(he.status<400&&he.responseText?K(he.responseText):L(he.status>=400?function(H,K){return"\u2716 Error "+H+" while fetching file: "+K}(he.status,he.statusText):"\u2716 Error: File does not exist or is empty"))},he.send(null)}(he,function(ye){K.setAttribute(s,_);var je=function I(H){var K=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(H||"");if(K){var L=Number(K[1]),pe=K[3];return K[2]?pe?[L,Number(pe)]:[L,void 0]:[L,L]}}(K.getAttribute("data-range"));if(je){var ke=ye.split(/\r\n?|\n/g),De=je[0],Je=null==je[1]?ke.length:je[1];De<0&&(De+=ke.length),De=Math.max(0,Math.min(De-1,ke.length)),Je<0&&(Je+=ke.length),Je=Math.max(0,Math.min(Je,ke.length)),ye=ke.slice(De,Je).join("\n"),K.hasAttribute("data-start")||K.setAttribute("data-start",String(De+1))}L.textContent=ye,l.highlightElement(L)},function(ye){K.setAttribute(s,"failed"),L.textContent=ye})}}),l.plugins.fileHighlight={highlight:function(K){for(var pe,L=(K||document).querySelectorAll(w),he=0;pe=L[he++];)l.highlightElement(pe)}};var R=!1;l.fileHighlight=function(){R||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),R=!0),l.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},90555:(ft,Z,l)=>{"use strict";l.d(Z,{c:()=>x});var n=l(84878);let i;const g=(_,y,w)=>{const M=y.startsWith("animation")?(_=>(void 0===i&&(i=void 0===_.style.animationName&&void 0!==_.style.webkitAnimationName?"-webkit-":""),i))(_):"";_.style.setProperty(M+y,w)},s=(_=[],y)=>{if(void 0!==y){const w=Array.isArray(y)?y:[y];return[..._,...w]}return _},x=_=>{let y,w,M,I,R,H,be,Mt,Bt,et,Xe,K=[],L=[],he=[],pe=!1,Le={},ye=[],je=[],ke={},De=0,Je=!1,lt=!1,sn=!0,tt=!1,Ct=!0,e=!1;const On=_,Pt=[],wt=[],At=[],we=[],Ot=[],It=[],tn=[],fn=[],En=[],jn=[],So=[],pt="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,Nt="function"==typeof Element&&"function"==typeof Element.prototype.animate&&pt,Vt=()=>So,Zn=(en,po)=>{const ni=po.findIndex(Ci=>Ci.c===en);ni>-1&&po.splice(ni,1)},_n=(en,po)=>((po?.oneTimeCallback?wt:Pt).push({c:en,o:po}),Xe),Qt=()=>{Nt&&(So.forEach(en=>{en.cancel()}),So.length=0)},Nn=()=>{It.forEach(en=>{en?.parentNode&&en.parentNode.removeChild(en)}),It.length=0},Yi=()=>void 0!==R?R:be?be.getFill():"both",xr=()=>void 0!==Mt?Mt:void 0!==H?H:be?be.getDirection():"normal",zi=()=>Je?"linear":void 0!==M?M:be?be.getEasing():"linear",Ji=()=>lt?0:void 0!==Bt?Bt:void 0!==w?w:be?be.getDuration():0,Pr=()=>void 0!==I?I:be?be.getIterations():1,Gi=()=>void 0!==et?et:void 0!==y?y:be?be.getDelay():0,Dn=()=>{0!==De&&(De--,0===De&&((()=>{En.forEach(hr=>hr()),jn.forEach(hr=>hr());const en=sn?1:0,po=ye,ni=je,Ci=ke;we.forEach(hr=>{const Vi=hr.classList;po.forEach(qi=>Vi.add(qi)),ni.forEach(qi=>Vi.remove(qi));for(const qi in Ci)Ci.hasOwnProperty(qi)&&g(hr,qi,Ci[qi])}),Bt=void 0,Mt=void 0,et=void 0,Pt.forEach(hr=>hr.c(en,Xe)),wt.forEach(hr=>hr.c(en,Xe)),wt.length=0,Ct=!0,sn&&(tt=!0),sn=!0})(),be&&be.animationFinish()))},co=()=>{(()=>{tn.forEach(Ci=>Ci()),fn.forEach(Ci=>Ci());const en=L,po=he,ni=Le;we.forEach(Ci=>{const hr=Ci.classList;en.forEach(Vi=>hr.add(Vi)),po.forEach(Vi=>hr.remove(Vi));for(const Vi in ni)ni.hasOwnProperty(Vi)&&g(Ci,Vi,ni[Vi])})})(),K.length>0&&Nt&&(we.forEach(en=>{const po=en.animate(K,{id:On,delay:Gi(),duration:Ji(),easing:zi(),iterations:Pr(),fill:Yi(),direction:xr()});po.pause(),So.push(po)}),So.length>0&&(So[0].onfinish=()=>{Dn()})),pe=!0},Oo=en=>{en=Math.min(Math.max(en,0),.9999),Nt&&So.forEach(po=>{po.currentTime=po.effect.getComputedTiming().delay+Ji()*en,po.pause()})},ln=en=>{So.forEach(po=>{po.effect.updateTiming({delay:Gi(),duration:Ji(),easing:zi(),iterations:Pr(),fill:Yi(),direction:xr()})}),void 0!==en&&Oo(en)},Gn=(en=!1,po=!0,ni)=>(en&&Ot.forEach(Ci=>{Ci.update(en,po,ni)}),Nt&&ln(ni),Xe),ci=()=>{pe&&(Nt?So.forEach(en=>{en.pause()}):we.forEach(en=>{g(en,"animation-play-state","paused")}),e=!0)},Vr=en=>new Promise(po=>{en?.sync&&(lt=!0,_n(()=>lt=!1,{oneTimeCallback:!0})),pe||co(),tt&&(Nt&&(Oo(0),ln()),tt=!1),Ct&&(De=Ot.length+1,Ct=!1);const ni=()=>{Zn(Ci,wt),po()},Ci=()=>{Zn(ni,At),po()};_n(Ci,{oneTimeCallback:!0}),(en=>{At.push({c:en,o:{oneTimeCallback:!0}})})(ni),Ot.forEach(hr=>{hr.play()}),Nt?(So.forEach(en=>{en.play()}),(0===K.length||0===we.length)&&Dn()):Dn(),e=!1}),wr=(en,po)=>{const ni=K[0];return void 0===ni||void 0!==ni.offset&&0!==ni.offset?K=[{offset:0,[en]:po},...K]:ni[en]=po,Xe};return Xe={parentAnimation:be,elements:we,childAnimations:Ot,id:On,animationFinish:Dn,from:wr,to:(en,po)=>{const ni=K[K.length-1];return void 0===ni||void 0!==ni.offset&&1!==ni.offset?K=[...K,{offset:1,[en]:po}]:ni[en]=po,Xe},fromTo:(en,po,ni)=>wr(en,po).to(en,ni),parent:en=>(be=en,Xe),play:Vr,pause:()=>(Ot.forEach(en=>{en.pause()}),ci(),Xe),stop:()=>{Ot.forEach(en=>{en.stop()}),pe&&(Qt(),pe=!1),Je=!1,lt=!1,Ct=!0,Mt=void 0,Bt=void 0,et=void 0,De=0,tt=!1,sn=!0,e=!1,At.forEach(en=>en.c(0,Xe)),At.length=0},destroy:en=>(Ot.forEach(po=>{po.destroy(en)}),(en=>{Qt(),en&&Nn()})(en),we.length=0,Ot.length=0,K.length=0,Pt.length=0,wt.length=0,pe=!1,Ct=!0,Xe),keyframes:en=>{const po=K!==en;return K=en,po&&(en=>{Nt&&Vt().forEach(po=>{const ni=po.effect;if(ni.setKeyframes)ni.setKeyframes(en);else{const Ci=new KeyframeEffect(ni.target,en,ni.getTiming());po.effect=Ci}})})(K),Xe},addAnimation:en=>{if(null!=en)if(Array.isArray(en))for(const po of en)po.parent(Xe),Ot.push(po);else en.parent(Xe),Ot.push(en);return Xe},addElement:en=>{if(null!=en)if(1===en.nodeType)we.push(en);else if(en.length>=0)for(let po=0;po(R=en,Gn(!0),Xe),direction:en=>(H=en,Gn(!0),Xe),iterations:en=>(I=en,Gn(!0),Xe),duration:en=>(!Nt&&0===en&&(en=1),w=en,Gn(!0),Xe),easing:en=>(M=en,Gn(!0),Xe),delay:en=>(y=en,Gn(!0),Xe),getWebAnimations:Vt,getKeyframes:()=>K,getFill:Yi,getDirection:xr,getDelay:Gi,getIterations:Pr,getEasing:zi,getDuration:Ji,afterAddRead:en=>(En.push(en),Xe),afterAddWrite:en=>(jn.push(en),Xe),afterClearStyles:(en=[])=>{for(const po of en)ke[po]="";return Xe},afterStyles:(en={})=>(ke=en,Xe),afterRemoveClass:en=>(je=s(je,en),Xe),afterAddClass:en=>(ye=s(ye,en),Xe),beforeAddRead:en=>(tn.push(en),Xe),beforeAddWrite:en=>(fn.push(en),Xe),beforeClearStyles:(en=[])=>{for(const po of en)Le[po]="";return Xe},beforeStyles:(en={})=>(Le=en,Xe),beforeRemoveClass:en=>(he=s(he,en),Xe),beforeAddClass:en=>(L=s(L,en),Xe),onFinish:_n,isRunning:()=>0!==De&&!e,progressStart:(en=!1,po)=>(Ot.forEach(ni=>{ni.progressStart(en,po)}),ci(),Je=en,pe||co(),Gn(!1,!0,po),Xe),progressStep:en=>(Ot.forEach(po=>{po.progressStep(en)}),Oo(en),Xe),progressEnd:(en,po,ni)=>(Je=!1,Ot.forEach(Ci=>{Ci.progressEnd(en,po,ni)}),void 0!==ni&&(Bt=ni),tt=!1,sn=!0,0===en?(Mt="reverse"===xr()?"normal":"reverse","reverse"===Mt&&(sn=!1),Nt?(Gn(),Oo(1-po)):(et=(1-po)*Ji()*-1,Gn(!1,!1))):1===en&&(Nt?(Gn(),Oo(po)):(et=po*Ji()*-1,Gn(!1,!1))),void 0!==en&&!be&&Vr(),Xe)}}},76081:(ft,Z,l)=>{"use strict";l.d(Z,{g:()=>i});var n=l(84878);const i=()=>{if(void 0!==n.w)return n.w.Capacitor}},62782:(ft,Z,l)=>{"use strict";l.d(Z,{i:()=>n});const n=i=>i&&""!==i.dir?"rtl"===i.dir.toLowerCase():"rtl"===document?.dir.toLowerCase()},35498:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{startFocusVisible:()=>g});const n="ion-focused",f=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],g=s=>{let x=[],_=!0;const y=s?s.shadowRoot:document,w=s||document.body,M=he=>{x.forEach(pe=>pe.classList.remove(n)),he.forEach(pe=>pe.classList.add(n)),x=he},I=()=>{_=!1,M([])},R=he=>{_=f.includes(he.key),_||M([])},H=he=>{if(_&&void 0!==he.composedPath){const pe=he.composedPath().filter(be=>!!be.classList&&be.classList.contains("ion-focusable"));M(pe)}},K=()=>{y.activeElement===w&&M([])};return y.addEventListener("keydown",R),y.addEventListener("focusin",H),y.addEventListener("focusout",K),y.addEventListener("touchstart",I,{passive:!0}),y.addEventListener("mousedown",I),{destroy:()=>{y.removeEventListener("keydown",R),y.removeEventListener("focusin",H),y.removeEventListener("focusout",K),y.removeEventListener("touchstart",I),y.removeEventListener("mousedown",I)},setFocus:M}}},88875:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>g,G:()=>s});class i{constructor(_,y,w,M,I){this.id=y,this.name=w,this.disableScroll=I,this.priority=1e6*M+y,this.ctrl=_}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const _=this.ctrl.capture(this.name,this.id,this.priority);return _&&this.disableScroll&&this.ctrl.disableScroll(this.id),_}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class f{constructor(_,y,w,M){this.id=y,this.disable=w,this.disableScroll=M,this.ctrl=_}block(){if(this.ctrl){if(this.disable)for(const _ of this.disable)this.ctrl.disableGesture(_,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const _ of this.disable)this.ctrl.enableGesture(_,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const g="backdrop-no-scroll",s=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(_){var y;return new i(this,this.newID(),_.name,null!==(y=_.priority)&&void 0!==y?y:0,!!_.disableScroll)}createBlocker(_={}){return new f(this,this.newID(),_.disable,!!_.disableScroll)}start(_,y,w){return this.canStart(_)?(this.requestedStart.set(y,w),!0):(this.requestedStart.delete(y),!1)}capture(_,y,w){if(!this.start(_,y,w))return!1;const M=this.requestedStart;let I=-1e4;if(M.forEach(R=>{I=Math.max(I,R)}),I===w){this.capturedId=y,M.clear();const R=new CustomEvent("ionGestureCaptured",{detail:{gestureName:_}});return document.dispatchEvent(R),!0}return M.delete(y),!1}release(_){this.requestedStart.delete(_),this.capturedId===_&&(this.capturedId=void 0)}disableGesture(_,y){let w=this.disabledGestures.get(_);void 0===w&&(w=new Set,this.disabledGestures.set(_,w)),w.add(y)}enableGesture(_,y){const w=this.disabledGestures.get(_);void 0!==w&&w.delete(y)}disableScroll(_){this.disabledScroll.add(_),1===this.disabledScroll.size&&document.body.classList.add(g)}enableScroll(_){this.disabledScroll.delete(_),0===this.disabledScroll.size&&document.body.classList.remove(g)}canStart(_){return!(void 0!==this.capturedId||this.isDisabled(_))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(_){const y=this.disabledGestures.get(_);return!!(y&&y.size>0)}newID(){return this.gestureId++,this.gestureId}}},95098:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{MENU_BACK_BUTTON_PRIORITY:()=>y,OVERLAY_BACK_BUTTON_PRIORITY:()=>_,blockHardwareBackButton:()=>s,shouldUseCloseWatcher:()=>g,startHardwareBackButton:()=>x});var n=l(10467),i=l(84878),f=l(45531);const g=()=>f.c.get("experimentalCloseWatcher",!1)&&void 0!==i.w&&"CloseWatcher"in i.w,s=()=>{document.addEventListener("backbutton",()=>{})},x=()=>{const w=document;let M=!1;const I=()=>{if(M)return;let R=0,H=[];const K=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(pe,be){H.push({priority:pe,handler:be,id:R++})}}});w.dispatchEvent(K);const L=function(){var pe=(0,n.A)(function*(be){try{if(be?.handler){const Le=be.handler(he);null!=Le&&(yield Le)}}catch(Le){console.error(Le)}});return function(Le){return pe.apply(this,arguments)}}(),he=()=>{if(H.length>0){let pe={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};H.forEach(be=>{be.priority>=pe.priority&&(pe=be)}),M=!0,H=H.filter(be=>be.id!==pe.id),L(pe).then(()=>M=!1)}};he()};if(g()){let R;const H=()=>{R?.destroy(),R=new i.w.CloseWatcher,R.onclose=()=>{I(),H()}};H()}else w.addEventListener("backbutton",I)},_=100,y=99},1656:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>y,b:()=>w,c:()=>f,d:()=>s,e:()=>K,f:()=>H,g:()=>M,h:()=>R,i:()=>_,j:()=>g,k:()=>L,l:()=>Le,m:()=>be,p:()=>pe,r:()=>I,s:()=>je,t:()=>n});const n=(ke,De=0)=>new Promise(Je=>{i(ke,De,Je)}),i=(ke,De=0,Je)=>{let lt,Mt;const Bt={passive:!0},sn=()=>{lt&<()},tt=Ct=>{(void 0===Ct||ke===Ct.target)&&(sn(),Je(Ct))};return ke&&(ke.addEventListener("webkitTransitionEnd",tt,Bt),ke.addEventListener("transitionend",tt,Bt),Mt=setTimeout(tt,De+500),lt=()=>{void 0!==Mt&&(clearTimeout(Mt),Mt=void 0),ke.removeEventListener("webkitTransitionEnd",tt,Bt),ke.removeEventListener("transitionend",tt,Bt)}),sn},f=(ke,De)=>{ke.componentOnReady?ke.componentOnReady().then(Je=>De(Je)):I(()=>De(ke))},g=ke=>void 0!==ke.componentOnReady,s=(ke,De=[])=>{const Je={};return De.forEach(lt=>{ke.hasAttribute(lt)&&(null!==ke.getAttribute(lt)&&(Je[lt]=ke.getAttribute(lt)),ke.removeAttribute(lt))}),Je},x=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],_=(ke,De)=>{let Je=x;return De&&De.length>0&&(Je=Je.filter(lt=>!De.includes(lt))),s(ke,Je)},y=(ke,De,Je,lt)=>{var Mt;if(typeof window<"u"){const Bt=window,et=null===(Mt=Bt?.Ionic)||void 0===Mt?void 0:Mt.config;if(et){const sn=et.get("_ael");if(sn)return sn(ke,De,Je,lt);if(et._ael)return et._ael(ke,De,Je,lt)}}return ke.addEventListener(De,Je,lt)},w=(ke,De,Je,lt)=>{var Mt;if(typeof window<"u"){const Bt=window,et=null===(Mt=Bt?.Ionic)||void 0===Mt?void 0:Mt.config;if(et){const sn=et.get("_rel");if(sn)return sn(ke,De,Je,lt);if(et._rel)return et._rel(ke,De,Je,lt)}}return ke.removeEventListener(De,Je,lt)},M=(ke,De=ke)=>ke.shadowRoot||De,I=ke=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(ke):"function"==typeof requestAnimationFrame?requestAnimationFrame(ke):setTimeout(ke),R=ke=>!!ke.shadowRoot&&!!ke.attachShadow,H=ke=>{if(ke.focus(),ke.classList.contains("ion-focusable")){const De=ke.closest("ion-app");De&&De.setFocus([ke])}},K=(ke,De,Je,lt,Mt)=>{if(ke||R(De)){let Bt=De.querySelector("input.aux-input");Bt||(Bt=De.ownerDocument.createElement("input"),Bt.type="hidden",Bt.classList.add("aux-input"),De.appendChild(Bt)),Bt.disabled=Mt,Bt.name=Je,Bt.value=lt||""}},L=(ke,De,Je)=>Math.max(ke,Math.min(De,Je)),pe=ke=>{if(ke){const De=ke.changedTouches;if(De&&De.length>0){const Je=De[0];return{x:Je.clientX,y:Je.clientY}}if(void 0!==ke.pageX)return{x:ke.pageX,y:ke.pageY}}return{x:0,y:0}},be=ke=>{const De="rtl"===document.dir;switch(ke){case"start":return De;case"end":return!De;default:throw new Error(`"${ke}" is not a valid value for [side]. Use "start" or "end" instead.`)}},Le=(ke,De)=>{const Je=ke._original||ke;return{_original:ke,emit:ye(Je.emit.bind(Je),De)}},ye=(ke,De=0)=>{let Je;return(...lt)=>{clearTimeout(Je),Je=setTimeout(ke,De,...lt)}},je=(ke,De)=>{if(ke??(ke={}),De??(De={}),ke===De)return!0;const Je=Object.keys(ke);if(Je.length!==Object.keys(De).length)return!1;for(const lt of Je)if(!(lt in De)||ke[lt]!==De[lt])return!1;return!0}},46031:(ft,Z,l)=>{"use strict";l.d(Z,{L:()=>x,a:()=>_,b:()=>y,c:()=>w,d:()=>M,e:()=>Xe,g:()=>Pt,t:()=>be,w:()=>Ct});var n=l(10467),i=l(45531),f=l(51771),g=l(91979),s=l(1656);const x="ionViewWillEnter",_="ionViewDidEnter",y="ionViewWillLeave",w="ionViewDidLeave",M="ionViewWillUnload",I=wt=>{wt.tabIndex=-1,wt.focus()},R=wt=>null!==wt.offsetParent,K="ion-last-focus",pe_saveViewFocus=we=>{if(i.c.get("focusManagerPriority",!1)){const It=document.activeElement;null!==It&&we?.contains(It)&&It.setAttribute(K,"true")}},pe_setViewFocus=we=>{const Ot=i.c.get("focusManagerPriority",!1);if(Array.isArray(Ot)&&!we.contains(document.activeElement)){const It=we.querySelector(`[${K}]`);if(It&&R(It))return void I(It);for(const tn of Ot)switch(tn){case"content":const fn=we.querySelector('main, [role="main"]');if(fn&&R(fn))return void I(fn);break;case"heading":const En=we.querySelector('h1, [role="heading"][aria-level="1"]');if(En&&R(En))return void I(En);break;case"banner":const jn=we.querySelector('header, [role="banner"]');if(jn&&R(jn))return void I(jn);break;default:(0,g.p)(`Unrecognized focus manager priority value ${tn}`)}I(we)}},be=wt=>new Promise((At,we)=>{(0,f.bN)(()=>{Le(wt),ye(wt).then(Ot=>{Ot.animation&&Ot.animation.destroy(),je(wt),At(Ot)},Ot=>{je(wt),we(Ot)})})}),Le=wt=>{const At=wt.enteringEl,we=wt.leavingEl;pe_saveViewFocus(we),On(At,we,wt.direction),wt.showGoBack?At.classList.add("can-go-back"):At.classList.remove("can-go-back"),e(At,!1),At.style.setProperty("pointer-events","none"),we&&(e(we,!1),we.style.setProperty("pointer-events","none"))},ye=function(){var wt=(0,n.A)(function*(At){const we=yield ke(At);return we&&f.L2.isBrowser?De(we,At):Je(At)});return function(we){return wt.apply(this,arguments)}}(),je=wt=>{const At=wt.enteringEl,we=wt.leavingEl;At.classList.remove("ion-page-invisible"),At.style.removeProperty("pointer-events"),void 0!==we&&(we.classList.remove("ion-page-invisible"),we.style.removeProperty("pointer-events")),pe_setViewFocus(At)},ke=function(){var wt=(0,n.A)(function*(At){return At.leavingEl&&At.animated&&0!==At.duration?At.animationBuilder?At.animationBuilder:"ios"===At.mode?(yield l.e(4699).then(l.bind(l,84699))).iosTransitionAnimation:(yield l.e(7179).then(l.bind(l,47179))).mdTransitionAnimation:void 0});return function(we){return wt.apply(this,arguments)}}(),De=function(){var wt=(0,n.A)(function*(At,we){yield lt(we,!0);const Ot=At(we.baseEl,we);et(we.enteringEl,we.leavingEl);const It=yield Bt(Ot,we);return we.progressCallback&&we.progressCallback(void 0),It&&sn(we.enteringEl,we.leavingEl),{hasCompleted:It,animation:Ot}});return function(we,Ot){return wt.apply(this,arguments)}}(),Je=function(){var wt=(0,n.A)(function*(At){const we=At.enteringEl,Ot=At.leavingEl,It=i.c.get("focusManagerPriority",!1);return yield lt(At,It),et(we,Ot),sn(we,Ot),{hasCompleted:!0}});return function(we){return wt.apply(this,arguments)}}(),lt=function(){var wt=(0,n.A)(function*(At,we){(void 0!==At.deepWait?At.deepWait:we)&&(yield Promise.all([Xe(At.enteringEl),Xe(At.leavingEl)])),yield Mt(At.viewIsReady,At.enteringEl)});return function(we,Ot){return wt.apply(this,arguments)}}(),Mt=function(){var wt=(0,n.A)(function*(At,we){At&&(yield At(we))});return function(we,Ot){return wt.apply(this,arguments)}}(),Bt=(wt,At)=>{const we=At.progressCallback,Ot=new Promise(It=>{wt.onFinish(tn=>It(1===tn))});return we?(wt.progressStart(!0),we(wt)):wt.play(),Ot},et=(wt,At)=>{tt(At,y),tt(wt,x)},sn=(wt,At)=>{tt(wt,_),tt(At,w)},tt=(wt,At)=>{if(wt){const we=new CustomEvent(At,{bubbles:!1,cancelable:!1});wt.dispatchEvent(we)}},Ct=()=>new Promise(wt=>(0,s.r)(()=>(0,s.r)(()=>wt()))),Xe=function(){var wt=(0,n.A)(function*(At){const we=At;if(we){if(null!=we.componentOnReady){if(null!=(yield we.componentOnReady()))return}else if(null!=we.__registerHost)return void(yield new Promise(It=>(0,s.r)(It)));yield Promise.all(Array.from(we.children).map(Xe))}});return function(we){return wt.apply(this,arguments)}}(),e=(wt,At)=>{At?(wt.setAttribute("aria-hidden","true"),wt.classList.add("ion-page-hidden")):(wt.hidden=!1,wt.removeAttribute("aria-hidden"),wt.classList.remove("ion-page-hidden"))},On=(wt,At,we)=>{void 0!==wt&&(wt.style.zIndex="back"===we?"99":"101"),void 0!==At&&(At.style.zIndex="100")},Pt=wt=>wt.classList.contains("ion-page")?wt:wt.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||wt},2104:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>w});var n=l(88875);const i=(H,K,L,he)=>{const pe=f(H)?{capture:!!he.capture,passive:!!he.passive}:!!he.capture;let be,Le;return H.__zone_symbol__addEventListener?(be="__zone_symbol__addEventListener",Le="__zone_symbol__removeEventListener"):(be="addEventListener",Le="removeEventListener"),H[be](K,L,pe),()=>{H[Le](K,L,pe)}},f=H=>{if(void 0===g)try{const K=Object.defineProperty({},"passive",{get:()=>{g=!0}});H.addEventListener("optsTest",()=>{},K)}catch{g=!1}return!!g};let g;const _=H=>H instanceof Document?H:H.ownerDocument,w=H=>{let K=!1,L=!1,he=!0,pe=!1;const be=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},H),Le=be.canStart,ye=be.onWillStart,je=be.onStart,ke=be.onEnd,De=be.notCaptured,Je=be.onMove,lt=be.threshold,Mt=be.passive,Bt=be.blurOnStart,et={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},sn=((H,K,L)=>{const he=L*(Math.PI/180),pe="x"===H,be=Math.cos(he),Le=K*K;let ye=0,je=0,ke=!1,De=0;return{start(Je,lt){ye=Je,je=lt,De=0,ke=!0},detect(Je,lt){if(!ke)return!1;const Mt=Je-ye,Bt=lt-je,et=Mt*Mt+Bt*Bt;if(etbe?1:tt<-be?-1:0,ke=!1,!0},isGesture:()=>0!==De,getDirection:()=>De}})(be.direction,be.threshold,be.maxAngle),tt=n.G.createGesture({name:H.gestureName,priority:H.gesturePriority,disableScroll:H.disableScroll}),e=()=>{K&&(pe=!1,Je&&Je(et))},On=()=>!!tt.capture()&&(K=!0,he=!1,et.startX=et.currentX,et.startY=et.currentY,et.startTime=et.currentTime,ye?ye(et).then(wt):wt(),!0),wt=()=>{Bt&&(()=>{if(typeof document<"u"){const tn=document.activeElement;tn?.blur&&tn.blur()}})(),je&&je(et),he=!0},At=()=>{K=!1,L=!1,pe=!1,he=!0,tt.release()},we=tn=>{const fn=K,En=he;if(At(),En){if(M(et,tn),fn)return void(ke&&ke(et));De&&De(et)}},Ot=((H,K,L,he,pe)=>{let be,Le,ye,je,ke,De,Je,lt=0;const Mt=Pt=>{lt=Date.now()+2e3,K(Pt)&&(!Le&&L&&(Le=i(H,"touchmove",L,pe)),ye||(ye=i(Pt.target,"touchend",et,pe)),je||(je=i(Pt.target,"touchcancel",et,pe)))},Bt=Pt=>{lt>Date.now()||K(Pt)&&(!De&&L&&(De=i(_(H),"mousemove",L,pe)),Je||(Je=i(_(H),"mouseup",sn,pe)))},et=Pt=>{tt(),he&&he(Pt)},sn=Pt=>{Ct(),he&&he(Pt)},tt=()=>{Le&&Le(),ye&&ye(),je&&je(),Le=ye=je=void 0},Ct=()=>{De&&De(),Je&&Je(),De=Je=void 0},Xe=()=>{tt(),Ct()},e=(Pt=!0)=>{Pt?(be||(be=i(H,"touchstart",Mt,pe)),ke||(ke=i(H,"mousedown",Bt,pe))):(be&&be(),ke&&ke(),be=ke=void 0,Xe())};return{enable:e,stop:Xe,destroy:()=>{e(!1),he=L=K=void 0}}})(be.el,tn=>{const fn=R(tn);return!(L||!he||(I(tn,et),et.startX=et.currentX,et.startY=et.currentY,et.startTime=et.currentTime=fn,et.velocityX=et.velocityY=et.deltaX=et.deltaY=0,et.event=tn,Le&&!1===Le(et))||(tt.release(),!tt.start()))&&(L=!0,0===lt?On():(sn.start(et.startX,et.startY),!0))},tn=>{K?!pe&&he&&(pe=!0,M(et,tn),requestAnimationFrame(e)):(M(et,tn),sn.detect(et.currentX,et.currentY)&&(!sn.isGesture()||!On())&&It())},we,{capture:!1,passive:Mt}),It=()=>{At(),Ot.stop(),De&&De(et)};return{enable(tn=!0){tn||(K&&we(void 0),At()),Ot.enable(tn)},destroy(){tt.destroy(),Ot.destroy()}}},M=(H,K)=>{if(!K)return;const L=H.currentX,he=H.currentY,pe=H.currentTime;I(K,H);const be=H.currentX,Le=H.currentY,je=(H.currentTime=R(K))-pe;if(je>0&&je<100){const De=(Le-he)/je;H.velocityX=(be-L)/je*.7+.3*H.velocityX,H.velocityY=.7*De+.3*H.velocityY}H.deltaX=be-H.startX,H.deltaY=Le-H.startY,H.event=K},I=(H,K)=>{let L=0,he=0;if(H){const pe=H.changedTouches;if(pe&&pe.length>0){const be=pe[0];L=be.clientX,he=be.clientY}else void 0!==H.pageX&&(L=H.pageX,he=H.pageY)}K.currentX=L,K.currentY=he},R=H=>H.timeStamp||Date.now()},84878:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>i,w:()=>n});const n=typeof window<"u"?window:void 0,i=typeof document<"u"?document:void 0},91979:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>i,b:()=>f,p:()=>n});const n=(g,...s)=>console.warn(`[Ionic Warning]: ${g}`,...s),i=(g,...s)=>console.error(`[Ionic Error]: ${g}`,...s),f=(g,...s)=>console.error(`<${g.tagName.toLowerCase()}> must be used inside ${s.join(" or ")}.`)},67849:(ft,Z,l)=>{"use strict";l.d(Z,{I:()=>x,a:()=>I,b:()=>s,c:()=>H,d:()=>L,f:()=>M,g:()=>w,i:()=>y,p:()=>K,r:()=>he,s:()=>R});var n=l(10467),i=l(1656),f=l(91979);const s="ion-content",x=".ion-content-scroll-host",_=`${s}, ${x}`,y=pe=>"ION-CONTENT"===pe.tagName,w=function(){var pe=(0,n.A)(function*(be){return y(be)?(yield new Promise(Le=>(0,i.c)(be,Le)),be.getScrollElement()):be});return function(Le){return pe.apply(this,arguments)}}(),M=pe=>pe.querySelector(x)||pe.querySelector(_),I=pe=>pe.closest(_),R=(pe,be)=>y(pe)?pe.scrollToTop(be):Promise.resolve(pe.scrollTo({top:0,left:0,behavior:be>0?"smooth":"auto"})),H=(pe,be,Le,ye)=>y(pe)?pe.scrollByPoint(be,Le,ye):Promise.resolve(pe.scrollBy({top:Le,left:be,behavior:ye>0?"smooth":"auto"})),K=pe=>(0,f.b)(pe,s),L=pe=>{if(y(pe)){const Le=pe.scrollY;return pe.scrollY=!1,Le}return pe.style.setProperty("overflow","hidden"),!0},he=(pe,be)=>{y(pe)?pe.scrollY=be:pe.style.removeProperty("overflow")}},45531:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>I,b:()=>e,c:()=>f,g:()=>M,i:()=>On});var n=l(51771);class i{constructor(){this.m=new Map}reset(wt){this.m=new Map(Object.entries(wt))}get(wt,At){const we=this.m.get(wt);return void 0!==we?we:At}getBoolean(wt,At=!1){const we=this.m.get(wt);return void 0===we?At:"string"==typeof we?"true"===we:!!we}getNumber(wt,At){const we=parseFloat(this.m.get(wt));return isNaN(we)?void 0!==At?At:NaN:we}set(wt,At){this.m.set(wt,At)}}const f=new i,y="ionic:",w="ionic-persist-config",M=Pt=>R(Pt),I=(Pt,wt)=>("string"==typeof Pt&&(wt=Pt,Pt=void 0),M(Pt).includes(wt)),R=(Pt=window)=>{if(typeof Pt>"u")return[];Pt.Ionic=Pt.Ionic||{};let wt=Pt.Ionic.platforms;return null==wt&&(wt=Pt.Ionic.platforms=H(Pt),wt.forEach(At=>Pt.document.documentElement.classList.add(`plt-${At}`))),wt},H=Pt=>{const wt=f.get("platform");return Object.keys(Ct).filter(At=>{const we=wt?.[At];return"function"==typeof we?we(Pt):Ct[At](Pt)})},L=Pt=>!!(sn(Pt,/iPad/i)||sn(Pt,/Macintosh/i)&&ke(Pt)),be=Pt=>sn(Pt,/android|sink/i),ke=Pt=>tt(Pt,"(any-pointer:coarse)"),Je=Pt=>lt(Pt)||Mt(Pt),lt=Pt=>!!(Pt.cordova||Pt.phonegap||Pt.PhoneGap),Mt=Pt=>{const wt=Pt.Capacitor;return!!wt?.isNative},sn=(Pt,wt)=>wt.test(Pt.navigator.userAgent),tt=(Pt,wt)=>{var At;return null===(At=Pt.matchMedia)||void 0===At?void 0:At.call(Pt,wt).matches},Ct={ipad:L,iphone:Pt=>sn(Pt,/iPhone/i),ios:Pt=>sn(Pt,/iPhone|iPod/i)||L(Pt),android:be,phablet:Pt=>{const wt=Pt.innerWidth,At=Pt.innerHeight,we=Math.min(wt,At),Ot=Math.max(wt,At);return we>390&&we<520&&Ot>620&&Ot<800},tablet:Pt=>{const wt=Pt.innerWidth,At=Pt.innerHeight,we=Math.min(wt,At),Ot=Math.max(wt,At);return L(Pt)||(Pt=>be(Pt)&&!sn(Pt,/mobile/i))(Pt)||we>460&&we<820&&Ot>780&&Ot<1400},cordova:lt,capacitor:Mt,electron:Pt=>sn(Pt,/electron/i),pwa:Pt=>{var wt;return!!(null!==(wt=Pt.matchMedia)&&void 0!==wt&&wt.call(Pt,"(display-mode: standalone)").matches||Pt.navigator.standalone)},mobile:ke,mobileweb:Pt=>ke(Pt)&&!Je(Pt),desktop:Pt=>!ke(Pt),hybrid:Je};let Xe;const e=Pt=>Pt&&(0,n.Wi)(Pt)||Xe,On=(Pt={})=>{if(typeof window>"u")return;const wt=window.document,At=window,we=At.Ionic=At.Ionic||{},Ot={};Pt._ael&&(Ot.ael=Pt._ael),Pt._rel&&(Ot.rel=Pt._rel),Pt._ce&&(Ot.ce=Pt._ce),(0,n.zb)(Ot);const It=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(Pt=>{try{const wt=Pt.sessionStorage.getItem(w);return null!==wt?JSON.parse(wt):{}}catch{return{}}})(At)),{persistConfig:!1}),we.config),(Pt=>{const wt={};return Pt.location.search.slice(1).split("&").map(At=>At.split("=")).map(([At,we])=>{try{return[decodeURIComponent(At),decodeURIComponent(we)]}catch{return["",""]}}).filter(([At])=>((Pt,wt)=>Pt.substr(0,wt.length)===wt)(At,y)).map(([At,we])=>[At.slice(6),we]).forEach(([At,we])=>{wt[At]=we}),wt})(At)),Pt);f.reset(It),f.getBoolean("persistConfig")&&((Pt,wt)=>{try{Pt.sessionStorage.setItem(w,JSON.stringify(wt))}catch{return}})(At,It),R(At),we.config=f,we.mode=Xe=f.get("mode",wt.documentElement.getAttribute("mode")||(I(At,"ios")?"ios":"md")),f.set("mode",Xe),wt.documentElement.setAttribute("mode",Xe),wt.documentElement.classList.add(Xe),f.getBoolean("_testing")&&f.set("animated",!1);const tn=En=>{var jn;return null===(jn=En.tagName)||void 0===jn?void 0:jn.startsWith("ION-")},fn=En=>["ios","md"].includes(En);(0,n.iY)(En=>{for(;En;){const jn=En.mode||En.getAttribute("mode");if(jn){if(fn(jn))return jn;tn(En)&&console.warn('Invalid ionic mode: "'+jn+'", expected: "ios" or "md"')}En=En.parentElement}return Xe})}},85680:(ft,Z,l)=>{"use strict";l.d(Z,{K:()=>g,a:()=>f});var n=l(76081),i=function(s){return s.Unimplemented="UNIMPLEMENTED",s.Unavailable="UNAVAILABLE",s}(i||{}),f=function(s){return s.Body="body",s.Ionic="ionic",s.Native="native",s.None="none",s}(f||{});const g={getEngine(){const s=(0,n.g)();if(s?.isPluginAvailable("Keyboard"))return s.Plugins.Keyboard},getResizeMode(){const s=this.getEngine();return s?.getResizeMode?s.getResizeMode().catch(x=>{if(x.code!==i.Unimplemented)throw x}):Promise.resolve(void 0)}}},86008:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{KEYBOARD_DID_CLOSE:()=>f,KEYBOARD_DID_OPEN:()=>i,copyVisualViewport:()=>Le,keyboardDidClose:()=>L,keyboardDidOpen:()=>H,keyboardDidResize:()=>K,resetKeyboardAssist:()=>y,setKeyboardClose:()=>R,setKeyboardOpen:()=>I,startKeyboardAssist:()=>w,trackViewportChanges:()=>be});var n=l(85680);const i="ionKeyboardDidShow",f="ionKeyboardDidHide";let s={},x={},_=!1;const y=()=>{s={},x={},_=!1},w=ye=>{if(n.K.getEngine())M(ye);else{if(!ye.visualViewport)return;x=Le(ye.visualViewport),ye.visualViewport.onresize=()=>{be(ye),H()||K(ye)?I(ye):L(ye)&&R(ye)}}},M=ye=>{ye.addEventListener("keyboardDidShow",je=>I(ye,je)),ye.addEventListener("keyboardDidHide",()=>R(ye))},I=(ye,je)=>{he(ye,je),_=!0},R=ye=>{pe(ye),_=!1},H=()=>!_&&s.width===x.width&&(s.height-x.height)*x.scale>150,K=ye=>_&&!L(ye),L=ye=>_&&x.height===ye.innerHeight,he=(ye,je)=>{const De=new CustomEvent(i,{detail:{keyboardHeight:je?je.keyboardHeight:ye.innerHeight-x.height}});ye.dispatchEvent(De)},pe=ye=>{const je=new CustomEvent(f);ye.dispatchEvent(je)},be=ye=>{s=Object.assign({},x),x=Le(ye.visualViewport)},Le=ye=>({width:Math.round(ye.width),height:Math.round(ye.height),offsetTop:ye.offsetTop,offsetLeft:ye.offsetLeft,pageTop:ye.pageTop,pageLeft:ye.pageLeft,scale:ye.scale})},19986:(ft,Z,l)=>{"use strict";l.d(Z,{c:()=>x});var n=l(28476);let i;const g=(_,y,w)=>{const M=y.startsWith("animation")?(_=>(void 0===i&&(i=void 0===_.style.animationName&&void 0!==_.style.webkitAnimationName?"-webkit-":""),i))(_):"";_.style.setProperty(M+y,w)},s=(_=[],y)=>{if(void 0!==y){const w=Array.isArray(y)?y:[y];return[..._,...w]}return _},x=_=>{let y,w,M,I,R,H,be,Mt,Bt,et,Xe,K=[],L=[],he=[],pe=!1,Le={},ye=[],je=[],ke={},De=0,Je=!1,lt=!1,sn=!0,tt=!1,Ct=!0,e=!1;const On=_,Pt=[],wt=[],At=[],we=[],Ot=[],It=[],tn=[],fn=[],En=[],jn=[],So=[],pt="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,Nt="function"==typeof Element&&"function"==typeof Element.prototype.animate&&pt,Vt=()=>So,Zn=(en,po)=>{const ni=po.findIndex(Ci=>Ci.c===en);ni>-1&&po.splice(ni,1)},_n=(en,po)=>((po?.oneTimeCallback?wt:Pt).push({c:en,o:po}),Xe),Qt=()=>{Nt&&(So.forEach(en=>{en.cancel()}),So.length=0)},Nn=()=>{It.forEach(en=>{en?.parentNode&&en.parentNode.removeChild(en)}),It.length=0},Yi=()=>void 0!==R?R:be?be.getFill():"both",xr=()=>void 0!==Mt?Mt:void 0!==H?H:be?be.getDirection():"normal",zi=()=>Je?"linear":void 0!==M?M:be?be.getEasing():"linear",Ji=()=>lt?0:void 0!==Bt?Bt:void 0!==w?w:be?be.getDuration():0,Pr=()=>void 0!==I?I:be?be.getIterations():1,Gi=()=>void 0!==et?et:void 0!==y?y:be?be.getDelay():0,Dn=()=>{0!==De&&(De--,0===De&&((()=>{En.forEach(hr=>hr()),jn.forEach(hr=>hr());const en=sn?1:0,po=ye,ni=je,Ci=ke;we.forEach(hr=>{const Vi=hr.classList;po.forEach(qi=>Vi.add(qi)),ni.forEach(qi=>Vi.remove(qi));for(const qi in Ci)Ci.hasOwnProperty(qi)&&g(hr,qi,Ci[qi])}),Bt=void 0,Mt=void 0,et=void 0,Pt.forEach(hr=>hr.c(en,Xe)),wt.forEach(hr=>hr.c(en,Xe)),wt.length=0,Ct=!0,sn&&(tt=!0),sn=!0})(),be&&be.animationFinish()))},co=()=>{(()=>{tn.forEach(Ci=>Ci()),fn.forEach(Ci=>Ci());const en=L,po=he,ni=Le;we.forEach(Ci=>{const hr=Ci.classList;en.forEach(Vi=>hr.add(Vi)),po.forEach(Vi=>hr.remove(Vi));for(const Vi in ni)ni.hasOwnProperty(Vi)&&g(Ci,Vi,ni[Vi])})})(),K.length>0&&Nt&&(we.forEach(en=>{const po=en.animate(K,{id:On,delay:Gi(),duration:Ji(),easing:zi(),iterations:Pr(),fill:Yi(),direction:xr()});po.pause(),So.push(po)}),So.length>0&&(So[0].onfinish=()=>{Dn()})),pe=!0},Oo=en=>{en=Math.min(Math.max(en,0),.9999),Nt&&So.forEach(po=>{po.currentTime=po.effect.getComputedTiming().delay+Ji()*en,po.pause()})},ln=en=>{So.forEach(po=>{po.effect.updateTiming({delay:Gi(),duration:Ji(),easing:zi(),iterations:Pr(),fill:Yi(),direction:xr()})}),void 0!==en&&Oo(en)},Gn=(en=!1,po=!0,ni)=>(en&&Ot.forEach(Ci=>{Ci.update(en,po,ni)}),Nt&&ln(ni),Xe),ci=()=>{pe&&(Nt?So.forEach(en=>{en.pause()}):we.forEach(en=>{g(en,"animation-play-state","paused")}),e=!0)},Vr=en=>new Promise(po=>{en?.sync&&(lt=!0,_n(()=>lt=!1,{oneTimeCallback:!0})),pe||co(),tt&&(Nt&&(Oo(0),ln()),tt=!1),Ct&&(De=Ot.length+1,Ct=!1);const ni=()=>{Zn(Ci,wt),po()},Ci=()=>{Zn(ni,At),po()};_n(Ci,{oneTimeCallback:!0}),(en=>{At.push({c:en,o:{oneTimeCallback:!0}})})(ni),Ot.forEach(hr=>{hr.play()}),Nt?(So.forEach(en=>{en.play()}),(0===K.length||0===we.length)&&Dn()):Dn(),e=!1}),wr=(en,po)=>{const ni=K[0];return void 0===ni||void 0!==ni.offset&&0!==ni.offset?K=[{offset:0,[en]:po},...K]:ni[en]=po,Xe};return Xe={parentAnimation:be,elements:we,childAnimations:Ot,id:On,animationFinish:Dn,from:wr,to:(en,po)=>{const ni=K[K.length-1];return void 0===ni||void 0!==ni.offset&&1!==ni.offset?K=[...K,{offset:1,[en]:po}]:ni[en]=po,Xe},fromTo:(en,po,ni)=>wr(en,po).to(en,ni),parent:en=>(be=en,Xe),play:Vr,pause:()=>(Ot.forEach(en=>{en.pause()}),ci(),Xe),stop:()=>{Ot.forEach(en=>{en.stop()}),pe&&(Qt(),pe=!1),Je=!1,lt=!1,Ct=!0,Mt=void 0,Bt=void 0,et=void 0,De=0,tt=!1,sn=!0,e=!1,At.forEach(en=>en.c(0,Xe)),At.length=0},destroy:en=>(Ot.forEach(po=>{po.destroy(en)}),(en=>{Qt(),en&&Nn()})(en),we.length=0,Ot.length=0,K.length=0,Pt.length=0,wt.length=0,pe=!1,Ct=!0,Xe),keyframes:en=>{const po=K!==en;return K=en,po&&(en=>{Nt&&Vt().forEach(po=>{const ni=po.effect;if(ni.setKeyframes)ni.setKeyframes(en);else{const Ci=new KeyframeEffect(ni.target,en,ni.getTiming());po.effect=Ci}})})(K),Xe},addAnimation:en=>{if(null!=en)if(Array.isArray(en))for(const po of en)po.parent(Xe),Ot.push(po);else en.parent(Xe),Ot.push(en);return Xe},addElement:en=>{if(null!=en)if(1===en.nodeType)we.push(en);else if(en.length>=0)for(let po=0;po(R=en,Gn(!0),Xe),direction:en=>(H=en,Gn(!0),Xe),iterations:en=>(I=en,Gn(!0),Xe),duration:en=>(!Nt&&0===en&&(en=1),w=en,Gn(!0),Xe),easing:en=>(M=en,Gn(!0),Xe),delay:en=>(y=en,Gn(!0),Xe),getWebAnimations:Vt,getKeyframes:()=>K,getFill:Yi,getDirection:xr,getDelay:Gi,getIterations:Pr,getEasing:zi,getDuration:Ji,afterAddRead:en=>(En.push(en),Xe),afterAddWrite:en=>(jn.push(en),Xe),afterClearStyles:(en=[])=>{for(const po of en)ke[po]="";return Xe},afterStyles:(en={})=>(ke=en,Xe),afterRemoveClass:en=>(je=s(je,en),Xe),afterAddClass:en=>(ye=s(ye,en),Xe),beforeAddRead:en=>(tn.push(en),Xe),beforeAddWrite:en=>(fn.push(en),Xe),beforeClearStyles:(en=[])=>{for(const po of en)Le[po]="";return Xe},beforeStyles:(en={})=>(Le=en,Xe),beforeRemoveClass:en=>(he=s(he,en),Xe),beforeAddClass:en=>(L=s(L,en),Xe),onFinish:_n,isRunning:()=>0!==De&&!e,progressStart:(en=!1,po)=>(Ot.forEach(ni=>{ni.progressStart(en,po)}),ci(),Je=en,pe||co(),Gn(!1,!0,po),Xe),progressStep:en=>(Ot.forEach(po=>{po.progressStep(en)}),Oo(en),Xe),progressEnd:(en,po,ni)=>(Je=!1,Ot.forEach(Ci=>{Ci.progressEnd(en,po,ni)}),void 0!==ni&&(Bt=ni),tt=!1,sn=!0,0===en?(Mt="reverse"===xr()?"normal":"reverse","reverse"===Mt&&(sn=!1),Nt?(Gn(),Oo(1-po)):(et=(1-po)*Ji()*-1,Gn(!1,!1))):1===en&&(Nt?(Gn(),Oo(po)):(et=po*Ji()*-1,Gn(!1,!1))),void 0!==en&&!be&&Vr(),Xe)}}},58621:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>s,a:()=>f,d:()=>g});var n=l(10467),i=l(84920);const f=function(){var x=(0,n.A)(function*(_,y,w,M,I,R){var H;if(_)return _.attachViewToDom(y,w,I,M);if(!(R||"string"==typeof w||w instanceof HTMLElement))throw new Error("framework delegate is missing");const K="string"==typeof w?null===(H=y.ownerDocument)||void 0===H?void 0:H.createElement(w):w;return M&&M.forEach(L=>K.classList.add(L)),I&&Object.assign(K,I),y.appendChild(K),yield new Promise(L=>(0,i.c)(K,L)),K});return function(y,w,M,I,R,H){return x.apply(this,arguments)}}(),g=(x,_)=>{if(_){if(x)return x.removeViewFromDom(_.parentElement,_);_.remove()}return Promise.resolve()},s=()=>{let x,_;return{attachViewToDom:function(){var M=(0,n.A)(function*(I,R,H={},K=[]){var L,he;let pe;if(x=I,R){const Le="string"==typeof R?null===(L=x.ownerDocument)||void 0===L?void 0:L.createElement(R):R;K.forEach(ye=>Le.classList.add(ye)),Object.assign(Le,H),x.appendChild(Le),pe=Le,yield new Promise(ye=>(0,i.c)(Le,ye))}else if(x.children.length>0&&("ION-MODAL"===x.tagName||"ION-POPOVER"===x.tagName)&&!(pe=x.children[0]).classList.contains("ion-delegate-host")){const ye=null===(he=x.ownerDocument)||void 0===he?void 0:he.createElement("div");ye.classList.add("ion-delegate-host"),K.forEach(je=>ye.classList.add(je)),ye.append(...x.children),x.appendChild(ye),pe=ye}const be=document.querySelector("ion-app")||document.body;return _=document.createComment("ionic teleport"),x.parentNode.insertBefore(_,x),be.appendChild(x),pe??x});return function(R,H){return M.apply(this,arguments)}}(),removeViewFromDom:()=>(x&&_&&(_.parentNode.insertBefore(x,_),_.remove()),Promise.resolve())}}},11970:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>g,G:()=>s});class i{constructor(_,y,w,M,I){this.id=y,this.name=w,this.disableScroll=I,this.priority=1e6*M+y,this.ctrl=_}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const _=this.ctrl.capture(this.name,this.id,this.priority);return _&&this.disableScroll&&this.ctrl.disableScroll(this.id),_}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class f{constructor(_,y,w,M){this.id=y,this.disable=w,this.disableScroll=M,this.ctrl=_}block(){if(this.ctrl){if(this.disable)for(const _ of this.disable)this.ctrl.disableGesture(_,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const _ of this.disable)this.ctrl.enableGesture(_,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const g="backdrop-no-scroll",s=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(_){var y;return new i(this,this.newID(),_.name,null!==(y=_.priority)&&void 0!==y?y:0,!!_.disableScroll)}createBlocker(_={}){return new f(this,this.newID(),_.disable,!!_.disableScroll)}start(_,y,w){return this.canStart(_)?(this.requestedStart.set(y,w),!0):(this.requestedStart.delete(y),!1)}capture(_,y,w){if(!this.start(_,y,w))return!1;const M=this.requestedStart;let I=-1e4;if(M.forEach(R=>{I=Math.max(I,R)}),I===w){this.capturedId=y,M.clear();const R=new CustomEvent("ionGestureCaptured",{detail:{gestureName:_}});return document.dispatchEvent(R),!0}return M.delete(y),!1}release(_){this.requestedStart.delete(_),this.capturedId===_&&(this.capturedId=void 0)}disableGesture(_,y){let w=this.disabledGestures.get(_);void 0===w&&(w=new Set,this.disabledGestures.set(_,w)),w.add(y)}enableGesture(_,y){const w=this.disabledGestures.get(_);void 0!==w&&w.delete(y)}disableScroll(_){this.disabledScroll.add(_),1===this.disabledScroll.size&&document.body.classList.add(g)}enableScroll(_){this.disabledScroll.delete(_),0===this.disabledScroll.size&&document.body.classList.remove(g)}canStart(_){return!(void 0!==this.capturedId||this.isDisabled(_))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(_){const y=this.disabledGestures.get(_);return!!(y&&y.size>0)}newID(){return this.gestureId++,this.gestureId}}},37192:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{MENU_BACK_BUTTON_PRIORITY:()=>w,OVERLAY_BACK_BUTTON_PRIORITY:()=>y,blockHardwareBackButton:()=>x,shouldUseCloseWatcher:()=>s,startHardwareBackButton:()=>_});var n=l(10467),i=l(28476),f=l(9483);l(54261);const s=()=>f.c.get("experimentalCloseWatcher",!1)&&void 0!==i.w&&"CloseWatcher"in i.w,x=()=>{document.addEventListener("backbutton",()=>{})},_=()=>{const M=document;let I=!1;const R=()=>{if(I)return;let H=0,K=[];const L=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(be,Le){K.push({priority:be,handler:Le,id:H++})}}});M.dispatchEvent(L);const he=function(){var be=(0,n.A)(function*(Le){try{if(Le?.handler){const ye=Le.handler(pe);null!=ye&&(yield ye)}}catch(ye){console.error(ye)}});return function(ye){return be.apply(this,arguments)}}(),pe=()=>{if(K.length>0){let be={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};K.forEach(Le=>{Le.priority>=be.priority&&(be=Le)}),I=!0,K=K.filter(Le=>Le.id!==be.id),he(be).then(()=>I=!1)}};pe()};if(s()){let H;const K=()=>{H?.destroy(),H=new i.w.CloseWatcher,H.onclose=()=>{R(),K()}};K()}else M.addEventListener("backbutton",R)},y=100,w=99},84920:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>y,b:()=>w,c:()=>f,d:()=>K,e:()=>Le,f:()=>H,g:()=>M,h:()=>s,i:()=>_,j:()=>L,k:()=>g,l:()=>R,m:()=>he,n:()=>be,o:()=>ye,p:()=>pe,r:()=>I,s:()=>je,t:()=>n});const n=(ke,De=0)=>new Promise(Je=>{i(ke,De,Je)}),i=(ke,De=0,Je)=>{let lt,Mt;const Bt={passive:!0},sn=()=>{lt&<()},tt=Ct=>{(void 0===Ct||ke===Ct.target)&&(sn(),Je(Ct))};return ke&&(ke.addEventListener("webkitTransitionEnd",tt,Bt),ke.addEventListener("transitionend",tt,Bt),Mt=setTimeout(tt,De+500),lt=()=>{void 0!==Mt&&(clearTimeout(Mt),Mt=void 0),ke.removeEventListener("webkitTransitionEnd",tt,Bt),ke.removeEventListener("transitionend",tt,Bt)}),sn},f=(ke,De)=>{ke.componentOnReady?ke.componentOnReady().then(Je=>De(Je)):I(()=>De(ke))},g=ke=>void 0!==ke.componentOnReady,s=(ke,De=[])=>{const Je={};return De.forEach(lt=>{ke.hasAttribute(lt)&&(null!==ke.getAttribute(lt)&&(Je[lt]=ke.getAttribute(lt)),ke.removeAttribute(lt))}),Je},x=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],_=(ke,De)=>{let Je=x;return De&&De.length>0&&(Je=Je.filter(lt=>!De.includes(lt))),s(ke,Je)},y=(ke,De,Je,lt)=>{var Mt;if(typeof window<"u"){const Bt=window,et=null===(Mt=Bt?.Ionic)||void 0===Mt?void 0:Mt.config;if(et){const sn=et.get("_ael");if(sn)return sn(ke,De,Je,lt);if(et._ael)return et._ael(ke,De,Je,lt)}}return ke.addEventListener(De,Je,lt)},w=(ke,De,Je,lt)=>{var Mt;if(typeof window<"u"){const Bt=window,et=null===(Mt=Bt?.Ionic)||void 0===Mt?void 0:Mt.config;if(et){const sn=et.get("_rel");if(sn)return sn(ke,De,Je,lt);if(et._rel)return et._rel(ke,De,Je,lt)}}return ke.removeEventListener(De,Je,lt)},M=(ke,De=ke)=>ke.shadowRoot||De,I=ke=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(ke):"function"==typeof requestAnimationFrame?requestAnimationFrame(ke):setTimeout(ke),R=ke=>!!ke.shadowRoot&&!!ke.attachShadow,H=ke=>{if(ke.focus(),ke.classList.contains("ion-focusable")){const De=ke.closest("ion-app");De&&De.setFocus([ke])}},K=(ke,De,Je,lt,Mt)=>{if(ke||R(De)){let Bt=De.querySelector("input.aux-input");Bt||(Bt=De.ownerDocument.createElement("input"),Bt.type="hidden",Bt.classList.add("aux-input"),De.appendChild(Bt)),Bt.disabled=Mt,Bt.name=Je,Bt.value=lt||""}},L=(ke,De,Je)=>Math.max(ke,Math.min(De,Je)),he=(ke,De)=>{if(!ke){const Je="ASSERT: "+De;throw console.error(Je),new Error(Je)}},pe=ke=>{if(ke){const De=ke.changedTouches;if(De&&De.length>0){const Je=De[0];return{x:Je.clientX,y:Je.clientY}}if(void 0!==ke.pageX)return{x:ke.pageX,y:ke.pageY}}return{x:0,y:0}},be=ke=>{const De="rtl"===document.dir;switch(ke){case"start":return De;case"end":return!De;default:throw new Error(`"${ke}" is not a valid value for [side]. Use "start" or "end" instead.`)}},Le=(ke,De)=>{const Je=ke._original||ke;return{_original:ke,emit:ye(Je.emit.bind(Je),De)}},ye=(ke,De=0)=>{let Je;return(...lt)=>{clearTimeout(Je),Je=setTimeout(ke,De,...lt)}},je=(ke,De)=>{if(ke??(ke={}),De??(De={}),ke===De)return!0;const Je=Object.keys(ke);if(Je.length!==Object.keys(De).length)return!1;for(const lt of Je)if(!(lt in De)||ke[lt]!==De[lt])return!1;return!0}},54261:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>x,d:()=>Pr,e:()=>En,f:()=>hn,g:()=>xr,h:()=>Zt,i:()=>Ji,j:()=>fs,k:()=>So,r:()=>w,w:()=>jn});var n=l(10467);var g=Object.defineProperty,x={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},_=new WeakMap,y=B=>_.get(B),w=(B,ne)=>_.set(ne.$lazyInstance$=B,ne),I=(B,ne)=>ne in B,R=(B,ne)=>(0,console.error)(B,ne),L=new Map,Mt="http://www.w3.org/1999/xlink",Bt=typeof window<"u"?window:{},et=Bt.document||{head:{}},tt={$flags$:0,$resourcesUrl$:"",jmp:B=>B(),raf:B=>requestAnimationFrame(B),ael:(B,ne,de,Ce)=>B.addEventListener(ne,de,Ce),rel:(B,ne,de,Ce)=>B.removeEventListener(ne,de,Ce),ce:(B,ne)=>new CustomEvent(B,ne)},wt=!1,At=[],we=[],Ot=(B,ne)=>de=>{B.push(de),wt||(wt=!0,ne&&4&tt.$flags$?fn(tn):tt.raf(tn))},It=B=>{for(let ne=0;ne{It(At),It(we),(wt=At.length>0)&&tt.raf(tn)},fn=B=>Promise.resolve(void 0).then(B),En=Ot(At,!1),jn=Ot(we,!0),So=B=>{const ne=new URL(B,tt.$resourcesUrl$);return ne.origin!==Bt.location.origin?ne.href:ne.pathname},pt={},Fn=B=>"object"==(B=typeof B)||"function"===B;((B,ne)=>{for(var de in ne)g(B,de,{get:ne[de],enumerable:!0})})({},{err:()=>Bn,map:()=>_n,ok:()=>Zn,unwrap:()=>Cn,unwrapErr:()=>Qt});var Zn=B=>({isOk:!0,isErr:!1,value:B}),Bn=B=>({isOk:!1,isErr:!0,value:B});function _n(B,ne){if(B.isOk){const de=ne(B.value);return de instanceof Promise?de.then(Ce=>Zn(Ce)):Zn(de)}if(B.isErr)return Bn(B.value);throw"should never get here"}var Cn=B=>{if(B.isOk)return B.value;throw B.value},Qt=B=>{if(B.isErr)return B.value;throw B.value},Zt=(B,ne,...de)=>{let Ce=null,Ke=null,st=null,rt=!1,Kt=!1;const Et=[],Yt=nn=>{for(let mo=0;monn[mo]).join(" "))}}if("function"==typeof B)return B(null===ne?{}:ne,Et,uo);const $n=vn(B,null);return $n.$attrs$=ne,Et.length>0&&($n.$children$=Et),$n.$key$=Ke,$n.$name$=st,$n},vn=(B,ne)=>({$flags$:0,$tag$:B,$text$:ne,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),hn={},uo={forEach:(B,ne)=>B.map(bo).forEach(ne),map:(B,ne)=>B.map(bo).map(ne).map(_o)},bo=B=>({vattrs:B.$attrs$,vchildren:B.$children$,vkey:B.$key$,vname:B.$name$,vtag:B.$tag$,vtext:B.$text$}),_o=B=>{if("function"==typeof B.vtag){const de={...B.vattrs};return B.vkey&&(de.key=B.vkey),B.vname&&(de.name=B.vname),Zt(B.vtag,de,...B.vchildren||[])}const ne=vn(B.vtag,B.vtext);return ne.$attrs$=B.vattrs,ne.$children$=B.vchildren,ne.$key$=B.vkey,ne.$name$=B.vname,ne},xr=B=>y(B).$modeName$,Ji=B=>y(B).$hostElement$,Pr=(B,ne,de)=>{const Ce=Ji(B);return{emit:Ke=>Gi(Ce,ne,{bubbles:!!(4&de),composed:!!(2&de),cancelable:!!(1&de),detail:Ke})}},Gi=(B,ne,de)=>{const Ce=tt.ce(ne,de);return B.dispatchEvent(Ce),Ce},no=new WeakMap,at=(B,ne)=>"sc-"+(ne&&32&B.$flags$?B.$tagName$+"-"+ne:B.$tagName$),Ft=(B,ne,de,Ce,Ke,st)=>{if(de!==Ce){let rt=I(B,ne),Kt=ne.toLowerCase();if("class"===ne){const Et=B.classList,Yt=fo(de),$n=fo(Ce);Et.remove(...Yt.filter(nn=>nn&&!$n.includes(nn))),Et.add(...$n.filter(nn=>nn&&!Yt.includes(nn)))}else if("style"===ne){for(const Et in de)(!Ce||null==Ce[Et])&&(Et.includes("-")?B.style.removeProperty(Et):B.style[Et]="");for(const Et in Ce)(!de||Ce[Et]!==de[Et])&&(Et.includes("-")?B.style.setProperty(Et,Ce[Et]):B.style[Et]=Ce[Et])}else if("key"!==ne)if("ref"===ne)Ce&&Ce(B);else if(rt||"o"!==ne[0]||"n"!==ne[1]){const Et=Fn(Ce);if((rt||Et&&null!==Ce)&&!Ke)try{if(B.tagName.includes("-"))B[ne]=Ce;else{const $n=Ce??"";"list"===ne?rt=!1:(null==de||B[ne]!=$n)&&(B[ne]=$n)}}catch{}let Yt=!1;Kt!==(Kt=Kt.replace(/^xlink\:?/,""))&&(ne=Kt,Yt=!0),null==Ce||!1===Ce?(!1!==Ce||""===B.getAttribute(ne))&&(Yt?B.removeAttributeNS(Mt,ne):B.removeAttribute(ne)):(!rt||4&st||Ke)&&!Et&&(Ce=!0===Ce?"":Ce,Yt?B.setAttributeNS(Mt,ne,Ce):B.setAttribute(ne,Ce))}else if(ne="-"===ne[2]?ne.slice(3):I(Bt,Kt)?Kt.slice(2):Kt[2]+ne.slice(3),de||Ce){const Et=ne.endsWith(wn);ne=ne.replace(dn,""),de&&tt.rel(B,ne,de,Et),Ce&&tt.ael(B,ne,Ce,Et)}}},In=/\s/,fo=B=>B?B.split(In):[],wn="Capture",dn=new RegExp(wn+"$"),$e=(B,ne,de)=>{const Ce=11===ne.$elm$.nodeType&&ne.$elm$.host?ne.$elm$.host:ne.$elm$,Ke=B&&B.$attrs$||pt,st=ne.$attrs$||pt;for(const rt of We(Object.keys(Ke)))rt in st||Ft(Ce,rt,Ke[rt],void 0,de,ne.$flags$);for(const rt of We(Object.keys(st)))Ft(Ce,rt,Ke[rt],st[rt],de,ne.$flags$)};function We(B){return B.includes("ref")?[...B.filter(ne=>"ref"!==ne),"ref"]:B}var ot,Wt,Dn,to=!1,co=!1,Oo=!1,ln=!1,Gn=(B,ne,de,Ce)=>{var Ke;const st=ne.$children$[de];let Kt,Et,Yt,rt=0;if(to||(Oo=!0,"slot"===st.$tag$&&(ot&&Ce.classList.add(ot+"-s"),st.$flags$|=st.$children$?2:1)),null!==st.$text$)Kt=st.$elm$=et.createTextNode(st.$text$);else if(1&st.$flags$)Kt=st.$elm$=et.createTextNode("");else{if(ln||(ln="svg"===st.$tag$),Kt=st.$elm$=et.createElementNS(ln?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!to&&2&st.$flags$?"slot-fb":st.$tag$),ln&&"foreignObject"===st.$tag$&&(ln=!1),$e(null,st,ln),!!Kt.getRootNode().querySelector("body")&&(B=>null!=B)(ot)&&Kt["s-si"]!==ot&&Kt.classList.add(Kt["s-si"]=ot),Ci(Kt,Ce),st.$children$)for(rt=0;rt{tt.$flags$|=1;const ne=B.closest(Dn.toLowerCase());if(null!=ne){const de=Array.from(ne.childNodes).find(Ke=>Ke["s-cr"]),Ce=Array.from(B.childNodes);for(const Ke of de?Ce.reverse():Ce)null!=Ke["s-sh"]&&(po(ne,Ke,de??null),Ke["s-sh"]=void 0,Oo=!0)}tt.$flags$&=-2},Vo=(B,ne)=>{tt.$flags$|=1;const de=Array.from(B.childNodes);if(B["s-sr"]){let Ce=B;for(;Ce=Ce.nextSibling;)Ce&&Ce["s-sn"]===B["s-sn"]&&Ce["s-sh"]===Dn&&de.push(Ce)}for(let Ce=de.length-1;Ce>=0;Ce--){const Ke=de[Ce];Ke["s-hn"]!==Dn&&Ke["s-ol"]&&(po(Lr(Ke),Ke,dr(Ke)),Ke["s-ol"].remove(),Ke["s-ol"]=void 0,Ke["s-sh"]=void 0,Oo=!0),ne&&Vo(Ke,ne)}tt.$flags$&=-2},yi=(B,ne,de,Ce,Ke,st)=>{let Kt,rt=B["s-cr"]&&B["s-cr"].parentNode||B;for(rt.shadowRoot&&rt.tagName===Dn&&(rt=rt.shadowRoot);Ke<=st;++Ke)Ce[Ke]&&(Kt=Gn(null,de,Ke,B),Kt&&(Ce[Ke].$elm$=Kt,po(rt,Kt,dr(ne))))},ci=(B,ne,de)=>{for(let Ce=ne;Ce<=de;++Ce){const Ke=B[Ce];if(Ke){const st=Ke.$elm$;en(Ke),st&&(co=!0,st["s-ol"]?st["s-ol"].remove():Vo(st,!0),st.remove())}}},ei=(B,ne,de=!1)=>!(B.$tag$!==ne.$tag$||("slot"===B.$tag$?"$nodeId$"in B&&de&&8!==B.$elm$.nodeType||B.$name$!==ne.$name$:!de&&B.$key$!==ne.$key$)),dr=B=>B&&B["s-ol"]||B,Lr=B=>(B["s-ol"]?B["s-ol"]:B).parentNode,Vr=(B,ne,de=!1)=>{const Ce=ne.$elm$=B.$elm$,Ke=B.$children$,st=ne.$children$,rt=ne.$tag$,Kt=ne.$text$;let Et;null===Kt?(ln="svg"===rt||"foreignObject"!==rt&&ln,"slot"!==rt||to?$e(B,ne,ln):B.$name$!==ne.$name$&&(ne.$elm$["s-sn"]=ne.$name$||"",go(ne.$elm$.parentElement)),null!==Ke&&null!==st?((B,ne,de,Ce,Ke=!1)=>{let Ho,Oi,st=0,rt=0,Kt=0,Et=0,Yt=ne.length-1,$n=ne[0],nn=ne[Yt],mo=Ce.length-1,yo=Ce[0],Xo=Ce[mo];for(;st<=Yt&&rt<=mo;)if(null==$n)$n=ne[++st];else if(null==nn)nn=ne[--Yt];else if(null==yo)yo=Ce[++rt];else if(null==Xo)Xo=Ce[--mo];else if(ei($n,yo,Ke))Vr($n,yo,Ke),$n=ne[++st],yo=Ce[++rt];else if(ei(nn,Xo,Ke))Vr(nn,Xo,Ke),nn=ne[--Yt],Xo=Ce[--mo];else if(ei($n,Xo,Ke))("slot"===$n.$tag$||"slot"===Xo.$tag$)&&Vo($n.$elm$.parentNode,!1),Vr($n,Xo,Ke),po(B,$n.$elm$,nn.$elm$.nextSibling),$n=ne[++st],Xo=Ce[--mo];else if(ei(nn,yo,Ke))("slot"===$n.$tag$||"slot"===Xo.$tag$)&&Vo(nn.$elm$.parentNode,!1),Vr(nn,yo,Ke),po(B,nn.$elm$,$n.$elm$),nn=ne[--Yt],yo=Ce[++rt];else{for(Kt=-1,Et=st;Et<=Yt;++Et)if(ne[Et]&&null!==ne[Et].$key$&&ne[Et].$key$===yo.$key$){Kt=Et;break}Kt>=0?(Oi=ne[Kt],Oi.$tag$!==yo.$tag$?Ho=Gn(ne&&ne[rt],de,Kt,B):(Vr(Oi,yo,Ke),ne[Kt]=void 0,Ho=Oi.$elm$),yo=Ce[++rt]):(Ho=Gn(ne&&ne[rt],de,rt,B),yo=Ce[++rt]),Ho&&po(Lr($n.$elm$),Ho,dr($n.$elm$))}st>Yt?yi(B,null==Ce[mo+1]?null:Ce[mo+1].$elm$,de,Ce,rt,mo):rt>mo&&ci(ne,st,Yt)})(Ce,Ke,ne,st,de):null!==st?(null!==B.$text$&&(Ce.textContent=""),yi(Ce,null,ne,st,0,st.length-1)):!de&&null!==Ke&&ci(Ke,0,Ke.length-1),ln&&"svg"===rt&&(ln=!1)):(Et=Ce["s-cr"])?Et.parentNode.textContent=Kt:B.$text$!==Kt&&(Ce.data=Kt)},Fr=B=>{const ne=B.childNodes;for(const de of ne)if(1===de.nodeType){if(de["s-sr"]){const Ce=de["s-sn"];de.hidden=!1;for(const Ke of ne)if(Ke!==de)if(Ke["s-hn"]!==de["s-hn"]||""!==Ce){if(1===Ke.nodeType&&(Ce===Ke.getAttribute("slot")||Ce===Ke["s-sn"])||3===Ke.nodeType&&Ce===Ke["s-sn"]){de.hidden=!0;break}}else if(1===Ke.nodeType||3===Ke.nodeType&&""!==Ke.textContent.trim()){de.hidden=!0;break}}Fr(de)}},wr=[],Qi=B=>{let ne,de,Ce;for(const Ke of B.childNodes){if(Ke["s-sr"]&&(ne=Ke["s-cr"])&&ne.parentNode){de=ne.parentNode.childNodes;const st=Ke["s-sn"];for(Ce=de.length-1;Ce>=0;Ce--)if(ne=de[Ce],!(ne["s-cn"]||ne["s-nr"]||ne["s-hn"]===Ke["s-hn"]||ne["s-sh"]&&ne["s-sh"]===Ke["s-hn"]))if(is(ne,st)){let rt=wr.find(Kt=>Kt.$nodeToRelocate$===ne);co=!0,ne["s-sn"]=ne["s-sn"]||st,rt?(rt.$nodeToRelocate$["s-sh"]=Ke["s-hn"],rt.$slotRefNode$=Ke):(ne["s-sh"]=Ke["s-hn"],wr.push({$slotRefNode$:Ke,$nodeToRelocate$:ne})),ne["s-sr"]&&wr.map(Kt=>{is(Kt.$nodeToRelocate$,ne["s-sn"])&&(rt=wr.find(Et=>Et.$nodeToRelocate$===ne),rt&&!Kt.$slotRefNode$&&(Kt.$slotRefNode$=rt.$slotRefNode$))})}else wr.some(rt=>rt.$nodeToRelocate$===ne)||wr.push({$nodeToRelocate$:ne})}1===Ke.nodeType&&Qi(Ke)}},is=(B,ne)=>1===B.nodeType?null===B.getAttribute("slot")&&""===ne||B.getAttribute("slot")===ne:B["s-sn"]===ne||""===ne,en=B=>{B.$attrs$&&B.$attrs$.ref&&B.$attrs$.ref(null),B.$children$&&B.$children$.map(en)},po=(B,ne,de)=>{const Ce=B?.insertBefore(ne,de);return Ci(ne,B),Ce},ni=B=>{const ne=[];return B&&ne.push(...B["s-scs"]||[],B["s-si"],B["s-sc"],...ni(B.parentElement)),ne},Ci=(B,ne,de=!1)=>{var Ce;if(B&&ne&&1===B.nodeType){const Ke=new Set(ni(ne).filter(Boolean));if(Ke.size&&(null==(Ce=B.classList)||Ce.add(...B["s-scs"]=[...Ke]),B["s-ol"]||de))for(const st of Array.from(B.childNodes))Ci(st,B,!0)}},qi=(B,ne)=>{if(B.$flags$|=16,!(4&B.$flags$))return((B,ne)=>{ne&&!B.$onRenderResolve$&&ne["s-p"]&&ne["s-p"].push(new Promise(de=>B.$onRenderResolve$=de))})(B,B.$ancestorComponent$),jn(()=>ts(B,ne));B.$flags$|=512},ts=(B,ne)=>{const Ke=B.$lazyInstance$;if(!Ke)throw new Error(`Can't render component <${B.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let st;return ne&&(B.$flags$|=256,B.$queuedListeners$&&(B.$queuedListeners$.map(([rt,Kt])=>ps(Ke,rt,Kt)),B.$queuedListeners$=void 0),st=ps(Ke,"componentWillLoad")),st=Wi(st,()=>ps(Ke,"componentWillRender")),Wi(st,()=>Si(B,Ke,ne))},Wi=(B,ne)=>sr(B)?B.then(ne).catch(de=>{console.error(de),ne()}):ne(),sr=B=>B instanceof Promise||B&&B.then&&"function"==typeof B.then,Si=function(){var B=(0,n.A)(function*(ne,de,Ce){var Ke;const st=ne.$hostElement$,Kt=st["s-rc"];Ce&&(B=>{const ne=B.$cmpMeta$,de=B.$hostElement$,Ce=ne.$flags$,st=((B,ne,de)=>{var Ce;const Ke=at(ne,de),st=L.get(Ke);if(B=11===B.nodeType?B:et,st)if("string"==typeof st){let Kt,rt=no.get(B=B.head||B);if(rt||no.set(B,rt=new Set),!rt.has(Ke)){if(B.host&&(Kt=B.querySelector(`[sty-id="${Ke}"]`)))Kt.innerHTML=st;else{Kt=et.createElement("style"),Kt.innerHTML=st;const Et=null!=(Ce=tt.$nonce$)?Ce:function pn(B){var ne,de,Ce;return null!=(Ce=null==(de=null==(ne=B.head)?void 0:ne.querySelector('meta[name="csp-nonce"]'))?void 0:de.getAttribute("content"))?Ce:void 0}(et);null!=Et&&Kt.setAttribute("nonce",Et),(!(1&ne.$flags$)||1&ne.$flags$&&"HEAD"!==B.nodeName)&&B.insertBefore(Kt,B.querySelector("link"))}4&ne.$flags$&&(Kt.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),rt&&rt.add(Ke)}}else B.adoptedStyleSheets.includes(st)||(B.adoptedStyleSheets=[...B.adoptedStyleSheets,st]);return Ke})(de.shadowRoot?de.shadowRoot:de.getRootNode(),ne,B.$modeName$);10&Ce&&2&Ce&&(de["s-sc"]=st,de.classList.add(st+"-h"),2&Ce&&de.classList.add(st+"-s"))})(ne);rs(ne,de,st,Ce),Kt&&(Kt.map(Yt=>Yt()),st["s-rc"]=void 0);{const Yt=null!=(Ke=st["s-p"])?Ke:[],$n=()=>Ir(ne);0===Yt.length?$n():(Promise.all(Yt).then($n),ne.$flags$|=4,Yt.length=0)}});return function(de,Ce,Ke){return B.apply(this,arguments)}}(),rs=(B,ne,de,Ce)=>{try{ne=ne.render&&ne.render(),B.$flags$&=-17,B.$flags$|=2,((B,ne,de=!1)=>{var Ce,Ke,st,rt,Kt;const Et=B.$hostElement$,Yt=B.$cmpMeta$,$n=B.$vnode$||vn(null,null),nn=(B=>B&&B.$tag$===hn)(ne)?ne:Zt(null,null,ne);if(Dn=Et.tagName,Yt.$attrsToReflect$&&(nn.$attrs$=nn.$attrs$||{},Yt.$attrsToReflect$.map(([mo,yo])=>nn.$attrs$[yo]=Et[mo])),de&&nn.$attrs$)for(const mo of Object.keys(nn.$attrs$))Et.hasAttribute(mo)&&!["key","ref","style","class"].includes(mo)&&(nn.$attrs$[mo]=Et[mo]);if(nn.$tag$=null,nn.$flags$|=4,B.$vnode$=nn,nn.$elm$=$n.$elm$=Et.shadowRoot||Et,ot=Et["s-sc"],to=!!(1&Yt.$flags$),Wt=Et["s-cr"],co=!1,Vr($n,nn,de),tt.$flags$|=1,Oo){Qi(nn.$elm$);for(const mo of wr){const yo=mo.$nodeToRelocate$;if(!yo["s-ol"]){const Xo=et.createTextNode("");Xo["s-nr"]=yo,po(yo.parentNode,yo["s-ol"]=Xo,yo)}}for(const mo of wr){const yo=mo.$nodeToRelocate$,Xo=mo.$slotRefNode$;if(Xo){const Ho=Xo.parentNode;let Oi=Xo.nextSibling;if(Oi&&1===Oi.nodeType){let ui=null==(Ce=yo["s-ol"])?void 0:Ce.previousSibling;for(;ui;){let Ko=null!=(Ke=ui["s-nr"])?Ke:null;if(Ko&&Ko["s-sn"]===yo["s-sn"]&&Ho===Ko.parentNode){for(Ko=Ko.nextSibling;Ko===yo||Ko?.["s-sr"];)Ko=Ko?.nextSibling;if(!Ko||!Ko["s-nr"]){Oi=Ko;break}}ui=ui.previousSibling}}(!Oi&&Ho!==yo.parentNode||yo.nextSibling!==Oi)&&yo!==Oi&&(po(Ho,yo,Oi),1===yo.nodeType&&(yo.hidden=null!=(st=yo["s-ih"])&&st)),yo&&"function"==typeof Xo["s-rf"]&&Xo["s-rf"](yo)}else 1===yo.nodeType&&(de&&(yo["s-ih"]=null!=(rt=yo.hidden)&&rt),yo.hidden=!0)}}if(co&&Fr(nn.$elm$),tt.$flags$&=-2,wr.length=0,2&Yt.$flags$)for(const mo of nn.$elm$.childNodes)mo["s-hn"]!==Dn&&!mo["s-sh"]&&(de&&null==mo["s-ih"]&&(mo["s-ih"]=null!=(Kt=mo.hidden)&&Kt),mo.hidden=!0);Wt=void 0})(B,ne,Ce)}catch(Ke){R(Ke,B.$hostElement$)}return null},Ir=B=>{const de=B.$hostElement$,Ke=B.$lazyInstance$,st=B.$ancestorComponent$;ps(Ke,"componentDidRender"),64&B.$flags$?ps(Ke,"componentDidUpdate"):(B.$flags$|=64,vi(de),ps(Ke,"componentDidLoad"),B.$onReadyResolve$(de),st||Cs()),B.$onInstanceResolve$(de),B.$onRenderResolve$&&(B.$onRenderResolve$(),B.$onRenderResolve$=void 0),512&B.$flags$&&fn(()=>qi(B,!1)),B.$flags$&=-517},fs=B=>{{const ne=y(B),de=ne.$hostElement$.isConnected;return de&&2==(18&ne.$flags$)&&qi(ne,!1),de}},Cs=B=>{vi(et.documentElement),fn(()=>Gi(Bt,"appload",{detail:{namespace:"ionic"}}))},ps=(B,ne,de)=>{if(B&&B[ne])try{return B[ne](de)}catch(Ce){R(Ce)}},vi=B=>B.classList.add("hydrated")},28607:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>w});var n=l(11970);const i=(H,K,L,he)=>{const pe=f(H)?{capture:!!he.capture,passive:!!he.passive}:!!he.capture;let be,Le;return H.__zone_symbol__addEventListener?(be="__zone_symbol__addEventListener",Le="__zone_symbol__removeEventListener"):(be="addEventListener",Le="removeEventListener"),H[be](K,L,pe),()=>{H[Le](K,L,pe)}},f=H=>{if(void 0===g)try{const K=Object.defineProperty({},"passive",{get:()=>{g=!0}});H.addEventListener("optsTest",()=>{},K)}catch{g=!1}return!!g};let g;const _=H=>H instanceof Document?H:H.ownerDocument,w=H=>{let K=!1,L=!1,he=!0,pe=!1;const be=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},H),Le=be.canStart,ye=be.onWillStart,je=be.onStart,ke=be.onEnd,De=be.notCaptured,Je=be.onMove,lt=be.threshold,Mt=be.passive,Bt=be.blurOnStart,et={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},sn=((H,K,L)=>{const he=L*(Math.PI/180),pe="x"===H,be=Math.cos(he),Le=K*K;let ye=0,je=0,ke=!1,De=0;return{start(Je,lt){ye=Je,je=lt,De=0,ke=!0},detect(Je,lt){if(!ke)return!1;const Mt=Je-ye,Bt=lt-je,et=Mt*Mt+Bt*Bt;if(etbe?1:tt<-be?-1:0,ke=!1,!0},isGesture:()=>0!==De,getDirection:()=>De}})(be.direction,be.threshold,be.maxAngle),tt=n.G.createGesture({name:H.gestureName,priority:H.gesturePriority,disableScroll:H.disableScroll}),e=()=>{K&&(pe=!1,Je&&Je(et))},On=()=>!!tt.capture()&&(K=!0,he=!1,et.startX=et.currentX,et.startY=et.currentY,et.startTime=et.currentTime,ye?ye(et).then(wt):wt(),!0),wt=()=>{Bt&&(()=>{if(typeof document<"u"){const tn=document.activeElement;tn?.blur&&tn.blur()}})(),je&&je(et),he=!0},At=()=>{K=!1,L=!1,pe=!1,he=!0,tt.release()},we=tn=>{const fn=K,En=he;if(At(),En){if(M(et,tn),fn)return void(ke&&ke(et));De&&De(et)}},Ot=((H,K,L,he,pe)=>{let be,Le,ye,je,ke,De,Je,lt=0;const Mt=Pt=>{lt=Date.now()+2e3,K(Pt)&&(!Le&&L&&(Le=i(H,"touchmove",L,pe)),ye||(ye=i(Pt.target,"touchend",et,pe)),je||(je=i(Pt.target,"touchcancel",et,pe)))},Bt=Pt=>{lt>Date.now()||K(Pt)&&(!De&&L&&(De=i(_(H),"mousemove",L,pe)),Je||(Je=i(_(H),"mouseup",sn,pe)))},et=Pt=>{tt(),he&&he(Pt)},sn=Pt=>{Ct(),he&&he(Pt)},tt=()=>{Le&&Le(),ye&&ye(),je&&je(),Le=ye=je=void 0},Ct=()=>{De&&De(),Je&&Je(),De=Je=void 0},Xe=()=>{tt(),Ct()},e=(Pt=!0)=>{Pt?(be||(be=i(H,"touchstart",Mt,pe)),ke||(ke=i(H,"mousedown",Bt,pe))):(be&&be(),ke&&ke(),be=ke=void 0,Xe())};return{enable:e,stop:Xe,destroy:()=>{e(!1),he=L=K=void 0}}})(be.el,tn=>{const fn=R(tn);return!(L||!he||(I(tn,et),et.startX=et.currentX,et.startY=et.currentY,et.startTime=et.currentTime=fn,et.velocityX=et.velocityY=et.deltaX=et.deltaY=0,et.event=tn,Le&&!1===Le(et))||(tt.release(),!tt.start()))&&(L=!0,0===lt?On():(sn.start(et.startX,et.startY),!0))},tn=>{K?!pe&&he&&(pe=!0,M(et,tn),requestAnimationFrame(e)):(M(et,tn),sn.detect(et.currentX,et.currentY)&&(!sn.isGesture()||!On())&&It())},we,{capture:!1,passive:Mt}),It=()=>{At(),Ot.stop(),De&&De(et)};return{enable(tn=!0){tn||(K&&we(void 0),At()),Ot.enable(tn)},destroy(){tt.destroy(),Ot.destroy()}}},M=(H,K)=>{if(!K)return;const L=H.currentX,he=H.currentY,pe=H.currentTime;I(K,H);const be=H.currentX,Le=H.currentY,je=(H.currentTime=R(K))-pe;if(je>0&&je<100){const De=(Le-he)/je;H.velocityX=(be-L)/je*.7+.3*H.velocityX,H.velocityY=.7*De+.3*H.velocityY}H.deltaX=be-H.startX,H.deltaY=Le-H.startY,H.event=K},I=(H,K)=>{let L=0,he=0;if(H){const pe=H.changedTouches;if(pe&&pe.length>0){const be=pe[0];L=be.clientX,he=be.clientY}else void 0!==H.pageX&&(L=H.pageX,he=H.pageY)}K.currentX=L,K.currentY=he},R=H=>H.timeStamp||Date.now()},3604:(ft,Z,l)=>{"use strict";l.d(Z,{b:()=>y,c:()=>w,d:()=>M,e:()=>Xe,g:()=>Pt,l:()=>tt,s:()=>e,t:()=>be,w:()=>Ct});var n=l(10467),i=l(9483),f=l(54261),g=l(74929),s=l(84920);const y="ionViewWillLeave",w="ionViewDidLeave",M="ionViewWillUnload",I=wt=>{wt.tabIndex=-1,wt.focus()},R=wt=>null!==wt.offsetParent,K="ion-last-focus",pe_saveViewFocus=we=>{if(i.c.get("focusManagerPriority",!1)){const It=document.activeElement;null!==It&&we?.contains(It)&&It.setAttribute(K,"true")}},pe_setViewFocus=we=>{const Ot=i.c.get("focusManagerPriority",!1);if(Array.isArray(Ot)&&!we.contains(document.activeElement)){const It=we.querySelector(`[${K}]`);if(It&&R(It))return void I(It);for(const tn of Ot)switch(tn){case"content":const fn=we.querySelector('main, [role="main"]');if(fn&&R(fn))return void I(fn);break;case"heading":const En=we.querySelector('h1, [role="heading"][aria-level="1"]');if(En&&R(En))return void I(En);break;case"banner":const jn=we.querySelector('header, [role="banner"]');if(jn&&R(jn))return void I(jn);break;default:(0,g.p)(`Unrecognized focus manager priority value ${tn}`)}I(we)}},be=wt=>new Promise((At,we)=>{(0,f.w)(()=>{Le(wt),ye(wt).then(Ot=>{Ot.animation&&Ot.animation.destroy(),je(wt),At(Ot)},Ot=>{je(wt),we(Ot)})})}),Le=wt=>{const At=wt.enteringEl,we=wt.leavingEl;pe_saveViewFocus(we),On(At,we,wt.direction),wt.showGoBack?At.classList.add("can-go-back"):At.classList.remove("can-go-back"),e(At,!1),At.style.setProperty("pointer-events","none"),we&&(e(we,!1),we.style.setProperty("pointer-events","none"))},ye=function(){var wt=(0,n.A)(function*(At){const we=yield ke(At);return we&&f.B.isBrowser?De(we,At):Je(At)});return function(we){return wt.apply(this,arguments)}}(),je=wt=>{const At=wt.enteringEl,we=wt.leavingEl;At.classList.remove("ion-page-invisible"),At.style.removeProperty("pointer-events"),void 0!==we&&(we.classList.remove("ion-page-invisible"),we.style.removeProperty("pointer-events")),pe_setViewFocus(At)},ke=function(){var wt=(0,n.A)(function*(At){return At.leavingEl&&At.animated&&0!==At.duration?At.animationBuilder?At.animationBuilder:"ios"===At.mode?(yield Promise.resolve().then(l.bind(l,5022))).iosTransitionAnimation:(yield Promise.resolve().then(l.bind(l,43615))).mdTransitionAnimation:void 0});return function(we){return wt.apply(this,arguments)}}(),De=function(){var wt=(0,n.A)(function*(At,we){yield lt(we,!0);const Ot=At(we.baseEl,we);et(we.enteringEl,we.leavingEl);const It=yield Bt(Ot,we);return we.progressCallback&&we.progressCallback(void 0),It&&sn(we.enteringEl,we.leavingEl),{hasCompleted:It,animation:Ot}});return function(we,Ot){return wt.apply(this,arguments)}}(),Je=function(){var wt=(0,n.A)(function*(At){const we=At.enteringEl,Ot=At.leavingEl,It=i.c.get("focusManagerPriority",!1);return yield lt(At,It),et(we,Ot),sn(we,Ot),{hasCompleted:!0}});return function(we){return wt.apply(this,arguments)}}(),lt=function(){var wt=(0,n.A)(function*(At,we){(void 0!==At.deepWait?At.deepWait:we)&&(yield Promise.all([Xe(At.enteringEl),Xe(At.leavingEl)])),yield Mt(At.viewIsReady,At.enteringEl)});return function(we,Ot){return wt.apply(this,arguments)}}(),Mt=function(){var wt=(0,n.A)(function*(At,we){At&&(yield At(we))});return function(we,Ot){return wt.apply(this,arguments)}}(),Bt=(wt,At)=>{const we=At.progressCallback,Ot=new Promise(It=>{wt.onFinish(tn=>It(1===tn))});return we?(wt.progressStart(!0),we(wt)):wt.play(),Ot},et=(wt,At)=>{tt(At,y),tt(wt,"ionViewWillEnter")},sn=(wt,At)=>{tt(wt,"ionViewDidEnter"),tt(At,w)},tt=(wt,At)=>{if(wt){const we=new CustomEvent(At,{bubbles:!1,cancelable:!1});wt.dispatchEvent(we)}},Ct=()=>new Promise(wt=>(0,s.r)(()=>(0,s.r)(()=>wt()))),Xe=function(){var wt=(0,n.A)(function*(At){const we=At;if(we){if(null!=we.componentOnReady){if(null!=(yield we.componentOnReady()))return}else if(null!=we.__registerHost)return void(yield new Promise(It=>(0,s.r)(It)));yield Promise.all(Array.from(we.children).map(Xe))}});return function(we){return wt.apply(this,arguments)}}(),e=(wt,At)=>{At?(wt.setAttribute("aria-hidden","true"),wt.classList.add("ion-page-hidden")):(wt.hidden=!1,wt.removeAttribute("aria-hidden"),wt.classList.remove("ion-page-hidden"))},On=(wt,At,we)=>{void 0!==wt&&(wt.style.zIndex="back"===we?"99":"101"),void 0!==At&&(At.style.zIndex="100")},Pt=wt=>wt.classList.contains("ion-page")?wt:wt.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||wt},74929:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>i,b:()=>f,p:()=>n});const n=(g,...s)=>console.warn(`[Ionic Warning]: ${g}`,...s),i=(g,...s)=>console.error(`[Ionic Error]: ${g}`,...s),f=(g,...s)=>console.error(`<${g.tagName.toLowerCase()}> must be used inside ${s.join(" or ")}.`)},28476:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>i,w:()=>n});const n=typeof window<"u"?window:void 0,i=typeof document<"u"?document:void 0},49568:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>H});var n=l(10467),i=l(28476),f=l(37192),g=l(74929),s=l(84920),x=l(9483),_=l(19986);const y=K=>(0,_.c)().duration(K?400:300),w=K=>{let L,he;const pe=K.width+8,be=(0,_.c)(),Le=(0,_.c)();K.isEndSide?(L=pe+"px",he="0px"):(L=-pe+"px",he="0px"),be.addElement(K.menuInnerEl).fromTo("transform",`translateX(${L})`,`translateX(${he})`);const je="ios"===(0,x.b)(K),ke=je?.2:.25;return Le.addElement(K.backdropEl).fromTo("opacity",.01,ke),y(je).addAnimation([be,Le])},M=K=>{let L,he;const pe=(0,x.b)(K),be=K.width;K.isEndSide?(L=-be+"px",he=be+"px"):(L=be+"px",he=-be+"px");const Le=(0,_.c)().addElement(K.menuInnerEl).fromTo("transform",`translateX(${he})`,"translateX(0px)"),ye=(0,_.c)().addElement(K.contentEl).fromTo("transform","translateX(0px)",`translateX(${L})`),je=(0,_.c)().addElement(K.backdropEl).fromTo("opacity",.01,.32);return y("ios"===pe).addAnimation([Le,ye,je])},I=K=>{const L=(0,x.b)(K),he=K.width*(K.isEndSide?-1:1)+"px",pe=(0,_.c)().addElement(K.contentEl).fromTo("transform","translateX(0px)",`translateX(${he})`);return y("ios"===L).addAnimation(pe)},H=(()=>{const K=new Map,L=[],he=function(){var At=(0,n.A)(function*(we){const Ot=yield De(we,!0);return!!Ot&&Ot.open()});return function(Ot){return At.apply(this,arguments)}}(),pe=function(){var At=(0,n.A)(function*(we){const Ot=yield void 0!==we?De(we,!0):Je();return void 0!==Ot&&Ot.close()});return function(Ot){return At.apply(this,arguments)}}(),be=function(){var At=(0,n.A)(function*(we){const Ot=yield De(we,!0);return!!Ot&&Ot.toggle()});return function(Ot){return At.apply(this,arguments)}}(),Le=function(){var At=(0,n.A)(function*(we,Ot){const It=yield De(Ot);return It&&(It.disabled=!we),It});return function(Ot,It){return At.apply(this,arguments)}}(),ye=function(){var At=(0,n.A)(function*(we,Ot){const It=yield De(Ot);return It&&(It.swipeGesture=we),It});return function(Ot,It){return At.apply(this,arguments)}}(),je=function(){var At=(0,n.A)(function*(we){if(null!=we){const Ot=yield De(we);return void 0!==Ot&&Ot.isOpen()}return void 0!==(yield Je())});return function(Ot){return At.apply(this,arguments)}}(),ke=function(){var At=(0,n.A)(function*(we){const Ot=yield De(we);return!!Ot&&!Ot.disabled});return function(Ot){return At.apply(this,arguments)}}(),De=function(){var At=(0,n.A)(function*(we,Ot=!1){if(yield wt(),"start"===we||"end"===we){const tn=L.filter(En=>En.side===we&&!En.disabled);if(tn.length>=1)return tn.length>1&&Ot&&(0,g.p)(`menuController queried for a menu on the "${we}" side, but ${tn.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,tn.map(En=>En.el)),tn[0].el;const fn=L.filter(En=>En.side===we);if(fn.length>=1)return fn.length>1&&Ot&&(0,g.p)(`menuController queried for a menu on the "${we}" side, but ${fn.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,fn.map(En=>En.el)),fn[0].el}else if(null!=we)return Pt(tn=>tn.menuId===we);return Pt(tn=>!tn.disabled)||(L.length>0?L[0].el:void 0)});return function(Ot){return At.apply(this,arguments)}}(),Je=function(){var At=(0,n.A)(function*(){return yield wt(),Xe()});return function(){return At.apply(this,arguments)}}(),lt=function(){var At=(0,n.A)(function*(){return yield wt(),e()});return function(){return At.apply(this,arguments)}}(),Mt=function(){var At=(0,n.A)(function*(){return yield wt(),On()});return function(){return At.apply(this,arguments)}}(),Bt=(At,we)=>{K.set(At,we)},tt=function(){var At=(0,n.A)(function*(we,Ot,It){if(On())return!1;if(Ot){const tn=yield Je();tn&&we.el!==tn&&(yield tn.setOpen(!1,!1))}return we._setOpen(Ot,It)});return function(Ot,It,tn){return At.apply(this,arguments)}}(),Xe=()=>Pt(At=>At._isOpen),e=()=>L.map(At=>At.el),On=()=>L.some(At=>At.isAnimating),Pt=At=>{const we=L.find(At);if(void 0!==we)return we.el},wt=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(At=>new Promise(we=>(0,s.c)(At,we))));return Bt("reveal",I),Bt("push",M),Bt("overlay",w),null==i.d||i.d.addEventListener("ionBackButton",At=>{const we=Xe();we&&At.detail.register(f.MENU_BACK_BUTTON_PRIORITY,()=>we.close())}),{registerAnimation:Bt,get:De,getMenus:lt,getOpen:Je,isEnabled:ke,swipeGesture:ye,isAnimating:Mt,isOpen:je,enable:Le,toggle:be,close:pe,open:he,_getOpenSync:Xe,_createAnimation:(At,we)=>{const Ot=K.get(At);if(!Ot)throw new Error("animation not registered");return Ot(we)},_register:At=>{L.indexOf(At)<0&&L.push(At)},_unregister:At=>{const we=L.indexOf(At);we>-1&&L.splice(we,1)},_setOpen:tt}})()},90617:(ft,Z,l)=>{"use strict";l.d(Z,{K6:()=>_.c}),l(19986),l(3604),l(5022),l(43615),l(28607),l(9483);var _=l(84920);l(49568),l(99440),l(28476),l(54261),l(11970),l(37192)},9483:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>I,b:()=>e,c:()=>f});var n=l(54261);class i{constructor(){this.m=new Map}reset(wt){this.m=new Map(Object.entries(wt))}get(wt,At){const we=this.m.get(wt);return void 0!==we?we:At}getBoolean(wt,At=!1){const we=this.m.get(wt);return void 0===we?At:"string"==typeof we?"true"===we:!!we}getNumber(wt,At){const we=parseFloat(this.m.get(wt));return isNaN(we)?void 0!==At?At:NaN:we}set(wt,At){this.m.set(wt,At)}}const f=new i,I=(Pt,wt)=>("string"==typeof Pt&&(wt=Pt,Pt=void 0),(Pt=>R(Pt))(Pt).includes(wt)),R=(Pt=window)=>{if(typeof Pt>"u")return[];Pt.Ionic=Pt.Ionic||{};let wt=Pt.Ionic.platforms;return null==wt&&(wt=Pt.Ionic.platforms=H(Pt),wt.forEach(At=>Pt.document.documentElement.classList.add(`plt-${At}`))),wt},H=Pt=>{const wt=f.get("platform");return Object.keys(Ct).filter(At=>{const we=wt?.[At];return"function"==typeof we?we(Pt):Ct[At](Pt)})},L=Pt=>!!(sn(Pt,/iPad/i)||sn(Pt,/Macintosh/i)&&ke(Pt)),be=Pt=>sn(Pt,/android|sink/i),ke=Pt=>tt(Pt,"(any-pointer:coarse)"),Je=Pt=>lt(Pt)||Mt(Pt),lt=Pt=>!!(Pt.cordova||Pt.phonegap||Pt.PhoneGap),Mt=Pt=>{const wt=Pt.Capacitor;return!!wt?.isNative},sn=(Pt,wt)=>wt.test(Pt.navigator.userAgent),tt=(Pt,wt)=>{var At;return null===(At=Pt.matchMedia)||void 0===At?void 0:At.call(Pt,wt).matches},Ct={ipad:L,iphone:Pt=>sn(Pt,/iPhone/i),ios:Pt=>sn(Pt,/iPhone|iPod/i)||L(Pt),android:be,phablet:Pt=>{const wt=Pt.innerWidth,At=Pt.innerHeight,we=Math.min(wt,At),Ot=Math.max(wt,At);return we>390&&we<520&&Ot>620&&Ot<800},tablet:Pt=>{const wt=Pt.innerWidth,At=Pt.innerHeight,we=Math.min(wt,At),Ot=Math.max(wt,At);return L(Pt)||(Pt=>be(Pt)&&!sn(Pt,/mobile/i))(Pt)||we>460&&we<820&&Ot>780&&Ot<1400},cordova:lt,capacitor:Mt,electron:Pt=>sn(Pt,/electron/i),pwa:Pt=>{var wt;return!!(null!==(wt=Pt.matchMedia)&&void 0!==wt&&wt.call(Pt,"(display-mode: standalone)").matches||Pt.navigator.standalone)},mobile:ke,mobileweb:Pt=>ke(Pt)&&!Je(Pt),desktop:Pt=>!ke(Pt),hybrid:Je};const e=Pt=>Pt&&(0,n.g)(Pt)||undefined},5022:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{iosTransitionAnimation:()=>K,shadow:()=>y});var n=l(19986),i=l(3604);l(28476),l(9483),l(54261);const _=he=>document.querySelector(`${he}.ion-cloned-element`),y=he=>he.shadowRoot||he,w=he=>{const pe="ION-TABS"===he.tagName?he:he.querySelector("ion-tabs"),be="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=pe){const Le=pe.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=Le?Le.querySelector(be):null}return he.querySelector(be)},M=(he,pe)=>{const be="ION-TABS"===he.tagName?he:he.querySelector("ion-tabs");let Le=[];if(null!=be){const ye=be.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=ye&&(Le=ye.querySelectorAll("ion-buttons"))}else Le=he.querySelectorAll("ion-buttons");for(const ye of Le){const je=ye.closest("ion-header"),ke=je&&!je.classList.contains("header-collapse-condense-inactive"),De=ye.querySelector("ion-back-button"),Je=ye.classList.contains("buttons-collapse");if(null!==De&&("start"===ye.slot||""===ye.slot)&&(Je&&ke&&pe||!Je))return De}return null},R=(he,pe,be,Le,ye,je,ke,De,Je)=>{var lt,Mt;const Bt=pe?`calc(100% - ${ye.right+4}px)`:ye.left-4+"px",et=pe?"right":"left",sn=pe?"left":"right",tt=pe?"right":"left";let Ct=1,Xe=1,e=`scale(${Xe})`;const On="scale(1)";if(je&&ke){const Cn=(null===(lt=je.textContent)||void 0===lt?void 0:lt.trim())===(null===(Mt=De.textContent)||void 0===Mt?void 0:Mt.trim());Ct=Je.width/ke.width,Xe=(Je.height-L)/ke.height,e=Cn?`scale(${Ct}, ${Xe})`:`scale(${Xe})`}const wt=y(Le).querySelector("ion-icon").getBoundingClientRect(),At=pe?wt.width/2-(wt.right-ye.right)+"px":ye.left-wt.width/2+"px",we=pe?`-${window.innerWidth-ye.right}px`:`${ye.left}px`,Ot=`${Je.top}px`,It=`${ye.top}px`,En=be?[{offset:0,transform:`translate3d(${we}, ${It}, 0)`},{offset:1,transform:`translate3d(${At}, ${Ot}, 0)`}]:[{offset:0,transform:`translate3d(${At}, ${Ot}, 0)`},{offset:1,transform:`translate3d(${we}, ${It}, 0)`}],pt=be?[{offset:0,opacity:1,transform:On},{offset:1,opacity:0,transform:e}]:[{offset:0,opacity:0,transform:e},{offset:1,opacity:1,transform:On}],cn=be?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],Fn=(0,n.c)(),pn=(0,n.c)(),Un=(0,n.c)(),Zn=_("ion-back-button"),Bn=y(Zn).querySelector(".button-text"),_n=y(Zn).querySelector("ion-icon");Zn.text=Le.text,Zn.mode=Le.mode,Zn.icon=Le.icon,Zn.color=Le.color,Zn.disabled=Le.disabled,Zn.style.setProperty("display","block"),Zn.style.setProperty("position","fixed"),pn.addElement(_n),Fn.addElement(Bn),Un.addElement(Zn),Un.beforeStyles({position:"absolute",top:"0px",[tt]:"0px"}).beforeAddWrite(()=>{Le.style.setProperty("display","none"),Zn.style.setProperty(et,Bt)}).afterAddWrite(()=>{Le.style.setProperty("display",""),Zn.style.setProperty("display","none"),Zn.style.removeProperty(et)}).keyframes(En),Fn.beforeStyles({"transform-origin":`${et} top`}).keyframes(pt),pn.beforeStyles({"transform-origin":`${sn} center`}).keyframes(cn),he.addAnimation([Fn,pn,Un])},H=(he,pe,be,Le,ye,je,ke,De,Je)=>{var lt,Mt;const Bt=pe?"right":"left",et=pe?`calc(100% - ${ye.right}px)`:`${ye.left}px`,tt=`${ye.top}px`;let Xe=pe?`-${window.innerWidth-ke.right-8}px`:`${ke.x+8}px`,e=.5;const On="scale(1)";let Pt=`scale(${e})`;if(De&&Je){Xe=pe?`-${window.innerWidth-Je.right-8}px`:Je.x-8+"px";const jn=(null===(lt=De.textContent)||void 0===lt?void 0:lt.trim())===(null===(Mt=Le.textContent)||void 0===Mt?void 0:Mt.trim());e=Je.height/(je.height-L),Pt=jn?`scale(${Je.width/je.width}, ${e})`:`scale(${e})`}const we=ke.top+ke.height/2-ye.height*e/2+"px",tn=be?[{offset:0,opacity:0,transform:`translate3d(${Xe}, ${we}, 0) ${Pt}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${tt}, 0) ${On}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${tt}, 0) ${On}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${Xe}, ${we}, 0) ${Pt}`}],fn=_("ion-title"),En=(0,n.c)();fn.innerText=Le.innerText,fn.size=Le.size,fn.color=Le.color,En.addElement(fn),En.beforeStyles({"transform-origin":`${Bt} top`,height:`${ye.height}px`,display:"",position:"relative",[Bt]:et}).beforeAddWrite(()=>{Le.style.setProperty("opacity","0")}).afterAddWrite(()=>{Le.style.setProperty("opacity",""),fn.style.setProperty("display","none")}).keyframes(tn),he.addAnimation(En)},K=(he,pe)=>{var be;try{const Le="cubic-bezier(0.32,0.72,0,1)",ye="opacity",je="transform",ke="0%",Je="rtl"===he.ownerDocument.dir,lt=Je?"-99.5%":"99.5%",Mt=Je?"33%":"-33%",Bt=pe.enteringEl,et=pe.leavingEl,sn="back"===pe.direction,tt=Bt.querySelector(":scope > ion-content"),Ct=Bt.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),Xe=Bt.querySelectorAll(":scope > ion-header > ion-toolbar"),e=(0,n.c)(),On=(0,n.c)();if(e.addElement(Bt).duration((null!==(be=pe.duration)&&void 0!==be?be:0)||540).easing(pe.easing||Le).fill("both").beforeRemoveClass("ion-page-invisible"),et&&null!=he){const we=(0,n.c)();we.addElement(he),e.addAnimation(we)}if(tt||0!==Xe.length||0!==Ct.length?(On.addElement(tt),On.addElement(Ct)):On.addElement(Bt.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),e.addAnimation(On),sn?On.beforeClearStyles([ye]).fromTo("transform",`translateX(${Mt})`,`translateX(${ke})`).fromTo(ye,.8,1):On.beforeClearStyles([ye]).fromTo("transform",`translateX(${lt})`,`translateX(${ke})`),tt){const we=y(tt).querySelector(".transition-effect");if(we){const Ot=we.querySelector(".transition-cover"),It=we.querySelector(".transition-shadow"),tn=(0,n.c)(),fn=(0,n.c)(),En=(0,n.c)();tn.addElement(we).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),fn.addElement(Ot).beforeClearStyles([ye]).fromTo(ye,0,.1),En.addElement(It).beforeClearStyles([ye]).fromTo(ye,.03,.7),tn.addAnimation([fn,En]),On.addAnimation([tn])}}const Pt=Bt.querySelector("ion-header.header-collapse-condense"),{forward:wt,backward:At}=((he,pe,be,Le,ye)=>{const je=M(Le,be),ke=w(ye),De=w(Le),Je=M(ye,be),lt=null!==je&&null!==ke&&!be,Mt=null!==De&&null!==Je&&be;if(lt){const Bt=ke.getBoundingClientRect(),et=je.getBoundingClientRect(),sn=y(je).querySelector(".button-text"),tt=sn?.getBoundingClientRect(),Xe=y(ke).querySelector(".toolbar-title").getBoundingClientRect();H(he,pe,be,ke,Bt,Xe,et,sn,tt),R(he,pe,be,je,et,sn,tt,ke,Xe)}else if(Mt){const Bt=De.getBoundingClientRect(),et=Je.getBoundingClientRect(),sn=y(Je).querySelector(".button-text"),tt=sn?.getBoundingClientRect(),Xe=y(De).querySelector(".toolbar-title").getBoundingClientRect();H(he,pe,be,De,Bt,Xe,et,sn,tt),R(he,pe,be,Je,et,sn,tt,De,Xe)}return{forward:lt,backward:Mt}})(e,Je,sn,Bt,et);if(Xe.forEach(we=>{const Ot=(0,n.c)();Ot.addElement(we),e.addAnimation(Ot);const It=(0,n.c)();It.addElement(we.querySelector("ion-title"));const tn=(0,n.c)(),fn=Array.from(we.querySelectorAll("ion-buttons,[menuToggle]")),En=we.closest("ion-header"),jn=En?.classList.contains("header-collapse-condense-inactive");let So;So=fn.filter(sn?Fn=>{const pn=Fn.classList.contains("buttons-collapse");return pn&&!jn||!pn}:Fn=>!Fn.classList.contains("buttons-collapse")),tn.addElement(So);const pt=(0,n.c)();pt.addElement(we.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const Nt=(0,n.c)();Nt.addElement(y(we).querySelector(".toolbar-background"));const Vt=(0,n.c)(),cn=we.querySelector("ion-back-button");if(cn&&Vt.addElement(cn),Ot.addAnimation([It,tn,pt,Nt,Vt]),tn.fromTo(ye,.01,1),pt.fromTo(ye,.01,1),sn)jn||It.fromTo("transform",`translateX(${Mt})`,`translateX(${ke})`).fromTo(ye,.01,1),pt.fromTo("transform",`translateX(${Mt})`,`translateX(${ke})`),Vt.fromTo(ye,.01,1);else if(Pt||It.fromTo("transform",`translateX(${lt})`,`translateX(${ke})`).fromTo(ye,.01,1),pt.fromTo("transform",`translateX(${lt})`,`translateX(${ke})`),Nt.beforeClearStyles([ye,"transform"]),En?.translucent?Nt.fromTo("transform",Je?"translateX(-100%)":"translateX(100%)","translateX(0px)"):Nt.fromTo(ye,.01,"var(--opacity)"),wt||Vt.fromTo(ye,.01,1),cn&&!wt){const pn=(0,n.c)();pn.addElement(y(cn).querySelector(".button-text")).fromTo("transform",Je?"translateX(-100px)":"translateX(100px)","translateX(0px)"),Ot.addAnimation(pn)}}),et){const we=(0,n.c)(),Ot=et.querySelector(":scope > ion-content"),It=et.querySelectorAll(":scope > ion-header > ion-toolbar"),tn=et.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(Ot||0!==It.length||0!==tn.length?(we.addElement(Ot),we.addElement(tn)):we.addElement(et.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),e.addAnimation(we),sn){we.beforeClearStyles([ye]).fromTo("transform",`translateX(${ke})`,Je?"translateX(-100%)":"translateX(100%)");const fn=(0,i.g)(et);e.afterAddWrite(()=>{"normal"===e.getDirection()&&fn.style.setProperty("display","none")})}else we.fromTo("transform",`translateX(${ke})`,`translateX(${Mt})`).fromTo(ye,1,.8);if(Ot){const fn=y(Ot).querySelector(".transition-effect");if(fn){const En=fn.querySelector(".transition-cover"),jn=fn.querySelector(".transition-shadow"),So=(0,n.c)(),pt=(0,n.c)(),Nt=(0,n.c)();So.addElement(fn).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),pt.addElement(En).beforeClearStyles([ye]).fromTo(ye,.1,0),Nt.addElement(jn).beforeClearStyles([ye]).fromTo(ye,.7,.03),So.addAnimation([pt,Nt]),we.addAnimation([So])}}It.forEach(fn=>{const En=(0,n.c)();En.addElement(fn);const jn=(0,n.c)();jn.addElement(fn.querySelector("ion-title"));const So=(0,n.c)(),pt=fn.querySelectorAll("ion-buttons,[menuToggle]"),Nt=fn.closest("ion-header"),Vt=Nt?.classList.contains("header-collapse-condense-inactive"),cn=Array.from(pt).filter(_n=>{const Cn=_n.classList.contains("buttons-collapse");return Cn&&!Vt||!Cn});So.addElement(cn);const Fn=(0,n.c)(),pn=fn.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");pn.length>0&&Fn.addElement(pn);const Un=(0,n.c)();Un.addElement(y(fn).querySelector(".toolbar-background"));const Zn=(0,n.c)(),Bn=fn.querySelector("ion-back-button");if(Bn&&Zn.addElement(Bn),En.addAnimation([jn,So,Fn,Zn,Un]),e.addAnimation(En),Zn.fromTo(ye,.99,0),So.fromTo(ye,.99,0),Fn.fromTo(ye,.99,0),sn){if(Vt||jn.fromTo("transform",`translateX(${ke})`,Je?"translateX(-100%)":"translateX(100%)").fromTo(ye,.99,0),Fn.fromTo("transform",`translateX(${ke})`,Je?"translateX(-100%)":"translateX(100%)"),Un.beforeClearStyles([ye,"transform"]),Nt?.translucent?Un.fromTo("transform","translateX(0px)",Je?"translateX(-100%)":"translateX(100%)"):Un.fromTo(ye,"var(--opacity)",0),Bn&&!At){const Cn=(0,n.c)();Cn.addElement(y(Bn).querySelector(".button-text")).fromTo("transform",`translateX(${ke})`,`translateX(${(Je?-124:124)+"px"})`),En.addAnimation(Cn)}}else Vt||jn.fromTo("transform",`translateX(${ke})`,`translateX(${Mt})`).fromTo(ye,.99,0).afterClearStyles([je,ye]),Fn.fromTo("transform",`translateX(${ke})`,`translateX(${Mt})`).afterClearStyles([je,ye]),Zn.afterClearStyles([ye]),jn.afterClearStyles([ye]),So.afterClearStyles([ye])})}return e}catch(Le){throw Le}},L=10},43615:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{mdTransitionAnimation:()=>x});var n=l(19986),i=l(3604);l(28476),l(9483),l(54261);const x=(_,y)=>{var w,M,I;const R="40px",K="back"===y.direction,he=y.leavingEl,pe=(0,i.g)(y.enteringEl),be=pe.querySelector("ion-toolbar"),Le=(0,n.c)();if(Le.addElement(pe).fill("both").beforeRemoveClass("ion-page-invisible"),K?Le.duration((null!==(w=y.duration)&&void 0!==w?w:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):Le.duration((null!==(M=y.duration)&&void 0!==M?M:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${R})`,"translateY(0px)").fromTo("opacity",.01,1),be){const ye=(0,n.c)();ye.addElement(be),Le.addAnimation(ye)}if(he&&K){Le.duration((null!==(I=y.duration)&&void 0!==I?I:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const ye=(0,n.c)();ye.addElement((0,i.g)(he)).onFinish(je=>{1===je&&ye.elements.length>0&&ye.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${R})`).fromTo("opacity",1,0),Le.addAnimation(ye)}return Le}},99440:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>pt,F:()=>Zn,G:()=>Nt,O:()=>Vt,a:()=>pe,b:()=>be,c:()=>ke,d:()=>cn,e:()=>Fn,f:()=>wt,g:()=>we,h:()=>tn,i:()=>En,j:()=>Je,k:()=>lt,n:()=>M,o:()=>On,q:()=>I,s:()=>So});var n=l(10467),i=l(28476),f=l(84920),g=l(37192),s=l(9483),x=l(58621),_=l(11970),y=l(74929);const w='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',M=(Bn,_n)=>{const Cn=Bn.querySelector(w);R(Cn,_n??Bn)},I=(Bn,_n)=>{const Cn=Array.from(Bn.querySelectorAll(w));R(Cn.length>0?Cn[Cn.length-1]:null,_n??Bn)},R=(Bn,_n)=>{let Cn=Bn;const Qt=Bn?.shadowRoot;Qt&&(Cn=Qt.querySelector(w)||Bn),Cn?(0,f.f)(Cn):_n.focus()};let H=0,K=0;const L=new WeakMap,he=Bn=>({create:_n=>Mt(Bn,_n),dismiss:(_n,Cn,Qt)=>Ct(document,_n,Cn,Bn,Qt),getTop:()=>(0,n.A)(function*(){return On(document,Bn)})()}),pe=he("ion-alert"),be=he("ion-action-sheet"),ke=he("ion-popover"),Je=Bn=>{typeof document<"u"&&tt(document);const _n=H++;Bn.overlayIndex=_n},lt=Bn=>(Bn.hasAttribute("id")||(Bn.id="ion-overlay-"+ ++K),Bn.id),Mt=(Bn,_n)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Bn).then(()=>{const Cn=document.createElement(Bn);return Cn.classList.add("overlay-hidden"),Object.assign(Cn,Object.assign(Object.assign({},_n),{hasController:!0})),Ot(document).appendChild(Cn),new Promise(Qt=>(0,f.c)(Cn,Qt))}):Promise.resolve(),et=(Bn,_n)=>{let Cn=Bn;const Qt=Bn?.shadowRoot;Qt&&(Cn=Qt.querySelector(w)||Bn),Cn?(0,f.f)(Cn):_n.focus()},tt=Bn=>{0===H&&(H=1,Bn.addEventListener("focus",_n=>{((Bn,_n)=>{const Cn=On(_n,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),Qt=Bn.target;Cn&&Qt&&!Cn.classList.contains(Zn)&&(Cn.shadowRoot?(()=>{if(Cn.contains(Qt))Cn.lastFocus=Qt;else if("ION-TOAST"===Qt.tagName)et(Cn.lastFocus,Cn);else{const Zt=Cn.lastFocus;M(Cn),Zt===_n.activeElement&&I(Cn),Cn.lastFocus=_n.activeElement}})():(()=>{if(Cn===Qt)Cn.lastFocus=void 0;else if("ION-TOAST"===Qt.tagName)et(Cn.lastFocus,Cn);else{const Zt=(0,f.g)(Cn);if(!Zt.contains(Qt))return;const vn=Zt.querySelector(".ion-overlay-wrapper");if(!vn)return;if(vn.contains(Qt)||Qt===Zt.querySelector("ion-backdrop"))Cn.lastFocus=Qt;else{const hn=Cn.lastFocus;M(vn,Cn),hn===_n.activeElement&&I(vn,Cn),Cn.lastFocus=_n.activeElement}}})())})(_n,Bn)},!0),Bn.addEventListener("ionBackButton",_n=>{const Cn=On(Bn);Cn?.backdropDismiss&&_n.detail.register(g.OVERLAY_BACK_BUTTON_PRIORITY,()=>{Cn.dismiss(void 0,pt)})}),(0,g.shouldUseCloseWatcher)()||Bn.addEventListener("keydown",_n=>{if("Escape"===_n.key){const Cn=On(Bn);Cn?.backdropDismiss&&Cn.dismiss(void 0,pt)}}))},Ct=(Bn,_n,Cn,Qt,Nn)=>{const Qn=On(Bn,Qt,Nn);return Qn?Qn.dismiss(_n,Cn):Promise.reject("overlay does not exist")},e=(Bn,_n)=>((Bn,_n)=>(void 0===_n&&(_n="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(Bn.querySelectorAll(_n)).filter(Cn=>Cn.overlayIndex>0)))(Bn,_n).filter(Cn=>!(Bn=>Bn.classList.contains("overlay-hidden"))(Cn)),On=(Bn,_n,Cn)=>{const Qt=e(Bn,_n);return void 0===Cn?Qt[Qt.length-1]:Qt.find(Nn=>Nn.id===Cn)},Pt=(Bn=!1)=>{const Cn=Ot(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");Cn&&(Bn?Cn.setAttribute("aria-hidden","true"):Cn.removeAttribute("aria-hidden"))},wt=function(){var Bn=(0,n.A)(function*(_n,Cn,Qt,Nn,Qn){var Zt,vn;if(_n.presented)return;Pt(!0),document.body.classList.add(_.B),pn(_n.el),_n.presented=!0,_n.willPresent.emit(),null===(Zt=_n.willPresentShorthand)||void 0===Zt||Zt.emit();const hn=(0,s.b)(_n),Tn=_n.enterAnimation?_n.enterAnimation:s.c.get(Cn,"ios"===hn?Qt:Nn);(yield It(_n,Tn,_n.el,Qn))&&(_n.didPresent.emit(),null===(vn=_n.didPresentShorthand)||void 0===vn||vn.emit()),"ION-TOAST"!==_n.el.tagName&&At(_n.el),_n.keyboardClose&&(null===document.activeElement||!_n.el.contains(document.activeElement))&&_n.el.focus(),_n.el.removeAttribute("aria-hidden")});return function(Cn,Qt,Nn,Qn,Zt){return Bn.apply(this,arguments)}}(),At=function(){var Bn=(0,n.A)(function*(_n){let Cn=document.activeElement;if(!Cn)return;const Qt=Cn?.shadowRoot;Qt&&(Cn=Qt.querySelector(w)||Cn),yield _n.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&Cn.focus()});return function(Cn){return Bn.apply(this,arguments)}}(),we=function(){var Bn=(0,n.A)(function*(_n,Cn,Qt,Nn,Qn,Zt,vn){var hn,Tn;if(!_n.presented)return!1;void 0!==i.d&&1===e(i.d).length&&(Pt(!1),document.body.classList.remove(_.B)),_n.presented=!1;try{_n.el.style.setProperty("pointer-events","none"),_n.willDismiss.emit({data:Cn,role:Qt}),null===(hn=_n.willDismissShorthand)||void 0===hn||hn.emit({data:Cn,role:Qt});const bo=(0,s.b)(_n),_o=_n.leaveAnimation?_n.leaveAnimation:s.c.get(Nn,"ios"===bo?Qn:Zt);Qt!==Nt&&(yield It(_n,_o,_n.el,vn)),_n.didDismiss.emit({data:Cn,role:Qt}),null===(Tn=_n.didDismissShorthand)||void 0===Tn||Tn.emit({data:Cn,role:Qt}),(L.get(_n)||[]).forEach(Go=>Go.destroy()),L.delete(_n),_n.el.classList.add("overlay-hidden"),_n.el.style.removeProperty("pointer-events"),void 0!==_n.el.lastFocus&&(_n.el.lastFocus=void 0)}catch(bo){console.error(bo)}return _n.el.remove(),Un(),!0});return function(Cn,Qt,Nn,Qn,Zt,vn,hn){return Bn.apply(this,arguments)}}(),Ot=Bn=>Bn.querySelector("ion-app")||Bn.body,It=function(){var Bn=(0,n.A)(function*(_n,Cn,Qt,Nn){Qt.classList.remove("overlay-hidden");const Zt=Cn(_n.el,Nn);(!_n.animated||!s.c.getBoolean("animated",!0))&&Zt.duration(0),_n.keyboardClose&&Zt.beforeAddWrite(()=>{const hn=Qt.ownerDocument.activeElement;hn?.matches("input,ion-input, ion-textarea")&&hn.blur()});const vn=L.get(_n)||[];return L.set(_n,[...vn,Zt]),yield Zt.play(),!0});return function(Cn,Qt,Nn,Qn){return Bn.apply(this,arguments)}}(),tn=(Bn,_n)=>{let Cn;const Qt=new Promise(Nn=>Cn=Nn);return fn(Bn,_n,Nn=>{Cn(Nn.detail)}),Qt},fn=(Bn,_n,Cn)=>{const Qt=Nn=>{(0,f.b)(Bn,_n,Qt),Cn(Nn)};(0,f.a)(Bn,_n,Qt)},En=Bn=>"cancel"===Bn||Bn===pt,jn=Bn=>Bn(),So=(Bn,_n)=>{if("function"==typeof Bn)return s.c.get("_zoneGate",jn)(()=>{try{return Bn(_n)}catch(Qt){throw Qt}})},pt="backdrop",Nt="gesture",Vt=39,cn=Bn=>{let Cn,_n=!1;const Qt=(0,x.C)(),Nn=(vn=!1)=>{if(Cn&&!vn)return{delegate:Cn,inline:_n};const{el:hn,hasController:Tn,delegate:uo}=Bn;return _n=null!==hn.parentNode&&!Tn,Cn=_n?uo||Qt:uo,{inline:_n,delegate:Cn}};return{attachViewToDom:function(){var vn=(0,n.A)(function*(hn){const{delegate:Tn}=Nn(!0);if(Tn)return yield Tn.attachViewToDom(Bn.el,hn);const{hasController:uo}=Bn;if(uo&&void 0!==hn)throw new Error("framework delegate is missing");return null});return function(Tn){return vn.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:vn}=Nn();vn&&void 0!==Bn.el&&vn.removeViewFromDom(Bn.el.parentElement,Bn.el)}}},Fn=()=>{let Bn;const _n=()=>{Bn&&(Bn(),Bn=void 0)};return{addClickListener:(Qt,Nn)=>{_n();const Qn=void 0!==Nn?document.getElementById(Nn):null;Qn?Bn=((vn,hn)=>{const Tn=()=>{hn.present()};return vn.addEventListener("click",Tn),()=>{vn.removeEventListener("click",Tn)}})(Qn,Qt):(0,y.p)(`A trigger element with the ID "${Nn}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Qt)},removeClickListener:_n}},pn=Bn=>{var _n;if(void 0===i.d)return;const Cn=e(i.d);for(let Qt=Cn.length-1;Qt>=0;Qt--){const Nn=Cn[Qt],Qn=null!==(_n=Cn[Qt+1])&&void 0!==_n?_n:Bn;(Qn.hasAttribute("aria-hidden")||"ION-TOAST"!==Qn.tagName)&&Nn.setAttribute("aria-hidden","true")}},Un=()=>{if(void 0===i.d)return;const Bn=e(i.d);for(let _n=Bn.length-1;_n>=0;_n--){const Cn=Bn[_n];if(Cn.removeAttribute("aria-hidden"),"ION-TOAST"!==Cn.tagName)break}},Zn="ion-disable-focus-trap"},34894:(ft,Z,l)=>{"use strict";l.d(Z,{L:()=>M});var n=l(98990),i=l(82470),f=l(29756),g=l(81365),s=l(60881),x=l(54438);function _(I,R){if(1&I&&(x.j41(0,"kirby-item")(1,"kirby-label")(2,"p",4),x.EFF(3),x.k0s(),x.j41(4,"p",5),x.EFF(5),x.k0s()(),x.j41(6,"kirby-label",6)(7,"data",7),x.EFF(8),x.k0s(),x.j41(9,"data",8),x.EFF(10),x.k0s()()()),2&I){const H=R.$implicit;x.R7$(3),x.JRh(H.title),x.R7$(2),x.JRh(H.subTitle),x.R7$(2),x.Y8G("value",H.amount),x.R7$(),x.JRh(H.amount),x.R7$(),x.Y8G("value",H.detail),x.R7$(),x.JRh(H.detail)}}function y(I,R){if(1&I&&(x.j41(0,"kirby-item")(1,"kirby-label")(2,"p",4),x.EFF(3),x.k0s(),x.j41(4,"p",5),x.EFF(5),x.k0s()(),x.j41(6,"kirby-label",6)(7,"data",7),x.EFF(8),x.k0s(),x.j41(9,"data",8),x.EFF(10),x.k0s()()()),2&I){const H=R.$implicit;x.R7$(3),x.JRh(H.title),x.R7$(2),x.JRh(H.subTitle),x.R7$(2),x.Y8G("value",H.amount),x.R7$(),x.JRh(H.amount),x.R7$(),x.Y8G("value",H.detail),x.R7$(),x.JRh(H.detail)}}const w_template='\n \n \n \n \n \n

{{item.title}}

\n

{{item.subTitle}}

\n
\n \n {{item.amount}}\n {{item.detail}}\n \n
\n
\n
\n \n \n \n \n

{{item.title}}

\n

{{item.subTitle}}

\n
\n \n {{item.amount}}\n {{item.detail}}\n \n
\n
\n
\n
\n
';let M=(()=>{class I extends s.p{constructor(){super(...arguments),this.template=w_template}static#e=this.\u0275fac=(()=>{let H;return function(L){return(H||(H=x.xGo(I)))(L||I)}})();static#t=this.\u0275cmp=x.VBU({type:I,selectors:[["cookbook-accordion-with-list-in-card-example"]],features:[x.Vt3],decls:8,vars:3,consts:[["title","Transactions",3,"isExpanded"],[3,"items"],[4,"kirbyListItemTemplate"],["title","More Transactions"],[1,"kirby-item-title"],[1,"kirby-item-subtitle"],["slot","end"],[3,"value"],[1,"kirby-item-detail",3,"value"]],template:function(K,L){1&K&&(x.j41(0,"kirby-card")(1,"kirby-accordion")(2,"kirby-accordion-item",0)(3,"kirby-list",1),x.DNE(4,_,11,6,"kirby-item",2),x.k0s()(),x.j41(5,"kirby-accordion-item",3)(6,"kirby-list",1),x.DNE(7,y,11,6,"kirby-item",2),x.k0s()()()()),2&K&&(x.R7$(2),x.Y8G("isExpanded",!0),x.R7$(),x.Y8G("items",L.itemsFullList.slice(0,4)),x.R7$(3),x.Y8G("items",L.itemsFullList.slice(4,7)))},dependencies:[n.Dw,n.ib,i.h6,i.aF,i.fv,f.HV,f.sB,f.bx,g.kA,g.JA,g.UF],encapsulation:2})}return I})()},24649:(ft,Z,l)=>{"use strict";l.d(Z,{W:()=>s});var n=l(98990),i=l(82470),f=l(54438);const g_template='\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n \n ';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-accordion-card-example"]],decls:10,vars:0,consts:[["title","Title for accordion item 1"],["title","Title for accordion item 2"],["title","Title for accordion item 3"],["title","Title for accordion item 4"]],template:function(w,M){1&w&&(f.j41(0,"kirby-card")(1,"kirby-accordion")(2,"kirby-accordion-item",0),f.EFF(3," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),f.k0s(),f.j41(4,"kirby-accordion-item",1),f.EFF(5," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),f.k0s(),f.j41(6,"kirby-accordion-item",2),f.EFF(7," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),f.k0s(),f.j41(8,"kirby-accordion-item",3),f.EFF(9," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),f.k0s()()())},dependencies:[n.Dw,n.ib,i.h6,i.aF,i.fv],encapsulation:2})}return x})()},32534:(ft,Z,l)=>{"use strict";l.d(Z,{n:()=>g});var n=l(82470),i=l(54438);const f_template='\n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n ';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-accordion-default-example"]],decls:9,vars:0,consts:[["title","Title for accordion item 1"],["title","Title for accordion item 2"],["title","Title for accordion item 3","isDisabled","{true}","disabledTitle","Title for disabled accordion item 3"],["title","Title for accordion item 4"]],template:function(y,w){1&y&&(i.j41(0,"kirby-accordion")(1,"kirby-accordion-item",0),i.EFF(2," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),i.k0s(),i.j41(3,"kirby-accordion-item",1),i.EFF(4," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),i.k0s(),i.j41(5,"kirby-accordion-item",2),i.EFF(6," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),i.k0s(),i.j41(7,"kirby-accordion-item",3),i.EFF(8," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),i.k0s()())},dependencies:[n.h6,n.aF,n.fv],encapsulation:2})}return s})()},47790:(ft,Z,l)=>{"use strict";l.d(Z,{n:()=>s});var n=l(82470),i=l(54438),f=l(57017);const g_template='\n \n Click item to see "toggle" event in action\n \n \n Click item to see "toggle" event in action\n \n',g_codeSnippet="onToggleChange(isOpen: boolean, item: string) {\n ...\n}";let s=(()=>{class x{constructor(y){this.toastController=y,this.template=g_template,this.codeSnippet=g_codeSnippet}onToggleChange(y,w){this.toastController.showToast({message:`Accordion ${w} toggled - is open: ${y}`,messageType:y?"success":"warning",durationInMs:1500})}static#e=this.\u0275fac=function(w){return new(w||x)(i.rXU(f.K))};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-accordion-events-example"]],decls:5,vars:1,consts:[["title","Title for accordion item 1",3,"toggle","isExpanded"],["title","Title for accordion item 2",3,"toggle"]],template:function(w,M){1&w&&(i.j41(0,"kirby-accordion")(1,"kirby-accordion-item",0),i.bIt("toggle",function(R){return M.onToggleChange(R,"item 1")}),i.EFF(2,' Click item to see "toggle" event in action '),i.k0s(),i.j41(3,"kirby-accordion-item",1),i.bIt("toggle",function(R){return M.onToggleChange(R,"item 2")}),i.EFF(4,' Click item to see "toggle" event in action '),i.k0s()()),2&w&&(i.R7$(),i.Y8G("isExpanded",!0))},dependencies:[n.h6,n.aF,n.fv],encapsulation:2})}return x})()},12494:(ft,Z,l)=>{"use strict";l.d(Z,{j:()=>g});var n=l(82470),i=l(54438);const f_template='\n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n \n ';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-accordion-expanded-example"]],decls:5,vars:1,consts:[["title","Title for accordion item 1",3,"isExpanded"],["title","Title for accordion item 2"]],template:function(y,w){1&y&&(i.j41(0,"kirby-accordion")(1,"kirby-accordion-item",0),i.EFF(2," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),i.k0s(),i.j41(3,"kirby-accordion-item",1),i.EFF(4," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),i.k0s()()),2&y&&(i.R7$(),i.Y8G("isExpanded",!0))},dependencies:[n.h6,n.aF,n.fv],encapsulation:2})}return s})()},231:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>w});var n=l(82470),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(M,I){if(1&M&&(s.j41(0,"kirby-item")(1,"kirby-label")(2,"p",4),s.EFF(3),s.k0s(),s.j41(4,"p",5),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",6)(7,"data",7),s.EFF(8),s.k0s(),s.j41(9,"data",8),s.EFF(10),s.k0s()()()),2&M){const R=I.$implicit;s.R7$(3),s.JRh(R.title),s.R7$(2),s.JRh(R.subTitle),s.R7$(2),s.Y8G("value",R.amount),s.R7$(),s.JRh(R.amount),s.R7$(),s.Y8G("value",R.detail),s.R7$(),s.JRh(R.detail)}}function _(M,I){if(1&M&&(s.j41(0,"kirby-item")(1,"kirby-label")(2,"p",4),s.EFF(3),s.k0s(),s.j41(4,"p",5),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",6)(7,"data",7),s.EFF(8),s.k0s(),s.j41(9,"data",8),s.EFF(10),s.k0s()()()),2&M){const R=I.$implicit;s.R7$(3),s.JRh(R.title),s.R7$(2),s.JRh(R.subTitle),s.R7$(2),s.Y8G("value",R.amount),s.R7$(),s.JRh(R.amount),s.R7$(),s.Y8G("value",R.detail),s.R7$(),s.JRh(R.detail)}}const y_template='\n \n \n \n \n

{{item.title}}

\n

{{item.subTitle}}

\n
\n \n {{item.amount}}\n {{item.detail}}\n \n
\n
\n
\n \n \n \n \n

{{item.title}}

\n

{{item.subTitle}}

\n
\n \n {{item.amount}}\n {{item.detail}}\n \n
\n
\n
\n
';let w=(()=>{class M extends g.p{constructor(){super(...arguments),this.template=y_template}static#e=this.\u0275fac=(()=>{let R;return function(K){return(R||(R=s.xGo(M)))(K||M)}})();static#t=this.\u0275cmp=s.VBU({type:M,selectors:[["cookbook-accordion-with-list-example"]],features:[s.Vt3],decls:7,vars:3,consts:[["title","Transactions",3,"isExpanded"],[3,"items"],[4,"kirbyListItemTemplate"],["title","More Transactions"],[1,"kirby-item-title"],[1,"kirby-item-subtitle"],["slot","end"],[3,"value"],[1,"kirby-item-detail",3,"value"]],template:function(H,K){1&H&&(s.j41(0,"kirby-accordion")(1,"kirby-accordion-item",0)(2,"kirby-list",1),s.DNE(3,x,11,6,"kirby-item",2),s.k0s()(),s.j41(4,"kirby-accordion-item",3)(5,"kirby-list",1),s.DNE(6,_,11,6,"kirby-item",2),s.k0s()()()),2&H&&(s.R7$(),s.Y8G("isExpanded",!0),s.R7$(),s.Y8G("items",K.itemsFullList.slice(0,4)),s.R7$(3),s.Y8G("items",K.itemsFullList.slice(4,7)))},dependencies:[n.h6,n.aF,n.fv,i.HV,i.sB,i.bx,f.kA,f.JA,f.UF],encapsulation:2})}return M})()},19963:(ft,Z,l)=>{"use strict";l.d(Z,{p:()=>g});var n=l(47008),i=l(54438),f=l(81443);let g=(()=>{class s{constructor(_){this.modalController=_}showActionSheet(){this.modalController.showActionSheet({header:"Your action sheet header",subheader:"Your action sheet subheader",items:[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}],cancelButtonText:"Custom cancel"},this.onActionSelected)}onActionSelected(_){console.log(`Action sheet selection: ${JSON.stringify(_)}`)}static#e=this.\u0275fac=function(y){return new(y||s)(i.rXU(f.W3))};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-action-sheet-example"]],decls:2,vars:0,consts:[["kirby-button","",3,"click"]],template:function(y,w){1&y&&(i.j41(0,"button",0),i.bIt("click",function(){return w.showActionSheet()}),i.EFF(1,"Show action sheet"),i.k0s())},dependencies:[n.Q],encapsulation:2})}return s})()},49267:(ft,Z,l)=>{"use strict";l.d(Z,{_:()=>K});var n=l(21413),i=l(41584),f=l(7673),g=l(96354),s=l(56977),x=l(39974),_=l(54360),w=l(47008),M=l(54438),I=l(81443),R=l(57017);const H={title:"Alert With Icon",message:"This message can have more than 1 line.",okBtn:"I agree",cancelBtn:"Take me back",icon:{name:"warning",themeColor:"warning"}};class K{static#e=this.alertConfigWithIcon=`const config: AlertConfig = ${K.stringify(H)}\n \nthis.modalController.showAlert(config);`;static stringify(he){return JSON.stringify(he,null,"\t").replace(/"(\w+)":/g,"$1:").replace(/"/g,"'")}static#t=this.alertConfigWithDynamicValues="const title$ = of('Need more time?');\n const message$ = remainingSeconds$.pipe(\n map((remainingSeconds) => `Time remaining: ${remainingSeconds}`)\n );\n\n const config: AlertConfig = {\n title: title$,\n icon: {\n name: 'clock',\n themeColor: 'warning',\n },\n message: message$,\n okBtn: 'Logout',\n cancelBtn: 'Take me back',\n };\n \n this.modalController.showAlert(config);";constructor(he,pe){this.modalController=he,this.toastController=pe,this.alertClose$=new n.B}showAlert(){this.modalController.showAlert({title:"Default Alert",message:"The default alert is just a title, a message, an OK and (optional) cancel button",okBtn:"I agree",cancelBtn:"Take me back"},this.onAlertClosed.bind(this))}showAlertWithIcon(){this.modalController.showAlert(H,this.onAlertClosed.bind(this))}showAlertWithoutCancel(){this.modalController.showAlert({title:"Alert Without Cancel",message:"This is an alert that can only be acknowledged (no cancel option)",okBtn:"I understand"},this.onAlertClosed.bind(this))}showDestructiveAlert(){this.modalController.showAlert({title:"Desctructive Alert",message:"This is to indicate that something destructive will happen when clicking the OK button",cancelBtn:"Get me out of here",okBtn:{text:"Confirm",isDestructive:!0}},this.onAlertDestructiveClosed.bind(this))}showAlertWithNewline(){this.modalController.showAlert({title:"Alert with newline",message:"This is message one.\n\nThis is message two.",okBtn:"I agree",cancelBtn:"Take me back"},this.onAlertClosed.bind(this))}showAlertWithDynamicValues(){const je=(0,i.O)(0,1e3).pipe((0,g.T)(lt=>6e4-1e3*lt),(0,s.Q)(this.alertClose$),function y(L,he=!1){return(0,x.N)((pe,be)=>{let Le=0;pe.subscribe((0,_._)(be,ye=>{const je=L(ye,Le++);(je||he)&&be.next(ye),!je&&be.complete()}))})}(lt=>lt>=0)),ke=(0,f.of)("Need more time?"),De=je.pipe((0,g.T)(lt=>`Time remaining: ${(lt=>Math.ceil(lt/1e3))(lt)}`));this.modalController.showAlert({title:ke,icon:{name:"clock",themeColor:"warning"},message:De,okBtn:"Logout",cancelBtn:"Take me back"},this.onAlertClosed.bind(this))}onAlertClosed(he){this.toastController.showToast({message:`Alert selection: ${he}`,messageType:he?"success":"warning",durationInMs:1500}),this.alertClose$.next()}onAlertDestructiveClosed(he){this.toastController.showToast({message:he?"Message deleted":"Nothing happened",messageType:he?"warning":"success",durationInMs:1500})}static#n=this.\u0275fac=function(pe){return new(pe||K)(M.rXU(I.W3),M.rXU(R.K))};static#o=this.\u0275cmp=M.VBU({type:K,selectors:[["cookbook-alert-example"]],decls:12,vars:0,consts:[["kirby-button","",3,"click"],["kirby-button","",1,"destructive",3,"click"]],template:function(pe,be){1&pe&&(M.j41(0,"button",0),M.bIt("click",function(){return be.showAlert()}),M.EFF(1,"Show alert"),M.k0s(),M.j41(2,"button",0),M.bIt("click",function(){return be.showAlertWithIcon()}),M.EFF(3,"Show alert with icon"),M.k0s(),M.j41(4,"button",0),M.bIt("click",function(){return be.showAlertWithoutCancel()}),M.EFF(5,"Show alert without cancel"),M.k0s(),M.j41(6,"button",1),M.bIt("click",function(){return be.showDestructiveAlert()}),M.EFF(7," Show destructive alert\n"),M.k0s(),M.j41(8,"button",0),M.bIt("click",function(){return be.showAlertWithNewline()}),M.EFF(9,"Show alert with newline"),M.k0s(),M.j41(10,"button",0),M.bIt("click",function(){return be.showAlertWithDynamicValues()}),M.EFF(11,"Show alert with dynamic values"),M.k0s())},dependencies:[w.Q],styles:["[_nghost-%COMP%]{display:block}"]})}},25713:(ft,Z,l)=>{"use strict";l.d(Z,{K:()=>x});var n=l(28287),i=l(35043),f=l(75797),g=l(54438);const s_template='\n \n \n \n \n\n\n\n \n \n \n \n\n\n\n \n \n \n \n\n\n\n \n \n \n \n';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-avatar-example-badge"]],decls:16,vars:0,consts:[["size","xs"],["name","kirby"],["name","attach"],["size","sm"],["size","md"],["size","lg"]],template:function(M,I){1&M&&(g.j41(0,"kirby-avatar",0),g.nrm(1,"kirby-icon",1),g.j41(2,"kirby-badge"),g.nrm(3,"kirby-icon",2),g.k0s()(),g.j41(4,"kirby-avatar",3),g.nrm(5,"kirby-icon",1),g.j41(6,"kirby-badge"),g.nrm(7,"kirby-icon",2),g.k0s()(),g.j41(8,"kirby-avatar",4),g.nrm(9,"kirby-icon",1),g.j41(10,"kirby-badge"),g.nrm(11,"kirby-icon",2),g.k0s()(),g.j41(12,"kirby-avatar",5),g.nrm(13,"kirby-icon",1),g.j41(14,"kirby-badge"),g.nrm(15,"kirby-icon",2),g.k0s()())},dependencies:[n.f,i.op,i.Rl,f.n],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}[_nghost-%COMP%]{padding:32px}']})}return _})()},54368:(ft,Z,l)=>{"use strict";l.d(Z,{v:()=>x});var n=l(28287),i=l(13339),f=l(35043),g=l(54438);const s_template='\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n';let x=(()=>{class _{constructor(){this.template=s_template,this.shouldWrap=!0}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-avatar-example-colors"]],hostVars:2,hostBindings:function(M,I){2&M&&g.AVh("wrap",I.shouldWrap)},decls:22,vars:0,consts:[["themeColor","light","title","light (default)"],["name","kirby"],["themeColor","semi-light","title","semi-light"],["themeColor","medium","title","medium"],["themeColor","white","title","white"],["themeColor","dark","title","dark"],["themeColor","primary","title","primary"],["themeColor","secondary","title","secondary"],["themeColor","tertiary","title","tertiary"],["themeColor","success","title","success"],["themeColor","warning","title","warning"],["themeColor","danger","title","danger"]],template:function(M,I){1&M&&(g.j41(0,"kirby-avatar",0),g.nrm(1,"kirby-icon",1),g.k0s(),g.j41(2,"kirby-avatar",2),g.nrm(3,"kirby-icon",1),g.k0s(),g.j41(4,"kirby-avatar",3),g.nrm(5,"kirby-icon",1),g.k0s(),g.j41(6,"kirby-avatar",4),g.nrm(7,"kirby-icon",1),g.k0s(),g.j41(8,"kirby-avatar",5),g.nrm(9,"kirby-icon",1),g.k0s(),g.j41(10,"kirby-avatar",6),g.nrm(11,"kirby-icon",1),g.k0s(),g.j41(12,"kirby-avatar",7),g.nrm(13,"kirby-icon",1),g.k0s(),g.j41(14,"kirby-avatar",8),g.nrm(15,"kirby-icon",1),g.k0s(),g.j41(16,"kirby-avatar",9),g.nrm(17,"kirby-icon",1),g.k0s(),g.j41(18,"kirby-avatar",10),g.nrm(19,"kirby-icon",1),g.k0s(),g.j41(20,"kirby-avatar",11),g.nrm(21,"kirby-icon",1),g.k0s())},dependencies:[n.f,i.Cd,f.op,f.Rl],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}']})}return _})()},99551:(ft,Z,l)=>{"use strict";l.d(Z,{k:()=>g});var n=l(28287),i=l(54438);const f_template='\n\n\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-avatar-example-default"]],decls:4,vars:0,consts:[["size","xs","text","A","title","xs"],["size","sm","text","A","title","sm"],["size","md","text","A","title","md"],["size","lg","text","A","title","lg"]],template:function(y,w){1&y&&i.nrm(0,"kirby-avatar",0)(1,"kirby-avatar",1)(2,"kirby-avatar",2)(3,"kirby-avatar",3)},dependencies:[n.f],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}']})}return s})()},33625:(ft,Z,l)=>{"use strict";l.d(Z,{i:()=>s});var n=l(28287),i=l(35043),f=l(54438);const g_template='\n \n\n\n\n \n\n\n\n \n\n\n\n \n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-avatar-example-icon"]],decls:8,vars:0,consts:[["size","xs"],["name","kirby"],["size","sm"],["size","md"],["size","lg"]],template:function(w,M){1&w&&(f.j41(0,"kirby-avatar",0),f.nrm(1,"kirby-icon",1),f.k0s(),f.j41(2,"kirby-avatar",2),f.nrm(3,"kirby-icon",1),f.k0s(),f.j41(4,"kirby-avatar",3),f.nrm(5,"kirby-icon",1),f.k0s(),f.j41(6,"kirby-avatar",4),f.nrm(7,"kirby-icon",1),f.k0s())},dependencies:[n.f,i.op,i.Rl],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}']})}return x})()},99696:(ft,Z,l)=>{"use strict";l.d(Z,{k:()=>g});var n=l(28287),i=l(54438);const f_template='',f_ts="avatarSrc: string = 'bad-image-url.png';\n\nshowFallbackImageOnError(event: ErrorEvent) {\n const fallbackImageSrc =\n 'assets/images/avatar-not-found.png';\n this.avatarSrc = fallbackImageSrc;\n // Possibly do something with the ErrorEvent parameter...\n}";let g=(()=>{class s{constructor(){this.template=f_template,this.ts=f_ts,this.avatarSrc="bad-image-url.png"}showFallbackImageOnError(_){this.avatarSrc="assets/images/avatar-not-found.png"}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-avatar-example-image-error"]],decls:1,vars:1,consts:[["size","lg",3,"imageError","imageSrc"]],template:function(y,w){1&y&&(i.j41(0,"kirby-avatar",0),i.bIt("imageError",function(I){return w.showFallbackImageOnError(I)}),i.k0s()),2&y&&i.Y8G("imageSrc",w.avatarSrc)},dependencies:[n.f],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}']})}return s})()},12187:(ft,Z,l)=>{"use strict";l.d(Z,{u:()=>g});var n=l(28287),i=l(54438);let g=(()=>{class s{constructor(){this.template=''}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-avatar-example-image-loazy-loading"]],decls:1,vars:0,consts:[["imageSrc","/assets/images/woman.png","imageLoading","lazy","size","lg"]],template:function(y,w){1&y&&i.nrm(0,"kirby-avatar",0)},dependencies:[n.f],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}']})}return s})()},48492:(ft,Z,l)=>{"use strict";l.d(Z,{R:()=>g});var n=l(28287),i=l(54438);const f_template='\n\n\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-avatar-example-image-size"]],decls:4,vars:0,consts:[["imageSrc","/assets/images/woman.png","altText","Example","size","xs","title","xs"],["imageSrc","/assets/images/woman.png","altText","Example","size","sm","title","sm"],["imageSrc","/assets/images/woman.png","altText","Example","size","md","title","md"],["imageSrc","/assets/images/woman.png","altText","Example","size","lg","title","lg"]],template:function(y,w){1&y&&i.nrm(0,"kirby-avatar",0)(1,"kirby-avatar",1)(2,"kirby-avatar",2)(3,"kirby-avatar",3)},dependencies:[n.f],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}']})}return s})()},49851:(ft,Z,l)=>{"use strict";l.d(Z,{Q:()=>g});var n=l(28287),i=l(54438);const f_template='\n\n\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-avatar-example-image"]],hostVars:2,hostBindings:function(y,w){2&y&&i.AVh("align-top",!0)},decls:3,vars:0,consts:[["imageSrc","/assets/images/woman.png","altText","Example","size","lg"],["imageSrc","/assets/images/woman.png","altText","Example","size","lg","overlay","true","title","Overlay"],["imageSrc","/assets/images/woman.png","altText","Example","size","lg","stroke","true","title","Stroke"]],template:function(y,w){1&y&&i.nrm(0,"kirby-avatar",0)(1,"kirby-avatar",1)(2,"kirby-avatar",2)},dependencies:[n.f],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}']})}return s})()},36143:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>g});var n=l(28287),i=l(54438);const f_template='\n\n\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-avatar-example-text"]],decls:4,vars:0,consts:[["size","xs","text","T"],["size","sm","text","T"],["size","md","text","T"],["size","lg","text","T"]],template:function(y,w){1&y&&i.nrm(0,"kirby-avatar",0)(1,"kirby-avatar",1)(2,"kirby-avatar",2)(3,"kirby-avatar",3)},dependencies:[n.f],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px}.wrap[_nghost-%COMP%]{flex-wrap:wrap}.wrap[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-avatar[_ngcontent-%COMP%]{position:relative}kirby-avatar[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-avatar[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-avatar[title][title=Overlay][_ngcontent-%COMP%]:before{content:"Overlay"}kirby-avatar[title][title=Shadow][_ngcontent-%COMP%]:before{content:"Shadow"}kirby-avatar[title][title=Stroke][_ngcontent-%COMP%]:before{content:"Stroke"}kirby-avatar[title][title="light (default)"][_ngcontent-%COMP%]:before{content:"(default)"}kirby-avatar[title][title=xs][_ngcontent-%COMP%]:before{content:"xs"}kirby-avatar[title][title=sm][_ngcontent-%COMP%]:before{content:"sm"}kirby-avatar[title][title=md][_ngcontent-%COMP%]:before{content:"md"}kirby-avatar[title][title=lg][_ngcontent-%COMP%]:before{content:"lg"}']})}return s})()},45997:(ft,Z,l)=>{"use strict";l.d(Z,{I:()=>s});var n=l(75797),i=l(35043),f=l(54438);const g_template='\n \n\n\n\n \n\n\n\n \n\n\n\n \n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-badge-example-icon"]],decls:8,vars:0,consts:[["name","attach"],["themeColor","success"],["themeColor","warning"],["themeColor","danger"]],template:function(w,M){1&w&&(f.j41(0,"kirby-badge"),f.nrm(1,"kirby-icon",0),f.k0s(),f.j41(2,"kirby-badge",1),f.nrm(3,"kirby-icon",0),f.k0s(),f.j41(4,"kirby-badge",2),f.nrm(5,"kirby-icon",0),f.k0s(),f.j41(6,"kirby-badge",3),f.nrm(7,"kirby-icon",0),f.k0s())},dependencies:[n.n,i.op,i.Rl],styles:["[_nghost-%COMP%] kirby-badge[_ngcontent-%COMP%] + kirby-badge[_ngcontent-%COMP%]{margin-left:16px}"]})}return x})()},20509:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>g});var n=l(75797),i=l(54438);const f_template='1\n7\n99\n123';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-badge-example-number"]],decls:8,vars:0,consts:[["themeColor","success"],["themeColor","warning"],["themeColor","danger"]],template:function(y,w){1&y&&(i.j41(0,"kirby-badge"),i.EFF(1,"1"),i.k0s(),i.j41(2,"kirby-badge",0),i.EFF(3,"7"),i.k0s(),i.j41(4,"kirby-badge",1),i.EFF(5,"99"),i.k0s(),i.j41(6,"kirby-badge",2),i.EFF(7,"123"),i.k0s())},dependencies:[n.n],styles:["[_nghost-%COMP%] kirby-badge[_ngcontent-%COMP%] + kirby-badge[_ngcontent-%COMP%]{margin-left:16px}"]})}return s})()},95203:(ft,Z,l)=>{"use strict";l.d(Z,{e:()=>g});var n=l(75797),i=l(54438);const f_template='\n\n\n\n\n\n\n\n\n\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-badge-example-small"]],decls:4,vars:0,consts:[["size","sm"],["themeColor","success","size","sm"],["themeColor","warning","size","sm"],["themeColor","danger","size","sm"]],template:function(y,w){1&y&&i.nrm(0,"kirby-badge",0)(1,"kirby-badge",1)(2,"kirby-badge",2)(3,"kirby-badge",3)},dependencies:[n.n],styles:["[_nghost-%COMP%] kirby-badge[_ngcontent-%COMP%] + kirby-badge[_ngcontent-%COMP%]{margin-left:16px}"]})}return s})()},94811:(ft,Z,l)=>{"use strict";l.d(Z,{E:()=>g});var n=l(75797),i=l(54438);const f_template='Default\nSuccess\nWarning\nDanger\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-badge-example-text"]],decls:8,vars:0,consts:[["themeColor","success"],["themeColor","warning"],["themeColor","danger"]],template:function(y,w){1&y&&(i.j41(0,"kirby-badge"),i.EFF(1,"Default"),i.k0s(),i.j41(2,"kirby-badge",0),i.EFF(3,"Success"),i.k0s(),i.j41(4,"kirby-badge",1),i.EFF(5,"Warning"),i.k0s(),i.j41(6,"kirby-badge",2),i.EFF(7,"Danger"),i.k0s())},dependencies:[n.n],styles:["[_nghost-%COMP%] kirby-badge[_ngcontent-%COMP%] + kirby-badge[_ngcontent-%COMP%]{margin-left:16px}"]})}return s})()},53697:(ft,Z,l)=>{"use strict";l.d(Z,{z:()=>g});var n=l(47008),i=l(54438);const f_template='\nAria Disabled Link';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-button-example-aria-disabled"]],decls:4,vars:0,consts:[["kirby-button","","aria-disabled","true"],["kirby-button","","aria-disabled","true","href","/"]],template:function(y,w){1&y&&(i.j41(0,"button",0),i.EFF(1,"Aria Disabled"),i.k0s(),i.j41(2,"a",1),i.EFF(3,"Aria Disabled Link"),i.k0s())},dependencies:[n.Q],styles:["[_nghost-%COMP%]{display:block}"]})}return s})()},8344:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>_});var n=l(98990),i=l(47008),f=l(41727),g=l(54438),s=l(13339);const x={selector:"cookbook-button-example-attention-level",template:'\n \n \n \n\n
\n Configuration\n \n \n
'};let _=(()=>{class y{constructor(){this.template=x.template.split("{"use strict";l.d(Z,{B:()=>g});var n=l(47008),i=l(54438);let g=(()=>{class s{constructor(){this.template=''}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-button-example-block"]],decls:2,vars:0,consts:[["kirby-button","","expand","block"]],template:function(y,w){1&y&&(i.j41(0,"button",0),i.EFF(1,"Block Button"),i.k0s())},dependencies:[n.Q],styles:["[_nghost-%COMP%]{display:block}"]})}return s})()},92908:(ft,Z,l)=>{"use strict";l.d(Z,{N:()=>g});var n=l(47008),i=l(54438);let g=(()=>{class s{constructor(){this.template=""}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-button-example-default"]],decls:2,vars:0,consts:[["kirby-button",""]],template:function(y,w){1&y&&(i.j41(0,"button",0),i.EFF(1,"Default Button"),i.k0s())},dependencies:[n.Q],styles:["[_nghost-%COMP%]{display:block}"]})}return s})()},17313:(ft,Z,l)=>{"use strict";l.d(Z,{q:()=>s});var n=l(47008),i=l(35043),f=l(54438);const g_template='\n\n\n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-button-example-disabled"]],decls:9,vars:1,consts:[["kirby-button","","disabled",""],["name","edit"],["kirby-button","","disabled","","aria-label","Close"],["name","close"],["kirby-button","","disabled","","aria-label","Close",3,"noDecoration"]],template:function(w,M){1&w&&(f.j41(0,"button",0),f.EFF(1," Disabled\n"),f.k0s(),f.j41(2,"button",0),f.nrm(3,"kirby-icon",1),f.EFF(4," Disabled with icon\n"),f.k0s(),f.j41(5,"button",2),f.nrm(6,"kirby-icon",3),f.k0s(),f.j41(7,"button",4),f.nrm(8,"kirby-icon",3),f.k0s()),2&w&&(f.R7$(7),f.Y8G("noDecoration",!0))},dependencies:[n.Q,i.op,i.Rl],styles:["[_nghost-%COMP%]{display:block}"]})}return x})()},10303:(ft,Z,l)=>{"use strict";l.d(Z,{t:()=>s});var n=l(47008),i=l(35043),f=l(54438);const g_template='\n\n\n\n\n\n\n\n\n\n\n\n\n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-button-example-icon-only"]],decls:28,vars:4,consts:[["kirby-button","","size","xs","aria-label","Close"],["name","close"],["kirby-button","","size","sm","aria-label","Close"],["kirby-button","","aria-label","Close"],["kirby-button","","size","lg","aria-label","Close"],["kirby-button","","size","xs","attentionLevel","2",3,"showIconOnly"],["name","search"],["kirby-button","","size","sm","attentionLevel","2",3,"showIconOnly"],["kirby-button","","attentionLevel","2",3,"showIconOnly"],["kirby-button","","size","lg","attentionLevel","2",3,"showIconOnly"],["kirby-button","","size","xs","attentionLevel","3","aria-label","More settings"],["name","more"],["kirby-button","","size","sm","attentionLevel","3","aria-label","More settings"],["kirby-button","","attentionLevel","3","aria-label","More settings"],["kirby-button","","size","lg","attentionLevel","3","aria-label","More settings"]],template:function(w,M){1&w&&(f.j41(0,"button",0),f.nrm(1,"kirby-icon",1),f.k0s(),f.j41(2,"button",2),f.nrm(3,"kirby-icon",1),f.k0s(),f.j41(4,"button",3),f.nrm(5,"kirby-icon",1),f.k0s(),f.j41(6,"button",4),f.nrm(7,"kirby-icon",1),f.k0s(),f.j41(8,"button",5),f.EFF(9," Search "),f.nrm(10,"kirby-icon",6),f.k0s(),f.j41(11,"button",7),f.EFF(12," Search "),f.nrm(13,"kirby-icon",6),f.k0s(),f.j41(14,"button",8),f.nrm(15,"kirby-icon",6),f.EFF(16," Search\n"),f.k0s(),f.j41(17,"button",9),f.nrm(18,"kirby-icon",6),f.EFF(19," Search\n"),f.k0s(),f.j41(20,"button",10),f.nrm(21,"kirby-icon",11),f.k0s(),f.j41(22,"button",12),f.nrm(23,"kirby-icon",11),f.k0s(),f.j41(24,"button",13),f.nrm(25,"kirby-icon",11),f.k0s(),f.j41(26,"button",14),f.nrm(27,"kirby-icon",11),f.k0s()),2&w&&(f.R7$(8),f.Y8G("showIconOnly",!0),f.R7$(3),f.Y8G("showIconOnly",!0),f.R7$(3),f.Y8G("showIconOnly",!0),f.R7$(3),f.Y8G("showIconOnly",!0))},dependencies:[n.Q,i.op,i.Rl],styles:["[_nghost-%COMP%]{display:inline-grid;grid-template-columns:repeat(4,auto);place-items:center center;gap:16px}"]})}return x})()},4855:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>s});var n=l(47008),i=l(35043),f=l(54438);const g_template='\n\n\n\n\n\n\n\n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-button-example-icons"]],decls:24,vars:0,consts:[["kirby-button","","size","xs"],["name","edit"],["kirby-button","","size","sm"],["kirby-button",""],["kirby-button","","size","lg"],["name","arrow-down"]],template:function(w,M){1&w&&(f.j41(0,"button",0),f.nrm(1,"kirby-icon",1),f.EFF(2," Icon left\n"),f.k0s(),f.j41(3,"button",2),f.nrm(4,"kirby-icon",1),f.EFF(5," Icon left\n"),f.k0s(),f.j41(6,"button",3),f.nrm(7,"kirby-icon",1),f.EFF(8," Icon left\n"),f.k0s(),f.j41(9,"button",4),f.nrm(10,"kirby-icon",1),f.EFF(11," Icon left\n"),f.k0s(),f.j41(12,"button",0),f.EFF(13," Icon right "),f.nrm(14,"kirby-icon",5),f.k0s(),f.j41(15,"button",2),f.EFF(16," Icon right "),f.nrm(17,"kirby-icon",5),f.k0s(),f.j41(18,"button",3),f.EFF(19," Icon right "),f.nrm(20,"kirby-icon",5),f.k0s(),f.j41(21,"button",4),f.EFF(22," Icon right "),f.nrm(23,"kirby-icon",5),f.k0s())},dependencies:[n.Q,i.op,i.Rl],styles:["[_nghost-%COMP%]{display:inline-grid;grid-template-columns:repeat(4,auto);place-items:center center;gap:16px}@media (max-width: 767px){[_nghost-%COMP%]{display:inline-flex;flex-direction:column;align-items:center}}"]})}return x})()},17337:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>g});var n=l(47008),i=l(54438);const f_template='Link\nLink (new tab/window)';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-button-example-link"]],decls:4,vars:0,consts:[["kirby-button","","href","/"],["kirby-button","","href","/","target","_blank"]],template:function(y,w){1&y&&(i.j41(0,"a",0),i.EFF(1,"Link"),i.k0s(),i.j41(2,"a",1),i.EFF(3,"Link (new tab/window)"),i.k0s())},dependencies:[n.Q],styles:["[_nghost-%COMP%]{display:inline-grid;grid-template-columns:repeat(4,auto);place-items:center center;gap:16px}"]})}return s})()},4631:(ft,Z,l)=>{"use strict";l.d(Z,{_:()=>g});var n=l(47008),i=l(54438);const f_template='\n\n\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-button-example-sizes"]],decls:8,vars:0,consts:[["kirby-button","","size","xs"],["kirby-button","","size","sm"],["kirby-button",""],["kirby-button","","size","lg"]],template:function(y,w){1&y&&(i.j41(0,"button",0),i.EFF(1,"Extra Small Button"),i.k0s(),i.j41(2,"button",1),i.EFF(3,"Small Button"),i.k0s(),i.j41(4,"button",2),i.EFF(5,"Medium Button"),i.k0s(),i.j41(6,"button",3),i.EFF(7,"Large Button"),i.k0s())},dependencies:[n.Q],styles:["[_nghost-%COMP%]{display:inline-flex;flex-direction:column;align-items:center;gap:16px}@media (min-width: 768px){[_nghost-%COMP%]{flex-direction:row}}"]})}return s})()},3925:(ft,Z,l)=>{"use strict";l.d(Z,{I:()=>s});var n=l(47008),i=l(35043),f=l(54438);const g_template='';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-button-example-undecorated"]],decls:2,vars:1,consts:[["kirby-button","","aria-label","Close",3,"noDecoration"],["name","close"]],template:function(w,M){1&w&&(f.j41(0,"button",0),f.nrm(1,"kirby-icon",1),f.k0s()),2&w&&f.Y8G("noDecoration",!0)},dependencies:[n.Q,i.op,i.Rl],styles:["[_nghost-%COMP%]{display:block}"]})}return x})()},39490:(ft,Z,l)=>{"use strict";l.d(Z,{u:()=>R});var n=l(30226),i=l(71479),s=l(99130),x=l(98990),_=l(34100),y=l(47008),w=l(60177),M=l(54438);const I_template='\n \n\n\n\n \n

\n Selected Date: {{ selectedDate ? (selectedDate | date: \'MMM d, y z\':(useTimezoneUTC ? \'UTC\' : undefined)) : \'none\' }} \n

\n
\n
\n \n \n \n
\n
\n ',I_codeSnippet="this.minDate = subDays(today, 60);\nthis.maxDate = addDays(today, 60);\nthis.todayDate = addDays(today, 3);\n\nthis.disabledDates = [3, 5, 7, 10, 15, 25, 28, 35].map((daysFromToday) =>\n addDays(today, daysFromToday)\n);\n\nthis.enabledDates = [3, 5, 7, 10, 15, 25, 28, 35].map((daysFromToday) =>\n addDays(today, daysFromToday)\n);\n\nselectNextMonth() {\n const today = new Date();\n const nextMonth = new Date(today.getFullYear(), today.getMonth() + 1, 1);\n this.selectedDate = nextMonth;\n}\n\nselectToday() {\n this.selectedDate = new Date();\n}\n\ndeselectDate() {\n this.selectedDate = null;\n}\n ";let R=(()=>{class H{constructor(){this.template=I_template,this.codeSnippet=I_codeSnippet,this.disableWeekends=!1,this.disablePastDates=!1,this.disableFutureDates=!1,this.setDisabledDates=!1,this.setEnabledDates=!1,this.setMinDate=!1,this.setMaxDate=!1,this.setTodayDate=!1,this.useTimezoneUTC=!1,this.showYearNavigator=!1,this.yearNavigatorOptions={from:-6,to:3},this.timeZoneName=Intl.DateTimeFormat().resolvedOptions().timeZone,this.updateInputDates()}ngOnChanges(L){L.useTimezoneUTC&&(this.updateInputDates(),this.selectedDate&&(this.selectedDate=this.useTimezoneUTC?(0,s.uk)(this.subtractTimezoneOffset(this.selectedDate),this.timeZoneName):(0,s.L_)(this.selectedDate,this.timeZoneName)))}onDateChange(L){this.selectedDate=L}selectNextMonth(){const L=new Date,he=new Date(L.getFullYear(),L.getMonth()+1,1);this.selectedDate=he}selectToday(){this.selectedDate=new Date}deselectDate(){this.selectedDate=null}updateInputDates(){const L=(0,n.o)(new Date);this.minDate=function f(H,K,L){return(0,i.f)(H,-K,L)}(L,60),this.maxDate=(0,i.f)(L,60),this.todayDate=(0,i.f)(L,3),this.disabledDates=[3,5,7,10,15,25,28,35].map(he=>(0,i.f)(L,he)),this.enabledDates=[3,5,7,10,15,25,28,35].map(he=>(0,i.f)(L,he))}subtractTimezoneOffset(L){return new Date(L.getTime()-60*L.getTimezoneOffset()*1e3)}static#e=this.\u0275fac=function(he){return new(he||H)};static#t=this.\u0275cmp=M.VBU({type:H,selectors:[["cookbook-calendar-card-example"]],inputs:{disableWeekends:"disableWeekends",disablePastDates:"disablePastDates",disableFutureDates:"disableFutureDates",setDisabledDates:"setDisabledDates",setEnabledDates:"setEnabledDates",setMinDate:"setMinDate",setMaxDate:"setMaxDate",setTodayDate:"setTodayDate",useTimezoneUTC:"useTimezoneUTC",showYearNavigator:"showYearNavigator"},features:[M.OA$],decls:14,vars:17,consts:[[3,"dateChange","timezone","disableWeekends","disablePastDates","disableFutureDates","disabledDates","enabledDates","minDate","maxDate","todayDate","selectedDate"],["variant","outlined",3,"hasPadding"],[3,"hasPadding"],[1,"buttons"],["kirby-button","","attentionLevel","3","size","sm",3,"click"]],template:function(he,pe){1&he&&(M.j41(0,"kirby-card")(1,"kirby-calendar",0),M.bIt("dateChange",function(Le){return pe.onDateChange(Le)}),M.k0s()(),M.j41(2,"kirby-card",1)(3,"kirby-card-header",2)(4,"p"),M.EFF(5),M.nI1(6,"date"),M.k0s()(),M.j41(7,"div",3)(8,"button",4),M.bIt("click",function(){return pe.selectNextMonth()}),M.EFF(9," Next month "),M.k0s(),M.j41(10,"button",4),M.bIt("click",function(){return pe.selectToday()}),M.EFF(11,"Now"),M.k0s(),M.j41(12,"button",4),M.bIt("click",function(){return pe.deselectDate()}),M.EFF(13,"Deselect"),M.k0s()()()),2&he&&(M.R7$(),M.Y8G("timezone",pe.useTimezoneUTC?"UTC":"local")("disableWeekends",pe.disableWeekends)("disablePastDates",pe.disablePastDates)("disableFutureDates",pe.disableFutureDates)("disabledDates",pe.setDisabledDates?pe.disabledDates:null)("enabledDates",pe.setEnabledDates?pe.enabledDates:null)("minDate",pe.setMinDate?pe.minDate:null)("maxDate",pe.setMaxDate?pe.maxDate:null)("todayDate",pe.setTodayDate?pe.todayDate:null)("selectedDate",pe.selectedDate),M.R7$(),M.Y8G("hasPadding",!0),M.R7$(),M.Y8G("hasPadding",!1),M.R7$(2),M.SpI(" Selected Date: ",pe.selectedDate?M.brH(6,13,pe.selectedDate,"MMM d, y z",pe.useTimezoneUTC?"UTC":void 0):"none"," "))},dependencies:[x.Dw,x.ib,x.lM,_.S,y.Q,w.vh],styles:["[_nghost-%COMP%]{display:block;max-width:320px;margin:0 auto}kirby-card[_ngcontent-%COMP%]:has(.buttons){margin-top:8px}kirby-card[_ngcontent-%COMP%]:has(.buttons) .buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-around}kirby-card[_ngcontent-%COMP%]:has(.buttons) p[_ngcontent-%COMP%]{margin:12px 0 0}"]})}return H})()},47333:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>g});var n=l(34100),i=l(54438);let g=(()=>{class s{constructor(){this.template=""}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-calendar-no-background-example"]],decls:1,vars:0,template:function(y,w){1&y&&i.nrm(0,"kirby-calendar")},dependencies:[n.S],styles:["[_nghost-%COMP%]{display:block;max-width:320px;margin:0 auto}"]})}return s})()},3418:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>s});var n=l(98990),i=l(34100),f=l(54438);const g_template='\n \n';let s=(()=>{class x{constructor(){this.template=g_template,this.yearNavigatorOptions={from:-6,to:3}}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-calendar-year-navigator-example"]],decls:2,vars:2,consts:[[3,"yearNavigatorOptions","usePopover"]],template:function(w,M){1&w&&(f.j41(0,"kirby-card"),f.nrm(1,"kirby-calendar",0),f.k0s()),2&w&&(f.R7$(),f.Y8G("yearNavigatorOptions",M.yearNavigatorOptions)("usePopover",!0))},dependencies:[n.Dw,n.ib,i.S],styles:["[_nghost-%COMP%]{display:block;max-width:320px;margin:0 auto}"]})}return x})()},1039:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>x});var n=l(85343),i=l(98990),f=l(54438),g=l(13339);const s_template='\n A card with background image\n

\n Try resizing the viewport to see the media queries in action!\n

\n

\n Using the CSS Custom Property, we can quite easily add a gradient on top of \n any image to enhance readability. With the input property, a similar look \n will have to be implemented by editing the image instead.\n

\n
',s_style="@use '@kirbydesign/designsystem/scss/utils';\n\nkirby-card {\n --kirby-card-background-image: linear-gradient(\n 0deg,\n rgb(255 255 255 / 0%) 0%,\n rgb(0 0 0 / 50%) 100%\n ),\n url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750');\n\n @include utils.media('>=large') {\n --kirby-card-background-image: linear-gradient(\n 0deg,\n rgb(255 255 255 / 0%) 0%,\n rgba(0, 0, 0, 50%) 100%\n ),\n url('https://images.unsplash.com/photo-1560840067-ddcaeb7831d2');\n }\n}";let x=(()=>{class _{constructor(){this.template=s_template,this.style=s_style,this.noop=n.l}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-card-example-background-image"]],decls:7,vars:1,consts:[["themeColor","dark",3,"click","hasPadding"]],template:function(M,I){1&M&&(f.j41(0,"kirby-card",0),f.bIt("click",function(){return I.noop()}),f.j41(1,"strong"),f.EFF(2,"A card with background image"),f.k0s(),f.j41(3,"p"),f.EFF(4," Try resizing the viewport to see the media queries in action! "),f.k0s(),f.j41(5,"p"),f.EFF(6," Using the CSS Custom Property, we can quite easily add a gradient on top of any image to enhance readability. With the input property, a similar look will have to be implemented by editing the image instead. "),f.k0s()()),2&M&&f.Y8G("hasPadding",!0)},dependencies:[i.Dw,i.ib,i.qq,g.Cd],styles:["[_nghost-%COMP%]{display:grid;place-content:center}kirby-card[_ngcontent-%COMP%]{max-width:500px}kirby-flag[_ngcontent-%COMP%]{float:inline-end}.card-option-button-group[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}.kirby-color-brightness-dark[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}p[_ngcontent-%COMP%]:last-child{margin-bottom:0}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:var(--kirby-black);cursor:pointer}button.success[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-30)}button.success[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-green-50)}button.warning[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-30)}button.warning[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-yellow-50)}button.danger[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-30)}button.danger[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-red-50)}button.info[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light)}button.info[_ngcontent-%COMP%]:hover{background-color:var(--kirby-semi-light-shade)}button.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium)}button.medium[_ngcontent-%COMP%]:hover{background-color:var(--kirby-medium-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary)}button.tertiary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-tertiary-shade)}button.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark)}button.dark[_ngcontent-%COMP%]:hover{background-color:var(--kirby-dark-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}","kirby-card[_ngcontent-%COMP%]{--kirby-card-background-image: linear-gradient( 0deg, rgb(255 255 255 / 0%) 0%, rgb(0 0 0 / 50%) 100% ), url(https://images.unsplash.com/photo-1512917774080-9991f1c4c750)}@media (min-width: 992px){kirby-card[_ngcontent-%COMP%]{--kirby-card-background-image: linear-gradient( 0deg, rgb(255 255 255 / 0%) 0%, rgb(0 0 0 / 50%) 100% ), url(https://images.unsplash.com/photo-1560840067-ddcaeb7831d2)}}"]})}return _})()},64840:(ft,Z,l)=>{"use strict";l.d(Z,{t:()=>s});var n=l(98990),i=l(54438),f=l(13339);const g_codeSnippet="\n A themed card\n

This cards color is defined by the themeColor input property.

\n

Recommended values for themeColor are:
'secondary' | 'tertiary' | 'medium' | 'dark'

\n

Use the buttons below to see the different options \u{1f447}

\n
",g_template='\n A themed card\n

This cards color is defined by the themeColor input property.

\n

Recommended values for themeColor are:
\'secondary\' | \'tertiary\' | \'medium\' | \'dark\'

\n

Use the buttons below to see the different options \u{1f447}

\n
\n\n
\n \n \n \n \n
';let s=(()=>{class x{constructor(){this.template=g_template,this.codeSnippet=g_codeSnippet,this.color="secondary"}setThemeColor(y){this.color=y}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-card-example-color"]],decls:20,vars:1,consts:[["hasPadding","true",3,"themeColor"],[1,"card-option-button-group"],[1,"secondary",3,"click"],[1,"tertiary",3,"click"],[1,"medium",3,"click"],[1,"dark",3,"click"]],template:function(w,M){1&w&&(i.j41(0,"kirby-card",0)(1,"strong"),i.EFF(2,"A themed card"),i.k0s(),i.j41(3,"p"),i.EFF(4,"This cards color is defined by the "),i.j41(5,"code"),i.EFF(6,"themeColor"),i.k0s(),i.EFF(7," input property."),i.k0s(),i.j41(8,"p"),i.EFF(9,"Recommended values for themeColor are: "),i.nrm(10,"br"),i.j41(11,"code"),i.EFF(12,"'secondary' | 'tertiary' | 'medium' | 'dark'"),i.k0s()(),i.j41(13,"p"),i.EFF(14,"Use the buttons below to see the different options \u{1f447}"),i.k0s()(),i.j41(15,"div",1)(16,"button",2),i.bIt("click",function(){return M.setThemeColor("secondary")}),i.k0s(),i.j41(17,"button",3),i.bIt("click",function(){return M.setThemeColor("tertiary")}),i.k0s(),i.j41(18,"button",4),i.bIt("click",function(){return M.setThemeColor("medium")}),i.k0s(),i.j41(19,"button",5),i.bIt("click",function(){return M.setThemeColor("dark")}),i.k0s()()),2&w&&i.Y8G("themeColor",M.color)},dependencies:[n.Dw,n.ib,f.Cd],styles:["[_nghost-%COMP%]{display:grid;place-content:center}kirby-card[_ngcontent-%COMP%]{max-width:500px}kirby-flag[_ngcontent-%COMP%]{float:inline-end}.card-option-button-group[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}.kirby-color-brightness-dark[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}p[_ngcontent-%COMP%]:last-child{margin-bottom:0}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:var(--kirby-black);cursor:pointer}button.success[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-30)}button.success[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-green-50)}button.warning[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-30)}button.warning[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-yellow-50)}button.danger[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-30)}button.danger[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-red-50)}button.info[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light)}button.info[_ngcontent-%COMP%]:hover{background-color:var(--kirby-semi-light-shade)}button.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium)}button.medium[_ngcontent-%COMP%]:hover{background-color:var(--kirby-medium-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary)}button.tertiary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-tertiary-shade)}button.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark)}button.dark[_ngcontent-%COMP%]:hover{background-color:var(--kirby-dark-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}"]})}return x})()},26826:(ft,Z,l)=>{"use strict";l.d(Z,{r:()=>_});var n=l(85343),i=l(98990),f=l(81365),g=l(8346),s=l(54438);const x_template='\n \n \n

Item disclosure in header

\n
\n
\n\n

A card with state and disclosure

\n

\n Note how this card can be focussed with tab keyboard navigation and enter or space triggers the click function.\n

\n

\n You are free to slot any content inside. \n Danger \n

\n

\n Could be a couple of flags! \n Success \n

\n
',x_style="kirby-card {\n --kirby-card-padding-top: 0px; \n}";let _=(()=>{class y{constructor(){this.template=x_template,this.style=x_style,this.noop=n.l}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-card-example-disclosure"]],decls:17,vars:3,consts:[[3,"click","hasPadding"],[3,"hasPadding"],[3,"disclosure"],[1,"kirby-text-normal-bold"],[1,"kirby-text-large"],["themeColor","danger",2,"float","right"],["themeColor","success",2,"float","right"]],template:function(I,R){1&I&&(s.j41(0,"kirby-card",0),s.bIt("click",function(){return R.noop()}),s.j41(1,"kirby-card-header",1)(2,"kirby-item",2)(3,"p",3),s.EFF(4,"Item disclosure in header"),s.k0s()()(),s.j41(5,"p",4),s.EFF(6,"A card with state and disclosure"),s.k0s(),s.j41(7,"p"),s.EFF(8," Note how this card can be focussed with tab keyboard navigation and enter or space triggers the click function. "),s.k0s(),s.j41(9,"p"),s.EFF(10," You are free to slot any content inside. "),s.j41(11,"kirby-flag",5),s.EFF(12," Danger "),s.k0s()(),s.j41(13,"p"),s.EFF(14," Could be a couple of flags! "),s.j41(15,"kirby-flag",6),s.EFF(16," Success "),s.k0s()()()),2&I&&(s.Y8G("hasPadding",!0),s.R7$(),s.Y8G("hasPadding",!1),s.R7$(),s.Y8G("disclosure","arrow-more"))},dependencies:[i.Dw,i.ib,i.lM,i.qq,f.kA,f.JA,g.q],styles:["[_nghost-%COMP%]{display:grid;place-content:center}kirby-card[_ngcontent-%COMP%]{max-width:500px}kirby-flag[_ngcontent-%COMP%]{float:inline-end}.card-option-button-group[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}.kirby-color-brightness-dark[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}p[_ngcontent-%COMP%]:last-child{margin-bottom:0}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:var(--kirby-black);cursor:pointer}button.success[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-30)}button.success[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-green-50)}button.warning[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-30)}button.warning[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-yellow-50)}button.danger[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-30)}button.danger[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-red-50)}button.info[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light)}button.info[_ngcontent-%COMP%]:hover{background-color:var(--kirby-semi-light-shade)}button.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium)}button.medium[_ngcontent-%COMP%]:hover{background-color:var(--kirby-medium-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary)}button.tertiary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-tertiary-shade)}button.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark)}button.dark[_ngcontent-%COMP%]:hover{background-color:var(--kirby-dark-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}","kirby-card[_ngcontent-%COMP%]{--kirby-card-padding-top: 0px}"]})}return y})()},25777:(ft,Z,l)=>{"use strict";l.d(Z,{y:()=>s});var n=l(98990),i=l(35043),f=l(54438);const g_codeSnippet="\n \n\n A flagged card\n

This is a card that uses a kirby-card-header with the flagged input set.

\n

Possible values for the flagged header are:
'success' | 'warning' | 'danger' | 'info'

\n

Use the buttons below to see the different options \u{1f447}

\n\n
",g_template='\n \n\n A flagged card\n

This is a card that uses a kirby-card-header with the flagged input set.

\n

Possible values for the flagged header are:
\'success\' | \'warning\' | \'danger\' | \'info\'

\n

Use the buttons below to see the different options \u{1f447}

\n\n
\n\n
\n \n \n \n \n
';let s=(()=>{class x{constructor(){this.template=g_template,this.codeSnippet=g_codeSnippet,this.flagLevel="success"}setFlagLevel(y){this.flagLevel=y}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-card-example-flag"]],decls:28,vars:2,consts:[["hasPadding","true"],[3,"title","flagged"],[1,"card-option-button-group"],[1,"success",3,"click"],["name","flag"],[1,"warning",3,"click"],[1,"danger",3,"click"],[1,"info",3,"click"]],template:function(w,M){1&w&&(f.j41(0,"kirby-card",0),f.nrm(1,"kirby-card-header",1),f.j41(2,"strong"),f.EFF(3,"A flagged card"),f.k0s(),f.j41(4,"p"),f.EFF(5,"This is a card that uses a "),f.j41(6,"em"),f.EFF(7,"kirby-card-header"),f.k0s(),f.EFF(8," with the "),f.j41(9,"code"),f.EFF(10,"flagged"),f.k0s(),f.EFF(11," input set."),f.k0s(),f.j41(12,"p"),f.EFF(13,"Possible values for the flagged header are: "),f.nrm(14,"br"),f.j41(15,"code"),f.EFF(16,"'success' | 'warning' | 'danger' | 'info'"),f.k0s()(),f.j41(17,"p"),f.EFF(18,"Use the buttons below to see the different options \u{1f447}"),f.k0s()(),f.j41(19,"div",2)(20,"button",3),f.bIt("click",function(){return M.setFlagLevel("success")}),f.nrm(21,"kirby-icon",4),f.k0s(),f.j41(22,"button",5),f.bIt("click",function(){return M.setFlagLevel("warning")}),f.nrm(23,"kirby-icon",4),f.k0s(),f.j41(24,"button",6),f.bIt("click",function(){return M.setFlagLevel("danger")}),f.nrm(25,"kirby-icon",4),f.k0s(),f.j41(26,"button",7),f.bIt("click",function(){return M.setFlagLevel("info")}),f.nrm(27,"kirby-icon",4),f.k0s()()),2&w&&(f.R7$(),f.Y8G("title","Flagged card header")("flagged",M.flagLevel))},dependencies:[n.Dw,n.ib,n.lM,i.op,i.Rl],styles:["[_nghost-%COMP%]{display:grid;place-content:center}kirby-card[_ngcontent-%COMP%]{max-width:500px}kirby-flag[_ngcontent-%COMP%]{float:inline-end}.card-option-button-group[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}.kirby-color-brightness-dark[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}p[_ngcontent-%COMP%]:last-child{margin-bottom:0}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:var(--kirby-black);cursor:pointer}button.success[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-30)}button.success[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-green-50)}button.warning[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-30)}button.warning[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-yellow-50)}button.danger[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-30)}button.danger[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-red-50)}button.info[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light)}button.info[_ngcontent-%COMP%]:hover{background-color:var(--kirby-semi-light-shade)}button.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium)}button.medium[_ngcontent-%COMP%]:hover{background-color:var(--kirby-medium-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary)}button.tertiary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-tertiary-shade)}button.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark)}button.dark[_ngcontent-%COMP%]:hover{background-color:var(--kirby-dark-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}"]})}return x})()},31270:(ft,Z,l)=>{"use strict";l.d(Z,{n:()=>g});var n=l(98990),i=l(54438);const f_template='\n
\n \n Elevated (default)\n

The card is slightly elevated from the background with a drop shadow.

\n
\n \n Flat\n

Has no shadow and appears lower in the visual hierarchy.

\n
\n \n Outlined card\n

Has a border and no background. Appear lowest in the visual hierarchy.

\n
\n
\n ';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-card-example-variant"]],decls:16,vars:1,consts:[[1,"variant-card-container"],["hasPadding","true"],["hasPadding","true","variant","flat"],["variant","outlined",3,"hasPadding"]],template:function(y,w){1&y&&(i.j41(0,"div",0)(1,"kirby-card",1)(2,"strong"),i.EFF(3,"Elevated (default)"),i.k0s(),i.j41(4,"p"),i.EFF(5,"The card is slightly elevated from the background with a drop shadow."),i.k0s()(),i.j41(6,"kirby-card",2)(7,"strong"),i.EFF(8,"Flat"),i.k0s(),i.j41(9,"p"),i.EFF(10,"Has no shadow and appears lower in the visual hierarchy."),i.k0s()(),i.j41(11,"kirby-card",3)(12,"strong"),i.EFF(13,"Outlined card"),i.k0s(),i.j41(14,"p"),i.EFF(15,"Has a border and no background. Appear lowest in the visual hierarchy."),i.k0s()()()),2&y&&(i.R7$(11),i.Y8G("hasPadding",!0))},dependencies:[n.Dw,n.ib],styles:["[_nghost-%COMP%]{display:grid;place-content:center}kirby-card[_ngcontent-%COMP%]{max-width:500px}kirby-flag[_ngcontent-%COMP%]{float:inline-end}.card-option-button-group[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}.kirby-color-brightness-dark[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}p[_ngcontent-%COMP%]:last-child{margin-bottom:0}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:var(--kirby-black);cursor:pointer}button.success[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-30)}button.success[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-green-50)}button.warning[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-30)}button.warning[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-yellow-50)}button.danger[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-30)}button.danger[_ngcontent-%COMP%]:hover{background-color:var(--kirby-decoration-color-red-50)}button.info[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light)}button.info[_ngcontent-%COMP%]:hover{background-color:var(--kirby-semi-light-shade)}button.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium)}button.medium[_ngcontent-%COMP%]:hover{background-color:var(--kirby-medium-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary)}button.tertiary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-tertiary-shade)}button.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark)}button.dark[_ngcontent-%COMP%]:hover{background-color:var(--kirby-dark-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}[_nghost-%COMP%]{container-type:inline-size;display:block}.variant-card-container[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}.variant-card-container[_ngcontent-%COMP%] kirby-card[_ngcontent-%COMP%]{max-width:50%;min-width:250px;flex:1}@container (width < 516px){.variant-card-container[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.variant-card-container[_ngcontent-%COMP%] kirby-card[_ngcontent-%COMP%]{max-width:initial}}"]})}return s})()},17555:(ft,Z,l)=>{"use strict";l.d(Z,{X:()=>s});var n=l(91022),i=l(54438);const f=()=>["1950","1951","1952","1953","1954","1955","1956","1957","1958","1959","1960"],g_template="\n \n ",g_codeSnippet="\n data = [\n {\n data: [7, 7.37, 7.46, 7.64, 7.78, 8.44, 8.92, 9.18, 9.41, 9.85, 10.33],\n },\n {\n data: [6, 6.37, 6.46, 6.64, 6.78, 7.44, 7.92, 8.18, 8.41, 8.85, 9.33],\n fill: '-1',\n },\n ];\n\n _customOptions = {\n scales: {\n x: {\n grid: {\n display: true,\n },\n },\n },\n };\n ";let s=(()=>{class x{constructor(){this.template=g_template,this.codeSnippet=g_codeSnippet,this._customOptions={scales:{x:{grid:{display:!0}}}},this.data=[{data:[7,7.37,7.46,7.64,7.78,8.44,8.92,9.18,9.41,9.85,10.33]},{data:[6,6.37,6.46,6.64,6.78,7.44,7.92,8.18,8.41,8.85,9.33],fill:"-1"}]}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-chart-example-area-line"]],decls:1,vars:4,consts:[["type","line",3,"data","labels","customOptions"]],template:function(w,M){1&w&&i.nrm(0,"kirby-chart",0),2&w&&i.Y8G("data",M.data)("labels",i.lJ4(3,f))("customOptions",M._customOptions)},dependencies:[n.mM,n.Qe],encapsulation:2})}return x})()},31172:(ft,Z,l)=>{"use strict";l.d(Z,{h:()=>x});var n=l(91022),i=l(54438);const f=()=>[7,12,5,9,3],g=()=>["2021","2020","2019","2018","2017"],s_template="";let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=i.VBU({type:_,selectors:[["cookbook-chart-example-bar"]],decls:1,vars:4,consts:[["type","bar",3,"data","labels"]],template:function(M,I){1&M&&i.nrm(0,"kirby-chart",0),2&M&&i.Y8G("data",i.lJ4(2,f))("labels",i.lJ4(3,g))},dependencies:[n.mM,n.Qe],encapsulation:2})}return _})()},9868:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>g});var n=l(91022),i=l(54438);const f_template='',f_codeSnippet="data=[7, 12, 5, 9, 3, 11, 6, 2, 1, 10, 4, 12];\n\nlabels=['Jan', 'Feb', 'Mar', 'Apr', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n ";let g=(()=>{class s{constructor(){this.template=f_template,this.codeSnippet=f_codeSnippet,this.data=[7,12,5,9,3,11,6,2,1,10,4,12],this.labels=["Jan","Feb","Mar","Apr","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-chart-example-column"]],decls:1,vars:2,consts:[["type","column",3,"data","labels"]],template:function(y,w){1&y&&i.nrm(0,"kirby-chart",0),2&y&&i.Y8G("data",w.data)("labels",w.labels)},dependencies:[n.mM,n.Qe],encapsulation:2})}return s})()},3717:(ft,Z,l)=>{"use strict";l.d(Z,{J:()=>x});var n=l(44354),i=l(91022),f=l(54438);const g=()=>["Monday","Tuesday","Wednesday","Thursday","Friday"],s_template="",s_codeSnippet="\n import { ColorHelper } from '@kirbydesign/designsystem/helpers';\n\n const { getThemeColorHexString } = ColorHelper; \n\n _datasets = [\n {\n data: [0.8, 2, 3, 3.5, 0.5],\n },\n {\n data: [0.6, 2, 1, 2.1, 0.2],\n backgroundColor: getThemeColorHexString('primary'),\n },\n ];\n\n _customOptions: ChartOptions = {\n scales: {\n y: {\n stacked: true,\n },\n x: {\n stacked: true,\n },\n },\n };";let x=(()=>{class _{constructor(){this.template=s_template,this.codeSnippet=s_codeSnippet,this._datasets=[{data:[.8,2,3,3.5,.5]},{data:[.6,2,1,2.1,.2],backgroundColor:n.A.getThemeColorHexString("primary")}],this._customOptions={scales:{y:{stacked:!0},x:{stacked:!0}}}}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-chart-example-column-stacked"]],decls:1,vars:4,consts:[["type","column",3,"data","labels","customOptions"]],template:function(M,I){1&M&&f.nrm(0,"kirby-chart",0),2&M&&f.Y8G("data",I._datasets)("labels",f.lJ4(3,g))("customOptions",I._customOptions)},dependencies:[i.mM,i.Qe],encapsulation:2})}return _})()},90329:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>x});var n=l(91022),i=l(54438);const f=()=>[6,6.37,6.46,6.64,6.78,7.44,7.92,8.18,8.41,8.85,9.33],g=()=>["1950","1951","1952","1953","1954","1955","1956","1957","1958","1959","1960"],s_template='\n ';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=i.VBU({type:_,selectors:[["cookbook-chart-example-line"]],decls:1,vars:4,consts:[["type","line",3,"data","labels"]],template:function(M,I){1&M&&i.nrm(0,"kirby-chart",0),2&M&&i.Y8G("data",i.lJ4(2,f))("labels",i.lJ4(3,g))},dependencies:[n.mM,n.Qe],encapsulation:2})}return _})()},33847:(ft,Z,l)=>{"use strict";l.d(Z,{P:()=>y});var n=l(44354),i=l(91022),f=l(54438);const g=()=>["Wednes-","day"],s=w=>["Monday","Tuesday",w,"Thursday","Friday"],{getThemeColorHexString:x}=n.A,__template="\n",__codeSnippet="import { ColorHelper } from '@kirbydesign/designsystem/helpers';\n\nconst { getThemeColorHexString } = ColorHelper;\n\n_datasets = [\n {\n type: 'line',\n data: [45, 65, 105, 37, 70],\n },\n {\n data: [30, 50, 89.5, 22, 48],\n },\n {\n data: [60, 32, 38, 44, 12],\n backgroundColor: getThemeColorHexString('primary'),\n },\n];\n";let y=(()=>{class w{constructor(){this.template=__template,this.codeSnippet=__codeSnippet,this._datasets=[{data:[30,50,89.5,22,48]},{data:[60,32,38,44,12],backgroundColor:x("primary")},{type:"line",data:[45,65,105,37,70]}]}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=f.VBU({type:w,selectors:[["cookbook-chart-example-multiple-datasets"]],decls:1,vars:5,consts:[["type","column",3,"data","labels"]],template:function(R,H){1&R&&f.nrm(0,"kirby-chart",0),2&R&&f.Y8G("data",H._datasets)("labels",f.eq3(3,s,f.lJ4(2,g)))},dependencies:[i.mM,i.Qe],encapsulation:2})}return w})()},12983:(ft,Z,l)=>{"use strict";l.d(Z,{e:()=>s});var n=l(91022),i=l(54438);const f=()=>[50,200,83,102];let s=(()=>{class x{constructor(){this.template=''}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-chart-example-simple-column"]],decls:1,vars:2,consts:[[3,"data"]],template:function(w,M){1&w&&i.nrm(0,"kirby-chart",0),2&w&&i.Y8G("data",i.lJ4(1,f))},dependencies:[n.mM,n.Qe],encapsulation:2})}return x})()},1511:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>n});let n=(()=>{class i{static#e=this.demoData=[{x:1637049659e3,y:127.15},{x:1637049662e3,y:127.15},{x:163704976e4,y:127.08},{x:1637049926e3,y:127.08},{x:163705049e4,y:126.93},{x:1637050637e3,y:127.25},{x:1637050736e3,y:127.08},{x:1637050797e3,y:127.03},{x:1637050923e3,y:127.03},{x:163705116e4,y:127.08}];static#t=this.barDemoData=[{x:1,y:50},{x:2,y:200},{x:3,y:83},{x:4,y:102}];static get barDemoDataString(){return this.demoDataToString(i.barDemoData)}static get demoDataString(){return this.demoDataToString(i.demoData)}static#n=this.demoDataToString=g=>{let s="";return g.forEach(x=>{s+=` { x: ${x.x}, y: ${x.y} },\n`}),`demoData: ScatterDataPoint[] = [ \n${s}]`}}return i})()},7177:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>x});var n=l(91022),i=l(33510),f=l(1511),g=l(54438);const s_template='
\n \x3c!-- Your accessible content here --\x3e \n
',s_codeSnippet="\n private _chart: Chart;\n\n public ngAfterViewInit(): void {\n StockChartConfig.registerPlugins();\n this.createChart();\n }\n\n public ngOnDestroy(): void {\n this._chart.destroy();\n }\n\n private createChart() {\n let config = StockChartConfig.baseConfig;\n\n config = {\n ...config,\n data: {\n datasets: [\n {\n data: this.demoData.map((demoDataEntry) => demoDataEntry),\n },\n ],\n labels: this.demoData.map((demoDataEntry) => demoDataEntry.x),\n },\n };\n this._chart = new Chart(this.canvasId, config);\n }";let x=(()=>{class _{constructor(){this.template=s_template,this.codeSnippet=s_codeSnippet,this.canvasId="configStockBaseCanvas"+1e3*Math.random(),this.demoData=f.B.demoData}ngAfterViewInit(){n.TL.registerPlugins(),this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let w=n.TL.baseConfig;w={...w,data:{datasets:[{data:this.demoData.map(M=>M)}],labels:this.demoData.map(M=>M.x)}},this._chart=new i.t1(this.canvasId,w)}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-chart-example-config-base-stock"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(M,I){1&M&&(g.j41(0,"div",0),g.nrm(1,"canvas",1),g.k0s()),2&M&&(g.R7$(),g.FS9("id",I.canvasId))},encapsulation:2})}return _})()},73414:(ft,Z,l)=>{"use strict";l.d(Z,{n:()=>g});var n=l(11235),i=l(54438);let g=(()=>{class s{constructor(){this.template=''}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-checkbox-confirm-example"]],decls:1,vars:1,consts:[["attentionLevel","1","text","Confirm terms",3,"checked"]],template:function(y,w){1&y&&i.nrm(0,"kirby-checkbox",0),2&y&&i.Y8G("checked",!0)},dependencies:[n.P],encapsulation:2})}return s})()},44247:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>g});var n=l(11235),i=l(54438);const f_template='\n\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-checkbox-default-example"]],decls:3,vars:3,consts:[["text","Checkbox 1",3,"checked"],["text","Checkbox 2",3,"checked"],["text","Checkbox 3",3,"checked"]],template:function(y,w){1&y&&i.nrm(0,"kirby-checkbox",0)(1,"kirby-checkbox",1)(2,"kirby-checkbox",2),2&y&&(i.Y8G("checked",!0),i.R7$(),i.Y8G("checked",!1),i.R7$(),i.Y8G("checked",!1))},dependencies:[n.P],encapsulation:2})}return s})()},76949:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>s});var n=l(11235),i=l(54438),f=l(57017);const g_template='\n',g_codeSnippet="onCheckedChange(checked: boolean) {\n ...\n}";let s=(()=>{class x{constructor(y){this.toastController=y,this.template=g_template,this.codeSnippet=g_codeSnippet}onCheckedChange(y){this.toastController.showToast({message:`Checkbox changed - checked: ${y}`,messageType:y?"success":"warning",durationInMs:1500})}static#e=this.\u0275fac=function(w){return new(w||x)(i.rXU(f.K))};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-checkbox-events-example"]],decls:1,vars:0,consts:[["text","Toggle to see 'checkedChange' event in action",3,"checkedChange"]],template:function(w,M){1&w&&(i.j41(0,"kirby-checkbox",0),i.bIt("checkedChange",function(R){return M.onCheckedChange(R)}),i.k0s())},dependencies:[n.P],encapsulation:2})}return x})()},47640:(ft,Z,l)=>{"use strict";l.d(Z,{j:()=>_});var n=l(29756),i=l(81365),f=l(11235),g=l(54438);function s(y,w){if(1&y&&(g.j41(0,"kirby-item"),g.nrm(1,"kirby-checkbox",2),g.j41(2,"kirby-label"),g.EFF(3),g.k0s()()),2&y){const M=w.$implicit;g.R7$(),g.Y8G("checked",M.checked),g.R7$(2),g.JRh(M.label)}}const x_template='\n \n \n {{ item.label }}\n \n',x_codeSnippet="checkboxItems = [\n { label: 'Checkbox 1', checked: true },\n { label: 'Checkbox 2', checked: false },\n { label: 'Checkbox 3', checked: false },\n];";let _=(()=>{class y{constructor(){this.template=x_template,this.codeSnippet=x_codeSnippet,this.checkboxItems=[{label:"Checkbox 1",checked:!0},{label:"Checkbox 2",checked:!1},{label:"Checkbox 3",checked:!1}]}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=g.VBU({type:y,selectors:[["cookbook-checkbox-list-example"]],decls:2,vars:2,consts:[[3,"items","showDivider"],[4,"kirbyListItemTemplate"],["slot","start",3,"checked"]],template:function(I,R){1&I&&(g.j41(0,"kirby-list",0),g.DNE(1,s,4,2,"kirby-item",1),g.k0s()),2&I&&g.Y8G("items",R.checkboxItems)("showDivider",!0)},dependencies:[n.HV,n.sB,n.bx,i.kA,i.JA,i.UF,f.P],encapsulation:2})}return y})()},32881:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>g});var n=l(11235),i=l(54438);const f_template='\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-checkbox-multiline-example"]],decls:1,vars:0,consts:[["text","Lorem ipsum dolor sit amet, consectetur adipiscing elit,\n sed do eiusmod tempor incididunt ut labore et dolore \n magna aliqua."]],template:function(y,w){1&y&&i.nrm(0,"kirby-checkbox",0)},dependencies:[n.P],encapsulation:2})}return s})()},82740:(ft,Z,l)=>{"use strict";l.d(Z,{D:()=>s});var n=l(11235),i=l(32667),f=l(54438);const g_template='\n\n\n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-checkbox-sizes-example"]],decls:4,vars:1,consts:[["size","xs","text","Extra Small"],[3,"hasMargin"],["size","sm","text","Small"],["size","md","text","Medium (default)"]],template:function(w,M){1&w&&f.nrm(0,"kirby-checkbox",0)(1,"kirby-divider",1)(2,"kirby-checkbox",2)(3,"kirby-checkbox",3),2&w&&(f.R7$(),f.Y8G("hasMargin",!0))},dependencies:[n.P,i.h],styles:['kirby-checkbox[_ngcontent-%COMP%], kirby-radio[_ngcontent-%COMP%]{margin-bottom:8px;background-color:var(--kirby-semi-light);position:relative}kirby-checkbox[_ngcontent-%COMP%]:before, kirby-checkbox[_ngcontent-%COMP%]:after, kirby-radio[_ngcontent-%COMP%]:before, kirby-radio[_ngcontent-%COMP%]:after{height:100%;border:1px solid var(--kirby-danger);position:absolute;right:0}kirby-checkbox[_ngcontent-%COMP%]:before, kirby-radio[_ngcontent-%COMP%]:before{content:"";border-left:0;border-right:0;width:9px}kirby-checkbox[_ngcontent-%COMP%]:after, kirby-radio[_ngcontent-%COMP%]:after{content:"md: 56px";border-left:0;border-top:0;border-bottom:0;line-height:56px;font-size:12px;color:var(--kirby-danger);padding-right:8px;margin-right:4px;vertical-align:center}kirby-radio.xs[_ngcontent-%COMP%]:after{content:"xs: 32px";line-height:32px}kirby-radio.sm[_ngcontent-%COMP%]:after{content:"sm: 44px";line-height:44px}kirby-radio.md[_ngcontent-%COMP%]:after{content:"md: 56px";line-height:56px}kirby-checkbox.xs[_ngcontent-%COMP%]:after{content:"xs: 24px";line-height:24px}kirby-checkbox.sm[_ngcontent-%COMP%]:after{content:"sm: 44px";line-height:44px}kirby-checkbox.md[_ngcontent-%COMP%]:after{content:"md: 56px";line-height:56px}kirby-checkbox[_ngcontent-%COMP%] ion-checkbox, kirby-radio[_ngcontent-%COMP%] ion-radio{background-color:#f7e0f0;margin-right:80px}']})}return x})()},21078:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>g});var n=l(11235),i=l(54438);const f_template='\n\n\n\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-checkbox-states-example"]],decls:5,vars:2,consts:[["text","Default"],["text","Checked",3,"checked"],["disabled","true","text","Disabled"],["disabled","true","text","Disabled checked",3,"checked"],["hasError","true","text","Has error"]],template:function(y,w){1&y&&i.nrm(0,"kirby-checkbox",0)(1,"kirby-checkbox",1)(2,"kirby-checkbox",2)(3,"kirby-checkbox",3)(4,"kirby-checkbox",4),2&y&&(i.R7$(),i.Y8G("checked",!0),i.R7$(2),i.Y8G("checked",!0))},dependencies:[n.P],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:wrap}"]})}return s})()},33515:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>i,h:()=>n});const n=[{title:"Name",sortable:!0,sortDirection:"asc",textAlignment:"start",iconAlignment:"end",active:!1},{title:"Eyes"},{title:"Gender"},{title:"Hair"},{title:"Skin"},{title:"Birth year"},{title:"Height (cm)",sortable:!0,sortDirection:"asc",textAlignment:"end",iconAlignment:"start",active:!1},{title:"Weight (kg)",sortable:!0,sortDirection:"desc",textAlignment:"end",iconAlignment:"start",active:!1}],i=[{name:"Luke Skywalker",height:172,mass:77,hair_color:"blond",skin_color:"fair",eye_color:"blue",birth_year:"19BBY",gender:"male"},{name:"C-3PO",height:167,mass:75,hair_color:"n/a",skin_color:"gold",eye_color:"yellow",birth_year:"112BBY",gender:"n/a"},{name:"R2-D2",height:96,mass:32,hair_color:"n/a",skin_color:"white, blue",eye_color:"red",birth_year:"33BBY",gender:"n/a"},{name:"Darth Vader",height:202,mass:136,hair_color:"none",skin_color:"white",eye_color:"yellow",birth_year:"41.9BBY",gender:"male"},{name:"Leia Organa",height:150,mass:49,hair_color:"brown",skin_color:"light",eye_color:"brown",birth_year:"19BBY",gender:"female"},{name:"Obi-Wan Kenobi",height:182,mass:77,hair_color:"auburn, white",skin_color:"fair",eye_color:"blue-gray",birth_year:"57BBY",gender:"male"}]},86118:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>y});var n=l(98990),i=l(60177),f=l(33515),g=l(54438),s=l(57017);function x(w,M){if(1&w){const I=g.RV6();g.j41(0,"tr",3),g.bIt("click",function(){const H=g.eBV(I).index,K=g.XpG();return g.Njj(K.onClickRow(H))}),g.j41(1,"td"),g.EFF(2),g.k0s(),g.j41(3,"td"),g.EFF(4),g.k0s(),g.j41(5,"td"),g.EFF(6),g.k0s(),g.j41(7,"td"),g.EFF(8),g.k0s(),g.j41(9,"td"),g.EFF(10),g.k0s(),g.j41(11,"td"),g.EFF(12),g.k0s(),g.j41(13,"td",1),g.EFF(14),g.k0s(),g.j41(15,"td",1),g.EFF(16),g.k0s()()}if(2&w){const I=M.$implicit;g.R7$(2),g.JRh(I.name),g.R7$(2),g.JRh(I.eye_color),g.R7$(2),g.JRh(I.gender),g.R7$(2),g.JRh(I.hair_color),g.R7$(2),g.JRh(I.skin_color),g.R7$(2),g.JRh(I.birth_year),g.R7$(2),g.JRh(I.height),g.R7$(2),g.JRh(I.mass)}}const __template='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NameEyesGenderHairSkinBirth yearHeight (cm)Weight (kg)
{{rowData.name}}{{rowData.eye_color}}{{rowData.gender}}{{rowData.hair_color}}{{rowData.skin_color}}{{rowData.birth_year}}{{rowData.height}}{{rowData.mass}}
\n
';let y=(()=>{class w{constructor(I){this.toastController=I,this.tableData=[...f.$],this.template=__template}onClickRow(I){this.toastController.showToast({message:`You pressed row with index: ${I}`,messageType:"success",durationInMs:2e3})}static#e=this.\u0275fac=function(R){return new(R||w)(g.rXU(s.K))};static#t=this.\u0275cmp=g.VBU({type:w,selectors:[["cookbook-data-table-card-example"]],decls:22,vars:1,consts:[[1,"kirby-table"],[2,"text-align","right"],["class","kirby-selectable-row",3,"click",4,"ngFor","ngForOf"],[1,"kirby-selectable-row",3,"click"]],template:function(R,H){1&R&&(g.j41(0,"kirby-card")(1,"table",0)(2,"thead")(3,"tr")(4,"th"),g.EFF(5,"Name"),g.k0s(),g.j41(6,"th"),g.EFF(7,"Eyes"),g.k0s(),g.j41(8,"th"),g.EFF(9,"Gender"),g.k0s(),g.j41(10,"th"),g.EFF(11,"Hair"),g.k0s(),g.j41(12,"th"),g.EFF(13,"Skin"),g.k0s(),g.j41(14,"th"),g.EFF(15,"Birth year"),g.k0s(),g.j41(16,"th",1),g.EFF(17,"Height (cm)"),g.k0s(),g.j41(18,"th",1),g.EFF(19,"Weight (kg)"),g.k0s()()(),g.j41(20,"tbody"),g.DNE(21,x,17,8,"tr",2),g.k0s()()()),2&R&&(g.R7$(21),g.Y8G("ngForOf",H.tableData))},dependencies:[n.Dw,n.ib,i.pM],encapsulation:2})}return w})()},26695:(ft,Z,l)=>{"use strict";l.d(Z,{h:()=>_});var n=l(60177),i=l(33515),f=l(86413),g=l(54438);function s(y,w){if(1&y&&(g.j41(0,"tr")(1,"td"),g.EFF(2),g.k0s(),g.j41(3,"td",1),g.EFF(4),g.k0s(),g.j41(5,"td",1),g.EFF(6),g.k0s()()),2&y){const M=w.$implicit;g.R7$(2),g.JRh(M.name),g.R7$(2),g.JRh(M.height),g.R7$(2),g.JRh(M.mass)}}const x_template='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NameHeight (cm)Weight (kg)
{{rowData.name}}{{rowData.height}}{{rowData.mass}}
';let _=(()=>{class y{constructor(){this.template=x_template,this.tableData=i.$.slice(0,3),this.dataSnippet=`tableData = ${(0,f.i)(this.tableData.map(M=>{const{name:I,height:R,mass:H}=M;return{name:I,height:R,mass:H}}))};`}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=g.VBU({type:y,selectors:[["cookbook-data-table-default-example"]],decls:11,vars:1,consts:[[1,"kirby-table","layout-fixed"],[2,"text-align","right"],[4,"ngFor","ngForOf"]],template:function(I,R){1&I&&(g.j41(0,"table",0)(1,"thead")(2,"tr")(3,"th"),g.EFF(4,"Name"),g.k0s(),g.j41(5,"th",1),g.EFF(6,"Height (cm)"),g.k0s(),g.j41(7,"th",1),g.EFF(8,"Weight (kg)"),g.k0s()()(),g.j41(9,"tbody"),g.DNE(10,s,7,3,"tr",2),g.k0s()()),2&I&&(g.R7$(10),g.Y8G("ngForOf",R.tableData))},dependencies:[n.pM],encapsulation:2})}return y})()},92088:(ft,Z,l)=>{"use strict";l.d(Z,{i:()=>w});var n=l(98990),i=l(60177),f=l(11723),g=l(33515),s=l(54438);function x(M,I){if(1&M){const R=s.RV6();s.j41(0,"th",3),s.bIt("click",function(){const K=s.eBV(R),L=K.$implicit,he=K.index,pe=s.XpG();return s.Njj(pe.sortData(he,L.title))}),s.EFF(1),s.k0s()}if(2&M){const R=I.$implicit;s.Y8G("sortable",R.sortable)("sortDirection",R.sortDirection)("iconAlignment",R.iconAlignment)("alignment",R.textAlignment)("active",R.active),s.R7$(),s.SpI(" ",R.title," ")}}function _(M,I){if(1&M&&(s.j41(0,"tr")(1,"td"),s.EFF(2),s.k0s(),s.j41(3,"td"),s.EFF(4),s.k0s(),s.j41(5,"td"),s.EFF(6),s.k0s(),s.j41(7,"td"),s.EFF(8),s.k0s(),s.j41(9,"td"),s.EFF(10),s.k0s(),s.j41(11,"td"),s.EFF(12),s.k0s(),s.j41(13,"td",4),s.EFF(14),s.k0s(),s.j41(15,"td",4),s.EFF(16),s.k0s()()),2&M){const R=I.$implicit;s.R7$(2),s.JRh(R.name),s.R7$(2),s.JRh(R.eye_color),s.R7$(2),s.JRh(R.gender),s.R7$(2),s.JRh(R.hair_color),s.R7$(2),s.JRh(R.skin_color),s.R7$(2),s.JRh(R.birth_year),s.R7$(2),s.JRh(R.height),s.R7$(2),s.JRh(R.mass)}}const y_template='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {{heading.title}}\n
{{rowData.name}}{{rowData.eye_color}}{{rowData.gender}}{{rowData.hair_color}}{{rowData.skin_color}}{{rowData.birth_year}}{{rowData.height}}{{rowData.mass}}
\n
',y_importSnippet="import { TableSortableComponent } from '@kirbydesign/designsystem/data-table';\n\n@Component({\n selector: 'my-component'\n standalone: true\n imports: [TableSortableComponent],\n})\nexport class MyComponent {}\n\n// OR\n\n@NgModule({\n imports: [TableSortableComponent],\n})\nexport class MyModule {}",y_sortingSnippet="headings = [\n { title: 'Name', sortable: true, sortDirection: 'asc', active: true },\n { title: 'Eyes' },\n ...\n]";let w=(()=>{class M{constructor(){this.tableData=g.$,this.headings=g.h,this.template=y_template,this.importSnippet=y_importSnippet,this.sortingSnippet=y_sortingSnippet}ngOnInit(){this.headings[0].sortDirection="desc",this.sortData(0,"Name")}sortData(R,H){this.headings[R].active=this._activeHelper(R),this.headings[R].sortDirection="asc"==this.headings[R].sortDirection?"desc":"asc",this.tableData.sort((K,L)=>{switch(H){case"Name":return this._sortHelper(K.name,L.name,this.headings[R].sortDirection);case"Height (cm)":return this._sortHelper(K.height,L.height,this.headings[R].sortDirection);case"Weight (kg)":return this._sortHelper(K.mass,L.mass,this.headings[R].sortDirection)}})}_sortHelper(R,H,K){return"asc"==K?R>H?1:RH?-1:0}_activeHelper(R){return this.headings[R].active||this.headings.forEach(H=>{H.active=!1}),!0}static#e=this.\u0275fac=function(H){return new(H||M)};static#t=this.\u0275cmp=s.VBU({type:M,selectors:[["cookbook-data-table-sortable-example"]],decls:7,vars:2,consts:[[1,"kirby-table"],[3,"sortable","sortDirection","iconAlignment","alignment","active","click",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[3,"click","sortable","sortDirection","iconAlignment","alignment","active"],[1,"text-align-right"]],template:function(H,K){1&H&&(s.j41(0,"kirby-card")(1,"table",0)(2,"thead")(3,"tr"),s.DNE(4,x,2,6,"th",1),s.k0s()(),s.j41(5,"tbody"),s.DNE(6,_,17,8,"tr",2),s.k0s()()()),2&H&&(s.R7$(4),s.Y8G("ngForOf",K.headings),s.R7$(2),s.Y8G("ngForOf",K.tableData))},dependencies:[n.Dw,n.ib,i.pM,f.K],encapsulation:2})}return M})()},85860:(ft,Z,l)=>{"use strict";l.d(Z,{t:()=>i});var n=l(54438);let i=(()=>{class f{constructor(){this.sizeChanged=new n.bkB}static#e=this.\u0275fac=function(x){return new(x||f)};static#t=this.\u0275cmp=n.VBU({type:f,selectors:[["cookbook-dropdown-example-configuration"]],inputs:{size:"size"},outputs:{sizeChanged:"sizeChanged"},decls:19,vars:2,consts:[["type","radio","name","size","value","sm",3,"change","checked"],["type","radio","name","size","value","md",3,"change","checked"]],template:function(x,_){1&x&&(n.j41(0,"fieldset")(1,"legend"),n.EFF(2,"Dropdown size for examples below"),n.k0s(),n.j41(3,"p")(4,"strong"),n.EFF(5,"Size:"),n.k0s(),n.nrm(6,"br"),n.j41(7,"label")(8,"input",0),n.bIt("change",function(w){return _.sizeChanged.emit(w.target.value)}),n.k0s(),n.EFF(9," Small ( "),n.j41(10,"code"),n.EFF(11,"sm"),n.k0s(),n.EFF(12," ) "),n.k0s(),n.j41(13,"label")(14,"input",1),n.bIt("change",function(w){return _.sizeChanged.emit(w.target.value)}),n.k0s(),n.EFF(15," Medium ( "),n.j41(16,"code"),n.EFF(17,"md"),n.k0s(),n.EFF(18," ) - default "),n.k0s()()()),2&x&&(n.R7$(8),n.Y8G("checked","sm"===_.size),n.R7$(6),n.Y8G("checked","md"===_.size))},styles:["fieldset[_ngcontent-%COMP%]{display:inline-block}"]})}return f})()},93615:(ft,Z,l)=>{"use strict";l.d(Z,{R:()=>w});var n=l(98990),i=l(41727),f=l(60177),g=l(84341),s=l(54438),x=l(13339);function _(M,I){if(1&M&&(s.j41(0,"option",7),s.EFF(1),s.k0s()),2&M){const R=I.$implicit,H=s.XpG();s.FS9("value",R),s.BMQ("selected",H.themeColor===R||null),s.R7$(),s.SpI(" Card color: ",R," ")}}const y_template=' \n \n \n\n \n \n\n \n \n\n\n
\n\n
\n\n

\n Please note, these examples have usePopover enabled to not be cut off by the card.\n \n

\n';let w=(()=>{class M{constructor(){this.template=y_template,this.items=["Item 1","Item 2","Item 3","Item 4","Item 5"],this.themeColors=["light","white","dark"],this.themeColor="white"}onChange(R){this.themeColor=R}static#e=this.\u0275fac=function(H){return new(H||M)};static#t=this.\u0275cmp=s.VBU({type:M,selectors:[["cookbook-dropdown-example-attention-level"]],inputs:{size:"size"},decls:15,vars:8,consts:[["hasPadding","true",1,"attention-levels",3,"themeColor"],["placeholder","Dropdown with attention level 1","attentionLevel","1","expand","block","usePopover","true",3,"size","items"],["placeholder","Dropdown with attention level 2","attentionLevel","2","expand","block","usePopover","true",3,"size","items"],["placeholder","Dropdown with attention level 3","attentionLevel","3","expand","block","usePopover","true",3,"size","items"],[3,"change"],[3,"value",4,"ngFor","ngForOf"],[1,"comment","small"],[3,"value"]],template:function(H,K){1&H&&(s.j41(0,"kirby-card",0),s.nrm(1,"kirby-dropdown",1)(2,"kirby-dropdown",2)(3,"kirby-dropdown",3),s.k0s(),s.j41(4,"div")(5,"select",4),s.bIt("change",function(he){return K.onChange(he.target.value)}),s.DNE(6,_,2,3,"option",5),s.k0s()(),s.j41(7,"p",6)(8,"em")(9,"strong"),s.EFF(10,"Please note"),s.k0s(),s.EFF(11,", these examples have "),s.j41(12,"code"),s.EFF(13,"usePopover"),s.k0s(),s.EFF(14," enabled to not be cut off by the card. "),s.k0s()()),2&H&&(s.Y8G("themeColor",K.themeColor),s.R7$(),s.Y8G("size",K.size)("items",K.items),s.R7$(),s.Y8G("size",K.size)("items",K.items),s.R7$(),s.Y8G("size",K.size)("items",K.items),s.R7$(3),s.Y8G("ngForOf",K.themeColors))},dependencies:[n.Dw,n.ib,x.Cd,i.kr,i.Ps,f.pM,g.YN,g.xH,g.y7],styles:["kirby-card[_ngcontent-%COMP%]{margin-block:24px}kirby-card.attention-levels[_ngcontent-%COMP%]{max-width:320px}kirby-card[_ngcontent-%COMP%] kirby-dropdown[_ngcontent-%COMP%] + kirby-dropdown[_ngcontent-%COMP%]{margin-top:16px}p[_ngcontent-%COMP%]{margin-top:16px}"]})}return M})()},74086:(ft,Z,l)=>{"use strict";l.d(Z,{X:()=>M});var n=l(41727),i=l(60177),f=l(35043),g=l(81365),s=l(54438),x=l(29756);function _(I,R){1&I&&s.nrm(0,"kirby-icon",9)}function y(I,R){if(1&I&&(s.j41(0,"kirby-item",4),s.DNE(1,_,1,0,"kirby-icon",5),s.j41(2,"kirby-label")(3,"p",6),s.EFF(4),s.k0s(),s.j41(5,"p",7),s.EFF(6),s.k0s()(),s.j41(7,"kirby-label",8)(8,"data"),s.EFF(9,"Value"),s.k0s(),s.j41(10,"data",7),s.EFF(11),s.k0s()()()),2&I){const H=R.$implicit,K=R.selected;s.AVh("focused",R.focused),s.Y8G("selected",K),s.R7$(),s.Y8G("ngIf",K),s.R7$(3),s.JRh(H.title),s.R7$(2),s.JRh(H.subtitle),s.R7$(5),s.JRh(H.value)}}const w_template='\n \n \n \n

{{ item.title }}

\n

{{ item.subtitle }}

\n
\n \n Value\n {{ item.value }}\n \n \n
\n

Selected item: {{ dropdown.value | json }}

';let M=(()=>{class I{constructor(){this.template=w_template,this.items=[{title:"Item 1",subtitle:"Bacon ipsum dolor",value:1},{title:"Item 2",subtitle:"Tenderloin short loin frankfurter",value:2},{title:"Item 3",subtitle:"Salami andouille hamburger",value:3},{title:"Item 4",subtitle:"Tongue bresaola tail swine",value:4},{title:"Item 5",subtitle:"Drumstick pastrami sirloin ",value:5}]}static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275cmp=s.VBU({type:I,selectors:[["cookbook-dropdown-example-custom-item-template"]],inputs:{size:"size"},decls:6,vars:5,consts:[["dropdown",""],["placeholder","Dropdown with custom item template","itemTextProperty","title",3,"size","items"],["selectable","true",3,"selected","focused",4,"kirbyListItemTemplate"],[1,"selection"],["selectable","true",3,"selected"],["name","checkmark-selected","slot","start",4,"ngIf"],[1,"kirby-item-title"],[1,"kirby-item-detail"],["slot","end"],["name","checkmark-selected","slot","start"]],template:function(K,L){if(1&K&&(s.j41(0,"kirby-dropdown",1,0),s.DNE(2,y,12,7,"kirby-item",2),s.k0s(),s.j41(3,"p",3),s.EFF(4),s.nI1(5,"json"),s.k0s()),2&K){const he=s.sdS(1);s.Y8G("size",L.size)("items",L.items),s.R7$(4),s.SpI("Selected item: ",s.bMT(5,3,he.value),"")}},dependencies:[n.kr,n.Ps,x.bx,i.bT,f.op,f.Rl,i.TG,g.kA,g.JA,g.UF],styles:[".selection[_ngcontent-%COMP%]{margin-left:12px;font-size:12px;font-style:italic}"]})}return I})()},51363:(ft,Z,l)=>{"use strict";l.d(Z,{W:()=>s});var n=l(41727),i=l(54438);const f=()=>["Item 1","Item 2","Item 3","Item 4","Item 5"],g_template="";let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-dropdown-example-default"]],inputs:{size:"size"},decls:1,vars:3,consts:[["placeholder","Dropdown with plain text",3,"size","items"]],template:function(w,M){1&w&&i.nrm(0,"kirby-dropdown",0),2&w&&i.Y8G("size",M.size)("items",i.lJ4(2,f))},dependencies:[n.kr,n.Ps],encapsulation:2})}return x})()},47780:(ft,Z,l)=>{"use strict";l.d(Z,{J:()=>g});var n=l(41727),i=l(54438);const f_template='';let g=(()=>{class s{constructor(){this.template=f_template,this.items=["Item 1","Item 2","Item 3","Item 4","Item 5"]}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-dropdown-example-expand"]],inputs:{size:"size"},decls:1,vars:2,consts:[["placeholder","Block level Dropdown","expand","block",3,"size","items"]],template:function(y,w){1&y&&i.nrm(0,"kirby-dropdown",0),2&y&&i.Y8G("size",w.size)("items",w.items)},dependencies:[n.kr,n.Ps],encapsulation:2})}return s})()},71708:(ft,Z,l)=>{"use strict";l.d(Z,{w:()=>s});var n=l(41727),i=l(54438),f=l(57017);const g_template='';let s=(()=>{class x{constructor(y){this.toastController=y,this.template=g_template,this.items=[{id:11,text:"Item 1"},{id:22,text:"Item 2"},{id:33,text:"Item 3"},{id:44,text:"Item 4"},{id:55,text:"Item 5"}]}onItemSelect(y){this.toastController.showToast({message:`Item '${y.text} (id=${y.id})' was selected.`,messageType:"success",durationInMs:1500})}static#e=this.\u0275fac=function(w){return new(w||x)(i.rXU(f.K))};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-dropdown-example-item-select"]],inputs:{size:"size"},decls:1,vars:2,consts:[["placeholder","Dropdown with event handler",3,"change","size","items"]],template:function(w,M){1&w&&(i.j41(0,"kirby-dropdown",0),i.bIt("change",function(R){return M.onItemSelect(R)}),i.k0s()),2&w&&i.Y8G("size",M.size)("items",M.items)},dependencies:[n.kr,n.Ps],encapsulation:2})}return x})()},99513:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>_});var n=l(84341),i=l(41727),f=l(11235),g=l(60177),s=l(54438);const x={selector:"cookbook-dropdown-example-ng-forms",template:'
\n \n\n
\n Configuration\n \n \n \n \n

\n form.value: {{ form.value | json }}
\n form.favoriteFood:\n valid: {{ favoriteFoodControl.valid }}\n enabled: {{ favoriteFoodControl.enabled }}\n touched: {{ favoriteFoodControl.touched }}\n

\n
',codeSnippet:"form = new FormGroup({\n favoriteFood: new FormControl({ value: this.items[2], disabled: !this.canSelectFavorite }),\n});\n\ntoggleEnabled(enabled: boolean) {\n const favoriteFoodControl = this.form.controls['favoriteFood'];\n enabled\n ? favoriteFoodControl.enable()\n : favoriteFoodControl.disable();\n}\n\ntoggleRequired(required: boolean) {\n const favoriteFoodControl = this.form.controls['favoriteFood'];\n required\n ? favoriteFoodControl.setValidators(Validators.required)\n : favoriteFoodControl.setValidators(null);\n favoriteFoodControl.updateValueAndValidity();\n}",styles:[".selection {\n margin: 0;\n font-size: 12px;\n line-height: 16px;\n font-style: italic;\n }","span {\n background-color: #ff595e;\n margin-right: 4px;\n padding: 0px 2px;\n border-radius: 4px;\n }","span.state-true {\n background-color: #2cf287;\n }"]};let _=(()=>{class y{constructor(){this.template=x.template.split("
")[0],this.codeSnippet=x.codeSnippet,this.canSelectFavorite=!0,this.favoriteRequired=!0,this.items=[{title:"Bacon",subtitle:"Bacon ipsum dolor",value:1},{title:"Salami",subtitle:"Salami andouille hamburger",value:2},{title:"Tenderloin",subtitle:"Tenderloin short loin frankfurter",value:3},{title:"Tongue",subtitle:"Tongue bresaola tail swine",value:4},{title:"Drumstick",subtitle:"Drumstick pastrami sirloin ",value:5}]}ngOnInit(){this.buildForm()}toggleEnabled(M){this.canSelectFavorite=M,M?this.favoriteFoodControl.enable():this.favoriteFoodControl.disable()}toggleRequired(M){this.favoriteRequired=M,this.favoriteFoodControl.setValidators(M?n.k0.required:null),this.favoriteFoodControl.updateValueAndValidity()}buildForm(){this.favoriteFoodControl=new n.hs(null,this.favoriteRequired?n.k0.required:null),this.canSelectFavorite||this.favoriteFoodControl.disable(),this.form=new n.J3({favoriteFood:this.favoriteFoodControl})}get favFoodControl(){return this.form.controls.favoriteFood}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-dropdown-example-ng-forms"]],inputs:{size:"size"},decls:18,vars:17,consts:[[3,"formGroup"],["formControlName","favoriteFood","placeholder","Dropdown in form","itemTextProperty","title",3,"size","items"],["text","Form field enabled","size","xs",3,"checkedChange","checked"],["text","Form field required","size","xs",3,"checkedChange","checked"],[1,"selection"]],template:function(I,R){1&I&&(s.j41(0,"form",0),s.nrm(1,"kirby-dropdown",1),s.k0s(),s.j41(2,"fieldset")(3,"legend"),s.EFF(4,"Configuration"),s.k0s(),s.j41(5,"kirby-checkbox",2),s.bIt("checkedChange",function(K){return R.toggleEnabled(K)}),s.k0s(),s.j41(6,"kirby-checkbox",3),s.bIt("checkedChange",function(K){return R.toggleRequired(K)}),s.k0s(),s.j41(7,"p",4),s.EFF(8),s.nI1(9,"json"),s.nrm(10,"br"),s.EFF(11," form.favoriteFood: "),s.j41(12,"span"),s.EFF(13),s.k0s(),s.j41(14,"span"),s.EFF(15),s.k0s(),s.j41(16,"span"),s.EFF(17),s.k0s()()()),2&I&&(s.Y8G("formGroup",R.form),s.R7$(),s.Y8G("size",R.size)("items",R.items),s.R7$(4),s.Y8G("checked",R.canSelectFavorite),s.R7$(),s.Y8G("checked",R.favoriteRequired),s.R7$(2),s.SpI(" form.value: ",s.bMT(9,15,R.form.value),""),s.R7$(4),s.AVh("state-true",R.favoriteFoodControl.valid),s.R7$(),s.SpI("valid: ",R.favoriteFoodControl.valid,""),s.R7$(),s.AVh("state-true",R.favoriteFoodControl.enabled),s.R7$(),s.SpI("enabled: ",R.favoriteFoodControl.enabled,""),s.R7$(),s.AVh("state-true",R.favoriteFoodControl.touched),s.R7$(),s.SpI("touched: ",R.favoriteFoodControl.touched,""))},dependencies:[n.YN,n.qT,n.BC,n.cb,n.X1,n.j4,n.JD,i.kr,i.Ps,f.P,g.TG],styles:[".selection[_ngcontent-%COMP%]{margin:0;font-size:12px;line-height:16px;font-style:italic}","span[_ngcontent-%COMP%]{background-color:#ff595e;margin-right:4px;padding:0 2px;border-radius:4px}","span.state-true[_ngcontent-%COMP%]{background-color:#2cf287}"]})}return y})()},54245:(ft,Z,l)=>{"use strict";l.d(Z,{T:()=>s});var n=l(41727),i=l(54438);const f=()=>["Item 1","Item 2","Item 3","Item 4","Item 5 (preselected)"],g_template="";let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-dropdown-example-pre-selected"]],inputs:{size:"size"},decls:1,vars:4,consts:[[3,"size","items","selectedIndex"]],template:function(w,M){1&w&&i.nrm(0,"kirby-dropdown",0),2&w&&i.Y8G("size",M.size)("items",i.lJ4(3,f))("selectedIndex",4)},dependencies:[n.kr,n.Ps],encapsulation:2})}return x})()},30521:(ft,Z,l)=>{"use strict";l.d(Z,{z:()=>s});var n=l(41727),i=l(54438);const f=()=>["Item 1","Item 2","Item 3","Item 4","Item 5"],g={selector:"cookbook-dropdown-example-right-aligned",template:"",styles:[":host(.right-align) {\n display: flex;\n}","kirby-dropdown {\n margin-left: auto;\n}"]};let s=(()=>{class x{constructor(){this.template=g.template,this.styles=g.styles.join("\n")}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-dropdown-example-right-aligned"]],hostVars:2,hostBindings:function(w,M){2&w&&i.AVh("right-align",!0)},inputs:{size:"size"},decls:1,vars:3,consts:[["placeholder","Right aligned (opens left)","popout","left",3,"size","items"]],template:function(w,M){1&w&&i.nrm(0,"kirby-dropdown",0),2&w&&i.Y8G("size",M.size)("items",i.lJ4(2,f))},dependencies:[n.kr,n.Ps],styles:[".right-align[_nghost-%COMP%]{display:flex}","kirby-dropdown[_ngcontent-%COMP%]{margin-left:auto}"]})}return x})()},62889:(ft,Z,l)=>{"use strict";l.d(Z,{g:()=>s});var n=l(41727),i=l(54438);const f=()=>["Item 1","Item 2","Item 3","Item 4","Item 5","Item 6","Item 7","Item 8","Item 9","Item 10","Item 11","Item 12","Item 13","Item 14","Item 15","Item 16"],g_template=" 8 items)\"\n [items]=\"['Item 1','Item 2','Item 3','Item 4','Item 5','Item 6','Item 7','Item 8','Item 9','Item 10','Item 11','Item 12','Item 13','Item 14','Item 15','Item 16']\"\n>";let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-dropdown-example-scroll"]],inputs:{size:"size"},decls:1,vars:3,consts:[["placeholder","Dropdown with scroll (> 8 items)",3,"size","items"]],template:function(w,M){1&w&&i.nrm(0,"kirby-dropdown",0),2&w&&i.Y8G("size",M.size)("items",i.lJ4(2,f))},dependencies:[n.kr,n.Ps],encapsulation:2})}return x})()},7767:(ft,Z,l)=>{"use strict";l.d(Z,{X:()=>s});var n=l(49711),i=l(47008),f=l(54438);const g_template='\n \n \n\n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-empty-state-buttons-example"]],decls:5,vars:0,consts:[["iconName","kirby","title","Button attention levels","subtitle","Additional messaging via subtitle"],["kirby-button","","attentionLevel","1"],["kirby-button","","attentionLevel","2"]],template:function(w,M){1&w&&(f.j41(0,"kirby-empty-state",0)(1,"button",1),f.EFF(2,"Primary action"),f.k0s(),f.j41(3,"button",2),f.EFF(4,"Secondary action"),f.k0s()())},dependencies:[n.b,n.o,i.Q],encapsulation:2})}return x})()},97737:(ft,Z,l)=>{"use strict";l.d(Z,{s:()=>s});var n=l(49711),i=l(54438),f=l(13339);const g_template='
\n \n \n \n
';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-empty-state-message-types-example"]],decls:4,vars:0,consts:[[1,"message-type-container"],["iconName","verify","themeColor","success","title","Success","subtitle","Additional messaging via subtitle"],["iconName","help","themeColor","warning","title","Warning","subtitle","Additional messaging via subtitle"],["iconName","overview-outline","title","Empty","subtitle","Additional messaging via subtitle"]],template:function(w,M){1&w&&(i.j41(0,"div",0),i.nrm(1,"kirby-empty-state",1)(2,"kirby-empty-state",2)(3,"kirby-empty-state",3),i.k0s())},dependencies:[n.b,n.o,f.Cd],styles:["[_nghost-%COMP%]{display:block;container-type:inline-size;padding:0 1rem}.message-type-container[_ngcontent-%COMP%]{display:flex;gap:1rem;justify-content:space-around}@container (width < 632px){.message-type-container[_ngcontent-%COMP%]{flex-direction:column}}"]})}return x})()},40638:(ft,Z,l)=>{"use strict";l.d(Z,{W:()=>s});var n=l(49711),i=l(47008),f=l(54438);const g_template='\n \n\n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-empty-state-simple-example"]],decls:3,vars:0,consts:[["title","Simple","subtitle","A subtitle with a \n newline inserted in the template."],["kirby-button","","attentionLevel","1"]],template:function(w,M){1&w&&(f.j41(0,"kirby-empty-state",0)(1,"button",1),f.EFF(2,"Resolve state"),f.k0s()())},dependencies:[n.b,n.o,i.Q],encapsulation:2})}return x})()},2923:(ft,Z,l)=>{"use strict";l.d(Z,{V:()=>H});var n=l(60177),i=l(47008),f=l(98990),g=l(35043),s=l(54438);const x=["*"];function _(K,L){1&K&&s.nrm(0,"kirby-icon",6)}function y(K,L){1&K&&s.nrm(0,"kirby-icon",7)}function w(K,L){if(1&K){const he=s.RV6();s.j41(0,"button",3),s.bIt("click",function(){s.eBV(he);const be=s.XpG();return s.Njj(be.toggleConfig())}),s.EFF(1," Configure "),s.DNE(2,_,1,0,"kirby-icon",4)(3,y,1,0,"kirby-icon",5),s.k0s()}if(2&K){const he=s.XpG();s.R7$(2),s.Y8G("ngIf",!he.showConfig),s.R7$(),s.Y8G("ngIf",he.showConfig)}}function M(K,L){1&K&&s.eu8(0)}function I(K,L){if(1&K&&(s.qex(0),s.j41(1,"kirby-card"),s.DNE(2,M,1,0,"ng-container",8),s.k0s(),s.bVm()),2&K){s.XpG();const he=s.sdS(3);s.R7$(2),s.Y8G("ngTemplateOutlet",he)}}function R(K,L){if(1&K&&(s.j41(0,"fieldset")(1,"legend"),s.EFF(2),s.k0s(),s.SdG(3),s.k0s()),2&K){const he=s.XpG();s.R7$(2),s.JRh(he.title)}}let H=(()=>{class K{constructor(){this.configAppearance="block",this.title="Configuration",this.showConfig=!1,this.align="end"}get _cssClass(){return["align-"+this.align,this.configAppearance].filter(Boolean)}toggleConfig(){this.showConfig=!this.showConfig}static#e=this.\u0275fac=function(pe){return new(pe||K)};static#t=this.\u0275cmp=s.VBU({type:K,selectors:[["cookbook-example-configuration-wrapper"]],hostVars:4,hostBindings:function(pe,be){2&pe&&(s.HbH(be._cssClass),s.AVh("show-config",be.showConfig))},inputs:{configAppearance:"configAppearance",title:"title",align:"align"},ngContentSelectors:x,decls:4,vars:3,consts:[["fieldset",""],["kirby-button","","attentionLevel","3",3,"click",4,"ngIf"],[4,"ngIf","ngIfElse"],["kirby-button","","attentionLevel","3",3,"click"],["name","menu-outline",4,"ngIf"],["name","menu",4,"ngIf"],["name","menu-outline"],["name","menu"],[4,"ngTemplateOutlet"]],template:function(pe,be){if(1&pe&&(s.NAR(),s.DNE(0,w,4,2,"button",1)(1,I,3,1,"ng-container",2)(2,R,4,1,"ng-template",null,0,s.C5r)),2&pe){const Le=s.sdS(3);s.Y8G("ngIf","toggle"===be.configAppearance),s.R7$(),s.Y8G("ngIf","block"!==be.configAppearance)("ngIfElse",Le)}},dependencies:[n.MD,n.bT,n.T3,i.Q,f.Dw,f.ib,g.op,g.Rl],styles:['[_nghost-%COMP%]{display:block}.toggle[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;position:absolute;right:16px;top:calc(16px + var(--ion-safe-area-top))}.toggle.align-end[_nghost-%COMP%]{align-items:flex-end}.toggle.align-end[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{rotate:-45deg;transform-origin:top right}.toggle[_nghost-%COMP%] button[_ngcontent-%COMP%]{z-index:3}.toggle[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{opacity:0;visibility:hidden;rotate:45deg;transition-property:opacity,rotate,scale;transition-duration:.2s;transition-timing-function:ease;transform-origin:top left;scale:.5}.toggle.show-config[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{opacity:1;visibility:visible;rotate:0deg;scale:1}.snap-to-viewport[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{position:fixed;margin-top:16px;opacity:.5;transform:rotate(-90deg) translateY(-28px);transform-origin:top right;overflow:initial}.snap-to-viewport[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:-20px}.snap-to-viewport[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]:hover, .snap-to-viewport[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]:active, .snap-to-viewport[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]:focus-within{opacity:unset;transform:none;border-top-right-radius:0;border-bottom-right-radius:0;--kirby-border-color: initial}.snap-to-viewport[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]:hover, .snap-to-viewport[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]:active{transition-duration:.3s;transition-property:transform,border-radius;transition-timing-function:ease}.ion-page[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%], .ion-page [_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{top:var(--header-height, 0)}.ion-page.drawer[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%], .ion-page.drawer [_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{top:0}@media (min-width: 768px){.ion-page.drawer[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%], .ion-page.drawer [_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{top:var(--header-height, 0)}}fieldset[_ngcontent-%COMP%]{border:1px solid var(--kirby-border-color, var(--kirby-medium));padding:12px}fieldset[_ngcontent-%COMP%] legend[_ngcontent-%COMP%]{color:var(--kirby-text-color-semi-dark);text-align:var(--text-align, initial);font-size:14px}kirby-card[_ngcontent-%COMP%]{z-index:2;font-size:12px;padding:8px;top:0;right:0}']})}return K})()},60167:(ft,Z,l)=>{"use strict";l.d(Z,{u:()=>x});var n=l(50589),i=l(35043),f=l(81443),g=l(54438),s=l(57017);let x=(()=>{class _{constructor(w){this.toastController=w,this.disableFabSheet=!1,this.items=[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}]}onItemSelect(w){this.toastController.showToast({message:`'${w.text}' was selected.`,messageType:"success",durationInMs:1500})}static#e=this.\u0275fac=function(M){return new(M||_)(g.rXU(s.K))};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-fab-sheet-example"]],inputs:{disableFabSheet:"disableFabSheet"},decls:3,vars:2,consts:[["horizontalAlignment","right",3,"disabled"],["name","write-message"],["header","Your action sheet header","subheader","Your action sheet subheader",3,"itemSelect","items"]],template:function(M,I){1&M&&(g.j41(0,"kirby-fab-sheet",0),g.nrm(1,"kirby-icon",1),g.j41(2,"kirby-action-sheet",2),g.bIt("itemSelect",function(H){return I.onItemSelect(H)}),g.k0s()()),2&M&&(g.Y8G("disabled",I.disableFabSheet),g.R7$(2),g.Y8G("items",I.items))},dependencies:[n.U,i.op,i.Rl,f.vL],encapsulation:2})}return _})()},84083:(ft,Z,l)=>{"use strict";l.d(Z,{S:()=>g});var n=l(8346),i=l(54438);const f_template='Success\nWarning\nDanger\nSemi-Light\nTransparent';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-flag-example-colors"]],decls:10,vars:0,consts:[["themeColor","success"],["themeColor","warning"],["themeColor","danger"],["themeColor","semi-light"],["themeColor","transparent","title","(default)"]],template:function(y,w){1&y&&(i.j41(0,"kirby-flag",0),i.EFF(1,"Success"),i.k0s(),i.j41(2,"kirby-flag",1),i.EFF(3,"Warning"),i.k0s(),i.j41(4,"kirby-flag",2),i.EFF(5,"Danger"),i.k0s(),i.j41(6,"kirby-flag",3),i.EFF(7,"Semi-Light"),i.k0s(),i.j41(8,"kirby-flag",4),i.EFF(9,"Transparent"),i.k0s())},dependencies:[n.q],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px;flex-wrap:wrap}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px;margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-flag[_ngcontent-%COMP%]{position:relative}kirby-flag[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-flag[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-flag[title][title="(default)"][_ngcontent-%COMP%]:before{content:"(default)"}']})}return s})()},80177:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>g});var n=l(8346),i=l(54438);const f_template='Extra Small (xs)\nSmall (sm)\nMedium (md)';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-flag-example-sizes"]],decls:6,vars:0,consts:[["size","xs"],["size","sm"],["size","md","title","(default)"]],template:function(y,w){1&y&&(i.j41(0,"kirby-flag",0),i.EFF(1,"Extra Small (xs)"),i.k0s(),i.j41(2,"kirby-flag",1),i.EFF(3,"Small (sm)"),i.k0s(),i.j41(4,"kirby-flag",2),i.EFF(5,"Medium (md)"),i.k0s())},dependencies:[n.q],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;margin-bottom:16px;flex-wrap:wrap}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{margin-right:16px;margin-bottom:16px}.align-top[_nghost-%COMP%]{align-items:flex-start}kirby-flag[_ngcontent-%COMP%]{position:relative}kirby-flag[title][_ngcontent-%COMP%]{margin-bottom:16px}kirby-flag[title][_ngcontent-%COMP%]:before{content:"";width:100%;position:absolute;bottom:0;transform:translateY(100%);font-size:12px;text-align:center}kirby-flag[title][title="(default)"][_ngcontent-%COMP%]:before{content:"(default)"}']})}return s})()},78977:(ft,Z,l)=>{"use strict";l.d(Z,{s:()=>x});var n=l(56297),i=l(35043),f=l(90599),g=l(54438);const s_template='\n \n \n\n\n\n \n kr/md\n\n\n\n \n \n \n';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-form-field-input-affix-example"]],inputs:{size:"size"},decls:11,vars:4,consts:[["label","With prefix"],["name","payment-card","kirby-affix","prefix"],["kirby-input","","placeholder","Enter your card number",3,"size"],["label","With suffix"],["kirby-input","","type","number","placeholder","Monthly payments",3,"size"],["kirby-affix","suffix"],["label","With prefix and suffix"],["name","search","kirby-affix","prefix"],["kirby-input","","decimal-mask","","placeholder","Search...",3,"size"]],template:function(M,I){1&M&&(g.j41(0,"kirby-form-field",0),g.nrm(1,"kirby-icon",1)(2,"input",2),g.k0s(),g.j41(3,"kirby-form-field",3),g.nrm(4,"input",4),g.j41(5,"span",5),g.EFF(6,"kr/md"),g.k0s()(),g.j41(7,"kirby-form-field",6),g.nrm(8,"kirby-icon",7)(9,"input",8)(10,"kirby-spinner",5),g.k0s()),2&M&&(g.R7$(2),g.Y8G("size",I.size),g.R7$(2),g.Y8G("size",I.size)("size",I.size),g.R7$(5),g.Y8G("size",I.size))},dependencies:[n.LT,n.KS,n.ke,i.op,i.Rl,n.Sj,f.O,f.t],encapsulation:2})}return _})()},65064:(ft,Z,l)=>{"use strict";l.d(Z,{H:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-borderless-example"]],inputs:{size:"size"},decls:2,vars:1,consts:[["label","Input field with no borders and initial width"],["kirby-input","","borderless","true",3,"size"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field",0),i.nrm(1,"input",1),i.k0s()),2&y&&(i.R7$(),i.Y8G("size",w.size))},dependencies:[n.LT,n.KS,n.Sj],encapsulation:2})}return s})()},8060:(ft,Z,l)=>{"use strict";l.d(Z,{j:()=>x});var n=l(98990),i=l(56297),f=l(54438),g=l(13339);const s={selector:"cookbook-form-field-input-color-example",template:'\n \n \n \n\n
\n \n \n \n \n
\n'};let x=(()=>{class _{constructor(){this.color="white"}get template(){return s.template.split('
')[0]}setThemeColor(w){this.color=w}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-form-field-input-color-example"]],decls:8,vars:1,consts:[["hasPadding","true",3,"themeColor"],["kirby-input","","placeholder","Default input with placeholder text inside card"],[1,"card-option-button-group"],[1,"white",3,"click"],[1,"light",3,"click"],[1,"secondary",3,"click"],[1,"dark",3,"click"]],template:function(M,I){1&M&&(f.j41(0,"kirby-card",0)(1,"kirby-form-field"),f.nrm(2,"input",1),f.k0s()(),f.j41(3,"div",2)(4,"button",3),f.bIt("click",function(){return I.setThemeColor("white")}),f.k0s(),f.j41(5,"button",4),f.bIt("click",function(){return I.setThemeColor("light")}),f.k0s(),f.j41(6,"button",5),f.bIt("click",function(){return I.setThemeColor("secondary")}),f.k0s(),f.j41(7,"button",6),f.bIt("click",function(){return I.setThemeColor("dark")}),f.k0s()()),2&M&&f.Y8G("themeColor",I.color)},dependencies:[n.Dw,n.ib,g.Cd,i.LT,i.KS,i.Sj],styles:[".card-option-button-group[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:#fff;cursor:pointer}button.white[_ngcontent-%COMP%]{background-color:var(--kirby-white)}button.white[_ngcontent-%COMP%]:hover{background-color:var(--kirby-white-shade)}button.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);outline:#fff 2px solid;border:#fff 2px solid}button.light[_ngcontent-%COMP%]:hover{background-color:var(--kirby-light-shade)}button.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark)}button.dark[_ngcontent-%COMP%]:hover{background-color:var(--kirby-dark-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}"]})}return _})()},51067:(ft,Z,l)=>{"use strict";l.d(Z,{Q:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n \n\n\n\n \n \n\n\n\n \n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-counter-example"]],inputs:{size:"size"},decls:12,vars:6,consts:[["tweet",""],["prefilled",""],["message",""],["kirby-input","","placeholder","Tweet your message (max 140 chars)","maxlength","140",3,"size"],[3,"listenTo"],["kirby-input","","value","Character counter with prefilled value","maxlength","50",3,"size"],["message","Character counter with message and no maxlength"],["kirby-input","",3,"size"]],template:function(y,w){if(1&y&&(i.j41(0,"kirby-form-field"),i.nrm(1,"input",3,0)(3,"kirby-input-counter",4),i.k0s(),i.j41(4,"kirby-form-field"),i.nrm(5,"input",5,1)(7,"kirby-input-counter",4),i.k0s(),i.j41(8,"kirby-form-field",6),i.nrm(9,"input",7,2)(11,"kirby-input-counter",4),i.k0s()),2&y){const M=i.sdS(2),I=i.sdS(6),R=i.sdS(10);i.R7$(),i.Y8G("size",w.size),i.R7$(2),i.Y8G("listenTo",M),i.R7$(2),i.Y8G("size",w.size),i.R7$(2),i.Y8G("listenTo",I),i.R7$(2),i.Y8G("size",w.size),i.R7$(2),i.Y8G("listenTo",R)}},dependencies:[n.LT,n.KS,n.sP,n.Sj],encapsulation:2})}return s})()},88351:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>s});var n=l(56297),i=l(35043),f=l(54438);const g_template='\n \n\n\n\n \n \n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-form-field-input-date-native-example"]],inputs:{size:"size"},decls:5,vars:4,consts:[["label","Native (platform) date input with default Kirby calendar icon"],["kirby-input","","type","date",3,"size","useNativeDatePicker"],["label","Native (platform) date input with custom icon"],["kirby-affix","suffix","name","overview-outline"]],template:function(w,M){1&w&&(f.j41(0,"kirby-form-field",0),f.nrm(1,"input",1),f.k0s(),f.j41(2,"kirby-form-field",2),f.nrm(3,"input",1)(4,"kirby-icon",3),f.k0s()),2&w&&(f.R7$(),f.Y8G("size",M.size)("useNativeDatePicker",!0),f.R7$(2),f.Y8G("size",M.size)("useNativeDatePicker",!0))},dependencies:[n.LT,n.KS,n.ke,n.Sj,i.op,i.Rl],encapsulation:2})}return x})()},64911:(ft,Z,l)=>{"use strict";l.d(Z,{E:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-date-example"]],inputs:{size:"size"},decls:2,vars:1,consts:[["label","Input with date mask *"],["kirby-input","","type","date",3,"size"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field",0),i.nrm(1,"input",1),i.k0s()),2&y&&(i.R7$(),i.Y8G("size",w.size))},dependencies:[n.LT,n.KS,n.Sj],encapsulation:2})}return s})()},24998:(ft,Z,l)=>{"use strict";l.d(Z,{t:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-example"]],inputs:{size:"size"},decls:2,vars:1,consts:[["kirby-input","","placeholder","Default input with placeholder text",3,"size"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field"),i.nrm(1,"input",0),i.k0s()),2&y&&(i.R7$(),i.Y8G("size",w.size))},dependencies:[n.LT,n.KS,n.Sj],encapsulation:2})}return s})()},50627:(ft,Z,l)=>{"use strict";l.d(Z,{M:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-disabled-example"]],inputs:{size:"size"},decls:2,vars:1,consts:[["kirby-input","","disabled","","value","Disabled input",3,"size"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field"),i.nrm(1,"input",0),i.k0s()),2&y&&(i.R7$(),i.Y8G("size",w.size))},dependencies:[n.LT,n.KS,n.Sj],encapsulation:2})}return s})()},67477:(ft,Z,l)=>{"use strict";l.d(Z,{S:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-error-example"]],inputs:{size:"size"},decls:2,vars:1,consts:[["label","Error","message","This is an error message"],["kirby-input","","hasError","true",3,"size"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field",0),i.nrm(1,"input",1),i.k0s()),2&y&&(i.R7$(),i.Y8G("size",w.size))},dependencies:[n.LT,n.KS,n.Sj],encapsulation:2})}return s})()},22847:(ft,Z,l)=>{"use strict";l.d(Z,{M:()=>x});var n=l(11235),i=l(56297),f=l(54438);const g=["formfield"],s_template='\n\n\n \n',s_codeSnippet="import { FormFieldComponent } from '@kirbydesign/designsystem';\n \nexport class MyComponent {\n @ViewChild('formfield') private formfield: FormFieldComponent;\n\n inputEnabled = false;\n\n onToggleInput(enable: boolean) {\n this.inputEnabled = enable;\n if (!enable) return;\n this.formfield.focus();\n }\n";let x=(()=>{class _{constructor(){this.template=s_template,this.codeSnippet=s_codeSnippet,this.inputEnabled=!1}onToggleInput(w){this.inputEnabled=w,w&&this.formfield.focus()}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-form-field-focus-example"]],viewQuery:function(M,I){if(1&M&&f.GBs(g,7),2&M){let R;f.mGM(R=f.lsd())&&(I.formfield=R.first)}},inputs:{size:"size"},decls:4,vars:3,consts:[["formfield",""],["text","Enable input",3,"checkedChange","checked"],["kirby-input","","placeholder","Enable to focus (+scroll into view on device)",3,"size","disabled"]],template:function(M,I){if(1&M){const R=f.RV6();f.j41(0,"kirby-checkbox",1),f.bIt("checkedChange",function(K){return f.eBV(R),f.Njj(I.onToggleInput(K))}),f.k0s(),f.j41(1,"kirby-form-field",null,0),f.nrm(3,"input",2),f.k0s()}2&M&&(f.Y8G("checked",I.inputEnabled),f.R7$(3),f.Y8G("size",I.size)("disabled",!I.inputEnabled))},dependencies:[n.P,i.LT,i.KS,i.Sj],styles:["kirby-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-right:4px}"]})}return _})()},45415:(ft,Z,l)=>{"use strict";l.d(Z,{Z:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-label-message-example"]],inputs:{size:"size"},decls:2,vars:1,consts:[["label","Input with label and message","message","This is additional info that will be shown below the input"],["kirby-input","",3,"size"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field",0),i.nrm(1,"input",1),i.k0s()),2&y&&(i.R7$(),i.Y8G("size",w.size))},dependencies:[n.LT,n.KS,n.Sj],encapsulation:2})}return s})()},54521:(ft,Z,l)=>{"use strict";l.d(Z,{o:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-label-example"]],inputs:{size:"size"},decls:2,vars:1,consts:[["label","Input with label"],["kirby-input","",3,"size"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field",0),i.nrm(1,"input",1),i.k0s()),2&y&&(i.R7$(),i.Y8G("size",w.size))},dependencies:[n.LT,n.KS,n.Sj],encapsulation:2})}return s})()},83108:(ft,Z,l)=>{"use strict";l.d(Z,{f:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-input-numeric-example"]],inputs:{size:"size"},decls:2,vars:1,consts:[["label","Numeric input"],["type","number","kirby-input","",3,"size"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field",0),i.nrm(1,"input",1),i.k0s()),2&y&&(i.R7$(),i.Y8G("size",w.size))},dependencies:[n.LT,n.KS,n.Sj],encapsulation:2})}return s})()},19503:(ft,Z,l)=>{"use strict";l.d(Z,{S:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n \n\n\n\n \n \n\n\n\n \n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-textarea-counter-example"]],decls:12,vars:3,consts:[["tweet",""],["prefilled",""],["message",""],["kirby-textarea","","placeholder","Tweet your message (max 140 chars)","maxlength","140"],[3,"listenTo"],["kirby-textarea","","value","Character counter with prefilled value","maxlength","50"],["message","Character counter with message and no maxlength"],["kirby-textarea",""]],template:function(y,w){if(1&y&&(i.j41(0,"kirby-form-field"),i.nrm(1,"textarea",3,0)(3,"kirby-input-counter",4),i.k0s(),i.j41(4,"kirby-form-field"),i.nrm(5,"textarea",5,1)(7,"kirby-input-counter",4),i.k0s(),i.j41(8,"kirby-form-field",6),i.nrm(9,"textarea",7,2)(11,"kirby-input-counter",4),i.k0s()),2&y){const M=i.sdS(2),I=i.sdS(6),R=i.sdS(10);i.R7$(3),i.Y8G("listenTo",M),i.R7$(4),i.Y8G("listenTo",I),i.R7$(4),i.Y8G("listenTo",R)}},dependencies:[n.LT,n.KS,n.sP,n.QC],encapsulation:2})}return s})()},79186:(ft,Z,l)=>{"use strict";l.d(Z,{H:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-textarea-example"]],decls:2,vars:0,consts:[["kirby-textarea","","placeholder","Default textarea with placeholder text"]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field"),i.nrm(1,"textarea",0),i.k0s())},dependencies:[n.LT,n.KS,n.QC],encapsulation:2})}return s})()},37965:(ft,Z,l)=>{"use strict";l.d(Z,{W:()=>g});var n=l(56297),i=l(54438);const f_template='\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-form-field-textarea-label-example"]],decls:2,vars:0,consts:[["label","Textarea with label"],["kirby-textarea",""]],template:function(y,w){1&y&&(i.j41(0,"kirby-form-field",0),i.nrm(1,"textarea",1),i.k0s())},dependencies:[n.LT,n.KS,n.QC],encapsulation:2})}return s})()},15874:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>g});var n=l(54438),i=l(56297),f=l(27037);let g=(()=>{class s{constructor(){this.items=[{title:"Medium (md)",value:i.YI.medium},{title:"Large (lg) - default",value:i.YI.large}],this.size=i.YI.large,this.sizeChange=new n.bkB,this.onChange=_=>{this.size=_.value,this.sizeChange.emit(_.value)}}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=n.VBU({type:s,selectors:[["cookbook-form-field-example-configuration"]],inputs:{size:"size"},outputs:{sizeChange:"sizeChange"},decls:8,vars:2,consts:[["itemTextProperty","title",3,"valueChange","items","selectedIndex"]],template:function(y,w){1&y&&(n.j41(0,"fieldset")(1,"legend"),n.EFF(2,"Input field size for examples below"),n.k0s(),n.j41(3,"p")(4,"strong"),n.EFF(5,"Size:"),n.k0s(),n.nrm(6,"br"),n.j41(7,"kirby-radio-group",0),n.bIt("valueChange",function(I){return w.onChange(I)}),n.k0s()()()),2&y&&(n.R7$(7),n.Y8G("items",w.items)("selectedIndex",1))},dependencies:[f.s7,f.Y2],styles:["fieldset[_ngcontent-%COMP%]{display:inline-block}"]})}return s})()},98299:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>_});var n=l(98990),i=l(60177),f=l(54438);function g(y,w){if(1&y&&(f.j41(0,"option",13),f.EFF(1),f.k0s()),2&y){const M=w.$implicit,I=f.XpG();f.FS9("value",M.value),f.BMQ("selected",I.spacingSizes===M.value||null),f.R7$(),f.SpI(" ",M.text," ")}}function s(y,w){if(1&y&&(f.j41(0,"option",13),f.EFF(1),f.k0s()),2&y){const M=w.$implicit,I=f.XpG();f.FS9("value",M.value),f.BMQ("selected",I.spacingSizes===M.value||null),f.R7$(),f.SpI(" ",M.text," ")}}function x(y,w){if(1&y&&(f.j41(0,"option",13),f.EFF(1),f.k0s()),2&y){const M=w.$implicit,I=f.XpG();f.FS9("value",M.value),f.BMQ("selected",I.spacingSizes===M.value||null),f.R7$(),f.SpI(" ",M.text," ")}}let _=(()=>{class y{constructor(){this.spacing="",this.rowSpacing="",this.columnSpacing="",this.spacingSizes=[{text:"0",value:"0"},{text:"1",value:"1"},{text:"2",value:"2"},{text:"3",value:"3"},{text:"4",value:"4"},{text:"5",value:"5"}]}onSpacingSizeChange(M){this.spacing=M}onRowSpacingSizeChange(M){this.rowSpacing=M}onColumnSpacingSizeChange(M){this.columnSpacing=M}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=f.VBU({type:y,selectors:[["cookbook-grid-example"]],decls:67,vars:6,consts:[[1,"grid-example-container"],[1,"kirby-grid"],["xs","8",1,"kirby-grid-item"],["title","xs='8'"],["xs","4",1,"kirby-grid-item"],["title","xs='4'"],["xs","12","sm","8",1,"kirby-grid-item"],["title","xs='12' sm='8'"],["xs","12","sm","4",1,"kirby-grid-item"],["title","xs='12' sm='4'"],[3,"change"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(I,R){1&I&&(f.j41(0,"div",0)(1,"h2"),f.EFF(2,"Basic Grid"),f.k0s(),f.j41(3,"div",1)(4,"div",2)(5,"kirby-card"),f.nrm(6,"kirby-card-header",3),f.k0s()(),f.j41(7,"div",4)(8,"kirby-card"),f.nrm(9,"kirby-card-header",5),f.k0s()(),f.j41(10,"div",4)(11,"kirby-card"),f.nrm(12,"kirby-card-header",5),f.k0s()(),f.j41(13,"div",2)(14,"kirby-card"),f.nrm(15,"kirby-card-header",3),f.k0s()()()(),f.j41(16,"div",0)(17,"h2"),f.EFF(18,"Multiple breakpoints"),f.k0s(),f.j41(19,"div",1)(20,"div",6)(21,"kirby-card"),f.nrm(22,"kirby-card-header",7),f.k0s()(),f.j41(23,"div",8)(24,"kirby-card"),f.nrm(25,"kirby-card-header",9),f.k0s()(),f.j41(26,"div",8)(27,"kirby-card"),f.nrm(28,"kirby-card-header",9),f.k0s()(),f.j41(29,"div",6)(30,"kirby-card"),f.nrm(31,"kirby-card-header",7),f.k0s()()()(),f.j41(32,"div",0)(33,"h2"),f.EFF(34,"Spacing"),f.k0s(),f.j41(35,"fieldset")(36,"legend"),f.EFF(37,"Grid Spacing"),f.k0s(),f.j41(38,"select",10),f.bIt("change",function(K){return R.onSpacingSizeChange(K.target.value)}),f.j41(39,"option",11),f.EFF(40,"-"),f.k0s(),f.DNE(41,g,2,3,"option",12),f.k0s(),f.j41(42,"legend"),f.EFF(43,"Grid Row Spacing"),f.k0s(),f.j41(44,"select",10),f.bIt("change",function(K){return R.onRowSpacingSizeChange(K.target.value)}),f.j41(45,"option",11),f.EFF(46,"-"),f.k0s(),f.DNE(47,s,2,3,"option",12),f.k0s(),f.j41(48,"legend"),f.EFF(49,"Grid Column Spacing"),f.k0s(),f.j41(50,"select",10),f.bIt("change",function(K){return R.onColumnSpacingSizeChange(K.target.value)}),f.j41(51,"option",11),f.EFF(52,"-"),f.k0s(),f.DNE(53,x,2,3,"option",12),f.k0s()(),f.j41(54,"div",1)(55,"div",2)(56,"kirby-card"),f.nrm(57,"kirby-card-header",3),f.k0s()(),f.j41(58,"div",4)(59,"kirby-card"),f.nrm(60,"kirby-card-header",5),f.k0s()(),f.j41(61,"div",4)(62,"kirby-card"),f.nrm(63,"kirby-card-header",3),f.k0s()(),f.j41(64,"div",2)(65,"kirby-card"),f.nrm(66,"kirby-card-header",3),f.k0s()()()()),2&I&&(f.R7$(41),f.Y8G("ngForOf",R.spacingSizes),f.R7$(6),f.Y8G("ngForOf",R.spacingSizes),f.R7$(6),f.Y8G("ngForOf",R.spacingSizes),f.R7$(),f.BMQ("spacing",R.spacing)("row-spacing",R.rowSpacing)("column-spacing",R.columnSpacing))},dependencies:[n.Dw,n.ib,n.lM,i.pM],styles:[".grid-example-container[_ngcontent-%COMP%]{margin-bottom:32px}fieldset[_ngcontent-%COMP%]{margin:24px 0;width:300px}fieldset[_ngcontent-%COMP%] legend[_ngcontent-%COMP%]{display:flex}"]})}return y})()},52556:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>I});var n=l(91365),i=l(52375),f=l(29660),g=l(47008),s=l(35043),x=l(72211),_=l(54438),y=l(57017);function w(R,H){if(1&R){const K=_.RV6();_.j41(0,"kirby-action-group")(1,"button",4),_.bIt("click",function(){_.eBV(K);const he=_.XpG();return _.Njj(he.actionClicked("Action 1"))}),_.nrm(2,"kirby-icon",5),_.j41(3,"span",6),_.EFF(4,"Action 1"),_.k0s()(),_.j41(5,"button",4),_.bIt("click",function(){_.eBV(K);const he=_.XpG();return _.Njj(he.actionClicked("Action 2"))}),_.EFF(6," Action 2 "),_.k0s(),_.j41(7,"button",4),_.bIt("click",function(){_.eBV(K);const he=_.XpG();return _.Njj(he.actionClicked("Action 3"))}),_.EFF(8," Action 3 "),_.k0s()()}}const M={template:'\n \n \n \n \n \n \n \n\n \n
\n
\n
'};class I extends x.y{static#e=this.template=M.template.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">...");constructor(H){super(),this.toastController=H}actionClicked(H){this.toastController.showToast({message:`${H} was selected.`,messageType:"success",durationInMs:1500})}static#t=this.\u0275fac=function(K){return new(K||I)(_.rXU(y.K))};static#n=this.\u0275cmp=_.VBU({type:I,selectors:[["ng-component"]],features:[_.Vt3],decls:5,vars:2,consts:[["defaultBackHref","/"],["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],[4,"kirbyHeaderActions"],[3,"innerHTML"],["kirby-button","","attentionLevel","3",3,"click"],["name","edit"],[1,"text"]],template:function(K,L){1&K&&(_.j41(0,"kirby-page",0)(1,"kirby-header",1),_.DNE(2,w,9,0,"kirby-action-group",2),_.k0s(),_.j41(3,"kirby-page-content"),_.nrm(4,"div",3),_.k0s()()),2&K&&(_.R7$(),_.Y8G("title","Action Group"),_.R7$(3),_.Y8G("innerHTML",L.content,_.npT))},dependencies:[n.wq,n.H1,n.Uu,i.GC,i.lZ,i.eg,f.p,g.Q,s.op,s.Rl],encapsulation:2})}},23769:(ft,Z,l)=>{"use strict";l.d(Z,{E:()=>x});var n=l(52375),i=l(28287),f=l(35043),g=l(54438);const s_template='\n \n \n \n';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-header-example-avatar"]],decls:3,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],["size","lg"],["name","kirby"]],template:function(M,I){1&M&&(g.j41(0,"kirby-header",0)(1,"kirby-avatar",1),g.nrm(2,"kirby-icon",2),g.k0s()()),2&M&&g.Y8G("title","Title")},dependencies:[n.GC,n.lZ,i.f,f.op,f.Rl],encapsulation:2})}return _})()},47999:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>L});var n=l(52375),i=l(35043),f=l(29660),g=l(47008),s=l(28287),x=l(8346),_=l(75797),y=l(54005),w=l(54438),M=l(57017);function I(he,pe){1&he&&w.nrm(0,"kirby-icon",7)}function R(he,pe){1&he&&(w.j41(0,"kirby-action-group")(1,"button",8),w.nrm(2,"kirby-icon",4),w.EFF(3," Action 1 "),w.k0s(),w.j41(4,"button",8),w.EFF(5," Action 2 "),w.k0s(),w.j41(6,"button",8),w.EFF(7," Action 3 "),w.k0s()())}function H(he,pe){1&he&&(w.j41(0,"div",9),w.nrm(1,"kirby-badge",10),w.EFF(2," Custom section "),w.k0s())}const K={selector:"cookbook-header-example-combined",template:'\n \n \n \n \n \n \n \n \n \n \n \n\n Warning\n\n
\n Custom section\n
\n
',styles:y.$.styles};let L=(()=>{class he{constructor(be){this.toastController=be,this.template=K.template,this.styles=K.styles.join("\n\n")}onTitleClick(be){this.toastController.showToast({message:"Title clicked...",messageType:"success",durationInMs:1500})}static#e=this.\u0275fac=function(Le){return new(Le||he)(w.rXU(M.K))};static#t=this.\u0275cmp=w.VBU({type:he,selectors:[["cookbook-header-example-combined"]],decls:8,vars:1,consts:[["value","12.345,67","valueUnit","USD","subtitle1","Subtitle one","subtitle2","Subtitle two",3,"titleClick","title"],["name","arrow-down",4,"kirbyHeaderTitleActionIcon"],[4,"kirbyHeaderActions"],["size","lg"],["name","kirby"],["themeColor","warning"],["class","custom-section",4,"kirbyHeaderCustomSection"],["name","arrow-down"],["kirby-button","","attentionLevel","3"],[1,"custom-section"],["size","sm","themeColor","success"]],template:function(Le,ye){1&Le&&(w.j41(0,"kirby-header",0),w.bIt("titleClick",function(ke){return ye.onTitleClick(ke)}),w.DNE(1,I,1,0,"kirby-icon",1)(2,R,8,0,"kirby-action-group",2),w.j41(3,"kirby-avatar",3),w.nrm(4,"kirby-icon",4),w.k0s(),w.j41(5,"kirby-flag",5),w.EFF(6,"Warning"),w.k0s(),w.DNE(7,H,3,0,"div",6),w.k0s()),2&Le&&w.Y8G("title","Title")},dependencies:[n.GC,n.lZ,n.eg,n.vg,n.mx,i.op,i.Rl,f.p,g.Q,s.f,x.q,_.n],styles:[".custom-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--kirby-text-color-semi-dark)}"]})}return he})()},71613:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>R});var n=l(91365),i=l(52375),f=l(92585),g=l(47008),s=l(35043),x=l(81365),_=l(72211),y=l(54438),w=l(57017);function M(H,K){if(1&H){const L=y.RV6();y.qex(0),y.j41(1,"kirby-menu")(2,"button",4),y.nrm(3,"kirby-icon",5),y.j41(4,"span"),y.EFF(5,"Action"),y.k0s()(),y.j41(6,"kirby-item",6),y.bIt("click",function(){y.eBV(L);const pe=y.XpG();return y.Njj(pe.actionClicked("Primary Action 1"))}),y.EFF(7," Primary Action 1 "),y.k0s(),y.j41(8,"kirby-item",6),y.bIt("click",function(){y.eBV(L);const pe=y.XpG();return y.Njj(pe.actionClicked("Primary Action 2"))}),y.EFF(9," Primary Action 2 "),y.k0s()(),y.j41(10,"kirby-menu")(11,"kirby-item",6),y.bIt("click",function(){y.eBV(L);const pe=y.XpG();return y.Njj(pe.actionClicked("Secondary Action 1"))}),y.EFF(12," Secondary Action 1 "),y.k0s(),y.j41(13,"kirby-item",6),y.bIt("click",function(){y.eBV(L);const pe=y.XpG();return y.Njj(pe.actionClicked("Secondary Action 2"))}),y.EFF(14," Secondary Action 2 "),y.k0s()(),y.bVm()}2&H&&(y.R7$(6),y.Y8G("selectable",!0),y.R7$(2),y.Y8G("selectable",!0),y.R7$(3),y.Y8G("selectable",!0),y.R7$(2),y.Y8G("selectable",!0))}const I={template:'\n \n \n \n \n \n Primary Action 1\n \n \n Primary Action 2\n \n \n\n \n \n Secondary Action 1\n \n \n Secondary Action 2\n \n \n \n \n\n \n
\n
\n
'};class R extends _.y{static#e=this.template=I.template.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">...");constructor(K){super(),this.toastController=K,this.document=window.document.body}actionClicked(K){this.toastController.showToast({message:`${K} was selected.`,messageType:"success",durationInMs:1500})}static#t=this.\u0275fac=function(L){return new(L||R)(y.rXU(w.K))};static#n=this.\u0275cmp=y.VBU({type:R,selectors:[["ng-component"]],features:[y.Vt3],decls:5,vars:2,consts:[["defaultBackHref","/"],["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],[4,"kirbyHeaderActions"],[3,"innerHTML"],["kirby-button",""],["name","kirby"],[3,"click","selectable"]],template:function(L,he){1&L&&(y.j41(0,"kirby-page",0)(1,"kirby-header",1),y.DNE(2,M,15,4,"ng-container",2),y.k0s(),y.j41(3,"kirby-page-content"),y.nrm(4,"div",3),y.k0s()()),2&L&&(y.R7$(),y.Y8G("title","Custom actions"),y.R7$(3),y.Y8G("innerHTML",he.content,y.npT))},dependencies:[n.wq,n.H1,n.Uu,i.GC,i.lZ,i.eg,f.Z,g.Q,s.op,s.Rl,x.kA,x.JA],encapsulation:2})}},48982:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>x});var n=l(52375),i=l(75797),f=l(54438);function g(_,y){1&_&&(f.j41(0,"div",2),f.nrm(1,"kirby-badge",3),f.EFF(2," Custom content in flag section "),f.k0s())}const s={selector:"cookbook-header-example-custom-flag",template:'\n
\n Custom content in flag section\n
\n
',styles:[".custom-flag {\n display: flex;\n align-items: center;\n gap: 6px;\n}"]};let x=(()=>{class _{constructor(){this.template=s.template,this.styles=s.styles.join("\n\n")}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-header-example-custom-flag"]],decls:2,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],["class","custom-flag",4,"kirbyHeaderCustomFlag"],[1,"custom-flag"],["size","sm","themeColor","success"]],template:function(M,I){1&M&&(f.j41(0,"kirby-header",0),f.DNE(1,g,3,0,"div",1),f.k0s()),2&M&&f.Y8G("title","Title")},dependencies:[n.GC,n.lZ,n.w0,i.n],styles:[".custom-flag[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}"]})}return _})()},54005:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>s,V:()=>x});var n=l(52375),i=l(75797),f=l(54438);function g(_,y){1&_&&(f.j41(0,"div",2),f.nrm(1,"kirby-badge",3),f.EFF(2," Custom section "),f.k0s())}const s={selector:"cookbook-header-example-custom-section",template:'\n
\n Custom section\n
\n
',styles:[".custom-section {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n color: var(--kirby-text-color-semi-dark);\n}"]};let x=(()=>{class _{constructor(){this.template=s.template,this.styles=s.styles.join("\n\n")}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-header-example-custom-section"]],decls:2,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],["class","custom-section",4,"kirbyHeaderCustomSection"],[1,"custom-section"],["size","sm","themeColor","success"]],template:function(M,I){1&M&&(f.j41(0,"kirby-header",0),f.DNE(1,g,3,0,"div",1),f.k0s()),2&M&&f.Y8G("title","Title")},dependencies:[n.GC,n.lZ,n.vg,i.n],styles:[".custom-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--kirby-text-color-semi-dark)}"]})}return _})()},20867:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>g});var n=l(52375),i=l(54438);const f_template='\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-header-example-default"]],decls:1,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"]],template:function(y,w){1&y&&i.nrm(0,"kirby-header",0),2&y&&i.Y8G("title","Title")},dependencies:[n.GC,n.lZ],encapsulation:2})}return s})()},70900:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>I});var n=l(91365),i=l(52375),f=l(29660),g=l(47008),s=l(35043),x=l(72211),_=l(54438),y=l(57017);function w(R,H){if(1&R){const K=_.RV6();_.j41(0,"kirby-action-group")(1,"button",4),_.bIt("click",function(){_.eBV(K);const he=_.XpG();return _.Njj(he.actionClicked("Action 1"))}),_.nrm(2,"kirby-icon",5),_.j41(3,"span",6),_.EFF(4,"Action 1"),_.k0s()(),_.j41(5,"button",7),_.bIt("click",function(){_.eBV(K);const he=_.XpG();return _.Njj(he.actionClicked("Action 2"))}),_.nrm(6,"kirby-icon",8),_.j41(7,"span",6),_.EFF(8,"Action 2"),_.k0s()()()}}const M={template:'\n \n \n \n \n \n \n\n \n
\n
\n
'};class I extends x.y{static#e=this.template=M.template.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">...");constructor(H){super(),this.toastController=H}actionClicked(H){this.toastController.showToast({message:`${H} was selected.`,messageType:"success",durationInMs:1500})}static#t=this.\u0275fac=function(K){return new(K||I)(_.rXU(y.K))};static#n=this.\u0275cmp=_.VBU({type:I,selectors:[["ng-component"]],features:[_.Vt3],decls:5,vars:3,consts:[["defaultBackHref","/"],["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"emphasizeActions","title"],[4,"kirbyHeaderActions"],[3,"innerHTML"],["kirby-button","","attentionLevel","1",3,"click"],["name","edit"],[1,"text"],["kirby-button","","attentionLevel","3",3,"click"],["name","kirby"]],template:function(K,L){1&K&&(_.j41(0,"kirby-page",0)(1,"kirby-header",1),_.DNE(2,w,9,0,"kirby-action-group",2),_.k0s(),_.j41(3,"kirby-page-content"),_.nrm(4,"div",3),_.k0s()()),2&K&&(_.R7$(),_.Y8G("emphasizeActions",!0)("title","Emphasize Actions"),_.R7$(3),_.Y8G("innerHTML",L.content,_.npT))},dependencies:[n.wq,n.H1,n.Uu,i.GC,i.lZ,i.eg,f.p,g.Q,s.op,s.Rl],encapsulation:2})}},46954:(ft,Z,l)=>{"use strict";l.d(Z,{H:()=>s});var n=l(52375),i=l(8346),f=l(54438);const g_template='\n Warning\n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-header-example-flag"]],decls:3,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],["themeColor","warning"]],template:function(w,M){1&w&&(f.j41(0,"kirby-header",0)(1,"kirby-flag",1),f.EFF(2,"Warning"),f.k0s()()),2&w&&f.Y8G("title","Title")},dependencies:[n.GC,n.lZ,i.q],encapsulation:2})}return x})()},80505:(ft,Z,l)=>{"use strict";l.d(Z,{z:()=>w});var n=l(91365),i=l(52375),f=l(35043),g=l(72211),s=l(54438),x=l(57017);function _(M,I){1&M&&s.nrm(0,"kirby-icon",4)}const y={template:'\n \n \n \n\n \n
\n
\n
'};class w extends g.y{static#e=this.template=y.template.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">...");static#t=this.codeSnippet="onTitleClick(event: PointerEvent) {\n // Maybe do something based on the event target:\n const eventTarget = event.currentTarget as HTMLElement;\n const targetLocation = eventTarget.closest('kirby-header') ? 'Title in header clicked' : 'Title in toolbar clicked';\n // Do something...\n}";constructor(I){super(),this.toastController=I}onTitleClick(I){const K={message:`Title ${I.currentTarget.closest("kirby-header")?"in header":"in toolbar"} clicked...`,messageType:"success",durationInMs:1500};this.toastController.showToast(K)}static#n=this.\u0275fac=function(R){return new(R||w)(s.rXU(x.K))};static#o=this.\u0275cmp=s.VBU({type:w,selectors:[["ng-component"]],features:[s.Vt3],decls:5,vars:2,consts:[["defaultBackHref","/"],["value","12345,67","valueUnit","USD","subtitle1","Subtitle one","subtitle2","Subtitle two",3,"titleClick","title"],["name","arrow-down",4,"kirbyHeaderTitleActionIcon"],[3,"innerHTML"],["name","arrow-down"]],template:function(R,H){1&R&&(s.j41(0,"kirby-page",0)(1,"kirby-header",1),s.bIt("titleClick",function(L){return H.onTitleClick(L)}),s.DNE(2,_,1,0,"kirby-icon",2),s.k0s(),s.j41(3,"kirby-page-content"),s.nrm(4,"div",3),s.k0s()()),2&R&&(s.R7$(),s.Y8G("title","Interactive Title"),s.R7$(3),s.Y8G("innerHTML",H.content,s.npT))},dependencies:[n.wq,n.H1,n.Uu,i.GC,i.lZ,i.mx,f.op,f.Rl],encapsulation:2})}},57203:(ft,Z,l)=>{"use strict";l.d(Z,{V:()=>y});var n=l(52375),i=l(72882),f=l(28287),g=l(13339),s=l(35043),x=l(54438);const __template='\n \n \n \n \n \n';let y=(()=>{class w{constructor(){this.template=__template}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=x.VBU({type:w,selectors:[["cookbook-header-example-progress-circle-with-avatar"]],decls:4,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],["value","75","themeColor","success","size","lg"],["themeColor","white"],["name","kirby"]],template:function(R,H){1&R&&(x.j41(0,"kirby-header",0)(1,"kirby-progress-circle",1)(2,"kirby-avatar",2),x.nrm(3,"kirby-icon",3),x.k0s()()()),2&R&&x.Y8G("title","Title")},dependencies:[n.GC,n.lZ,i.Z,f.f,g.Cd,s.op,s.Rl],encapsulation:2})}return w})()},12203:(ft,Z,l)=>{"use strict";l.d(Z,{P:()=>s});var n=l(52375),i=l(54438);const f=()=>["Mrs. Lady Like Tiff Tuff Escargoon Tokkori","&","Mr. Chef Kawasaki Tokkori"],g_template="\n";let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-header-example-subtitle-list"]],decls:1,vars:3,consts:[[3,"title","subtitle1"]],template:function(w,M){1&w&&i.nrm(0,"kirby-header",0),2&w&&i.Y8G("title","Title")("subtitle1",i.lJ4(2,f))},dependencies:[n.GC,n.lZ],styles:["[_nghost-%COMP%]{border:1px dashed var(--kirby-medium);margin:12px;background:linear-gradient(135deg,transparent 0,transparent 95%,#fff 96%);display:block;overflow:hidden;width:620px;max-width:100%;resize:horizontal}"]})}return x})()},52436:(ft,Z,l)=>{"use strict";l.d(Z,{e:()=>g});var n=l(52375),i=l(54438);const f_template='\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-header-example-title-scaling"]],decls:1,vars:1,consts:[["titleMaxLines","2","subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"]],template:function(y,w){1&y&&i.nrm(0,"kirby-header",0),2&y&&i.Y8G("title","Fall prices consulting quarterly municipal appeal inverse expenses market value credit quality market exposure potential appeal funds debt downturn NASDAQ Fitch 401k appeal corporate bonds municipal Nikkei market index treasury lucrative holder fiat corporation funds default interest rollover 401k exchange traded funds dividends inverse credit investment capitalization")},dependencies:[n.GC,n.lZ],encapsulation:2})}return s})()},31519:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>g});var n=l(52375),i=l(54438);const f_template='\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-header-example-value"]],decls:1,vars:1,consts:[["value","12.345,67","valueUnit","USD","subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"]],template:function(y,w){1&y&&i.nrm(0,"kirby-header",0),2&y&&i.Y8G("title","Title")},dependencies:[n.GC,n.lZ],encapsulation:2})}return s})()},58311:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>g});var n=l(35043),i=l(54438);const f_htmlSnippet='\n \n ',f_codeSnippet="import { IconRegistryService } from '@kirbydesign/designsystem';\n\nconst customIcons = [\n { \n name: 'custom-icon-name',\n svg: '[PATH_TO_SVG_FILE]',\n },\n ...\n];\n\n@NgModule({ ... })\nexport class MyModule { \n constructor(iconRegistryService: IconRegistryService) { \n iconRegistryService.addIcons(customIcons);\n } \n}";class g{static#e=this.codeSnippet=f_codeSnippet;static#t=this.htmlSnippet=f_htmlSnippet;static#n=this.\u0275fac=function(_){return new(_||g)};static#o=this.\u0275cmp=i.VBU({type:g,selectors:[["cookbook-icon-custom-example"]],decls:10,vars:0,consts:[[1,"icon-item-container"],[1,"icon-item-inner-container"],["name","football","title","football"],[1,"icon-item-title"],["name","umbrella","title","umbrella"]],template:function(_,y){1&_&&(i.j41(0,"div",0)(1,"div",1),i.nrm(2,"kirby-icon",2),i.j41(3,"span",3),i.EFF(4,"football"),i.k0s()()(),i.j41(5,"div",0)(6,"div",1),i.nrm(7,"kirby-icon",4),i.j41(8,"span",3),i.EFF(9,"umbrella"),i.k0s()()())},dependencies:[n.op,n.Rl],styles:['@keyframes _ngcontent-%COMP%_slide-in-out{0%{opacity:0;transform:translateY(-50%)}10%{opacity:1;transform:translateY(-125%)}90%{opacity:1;transform:translateY(-125%)}to{opacity:0;transform:translateY(-200%)}}[_nghost-%COMP%]{display:block}p[_ngcontent-%COMP%]{margin-top:16px}.icon-item-container[_ngcontent-%COMP%]{width:112px;padding:8px;display:inline-block;text-align:center}.icon-item-inner-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%;flex-wrap:wrap}.icon-item-title[_ngcontent-%COMP%]{display:block;max-width:112px;font-size:12px;color:#0009;white-space:nowrap}kirby-icon[_ngcontent-%COMP%]{width:100%}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]{transition:transform .2s;cursor:pointer}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]:hover{transform:scale(1.2)}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]:before{display:block;position:absolute;content:"Copied!";background-color:var(--kirby-semi-light);color:var(--kirby-semi-dark-contrast);font-size:10px;padding:2px 4px;border-radius:4px;opacity:0;transform:translateY(-50%)}kirby-icon.copy-to-clipboard.copied[_ngcontent-%COMP%]:before{opacity:1;animation-name:_ngcontent-%COMP%_slide-in-out;animation-duration:1.5s;animation-fill-mode:forwards}.color-options[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:var(--kirby-black);cursor:pointer}button.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary)}button.primary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-primary-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary)}button.tertiary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-tertiary-shade)}button.success[_ngcontent-%COMP%]{background-color:var(--kirby-success)}button.success[_ngcontent-%COMP%]:hover{background-color:var(--kirby-success-shade)}button.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning)}button.warning[_ngcontent-%COMP%]:hover{background-color:var(--kirby-warning-shade)}button.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger)}button.danger[_ngcontent-%COMP%]:hover{background-color:var(--kirby-danger-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}']})}},37015:(ft,Z,l)=>{"use strict";l.d(Z,{q:()=>M});var n=l(10467),i=l(35043),f=l(44354),g=l(60177),s=l(54438),x=l(13339);function _(I,R){if(1&I){const H=s.RV6();s.j41(0,"div",3)(1,"div",4)(2,"kirby-icon",5),s.bIt("click",function(L){const he=s.eBV(H).$implicit,pe=s.XpG();return s.Njj(pe.onIconClick(L,he))}),s.k0s(),s.j41(3,"span",6),s.EFF(4),s.k0s()()()}if(2&I){const H=R.$implicit,K=s.XpG();s.R7$(2),s.Y8G("name",H)("title",H)("themeColor",null==K.color?null:K.color.name),s.R7$(2),s.JRh(H)}}function y(I,R){if(1&I){const H=s.RV6();s.j41(0,"button",7),s.bIt("click",function(){const L=s.eBV(H).$implicit,he=s.XpG();return s.Njj(he.changeColor(L))}),s.k0s()}2&I&&s.Y8G("ngClass",R.$implicit.name)}class M{constructor(){this.icons=i.o$,this.colors=[...f.A.brandColors,...f.A.notificationColors]}static#e=this.htmlSnippet='';changeColor(R){this.color=R}onIconClick(R,H){return(0,n.A)(function*(){const K=``;yield navigator.clipboard.writeText(K);const L=R.target.closest("kirby-icon");L.classList.add("copied"),window.setTimeout(()=>{L.classList.remove("copied")},1500)})()}static#t=this.\u0275fac=function(H){return new(H||M)};static#n=this.\u0275cmp=s.VBU({type:M,selectors:[["cookbook-icon-default-example"]],decls:10,vars:2,consts:[["class","icon-item-container",4,"ngFor","ngForOf"],[1,"color-options"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"icon-item-container"],[1,"icon-item-inner-container"],[1,"copy-to-clipboard",3,"click","name","title","themeColor"],[1,"icon-item-title"],[3,"click","ngClass"]],template:function(H,K){1&H&&(s.j41(0,"div"),s.DNE(1,_,5,4,"div",0),s.j41(2,"div")(3,"p"),s.EFF(4,"Icons automatically inherit the value set via the "),s.j41(5,"code"),s.EFF(6,"color"),s.k0s(),s.EFF(7," css property. You can experiment with various colors for the icons above here:"),s.k0s(),s.j41(8,"div",1),s.DNE(9,y,1,1,"button",2),s.k0s()()()),2&H&&(s.R7$(),s.Y8G("ngForOf",K.icons),s.R7$(8),s.Y8G("ngForOf",K.colors))},dependencies:[g.pM,i.op,i.Rl,x.Cd,g.YU],styles:['@keyframes _ngcontent-%COMP%_slide-in-out{0%{opacity:0;transform:translateY(-50%)}10%{opacity:1;transform:translateY(-125%)}90%{opacity:1;transform:translateY(-125%)}to{opacity:0;transform:translateY(-200%)}}[_nghost-%COMP%]{display:block}p[_ngcontent-%COMP%]{margin-top:16px}.icon-item-container[_ngcontent-%COMP%]{width:112px;padding:8px;display:inline-block;text-align:center}.icon-item-inner-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%;flex-wrap:wrap}.icon-item-title[_ngcontent-%COMP%]{display:block;max-width:112px;font-size:12px;color:#0009;white-space:nowrap}kirby-icon[_ngcontent-%COMP%]{width:100%}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]{transition:transform .2s;cursor:pointer}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]:hover{transform:scale(1.2)}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]:before{display:block;position:absolute;content:"Copied!";background-color:var(--kirby-semi-light);color:var(--kirby-semi-dark-contrast);font-size:10px;padding:2px 4px;border-radius:4px;opacity:0;transform:translateY(-50%)}kirby-icon.copy-to-clipboard.copied[_ngcontent-%COMP%]:before{opacity:1;animation-name:_ngcontent-%COMP%_slide-in-out;animation-duration:1.5s;animation-fill-mode:forwards}.color-options[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:var(--kirby-black);cursor:pointer}button.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary)}button.primary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-primary-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary)}button.tertiary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-tertiary-shade)}button.success[_ngcontent-%COMP%]{background-color:var(--kirby-success)}button.success[_ngcontent-%COMP%]:hover{background-color:var(--kirby-success-shade)}button.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning)}button.warning[_ngcontent-%COMP%]:hover{background-color:var(--kirby-warning-shade)}button.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger)}button.danger[_ngcontent-%COMP%]:hover{background-color:var(--kirby-danger-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}']})}},82356:(ft,Z,l)=>{"use strict";l.d(Z,{l:()=>x});var n=l(35043),i=l(60177),f=l(54438);function g(_,y){if(1&_&&(f.j41(0,"div",1)(1,"div",2),f.nrm(2,"kirby-icon",3),f.j41(3,"span",4),f.EFF(4),f.k0s()()()),2&_){const w=y.$implicit;f.R7$(2),f.Y8G("size",w.value)("title",w.value),f.R7$(2),f.JRh(w.value)}}const s_htmlSnippet='\n\n\n';class x{constructor(){this.sizes=n.lK}static#e=this.htmlSnippet=s_htmlSnippet;static#t=this.\u0275fac=function(w){return new(w||x)};static#n=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-icon-sizes-example"]],decls:2,vars:3,consts:[["class","icon-item-container",4,"ngFor","ngForOf"],[1,"icon-item-container"],[1,"icon-item-inner-container"],["name","person",3,"size","title"],[1,"icon-item-title"]],template:function(w,M){1&w&&(f.DNE(0,g,5,3,"div",0),f.nI1(1,"keyvalue")),2&w&&f.Y8G("ngForOf",f.bMT(1,1,M.sizes))},dependencies:[i.pM,n.op,n.Rl,i.lG],styles:['@keyframes _ngcontent-%COMP%_slide-in-out{0%{opacity:0;transform:translateY(-50%)}10%{opacity:1;transform:translateY(-125%)}90%{opacity:1;transform:translateY(-125%)}to{opacity:0;transform:translateY(-200%)}}[_nghost-%COMP%]{display:block}p[_ngcontent-%COMP%]{margin-top:16px}.icon-item-container[_ngcontent-%COMP%]{width:112px;padding:8px;display:inline-block;text-align:center}.icon-item-inner-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%;flex-wrap:wrap}.icon-item-title[_ngcontent-%COMP%]{display:block;max-width:112px;font-size:12px;color:#0009;white-space:nowrap}kirby-icon[_ngcontent-%COMP%]{width:100%}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]{transition:transform .2s;cursor:pointer}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]:hover{transform:scale(1.2)}kirby-icon.copy-to-clipboard[_ngcontent-%COMP%]:before{display:block;position:absolute;content:"Copied!";background-color:var(--kirby-semi-light);color:var(--kirby-semi-dark-contrast);font-size:10px;padding:2px 4px;border-radius:4px;opacity:0;transform:translateY(-50%)}kirby-icon.copy-to-clipboard.copied[_ngcontent-%COMP%]:before{opacity:1;animation-name:_ngcontent-%COMP%_slide-in-out;animation-duration:1.5s;animation-fill-mode:forwards}.color-options[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:var(--kirby-black);cursor:pointer}button.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary)}button.primary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-primary-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary)}button.tertiary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-tertiary-shade)}button.success[_ngcontent-%COMP%]{background-color:var(--kirby-success)}button.success[_ngcontent-%COMP%]:hover{background-color:var(--kirby-success-shade)}button.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning)}button.warning[_ngcontent-%COMP%]:hover{background-color:var(--kirby-warning-shade)}button.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger)}button.danger[_ngcontent-%COMP%]:hover{background-color:var(--kirby-danger-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}']})}},55923:(ft,Z,l)=>{"use strict";l.d(Z,{y:()=>x});var n=l(81365),i=l(28287),f=l(35043),g=l(54438);const s_template='\n \n \n \n

Attach image

\n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-item-example-attachment"]],decls:5,vars:0,consts:[["slot","start","size","xs"],["name","camera"],[1,"kirby-item-title"]],template:function(M,I){1&M&&(g.j41(0,"kirby-item")(1,"kirby-avatar",0),g.nrm(2,"kirby-icon",1),g.k0s(),g.j41(3,"p",2),g.EFF(4,"Attach image"),g.k0s()())},dependencies:[n.kA,n.JA,i.f,f.op,f.Rl],encapsulation:2})}return _})()},82054:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>x});var n=l(81365),i=l(28287),f=l(35043),g=l(54438);const s_template='\n \n \n \n \n

Title

\n \n
\n -849,00\n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-item-example-avatar-date"]],decls:10,vars:0,consts:[["overlay","true","slot","start"],["name","moneybag"],[1,"kirby-item-title"],[1,"kirby-item-detail"],["slot","end","value","-849.00"]],template:function(M,I){1&M&&(g.j41(0,"kirby-item")(1,"kirby-avatar",0),g.nrm(2,"kirby-icon",1),g.k0s(),g.j41(3,"kirby-label")(4,"p",2),g.EFF(5,"Title"),g.k0s(),g.j41(6,"time",3),g.EFF(7,"10.04.2020"),g.k0s()(),g.j41(8,"data",4),g.EFF(9,"-849,00"),g.k0s()())},dependencies:[n.kA,n.JA,n.UF,i.f,f.op,f.Rl],encapsulation:2})}return _})()},44877:(ft,Z,l)=>{"use strict";l.d(Z,{M:()=>x});var n=l(81365),i=l(28287),f=l(35043),g=l(54438);const s_template='\n \n \n \n

Title

\n -849,00\n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-item-example-avatar"]],decls:7,vars:0,consts:[["overlay","true","slot","start"],["name","moneybag"],[1,"kirby-item-title"],["slot","end","value","-849.00"]],template:function(M,I){1&M&&(g.j41(0,"kirby-item")(1,"kirby-avatar",0),g.nrm(2,"kirby-icon",1),g.k0s(),g.j41(3,"p",2),g.EFF(4,"Title"),g.k0s(),g.j41(5,"data",3),g.EFF(6,"-849,00"),g.k0s()())},dependencies:[n.kA,n.JA,i.f,f.op,f.Rl],encapsulation:2})}return _})()},39457:(ft,Z,l)=>{"use strict";l.d(Z,{F:()=>_});var n=l(81365),i=l(75797),f=l(28287),g=l(35043),s=l(54438);const x_template='\n
\n \n \n
\n \n \n \n \n

Jake The Snake Insurance

\n

Basic Insurance

\n

Account - Budget Account

\n
\n Value\n
',x_styles=['div[slot="outside"] {\n display: flex;\n flex-direction: column;\n}'];let _=(()=>{class y{constructor(){this.template=x_template,this.styles=x_styles[0]}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-item-example-avatar-flagged-three-lines"]],decls:15,vars:0,consts:[["slot","outside"],["themeColor","success","size","sm"],["themeColor","warning","size","sm"],["overlay","true","slot","start"],["name","moneybag"],[1,"kirby-item-title"],[1,"kirby-item-subtitle"],[1,"kirby-item-detail"],["slot","end","value","value",1,"kirby-text-bold"]],template:function(I,R){1&I&&(s.j41(0,"kirby-item")(1,"div",0),s.nrm(2,"kirby-badge",1)(3,"kirby-badge",2),s.k0s(),s.j41(4,"kirby-avatar",3),s.nrm(5,"kirby-icon",4),s.k0s(),s.j41(6,"kirby-label")(7,"p",5),s.EFF(8,"Jake The Snake Insurance"),s.k0s(),s.j41(9,"p",6),s.EFF(10,"Basic Insurance"),s.k0s(),s.j41(11,"p",7),s.EFF(12,"Account - Budget Account"),s.k0s()(),s.j41(13,"data",8),s.EFF(14,"Value"),s.k0s()())},dependencies:[n.kA,n.JA,n.UF,i.n,f.f,g.op,g.Rl],styles:["div[slot=outside][_ngcontent-%COMP%]{display:flex;flex-direction:column}"]})}return y})()},94430:(ft,Z,l)=>{"use strict";l.d(Z,{y:()=>y});var n=l(81365),i=l(75797),f=l(28287),g=l(35043),s=l(8346),x=l(54438);const __template='\n
\n \n \n
\n \n \n \n \n \n \n \n

Lorem ipsum quam notem andamus gepulowitzh onga bonga bimmelon sid est insula

\n

Phone, Internet, Streaming services og other

\n
\n \n EUR 300,00\n \n
',__styles=['div[slot="outside"] {\n display: flex;\n flex-direction: column;\n}'];let y=(()=>{class w{constructor(){this.template=__template,this.styles=__styles[0]}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=x.VBU({type:w,selectors:[["cookbook-item-example-avatar-flagged"]],decls:16,vars:0,consts:[["slot","outside"],["themeColor","success","size","sm"],["themeColor","warning","size","sm"],["overlay","true","slot","start"],["name","moneybag"],["name","attach"],[1,"kirby-item-title"],[1,"kirby-item-detail"],["slot","end","themeColor","success"],["value","300.00"]],template:function(R,H){1&R&&(x.j41(0,"kirby-item")(1,"div",0),x.nrm(2,"kirby-badge",1)(3,"kirby-badge",2),x.k0s(),x.j41(4,"kirby-avatar",3),x.nrm(5,"kirby-icon",4),x.j41(6,"kirby-badge"),x.nrm(7,"kirby-icon",5),x.k0s()(),x.j41(8,"kirby-label")(9,"p",6),x.EFF(10,"Lorem ipsum quam notem andamus gepulowitzh onga bonga bimmelon sid est insula"),x.k0s(),x.j41(11,"p",7),x.EFF(12,"Phone, Internet, Streaming services og other"),x.k0s()(),x.j41(13,"kirby-flag",8)(14,"data",9),x.EFF(15,"EUR 300,00"),x.k0s()()())},dependencies:[n.kA,n.JA,n.UF,i.n,f.f,g.op,g.Rl,s.q],styles:["div[slot=outside][_ngcontent-%COMP%]{display:flex;flex-direction:column}"]})}return w})()},25174:(ft,Z,l)=>{"use strict";l.d(Z,{n:()=>s});var n=l(81365),i=l(47008),f=l(54438);const g_template='\n \n

Title

\n

Detail

\n
\n \n
';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-item-example-button"]],decls:8,vars:0,consts:[[1,"kirby-item-title"],[1,"kirby-item-detail"],["slot","end","kirby-button","","size","sm"]],template:function(w,M){1&w&&(f.j41(0,"kirby-item")(1,"kirby-label")(2,"p",0),f.EFF(3,"Title"),f.k0s(),f.j41(4,"p",1),f.EFF(5,"Detail"),f.k0s()(),f.j41(6,"button",2),f.EFF(7,"Small Button"),f.k0s()())},dependencies:[n.kA,n.JA,n.UF,i.Q],encapsulation:2})}return x})()},85744:(ft,Z,l)=>{"use strict";l.d(Z,{R:()=>x});var n=l(98990),i=l(81365),f=l(57808),g=l(54438);const s_template='\n \n

Title

\n \n
\n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-item-example-card"]],decls:5,vars:0,consts:[["selectable","true"],[1,"kirby-item-title"],["slot","end"]],template:function(M,I){1&M&&(g.j41(0,"kirby-card")(1,"kirby-item",0)(2,"p",1),g.EFF(3,"Title"),g.k0s(),g.nrm(4,"kirby-toggle",2),g.k0s()())},dependencies:[n.Dw,n.ib,i.kA,i.JA,f.a],encapsulation:2})}return _})()},68368:(ft,Z,l)=>{"use strict";l.d(Z,{E:()=>x});var n=l(49969),i=l(98990),f=l(81365),g=l(54438);const s_template='\n \n \n

Disclosure animation example

\n
\n
\n\n
\n

A card with animated disclosure icon

\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

\n
\n
',s_animationCodeSnippetTS="import { animate, state, style, transition, trigger } from '@angular/animations';\n\n@Component({\n ...\n animations: [\n trigger('isExpanded', [\n state('true', style({ height: '*', visibility: 'visible' })),\n state('false', style({ height: '0px', visibility: 'hidden' })),\n transition('true <=> false', animate('0.2s')),\n ]),\n ],\n})\nexport class MyComponent { \n isExpanded = false;\n}";let x=(()=>{class _{constructor(){this.template=s_template,this.animationCodeSnippetTS=s_animationCodeSnippetTS,this.isExpanded=!1}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-item-example-disclosure-animation"]],decls:10,vars:4,consts:[[3,"click","hasPadding"],[3,"hasPadding"],["disclosure","arrow-down",3,"rotateIcon"],[1,"kirby-text-normal-bold"],[1,"kirby-text-bold"]],template:function(M,I){1&M&&(g.j41(0,"kirby-card",0),g.bIt("click",function(){return I.isExpanded=!I.isExpanded}),g.j41(1,"kirby-card-header",1)(2,"kirby-item",2)(3,"p",3),g.EFF(4,"Disclosure animation example"),g.k0s()()(),g.j41(5,"div")(6,"p",4),g.EFF(7,"A card with animated disclosure icon"),g.k0s(),g.j41(8,"p"),g.EFF(9,"Lorem ipsum dolor sit amet, consectetur adipiscing elit."),g.k0s()()()),2&M&&(g.Y8G("hasPadding",!0),g.R7$(),g.Y8G("hasPadding",!1),g.R7$(),g.Y8G("rotateIcon",I.isExpanded),g.R7$(3),g.Y8G("@isExpanded",I.isExpanded))},dependencies:[i.Dw,i.ib,i.lM,i.qq,f.kA,f.JA],styles:["[_nghost-%COMP%]{--kirby-card-padding-top: 0;--kirby-card-padding-bottom: 0}"],data:{animation:[(0,n.hZ)("isExpanded",[(0,n.wk)("true",(0,n.iF)({height:"*",visibility:"visible"})),(0,n.wk)("false",(0,n.iF)({height:"0px",visibility:"hidden"})),(0,n.kY)("true <=> false",(0,n.i0)("0.2s"))])]}})}return _})()},66015:(ft,Z,l)=>{"use strict";l.d(Z,{K:()=>_});var n=l(81365),i=l(28287),f=l(35043),g=l(8346),s=l(54438);const x_template='\n \n \n \n

Title

\n \n 60\n \n
';let _=(()=>{class y{constructor(){this.template=x_template}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-item-example-disclosure"]],decls:8,vars:1,consts:[["selectable","true",3,"disclosure"],["overlay","true","slot","start"],["name","moneybag"],[1,"kirby-item-title"],["slot","end","themeColor","success"],["value","60.0"]],template:function(I,R){1&I&&(s.j41(0,"kirby-item",0)(1,"kirby-avatar",1),s.nrm(2,"kirby-icon",2),s.k0s(),s.j41(3,"p",3),s.EFF(4,"Title"),s.k0s(),s.j41(5,"kirby-flag",4)(6,"data",5),s.EFF(7,"60"),s.k0s()()()),2&I&&s.Y8G("disclosure","arrow-more")},dependencies:[n.kA,n.JA,i.f,f.op,f.Rl,g.q],encapsulation:2})}return y})()},91917:(ft,Z,l)=>{"use strict";l.d(Z,{L:()=>s});var n=l(81365),i=l(28287),f=l(54438);const g_template='\n \n

Line Maria S\xf8rensen

\n
';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-item-example-fab-menu"]],decls:4,vars:0,consts:[["slot","start","imageSrc","/assets/images/woman.png"],[1,"kirby-item-title"]],template:function(w,M){1&w&&(f.j41(0,"kirby-item"),f.nrm(1,"kirby-avatar",0),f.j41(2,"p",1),f.EFF(3,"Line Maria S\xf8rensen"),f.k0s()())},dependencies:[n.kA,n.JA,i.f],encapsulation:2})}return x})()},84202:(ft,Z,l)=>{"use strict";l.d(Z,{b:()=>x});var n=l(81365),i=l(75797),f=l(8346),g=l(54438);const s_template='\n
\n \n \n
\n \n

Title

\n

Detail

\n
\n \n 60\n \n
',s_styles=['div[slot="outside"] {\n display: flex;\n flex-direction: column;\n}'];let x=(()=>{class _{constructor(){this.template=s_template,this.styles=s_styles[0]}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-item-example-flagged"]],decls:12,vars:0,consts:[["slot","outside"],["themeColor","success","size","sm"],["themeColor","warning","size","sm"],[1,"kirby-text-normal-bold"],[1,"kirby-item-detail"],["slot","end","themeColor","success"],["value","60.0"]],template:function(M,I){1&M&&(g.j41(0,"kirby-item")(1,"div",0),g.nrm(2,"kirby-badge",1)(3,"kirby-badge",2),g.k0s(),g.j41(4,"kirby-label")(5,"p",3),g.EFF(6,"Title"),g.k0s(),g.j41(7,"p",4),g.EFF(8,"Detail"),g.k0s()(),g.j41(9,"kirby-flag",5)(10,"data",6),g.EFF(11,"60"),g.k0s()()())},dependencies:[n.kA,n.JA,n.UF,i.n,f.q],styles:["div[slot=outside][_ngcontent-%COMP%]{display:flex;flex-direction:column}"]})}return _})()},85782:(ft,Z,l)=>{"use strict";l.d(Z,{p:()=>_});var n=l(81365),i=l(28287),f=l(75797),g=l(35043),s=l(54438);const x_template='\n \n \n \n \n \n \n \n

Lorem ipsum quam notem andamus gepulowitzh onga bonga bimmelon sid est insula

\n \n
\n

Die Marvin, your papers have arrived and you should be able to sign these within 1 week from today if you follow the instructions below.

\n
\n
';let _=(()=>{class y{constructor(){this.template=x_template}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-item-example-horizontal"]],decls:12,vars:0,consts:[["slot","start","overlay","true","imageSrc","/assets/images/woman.png"],["name","attach"],["direction","horizontal"],[1,"kirby-item-title"],[1,"kirby-item-detail"]],template:function(I,R){1&I&&(s.j41(0,"kirby-item")(1,"kirby-avatar",0)(2,"kirby-badge"),s.nrm(3,"kirby-icon",1),s.k0s()(),s.j41(4,"kirby-label")(5,"kirby-label",2)(6,"p",3),s.EFF(7,"Lorem ipsum quam notem andamus gepulowitzh onga bonga bimmelon sid est insula"),s.k0s(),s.j41(8,"time",4),s.EFF(9,"20.12.2017"),s.k0s()(),s.j41(10,"p"),s.EFF(11,"Die Marvin, your papers have arrived and you should be able to sign these within 1 week from today if you follow the instructions below."),s.k0s()()())},dependencies:[n.kA,n.JA,n.UF,i.f,f.n,g.op,g.Rl],encapsulation:2})}return y})()},27138:(ft,Z,l)=>{"use strict";l.d(Z,{e:()=>_});var n=l(81365),i=l(28287),f=l(35043),g=l(56297),s=l(54438);const x_template='\n \n \n \n

Title

\n \n \n \n
';let _=(()=>{class y{constructor(){this.template=x_template}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-item-example-input-default"]],decls:7,vars:0,consts:[["slot","start"],["name","moneybag"],[1,"kirby-item-title"],["slot","end"],["type","text","kirby-input","","value","Item with input","borderless","true"]],template:function(I,R){1&I&&(s.j41(0,"kirby-item")(1,"kirby-avatar",0),s.nrm(2,"kirby-icon",1),s.k0s(),s.j41(3,"p",2),s.EFF(4,"Title"),s.k0s(),s.j41(5,"kirby-form-field",3),s.nrm(6,"input",4),s.k0s()())},dependencies:[n.kA,n.JA,i.f,f.op,f.Rl,g.LT,g.KS,g.Sj],encapsulation:2})}return y})()},23904:(ft,Z,l)=>{"use strict";l.d(Z,{_:()=>_});var n=l(81365),i=l(28287),f=l(35043),g=l(56297),s=l(54438);const x_template='\n \n \n \n

Title

\n \n \n \n
';let _=(()=>{class y{constructor(){this.template=x_template}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-item-example-input-numeric"]],decls:7,vars:0,consts:[["slot","start"],["name","moneybag"],[1,"kirby-item-title"],["slot","end"],["type","number","kirby-input","","value","100.00","borderless","true"]],template:function(I,R){1&I&&(s.j41(0,"kirby-item")(1,"kirby-avatar",0),s.nrm(2,"kirby-icon",1),s.k0s(),s.j41(3,"p",2),s.EFF(4,"Title"),s.k0s(),s.j41(5,"kirby-form-field",3),s.nrm(6,"input",4),s.k0s()())},dependencies:[n.kA,n.JA,i.f,f.op,f.Rl,g.LT,g.KS,g.Sj],encapsulation:2})}return y})()},31686:(ft,Z,l)=>{"use strict";l.d(Z,{J:()=>x});var n=l(81365),i=l(28287),f=l(35043),g=l(54438);const s_template='\n \n \n \n

Title

\n \n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-item-example-picker-avatar-selected"]],decls:6,vars:0,consts:[["selectable","true","selected","true"],["overlay","true","slot","start"],["name","moneybag"],[1,"kirby-item-title"],["slot","end","name","checkmark-selected"]],template:function(M,I){1&M&&(g.j41(0,"kirby-item",0)(1,"kirby-avatar",1),g.nrm(2,"kirby-icon",2),g.k0s(),g.j41(3,"p",3),g.EFF(4,"Title"),g.k0s(),g.nrm(5,"kirby-icon",4),g.k0s())},dependencies:[n.kA,n.JA,i.f,f.op,f.Rl],encapsulation:2})}return _})()},44962:(ft,Z,l)=>{"use strict";l.d(Z,{c:()=>s});var n=l(81365),i=l(11235),f=l(54438);const g_template='\n \n \n

Title

\n

Detail

\n
\n \n Value\n Detail\n \n
';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-item-example-picker-checkbox"]],decls:12,vars:0,consts:[["selectable","true"],["slot","start"],[1,"kirby-item-title"],[1,"kirby-item-detail"],["slot","end"]],template:function(w,M){1&w&&(f.j41(0,"kirby-item",0),f.nrm(1,"kirby-checkbox",1),f.j41(2,"kirby-label")(3,"p",2),f.EFF(4,"Title"),f.k0s(),f.j41(5,"p",3),f.EFF(6,"Detail"),f.k0s()(),f.j41(7,"kirby-label",4)(8,"data"),f.EFF(9,"Value"),f.k0s(),f.j41(10,"data",3),f.EFF(11,"Detail"),f.k0s()()())},dependencies:[n.kA,n.JA,n.UF,i.P],encapsulation:2})}return x})()},56650:(ft,Z,l)=>{"use strict";l.d(Z,{z:()=>s});var n=l(81365),i=l(35043),f=l(54438);const g_template='\n \n \n

Title

\n

Detail

\n
\n \n Value\n Detail\n \n
';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-item-example-picker-default-selected"]],decls:12,vars:0,consts:[["selectable","true","selected","true"],["name","checkmark-selected","slot","start"],[1,"kirby-item-title"],[1,"kirby-item-detail"],["slot","end"]],template:function(w,M){1&w&&(f.j41(0,"kirby-item",0),f.nrm(1,"kirby-icon",1),f.j41(2,"kirby-label")(3,"p",2),f.EFF(4,"Title"),f.k0s(),f.j41(5,"p",3),f.EFF(6,"Detail"),f.k0s()(),f.j41(7,"kirby-label",4)(8,"data"),f.EFF(9,"Value"),f.k0s(),f.j41(10,"data",3),f.EFF(11,"Detail"),f.k0s()()())},dependencies:[n.kA,n.JA,n.UF,i.op,i.Rl],encapsulation:2})}return x})()},16458:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>g});var n=l(81365),i=l(54438);const f_template='\n \n

Title

\n

Detail

\n
\n \n Value\n Detail\n \n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-picker-default"]],decls:11,vars:0,consts:[["selectable","true"],[1,"kirby-text-normal-bold"],[1,"kirby-item-detail"],["slot","end"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item",0)(1,"kirby-label")(2,"p",1),i.EFF(3,"Title"),i.k0s(),i.j41(4,"p",2),i.EFF(5,"Detail"),i.k0s()(),i.j41(6,"kirby-label",3)(7,"data"),i.EFF(8,"Value"),i.k0s(),i.j41(9,"data",2),i.EFF(10,"Detail"),i.k0s()()())},dependencies:[n.kA,n.JA,n.UF],encapsulation:2})}return s})()},78860:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>s});var n=l(81365),i=l(57808),f=l(54438);const g_template='\n

Disabled

\n \n
';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-item-example-settings-disabled"]],decls:4,vars:0,consts:[["disabled",""],[1,"kirby-item-title"],["slot","end"]],template:function(w,M){1&w&&(f.j41(0,"kirby-item",0)(1,"p",1),f.EFF(2,"Disabled"),f.k0s(),f.nrm(3,"kirby-toggle",2),f.k0s())},dependencies:[n.kA,n.JA,i.a],encapsulation:2})}return x})()},69843:(ft,Z,l)=>{"use strict";l.d(Z,{g:()=>s});var n=l(81365),i=l(57808),f=l(54438);const g_template='\n \n Title\n \n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-item-example-settings"]],decls:3,vars:0,consts:[["slot","end","checked","true"]],template:function(w,M){1&w&&(f.j41(0,"kirby-item")(1,"kirby-toggle",0),f.EFF(2," Title "),f.k0s()())},dependencies:[n.kA,n.JA,i.a],encapsulation:2})}return x})()},8730:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>g});var n=l(81365),i=l(54438);const f_template='\n

Medium (default)

\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple-md"]],decls:3,vars:0,consts:[[1,"kirby-item-title"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item")(1,"p",0),i.EFF(2,"Medium (default)"),i.k0s()())},dependencies:[n.kA,n.JA],encapsulation:2})}return s})()},82795:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>g});var n=l(81365),i=l(54438);const f_template='\n

Small

\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple-sm"]],decls:3,vars:0,consts:[["size","sm"],[1,"kirby-item-title"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item",0)(1,"p",1),i.EFF(2,"Small"),i.k0s()())},dependencies:[n.kA,n.JA],encapsulation:2})}return s})()},89958:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>g});var n=l(81365),i=l(54438);const f_template='\n

Extra small

\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple-xs"]],decls:3,vars:0,consts:[["size","xs"],[1,"kirby-item-title"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item",0)(1,"p",1),i.EFF(2,"Extra small"),i.k0s()())},dependencies:[n.kA,n.JA],encapsulation:2})}return s})()},53098:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>g});var n=l(81365),i=l(54438);const f_template='\n

Title

\n Value\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple"]],decls:5,vars:0,consts:[[1,"kirby-item-title"],["slot","end"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item")(1,"p",0),i.EFF(2,"Title"),i.k0s(),i.j41(3,"data",1),i.EFF(4,"Value"),i.k0s()())},dependencies:[n.kA,n.JA],encapsulation:2})}return s})()},21662:(ft,Z,l)=>{"use strict";l.d(Z,{v:()=>g});var n=l(81365),i=l(54438);const f_template='\n

Title that will be truncated because it has a very long text that cannot fit in the width of the container as it\'s way too long for that and this is why it will be truncated

\n Value\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-long-title"]],decls:5,vars:0,consts:[[1,"kirby-item-title"],["slot","end"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item")(1,"p",0),i.EFF(2,"Title that will be truncated because it has a very long text that cannot fit in the width of the container as it's way too long for that and this is why it will be truncated"),i.k0s(),i.j41(3,"data",1),i.EFF(4,"Value"),i.k0s()())},dependencies:[n.kA,n.JA],encapsulation:2})}return s})()},49501:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>g});var n=l(81365),i=l(54438);const f_template='\n \n

Title

\n

With the \'.kirby-item-wrap\' CSS class - text no longer faces the risk of abrupt truncation. With \'.kirby-item-wrap\' in the mix, the content gracefully extends to the next line, seamlessly continuing its narrative. Take a glance, and you\'ll see how seamlessly it moves to the next line, maintaining readability and preserving the flow of information.

\n

Detail

\n
\n Value\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple-multiline-subtitle"]],decls:13,vars:0,consts:[[1,"kirby-item-title"],[1,"kirby-item-wrap","kirby-item-subtitle"],[1,"kirby-item-detail"],["slot","end","value","value"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item")(1,"kirby-label")(2,"p",0),i.EFF(3,"Title"),i.k0s(),i.j41(4,"p",1),i.EFF(5,"With the '.kirby-item-wrap' CSS class - text no longer faces the risk of abrupt truncation. With "),i.j41(6,"code"),i.EFF(7,"'.kirby-item-wrap'"),i.k0s(),i.EFF(8," in the mix, the content gracefully extends to the next line, seamlessly continuing its narrative. Take a glance, and you'll see how seamlessly it moves to the next line, maintaining readability and preserving the flow of information."),i.k0s(),i.j41(9,"p",2),i.EFF(10,"Detail"),i.k0s()(),i.j41(11,"data",3),i.EFF(12,"Value"),i.k0s()())},dependencies:[n.kA,n.JA,n.UF],encapsulation:2})}return s})()},51436:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>g});var n=l(81365),i=l(54438);const f_template='\n \n

Title

\n

With the \'.kirby-item-wrap\' CSS class - text no longer faces the risk of abrupt truncation. With \'.kirby-item-wrap\' in the mix, the content gracefully extends to the next line, seamlessly continuing its narrative. Take a glance, and you\'ll see how seamlessly it moves to the next line, maintaining readability and preserving the flow of information.

\n
\n Value\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple-multiline"]],decls:11,vars:0,consts:[[1,"kirby-item-title"],[1,"kirby-item-wrap"],["slot","end","value","value"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item")(1,"kirby-label")(2,"p",0),i.EFF(3,"Title"),i.k0s(),i.j41(4,"p",1),i.EFF(5,"With the '.kirby-item-wrap' CSS class - text no longer faces the risk of abrupt truncation. With "),i.j41(6,"code"),i.EFF(7,"'.kirby-item-wrap'"),i.k0s(),i.EFF(8," in the mix, the content gracefully extends to the next line, seamlessly continuing its narrative. Take a glance, and you'll see how seamlessly it moves to the next line, maintaining readability and preserving the flow of information."),i.k0s()(),i.j41(9,"data",2),i.EFF(10,"Value"),i.k0s()())},dependencies:[n.kA,n.JA,n.UF],encapsulation:2})}return s})()},20289:(ft,Z,l)=>{"use strict";l.d(Z,{Q:()=>g});var n=l(81365),i=l(54438);const f_template='\n \n

Title

\n

Subtitle

\n

Detail

\n
\n Value\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple-three-lines"]],decls:10,vars:0,consts:[[1,"kirby-item-title"],[1,"kirby-item-subtitle"],[1,"kirby-item-detail"],["slot","end","value","value",1,"kirby-text-bold"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item")(1,"kirby-label")(2,"p",0),i.EFF(3,"Title"),i.k0s(),i.j41(4,"p",1),i.EFF(5,"Subtitle"),i.k0s(),i.j41(6,"p",2),i.EFF(7,"Detail"),i.k0s()(),i.j41(8,"data",3),i.EFF(9,"Value"),i.k0s()())},dependencies:[n.kA,n.JA,n.UF],encapsulation:2})}return s})()},27495:(ft,Z,l)=>{"use strict";l.d(Z,{g:()=>g});var n=l(81365),i=l(54438);const f_template='\n \n

Title

\n

Detail

\n
\n Value\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple-two-lines"]],decls:8,vars:0,consts:[[1,"kirby-item-title"],[1,"kirby-item-detail"],["slot","end"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item")(1,"kirby-label")(2,"p",0),i.EFF(3,"Title"),i.k0s(),i.j41(4,"p",1),i.EFF(5,"Detail"),i.k0s()(),i.j41(6,"data",2),i.EFF(7,"Value"),i.k0s()())},dependencies:[n.kA,n.JA,n.UF],encapsulation:2})}return s})()},40443:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>g});var n=l(81365),i=l(54438);const f_template='\n

Inventory with a long name

\n \n 50 pcs.\n

2 currently in stock

\n
\n
';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-item-example-simple-two-value-lines"]],decls:8,vars:0,consts:[[1,"kirby-text-normal-bold"],["slot","end"],["value","50"],[1,"kirby-item-detail"]],template:function(y,w){1&y&&(i.j41(0,"kirby-item")(1,"p",0),i.EFF(2,"Inventory with a long name"),i.k0s(),i.j41(3,"kirby-label",1)(4,"data",2),i.EFF(5,"50 pcs."),i.k0s(),i.j41(6,"p",3),i.EFF(7,"2 currently in stock"),i.k0s()()())},dependencies:[n.kA,n.JA,n.UF],encapsulation:2})}return s})()},33382:(ft,Z,l)=>{"use strict";l.d(Z,{q:()=>s});var n=l(67155),i=l(81365),f=l(54438);const g_template='\n \n \n

Title

\n

Detail

\n
\n \n Value\n \n
\n \n \n

Title

\n

Detail

\n
\n \n Value\n \n
\n
\n\n \n \n

Title

\n

Detail

\n
\n \n Value\n \n
\n \n \n

Title

\n

Detail

\n
\n \n Value\n \n
\n
\n';let s=(()=>{class x{constructor(){this.template=g_template}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-simple-item-group-example"]],decls:38,vars:0,consts:[[1,"kirby-text-normal-bold"],[1,"kirby-item-detail"],["slot","end"]],template:function(w,M){1&w&&(f.j41(0,"kirby-item-group")(1,"kirby-item")(2,"kirby-label")(3,"p",0),f.EFF(4,"Title"),f.k0s(),f.j41(5,"p",1),f.EFF(6,"Detail"),f.k0s()(),f.j41(7,"kirby-label",2)(8,"data"),f.EFF(9,"Value"),f.k0s()()(),f.j41(10,"kirby-item")(11,"kirby-label")(12,"p",0),f.EFF(13,"Title"),f.k0s(),f.j41(14,"p",1),f.EFF(15,"Detail"),f.k0s()(),f.j41(16,"kirby-label",2)(17,"data"),f.EFF(18,"Value"),f.k0s()()()(),f.j41(19,"kirby-item-group")(20,"kirby-item")(21,"kirby-label")(22,"p",0),f.EFF(23,"Title"),f.k0s(),f.j41(24,"p",1),f.EFF(25,"Detail"),f.k0s()(),f.j41(26,"kirby-label",2)(27,"data"),f.EFF(28,"Value"),f.k0s()()(),f.j41(29,"kirby-item")(30,"kirby-label")(31,"p",0),f.EFF(32,"Title"),f.k0s(),f.j41(33,"p",1),f.EFF(34,"Detail"),f.k0s()(),f.j41(35,"kirby-label",2)(36,"data"),f.EFF(37,"Value"),f.k0s()()()())},dependencies:[n._,i.kA,i.JA,i.UF],encapsulation:2})}return x})()},35728:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>x});var n=l(67155),i=l(18713),f=l(81365),g=l(54438);const s_template='\n \n

Item Group

\n
\n \n \n

Title

\n

Detail

\n
\n \n Value\n \n
\n \n \n

Title

\n

Detail

\n
\n \n Value\n \n
\n
\n\n \n

Item Group

\n
\n \n \n

Title

\n

Detail

\n
\n \n Value\n \n
\n \n \n

Title

\n

Detail

\n
\n \n Value\n \n
\n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-item-group-with-section-header-example"]],decls:44,vars:0,consts:[["heading",""],[1,"kirby-text-normal-bold"],[1,"kirby-item-detail"],["slot","end"]],template:function(M,I){1&M&&(g.j41(0,"kirby-item-group")(1,"kirby-section-header")(2,"h3",0),g.EFF(3,"Item Group"),g.k0s()(),g.j41(4,"kirby-item")(5,"kirby-label")(6,"p",1),g.EFF(7,"Title"),g.k0s(),g.j41(8,"p",2),g.EFF(9,"Detail"),g.k0s()(),g.j41(10,"kirby-label",3)(11,"data"),g.EFF(12,"Value"),g.k0s()()(),g.j41(13,"kirby-item")(14,"kirby-label")(15,"p",1),g.EFF(16,"Title"),g.k0s(),g.j41(17,"p",2),g.EFF(18,"Detail"),g.k0s()(),g.j41(19,"kirby-label",3)(20,"data"),g.EFF(21,"Value"),g.k0s()()()(),g.j41(22,"kirby-item-group")(23,"kirby-section-header")(24,"h3",0),g.EFF(25,"Item Group"),g.k0s()(),g.j41(26,"kirby-item")(27,"kirby-label")(28,"p",1),g.EFF(29,"Title"),g.k0s(),g.j41(30,"p",2),g.EFF(31,"Detail"),g.k0s()(),g.j41(32,"kirby-label",3)(33,"data"),g.EFF(34,"Value"),g.k0s()()(),g.j41(35,"kirby-item")(36,"kirby-label")(37,"p",1),g.EFF(38,"Title"),g.k0s(),g.j41(39,"p",2),g.EFF(40,"Detail"),g.k0s()(),g.j41(41,"kirby-label",3)(42,"data"),g.EFF(43,"Value"),g.k0s()()()())},dependencies:[n._,i.U,f.kA,f.JA,f.UF],encapsulation:2})}return _})()},11330:(ft,Z,l)=>{"use strict";l.d(Z,{R:()=>y});var n=l(29756),i=l(60177),f=l(84584),g=l(81365),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item-sliding",1)(1,"kirby-item"),s.EFF(2),s.k0s()()),2&w){const I=M.$implicit,R=M.index,H=s.XpG();s.Y8G("swipeActions",H.getSwipeActions(R)),s.R7$(2),s.JRh(I.value)}}const __template='

{{text}}

\n\n \n {{ item.value }}\n \n',__codeSnippet="export class ItemSlidingConditionalExampleComponent {\n text = 'Nothing was selected';\n\n items = [\n {\n value: 'Vestas Wind Systems',\n isDeleteable: true,\n },\n {\n value: 'Cypress Semiconductor Corporation',\n isDeleteable: false,\n },\n {\n value: 'Ultragenyx Pharmaceutical Inc.',\n isDeleteable: false,\n },\n {\n value: 'Astronics Corporation',\n isDeleteable: true,\n },\n ];\n\n getSwipeActions(index: number): ItemSwipeAction[] {\n const { isDeleteable } = this.items[index];\n\n return [\n {\n title: 'edit',\n type: 'success',\n onSelected: () => {\n this.text = 'Edit was clicked';\n },\n },\n {\n title: 'archive',\n type: 'warning',\n onSelected: () => {\n this.text = 'Archive was clicked';\n },\n },\n {\n title: 'delete',\n icon: 'trash',\n onSelected: () => {\n this.text = 'Delete was clicked';\n },\n type: 'danger',\n isDisabled: !isDeleteable,\n },\n ];\n }\n}";let y=(()=>{class w{constructor(){this.template=__template,this.codeSnippet=__codeSnippet,this.text="Nothing was selected",this.items=[{value:"Vestas Wind Systems",isDeleteable:!0},{value:"Cypress Semiconductor Corporation",isDeleteable:!1},{value:"Ultragenyx Pharmaceutical Inc.",isDeleteable:!1},{value:"Astronics Corporation",isDeleteable:!0}]}getSwipeActions(I){const{isDeleteable:R}=this.items[I];return[{title:"edit",type:"success",onSelected:()=>{this.text="Edit was clicked"}},{title:"archive",type:"warning",onSelected:()=>{this.text="Archive was clicked"}},{title:"delete",icon:"trash",onSelected:()=>{this.text="Delete was clicked"},type:"danger",isDisabled:!R}]}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-item-sliding-conditional-example"]],decls:4,vars:2,consts:[[3,"swipeActions",4,"ngFor","ngForOf"],[3,"swipeActions"]],template:function(R,H){1&R&&(s.j41(0,"p"),s.EFF(1),s.k0s(),s.j41(2,"kirby-list-experimental"),s.DNE(3,x,3,2,"kirby-item-sliding",0),s.k0s()),2&R&&(s.R7$(),s.JRh(H.text),s.R7$(2),s.Y8G("ngForOf",H.items))},dependencies:[n.HV,n.qN,i.pM,f.d,g.kA,g.JA],encapsulation:2})}return w})()},81568:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>g});var n=l(47868),i=l(54438);const f_template='Extra small\nSmall\nNormal (default)';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-link-example-default"]],decls:6,vars:3,consts:[[1,"kirby-text-xsmall",3,"routerLink"],[1,"kirby-text-small",3,"routerLink"],[3,"routerLink"]],template:function(y,w){1&y&&(i.j41(0,"a",0),i.EFF(1,"Extra small"),i.k0s(),i.j41(2,"a",1),i.EFF(3,"Small"),i.k0s(),i.j41(4,"a",2),i.EFF(5,"Normal (default)"),i.k0s()),2&y&&(i.Y8G("routerLink","/home/changelog"),i.R7$(2),i.Y8G("routerLink","/home/changelog"),i.R7$(2),i.Y8G("routerLink","/home/changelog"))},dependencies:[n.Wk],styles:['[_nghost-%COMP%]{display:block;margin-bottom:16px}[_nghost-%COMP%] a[_ngcontent-%COMP%]{margin-right:16px}.trailing-icon-example[_ngcontent-%COMP%]{background-image:url(/assets/kirby/icons/svg/navigation.svg);background-image:-webkit-image-set("assets/kirby/icons/svg/navigation.svg");background-image:image-set("assets/kirby/icons/svg/navigation.svg");white-space:nowrap;background-repeat:no-repeat;background-position:right 50%;background-size:1.5em;padding-right:calc(1.5em + 4px)}']})}return s})()},96325:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>f});var n=l(54438);let f=(()=>{class g{constructor(){this.template='Kirby on Github'}static#e=this.\u0275fac=function(_){return new(_||g)};static#t=this.\u0275cmp=n.VBU({type:g,selectors:[["cookbook-link-example-new-tab"]],decls:2,vars:0,consts:[["target","_blank","href","https://github.com/kirbydesign/designsystem",1,"kirby-external-icon"]],template:function(_,y){1&_&&(n.j41(0,"a",0),n.EFF(1,"Kirby on Github"),n.k0s())},styles:['[_nghost-%COMP%]{display:block;margin-bottom:16px}[_nghost-%COMP%] a[_ngcontent-%COMP%]{margin-right:16px}.trailing-icon-example[_ngcontent-%COMP%]{background-image:url(/assets/kirby/icons/svg/navigation.svg);background-image:-webkit-image-set("assets/kirby/icons/svg/navigation.svg");background-image:image-set("assets/kirby/icons/svg/navigation.svg");white-space:nowrap;background-repeat:no-repeat;background-position:right 50%;background-size:1.5em;padding-right:calc(1.5em + 4px)}']})}return g})()},35022:(ft,Z,l)=>{"use strict";l.d(Z,{p:()=>_,w:()=>y});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item",3)(1,"kirby-label")(2,"p",4),s.EFF(3),s.k0s(),s.j41(4,"p",5),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",6)(7,"data",7),s.EFF(8),s.k0s(),s.j41(9,"data",8),s.EFF(10),s.k0s()()()),2&w){const I=M.$implicit;s.Y8G("selectable",!0),s.R7$(3),s.JRh(I.title),s.R7$(2),s.JRh(I.subTitle),s.R7$(2),s.Y8G("value",I.amount),s.R7$(),s.JRh(I.amount),s.R7$(),s.Y8G("value",I.detail),s.R7$(),s.JRh(I.detail)}}const _='\n \n \n

{{item.title}}

\n

{{item.subTitle}}

\n
\n \n {{item.amount}}\n {{item.detail}}\n \n
\n';let y=(()=>{class w extends g.p{constructor(){super(...arguments),this.getItemColor=I=>I.color}static#e=this.\u0275fac=(()=>{let I;return function(H){return(I||(I=s.xGo(w)))(H||w)}})();static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-list-colored-items-example"]],features:[s.Vt3],decls:4,vars:2,consts:[["title","List colored items"],[3,"itemSelect","items","getItemColor"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"selectable"],[1,"kirby-item-title"],[1,"kirby-item-subtitle"],["slot","end"],[3,"value"],[1,"kirby-item-detail",3,"value"]],template:function(R,H){1&R&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.bIt("itemSelect",function(L){return H.onItemSelect(L)}),s.DNE(3,x,11,7,"kirby-item",2),s.k0s()()()),2&R&&(s.R7$(2),s.Y8G("items",H.items)("getItemColor",H.getItemColor))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,f.kA,f.JA,f.UF],encapsulation:2})}return w})()},33082:(ft,Z,l)=>{"use strict";l.d(Z,{V:()=>I,w:()=>M});var n=l(91365),i=l(29756),f=l(81365),g=l(47008),s=l(60881),x=l(54438);function _(R,H){1&R&&(x.j41(0,"kirby-list-header")(1,"p"),x.EFF(2,"Name"),x.k0s(),x.j41(3,"p"),x.EFF(4,"Value"),x.k0s()())}function y(R,H){if(1&R&&(x.j41(0,"kirby-item",5)(1,"kirby-label")(2,"p",6),x.EFF(3),x.k0s(),x.j41(4,"p",7),x.EFF(5),x.k0s()(),x.j41(6,"kirby-label",8)(7,"data",9),x.EFF(8),x.k0s(),x.j41(9,"data",10),x.EFF(10),x.k0s()()()),2&R){const K=H.$implicit;x.Y8G("selectable",!0),x.R7$(3),x.JRh(K.title),x.R7$(2),x.JRh(K.subTitle),x.R7$(2),x.Y8G("value",K.amount),x.R7$(),x.JRh(K.amount),x.R7$(),x.Y8G("value",K.detail),x.R7$(),x.JRh(K.detail)}}function w(R,H){1&R&&(x.j41(0,"div",11)(1,"p"),x.EFF(2,"An appropriate footer"),x.k0s(),x.j41(3,"button",12),x.EFF(4,"Click me!"),x.k0s()())}const M='\n \x3c!-- HEADER--\x3e\n \n

Name

\n

Value

\n
\n\n \x3c!-- BODY --\x3e\n \n \n

{{item.title}}

\n

{{item.subTitle}}

\n
\n \n {{item.amount}}\n {{item.detail}}\n \n
\n\n \x3c!-- Footer --\x3e\n \n
';let I=(()=>{class R extends s.p{static#e=this.\u0275fac=(()=>{let K;return function(he){return(K||(K=x.xGo(R)))(he||R)}})();static#t=this.\u0275cmp=x.VBU({type:R,selectors:[["cookbook-list-with-header-and-footer-example"]],features:[x.Vt3],decls:6,vars:1,consts:[["title","List with header and footer"],[3,"itemSelect","items"],[4,"kirbyListHeader"],[3,"selectable",4,"kirbyListItemTemplate"],["class","footer",4,"kirbyListFooter"],[3,"selectable"],[1,"kirby-item-title"],[1,"kirby-item-subtitle"],["slot","end"],[3,"value"],[1,"kirby-item-detail",3,"value"],[1,"footer"],["kirby-button",""]],template:function(L,he){1&L&&(x.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),x.bIt("itemSelect",function(be){return he.onItemSelect(be)}),x.DNE(3,_,5,0,"kirby-list-header",2)(4,y,11,7,"kirby-item",3)(5,w,5,0,"div",4),x.k0s()()()),2&L&&(x.R7$(2),x.Y8G("items",he.items))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,i.L9,i.px,i.HO,f.kA,f.JA,f.UF,g.Q],styles:["p[_ngcontent-%COMP%]{margin:0}",".footer[_ngcontent-%COMP%]{text-align:center;width:100%}"]})}return R})()},99080:(ft,Z,l)=>{"use strict";l.d(Z,{E:()=>_,F:()=>y});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item")(1,"p",3),s.EFF(2),s.k0s(),s.j41(3,"data",4),s.EFF(4),s.k0s()()),2&w){const I=M.$implicit;s.R7$(2),s.JRh(I.title),s.R7$(2),s.JRh(I.amount)}}const _='\n \n

{{item.title}}

\n {{item.amount}}\n
\n
';let y=(()=>{class w extends g.p{static#e=this.\u0275fac=(()=>{let I;return function(H){return(I||(I=s.xGo(w)))(H||w)}})();static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-list-items-no-dividers-example"]],features:[s.Vt3],decls:4,vars:2,consts:[["title","Items with no dividers"],[3,"items","showDivider"],[4,"kirbyListItemTemplate"],[1,"kirby-item-title"],["slot","end"]],template:function(R,H){1&R&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.DNE(3,x,5,2,"kirby-item",2),s.k0s()()()),2&R&&(s.R7$(2),s.Y8G("items",H.items)("showDivider",!1))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,f.kA,f.JA],encapsulation:2})}return w})()},32737:(ft,Z,l)=>{"use strict";l.d(Z,{K:()=>y,X:()=>_});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item")(1,"p",3),s.EFF(2),s.k0s(),s.j41(3,"data",4),s.EFF(4),s.k0s()()),2&w){const I=M.$implicit;s.R7$(2),s.JRh(I.title),s.R7$(2),s.JRh(I.amount)}}const _='\n \n

{{item.title}}

\n {{item.amount}}\n
\n
';let y=(()=>{class w extends g.p{static#e=this.\u0275fac=(()=>{let I;return function(H){return(I||(I=s.xGo(w)))(H||w)}})();static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-list-items-example"]],features:[s.Vt3],decls:4,vars:1,consts:[["title","Items"],[3,"items"],[4,"kirbyListItemTemplate"],[1,"kirby-item-title"],["slot","end"]],template:function(R,H){1&R&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.DNE(3,x,5,2,"kirby-item",2),s.k0s()()()),2&R&&(s.R7$(2),s.Y8G("items",H.items))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,f.kA,f.JA],encapsulation:2})}return w})()},23579:(ft,Z,l)=>{"use strict";l.d(Z,{M:()=>y,r:()=>w});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(M,I){1&M&&s.nrm(0,"kirby-list-section-header",4),2&M&&s.Y8G("title",I.$implicit)}function _(M,I){if(1&M&&(s.j41(0,"kirby-item",5)(1,"kirby-label")(2,"p",6),s.EFF(3),s.k0s(),s.j41(4,"data",7),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",8)(7,"data",9),s.EFF(8),s.k0s()()()),2&M){const R=I.$implicit;s.Y8G("selectable",!0),s.R7$(3),s.JRh(R.title),s.R7$(),s.Y8G("value",R.detail),s.R7$(),s.JRh(R.detail),s.R7$(2),s.Y8G("value",R.amount),s.R7$(),s.JRh(R.amount)}}const y='\n \n \n \n

{{ item.title }}

\n {{ item.detail }}\n
\n \n {{ item.amount }}\n \n
\n';let w=(()=>{class M extends g.p{constructor(){super(...arguments),this.getItemColor=R=>R.color}getSectionName(R){return R.detail>0?"Positive":"Negative"}static#e=this.\u0275fac=(()=>{let R;return function(K){return(R||(R=s.xGo(M)))(K||M)}})();static#t=this.\u0275cmp=s.VBU({type:M,selectors:[["cookbook-list-with-sections-and-colored-items-example"]],features:[s.Vt3],decls:5,vars:3,consts:[["title","List with sections and colored items"],[3,"itemSelect","items","getSectionName","getItemColor"],[3,"title",4,"kirbyListSectionHeader"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"title"],[3,"selectable"],[1,"kirby-item-title"],[1,"kirby-item-detail",3,"value"],["slot","end"],[3,"value"]],template:function(H,K){1&H&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.bIt("itemSelect",function(he){return K.onItemSelect(he)}),s.DNE(3,x,1,1,"kirby-list-section-header",2)(4,_,9,6,"kirby-item",3),s.k0s()()()),2&H&&(s.R7$(2),s.Y8G("items",K.items)("getSectionName",K.getSectionName)("getItemColor",K.getItemColor))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,i.Wi,i.yr,f.kA,f.JA,f.UF],encapsulation:2})}return M})()},69780:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>w,t:()=>y});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(M,I){1&M&&s.nrm(0,"kirby-list-section-header",4),2&M&&s.Y8G("title",I.$implicit)}function _(M,I){if(1&M&&(s.j41(0,"kirby-item",5)(1,"kirby-label")(2,"p",6),s.EFF(3),s.k0s(),s.j41(4,"data",7),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",8)(7,"data",9),s.EFF(8),s.k0s()()()),2&M){const R=I.$implicit;s.Y8G("selectable",!0),s.R7$(3),s.JRh(R.title),s.R7$(),s.Y8G("value",R.detail),s.R7$(),s.JRh(R.detail),s.R7$(2),s.Y8G("value",R.amount),s.R7$(),s.JRh(R.amount)}}const y='\n \n \n \n

{{ item.title }}

\n {{ item.detail }}\n
\n \n {{ item.amount }}\n \n
\n';let w=(()=>{class M extends g.p{getSectionName(R){return R.detail>0?"Positive":"Negative"}static#e=this.\u0275fac=(()=>{let R;return function(K){return(R||(R=s.xGo(M)))(K||M)}})();static#t=this.\u0275cmp=s.VBU({type:M,selectors:[["cookbook-list-with-stand-alone-example"]],features:[s.Vt3],decls:5,vars:4,consts:[["title","List with sections and stand alone items"],[3,"itemSelect","items","getStandAloneByProperty","getSectionName","standAloneSpacing"],[3,"title",4,"kirbyListSectionHeader"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"title"],[3,"selectable"],[1,"kirby-item-title"],[1,"kirby-item-detail",3,"value"],["slot","end"],[3,"value"]],template:function(H,K){1&H&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.bIt("itemSelect",function(he){return K.onItemSelect(he)}),s.DNE(3,x,1,1,"kirby-list-section-header",2)(4,_,9,6,"kirby-item",3),s.k0s()()()),2&H&&(s.R7$(2),s.Y8G("items",K.items)("getStandAloneByProperty","isStandAlone")("getSectionName",K.getSectionName)("standAloneSpacing","xxs"))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,i.Wi,i.yr,f.kA,f.JA,f.UF],encapsulation:2})}return M})()},40041:(ft,Z,l)=>{"use strict";l.d(Z,{I:()=>w,p:()=>y});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(M,I){1&M&&s.nrm(0,"kirby-list-section-header",4),2&M&&s.Y8G("title",I.$implicit)}function _(M,I){if(1&M&&(s.j41(0,"kirby-item",5)(1,"kirby-label")(2,"p",6),s.EFF(3),s.k0s(),s.j41(4,"data",7),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",8)(7,"data",9),s.EFF(8),s.k0s()()()),2&M){const R=I.$implicit;s.Y8G("selectable",!0),s.R7$(3),s.JRh(R.title),s.R7$(),s.Y8G("value",R.detail),s.R7$(),s.JRh(R.detail),s.R7$(2),s.Y8G("value",R.amount),s.R7$(),s.JRh(R.amount)}}const y='\n \n \n \n

{{ item.title }}

\n {{ item.detail }}\n
\n \n {{ item.amount }}\n \n
\n';let w=(()=>{class M extends g.p{getSectionName(R){return R.detail>0?"Positive":"Negative"}static#e=this.\u0275fac=(()=>{let R;return function(K){return(R||(R=s.xGo(M)))(K||M)}})();static#t=this.\u0275cmp=s.VBU({type:M,selectors:[["cookbook-list-with-sections-example"]],features:[s.Vt3],decls:5,vars:2,consts:[["title","List with sections"],[3,"itemSelect","items","getSectionName"],[3,"title",4,"kirbyListSectionHeader"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"title"],[3,"selectable"],[1,"kirby-item-title"],[1,"kirby-item-detail",3,"value"],["slot","end"],[3,"value"]],template:function(H,K){1&H&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.bIt("itemSelect",function(he){return K.onItemSelect(he)}),s.DNE(3,x,1,1,"kirby-list-section-header",2)(4,_,9,6,"kirby-item",3),s.k0s()()()),2&H&&(s.R7$(2),s.Y8G("items",K.items)("getSectionName",K.getSectionName))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,i.Wi,i.yr,f.kA,f.JA,f.UF],encapsulation:2})}return M})()},98988:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>y,z:()=>_});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item",3)(1,"p",4),s.EFF(2),s.k0s(),s.j41(3,"data",5),s.EFF(4),s.k0s()()),2&w){const I=M.$implicit;s.Y8G("selectable",!0),s.R7$(2),s.JRh(I.title),s.R7$(2),s.JRh(I.amount)}}const _='\n \n

{{item.title}}

\n {{item.amount}}\n
\n
';let y=(()=>{class w extends g.p{static#e=this.\u0275fac=(()=>{let I;return function(H){return(I||(I=s.xGo(w)))(H||w)}})();static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-list-selectable-items-example"]],features:[s.Vt3],decls:4,vars:1,consts:[["title","Selectable items"],[3,"itemSelect","items"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"selectable"],[1,"kirby-item-title"],["slot","end",1,"kirby-text-bold"]],template:function(R,H){1&R&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.bIt("itemSelect",function(L){return H.onItemSelect(L)}),s.DNE(3,x,5,3,"kirby-item",2),s.k0s()()()),2&R&&(s.R7$(2),s.Y8G("items",H.items))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,f.kA,f.JA],encapsulation:2})}return w})()},53903:(ft,Z,l)=>{"use strict";l.d(Z,{S:()=>_,n:()=>y});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item",3)(1,"kirby-label")(2,"p",4),s.EFF(3),s.k0s(),s.j41(4,"data",5),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",6)(7,"data",7),s.EFF(8),s.k0s()()()),2&w){const I=M.$implicit;s.Y8G("selectable",!0),s.R7$(3),s.JRh(I.title),s.R7$(),s.Y8G("value",I.detail),s.R7$(),s.JRh(I.detail),s.R7$(2),s.Y8G("value",I.amount),s.R7$(),s.JRh(I.amount)}}const _='\n \n \n

{{ item.title }}

\n {{ item.detail }}\n
\n \n {{ item.amount }}\n \n
\n';let y=(()=>{class w extends g.p{static#e=this.\u0275fac=(()=>{let I;return function(H){return(I||(I=s.xGo(w)))(H||w)}})();static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-list-with-stand-alone-example"]],features:[s.Vt3],decls:4,vars:3,consts:[["title","List with stand alone"],[3,"itemSelect","items","getStandAloneByProperty","standAloneSpacing"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"selectable"],[1,"kirby-item-title"],[1,"kirby-item-detail",3,"value"],["slot","end"],[3,"value"]],template:function(R,H){1&R&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.bIt("itemSelect",function(L){return H.onItemSelect(L)}),s.DNE(3,x,9,6,"kirby-item",2),s.k0s()()()),2&R&&(s.R7$(2),s.Y8G("items",H.items)("getStandAloneByProperty","isStandAlone")("standAloneSpacing","xxs"))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,f.kA,f.JA,f.UF],encapsulation:2})}return w})()},46692:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>w});var n=l(29756),i=l(60177),f=l(84584),g=l(81365),s=l(60881),x=l(54438);function _(M,I){if(1&M&&(x.j41(0,"kirby-item-sliding",1)(1,"kirby-item")(2,"p"),x.EFF(3),x.k0s(),x.j41(4,"data",2),x.EFF(5),x.k0s()()()),2&M){const R=I.$implicit,H=x.XpG();x.Y8G("swipeActions",H.swipeActions),x.R7$(3),x.JRh(R.title),x.R7$(2),x.JRh(R.amount)}}let w=(()=>{class M extends s.p{constructor(){super(...arguments),this.template='\n \n \n

{{ item.title }}

\n {{item.amount}}\n
\n
\n
',this.swipeActions=[{title:"edit",type:"success",onSelected:()=>{}},{title:"archive",type:"warning",onSelected:()=>{}},{title:"delete",icon:"trash",onSelected:()=>{},type:"danger"}]}static#e=this.\u0275fac=(()=>{let R;return function(K){return(R||(R=x.xGo(M)))(K||M)}})();static#t=this.\u0275cmp=x.VBU({type:M,selectors:[["cookbook-list-experimental-sliding-items-example"]],features:[x.Vt3],decls:2,vars:1,consts:[[3,"swipeActions",4,"ngFor","ngForOf"],[3,"swipeActions"],["slot","end",1,"kirby-text-bold"]],template:function(H,K){1&H&&(x.j41(0,"kirby-list-experimental"),x.DNE(1,_,6,3,"kirby-item-sliding",0),x.k0s()),2&H&&(x.R7$(),x.Y8G("ngForOf",K.items))},dependencies:[n.HV,n.qN,i.pM,f.d,g.kA,g.JA],encapsulation:2})}return M})()},57671:(ft,Z,l)=>{"use strict";l.d(Z,{s:()=>w});var n=l(29756),i=l(18713),f=l(60177),g=l(81365),s=l(60881),x=l(54438);function _(M,I){if(1&M&&(x.j41(0,"kirby-item")(1,"p"),x.EFF(2),x.k0s(),x.j41(3,"data",3),x.EFF(4),x.k0s()()),2&M){const R=I.$implicit;x.R7$(2),x.JRh(R.title),x.R7$(2),x.JRh(R.amount)}}let w=(()=>{class M extends s.p{constructor(){super(...arguments),this.template='\n \n

Stocks

\n
\n \n

{{ item.title }}

\n {{item.amount}}\n
\n
'}static#e=this.\u0275fac=(()=>{let R;return function(K){return(R||(R=x.xGo(M)))(K||M)}})();static#t=this.\u0275cmp=x.VBU({type:M,selectors:[["cookbook-list-experimental-items-example"]],features:[x.Vt3],decls:5,vars:1,consts:[["outside",""],["heading",""],[4,"ngFor","ngForOf"],["slot","end",1,"kirby-text-bold"]],template:function(H,K){1&H&&(x.j41(0,"kirby-list-experimental")(1,"kirby-section-header",0)(2,"h2",1),x.EFF(3,"Stocks"),x.k0s()(),x.DNE(4,_,5,2,"kirby-item",2),x.k0s()),2&H&&(x.R7$(4),x.Y8G("ngForOf",K.items))},dependencies:[n.HV,n.qN,i.U,f.pM,g.kA,g.JA],encapsulation:2})}return M})()},34823:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>y,f:()=>_});var n=l(91365),i=l(29756),f=l(81365),g=l(60881),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item")(1,"kirby-label")(2,"p",3),s.EFF(3),s.k0s(),s.j41(4,"p",4),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",5)(7,"data",6),s.EFF(8),s.k0s(),s.j41(9,"data",7),s.EFF(10),s.k0s()()()),2&w){const I=M.$implicit;s.R7$(3),s.JRh(I.title),s.R7$(2),s.JRh(I.subTitle),s.R7$(2),s.Y8G("value",I.amount),s.R7$(),s.JRh(I.amount),s.R7$(),s.Y8G("value",I.detail),s.R7$(),s.JRh(I.detail)}}const _='\n\n \n \n

{{ item.title }}

\n

{{ item.subTitle }}

\n
\n \n {{ item.amount }}\n {{ item.detail }}\n \n
\n
';let y=(()=>{class w extends g.p{constructor(){super(),this.itemCount=0,this.items.push(...this.generateItems())}onLoadDemand(I){this.itemCount<=20?setTimeout(()=>{this.items.push(...this.generateItems()),I.complete()},2e3):I.complete(!0)}generateItems(){const I=[];for(let H=0;H<10;H++){this.itemCount++;const K={title:`Item ${this.itemCount}`,subTitle:`${Math.round(100*Math.random())} pcs`,amount:`${Math.round(1e3*Math.random())} DKK`,detail:Math.round(100*Math.random())};I.push(K)}return I}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-list-load-on-demand-example"]],features:[s.Vt3],decls:4,vars:1,consts:[["title","Load On Demand"],["noMoreItemsText","No more items",3,"loadOnDemand","items"],[4,"kirbyListItemTemplate"],[1,"kirby-item-title"],[1,"kirby-item-subtitle"],["slot","end"],[3,"value"],[1,"kirby-item-detail",3,"value"]],template:function(R,H){1&R&&(s.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),s.bIt("loadOnDemand",function(L){return H.onLoadDemand(L)}),s.DNE(3,x,11,6,"kirby-item",2),s.k0s()()()),2&R&&(s.R7$(2),s.Y8G("items",H.items))},dependencies:[n.wq,n.H1,n.Uu,i.HV,i.sB,i.bx,f.kA,f.JA,f.UF],encapsulation:2})}return w})()},19701:(ft,Z,l)=>{"use strict";l.d(Z,{w:()=>n});class n{constructor(){this.items=[{title:"Holiday with friends",amount:-37445.02325},{title:"Savings",amount:923367.2356},{title:"Expenses",amount:65128.45,shadowAccounts:[{title:"Food",amount:376.12},{title:"Car",amount:62376.12},{title:"Misc",amount:2376.12}]}]}}},81096:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>I});var n=l(98990),i=l(41727),f=l(29756),g=l(81365),s=l(60177),x=l(19701),_=l(54438);const y=()=>["Much cool","Such items","Wow"];function w(R,H){if(1&R&&(_.j41(0,"kirby-item")(1,"p",3),_.EFF(2),_.k0s(),_.j41(3,"data",4),_.EFF(4),_.nI1(5,"currency"),_.k0s()()),2&R){const K=H.$implicit;_.R7$(2),_.JRh(K.title),_.R7$(),_.Y8G("value",K.amount),_.R7$(),_.SpI(" ",_.bMT(5,3,K.amount)," ")}}let I=(()=>{class R extends x.w{constructor(){super(...arguments),this.template='\n \n \n \n

{{ item.title }}

\n \n {{ item.amount | currency }}\n \n
\n
\n
'}static#e=this.\u0275fac=(()=>{let K;return function(he){return(K||(K=_.xGo(R)))(he||R)}})();static#t=this.\u0275cmp=_.VBU({type:R,selectors:[["cookbook-detailed-card-with-list-no-shape-example"]],features:[_.Vt3],decls:4,vars:3,consts:[["placeholder","Options",1,"margin",3,"items"],["shape","none",3,"items"],[4,"kirbyListItemTemplate"],[1,"kirby-text-normal-bold"],["slot","end",3,"value"]],template:function(L,he){1&L&&(_.j41(0,"kirby-card"),_.nrm(1,"kirby-dropdown",0),_.j41(2,"kirby-list",1),_.DNE(3,w,6,5,"kirby-item",2),_.k0s()()),2&L&&(_.R7$(),_.Y8G("items",_.lJ4(2,y)),_.R7$(),_.Y8G("items",he.items))},dependencies:[n.Dw,n.ib,i.kr,i.Ps,f.bx,f.HV,f.sB,g.kA,g.JA,s.oe],styles:[".margin[_ngcontent-%COMP%]{margin-top:16px;margin-inline:16px}","kirby-card[_ngcontent-%COMP%]{min-height:224px}"]})}return R})()},23114:(ft,Z,l)=>{"use strict";l.d(Z,{p:()=>I});var n=l(29756),i=l(98990),f=l(60177),g=l(81365),s=l(19701),x=l(54438);function _(R,H){1&R&&x.nrm(0,"kirby-card-header",6),2&R&&x.Y8G("flagged","warning")}function y(R,H){if(1&R&&(x.j41(0,"kirby-item")(1,"h4"),x.EFF(2),x.k0s(),x.j41(3,"data",7),x.EFF(4),x.nI1(5,"currency"),x.k0s()()),2&R){const K=H.$implicit;x.R7$(2),x.JRh(K.title),x.R7$(),x.Y8G("value",K.amount),x.R7$(),x.JRh(x.bMT(5,3,K.amount))}}function w(R,H){if(1&R&&(x.j41(0,"kirby-card"),x.DNE(1,_,1,1,"kirby-card-header",2),x.j41(2,"kirby-item")(3,"h4",3),x.EFF(4),x.k0s(),x.j41(5,"data",4),x.EFF(6),x.nI1(7,"currency"),x.k0s()(),x.DNE(8,y,6,5,"kirby-item",5),x.k0s()),2&R){const K=H.$implicit;x.R7$(),x.Y8G("ngIf",K.amount<0),x.R7$(3),x.JRh(K.title),x.R7$(),x.Y8G("value",K.amount),x.R7$(),x.SpI(" ",x.bMT(7,5,K.amount)," "),x.R7$(2),x.Y8G("ngForOf",K.shadowAccounts)}}let I=(()=>{class R extends s.w{constructor(){super(...arguments),this.template='\n \n \n \n

{{ item.title }}

\n \n {{ item.amount | currency }}\n \n
\n \n

{{ shadowAccount.title }}

\n {{ shadowAccount.amount | currency }}\n
\n
\n
\n'}static#e=this.\u0275fac=(()=>{let K;return function(he){return(K||(K=x.xGo(R)))(he||R)}})();static#t=this.\u0275cmp=x.VBU({type:R,selectors:[["cookbook-multi-card-list-no-shape-example"]],features:[x.Vt3],decls:2,vars:2,consts:[["shape","none","hasItemSpacing","true",3,"items","showDivider"],[4,"kirbyListItemTemplate"],["title","Account is overdraft",3,"flagged",4,"ngIf"],[1,"kirby-text-bold"],["slot","end",1,"kirby-text-bold",3,"value"],[4,"ngFor","ngForOf"],["title","Account is overdraft",3,"flagged"],["slot","end",3,"value"]],template:function(L,he){1&L&&(x.j41(0,"kirby-list",0),x.DNE(1,w,9,7,"kirby-card",1),x.k0s()),2&L&&x.Y8G("items",he.items)("showDivider",!1)},dependencies:[n.HV,n.sB,n.bx,i.Dw,i.ib,i.lM,f.bT,g.kA,g.JA,f.pM,f.oe],encapsulation:2})}return R})()},73182:(ft,Z,l)=>{"use strict";l.d(Z,{i:()=>y});var n=l(29756),i=l(81365),f=l(60177),g=l(19701),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item")(1,"p",2),s.EFF(2),s.k0s(),s.j41(3,"data",3),s.EFF(4),s.nI1(5,"currency"),s.k0s()()),2&w){const I=M.$implicit;s.R7$(2),s.JRh(I.title),s.R7$(),s.Y8G("value",I.amount),s.R7$(),s.SpI(" ",s.bMT(5,3,I.amount)," ")}}let y=(()=>{class w extends g.w{constructor(){super(...arguments),this.template='\n \n

{{ item.title }}

\n \n {{ item.amount | currency }}\n \n
\n
'}static#e=this.\u0275fac=(()=>{let I;return function(H){return(I||(I=s.xGo(w)))(H||w)}})();static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-simple-list-no-shape-example"]],features:[s.Vt3],decls:2,vars:1,consts:[["shape","none",3,"items"],[4,"kirbyListItemTemplate"],[1,"kirby-text-normal-bold"],["slot","end",3,"value"]],template:function(R,H){1&R&&(s.j41(0,"kirby-list",0),s.DNE(1,x,6,5,"kirby-item",1),s.k0s()),2&R&&s.Y8G("items",H.items)},dependencies:[n.HV,n.sB,n.bx,i.kA,i.JA,f.oe],encapsulation:2})}return w})()},60881:(ft,Z,l)=>{"use strict";l.d(Z,{p:()=>n});class n{constructor(){this.itemsFullList=[{id:0,title:"Vestas Wind Systems has a very long name",subTitle:"2000 pcs",amount:"5.587.218.309 DKK",detail:225,color:"default"},{id:1,title:"Cypress Semiconductor Corporation",subTitle:"1827 pcs",amount:"76.980 DKK",detail:-3,color:"light"},{id:2,title:"Ultragenyx Pharmaceutical Inc.",subTitle:"787 pcs",amount:"83.004 DKK",detail:-115,color:"white"},{id:3,title:"Trans World Entertainment Corp.",subTitle:"467 pcs",amount:"60.963 DKK",detail:6,color:"light"},{id:4,title:"Astronics Corporation",subTitle:"791 pcs",amount:"33.830 DKK",detail:-154,color:"white",isStandAlone:!0},{id:5,title:"Riverview Bancorp Inc",subTitle:"206 pcs",amount:"60.775 DKK",detail:98,color:"light",isStandAlone:!0},{id:6,title:"Haemonetics Corporation",subTitle:"988 pcs",amount:"61.196 DKK",detail:220,color:"white"},{id:7,title:"PJT Partners Inc.",subTitle:"1706 pcs",amount:"52.441 DKK",detail:129,color:"light"},{id:8,title:"Total S.A.",subTitle:"827 pcs",amount:"62.276 DKK",detail:53,color:"white"},{id:9,title:"Northrop Grumman Corporation",subTitle:"443 pcs",amount:"95.190 DKK",detail:-135,color:"white"},{id:10,title:"Rudolph Technologies, Inc.",subTitle:"1799 pcs",amount:"18.442 DKK",detail:86},{id:11,title:"Atlas Financial Holdings, Inc.",subTitle:"129 pcs",amount:"75.842 DKK",detail:-43},{id:12,title:"Five Star Senior Living Inc.",subTitle:"36 pcs",amount:"99.125 DKK",detail:-144},{id:13,title:"Microbot Medical Inc. ",subTitle:"1426 pcs",amount:"35.459 DKK",detail:-78},{id:14,title:"Nova Lifestyle, Inc",subTitle:"1840 pcs",amount:"26.466 DKK",detail:-84},{id:15,title:"Corning Incorporated",subTitle:"854 pcs",amount:"37.490 DKK",detail:-94},{id:16,title:"Chembio Diagnostics, Inc.",subTitle:"1964 pcs",amount:"41.765 DKK",detail:122},{id:17,title:"RLJ Lodging Trust",subTitle:"393 pcs",amount:"68.623 DKK",detail:14},{id:18,title:"Prudential Financial, Inc.",subTitle:"171 pcs",amount:"45.999 DKK",detail:-77},{id:19,title:"PDC Energy, Inc.",subTitle:"1837 pcs",amount:"52.101 DKK",detail:-152},{id:20,title:"Norbord Inc.",subTitle:"1271 pcs",amount:"36.160 DKK",detail:183},{id:21,title:"Origo Acquisition Corporation",subTitle:"929 pcs",amount:"49.608 DKK",detail:174},{id:22,title:"American Railcar Industries, Inc.",subTitle:"861 pcs",amount:"10.419 DKK",detail:-179},{id:23,title:"QAD Inc.",subTitle:"1195 pcs",amount:"53.019 DKK",detail:-156},{id:24,title:"ENDRA Life Sciences Inc.",subTitle:"1522 pcs",amount:"36.737 DKK",detail:-147},{id:25,title:"Pacific Mercantile Bancorp",subTitle:"958 pcs",amount:"95.228 DKK",detail:249},{id:26,title:"Aerojet Rocketdyne Holdings, Inc. ",subTitle:"27 pcs",amount:"92.171 DKK",detail:82},{id:27,title:"Simon Property Group, Inc.",subTitle:"281 pcs",amount:"5.875 DKK",detail:-121},{id:28,title:"Dr. Reddy's Laboratories Ltd",subTitle:"1882 pcs",amount:"5.498 DKK",detail:66},{id:29,title:"Everest Re Group, Ltd.",subTitle:"941 pcs",amount:"24.855 DKK",detail:-1},{id:30,title:"Gores Holdings II, Inc.",subTitle:"1689 pcs",amount:"86.716 DKK",detail:-150},{id:31,title:"Bank Mutual Corporation",subTitle:"1568 pcs",amount:"25.747 DKK",detail:-197},{id:32,title:"Two Harbors Investments Corp",subTitle:"936 pcs",amount:"64.032 DKK",detail:-103},{id:33,title:"Chesapeake Energy Corporation",subTitle:"287 pcs",amount:"51.267 DKK",detail:5},{id:34,title:"Royce Global Value Trust, Inc.",subTitle:"656 pcs",amount:"45.622 DKK",detail:-178},{id:35,title:"R.R. Donnelley & Sons Company",subTitle:"587 pcs",amount:"65.442 DKK",detail:-117},{id:36,title:"First Bank",subTitle:"492 pcs",amount:"19.560 DKK",detail:48},{id:37,title:"Digital Realty Trust, Inc.",subTitle:"185 pcs",amount:"60.367 DKK",detail:169},{id:38,title:"Kenon Holdings Ltd.",subTitle:"907 pcs",amount:"80.383 DKK",detail:-75},{id:39,title:"Pebblebrook Hotel Trust",subTitle:"672 pcs",amount:"93.421 DKK",detail:32},{id:40,title:"Cable One, Inc.",subTitle:"329 pcs",amount:"67.225 DKK",detail:249},{id:41,title:"Acacia Research Corporation",subTitle:"1060 pcs",amount:"4.490 DKK",detail:196},{id:42,title:"Ashford Hospitality Trust Inc",subTitle:"1926 pcs",amount:"31.059 DKK",detail:213},{id:43,title:"MakeMyTrip Limited",subTitle:"1177 pcs",amount:"59.227 DKK",detail:110},{id:44,title:"Icahn Enterprises L.P.",subTitle:"663 pcs",amount:"10.415 DKK",detail:99},{id:45,title:"China Unicom (Hong Kong) Ltd",subTitle:"517 pcs",amount:"30.143 DKK",detail:90},{id:46,title:"Intrexon Corporation",subTitle:"1739 pcs",amount:"4.334 DKK",detail:-70},{id:47,title:"Sequans Communications S.A.",subTitle:"109 pcs",amount:"46.363 DKK",detail:160},{id:48,title:"EMC Insurance Group Inc.",subTitle:"219 pcs",amount:"73.717 DKK",detail:-40},{id:49,title:"Corbus Pharmaceuticals Holdings, Inc.",subTitle:"1610 pcs",amount:"86.740 DKK",detail:74},{id:50,title:"China Ceramics Co., Ltd.",subTitle:"1656 pcs",amount:"68.075 DKK",detail:237},{id:51,title:"Chemung Financial Corp",subTitle:"1044 pcs",amount:"20.552 DKK",detail:31},{id:52,title:"Connecture, Inc.",subTitle:"62 pcs",amount:"40.611 DKK",detail:10},{id:53,title:"PROS Holdings, Inc.",subTitle:"377 pcs",amount:"92.387 DKK",detail:104},{id:54,title:"First Financial Bancorp.",subTitle:"681 pcs",amount:"81.602 DKK",detail:-22},{id:55,title:"iShares MSCI EM ESG Optimized ETF",subTitle:"1196 pcs",amount:"80.588 DKK",detail:-62},{id:56,title:"Western Asset Managed Municipals Fund, Inc.",subTitle:"1939 pcs",amount:"77.171 DKK",detail:-182},{id:57,title:"CTI Industries Corporation",subTitle:"1657 pcs",amount:"46.813 DKK",detail:-90},{id:58,title:"Paycom Software, Inc.",subTitle:"1609 pcs",amount:"58.124 DKK",detail:-141},{id:59,title:"Tower International, Inc.",subTitle:"1157 pcs",amount:"6.468 DKK",detail:224},{id:60,title:"Sarepta Therapeutics, Inc.",subTitle:"963 pcs",amount:"50.810 DKK",detail:103},{id:61,title:"Golar LNG Partners LP",subTitle:"13 pcs",amount:"47.434 DKK",detail:30},{id:62,title:"Applied Genetic Technologies Corporation",subTitle:"1022 pcs",amount:"10.281 DKK",detail:30},{id:63,title:"CHS Inc",subTitle:"1260 pcs",amount:"81.019 DKK",detail:212},{id:64,title:"Principal Real Estate Income Fund",subTitle:"408 pcs",amount:"99.185 DKK",detail:69},{id:65,title:"Nuveen Real Estate Fund",subTitle:"1107 pcs",amount:"29.376 DKK",detail:-74},{id:66,title:"Oaktree Capital Group, LLC",subTitle:"840 pcs",amount:"75.339 DKK",detail:248},{id:67,title:"Fresh Del Monte Produce, Inc.",subTitle:"957 pcs",amount:"27.564 DKK",detail:-150},{id:68,title:"MVC Capital, Inc.",subTitle:"281 pcs",amount:"69.197 DKK",detail:47},{id:69,title:"MercadoLibre, Inc.",subTitle:"1113 pcs",amount:"57.923 DKK",detail:203},{id:70,title:"SmartFinancial, Inc.",subTitle:"735 pcs",amount:"89.855 DKK",detail:146},{id:71,title:"ClubCorp Holdings, Inc.",subTitle:"313 pcs",amount:"99.364 DKK",detail:-86},{id:72,title:"Immunomedics, Inc.",subTitle:"71 pcs",amount:"69.832 DKK",detail:188},{id:73,title:"KapStone Paper and Packaging Corporation",subTitle:"473 pcs",amount:"12.219 DKK",detail:-64},{id:74,title:"Stifel Financial Corporation",subTitle:"564 pcs",amount:"58.651 DKK",detail:154},{id:75,title:"Xinyuan Real Estate Co Ltd",subTitle:"810 pcs",amount:"72.391 DKK",detail:198},{id:76,title:"Liberty Global plc",subTitle:"1473 pcs",amount:"1.976 DKK",detail:-135},{id:77,title:"Morgan Stanley",subTitle:"1079 pcs",amount:"58.112 DKK",detail:41},{id:78,title:"Evertec, Inc.",subTitle:"1851 pcs",amount:"59.546 DKK",detail:48},{id:79,title:"CVR Refining, LP",subTitle:"1134 pcs",amount:"99.919 DKK",detail:91},{id:80,title:"Marine Petroleum Trust",subTitle:"228 pcs",amount:"1.030 DKK",detail:240},{id:81,title:"Frontier Communications Corporation",subTitle:"1534 pcs",amount:"66.856 DKK",detail:-70},{id:82,title:"Middlesex Water Company",subTitle:"1584 pcs",amount:"27.582 DKK",detail:109},{id:83,title:"Syneron Medical Ltd.",subTitle:"157 pcs",amount:"76.750 DKK",detail:73},{id:84,title:"Allison Transmission Holdings, Inc.",subTitle:"857 pcs",amount:"98.364 DKK",detail:-20},{id:85,title:"Cirrus Logic, Inc.",subTitle:"95 pcs",amount:"79.359 DKK",detail:-102},{id:86,title:"MFS Multimarket Income Trust",subTitle:"687 pcs",amount:"17.861 DKK",detail:-95},{id:87,title:"Lincoln Electric Holdings, Inc.",subTitle:"441 pcs",amount:"71.454 DKK",detail:241},{id:88,title:"Navient Corporation",subTitle:"1034 pcs",amount:"77.255 DKK",detail:30},{id:89,title:"The Descartes Systems Group Inc.",subTitle:"1213 pcs",amount:"99.418 DKK",detail:12},{id:90,title:"Republic First Bancorp, Inc.",subTitle:"1366 pcs",amount:"24.934 DKK",detail:-46},{id:91,title:"PNM Resources, Inc. (Holding Co.)",subTitle:"79 pcs",amount:"9.423 DKK",detail:32},{id:92,title:"Arthur J. Gallagher & Co.",subTitle:"299 pcs",amount:"87.935 DKK",detail:-105},{id:93,title:"Rambus, Inc.",subTitle:"564 pcs",amount:"76.053 DKK",detail:-129},{id:94,title:"FARO Technologies, Inc.",subTitle:"1912 pcs",amount:"48.066 DKK",detail:-141},{id:95,title:"Dynex Capital, Inc.",subTitle:"557 pcs",amount:"81.093 DKK",detail:-76},{id:96,title:"Nuveen New York Municipal Value Fund, Inc.",subTitle:"106 pcs",amount:"88.488 DKK",detail:-16},{id:97,title:"Kirby Corporation",subTitle:"406 pcs",amount:"2.622 DKK",detail:217},{id:98,title:"Oconee Federal Financial Corp.",subTitle:"1649 pcs",amount:"58.086 DKK",detail:102},{id:99,title:"WSFS Financial Corporation",subTitle:"1959 pcs",amount:"28.587 DKK",detail:52},{id:100,title:"Nuveen Short Duration Credit Opportunities Fund",subTitle:"1835 pcs",amount:"88.272 DKK",detail:75}],this.items=this.itemsFullList.slice(0,8)}onItemSelect(f){alert(`You have clicked the row [${f.title} ${f.amount}]`)}}},50753:(ft,Z,l)=>{"use strict";l.d(Z,{k:()=>w});var n=l(29756),i=l(81365),f=l(60177),g=l(54438),s=l(57017);function x(M,I){1&M&&g.nrm(0,"div",6)}function _(M,I){1&M&&g.nrm(0,"div",7)}function y(M,I){if(1&M&&(g.j41(0,"kirby-item")(1,"div",2),g.DNE(2,x,1,0,"div",3)(3,_,1,0,"div",4),g.k0s(),g.j41(4,"h3"),g.EFF(5),g.k0s(),g.j41(6,"data",5),g.EFF(7),g.k0s()()),2&M){const R=I.$implicit;g.R7$(2),g.Y8G("ngIf",R.flagged),g.R7$(),g.Y8G("ngIf",R.archived),g.R7$(2),g.JRh(R.title),g.R7$(2),g.JRh(R.amount)}}let w=(()=>{class M{constructor(R){this.toastController=R,this.items=[{id:0,title:"Vestas Wind Systems",subTitle:"2000 pcs",amount:"5.587.218.309 DKK",detail:225,archived:!0,flagged:!1,color:"default"},{id:1,title:"Cypress Semiconductor Corporation",subTitle:"1827 pcs",amount:"76.980 DKK",detail:-3,flagged:!0,deleted:!0,color:"light"},{id:2,title:"Ultragenyx Pharmaceutical Inc.",subTitle:"787 pcs",amount:"83.004 DKK",detail:-115,color:"white"},{id:3,title:"Trans World Entertainment Corp. [disabled]",subTitle:"467 pcs",amount:"60.963 DKK",detail:6,color:"light"},{id:4,title:"Astronics Corporation",subTitle:"791 pcs",amount:"33.830 DKK",detail:-154,color:"white"},{id:5,title:"Riverview Bancorp Inc",subTitle:"206 pcs",amount:"60.775 DKK",detail:98,color:"light"},{id:6,title:"Haemonetics Corporation",subTitle:"988 pcs",amount:"61.196 DKK",detail:220,color:"white"},{id:7,title:"PJT Partners Inc.",subTitle:"1706 pcs",amount:"52.441 DKK",detail:129,color:"light"}],this.swipeActions=[{position:"left",title:"Archive",type:"warning",onSelected:H=>this.onArchiveItem(H),isDisabled:H=>H.archived||3===H.id},{position:"left",title:H=>H.flagged?"Remove flag":"Flag",icon:H=>H.flagged?null:"flag",type:"success",onSelected:H=>this.onFlagItem(H),isDisabled:H=>3===H.id},{position:"right",title:H=>H.deleted?"Restore":"Delete",icon:H=>H.deleted?"swap":"trash",type:H=>H.deleted?"warning":"danger",onSelected:H=>H.deleted?this.onRestoreItem(H):this.onDeleteItem(H),isDisabled:H=>3===H.id}]}onArchiveItem(R){R.archived=!R.archived,this.toastController.showToast({message:`Item '${R.title}' has been archived.`,messageType:"warning",durationInMs:1500})}onFlagItem(R){R.flagged=!R.flagged,this.toastController.showToast({message:`Item '${R.title}' has been ${R.flagged?"flagged":"un-flagged"}.`,messageType:"success",durationInMs:1500})}onDeleteItem(R){R.deleted=!R.deleted,this.toastController.showToast({message:`Item '${R.title}' has been deleted.`,messageType:"warning",durationInMs:1500})}onRestoreItem(R){R.deleted=!R.deleted,this.toastController.showToast({message:`Item '${R.title}' has been restored.`,messageType:"warning",durationInMs:1500})}static#e=this.\u0275fac=function(H){return new(H||M)(g.rXU(s.K))};static#t=this.\u0275cmp=g.VBU({type:M,selectors:[["cookbook-list-swipe-example"]],decls:4,vars:2,consts:[["showDivider","true",3,"items","swipeActions"],[4,"kirbyListItemTemplate"],["slot","outside"],["class","flag success",4,"ngIf"],["class","flag warning",4,"ngIf"],["slot","end",1,"kirby-text-bold"],[1,"flag","success"],[1,"flag","warning"]],template:function(H,K){1&H&&(g.j41(0,"h2"),g.EFF(1,"List with swipe actions:"),g.k0s(),g.j41(2,"kirby-list",0),g.DNE(3,y,8,4,"kirby-item",1),g.k0s()),2&H&&(g.R7$(2),g.Y8G("items",K.items)("swipeActions",K.swipeActions))},dependencies:[n.HV,n.sB,n.bx,i.kA,i.JA,f.bT],styles:["[_nghost-%COMP%]{display:block;height:100%;padding:16px;background-color:var(--kirby-background-color)}.flag[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%}.flag.success[_ngcontent-%COMP%]{background:var(--kirby-success)}.flag.warning[_ngcontent-%COMP%]{background:var(--kirby-warning)}.flag[_ngcontent-%COMP%]:not(:last-child){margin-bottom:2px}"]})}return M})()},50751:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>g});var n=l(36667),i=l(47008),f=l(54438);let g=(()=>{class s{constructor(){this.isLoading=!1,this.showBackdrop=!1,this.hideContent=!1}showWrapperLoadingOverlay(_,y){this.showBackdrop=_,this.hideContent=y,this.isLoading=!0,setTimeout(()=>{this.isLoading=!1},5e3)}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=f.VBU({type:s,selectors:[["cookbook-loading-overlay-example"]],decls:7,vars:3,consts:[[3,"isLoading","showBackdrop","hideContent"],["kirby-button","","attentionLevel","2","size","lg","expand","block",3,"click"]],template:function(y,w){1&y&&(f.j41(0,"kirby-loading-overlay",0)(1,"button",1),f.bIt("click",function(){return w.showWrapperLoadingOverlay(!0)}),f.EFF(2," Show wrapper loading overlay "),f.k0s(),f.j41(3,"button",1),f.bIt("click",function(){return w.showWrapperLoadingOverlay(!1,!0)}),f.EFF(4," Show wrapper loading overlay that hides content "),f.k0s(),f.j41(5,"button",1),f.bIt("click",function(){return w.showWrapperLoadingOverlay(!1)}),f.EFF(6," Show wrapper loading overlay without backdrop "),f.k0s()()),2&y&&f.Y8G("isLoading",w.isLoading)("showBackdrop",w.showBackdrop)("hideContent",w.hideContent)},dependencies:[n.q,i.Q],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-x:hidden;background:var(--kirby-background-color);padding:16px;box-sizing:border-box}@media (min-width: 768px){[_nghost-%COMP%]{padding:32px}}[_nghost-%COMP%] h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;color:var(--kirby-semi-dark);text-transform:uppercase;margin-top:12px;margin-bottom:4px}button[kirby-button][_ngcontent-%COMP%]{margin-left:0;margin-right:0}"]})}return s})()},51816:(ft,Z,l)=>{"use strict";l.d(Z,{b:()=>y});var n=l(92585),i=l(81365),f=l(35043),g=l(11235),s=l(57808),x=l(54438);const __template='\n \n \n \n \n Friend Throw\n \n \n \n \n \n \n \n Ice Curling\n \n \n \n \n \n \n \n Allow Cheats\n \n \n \n';let y=(()=>{class w{constructor(){this.template=__template}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=x.VBU({type:w,selectors:[["cookbook-menu-advanced-example"]],decls:16,vars:1,consts:[[3,"closeOnSelect"],["name","person","slot","start"],["slot","end"],["name","notification","slot","start"],["name","default","slot","start"]],template:function(R,H){1&R&&(x.j41(0,"kirby-menu",0)(1,"kirby-item"),x.nrm(2,"kirby-icon",1),x.j41(3,"kirby-checkbox",2)(4,"kirby-label"),x.EFF(5," Friend Throw "),x.k0s()()(),x.j41(6,"kirby-item"),x.nrm(7,"kirby-icon",3),x.j41(8,"kirby-checkbox",2)(9,"kirby-label"),x.EFF(10," Ice Curling "),x.k0s()()(),x.j41(11,"kirby-item"),x.nrm(12,"kirby-icon",4),x.j41(13,"kirby-toggle",2)(14,"kirby-label"),x.EFF(15," Allow Cheats "),x.k0s()()()()),2&R&&x.Y8G("closeOnSelect",!1)},dependencies:[n.Z,i.kA,i.JA,i.UF,f.op,f.Rl,g.P,s.a],encapsulation:2})}return w})()},80921:(ft,Z,l)=>{"use strict";l.d(Z,{s:()=>_});var n=l(92585),i=l(47008),f=l(35043),g=l(81365),s=l(54438);const x_template='\n \n \n \n \n

Stone

\n
\n \n

Rick

\n
\n \n

Gooey

\n
\n
';let _=(()=>{class y{constructor(){this.template=x_template}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-menu-custom-button-example"]],decls:12,vars:2,consts:[["kirby-button","","type","button",3,"attentionLevel"],[3,"name"],[1,"kirby-item-title"]],template:function(I,R){1&I&&(s.j41(0,"kirby-menu")(1,"button",0),s.nrm(2,"kirby-icon",1),s.k0s(),s.j41(3,"kirby-item")(4,"p",2),s.EFF(5,"Stone"),s.k0s()(),s.j41(6,"kirby-item")(7,"p",2),s.EFF(8,"Rick"),s.k0s()(),s.j41(9,"kirby-item")(10,"p",2),s.EFF(11,"Gooey"),s.k0s()()()),2&I&&(s.R7$(),s.Y8G("attentionLevel","3"),s.R7$(),s.Y8G("name","menu-outline"))},dependencies:[n.Z,i.Q,f.op,f.Rl,g.kA,g.JA],encapsulation:2})}return y})()},21564:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>s});var n=l(92585),i=l(81365),f=l(54438);const g_template='\n \n

Stone

\n
\n \n

Rick

\n
\n \n

Gooey

\n
\n
\n';let s=(()=>{class x{constructor(y){this.cd=y,this.template=g_template,this.outletTag="cookbook-root",this.outletElement=this.getOutletElement()}set isOutletElementSet(y){this._outlet=y?this.outletElement:null}getOutletElement(){const y=document.getElementsByTagName(this.outletTag);if(!y||0===y.length)throw Error(`Could not locate HTMLElement for ${this.outletTag}. Did you misspell it?`);if(y.length>1)throw Error(`Multiple HTMLElements found for ${this.outletTag}.\n This can lead to unintended behaviours. Provide an unique outlet`);return y[0]}static#e=this.\u0275fac=function(w){return new(w||x)(f.rXU(f.gRc))};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-menu-portal-example"]],inputs:{isOutletElementSet:"isOutletElementSet"},decls:10,vars:1,consts:[[3,"DOMPortalOutlet"],[1,"kirby-item-title"]],template:function(w,M){1&w&&(f.j41(0,"kirby-menu",0)(1,"kirby-item")(2,"p",1),f.EFF(3,"Stone"),f.k0s()(),f.j41(4,"kirby-item")(5,"p",1),f.EFF(6,"Rick"),f.k0s()(),f.j41(7,"kirby-item")(8,"p",1),f.EFF(9,"Gooey"),f.k0s()()()),2&w&&f.Y8G("DOMPortalOutlet",M._outlet)},dependencies:[n.Z,i.kA,i.JA],encapsulation:2})}return x})()},12510:(ft,Z,l)=>{"use strict";l.d(Z,{b:()=>x});var n=l(65762),i=l(92585),f=l(81365),g=l(54438);const s_template='\n \n

Stone

\n
\n \n

Rick

\n
\n \n

Gooey

\n
\n
';let x=(()=>{class _{constructor(){this.template=s_template,this.outletConfig={selector:n.h8.tag,value:"cookbook-root"}}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-menu-portal-config-example"]],decls:10,vars:1,consts:[[3,"portalOutletConfig"],[1,"kirby-item-title"]],template:function(M,I){1&M&&(g.j41(0,"kirby-menu",0)(1,"kirby-item")(2,"p",1),g.EFF(3,"Stone"),g.k0s()(),g.j41(4,"kirby-item")(5,"p",1),g.EFF(6,"Rick"),g.k0s()(),g.j41(7,"kirby-item")(8,"p",1),g.EFF(9,"Gooey"),g.k0s()()()),2&M&&g.Y8G("portalOutletConfig",I.outletConfig)},dependencies:[i.Z,f.kA,f.JA],encapsulation:2})}return _})()},28850:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>x});var n=l(92585),i=l(81365),f=l(54438),g=l(57017);const s_template='\n \n

Stone

\n
\n \n

Rick

\n
\n \n

Gooey

\n
\n
';let x=(()=>{class _{constructor(w){this.toastController=w,this.template=s_template}actionClicked(w){this.toastController.showToast({message:`${w} was selected as your Hero.`,messageType:"success",durationInMs:1500})}static#e=this.\u0275fac=function(M){return new(M||_)(f.rXU(g.K))};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-menu-selectable-example"]],decls:10,vars:0,consts:[[3,"click"],[1,"kirby-item-title"]],template:function(M,I){1&M&&(f.j41(0,"kirby-menu")(1,"kirby-item",0),f.bIt("click",function(){return I.actionClicked("Stone")}),f.j41(2,"p",1),f.EFF(3,"Stone"),f.k0s()(),f.j41(4,"kirby-item",0),f.bIt("click",function(){return I.actionClicked("Rick")}),f.j41(5,"p",1),f.EFF(6,"Rick"),f.k0s()(),f.j41(7,"kirby-item",0),f.bIt("click",function(){return I.actionClicked("Gooey")}),f.j41(8,"p",1),f.EFF(9,"Gooey"),f.k0s()()())},dependencies:[n.Z,i.kA,i.JA],encapsulation:2})}return _})()},49217:(ft,Z,l)=>{"use strict";l.d(Z,{p:()=>w});var n=l(47868),i=l(60177),f=l(54438);function g(M,I){if(1&M&&(f.j41(0,"a",3),f.EFF(1),f.k0s()),2&M){const R=f.XpG().$implicit;f.Y8G("routerLink",R.route)("target",R.target),f.R7$(),f.SpI(" ",R.text," ")}}function s(M,I){if(1&M&&(f.qex(0),f.EFF(1),f.bVm()),2&M){const R=f.XpG().$implicit;f.R7$(),f.SpI(" ",R.text," ")}}function x(M,I){if(1&M&&(f.j41(0,"li",5)(1,"a",6),f.EFF(2),f.k0s()()),2&M){const R=I.$implicit;f.R7$(),f.Y8G("routerLink",R.route)("target",R.target),f.R7$(),f.SpI(" ",R.text," ")}}function _(M,I){if(1&M&&(f.j41(0,"ul"),f.DNE(1,x,3,3,"li",4),f.k0s()),2&M){const R=f.XpG().$implicit;f.R7$(),f.Y8G("ngForOf",R.steps)}}function y(M,I){if(1&M&&(f.j41(0,"li"),f.DNE(1,g,2,3,"a",1)(2,s,2,1,"ng-container",2)(3,_,2,1,"ul",2),f.k0s()),2&M){const R=I.$implicit,H=I.index,K=f.XpG();f.AVh("active",K.currentStep-1===H&&!R.steps),f.R7$(),f.Y8G("ngIf",H===K.currentStep-1&&!!R.route),f.R7$(),f.Y8G("ngIf",H!==K.currentStep-1||H===K.currentStep-1&&!R.route),f.R7$(),f.Y8G("ngIf",K.currentStep-1===H&&!!R.steps)}}let w=(()=>{class M{constructor(R){this.route=R,this.steps=[{text:"Open the example in a separate tab or window",steps:[{text:"Controller based example",route:"/examples/modal-with-guard",target:"_blank"},{text:"Route based example",route:["/examples/modal-route-with-guard"],target:"_blank"}]},{text:"Navigate to the guard protected route",route:void 0},{text:"Click the browser back button"}],this.currentStep=1}ngOnInit(){this.route.snapshot.data.step&&(this.currentStep=this.route.snapshot.data.step),this.route.snapshot.data.nextRoute&&(this.steps[this.currentStep-1].route=this.route.snapshot.data.nextRoute)}static#e=this.\u0275fac=function(H){return new(H||M)(f.rXU(n.nX))};static#t=this.\u0275cmp=f.VBU({type:M,selectors:[["cookbook-modal-example-alert-with-guard-stepper"]],inputs:{currentStep:"currentStep"},decls:2,vars:1,consts:[[3,"active",4,"ngFor","ngForOf"],[3,"routerLink","target",4,"ngIf"],[4,"ngIf"],[3,"routerLink","target"],["class","active",4,"ngFor","ngForOf"],[1,"active"],[1,"kirby-external-icon",3,"routerLink","target"]],template:function(H,K){1&H&&(f.j41(0,"ol"),f.DNE(1,y,4,5,"li",0),f.k0s()),2&H&&(f.R7$(),f.Y8G("ngForOf",K.steps))},dependencies:[i.pM,i.bT,n.Wk],styles:["[_nghost-%COMP%]{display:block}li.active[_ngcontent-%COMP%]{font-weight:700}"]})}return M})()},3745:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>R});var n=l(81443),i=l(91365),f=l(60177),g=l(32667),s=l(56297),x=l(84341),_=l(47008),y=l(49217),w=l(54438);function M(H,K){1&H&&(w.qex(0),w.nrm(1,"cookbook-modal-example-alert-with-guard-stepper",5)(2,"kirby-divider",6),w.bVm()),2&H&&(w.R7$(),w.Y8G("currentStep",3),w.R7$(),w.Y8G("hasMargin",!0))}const I_canDismissCodeSnippet="// Inside the embedded component\nconstructor(@Optional() @SkipSelf() private modal: Modal) {}\n\nfirstName: string;\nlastName: string;\n\nngOnInit() {\n // Use an arrow function to avoid 'this' being undefined in the function callback: \n this.modal.canDismiss = () => this.validate();\n}\n\nvalidate(): boolean | AlertConfig {\n if (!this.firstName && !this.lastName) return true;\n\n const config: AlertConfig = {\n title: 'Are you sure you want to close?',\n message: 'All unsaved data will be lost.',\n okBtn: 'Close',\n cancelBtn: 'Cancel',\n icon: {\n name: 'warning',\n themeColor: 'warning',\n },\n };\n\n return config;\n}\n ";class R{constructor(K,L){this.modal=K,this.componentProps=L,this.showStepper=!0,this.firstName="Jane",this.lastName=""}static#e=this.canDismissCodeSnippet=I_canDismissCodeSnippet;ngOnInit(){void 0!==this.componentProps?.showStepper&&(this.showStepper=this.componentProps.showStepper),this.modal.canDismiss=()=>this.validate()}clearForm(){this.firstName="",this.lastName=""}validate(){return!this.firstName&&!this.lastName||{title:"Are you sure you want to close?",message:"All unsaved data will be lost.",okBtn:"Close",cancelBtn:"Cancel",icon:{name:"warning",themeColor:"warning"}}}static#t=this.\u0275fac=function(L){return new(L||R)(w.rXU(n.aF,12),w.rXU(n.vr,8))};static#n=this.\u0275cmp=w.VBU({type:R,selectors:[["ng-component"]],inputs:{firstName:"firstName"},decls:15,vars:3,consts:[[4,"ngIf"],[1,"form-wrapper"],["kirby-input","","placeholder","First name",3,"ngModelChange","ngModel"],["kirby-input","","placeholder","Last name",3,"ngModelChange","ngModel"],["kirby-button","",3,"click"],[3,"currentStep"],[3,"hasMargin"]],template:function(L,he){1&L&&(w.j41(0,"kirby-page-title"),w.EFF(1,"Modal with alert"),w.k0s(),w.DNE(2,M,3,2,"ng-container",0),w.j41(3,"div",1)(4,"kirby-form-field")(5,"input",2),w.mxI("ngModelChange",function(be){return w.DH7(he.firstName,be)||(he.firstName=be),be}),w.k0s()(),w.j41(6,"kirby-form-field")(7,"input",3),w.mxI("ngModelChange",function(be){return w.DH7(he.lastName,be)||(he.lastName=be),be}),w.k0s()(),w.j41(8,"button",4),w.bIt("click",function(){return he.clearForm()}),w.EFF(9,"Clear form"),w.k0s()(),w.j41(10,"kirby-modal-footer")(11,"em")(12,"strong"),w.EFF(13,"Please note:"),w.k0s(),w.EFF(14," If any data has been entered in the form fields, this modal will prompt the user to confirm before closing. "),w.k0s()()),2&L&&(w.R7$(2),w.Y8G("ngIf",he.showStepper),w.R7$(3),w.R50("ngModel",he.firstName),w.R7$(2),w.R50("ngModel",he.lastName))},dependencies:[i.wq,i.jg,f.bT,y.p,g.h,s.LT,s.KS,s.Sj,x.YN,x.me,x.BC,x.vS,_.Q,n.s$],styles:[".form-wrapper[_ngcontent-%COMP%]{margin-block-start:1em;display:flex;flex-direction:column}button[_ngcontent-%COMP%]{align-self:flex-end}"]})}},75902:(ft,Z,l)=>{"use strict";l.d(Z,{g:()=>x});var n=l(49711),i=l(47008),f=l(54438),g=l(81443),s=l(13339);let x=(()=>{class _{constructor(w){this.modal=w}onHideModal(){this.modal.close()}static#e=this.\u0275fac=function(M){return new(M||_)(f.rXU(g.aF,12))};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["ng-component"]],decls:3,vars:0,consts:[["iconName","close","title","Out of service","subtitle","The system is currently down. Please contact customer support.","themeColor","danger"],["kirby-button","","attentionLevel","3",3,"click"]],template:function(M,I){1&M&&(f.j41(0,"kirby-empty-state",0)(1,"button",1),f.bIt("click",function(){return I.onHideModal()}),f.EFF(2,"Hide modal"),f.k0s()())},dependencies:[n.b,n.o,s.Cd,i.Q],encapsulation:2})}return _})()},75966:(ft,Z,l)=>{"use strict";l.d(Z,{v:()=>et});var n=l(81443),i=l(53715),f=l(60177),g=l(91365),s=l(72882),x=l(36667),_=l(98990),y=l(47008),w=l(32667),M=l(35043),I=l(56297),R=l(36234),H=l(2923),K=l(43081),L=l(54438),he=l(57017),pe=l(13339);function be(sn,tt){1&sn&&(L.j41(0,"kirby-page-progress")(1,"kirby-progress-circle",5),L.EFF(2," 2/4 "),L.k0s()())}function Le(sn,tt){if(1&sn){const Ct=L.RV6();L.qex(0),L.nrm(1,"kirby-divider",10),L.j41(2,"p",11),L.EFF(3," Size of nested modal/drawer "),L.nrm(4,"br"),L.j41(5,"em"),L.EFF(6,"(on screens larger than 768px)"),L.k0s()(),L.j41(7,"cookbook-modal-example-size-selector",12),L.bIt("sizeChange",function(e){L.eBV(Ct);const On=L.XpG(3);return L.Njj(On.setSelectedModalSize(e))}),L.k0s(),L.bVm()}2&sn&&(L.R7$(),L.Y8G("hasMargin",!0))}function ye(sn,tt){if(1&sn){const Ct=L.RV6();L.j41(0,"kirby-card",7)(1,"h3"),L.EFF(2,"Open nested:"),L.k0s(),L.j41(3,"button",8),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG(2);return L.Njj(e.showNestedModal())}),L.EFF(4,"Modal"),L.k0s(),L.j41(5,"button",8),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG(2);return L.Njj(e.showNestedDrawer())}),L.EFF(6,"Drawer"),L.k0s(),L.j41(7,"button",8),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG(2);return L.Njj(e.showNestedAlert())}),L.EFF(8,"Alert"),L.k0s(),L.j41(9,"button",8),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG(2);return L.Njj(e.showNestedActionSheet())}),L.EFF(10," Action sheet "),L.k0s(),L.j41(11,"details")(12,"summary"),L.EFF(13,"Configuration for nested modal"),L.k0s(),L.j41(14,"cookbook-modal-example-configuration",9),L.mxI("showPageProgressChange",function(e){L.eBV(Ct);const On=L.XpG(2);return L.DH7(On.showNestedPageProgress,e)||(On.showNestedPageProgress=e),L.Njj(e)})("showFooterChange",function(e){L.eBV(Ct);const On=L.XpG(2);return L.DH7(On.showNestedFooter,e)||(On.showNestedFooter=e),L.Njj(e)})("snapFooterToKeyboardChange",function(e){L.eBV(Ct);const On=L.XpG(2);return L.DH7(On.snapNestedFooterToKeyboard,e)||(On.snapNestedFooterToKeyboard=e),L.Njj(e)})("displayFooterAsInlineChange",function(e){L.eBV(Ct);const On=L.XpG(2);return L.DH7(On.displayNestedFooterAsInline,e)||(On.displayNestedFooterAsInline=e),L.Njj(e)})("showDummyContentChange",function(e){L.eBV(Ct);const On=L.XpG(2);return L.DH7(On.showNestedDummyContent,e)||(On.showNestedDummyContent=e),L.Njj(e)})("collapseTitleChange",function(e){L.eBV(Ct);const On=L.XpG(2);return L.DH7(On.showNestedCollapseTitle,e)||(On.showNestedCollapseTitle=e),L.Njj(e)})("delayLoadDummyContentChange",function(e){L.eBV(Ct);const On=L.XpG(2);return L.DH7(On.delayLoadDummyContent,e)||(On.delayLoadDummyContent=e),L.Njj(e)})("loadAdditionalContentChange",function(e){L.eBV(Ct);const On=L.XpG(2);return L.DH7(On.loadAdditionalContent,e)||(On.loadAdditionalContent=e),L.Njj(e)}),L.k0s(),L.DNE(15,Le,8,1,"ng-container",0),L.k0s()()}if(2&sn){const Ct=L.XpG(2);L.R7$(14),L.R50("showPageProgress",Ct.showNestedPageProgress)("showFooter",Ct.showNestedFooter)("snapFooterToKeyboard",Ct.snapNestedFooterToKeyboard)("displayFooterAsInline",Ct.displayNestedFooterAsInline)("showDummyContent",Ct.showNestedDummyContent)("collapseTitle",Ct.showNestedCollapseTitle)("delayLoadDummyContent",Ct.delayLoadDummyContent)("loadAdditionalContent",Ct.loadAdditionalContent),L.R7$(),L.Y8G("ngIf",void 0!==Ct.showModalSizeSelector)}}function je(sn,tt){1&sn&&(L.j41(0,"div")(1,"h4"),L.EFF(2,"The standard Lorem Ipsum passage, used since the 1500s"),L.k0s(),L.j41(3,"p"),L.EFF(4,' "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." '),L.k0s()())}function ke(sn,tt){if(1&sn&&(L.j41(0,"div",19)(1,"h4"),L.EFF(2,"Component properties (injected from parent component):"),L.k0s(),L.j41(3,"dl")(4,"dt")(5,"code"),L.EFF(6,"stringProperty:"),L.k0s()(),L.j41(7,"dd"),L.EFF(8),L.k0s(),L.j41(9,"dt")(10,"code"),L.EFF(11,"numberProperty:"),L.k0s()(),L.j41(12,"dd"),L.EFF(13),L.k0s(),L.j41(14,"dt")(15,"code"),L.EFF(16,"booleanProperty:"),L.k0s()(),L.j41(17,"dd"),L.EFF(18),L.k0s()()()),2&sn){const Ct=L.XpG(3);L.R7$(8),L.JRh(Ct.exampleProperties.stringProperty),L.R7$(5),L.JRh(Ct.exampleProperties.numberProperty),L.R7$(5),L.JRh(Ct.exampleProperties.booleanProperty)}}function De(sn,tt){1&sn&&(L.j41(0,"div")(1,"h4"),L.EFF(2,'Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC'),L.k0s(),L.j41(3,"p"),L.EFF(4,' "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?" 1914 translation by H. Rackham " '),L.k0s()())}function Je(sn,tt){if(1&sn){const Ct=L.RV6();L.j41(0,"button",14),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG(3);return L.Njj(e.scrollToTop())}),L.EFF(1," Scroll to top "),L.nrm(2,"kirby-icon",20),L.k0s()}}function lt(sn,tt){if(1&sn){const Ct=L.RV6();L.qex(0),L.DNE(1,ke,19,3,"div",13),L.j41(2,"button",14),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG(2);return L.Njj(e.scrollToBottom())}),L.EFF(3," Scroll to bottom "),L.nrm(4,"kirby-icon",15),L.k0s(),L.j41(5,"button",16),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG(2);return L.Njj(e.close())}),L.EFF(6,"Hide me"),L.k0s(),L.j41(7,"kirby-form-field"),L.nrm(8,"input",17),L.k0s(),L.j41(9,"h4"),L.EFF(10,"The standard Lorem Ipsum passage, used since the 1500s"),L.k0s(),L.j41(11,"p"),L.EFF(12,' "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." '),L.k0s(),L.j41(13,"kirby-loading-overlay",3),L.DNE(14,De,5,0,"div",0),L.k0s(),L.DNE(15,Je,3,0,"button",18),L.bVm()}if(2&sn){const Ct=L.XpG(2);L.R7$(),L.Y8G("ngIf",Ct.exampleProperties),L.R7$(12),L.Y8G("isLoading",Ct.isLoadingAdditionalContent),L.R7$(),L.Y8G("ngIf",!Ct.isLoadingAdditionalContent),L.R7$(),L.Y8G("ngIf",!Ct.showFooter)}}function Mt(sn,tt){if(1&sn&&(L.j41(0,"div"),L.DNE(1,ye,16,9,"kirby-card",6)(2,je,5,0,"div",0)(3,lt,16,4,"ng-container",0),L.k0s()),2&sn){const Ct=L.XpG();L.R7$(),L.Y8G("ngIf",Ct.showNestedOptions),L.R7$(),L.Y8G("ngIf",Ct.showStaticDummyContent),L.R7$(),L.Y8G("ngIf",Ct.showDummyContent)}}function Bt(sn,tt){if(1&sn){const Ct=L.RV6();L.j41(0,"kirby-modal-footer",21)(1,"div")(2,"button",14),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG();return L.Njj(e.scrollToTop())}),L.EFF(3," To top "),L.nrm(4,"kirby-icon",20),L.k0s(),L.j41(5,"button",16),L.bIt("click",function(){L.eBV(Ct);const e=L.XpG();return L.Njj(e.close())}),L.EFF(6,"Close"),L.k0s()()()}if(2&sn){const Ct=L.XpG();L.Y8G("type",Ct._footerType)("snapToKeyboard",Ct.snapFooterToKeyboard)}}let et=(()=>{class sn{get _footerType(){return this.displayFooterAsInline?"inline":"fixed"}constructor(Ct,Xe,e,On){this.modalController=Xe,this.toastController=e,this.modal=On,this.showPageProgress=!1,this.showFooter=!1,this.snapFooterToKeyboard=!1,this.displayFooterAsInline=!1,this.showNestedPageProgress=!1,this.showNestedFooter=!1,this.snapNestedFooterToKeyboard=!1,this.showNestedDummyContent=!1,this.displayNestedFooterAsInline=!1,this.isLoading=!1,this.isLoadingAdditionalContent=!1,Object.assign(this,Ct)}ngOnInit(){this.showDummyContent&&(this.delayLoadDummyContent&&(this.isLoading=!0,setTimeout(()=>this.isLoading=!1,1e3)),this.loadAdditionalContent&&(this.isLoadingAdditionalContent=!0,setTimeout(()=>this.isLoadingAdditionalContent=!1,2e3))),this.modal.canDismiss=()=>this.canDismiss()}canDismiss(){return!this.alertBeforeClose||{title:"Are you sure you want to close?",okBtn:"Yes",cancelBtn:"Take me back",icon:{name:"warning",themeColor:"warning"}}}showNestedOverlay(Ct){const Xe="modal"===Ct?"Nested Modal Title":"Nested Drawer Title",e={flavor:Ct,drawerSupplementaryAction:{iconName:"edit",action:this.onSupplementaryActionSelect.bind(this)},component:sn,size:this.selectedModalSize,collapseTitle:this.showNestedCollapseTitle,componentProps:{title:Xe,subtitle:"Hello from second embedded example component!",flavor:Ct,delayLoadDummyContent:this.delayLoadDummyContent,loadAdditionalContent:this.loadAdditionalContent,showPageProgress:this.showNestedPageProgress,showFooter:this.showNestedFooter,snapFooterToKeyboard:this.snapNestedFooterToKeyboard,displayFooterAsInline:this.displayNestedFooterAsInline,showDummyContent:this.showNestedDummyContent}};this.modalController.showModal(e)}showNestedModal(){this.showNestedOverlay("modal")}showNestedDrawer(){this.showNestedOverlay("drawer")}showNestedAlert(){this.modalController.showAlert({title:"Embedded Alert",message:"The default alert is just a title, a message, an OK and (optional) cancel button",okBtn:"I agree",cancelBtn:"Take me back"},this.onAlertClose)}showNestedActionSheet(){this.modalController.showActionSheet({header:"Nested action sheet",subheader:"Action sheet subheader",items:[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}],cancelButtonText:"Custom cancel"})}scrollToBottom(){this.modal.scrollToBottom(i.ez.Duration.EXTRA_LONG)}scrollToTop(){this.modal.scrollToTop(i.ez.Duration.SHORT)}toggleDisableScroll(Ct){this.modal.scrollDisabled=Ct}togglePageProgress(){this.showPageProgress=!this.showPageProgress}toggleFooter(){this.showFooter=!this.showFooter}close(){const Ct=Math.PI;this.modal.close(Ct)}onSupplementaryActionSelect(){this.toastController.showToast({message:"Supplementary action selected",messageType:"success",durationInMs:1500})}onSnapFooterToKeyboardCheckbox(Ct){this.snapFooterToKeyboard=Ct}onAlertClose(Ct){console.log(`Alert closed: ${Ct}`)}setSelectedModalSize(Ct){this.selectedModalSize=Ct.value}static#e=this.\u0275fac=function(Xe){return new(Xe||sn)(L.rXU(n.vr),L.rXU(n.W3),L.rXU(he.K),L.rXU(n.aF,12))};static#t=this.\u0275cmp=L.VBU({type:sn,selectors:[["cookbook-embedded-modal-example"]],decls:10,vars:14,consts:[[4,"ngIf"],["configAppearance","snap-to-viewport",3,"title"],[3,"showDummyContentChange","showPageProgressChange","showFooterChange","snapFooterToKeyboardChange","displayFooterAsInlineChange","alertBeforeCloseChange","flavor","showDummyContent","showPageProgress","showFooter","snapFooterToKeyboard","displayFooterAsInline","alertBeforeClose"],[3,"isLoading"],["themeColor","white",3,"type","snapToKeyboard",4,"ngIf"],["themeColor","warning","value","50","size","sm",1,"kirby-text-xsmall"],["hasPadding","true","class","nested-modal-configuration",4,"ngIf"],["hasPadding","true",1,"nested-modal-configuration"],["kirby-button","","attentionLevel","2",3,"click"],[3,"showPageProgressChange","showFooterChange","snapFooterToKeyboardChange","displayFooterAsInlineChange","showDummyContentChange","collapseTitleChange","delayLoadDummyContentChange","loadAdditionalContentChange","showPageProgress","showFooter","snapFooterToKeyboard","displayFooterAsInline","showDummyContent","collapseTitle","delayLoadDummyContent","loadAdditionalContent"],[3,"hasMargin"],[1,"size-selector-heading"],[3,"sizeChange"],["class","example-properties",4,"ngIf"],["kirby-button","","attentionLevel","3",3,"click"],["name","arrow-down"],["kirby-button","",3,"click"],["kirby-input","","placeholder","Focus me on device to scroll input into view"],["kirby-button","","attentionLevel","3",3,"click",4,"ngIf"],[1,"example-properties"],["name","arrow-up"],["themeColor","white",3,"type","snapToKeyboard"]],template:function(Xe,e){1&Xe&&(L.DNE(0,be,3,0,"kirby-page-progress",0),L.j41(1,"kirby-page-title"),L.EFF(2),L.k0s(),L.j41(3,"p"),L.EFF(4),L.k0s(),L.j41(5,"cookbook-example-configuration-wrapper",1)(6,"cookbook-modal-example-configuration",2),L.mxI("showDummyContentChange",function(Pt){return L.DH7(e.showDummyContent,Pt)||(e.showDummyContent=Pt),Pt})("showPageProgressChange",function(Pt){return L.DH7(e.showPageProgress,Pt)||(e.showPageProgress=Pt),Pt})("showFooterChange",function(Pt){return L.DH7(e.showFooter,Pt)||(e.showFooter=Pt),Pt})("snapFooterToKeyboardChange",function(Pt){return L.DH7(e.snapFooterToKeyboard,Pt)||(e.snapFooterToKeyboard=Pt),Pt})("displayFooterAsInlineChange",function(Pt){return L.DH7(e.displayFooterAsInline,Pt)||(e.displayFooterAsInline=Pt),Pt})("alertBeforeCloseChange",function(Pt){return L.DH7(e.alertBeforeClose,Pt)||(e.alertBeforeClose=Pt),Pt}),L.k0s()(),L.j41(7,"kirby-loading-overlay",3),L.DNE(8,Mt,4,3,"div",0),L.k0s(),L.DNE(9,Bt,7,2,"kirby-modal-footer",4)),2&Xe&&(L.Y8G("ngIf",e.showPageProgress&&"modal"===e.flavor),L.R7$(2),L.JRh(e.title),L.R7$(2),L.JRh(e.subtitle),L.R7$(),L.Y8G("title","Current modal configuration"),L.R7$(),L.Y8G("flavor",e.flavor),L.R50("showDummyContent",e.showDummyContent)("showPageProgress",e.showPageProgress)("showFooter",e.showFooter)("snapFooterToKeyboard",e.snapFooterToKeyboard)("displayFooterAsInline",e.displayFooterAsInline)("alertBeforeClose",e.alertBeforeClose),L.R7$(),L.Y8G("isLoading",e.isLoading),L.R7$(),L.Y8G("ngIf",!e.isLoading),L.R7$(),L.Y8G("ngIf",!e.isLoading&&e.showFooter))},dependencies:[f.bT,g.wq,g.AB,g.jg,s.Z,H.V,R.r,x.q,_.Dw,_.ib,pe.Cd,y.Q,w.h,K.Z,M.op,M.Rl,I.LT,I.KS,I.Sj,n.s$],styles:[".example-properties[_ngcontent-%COMP%]{display:none}@media (min-width: 768px){.example-properties[_ngcontent-%COMP%]{display:unset}}.example-properties[_ngcontent-%COMP%] dl[_ngcontent-%COMP%]{display:grid;grid-template:auto/auto 1fr}.example-properties[_ngcontent-%COMP%] dl[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{padding-right:4px}.example-properties[_ngcontent-%COMP%] dl[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{margin:0;font-style:italic}kirby-card.nested-modal-configuration[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}kirby-card.nested-modal-configuration[_ngcontent-%COMP%] details[_ngcontent-%COMP%]{margin-top:24px;border:1px solid var(--kirby-medium);border-radius:4px;padding:8px 8px 0}kirby-card.nested-modal-configuration[_ngcontent-%COMP%] details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{cursor:pointer;margin:-8px -8px 0;padding:8px}kirby-card.nested-modal-configuration[_ngcontent-%COMP%] details[open][_ngcontent-%COMP%]{padding:8px;border-bottom-left-radius:16px;border-bottom-right-radius:16px}kirby-card.nested-modal-configuration[_ngcontent-%COMP%] details[open][_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{border-bottom:1px dashed var(--kirby-medium);margin-bottom:12px}kirby-form-field[_ngcontent-%COMP%]{margin-top:24px}.size-selector-heading[_ngcontent-%COMP%]{margin-bottom:0}.size-selector-heading[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:smaller}"]})}return sn})()},26005:(ft,Z,l)=>{"use strict";l.d(Z,{K:()=>L});var n=l(47008),i=l(81443),f=l(91365),g=l(49711),s=l(98990),x=l(43081),_=l(54438),y=l(13339);function w(he,pe){1&he&&(_.j41(0,"kirby-page-title"),_.EFF(1,"Modal Component"),_.k0s(),_.j41(2,"p"),_.EFF(3," Lorem ipsum. "),_.k0s(),_.j41(4,"kirby-modal-footer")(5,"button",7),_.EFF(6,"Button in footer"),_.k0s()())}function M(he,pe){1&he&&(_.j41(0,"kirby-page-title"),_.EFF(1,"Modal Component"),_.k0s(),_.j41(2,"p"),_.EFF(3," Lorem ipsum. "),_.k0s(),_.j41(4,"kirby-modal-footer")(5,"button",7),_.EFF(6,"Button in footer"),_.k0s()())}function I(he,pe){1&he&&_.nrm(0,"kirby-empty-state",8)}const R="\n Modal Component\n\n

\n Lorem ipsum. \n

\n\n \n \n \n
",K={selector:"cookbook-modal-component-example",template:`\n\n\n\n\n ${R}\n\n\n\x3c!-- Additional flavor examples omitted from example for brevity --\x3e\n\n ${R}\n\n\n\n \n \n \n\n\n\n \n Size of modal
\n (on screens larger than 768px)\n
\n \n
\n`,isOpenExampleHtml:'\n\n\n \n Modal content\n \n\n',isOpenCodeSnippet:"openModal() {\n this.isOpen = true;\n}\n\ndidDismiss() {\n this.isOpen = false;\n}"};class L{constructor(){this.size="medium",this.isOpen=!1}static#e=this.template=K.template.split(' button[_ngcontent-%COMP%]{min-width:15rem}kirby-card[_ngcontent-%COMP%]{margin-top:32px}kirby-card[_ngcontent-%COMP%] kirby-card-header[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:smaller}cookbook-modal-example-size-selector[_ngcontent-%COMP%]{margin-bottom:24px}"],changeDetection:0})}},54976:(ft,Z,l)=>{"use strict";l.d(Z,{T:()=>K});var n=l(10467),i=l(47008),f=l(60177),g=l(2923),s=l(75902),x=l(75966),_=l(36234),y=l(54438),w=l(81443),M=l(35519);function I(L,he){1&L&&(y.j41(0,"p"),y.EFF(1," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta. "),y.k0s())}function R(L,he){if(1&L&&(y.qex(0),y.j41(1,"section",4),y.DNE(2,I,2,0,"p",5),y.k0s(),y.bVm()),2&L){const pe=y.XpG();y.R7$(2),y.Y8G("ngForOf",pe.dummyBackgroundTexts)}}const H={selector:"cookbook-modal-example-advanced",template:'\n\n\n\n \n \n\n \n\n
\n

\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non neque vitae felis ultricies imperdiet in ut orci. Aenean sodales, augue ac consectetur sodales, neque velit condimentum nulla, at ultrices dolor tortor a nunc. Proin tellus nibh, venenatis eget quam ut, blandit cursus ante. Pellentesque convallis pretium orci vitae porta.\n

\n
\n
',componentTemplate:'\n \n 2/4\n \n\n\n\n My Modal Title\n\n \n

Some content of the embedded component

\n\n\n \n\n',showModalCodeSnippet:"constructor(private modalController: ModalController) {}\n\nshowModal() {\n const config: ModalConfig = {\n flavor: 'modal',\n component: YourEmbeddedModalComponent,\n componentProps: {\n prop1: 'value1',\n prop2: 'value2'\n }\n };\n this.modalController.showModal(config);\n}",drawerCodeSnippet:"showDrawer() {\n const config: ModalConfig = {\n flavor: 'drawer',\n drawerSupplementaryAction: {\n iconName: 'qr',\n action: this.onSupplementaryActionSelect.bind(this),\n },\n component: YourEmbeddedDrawerComponent\n };\n this.modalController.showModal(config);\n}\n\nprivate onSupplementaryActionSelect() {\n console.log('Supplementary action selected');\n}",showCompactCodeSnippet:"showCompact() {\n const config: ModalConfig = {\n flavor: 'compact',\n component: YourEmbeddedModalComponent,\n };\n this.modalController.showModal(config);\n}",callbackCodeSnippet:"async showModal() {\n await this.modalController.showModal(config, this.onModalClose.bind(this));\n}\n\nonModalClose() {\n ...\n}",callbackWithDataCodeSnippet:"// Inside the parent (caller) component:\n@Component()\nexport class ParentComponent() {\n async showModal() {\n await this.modalController.showModal(config, this.onModalClose.bind(this));\n }\n\n onModalClose(dataReturnedByModal: CustomDataType) {\n ...\n }\n}\n\n// Inside the embedded component:\n// Pass the data, which will be available in the parent callback:\n@Component()\nexport class EmbeddedComponent() {\n constructor(@Optional() @SkipSelf() private modal: Modal) {}\n\n const returnData: CustomDataType = {...};\n this.modal?.close(returnData);\n}",scrollingCodeSnippet:"import { KirbyAnimation, Modal } from '@kirbydesign/designsystem';\n...\nconstructor(@Optional() @SkipSelf() private modal: Modal) {}\n\n// scrollToTop example - with long scroll animation:\nthis.modal?.scrollToTop(KirbyAnimation.Duration.LONG);\n\n// scrollToBottom example:\nthis.modal?.scrollToBottom();",disableScrollingCodeSnippet:"import { KirbyAnimation, Modal } from '@kirbydesign/designsystem';\n...\nconstructor(@Optional() @SkipSelf() private modal: Modal) {}\n\n// Disable scroll Y\nthis.modal?.scrollDisabled = true;",didPresentCodeSnippet:"constructor(@Optional() @SkipSelf() private modal: Modal) {}\n\n@ViewChild('nameInput', { static: false, read: ElementRef }) private nameInputElement: ElementRef;\n\nngOnInit() {\n this.modal?.didPresent.then(() => this.nameInputElement?.nativeElement.focus()); \n}",willCloseCodeSnippet:"constructor(@Optional() @SkipSelf() private modal: Modal) {}\n\nngOnInit() {\n this.modal?.willClose.then(() => console.log('this modal is about to close'));\n}",embeddedCodeSnippet:"import { Component, Inject } from '@angular/core';\nimport { COMPONENT_PROPS } from '@kirbydesign/designsystem';\n\n@Component()\nexport class EmbeddedComponent() {\n constructor(@Inject(COMPONENT_PROPS) private componentProps) {\n this.props = componentProps;\n }\n}",closeModalCodeSnippet:"import { Component, Optional, SkipSelf } from '@angular/core';\nimport { Modal } from '@kirbydesign/designsystem';\n\n@Component()\nexport class EmbeddedComponent() {\n constructor(@Optional() @SkipSelf() private modal: Modal) {}\n\n onDismiss() {\n this.modal?.close();\n }\n\n // (Optional) If you need to wait for the modal to close:\n async onDismiss() {\n await this.modal?.close();\n // Do something...\n }\n \n // (Optional) You can additionally pass data, which will be available in the parent callback:\n onDismiss() {\n const returnData = {...};\n this.modal?.close(returnData);\n }\n}"};class K{static#e=this.template=H.template.split("""),this.preventInteraction=!1,this.disableScroll=!1,this.showNestedDummyContent=!0,this.showNestedPageProgress=!1,this.showNestedCollapseTitle=!1,this.showNestedFooter=!1,this.snapNestedFooterToKeyboard=!1,this.displayNestedFooterAsInline=!1}showOverlay(he){var pe=this;return(0,n.A)(function*(){let be="modal"===he?"Modal Title":"Drawer Title";pe.customCssClass&&(be="modal"===he?"Modal with Custom CSS":"Drawer with Custom CSS"),pe.preventInteraction=pe.interactWithBackground;const Le={flavor:he,collapseTitle:pe.collapseTitle,component:x.v,interactWithBackground:pe.interactWithBackground,cssClass:pe.customCssClass?["my-custom-modal-class"]:[],componentProps:{title:be,subtitle:"Hello from the first embedded example component!",flavor:he,exampleProperties:{stringProperty:"Value injected from parent component",numberProperty:123,booleanProperty:!0},showNestedOptions:!pe.interactWithBackground,showDummyKeyboard:pe.showDummyKeyboard,showPageProgress:pe.showPageProgress,showFooter:pe.showFooter,snapFooterToKeyboard:pe.snapFooterToKeyboard,showDummyContent:pe.showDummyContent&&!pe.interactWithBackground,showStaticDummyContent:pe.interactWithBackground,delayLoadDummyContent:pe.delayLoadDummyContent,loadAdditionalContent:pe.loadAdditionalContent,displayFooterAsInline:pe.displayFooterAsInline,showModalSizeSelector:!0,disableScroll:pe.disableScroll,showNestedCollapseTitle:pe.showNestedCollapseTitle,alertBeforeClose:pe.alertBeforeClose}};yield pe.modalController.showModal(Le,pe.onOverlayClose.bind(pe))})()}showModal(){var he=this;return(0,n.A)(function*(){yield he.showOverlay("modal")})()}showCompact(){var he=this;return(0,n.A)(function*(){const pe={flavor:"compact",component:s.g};yield he.modalController.showModal(pe,he.onOverlayClose.bind(he))})()}showDrawer(){var he=this;return(0,n.A)(function*(){yield he.showOverlay("drawer")})()}onOverlayClose(he){this.preventInteraction=!1,console.log("Callback from Embedded Modal:"),console.log(`Data received: ${JSON.stringify(he)}`)}static#p=this.\u0275fac=function(pe){return new(pe||K)(y.rXU(w.W3),y.rXU(M.W))};static#m=this.\u0275cmp=y.VBU({type:K,selectors:[["cookbook-modal-example-advanced"]],decls:9,vars:17,consts:[["kirby-button","","size","lg",3,"click","disabled"],["configAppearance","toggle"],[3,"showDummyKeyboardChange","showPageProgressChange","showFooterChange","snapFooterToKeyboardChange","displayFooterAsInlineChange","collapseTitleChange","alertBeforeCloseChange","showDummyContentChange","delayLoadDummyContentChange","loadAdditionalContentChange","interactWithBackgroundChange","customCssClassChange","disabled","showDummyKeyboard","showPageProgress","showFooter","snapFooterToKeyboard","displayFooterAsInline","collapseTitle","alertBeforeClose","showDummyContent","delayLoadDummyContent","loadAdditionalContent","interactWithBackground","customCssClass"],[4,"ngIf"],[1,"dummy-text-section"],[4,"ngFor","ngForOf"]],template:function(pe,be){1&pe&&(y.j41(0,"button",0),y.bIt("click",function(){return be.showModal()}),y.EFF(1,"Show modal"),y.k0s(),y.j41(2,"button",0),y.bIt("click",function(){return be.showDrawer()}),y.EFF(3,"Show drawer"),y.k0s(),y.j41(4,"button",0),y.bIt("click",function(){return be.showCompact()}),y.EFF(5,"Show compact"),y.k0s(),y.j41(6,"cookbook-example-configuration-wrapper",1)(7,"cookbook-modal-example-configuration",2),y.mxI("showDummyKeyboardChange",function(ye){return y.DH7(be.showDummyKeyboard,ye)||(be.showDummyKeyboard=ye),ye})("showPageProgressChange",function(ye){return y.DH7(be.showPageProgress,ye)||(be.showPageProgress=ye),ye})("showFooterChange",function(ye){return y.DH7(be.showFooter,ye)||(be.showFooter=ye),ye})("snapFooterToKeyboardChange",function(ye){return y.DH7(be.snapFooterToKeyboard,ye)||(be.snapFooterToKeyboard=ye),ye})("displayFooterAsInlineChange",function(ye){return y.DH7(be.displayFooterAsInline,ye)||(be.displayFooterAsInline=ye),ye})("collapseTitleChange",function(ye){return y.DH7(be.collapseTitle,ye)||(be.collapseTitle=ye),ye})("alertBeforeCloseChange",function(ye){return y.DH7(be.alertBeforeClose,ye)||(be.alertBeforeClose=ye),ye})("showDummyContentChange",function(ye){return y.DH7(be.showDummyContent,ye)||(be.showDummyContent=ye),ye})("delayLoadDummyContentChange",function(ye){return y.DH7(be.delayLoadDummyContent,ye)||(be.delayLoadDummyContent=ye),ye})("loadAdditionalContentChange",function(ye){return y.DH7(be.loadAdditionalContent,ye)||(be.loadAdditionalContent=ye),ye})("interactWithBackgroundChange",function(ye){return y.DH7(be.interactWithBackground,ye)||(be.interactWithBackground=ye),ye})("customCssClassChange",function(ye){return y.DH7(be.customCssClass,ye)||(be.customCssClass=ye),ye}),y.k0s()(),y.DNE(8,R,3,1,"ng-container",3)),2&pe&&(y.Y8G("disabled",be.interactWithBackground||be.preventInteraction),y.R7$(2),y.Y8G("disabled",be.preventInteraction),y.R7$(2),y.Y8G("disabled",be.interactWithBackground||be.preventInteraction),y.R7$(3),y.Y8G("disabled",be.preventInteraction),y.R50("showDummyKeyboard",be.showDummyKeyboard)("showPageProgress",be.showPageProgress)("showFooter",be.showFooter)("snapFooterToKeyboard",be.snapFooterToKeyboard)("displayFooterAsInline",be.displayFooterAsInline)("collapseTitle",be.collapseTitle)("alertBeforeClose",be.alertBeforeClose)("showDummyContent",be.showDummyContent)("delayLoadDummyContent",be.delayLoadDummyContent)("loadAdditionalContent",be.loadAdditionalContent)("interactWithBackground",be.interactWithBackground)("customCssClass",be.customCssClass),y.R7$(),y.Y8G("ngIf",be.interactWithBackground))},dependencies:[i.Q,g.V,_.r,f.bT,f.pM],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-x:hidden;background:var(--kirby-background-color);padding:16px;box-sizing:border-box}@media (min-width: 768px){[_nghost-%COMP%]{padding:32px}}[_nghost-%COMP%] h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;color:var(--kirby-semi-dark);text-transform:uppercase;margin-top:12px;margin-bottom:4px}[_nghost-%COMP%]{display:grid;place-content:center;overflow-y:auto}[_nghost-%COMP%] > button[_ngcontent-%COMP%]{min-width:15rem}kirby-card[_ngcontent-%COMP%]{--kirby-card-width: fit-content}.dummy-text-section[_ngcontent-%COMP%]{position:absolute;top:90vh}"]})}},81560:(ft,Z,l)=>{"use strict";l.d(Z,{h:()=>_});var n=l(10467),i=l(47008),f=l(3745),g=l(54438),s=l(81443);const x_template='',x_codeSnippet="constructor(private myService: MyService) {}\n\nvalidate(): boolean | AlertConfig {\n if(this.myService.isDataValid()) return true;\n\n const config: AlertConfig = {\n title: 'Data is invalid',\n message: `Check the following fields: ${this.myService.getInvalidFields()}`,\n okBtn: 'Close',\n cancelBtn: 'Cancel',\n icon: {\n name: 'warning',\n themeColor: 'warning',\n },\n };\n \n return config;\n }\n\n openModal() {\n const config: ModalConfig = {\n component: EmbeddedComponent,\n // Use an arrow function to avoid 'this' being undefined in the function callback: \n canDismiss: () => this.validate(),\n }\n\n this.modalController.showModal(config);\n }\n";class _{static#e=this.template=x_template;static#t=this.codeSnippet=x_codeSnippet;constructor(w){this.modalController=w}showModal(w){var M=this;return(0,n.A)(function*(){const I={component:f.x,flavor:w,componentProps:{showStepper:!1}};yield M.modalController.showModal(I)})()}static#n=this.\u0275fac=function(M){return new(M||_)(g.rXU(s.W3))};static#o=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-modal-example-alert"]],decls:2,vars:0,consts:[["kirby-button","","size","lg",3,"click"]],template:function(M,I){1&M&&(g.j41(0,"button",0),g.bIt("click",function(){return I.showModal("modal")}),g.EFF(1,"Show modal (with alert)"),g.k0s())},dependencies:[i.Q],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-x:hidden;background:var(--kirby-background-color);padding:16px;box-sizing:border-box}@media (min-width: 768px){[_nghost-%COMP%]{padding:32px}}[_nghost-%COMP%] h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;color:var(--kirby-semi-dark);text-transform:uppercase;margin-top:12px;margin-bottom:4px}[_nghost-%COMP%]{display:grid;place-content:center;overflow-y:auto}[_nghost-%COMP%] > button[_ngcontent-%COMP%]{min-width:15rem}kirby-card[_ngcontent-%COMP%]{margin-top:32px}kirby-card[_ngcontent-%COMP%] kirby-card-header[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:smaller}cookbook-modal-example-size-selector[_ngcontent-%COMP%]{margin-bottom:24px}"]})}},36234:(ft,Z,l)=>{"use strict";l.d(Z,{r:()=>ye});var n=l(54438),i=l(60177),f=l(11235),g=l(32667),s=l(35519);function x(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",12),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleDummyKeyboard(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.showDummyKeyboard&&!De.interactWithBackground)("disabled",De.interactWithBackground||De.disabled)}}function _(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",13),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleShowPageProgress(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.showPageProgress&&!De.interactWithBackground)("disabled",De.interactWithBackground||De.disabled)}}function y(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",14),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleShowFooter(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.showFooter&&!De.interactWithBackground)("disabled",De.interactWithBackground||De.disabled)}}function w(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",15),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleDisplayFooterAsInline(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.displayFooterAsInline)("disabled",De.disabled||!De.showFooter)}}function M(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",16),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleSnapFooterToKeyboard(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.snapFooterToKeyboard)("disabled",De.disabled||!De.showFooter)}}function I(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",17),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleDisableScroll(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.disableScroll)("disabled",De.disabled)}}function R(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",18),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleShowDummyContent(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.showDummyContent)("disabled",De.interactWithBackground||De.disabled)}}function H(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",19),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleDelayLoadDummyContent(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.delayLoadDummyContent&&!De.interactWithBackground)("disabled",!De.showDummyContent||De.interactWithBackground||De.disabled)}}function K(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",20),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleLoadAdditionalContent(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.loadAdditionalContent&&!De.interactWithBackground)("disabled",!De.showDummyContent||De.interactWithBackground||De.disabled)}}function L(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",21),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleCollapseTitle(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.collapseTitle)("disabled",De.disabled)}}function he(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",22),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG();return n.Njj(Mt.toggleAlertBeforeClose(lt))}),n.k0s()}if(2&je){const De=n.XpG();n.Y8G("checked",De.alertBeforeClose)("disabled",De.disabled)}}function pe(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",26),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG(2);return n.Njj(Mt.toggleInteractWithBackground(lt))}),n.k0s()}if(2&je){const De=n.XpG(2);n.Y8G("checked",De.interactWithBackground)("disabled",De.disabled)}}function be(je,ke){if(1&je){const De=n.RV6();n.j41(0,"kirby-checkbox",27),n.bIt("checkedChange",function(lt){n.eBV(De);const Mt=n.XpG(2);return n.Njj(Mt.toggleCustomCssClass(lt))}),n.k0s()}if(2&je){const De=n.XpG(2);n.Y8G("checked",De.customCssClass)("disabled",De.disabled)}}function Le(je,ke){if(1&je&&(n.qex(0),n.nrm(1,"kirby-divider",23),n.j41(2,"p"),n.EFF(3,"Custom modal/drawer:"),n.k0s(),n.DNE(4,pe,1,2,"kirby-checkbox",24)(5,be,1,2,"kirby-checkbox",25),n.bVm()),2&je){const De=n.XpG();n.R7$(),n.Y8G("hasMargin",!0),n.R7$(3),n.Y8G("ngIf",void 0!==De.interactWithBackground),n.R7$(),n.Y8G("ngIf",void 0!==De.customCssClass)}}let ye=(()=>{class je{constructor(De){this.windowRef=De,this.showDummyKeyboardChange=new n.bkB,this.showPageProgressChange=new n.bkB,this.collapseTitleChange=new n.bkB,this.alertBeforeCloseChange=new n.bkB,this.showFooterChange=new n.bkB,this.displayFooterAsInlineChange=new n.bkB,this.showDummyContentChange=new n.bkB,this.delayLoadDummyContentChange=new n.bkB,this.loadAdditionalContentChange=new n.bkB,this.disableScrollChange=new n.bkB,this.interactWithBackgroundChange=new n.bkB,this.customCssClassChange=new n.bkB,this.snapFooterToKeyboardChange=new n.bkB,this.preventChangeEvent=!1}toggleDummyKeyboard(De){const Je="kirby-cookbook-show-dummy-keyboard";this.showDummyKeyboard=De,this.showDummyKeyboard?this.windowRef.nativeWindow.sessionStorage.setItem(Je,"true"):this.windowRef.nativeWindow.sessionStorage.removeItem(Je),setTimeout(()=>this.windowRef.nativeWindow.dispatchEvent(new CustomEvent("kirbyToggleDummyKeyboard",{detail:this.showDummyKeyboard})))}_onToggleDummyKeyboard(De){void 0!==this.showDummyKeyboard&&(this.showDummyKeyboard=De)}toggleShowPageProgress(De){this.preventChangeEvent||(this.showPageProgress=De,this.showPageProgressChange.emit(this.showPageProgress))}toggleShowFooter(De){this.preventChangeEvent||(this.showFooter=De,this.showFooterChange.emit(this.showFooter))}toggleDisplayFooterAsInline(De){this.preventChangeEvent||(this.displayFooterAsInline=De,this.displayFooterAsInlineChange.emit(this.displayFooterAsInline))}toggleCollapseTitle(De){this.preventChangeEvent||(this.collapseTitle=De,this.collapseTitleChange.emit(this.collapseTitle))}toggleAlertBeforeClose(De){this.preventChangeEvent||(this.alertBeforeClose=De,this.alertBeforeCloseChange.emit(this.alertBeforeClose))}toggleShowDummyContent(De){this.showDummyContent=De,this.showDummyContentChange.emit(this.showDummyContent)}toggleDelayLoadDummyContent(De){this.preventChangeEvent||(this.delayLoadDummyContent=De,this.delayLoadDummyContentChange.emit(this.delayLoadDummyContent))}toggleLoadAdditionalContent(De){this.preventChangeEvent||(this.loadAdditionalContent=De,this.loadAdditionalContentChange.emit(this.loadAdditionalContent))}toggleDisableScroll(De){this.preventChangeEvent||(this.disableScroll=De,this.disableScrollChange.emit(this.disableScroll))}toggleInteractWithBackground(De){this.preventChangeEvent=!0,this.interactWithBackground=De,this.toggleCustomCssClass(De),De&&this.toggleShowDummyContent(!0),this.interactWithBackgroundChange.emit(De),setTimeout(()=>this.preventChangeEvent=!1)}toggleCustomCssClass(De){this.customCssClass=De,this.customCssClassChange.emit(De)}toggleSnapFooterToKeyboard(De){this.snapFooterToKeyboard=De,this.snapFooterToKeyboardChange.emit(De)}static#e=this.\u0275fac=function(Je){return new(Je||je)(n.rXU(s.W))};static#t=this.\u0275cmp=n.VBU({type:je,selectors:[["cookbook-modal-example-configuration"]],hostBindings:function(Je,lt){1&Je&&n.bIt("kirbyToggleDummyKeyboard",function(Bt){return lt._onToggleDummyKeyboard(Bt.detail)},!1,n.tSv)},inputs:{disabled:"disabled",flavor:"flavor",showDummyKeyboard:"showDummyKeyboard",showPageProgress:"showPageProgress",collapseTitle:"collapseTitle",alertBeforeClose:"alertBeforeClose",showFooter:"showFooter",displayFooterAsInline:"displayFooterAsInline",showDummyContent:"showDummyContent",delayLoadDummyContent:"delayLoadDummyContent",loadAdditionalContent:"loadAdditionalContent",disableScroll:"disableScroll",interactWithBackground:"interactWithBackground",customCssClass:"customCssClass",snapFooterToKeyboard:"snapFooterToKeyboard"},outputs:{showDummyKeyboardChange:"showDummyKeyboardChange",showPageProgressChange:"showPageProgressChange",collapseTitleChange:"collapseTitleChange",alertBeforeCloseChange:"alertBeforeCloseChange",showFooterChange:"showFooterChange",displayFooterAsInlineChange:"displayFooterAsInlineChange",showDummyContentChange:"showDummyContentChange",delayLoadDummyContentChange:"delayLoadDummyContentChange",loadAdditionalContentChange:"loadAdditionalContentChange",disableScrollChange:"disableScrollChange",interactWithBackgroundChange:"interactWithBackgroundChange",customCssClassChange:"customCssClassChange",snapFooterToKeyboardChange:"snapFooterToKeyboardChange"},decls:12,vars:12,consts:[["text","Show dummy keyboard","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Show page progress (modal only)","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Show footer","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Display footer as inline","size","xs","class","indent",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Snap footer to keyboard","size","xs","class","indent",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Disable scroll","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Show dummy content","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Delay load modal","size","xs","class","indent",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Delay load additional","size","xs","class","indent",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Collapse title","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Alert before closing","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],[4,"ngIf"],["text","Show dummy keyboard","size","xs",3,"checkedChange","checked","disabled"],["text","Show page progress (modal only)","size","xs",3,"checkedChange","checked","disabled"],["text","Show footer","size","xs",3,"checkedChange","checked","disabled"],["text","Display footer as inline","size","xs",1,"indent",3,"checkedChange","checked","disabled"],["text","Snap footer to keyboard","size","xs",1,"indent",3,"checkedChange","checked","disabled"],["text","Disable scroll","size","xs",3,"checkedChange","checked","disabled"],["text","Show dummy content","size","xs",3,"checkedChange","checked","disabled"],["text","Delay load modal","size","xs",1,"indent",3,"checkedChange","checked","disabled"],["text","Delay load additional","size","xs",1,"indent",3,"checkedChange","checked","disabled"],["text","Collapse title","size","xs",3,"checkedChange","checked","disabled"],["text","Alert before closing","size","xs",3,"checkedChange","checked","disabled"],[3,"hasMargin"],["text","Interact with background (drawer only)","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Add custom CSS class","size","xs",3,"checked","disabled","checkedChange",4,"ngIf"],["text","Interact with background (drawer only)","size","xs",3,"checkedChange","checked","disabled"],["text","Add custom CSS class","size","xs",3,"checkedChange","checked","disabled"]],template:function(Je,lt){1&Je&&n.DNE(0,x,1,2,"kirby-checkbox",0)(1,_,1,2,"kirby-checkbox",1)(2,y,1,2,"kirby-checkbox",2)(3,w,1,2,"kirby-checkbox",3)(4,M,1,2,"kirby-checkbox",4)(5,I,1,2,"kirby-checkbox",5)(6,R,1,2,"kirby-checkbox",6)(7,H,1,2,"kirby-checkbox",7)(8,K,1,2,"kirby-checkbox",8)(9,L,1,2,"kirby-checkbox",9)(10,he,1,2,"kirby-checkbox",10)(11,Le,6,3,"ng-container",11),2&Je&&(n.Y8G("ngIf",void 0!==lt.showDummyKeyboard),n.R7$(),n.Y8G("ngIf",void 0!==lt.showPageProgress&&(void 0===lt.flavor||"modal"===lt.flavor)),n.R7$(),n.Y8G("ngIf",void 0!==lt.showFooter),n.R7$(),n.Y8G("ngIf",void 0!==lt.displayFooterAsInline),n.R7$(),n.Y8G("ngIf",void 0!==lt.snapFooterToKeyboard),n.R7$(),n.Y8G("ngIf",void 0!==lt.disableScroll),n.R7$(),n.Y8G("ngIf",void 0!==lt.showDummyContent),n.R7$(),n.Y8G("ngIf",void 0!==lt.delayLoadDummyContent),n.R7$(),n.Y8G("ngIf",void 0!==lt.loadAdditionalContent),n.R7$(),n.Y8G("ngIf",void 0!==lt.collapseTitle),n.R7$(),n.Y8G("ngIf",void 0!==lt.alertBeforeClose),n.R7$(),n.Y8G("ngIf",void 0!==lt.interactWithBackground||void 0!==lt.customCssClass))},dependencies:[i.bT,f.P,g.h],styles:["kirby-checkbox[_ngcontent-%COMP%]:not(:first-of-type){margin-top:4px}kirby-checkbox.indent[_ngcontent-%COMP%]{margin-left:32px;margin-top:4px}p[_ngcontent-%COMP%]{margin:0;font-size:14px}"]})}return je})()},43081:(ft,Z,l)=>{"use strict";l.d(Z,{Z:()=>x});var n=l(54438),i=l(27037),f=l(60177),g=l(81365);function s(_,y){if(1&_&&(n.j41(0,"kirby-item",2),n.nrm(1,"kirby-radio",3),n.j41(2,"kirby-label"),n.EFF(3),n.k0s()()),2&_){const w=y.$implicit;n.R7$(),n.Y8G("value",w),n.R7$(2),n.JRh(w.text)}}let x=(()=>{class _{constructor(){this.modalSizeOptions=[{text:"Small",value:"small"},{text:"Medium (default)",value:"medium"},{text:"Large",value:"large"},{text:"Full height (medium width only)",value:"full-height"}],this.size=this.modalSizeOptions[1],this.sizeChange=new n.bkB}onValueChange(w){this.size=w,this.sizeChange.emit(this.size)}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=n.VBU({type:_,selectors:[["cookbook-modal-example-size-selector"]],outputs:{sizeChange:"sizeChange"},decls:2,vars:2,consts:[[3,"valueChange","value"],["size","xs",4,"ngFor","ngForOf"],["size","xs"],["slot","start",3,"value"]],template:function(M,I){1&M&&(n.j41(0,"kirby-radio-group",0),n.bIt("valueChange",function(H){return I.onValueChange(H)}),n.DNE(1,s,4,2,"kirby-item",1),n.k0s()),2&M&&(n.Y8G("value",I.size),n.R7$(),n.Y8G("ngForOf",I.modalSizeOptions))},dependencies:[i.s7,i.v2,i.Y2,f.pM,g.kA,g.JA,g.UF],styles:["[_nghost-%COMP%]{display:block}"]})}return _})()},34607:(ft,Z,l)=>{"use strict";l.d(Z,{I:()=>_});var n=l(3271),i=l(47008),f=l(54438),g=l(81443);const s=()=>({awesomeQueryParam:"awesome value"}),x_template="\n",x_defaultCodeSnippet="constructor(private modalController: ModalController) {}\n\nnavigateToModalRoute(path: string | string[], queryParams?: Params) {\n this.modalController.navigateToModal(path, queryParams);\n}",x_modalRouteCodeSnippet="import { ModalEnabledRoutes } from '@kirbydesign/designsystem/modal';\n\nexport const routes: ModalEnabledRoutes = [\n {\n path: 'main-route-presented-behind-the-modal',\n component: SomeComponent,\n children: [\n {\n path: 'child-route-presented-in-modal',\n outlet: 'modal',\n component: FirstChildComponent,\n \n // optional ModalConfig passed via Angular Router's built in data object\n data: {\n modalConfig: {\n size: 'large',\n flavor: 'drawer',\n },\n }, \n },\n {\n path: 'second-child-route-presented-in-modal',\n outlet: 'modal',\n component: SecondChildComponent,\n },\n ],\n }\n];",x_modalRouteWithGuardCodeSnippet="import { CanDismissModalGuard } from '@kirbydesign/designsystem/modal';\n\n// When using component or controller based modals,\n// set a 'canDeactivate' guard on the route, that opens the modal:\nexport const routes = [\n {\n path: 'main-route-that-opens-a-modal',\n component: SomeComponent,\n canDeactivate: [CanDismissModalGuard],\n }\n];\n \n// When using route based modals, set the guard on the child route(s):\nexport const routes = [\n {\n path: 'main-route-presented-behind-the-modal',\n component: SomeComponent,\n children: [\n {\n path: 'child-route-presented-in-modal',\n outlet: 'modal',\n component: FirstChildComponent,\n canDeactivate: [CanDismissModalGuard]\n },\n {\n path: 'second-child-route-presented-in-modal',\n outlet: 'modal',\n component: SecondChildComponent,\n canDeactivate: [CanDismissModalGuard]\n },\n ],\n }\n];\n\n// Configure RouterModule:\n@NgModule({\n imports: [\n RouterModule.forRoot(routes, {\n canceledNavigationResolution: 'computed',\n }),\n ],\n})\nexport class AppRoutingModule {}",x_deeplinkedRouterLinkWithUrlParamCodeSnippet="\n Link text for your deeplinked modal\n",x_routerLinkForModalOutletCodeSnippet="\x3c!-- Relative path when opened from parent route: --\x3e\nOpen Modal\n\n\x3c!-- Relative path to parent route + modal: --\x3e\nNavigate to Modal\n\x3c!-- OR using string array: --\x3e\nNavigate to Modal\n\n\x3c!-- Absolute path to parent route + modal: --\x3e\nNavigate to Modal\n\n\x3c!-- Passing query parameters (OPTIONAL) --\x3e\nNavigate to Modal\n",x_modalControllerForModalOutletCodeSnippet="import { ModalController } from '@kirbydesign/designsystem';\n\n// Relative path when opened from parent component:\nmodalController.navigateToModal('child-route-presented-in-modal');\n\n// Relative path when opened from another component:\nmodalController.navigateToModal(['../', 'main-route-presented-behind-the-modal', 'child-route-presented-in-modal']);\n// OR using plain string:\nmodalController.navigateToModal('../main-route-presented-behind-the-modal/child-route-presented-in-modal');\n\n// Absolute path when opened from another component:\nmodalController.navigateToModal(['/home', 'main-route-presented-behind-the-modal', 'child-route-presented-in-modal']);\n\n// Passing query parameters (OPTIONAL): \nmodalController.navigateToModal('child-route-presented-in-modal', {awesomeQueryParam: 'awesome value'});\n",x_routerLinkWithinModalOutletCodeSnippet='\x3c!-- Relative path to sibling modal route: --\x3e\nPage 2\n\n\x3c!-- Passing query parameters (OPTIONAL): --\x3e\nPage 2\n',x_modalControllerWithinModalOutletCodeSnippet="// Using Kirby ModalController:\nimport { ModalController } from '@kirbydesign/designsystem';\n\nconstructor(private modalController: ModalController) {}\n\nnavigate() {\n // Relative path to sibling modal route:\n modalController.navigateWithinModal('../second-child-route-presented-in-modal'); \n\n // Relative path to sibling modal route with query parameters (OPTIONAL):\n modalController.navigateWithinModal('../second-child-route-presented-in-modal', {awesomeQueryParam: 'awesome value'}); \n}\n\n// OR using Angular Router:\nconstructor(private router: Router, private route: ActivatedRoute) {}\n\nnavigate() {\n this.router.navigate(['../second-child-route-presented-in-modal'], { relativeTo: this.route });\n\n // OR with query parameters (OPTIONAL)\n this.router.navigate(['../second-child-route-presented-in-modal'], { queryParams: {awesomeQueryParam: 'awesome value'}, relativeTo: this.route });\n} ";class _{static#e=this.template=x_template;static#t=this.defaultCodeSnippet=x_defaultCodeSnippet;static#n=this.modalRouteCodeSnippet=x_modalRouteCodeSnippet;static#o=this.modalRouteWithGuardCodeSnippet=x_modalRouteWithGuardCodeSnippet;static#i=this.deeplinkedRouterLinkWithUrlParamCodeSnippet=x_deeplinkedRouterLinkWithUrlParamCodeSnippet;static#r=this.routerLinkForModalOutletCodeSnippet=x_routerLinkForModalOutletCodeSnippet;static#s=this.modalControllerForModalOutletCodeSnippet=x_modalControllerForModalOutletCodeSnippet;static#a=this.routerLinkWithinModalOutletCodeSnippet=x_routerLinkWithinModalOutletCodeSnippet;static#l=this.modalControllerWithinModalOutletCodeSnippet=x_modalControllerWithinModalOutletCodeSnippet;constructor(w){this.modalController=w}navigateToModalRoute(w,M){this.modalController.navigateToModal(w,M)}static#c=this.\u0275fac=function(M){return new(M||_)(f.rXU(g.W3))};static#d=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-modal-example-outlet"]],decls:4,vars:2,consts:[["kirby-button","",3,"click"],["kirby-button","","kirbyModalRouterLink","page1",3,"kirbyModalQueryParams"]],template:function(M,I){1&M&&(f.j41(0,"button",0),f.bIt("click",function(){return I.navigateToModalRoute("page1",{awesomeQueryParam:"awesome value"})}),f.EFF(1,"Open modal by route"),f.k0s(),f.j41(2,"button",1),f.EFF(3,"Open modal by router link"),f.k0s()),2&M&&(f.R7$(2),f.Y8G("kirbyModalQueryParams",f.lJ4(1,s)))},dependencies:[i.Q,n.ae$,n.uQP],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-x:hidden;background:var(--kirby-background-color);padding:16px;box-sizing:border-box}@media (min-width: 768px){[_nghost-%COMP%]{padding:32px}}[_nghost-%COMP%] h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;color:var(--kirby-semi-dark);text-transform:uppercase;margin-top:12px;margin-bottom:4px}[_nghost-%COMP%]{display:grid;place-content:center;overflow-y:auto}[_nghost-%COMP%] > button[_ngcontent-%COMP%]{min-width:15rem}"]})}},97064:(ft,Z,l)=>{"use strict";l.d(Z,{J:()=>M});var n=l(10467),i=l(47008),f=l(98990),g=l(75966),s=l(75902),x=l(43081),_=l(54438),y=l(81443);const w={selector:"cookbook-modal-example-simple",template:'\n\n\n\n \n Size of modal/drawer
\n (on screens larger than 768px)\n
\n \n
',showModalCodeSnippet:"constructor(private modalController: ModalController) {}\n\nshowModal(flavor: ModalFlavor, size?: ModalSize) {\n const config: ModalConfig = {\n component: YourEmbeddedModalComponent,\n flavor,\n size,\n };\n\n this.modalController.showModal(config);\n}"};class M{static#e=this.template=w.template.split(" button[_ngcontent-%COMP%]{min-width:15rem}kirby-card[_ngcontent-%COMP%]{margin-top:32px}kirby-card[_ngcontent-%COMP%] kirby-card-header[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:smaller}cookbook-modal-example-size-selector[_ngcontent-%COMP%]{margin-bottom:24px}"]})}},25531:(ft,Z,l)=>{"use strict";l.d(Z,{D:()=>De});var n=l(91365),i=l(60177),f=l(47008),g=l(35043),s=l(50589),x=l(81443),_=l(72211),y=l(54438),w=l(57017);const M=()=>({fixed:!0});function I(Je,lt){1&Je&&y.eu8(0)}function R(Je,lt){if(1&Je&&(y.j41(0,"div")(1,"h1"),y.DNE(2,I,1,0,"ng-container",9),y.k0s()()),2&Je){y.XpG();const Mt=y.sdS(5);y.R7$(2),y.Y8G("ngTemplateOutlet",Mt)}}function H(Je,lt){1&Je&&(y.j41(0,"div"),y.EFF(1," Custom subtitle with a long long long long name "),y.k0s())}function K(Je,lt){1&Je&&y.eu8(0)}function L(Je,lt){if(1&Je&&y.DNE(0,K,1,0,"ng-container",9),2&Je){y.XpG();const Mt=y.sdS(5);y.Y8G("ngTemplateOutlet",Mt)}}function he(Je,lt){1&Je&&y.EFF(0," Custom Title with a very long name ")}function pe(Je,lt){1&Je&&y.EFF(0," Custom subtitle of custom title with a very long name ")}function be(Je,lt){if(1&Je){const Mt=y.RV6();y.j41(0,"kirby-page-actions")(1,"button",10),y.bIt("click",function(){y.eBV(Mt);const et=y.XpG();return y.Njj(et.onMoreSelect())}),y.nrm(2,"kirby-icon",11),y.k0s()()}}function Le(Je,lt){if(1&Je){const Mt=y.RV6();y.j41(0,"kirby-page-actions")(1,"button",12),y.bIt("click",function(){y.eBV(Mt);const et=y.XpG();return y.Njj(et.onCogSelect())}),y.nrm(2,"kirby-icon",13),y.k0s()()}}function ye(Je,lt){if(1&Je&&y.nrm(0,"div",14),2&Je){const Mt=y.XpG();y.Y8G("innerHTML",Mt.content,y.npT)}}function je(Je,lt){if(1&Je){const Mt=y.RV6();y.j41(0,"kirby-fab-sheet",15),y.nrm(1,"kirby-icon",16),y.j41(2,"kirby-action-sheet",17),y.bIt("itemSelect",function(et){y.eBV(Mt);const sn=y.XpG();return y.Njj(sn.onItemSelect(et))}),y.k0s()()}if(2&Je){const Mt=y.XpG();y.R7$(2),y.Y8G("items",Mt.items)}}const ke={template:'\n\n \x3c!-- Custom Page Title --\x3e\n
\n

\n \n

\n
\n\n \x3c!-- Custom Page Subtitle --\x3e\n
\n Custom subtitle with a long long long long name\n
\n\n \n \n \n\n \n Custom Title with a very long name\n \n\n \n Custom subtitle of custom title with a very long name\n \n\n \x3c!-- Fixed Page Actions --\x3e\n \n \n \n\n \x3c!-- Sticky Page Actions --\x3e\n \n \n \n \n \x3c!-- Custom Content Template (without wrapper) --\x3e\n
\n \n \x3c!-- Fixed Content --\x3e\n \n \n \n \n \n
'};class De extends _.y{static#e=this.template=ke.template.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">...");constructor(lt,Mt){super(),this.toastController=lt,this.modalController=Mt,this.items=[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}]}onItemSelect(lt){lt&&this.toastController.showToast({message:`'${lt.text}' was selected.`,messageType:"success",durationInMs:1500})}onCogSelect(){this.toastController.showToast({message:"Settings was selected.",messageType:"success",durationInMs:1500})}onMoreSelect(){this.modalController.showActionSheet({header:"Your action sheet header",items:this.items},this.onItemSelect.bind(this))}static#t=this.\u0275fac=function(Mt){return new(Mt||De)(y.rXU(w.K),y.rXU(x.W3))};static#n=this.\u0275cmp=y.VBU({type:De,selectors:[["ng-component"]],features:[y.Vt3],decls:12,vars:4,consts:[["customTitle",""],["customSubtitle",""],["defaultBackHref","/"],[4,"kirbyPageTitle"],[4,"kirbyPageSubtitle"],["kirbyPageToolbarTitle",""],[4,"kirbyPageActions"],[3,"innerHTML",4,"kirbyPageContent"],["horizontalAlignment","right",4,"kirbyPageContent"],[4,"ngTemplateOutlet"],["kirby-button","","aria-label","More",3,"click"],["name","more"],["kirby-button","","aria-label","Settings",3,"click"],["name","cog"],[3,"innerHTML"],["horizontalAlignment","right"],["name","write-message"],["header","Your action sheet header","subheader","Your action sheet subheader",3,"itemSelect","items"]],template:function(Mt,Bt){1&Mt&&(y.j41(0,"kirby-page",2),y.DNE(1,R,3,1,"div",3)(2,H,2,0,"div",4)(3,L,1,1,"ng-template",5)(4,he,1,0,"ng-template",null,0,y.C5r)(6,pe,1,0,"ng-template",null,1,y.C5r)(8,be,3,0,"kirby-page-actions",6)(9,Le,3,0,"kirby-page-actions",6)(10,ye,1,1,"div",7)(11,je,3,1,"kirby-fab-sheet",8),y.k0s()),2&Mt&&(y.R7$(8),y.Y8G("kirbyPageActions",y.lJ4(2,M)),y.R7$(3),y.Y8G("kirbyPageContent",y.lJ4(3,M)))},dependencies:[n.wq,n.H1,n.cr,n.eR,n.wH,n.Bk,n.HE,n.Im,i.T3,f.Q,g.op,g.Rl,s.U,x.vL],styles:[".custom-page-title[_ngcontent-%COMP%]{display:inline-flex}"]})}},43765:(ft,Z,l)=>{"use strict";l.d(Z,{i:()=>be});var n=l(91365),i=l(35043),f=l(47008),g=l(72211),s=l(54438),x=l(57017),_=l(81443),y=l(13339);const w=()=>({fixed:!0}),M=()=>({maxLines:2});function I(Le,ye){1&Le&&(s.j41(0,"div")(1,"div",6)(2,"h1",7),s.EFF(3," Custom Titles with very long names that span multiple lines will be truncated "),s.k0s(),s.nrm(4,"kirby-icon",8),s.k0s()()),2&Le&&(s.R7$(2),s.Y8G("kirbyFitHeading",s.lJ4(1,M)))}function R(Le,ye){1&Le&&(s.j41(0,"div"),s.EFF(1," Custom subtitles with very long names that span multiple lines will wrap. "),s.k0s())}function H(Le,ye){1&Le&&(s.j41(0,"div",9)(1,"div",10),s.EFF(2," Custom Titles with very long names that span multiple lines will be truncated "),s.k0s(),s.nrm(3,"kirby-icon",8),s.k0s())}function K(Le,ye){if(1&Le){const je=s.RV6();s.j41(0,"kirby-page-actions")(1,"button",11),s.bIt("click",function(){s.eBV(je);const De=s.XpG();return s.Njj(De.onMoreSelect())}),s.nrm(2,"kirby-icon",12),s.k0s()()}}function L(Le,ye){if(1&Le){const je=s.RV6();s.j41(0,"kirby-page-actions")(1,"button",13),s.bIt("click",function(){s.eBV(je);const De=s.XpG();return s.Njj(De.onCogSelect())}),s.nrm(2,"kirby-icon",14),s.k0s()()}}function he(Le,ye){if(1&Le&&s.nrm(0,"div",15),2&Le){const je=s.XpG();s.Y8G("innerHTML",je.content,s.npT)}}const pe={template:'\n\n \x3c!-- Custom Page Title --\x3e\n
\n
\n

\n Custom Titles with very long names that span multiple lines will be truncated\n

\n \n
\n
\n\n \x3c!-- Custom Page Subtitle --\x3e\n
\n Custom subtitles with very long names that span multiple lines will wrap.\n
\n\n
\n
\n Custom Titles with very long names that span multiple lines will be truncated\n
\n \n
\n\n \x3c!-- Fixed Page Actions --\x3e\n \n \n \n\n \x3c!-- Sticky Page Actions --\x3e\n \n \n \n \n \x3c!-- Custom Content Template (without wrapper) --\x3e\n
\n \n
'};class be extends g.y{static#e=this.template=pe.template.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">...");constructor(ye,je){super(),this.toastController=ye,this.modalController=je,this.items=[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}]}onItemSelect(ye){ye&&this.toastController.showToast({message:`'${ye.text}' was selected.`,messageType:"success",durationInMs:1500})}onCogSelect(){this.toastController.showToast({message:"Settings was selected.",messageType:"success",durationInMs:1500})}onMoreSelect(){this.modalController.showActionSheet({header:"Your action sheet header",items:this.items},this.onItemSelect.bind(this))}static#t=this.\u0275fac=function(je){return new(je||be)(s.rXU(x.K),s.rXU(_.W3))};static#n=this.\u0275cmp=s.VBU({type:be,selectors:[["ng-component"]],features:[s.Vt3],decls:7,vars:2,consts:[["defaultBackHref","/"],[4,"kirbyPageTitle"],[4,"kirbyPageSubtitle"],["style","display: flex; justify-content: center; align-items: center; gap: 0.5rem;",4,"kirbyPageToolbarTitle"],[4,"kirbyPageActions"],[3,"innerHTML",4,"kirbyPageContent"],[2,"display","flex","gap","0.5rem"],[3,"kirbyFitHeading"],["name","arrow-down"],[2,"display","flex","justify-content","center","align-items","center","gap","0.5rem"],[2,"overflow","hidden","text-overflow","ellipsis","white-space","nowrap"],["kirby-button","","aria-label","More",3,"click"],["name","more"],["kirby-button","","aria-label","Settings",3,"click"],["name","cog"],[3,"innerHTML"]],template:function(je,ke){1&je&&(s.j41(0,"kirby-page",0),s.DNE(1,I,5,2,"div",1)(2,R,2,0,"div",2)(3,H,4,0,"div",3)(4,K,3,0,"kirby-page-actions",4)(5,L,3,0,"kirby-page-actions",4)(6,he,1,1,"div",5),s.k0s()),2&je&&(s.R7$(4),s.Y8G("kirbyPageActions",s.lJ4(1,w)))},dependencies:[n.wq,n.H1,n.cr,n.eR,n.wH,n.Bk,n.HE,n.Im,y.r2,i.op,i.Rl,f.Q],encapsulation:2})}},83741:(ft,Z,l)=>{"use strict";l.d(Z,{u:()=>s});var n=l(91365),i=l(72211),f=l(54438);const g={template:'\n \n
\n
\n'};class s extends i.y{static#e=this.template=g.template.replace(' defaultBackHref="/"',"").replace('
',"...");constructor(){super()}static#t=this.\u0275fac=function(y){return new(y||s)};static#n=this.\u0275cmp=f.VBU({type:s,selectors:[["ng-component"]],features:[f.Vt3],decls:3,vars:1,consts:[["titleAlignment","center","title","Centered Title","subtitle","Centered Subtitle","toolbarTitle","A Different Title","defaultBackHref","/"],[3,"innerHTML"]],template:function(y,w){1&y&&(f.j41(0,"kirby-page",0)(1,"kirby-page-content"),f.nrm(2,"div",1),f.k0s()()),2&y&&(f.R7$(2),f.Y8G("innerHTML",w.content,f.npT))},dependencies:[n.wq,n.H1,n.Uu],encapsulation:2})}},72211:(ft,Z,l)=>{"use strict";l.d(Z,{y:()=>n});class n{constructor(){this.content="

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci animi aperiam deserunt dolore error esse\n laborum magni natus nihil optio perferendis placeat, quae sed, sequi sunt totam voluptatem! Dicta,\n quaerat! Aut, dignissimos dolorum ducimus et rem reprehenderit rerum sunt ut! Ad aliquid beatae cum esse et eveniet\n facere natus numquam obcaecati qui quia quisquam quo repellat repudiandae sit, soluta voluptatibus! Aspernatur dolore enim incidunt libero molestiae nostrum quasi? Accusamus aut culpa dolores doloribus laborum\n nesciunt voluptates! Consectetur cumque doloremque eius esse et excepturi hic, inventore mollitia nisi,\n reiciendis, tempora unde!

\n

Blanditiis, cupiditate distinctio earum illo impedit laborum velit veritatis. Accusamus adipisci alias\n aperiam, assumenda corporis culpa cum debitis exercitationem impedit laborum possimus quam qui repellat,\n saepe similique sint soluta. Unde.

\n

Aut eligendi excepturi magni nulla quo reprehenderit tempora tempore voluptates! Aliquid deserunt\n exercitationem nulla praesentium reiciendis, veniam voluptatem voluptatibus. Aut consectetur dignissimos\n dolor ex maiores nostrum numquam ratione sint voluptates.

\n

Amet, deleniti in ipsam molestias nihil porro rerum! Consectetur, culpa dolor dolore in maiores officiis\n reiciendis repellendus voluptates! Aliquam at debitis dolorum facilis harum libero optio pariatur placeat\n reiciendis soluta!Aperiam dicta distinctio dolor earum esse, est eveniet expedita inventore ipsum iusto nam nobis odio quaerat\n qui suscipit tenetur ut velit voluptas voluptatem voluptates. Dignissimos ea fuga nam odit quo?Ab accusamus cum fugit quos voluptatum. Adipisci, commodi delectus doloribus fugiat, ipsam laudantium\n necessitatibus nisi odio optio porro quaerat quis, repellat reprehenderit rerum sapiente ullam voluptates\n voluptatum. Et, neque, quod.Animi beatae eius, explicabo, harum itaque iusto minus necessitatibus nisi odio, placeat reprehenderit\n repudiandae vel velit! A at, cum deserunt doloribus ea harum molestias nihil optio placeat porro\n reprehenderit velit?

\n

Autem eum expedita modi omnis, perferendis porro saepe tenetur ullam. Ab accusantium alias atque corporis\n ducimus facere illum ipsam iste neque non nulla obcaecati quia reiciendis sed, sunt velit voluptate!

\n

Alias aspernatur consequuntur debitis delectus ducimus, enim eveniet inventore laudantium libero molestiae\n nesciunt quas recusandae saepe soluta tempore velit, vitae! Aperiam distinctio exercitationem id incidunt\n ipsa repellendus similique sunt vero.

\n

Alias aspernatur consequuntur debitis delectus ducimus, enim eveniet inventore laudantium libero molestiae\n nesciunt quas recusandae saepe soluta tempore velit, vitae! Aperiam distinctio exercitationem id incidunt\n ipsa repellendus similique sunt vero.

\n

Alias aspernatur consequuntur debitis delectus ducimus, enim eveniet inventore laudantium libero molestiae\n nesciunt quas recusandae saepe soluta tempore velit, vitae! Aperiam distinctio exercitationem id incidunt\n ipsa repellendus similique sunt vero. Alias aspernatur consequuntur debitis delectus ducimus, enim eveniet inventore laudantium libero molestiae\n nesciunt quas recusandae saepe soluta tempore velit, vitae! Aperiam distinctio exercitationem id incidunt\n ipsa repellendus similique sunt vero. Alias aspernatur consequuntur debitis delectus ducimus, enim eveniet inventore laudantium libero molestiae\n nesciunt quas recusandae saepe soluta tempore velit, vitae! Aperiam distinctio exercitationem id incidunt\n ipsa repellendus similique sunt vero.

\n

THE END

"}}},39357:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>K});var n=l(19402),i=l(91365),f=l(41727),g=l(29756),s=l(81365),x=l(60177),_=l(72211),y=l(54438);function w(L,he){if(1&L&&(y.j41(0,"code",8),y.EFF(1),y.k0s()),2&L){const pe=y.XpG().$implicit;y.R7$(),y.SpI('maxWidth="',pe.value,'"')}}function M(L,he){if(1&L&&(y.j41(0,"kirby-item",4)(1,"kirby-label")(2,"p",5),y.EFF(3),y.k0s(),y.DNE(4,w,2,1,"code",6),y.k0s(),y.j41(5,"kirby-label",7)(6,"data",8),y.EFF(7),y.k0s()()()),2&L){const pe=he.$implicit,be=he.selected;y.AVh("focused",he.focused),y.Y8G("selected",be),y.R7$(3),y.JRh(pe.text),y.R7$(),y.Y8G("ngIf","default"!==pe.value),y.R7$(3),y.JRh(pe.width)}}const I=n.Q.pageContentMaxWidth,R='\n
\n Max Width\n \n \n \n

{{ item.text }}

\n maxWidth="{{item.value}}"\n
\n \n {{ item.width }}\n \n \n \n
\n',H={template:`\n ${R}\n
\n
\n
`};class K extends _.y{constructor(){super(...arguments),this.maxWidthOptions=[{text:"Default",value:"default",width:I("default")},{text:"Large",value:"lg",width:I("lg")},{text:"X-Large",value:"xl",width:I("xl")},{text:"Full",value:"full",width:I("full")}],this.maxWidth=this.maxWidthOptions[0].value}static#e=this.template=H.template.replace(R,"").replace('
',"...");onMaxWidthChange(he){this.maxWidth=he}static#t=this.\u0275fac=(()=>{let he;return function(be){return(he||(he=y.xGo(K)))(be||K)}})();static#n=this.\u0275cmp=y.VBU({type:K,selectors:[["ng-component"]],features:[y.Vt3],decls:8,vars:4,consts:[["title","Content Width",3,"maxWidth"],["size","sm",3,"change","items","selectedIndex"],["selectable","true",3,"selected","focused",4,"kirbyListItemTemplate"],[3,"innerHTML"],["selectable","true",3,"selected"],[1,"kirby-item-title"],["class","kirby-item-detail",4,"ngIf"],["slot","end"],[1,"kirby-item-detail"]],template:function(pe,be){1&pe&&(y.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"fieldset")(3,"legend"),y.EFF(4,"Max Width"),y.k0s(),y.j41(5,"kirby-dropdown",1),y.bIt("change",function(ye){return be.onMaxWidthChange(ye.value)}),y.DNE(6,M,8,6,"kirby-item",2),y.k0s()(),y.nrm(7,"div",3),y.k0s()()),2&pe&&(y.Y8G("maxWidth",be.maxWidth),y.R7$(5),y.Y8G("items",be.maxWidthOptions)("selectedIndex",0),y.R7$(2),y.Y8G("innerHTML",be.content,y.npT))},dependencies:[i.wq,i.H1,i.Uu,f.kr,f.Ps,g.bx,g.HV,s.kA,s.JA,s.UF,x.bT],styles:["fieldset[_ngcontent-%COMP%]{margin-bottom:16px}"]})}},43511:(ft,Z,l)=>{"use strict";l.d(Z,{E:()=>s});var n=l(91365),i=l(72211),f=l(54438);const g={template:'\n \n
\n
\n'};class s extends i.y{static#e=this.template=g.template.replace(' defaultBackHref="/"',"").replace('
',"...");static#t=this.\u0275fac=(()=>{let _;return function(w){return(_||(_=f.xGo(s)))(w||s)}})();static#n=this.\u0275cmp=f.VBU({type:s,selectors:[["ng-component"]],features:[f.Vt3],decls:3,vars:1,consts:[["title","Fall prices consulting quarterly municipal appeal inverse expenses market value credit quality market exposure potential appeal funds debt downturn NASDAQ Fitch 401k appeal corporate bonds municipal Nikkei market index treasury lucrative holder fiat corporation funds default interest rollover 401k exchange traded funds dividends inverse credit investment capitalization","titleMaxLines","2","subtitle","Report on the Municipal Securities Market","defaultBackHref","/"],[3,"innerHTML"]],template:function(y,w){1&y&&(f.j41(0,"kirby-page",0)(1,"kirby-page-content"),f.nrm(2,"div",1),f.k0s()()),2&y&&(f.R7$(2),f.Y8G("innerHTML",w.content,f.npT))},dependencies:[n.wq,n.H1,n.Uu],encapsulation:2})}},80956:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>be});var n=l(91365),i=l(60177),f=l(47008),g=l(35043),s=l(98990),x=l(81365),_=l(57808),y=l(72211),w=l(54438),M=l(47868);function I(Le,ye){1&Le&&w.eu8(0)}function R(Le,ye){1&Le&&w.eu8(0)}function H(Le,ye){if(1&Le){const je=w.RV6();w.j41(0,"kirby-page-footer")(1,"h3"),w.EFF(2,"0 selected"),w.k0s(),w.EFF(3," This is a fixed footer "),w.j41(4,"button",5),w.bIt("click",function(){w.eBV(je);const De=w.XpG();return w.Njj(De.onCloseClick())}),w.nrm(5,"kirby-icon",6),w.k0s()()}}function K(Le,ye){if(1&Le){const je=w.RV6();w.j41(0,"kirby-card")(1,"kirby-item")(2,"h3"),w.EFF(3,"Show tabs"),w.k0s(),w.j41(4,"kirby-toggle",7),w.bIt("click",function(){w.eBV(je);const De=w.XpG();return w.Njj(De.toggleTabs())}),w.k0s()(),w.j41(5,"kirby-item")(6,"h3"),w.EFF(7,"Show footer"),w.k0s(),w.j41(8,"kirby-toggle",7),w.bIt("click",function(){w.eBV(je);const De=w.XpG();return w.Njj(De.toggleFooter())}),w.k0s()()()}if(2&Le){const je=w.XpG();w.R7$(4),w.Y8G("checked",je.showTabs),w.R7$(4),w.Y8G("checked",je.showFooter)}}class be extends y.y{static#e=this.template='\n \n \n
\n \n
\n \n

0 selected

\n This is a fixed footer\n \n
\n
'.replace(/]*>(.|\s)*?<\/kirby-page-content>/,"...");constructor(ye){super(),this.route=ye,this.showTabs=!0,this.showFooter=!0}ngOnInit(){this.title=this.route.snapshot.data.title}toggleTabs(){this.showTabs=!this.showTabs}toggleFooter(){this.showFooter=!this.showFooter}onCloseClick(){this.pageFooter.close(),this.showFooter=!1,this.showTabs=!0}static#t=this.\u0275fac=function(je){return new(je||be)(w.rXU(M.nX))};static#n=this.\u0275cmp=w.VBU({type:be,selectors:[["ng-component"]],viewQuery:function(je,ke){if(1&je&&w.GBs(n.oX,5),2&je){let De;w.mGM(De=w.lsd())&&(ke.pageFooter=De.first)}},features:[w.Vt3],decls:8,vars:6,consts:[["controls",""],[3,"title","tabBarBottomHidden"],[4,"ngTemplateOutlet"],[3,"innerHTML"],[4,"ngIf"],["kirby-button","","attentionLevel","2","aria-label","Close",1,"close-footer-btn",3,"click"],["name","close"],["slot","end",3,"click","checked"]],template:function(je,ke){if(1&je&&(w.j41(0,"kirby-page",1)(1,"kirby-page-content"),w.DNE(2,I,1,0,"ng-container",2),w.nrm(3,"div",3),w.DNE(4,R,1,0,"ng-container",2),w.k0s(),w.DNE(5,H,6,0,"kirby-page-footer",4),w.k0s(),w.DNE(6,K,9,2,"ng-template",null,0,w.C5r)),2&je){const De=w.sdS(7);w.Y8G("title",ke.title)("tabBarBottomHidden",!ke.showTabs),w.R7$(2),w.Y8G("ngTemplateOutlet",De),w.R7$(),w.Y8G("innerHTML",ke.content,w.npT),w.R7$(),w.Y8G("ngTemplateOutlet",De),w.R7$(),w.Y8G("ngIf",ke.showFooter)}},dependencies:[n.wq,n.H1,n.Uu,n.oX,i.T3,i.bT,f.Q,g.op,g.Rl,s.Dw,s.ib,x.kA,x.JA,_.a],styles:[".close-footer-btn[_ngcontent-%COMP%]{position:absolute;top:8px;right:16px;margin:0}kirby-card[_ngcontent-%COMP%]:first-of-type{margin-bottom:24px}"]})}},62243:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>H});var n=l(91365),i=l(47008),f=l(35043),g=l(72211),s=l(54438),x=l(57017),_=l(81443);const y=()=>({fixed:!0});function w(K,L){if(1&K){const he=s.RV6();s.j41(0,"kirby-page-actions")(1,"button",3),s.bIt("click",function(){s.eBV(he);const be=s.XpG();return s.Njj(be.onMoreSelect())}),s.nrm(2,"kirby-icon",4),s.k0s()()}}const M_template="\n
A Fixed Title
\n ...\n
",I_template='\n \n ...\n \n ...\n',R={template:'\n \x3c!-- Fixed Page Actions --\x3e\n \n \n \n \x3c!-- Page Content --\x3e\n \n
\n
\n
'};class H extends g.y{static#e=this.template=R.template.replace(' defaultBackHref="/"',"").replace('
',"...");static#t=this.customTitleTemplate=M_template;static#n=this.fixedActionsTemplate=I_template;constructor(L,he){super(),this.toastController=L,this.modalController=he,this.items=[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}]}onItemSelect(L){L&&this.toastController.showToast({message:`'${L.text}' was selected.`,messageType:"success",durationInMs:1500})}onCogSelect(){this.toastController.showToast({message:"Settings was selected.",messageType:"success",durationInMs:1500})}onMoreSelect(){this.modalController.showActionSheet({header:"Your action sheet header",items:this.items},this.onItemSelect.bind(this))}static#o=this.\u0275fac=function(he){return new(he||H)(s.rXU(x.K),s.rXU(_.W3))};static#i=this.\u0275cmp=s.VBU({type:H,selectors:[["ng-component"]],features:[s.Vt3],decls:4,vars:3,consts:[["toolbarTitle","A Fixed Title","defaultBackHref","/"],[4,"kirbyPageActions"],[3,"innerHTML"],["kirby-button","","aria-label","More",3,"click"],["name","more"]],template:function(he,pe){1&he&&(s.j41(0,"kirby-page",0),s.DNE(1,w,3,0,"kirby-page-actions",1),s.j41(2,"kirby-page-content"),s.nrm(3,"div",2),s.k0s()()),2&he&&(s.R7$(),s.Y8G("kirbyPageActions",s.lJ4(2,y)),s.R7$(2),s.Y8G("innerHTML",pe.content,s.npT))},dependencies:[n.wq,n.H1,n.cr,n.eR,n.Uu,i.Q,f.op,f.Rl],encapsulation:2})}},13743:(ft,Z,l)=>{"use strict";l.d(Z,{i:()=>s});var n=l(91365),i=l(72211),f=l(54438);const g={template:'\n \n
\n
\n
'};class s extends i.y{static#e=this.template=g.template.replace(' defaultBackHref="/"',"").replace('
',"...");static#t=this.handler="loadData(event: PullToRefreshEvent) {\n console.log('Begin async operation');\n\n setTimeout(() => {\n console.log('Async operation has ended');\n event.complete();\n }, 3000);\n}";loadData(_){console.log("Begin async operation"),setTimeout(()=>{console.log("Async operation has ended"),_.complete()},3e3)}static#n=this.\u0275fac=(()=>{let _;return function(w){return(_||(_=f.xGo(s)))(w||s)}})();static#o=this.\u0275cmp=f.VBU({type:s,selectors:[["ng-component"]],features:[f.Vt3],decls:3,vars:1,consts:[["title","Pull-to-refresh","defaultBackHref","/",3,"refresh"],[3,"innerHTML"]],template:function(y,w){1&y&&(f.j41(0,"kirby-page",0),f.bIt("refresh",function(I){return w.loadData(I)}),f.j41(1,"kirby-page-content"),f.nrm(2,"div",1),f.k0s()()),2&y&&(f.R7$(2),f.Y8G("innerHTML",w.content,f.npT))},dependencies:[n.wq,n.H1,n.Uu],encapsulation:2})}},80295:(ft,Z,l)=>{"use strict";l.d(Z,{P:()=>s});var n=l(91365),i=l(72211),f=l(54438);const g={template:'\n \n
\n
\n
'};class s extends i.y{static#e=this.template=g.template.replace(' defaultBackHref="/"',"").replace('
',"...");static#t=this.\u0275fac=(()=>{let _;return function(w){return(_||(_=f.xGo(s)))(w||s)}})();static#n=this.\u0275cmp=f.VBU({type:s,selectors:[["ng-component"]],features:[f.Vt3],decls:3,vars:1,consts:[["title","Simple Page","subtitle","Subtitle of simple page","defaultBackHref","/"],[3,"innerHTML"]],template:function(y,w){1&y&&(f.j41(0,"kirby-page",0)(1,"kirby-page-content"),f.nrm(2,"div",1),f.k0s()()),2&y&&(f.R7$(2),f.Y8G("innerHTML",w.content,f.npT))},dependencies:[n.wq,n.H1,n.Uu],encapsulation:2})}},17464:(ft,Z,l)=>{"use strict";l.d(Z,{F:()=>I});var n=l(91365),i=l(6260),f=l(75797),g=l(35043),s=l(60177),x=l(72211),_=l(54438);function y(R,H){if(1&R){const K=_.RV6();_.j41(0,"kirby-tab-navigation",4),_.mxI("selectedIndexChange",function(he){_.eBV(K);const pe=_.XpG();return _.DH7(pe.selectedIndex,he)||(pe.selectedIndex=he),_.Njj(he)}),_.nrm(1,"kirby-tab-navigation-item",5),_.j41(2,"kirby-tab-navigation-item",5)(3,"kirby-badge",6),_.nrm(4,"kirby-icon",7),_.k0s()(),_.j41(5,"kirby-tab-navigation-item",8)(6,"kirby-badge",9),_.EFF(7," 3 "),_.k0s()(),_.nrm(8,"kirby-tab-navigation-item",5),_.j41(9,"kirby-tab-navigation-item",5)(10,"kirby-badge"),_.nrm(11,"kirby-icon",10),_.k0s()(),_.j41(12,"kirby-tab-navigation-item",5)(13,"kirby-badge"),_.nrm(14,"kirby-icon",10),_.k0s()()()}if(2&R){const K=_.XpG();_.R50("selectedIndex",K.selectedIndex),_.R7$(),_.FS9("label",K.labels[0]),_.R7$(),_.FS9("label",K.labels[1]),_.R7$(3),_.FS9("label",K.labels[2]),_.Y8G("truncate",!1),_.R7$(3),_.FS9("label",K.labels[3]),_.R7$(),_.FS9("label",K.labels[4]),_.R7$(3),_.FS9("label",K.labels[5])}}function w(R,H){1&R&&(_.j41(0,"p"),_.EFF(1," Aut, dignissimos dolorum ducimus et rem reprehenderit rerum sunt ut! "),_.k0s())}const M={template:'\n \n \n \n \n \n \n \n \n \n \n \n 3\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n

About {{labels[selectedIndex]}}

\n

\n Aut, dignissimos dolorum ducimus et rem reprehenderit rerum sunt ut!\n

\n
\n
\n
'};class I extends x.y{constructor(){super(...arguments),this.selectedIndex=0,this.labels=["Item 1","Item 2 truncated","Item 3 not truncated","Item 4","Item 5","Item 6"]}static#e=this.template=M.template.replace(' defaultBackHref="/"',"").replace('
',"...");static#t=this.codeSnippet="selectedIndex = 0;\nlabels = ['Item 1', 'Item 2 truncated', 'Item 3 not truncated', 'Item 4', 'Item 5', 'Item 6']];\n";static#n=this.\u0275fac=(()=>{let H;return function(L){return(H||(H=_.xGo(I)))(L||I)}})();static#o=this.\u0275cmp=_.VBU({type:I,selectors:[["ng-component"]],features:[_.Vt3],decls:7,vars:3,consts:[["title","Tab navigation","subtitle","Page with tab navigation","defaultBackHref","/"],[3,"selectedIndex","selectedIndexChange",4,"kirbyPageStickyContent"],[4,"ngIf"],[3,"innerHTML"],[3,"selectedIndexChange","selectedIndex"],[3,"label"],["themeColor","warning"],["name","attach"],[3,"truncate","label"],["themeColor","success"],["name","cog"]],template:function(K,L){1&K&&(_.j41(0,"kirby-page",0),_.DNE(1,y,15,8,"kirby-tab-navigation",1),_.j41(2,"kirby-page-content")(3,"h4"),_.EFF(4),_.k0s(),_.DNE(5,w,2,0,"p",2),_.nrm(6,"div",3),_.k0s()()),2&K&&(_.R7$(4),_.SpI("About ",L.labels[L.selectedIndex],""),_.R7$(),_.Y8G("ngIf",L.selectedIndex%2==0),_.R7$(),_.Y8G("innerHTML",L.content,_.npT))},dependencies:[n.wq,n.H1,n.Uu,n.dJ,i.mt,i.FK,i.uE,f.n,g.op,g.Rl,s.bT],encapsulation:2})}},53214:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>s});var n=l(72882),i=l(60177),f=l(54438);const g_template='\n {{ progress | number: \'1.1-1\' }}%\n',g_codeSnippet="\nprogress: number = 0;\nthemeColor: ThemeColor;\n\nngOnInit(): void {\n setInterval(this.updateProgress, 2000);\n}\n\nprivate updateProgress = () => {\n this.progress = Math.random() * 100;\n\n if (this.progress > 66.666) {\n this.themeColor = 'success';\n } else if (this.progress > 33.333) {\n this.themeColor = 'warning';\n } else {\n this.themeColor = 'danger';\n }\n};\n ";let s=(()=>{class x{constructor(){this.template=g_template,this.codeSnippet=g_codeSnippet,this.progress=0,this.updateProgress=()=>{this.progress=100*Math.random(),this.themeColor=this.progress>66.666?"success":this.progress>33.333?"warning":"danger"}}ngOnInit(){setInterval(this.updateProgress,2e3)}static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-progress-circle-example-animated"]],decls:3,vars:6,consts:[["size","lg",3,"themeColor","value"]],template:function(w,M){1&w&&(f.j41(0,"kirby-progress-circle",0),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&w&&(f.Y8G("themeColor",M.themeColor)("value",M.progress),f.R7$(),f.SpI(" ",f.i5U(2,3,M.progress,"1.1-1"),"%\n"))},dependencies:[n.Z,i.QX],encapsulation:2})}return x})()},28690:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>_});var n=l(72882),i=l(28287),f=l(13339),g=l(35043),s=l(54438);const x_template='\n \n \n \n\n\n\n \n \n \n\n\n\n \n \n \n';let _=(()=>{class y{constructor(){this.template=x_template}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-progress-circle-example-content-avatar"]],decls:9,vars:0,consts:[["value","25","themeColor","danger","size","sm"],["themeColor","white"],["name","kirby"],["value","50","themeColor","warning"],["value","75","themeColor","success","size","lg"]],template:function(I,R){1&I&&(s.j41(0,"kirby-progress-circle",0)(1,"kirby-avatar",1),s.nrm(2,"kirby-icon",2),s.k0s()(),s.j41(3,"kirby-progress-circle",3)(4,"kirby-avatar",1),s.nrm(5,"kirby-icon",2),s.k0s()(),s.j41(6,"kirby-progress-circle",4)(7,"kirby-avatar",1),s.nrm(8,"kirby-icon",2),s.k0s()())},dependencies:[n.Z,i.f,f.Cd,g.op,g.Rl],styles:["[_nghost-%COMP%]{display:flex!important;align-items:center}kirby-progress-circle[_ngcontent-%COMP%]{margin-right:20px}"]})}return y})()},28481:(ft,Z,l)=>{"use strict";l.d(Z,{D:()=>y});var n=l(98990),i=l(81365),f=l(72882),g=l(35043),s=l(60177),x=l(54438);const __template='\n \n \n

Your investment savings

\n
\n {{ 2435034 | currency }}\n
\n
\n \n \n \n
\n
\n\n\n \n \n \n \n

Your investment savings

\n {{ 2435034 | currency }}\n
\n
';let y=(()=>{class w{constructor(){this.template=__template}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=x.VBU({type:w,selectors:[["cookbook-progress-circle-example-card"]],decls:20,vars:6,consts:[["hasPadding","true"],[1,"kirby-text-large"],["themeColor","success","value","37","slot","end"],["name","moneybag","size","md"],["themeColor","success","value","37","slot","start"],["slot","end",1,"kirby-text-bold"]],template:function(R,H){1&R&&(x.j41(0,"kirby-card",0)(1,"kirby-item")(2,"kirby-label")(3,"h2"),x.EFF(4,"Your investment savings"),x.k0s(),x.j41(5,"div")(6,"data",1),x.EFF(7),x.nI1(8,"currency"),x.k0s()()(),x.j41(9,"kirby-progress-circle",2),x.nrm(10,"kirby-icon",3),x.k0s()()(),x.j41(11,"kirby-card",0)(12,"kirby-item")(13,"kirby-progress-circle",4),x.nrm(14,"kirby-icon",3),x.k0s(),x.j41(15,"h2"),x.EFF(16,"Your investment savings"),x.k0s(),x.j41(17,"data",5),x.EFF(18),x.nI1(19,"currency"),x.k0s()()()),2&R&&(x.R7$(7),x.JRh(x.bMT(8,2,2435034)),x.R7$(11),x.JRh(x.bMT(19,4,2435034)))},dependencies:[n.Dw,n.ib,i.kA,i.JA,i.UF,f.Z,g.op,g.Rl,s.oe],styles:["[_nghost-%COMP%]{width:100%;max-width:500px}kirby-card[_ngcontent-%COMP%]:not(:first-of-type){margin-top:12px}"]})}return w})()},22322:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>g});var n=l(72882),i=l(54438);let g=(()=>{class s{constructor(){this.template='33%'}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-progress-circle-example-content-percent"]],decls:2,vars:0,consts:[["value","33","size","lg"]],template:function(y,w){1&y&&(i.j41(0,"kirby-progress-circle",0),i.EFF(1,"33%"),i.k0s())},dependencies:[n.Z],encapsulation:2})}return s})()},64616:(ft,Z,l)=>{"use strict";l.d(Z,{v:()=>g});var n=l(72882),i=l(54438);const f_template='\n 2/4\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-progress-circle-example-content-steps"]],decls:2,vars:0,consts:[["themeColor","warning","value","50","size","sm",1,"kirby-text-xsmall"]],template:function(y,w){1&y&&(i.j41(0,"kirby-progress-circle",0),i.EFF(1," 2/4\n"),i.k0s())},dependencies:[n.Z],encapsulation:2})}return s})()},8238:(ft,Z,l)=>{"use strict";l.d(Z,{e:()=>g});var n=l(72882),i=l(54438);let g=(()=>{class s{constructor(){this.template=''}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-progress-circle-example-default"]],decls:1,vars:0,consts:[["value","33"]],template:function(y,w){1&y&&i.nrm(0,"kirby-progress-circle",0)},dependencies:[n.Z],encapsulation:2})}return s})()},26913:(ft,Z,l)=>{"use strict";l.d(Z,{F:()=>g});var n=l(72882),i=l(54438);const f_template='

sm

\n

md (default)

\n

lg

';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-progress-circle-example-sizes"]],decls:11,vars:0,consts:[["size","sm","value","25","themeColor","danger"],["size","md","value","50","themeColor","warning"],["size","lg","value","75","themeColor","success"]],template:function(y,w){1&y&&(i.j41(0,"kirby-progress-circle",0)(1,"p"),i.EFF(2,"sm"),i.k0s()(),i.j41(3,"kirby-progress-circle",1)(4,"p"),i.EFF(5,"md "),i.j41(6,"em"),i.EFF(7,"(default)"),i.k0s()()(),i.j41(8,"kirby-progress-circle",2)(9,"p"),i.EFF(10,"lg"),i.k0s()())},dependencies:[n.Z],styles:["[_nghost-%COMP%]{display:flex!important;align-items:center}kirby-progress-circle[_ngcontent-%COMP%]{margin-right:20px}kirby-progress-circle[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%;margin:0;text-align:center;font-size:12px;line-height:16px}kirby-progress-circle[_ngcontent-%COMP%] p[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:10px}"]})}return s})()},93093:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>_});var n=l(27037),i=l(86413),f=l(54438),g=l(57017);const s=[{title:"Bacon",value:1},{title:"Salami",value:2},{title:"Tenderloin",value:3},{title:"Veggie (not an option)",value:4,disabled:!0}],x={selector:"cookbook-radio-example-binding",template:'\n',twoWayBindingTemplate:'',codeSnippet:`items = ${(0,i.i)(s)};\n\nselected = this.items[0];\n\nonChange(value: string | YourDataType) {\n ...\n}`};let _=(()=>{class y{constructor(M){this.toastController=M,this.template=x.template,this.twoWayBindingTemplate=x.twoWayBindingTemplate,this.codeSnippet=x.codeSnippet,this.items=s,this.selected=this.items[0]}onChange(M){this.toastController.showToast({message:`Item '${M.title} (value: ${M.value})' was selected.`,messageType:"success",durationInMs:1500})}static#e=this.\u0275fac=function(I){return new(I||y)(f.rXU(g.K))};static#t=this.\u0275cmp=f.VBU({type:y,selectors:[["cookbook-radio-example-binding"]],decls:1,vars:2,consts:[["itemTextProperty","title",3,"valueChange","items","value"]],template:function(I,R){1&I&&(f.j41(0,"kirby-radio-group",0),f.bIt("valueChange",function(K){return R.onChange(K)}),f.k0s()),2&I&&f.Y8G("items",R.items)("value",R.selected)},dependencies:[n.s7,n.Y2],encapsulation:2})}return y})()},34889:(ft,Z,l)=>{"use strict";l.d(Z,{H:()=>y});var n=l(27037),i=l(29756),f=l(86413),g=l(54438);function s(w,M){if(1&w&&(g.j41(0,"div",2),g.nrm(1,"kirby-radio",3),g.j41(2,"span",4),g.EFF(3),g.k0s()()),2&w){const I=M.$implicit;g.AVh("is-selected",M.selected),g.R7$(),g.Y8G("value",I)("text",I.label),g.BMQ("title",I.description),g.R7$(2),g.SpI("Rating: ",I.rating,"")}}const x=[{label:"Bacon",description:"Meat\u2019s own spice",rating:100},{label:"Bologna",description:"The heart of the bologna sandwich",rating:75},{label:"Tenderloin",description:"Love me tender \u2764\ufe0f",rating:50}],_={selector:"cookbook-radio-custom-content-example",template:'\n \n \n \n Rating: {{item.rating}}\n
\n',slottedTemplate:'\n \n \n \n',codeSnippet:`items = ${(0,f.i)(x)};\n\nselected = this.items[1];`,styles:[".wrapper {\n display: flex;\n align-items: center;\n}\n\n.rating {\n font-size: 14px;\n padding: 2px 8px;\n margin-left: 8px;\n background-color: var(--kirby-semi-light);\n border-radius: 4px;\n transition: background-color 200ms;\n}\n\n.is-selected .rating {\n background-color: var(--kirby-success);\n}"]};let y=(()=>{class w{constructor(){this.template=`\x3c!-- 1. Using slotted --\x3e\n${_.slottedTemplate}\n\n\x3c!-- 2. Using *kirbyListItemTemplate --\x3e\n${_.template}`,this.codeSnippet=_.codeSnippet,this.styles=_.styles.join("\n"),this.items=x,this.selected=this.items[1]}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=g.VBU({type:w,selectors:[["cookbook-radio-custom-content-example"]],decls:2,vars:2,consts:[[3,"value","items"],["class","wrapper",3,"is-selected",4,"kirbyListItemTemplate"],[1,"wrapper"],[3,"value","text"],[1,"rating"]],template:function(R,H){1&R&&(g.j41(0,"kirby-radio-group",0),g.DNE(1,s,4,6,"div",1),g.k0s()),2&R&&g.Y8G("value",H.selected)("items",H.items)},dependencies:[n.s7,n.v2,n.Y2,i.HV,i.bx],styles:[".wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.rating[_ngcontent-%COMP%]{font-size:14px;padding:2px 8px;margin-left:8px;background-color:var(--kirby-semi-light);border-radius:4px;transition:background-color .2s}.is-selected[_ngcontent-%COMP%] .rating[_ngcontent-%COMP%]{background-color:var(--kirby-success)}"]})}return w})()},90565:(ft,Z,l)=>{"use strict";l.d(Z,{M:()=>x});var n=l(56297),i=l(27037),f=l(54438);const g=()=>["Bacon","Salami","Tenderloin"],s_template='\n \n\n\n\n \n';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=f.VBU({type:_,selectors:[["cookbook-radio-in-form-field-example"]],decls:5,vars:5,consts:[["meat",""],["label","Label for radio group in form field","message","This is a message"],[3,"items"],["label","Label for radio group with error","message","This is an error message"],[3,"valueChange","hasError","items"]],template:function(M,I){if(1&M){const R=f.RV6();f.j41(0,"kirby-form-field",1),f.nrm(1,"kirby-radio-group",2),f.k0s(),f.j41(2,"kirby-form-field",3)(3,"kirby-radio-group",4,0),f.bIt("valueChange",function(){f.eBV(R);const K=f.sdS(4);return f.Njj(K.hasError=!1)}),f.k0s()()}2&M&&(f.R7$(),f.Y8G("items",f.lJ4(3,g)),f.R7$(2),f.Y8G("hasError",!0)("items",f.lJ4(4,g)))},dependencies:[n.LT,n.KS,i.s7,i.Y2],styles:["[_nghost-%COMP%]{display:flex}kirby-form-field[_ngcontent-%COMP%]:not(:last-of-type){margin-right:40px}"]})}return _})()},58553:(ft,Z,l)=>{"use strict";l.d(Z,{D:()=>M});var n=l(98990),i=l(27037),f=l(60177),g=l(81365),s=l(86413),x=l(54438);function _(I,R){if(1&I&&(x.j41(0,"kirby-item")(1,"kirby-radio",2),x.EFF(2),x.k0s()()),2&I){const H=R.$implicit;x.R7$(),x.Y8G("value",H)("disabled",H.disabled),x.R7$(),x.SpI(" ",H.title," ")}}const y=[{title:"Bacon",value:1},{title:"Salami (disabled)",value:2,disabled:!0},{title:"Tenderloin",value:3}],w={selector:"cookbook-radio-in-item-example",template:'\n \n \n \n {{item.title}}\n \n \n \n',codeSnippet:`items = ${(0,s.i)(y)};\nselected = this.items[2];`};let M=(()=>{class I{constructor(){this.template=w.template,this.codeSnippet=w.codeSnippet,this.items=y,this.selected=this.items[2]}static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275cmp=x.VBU({type:I,selectors:[["cookbook-radio-in-item-example"]],decls:3,vars:2,consts:[[3,"value"],[4,"ngFor","ngForOf"],["slot","start",3,"value","disabled"]],template:function(K,L){1&K&&(x.j41(0,"kirby-card")(1,"kirby-radio-group",0),x.DNE(2,_,3,3,"kirby-item",1),x.k0s()()),2&K&&(x.R7$(),x.Y8G("value",L.selected),x.R7$(),x.Y8G("ngForOf",L.items))},dependencies:[n.Dw,n.ib,i.s7,i.v2,i.Y2,f.pM,g.kA,g.JA],encapsulation:2})}return I})()},43319:(ft,Z,l)=>{"use strict";l.d(Z,{u:()=>g});var n=l(27037),i=l(54438);const f_template='\n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-radio-multiline-example"]],decls:1,vars:0,consts:[["text","Lorem ipsum dolor sit amet, consectetur adipiscing elit,\n sed do eiusmod tempor incididunt ut labore et dolore \n magna aliqua."]],template:function(y,w){1&y&&i.nrm(0,"kirby-radio",0)},dependencies:[n.s7,n.v2],encapsulation:2})}return s})()},1199:(ft,Z,l)=>{"use strict";l.d(Z,{h:()=>I});var n=l(84341),i=l(27037),f=l(11235),g=l(47008),s=l(2923),x=l(88075),_=l(86413),y=l(54438);const w=["Bacon","Salami","Tenderloin","Tongue","Drumstick"],M={selector:"cookbook-radio-reactive-forms-example",template:'
\n \n
\n\n\n \n \n\n \n \n\n \n Clear form\n \n\n \n\n ',codeSnippet:`items = ${(0,_.i)(w)};\n\n const form = new FormGroup({\n favoriteFood: new FormControl({ value: this.items[1], disabled: !this.canSelectFavorite }),\n});\n\nconst favoriteFoodControl = this.form.controls.get('favoriteFood'); \n\ntoggleEnabled(enabled: boolean) {\n enabled\n ? favoriteFoodControl.enable()\n : favoriteFoodControl.disable();\n}\n\ntoggleRequired(required: boolean) {\n required\n ? favoriteFoodControl.setValidators(Validators.required)\n : favoriteFoodControl.setValidators(null);\n favoriteFoodControl.updateValueAndValidity();\n}`};let I=(()=>{class R{constructor(){this.template=M.template.split("")[0],this.codeSnippet=M.codeSnippet,this.items=w,this.canSelectFavorite=!0,this.favoriteRequired=!0}ngOnInit(){this.buildForm()}toggleEnabled(K){this.canSelectFavorite=K,K?this.favoriteFoodControl.enable():this.favoriteFoodControl.disable()}toggleRequired(K){this.favoriteRequired=K,this.favoriteFoodControl.setValidators(K?n.k0.required:null),this.favoriteFoodControl.updateValueAndValidity()}clearForm(){this.favoriteFoodControl.setValue(null)}buildForm(){this.favoriteFoodControl=new n.hs(null,this.favoriteRequired?n.k0.required:null),this.canSelectFavorite||this.favoriteFoodControl.disable(),this.form=new n.J3({favoriteFood:this.favoriteFoodControl})}static#e=this.\u0275fac=function(L){return new(L||R)};static#t=this.\u0275cmp=y.VBU({type:R,selectors:[["cookbook-radio-reactive-forms-example"]],decls:8,vars:6,consts:[[3,"formGroup"],["formControlName","favoriteFood",3,"items"],["text","Form field enabled","size","xs",3,"checkedChange","checked"],["text","Form field required","size","xs",3,"checkedChange","checked"],["kirby-button","","size","sm","attentionLevel","2",3,"click","disabled"],[3,"form"]],template:function(L,he){1&L&&(y.j41(0,"form",0),y.nrm(1,"kirby-radio-group",1),y.k0s(),y.j41(2,"cookbook-example-configuration-wrapper")(3,"kirby-checkbox",2),y.bIt("checkedChange",function(be){return he.toggleEnabled(be)}),y.k0s(),y.j41(4,"kirby-checkbox",3),y.bIt("checkedChange",function(be){return he.toggleRequired(be)}),y.k0s(),y.j41(5,"button",4),y.bIt("click",function(){return he.clearForm()}),y.EFF(6," Clear form "),y.k0s(),y.nrm(7,"cookbook-reactive-form-state",5),y.k0s()),2&L&&(y.Y8G("formGroup",he.form),y.R7$(),y.Y8G("items",he.items),y.R7$(2),y.Y8G("checked",he.canSelectFavorite),y.R7$(),y.Y8G("checked",he.favoriteRequired),y.R7$(),y.Y8G("disabled",null===he.favoriteFoodControl.value),y.R7$(2),y.Y8G("form",he.form))},dependencies:[n.YN,n.qT,n.BC,n.cb,n.X1,n.j4,n.JD,i.s7,i.Y2,s.V,f.P,g.Q,x.m],styles:["[_nghost-%COMP%]{display:flex}cookbook-example-configuration-wrapper[_ngcontent-%COMP%]{margin-left:8px}@media (min-width: 768px){cookbook-example-configuration-wrapper[_ngcontent-%COMP%]{margin-left:40px}}.form-state[_ngcontent-%COMP%]{margin-top:12px;border-top:1px solid var(--kirby-medium);padding:8px}.form-state[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:4px;font-weight:400}.form-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px;line-height:16px}.form-state[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-white);margin-right:4px;padding:0 2px;border-radius:4px}.form-state[_ngcontent-%COMP%] span.state-true[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}"]})}return R})()},97010:(ft,Z,l)=>{"use strict";l.d(Z,{D:()=>g});var n=l(27037),i=l(54438);const f_template='\n \n \n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-radio-sizes-example"]],decls:5,vars:0,consts:[["size","xs","text","Extra Small"],["size","sm","text","Small"],["size","md","text","Medium (default)"]],template:function(y,w){1&y&&(i.j41(0,"kirby-radio-group"),i.nrm(1,"kirby-radio",0)(2,"kirby-radio",1)(3,"kirby-radio",2)(4,"kirby-radio-group"),i.k0s())},dependencies:[n.s7,n.v2,n.Y2],styles:['kirby-checkbox[_ngcontent-%COMP%], kirby-radio[_ngcontent-%COMP%]{margin-bottom:8px;background-color:var(--kirby-semi-light);position:relative}kirby-checkbox[_ngcontent-%COMP%]:before, kirby-checkbox[_ngcontent-%COMP%]:after, kirby-radio[_ngcontent-%COMP%]:before, kirby-radio[_ngcontent-%COMP%]:after{height:100%;border:1px solid var(--kirby-danger);position:absolute;right:0}kirby-checkbox[_ngcontent-%COMP%]:before, kirby-radio[_ngcontent-%COMP%]:before{content:"";border-left:0;border-right:0;width:9px}kirby-checkbox[_ngcontent-%COMP%]:after, kirby-radio[_ngcontent-%COMP%]:after{content:"md: 56px";border-left:0;border-top:0;border-bottom:0;line-height:56px;font-size:12px;color:var(--kirby-danger);padding-right:8px;margin-right:4px;vertical-align:center}kirby-radio.xs[_ngcontent-%COMP%]:after{content:"xs: 32px";line-height:32px}kirby-radio.sm[_ngcontent-%COMP%]:after{content:"sm: 44px";line-height:44px}kirby-radio.md[_ngcontent-%COMP%]:after{content:"md: 56px";line-height:56px}kirby-checkbox.xs[_ngcontent-%COMP%]:after{content:"xs: 24px";line-height:24px}kirby-checkbox.sm[_ngcontent-%COMP%]:after{content:"sm: 44px";line-height:44px}kirby-checkbox.md[_ngcontent-%COMP%]:after{content:"md: 56px";line-height:56px}kirby-checkbox[_ngcontent-%COMP%] ion-checkbox, kirby-radio[_ngcontent-%COMP%] ion-radio{background-color:#f7e0f0;margin-right:80px}']})}return s})()},564:(ft,Z,l)=>{"use strict";l.d(Z,{H:()=>g});var n=l(27037),i=l(54438);const f_template='\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n';let g=(()=>{class s{constructor(){this.template=f_template}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-radio-states-example"]],decls:10,vars:2,consts:[["text","Default"],["value","bacon"],["value","bacon","text","Checked"],["text","Disabled",3,"disabled"],["disabled","true","value","bacon","text","Disabled checked"],[3,"hasError"],["text","Has error"]],template:function(y,w){1&y&&(i.j41(0,"kirby-radio-group"),i.nrm(1,"kirby-radio",0),i.k0s(),i.j41(2,"kirby-radio-group",1),i.nrm(3,"kirby-radio",2),i.k0s(),i.j41(4,"kirby-radio-group"),i.nrm(5,"kirby-radio",3),i.k0s(),i.j41(6,"kirby-radio-group",1),i.nrm(7,"kirby-radio",4),i.k0s(),i.j41(8,"kirby-radio-group",5),i.nrm(9,"kirby-radio",6),i.k0s()),2&y&&(i.R7$(5),i.Y8G("disabled",!0),i.R7$(3),i.Y8G("hasError",!0))},dependencies:[n.s7,n.v2,n.Y2],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:wrap}kirby-radio[_ngcontent-%COMP%]{margin-right:16px}"]})}return s})()},72449:(ft,Z,l)=>{"use strict";l.d(Z,{Q:()=>I});var n=l(27037),i=l(84341),f=l(11235),g=l(47008),s=l(60177),x=l(2923),_=l(86413),y=l(54438);const w=["Bacon","Salami","Tenderloin","Tongue","Drumstick"],M={selector:"cookbook-radio-template-driven-forms-example",template:'\n\n\n\n \n \n\n \n \n\n \n\n
\n

Form state:

\n

\n Selected: {{ selected | json }}\n

\n

\n ngModel: \n valid: {{ group.valid }}\n enabled: {{ group.enabled }}\n touched: {{ group.touched }}\n

\n

\n ngModel.errors: \n {{ group.errors | json }}\n

\n
\n
\n ',codeSnippet:`items = ${(0,_.i)(w)};\n\nselected = null;\ncanSelectFavorite = true;\nfavoriteRequired = true;`};let I=(()=>{class R{constructor(){this.template=M.template.split("")[0],this.codeSnippet=M.codeSnippet,this.items=w,this.selected=null,this.canSelectFavorite=!0,this.favoriteRequired=!0}static#e=this.\u0275fac=function(L){return new(L||R)};static#t=this.\u0275cmp=y.VBU({type:R,selectors:[["cookbook-radio-template-driven-forms-example"]],decls:30,vars:24,consts:[["group","ngModel"],[3,"ngModelChange","items","ngModel","required","disabled"],["text","Form field enabled","size","xs",3,"checkedChange","checked"],["text","Form field required","size","xs",3,"checkedChange","checked"],["kirby-button","","size","sm","attentionLevel","2",3,"click","disabled"],[1,"form-state"]],template:function(L,he){if(1&L){const pe=y.RV6();y.j41(0,"kirby-radio-group",1,0),y.mxI("ngModelChange",function(Le){return y.eBV(pe),y.DH7(he.selected,Le)||(he.selected=Le),y.Njj(Le)}),y.k0s(),y.j41(2,"cookbook-example-configuration-wrapper")(3,"kirby-checkbox",2),y.bIt("checkedChange",function(){return y.eBV(pe),y.Njj(he.canSelectFavorite=!he.canSelectFavorite)}),y.k0s(),y.j41(4,"kirby-checkbox",3),y.bIt("checkedChange",function(){return y.eBV(pe),y.Njj(he.favoriteRequired=!he.favoriteRequired)}),y.k0s(),y.j41(5,"button",4),y.bIt("click",function(){return y.eBV(pe),y.Njj(he.selected=null)}),y.EFF(6," Clear selection "),y.k0s(),y.j41(7,"section",5)(8,"h4"),y.EFF(9,"Form state:"),y.k0s(),y.j41(10,"p")(11,"strong"),y.EFF(12,"Selected:"),y.k0s(),y.EFF(13),y.nI1(14,"json"),y.k0s(),y.j41(15,"p")(16,"strong"),y.EFF(17,"ngModel: "),y.k0s(),y.j41(18,"span"),y.EFF(19),y.k0s(),y.j41(20,"span"),y.EFF(21),y.k0s(),y.j41(22,"span"),y.EFF(23),y.k0s()(),y.j41(24,"p")(25,"strong"),y.EFF(26,"ngModel.errors: "),y.k0s(),y.j41(27,"span"),y.EFF(28),y.nI1(29,"json"),y.k0s()()()()}if(2&L){const pe=y.sdS(1);y.Y8G("items",he.items),y.R50("ngModel",he.selected),y.Y8G("required",he.favoriteRequired)("disabled",!he.canSelectFavorite||null),y.R7$(3),y.Y8G("checked",he.canSelectFavorite),y.R7$(),y.Y8G("checked",he.favoriteRequired),y.R7$(),y.Y8G("disabled",null===he.selected),y.R7$(8),y.SpI(" ",y.bMT(14,20,he.selected)," "),y.R7$(5),y.AVh("state-true",pe.valid),y.R7$(),y.SpI("valid: ",pe.valid,""),y.R7$(),y.AVh("state-true",pe.enabled),y.R7$(),y.SpI("enabled: ",pe.enabled,""),y.R7$(),y.AVh("state-true",pe.touched),y.R7$(),y.SpI("touched: ",pe.touched,""),y.R7$(4),y.AVh("state-true",!pe.errors),y.R7$(),y.JRh(y.bMT(29,22,pe.errors))}},dependencies:[n.s7,n.Y2,i.YN,i.BC,i.YS,i.vS,x.V,f.P,g.Q,s.TG],styles:["[_nghost-%COMP%]{display:flex}cookbook-example-configuration-wrapper[_ngcontent-%COMP%]{margin-left:8px}@media (min-width: 768px){cookbook-example-configuration-wrapper[_ngcontent-%COMP%]{margin-left:40px}}.form-state[_ngcontent-%COMP%]{margin-top:12px;border-top:1px solid var(--kirby-medium);padding:8px}.form-state[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:4px;font-weight:400}.form-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px;line-height:16px}.form-state[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-white);margin-right:4px;padding:0 2px;border-radius:4px}.form-state[_ngcontent-%COMP%] span.state-true[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}"]})}return R})()},25994:(ft,Z,l)=>{"use strict";l.d(Z,{u:()=>g});var n=l(35987),i=l(54438);let g=(()=>{class s{constructor(){this.template=''}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-range-default-example"]],decls:1,vars:0,consts:[["minLabel","Min label","maxLabel","Max label","max","100","min","1","value","25"]],template:function(y,w){1&y&&i.nrm(0,"kirby-range",0)},dependencies:[n.V],encapsulation:2})}return s})()},85337:(ft,Z,l)=>{"use strict";l.d(Z,{P:()=>g});var n=l(35987),i=l(54438);let g=(()=>{class s{constructor(){this.template=''}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-range-disabled-form-example"]],decls:1,vars:0,consts:[["disabled","","minLabel","Min value","maxLabel","Max value","max","15","min","1"]],template:function(y,w){1&y&&i.nrm(0,"kirby-range",0)},dependencies:[n.V],encapsulation:2})}return s})()},73123:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>g});var n=l(35987),i=l(54438);let g=(()=>{class s{constructor(){this.template=''}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-range-step-example"]],decls:1,vars:0,consts:[["minLabel","Min value","maxLabel","Max value","ticks","true","max","15","min","1","value","5"]],template:function(y,w){1&y&&i.nrm(0,"kirby-range",0)},dependencies:[n.V],encapsulation:2})}return s})()},88075:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>s});var n=l(60177),i=l(54438);function f(x,_){if(1&x&&(i.j41(0,"p")(1,"strong"),i.EFF(2),i.k0s(),i.j41(3,"span"),i.EFF(4),i.nI1(5,"json"),i.k0s()()),2&x){const y=i.XpG().$implicit;i.R7$(2),i.SpI("form.",y.key,".errors: "),i.R7$(),i.AVh("state-true",!y.value.errors),i.R7$(),i.JRh(i.bMT(5,4,y.value.errors))}}function g(x,_){if(1&x&&(i.qex(0),i.j41(1,"p")(2,"strong"),i.EFF(3),i.k0s(),i.j41(4,"span"),i.EFF(5),i.k0s(),i.j41(6,"span"),i.EFF(7),i.k0s(),i.j41(8,"span"),i.EFF(9),i.k0s()(),i.DNE(10,f,6,6,"p",2),i.bVm()),2&x){const y=_.$implicit;i.R7$(3),i.SpI("form.",y.key,": "),i.R7$(),i.AVh("state-true",y.value.valid),i.R7$(),i.SpI("valid: ",y.value.valid,""),i.R7$(),i.AVh("state-true",y.value.enabled),i.R7$(),i.SpI("enabled: ",y.value.enabled,""),i.R7$(),i.AVh("state-true",y.value.touched),i.R7$(),i.SpI("touched: ",y.value.touched,""),i.R7$(),i.Y8G("ngIf",!!y.value.validator)}}let s=(()=>{class x{static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["cookbook-reactive-form-state"]],inputs:{form:"form"},decls:11,vars:6,consts:[[1,"form-state"],[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(w,M){1&w&&(i.j41(0,"section",0)(1,"h4"),i.EFF(2,"Form state:"),i.k0s(),i.j41(3,"p")(4,"strong"),i.EFF(5,"form.value:"),i.k0s(),i.EFF(6),i.nI1(7,"json"),i.nrm(8,"br"),i.k0s(),i.DNE(9,g,11,11,"ng-container",1),i.nI1(10,"keyvalue"),i.k0s()),2&w&&(i.R7$(6),i.SpI(" ",i.bMT(7,2,M.form.value)," "),i.R7$(3),i.Y8G("ngForOf",i.bMT(10,4,M.form.controls)))},dependencies:[n.pM,n.bT,n.TG,n.lG],styles:["[_nghost-%COMP%]{display:flex}.form-state[_ngcontent-%COMP%]{margin-top:12px;border-top:1px solid var(--kirby-medium);padding:8px}.form-state[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:4px;font-weight:400}.form-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px;line-height:16px}.form-state[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-white);margin-right:4px;padding:0 2px;border-radius:4px}.form-state[_ngcontent-%COMP%] span.state-true[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}"]})}return x})()},60039:(ft,Z,l)=>{"use strict";l.d(Z,{_:()=>_});var n=l(18713),i=l(98990),f=l(81365),g=l(28287),s=l(54438);const x_template='\n

Contact Info

\n
\n\n \n \n \n \n

Name

\n

Telephone

\n
\n \n

contact@mail.com

\n
\n
\n
';let _=(()=>{class y{constructor(){this.template=x_template}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=s.VBU({type:y,selectors:[["cookbook-section-header-with-card"]],decls:14,vars:1,consts:[["heading",""],[3,"hasPadding"],["slot","start","imageSrc","/assets/images/woman.png","altText","Example","size","sm","title","sm"],[1,"kirby-text-normal-bold"],[1,"kirby-item-detail"],["slot","end"]],template:function(I,R){1&I&&(s.j41(0,"kirby-section-header")(1,"h3",0),s.EFF(2,"Contact Info"),s.k0s()(),s.j41(3,"kirby-card",1)(4,"kirby-item"),s.nrm(5,"kirby-avatar",2),s.j41(6,"kirby-label")(7,"p",3),s.EFF(8,"Name"),s.k0s(),s.j41(9,"p",4),s.EFF(10,"Telephone"),s.k0s()(),s.j41(11,"kirby-label",5)(12,"p",4),s.EFF(13,"contact@mail.com"),s.k0s()()()()),2&I&&(s.R7$(3),s.Y8G("hasPadding",!0))},dependencies:[n.U,i.Dw,i.ib,f.kA,f.JA,f.UF,g.f],encapsulation:2})}return y})()},39968:(ft,Z,l)=>{"use strict";l.d(Z,{M:()=>x});var n=l(18713),i=l(81365),f=l(98990),g=l(54438);const s_template='\n \n

Section Header

\n

With a label

\n
\n
\n\n \n

Title

\n Value\n
\n \n

Title

\n Value\n
\n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-section-header-heading-with-label"]],decls:17,vars:1,consts:[["heading",""],["label",""],[3,"hasPadding"],[1,"kirby-item-title"],["slot","end"]],template:function(M,I){1&M&&(g.j41(0,"kirby-section-header")(1,"kirby-label")(2,"h3",0),g.EFF(3,"Section Header"),g.k0s(),g.j41(4,"p",1),g.EFF(5,"With a label"),g.k0s()()(),g.j41(6,"kirby-card",2)(7,"kirby-item")(8,"p",3),g.EFF(9,"Title"),g.k0s(),g.j41(10,"data",4),g.EFF(11,"Value"),g.k0s()(),g.j41(12,"kirby-item")(13,"p",3),g.EFF(14,"Title"),g.k0s(),g.j41(15,"data",4),g.EFF(16,"Value"),g.k0s()()()),2&M&&(g.R7$(6),g.Y8G("hasPadding",!0))},dependencies:[n.U,i.kA,i.JA,i.UF,f.Dw,f.ib],encapsulation:2})}return _})()},22226:(ft,Z,l)=>{"use strict";l.d(Z,{j:()=>x});var n=l(18713),i=l(81365),f=l(98990),g=l(54438);const s_template='\n \n

Section Header with multiline label

\n

This label is quite lengthy, typically prone to truncation within a section header. However, with the \'wrap\' attribute applied, behold the magic of multiline functionality! Don\'t take my word for it; witness it yourself. It truly works. Can you believe that?

\n
\n
\n\n \n

Title

\n Value\n
\n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-section-header-heading-with-multiline-label"]],decls:15,vars:1,consts:[["heading",""],["label","","wrap",""],[3,"hasPadding"],[1,"kirby-item-title"],["slot","end"]],template:function(M,I){1&M&&(g.j41(0,"kirby-section-header")(1,"kirby-label")(2,"h3",0),g.EFF(3," Section Header with multiline label"),g.k0s(),g.j41(4,"p",1),g.EFF(5,"This label is quite lengthy, typically prone to truncation within a section header. However, with the "),g.j41(6,"code"),g.EFF(7,"'wrap'"),g.k0s(),g.EFF(8," attribute applied, behold the magic of multiline functionality! Don't take my word for it; witness it yourself. It truly works. Can you believe that?"),g.k0s()()(),g.j41(9,"kirby-card",2)(10,"kirby-item")(11,"p",3),g.EFF(12,"Title"),g.k0s(),g.j41(13,"data",4),g.EFF(14,"Value"),g.k0s()()()),2&M&&(g.R7$(9),g.Y8G("hasPadding",!0))},dependencies:[n.U,i.kA,i.JA,i.UF,f.Dw,f.ib],encapsulation:2})}return _})()},54670:(ft,Z,l)=>{"use strict";l.d(Z,{e:()=>x});var n=l(18713),i=l(98990),f=l(81365),g=l(54438);const s_template='\n

Label

\n

Detail in end-slot

\n
\n\n \n

Title

\n Value\n
\n \n

Title

\n Value\n
\n
';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-section-header-label-and-detail"]],decls:16,vars:1,consts:[["label",""],["detail","","slot","end"],[3,"hasPadding"],[1,"kirby-item-title"],["slot","end"]],template:function(M,I){1&M&&(g.j41(0,"kirby-section-header")(1,"p",0),g.EFF(2,"Label"),g.k0s(),g.j41(3,"p",1),g.EFF(4,"Detail in end-slot"),g.k0s()(),g.j41(5,"kirby-card",2)(6,"kirby-item")(7,"p",3),g.EFF(8,"Title"),g.k0s(),g.j41(9,"data",4),g.EFF(10,"Value"),g.k0s()(),g.j41(11,"kirby-item")(12,"p",3),g.EFF(13,"Title"),g.k0s(),g.j41(14,"data",4),g.EFF(15,"Value"),g.k0s()()()),2&M&&(g.R7$(5),g.Y8G("hasPadding",!0))},dependencies:[n.U,i.Dw,i.ib,f.kA,f.JA],encapsulation:2})}return _})()},85562:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>_});var n=l(98990),i=l(3271),f=l(37310),g=l(54438),s=l(13339);const x={template:' \n \n\n
\n \n \n \n \n
'};let _=(()=>{class y extends f.Y{constructor(){super(...arguments),this.template=x.template.split('
')[0],this.color="secondary"}setThemeColor(M){this.color=M}static#e=this.\u0275fac=(()=>{let M;return function(R){return(M||(M=g.xGo(y)))(R||y)}})();static#t=this.\u0275cmp=g.VBU({type:y,selectors:[["cookbook-segmented-control-example-color"]],features:[g.Vt3],decls:7,vars:3,consts:[["hasPadding","true",3,"themeColor"],[3,"items","value"],[1,"card-option-button-group"],[1,"white",3,"click"],[1,"light",3,"click"],[1,"secondary",3,"click"],[1,"dark",3,"click"]],template:function(I,R){1&I&&(g.j41(0,"kirby-card",0),g.nrm(1,"kirby-segmented-control",1),g.k0s(),g.j41(2,"div",2)(3,"button",3),g.bIt("click",function(){return R.setThemeColor("white")}),g.k0s(),g.j41(4,"button",4),g.bIt("click",function(){return R.setThemeColor("light")}),g.k0s(),g.j41(5,"button",5),g.bIt("click",function(){return R.setThemeColor("secondary")}),g.k0s(),g.j41(6,"button",6),g.bIt("click",function(){return R.setThemeColor("dark")}),g.k0s()()),2&I&&(g.Y8G("themeColor",R.color),g.R7$(),g.Y8G("items",R.items)("value",R.selectedSegment))},dependencies:[n.Dw,n.ib,s.Cd,i.vyB],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:initial}.card-option-button-group[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:8px;padding:8px}button[_ngcontent-%COMP%]{height:44px;width:44px;border:none;border-radius:50%;margin:0;color:#fff;cursor:pointer}button.white[_ngcontent-%COMP%]{background-color:var(--kirby-white)}button.white[_ngcontent-%COMP%]:hover{background-color:var(--kirby-white-shade)}button.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);outline:#fff 2px solid;border:#fff 2px solid}button.light[_ngcontent-%COMP%]:hover{background-color:var(--kirby-light-shade)}button.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary)}button.secondary[_ngcontent-%COMP%]:hover{background-color:var(--kirby-secondary-shade)}button.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark)}button.dark[_ngcontent-%COMP%]:hover{background-color:var(--kirby-dark-shade)}button[_ngcontent-%COMP%]:active{transform:scale(.95)}"]})}return y})()},2422:(ft,Z,l)=>{"use strict";l.d(Z,{_:()=>x});var n=l(3271),i=l(98990),f=l(37310),g=l(54438);const s_template='\n\n\n

Content for {{ selectedSegment.text }} segment

\n

The selected segment has text "{{ selectedSegment.text }}" and id "{{ selectedSegment.id }}"

\n
\n',s_codeSnippet="onSegmentSelect(segment: SegmentItem) {\n this.selectedSegment = segment;\n}";let x=(()=>{class _ extends f.Y{constructor(){super(...arguments),this.template=s_template,this.codeSnippet=s_codeSnippet}static#e=this.\u0275fac=(()=>{let w;return function(I){return(w||(w=g.xGo(_)))(I||_)}})();static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-segmented-control-example-default"]],features:[g.Vt3],decls:6,vars:5,consts:[[3,"segmentSelect","items","value"],["hasPadding","true"]],template:function(M,I){1&M&&(g.j41(0,"kirby-segmented-control",0),g.bIt("segmentSelect",function(H){return I.onSegmentSelect(H)}),g.k0s(),g.j41(1,"kirby-card",1)(2,"h2"),g.EFF(3),g.k0s(),g.j41(4,"p"),g.EFF(5),g.k0s()()),2&M&&(g.Y8G("items",I.items)("value",I.selectedSegment),g.R7$(3),g.SpI("Content for ",I.selectedSegment.text," segment"),g.R7$(2),g.Lme('The selected segment has text "',I.selectedSegment.text,'" and id "',I.selectedSegment.id,'"'))},dependencies:[n.vyB,i.Dw,i.ib],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}"]})}return _})()},53514:(ft,Z,l)=>{"use strict";l.d(Z,{R:()=>y});var n=l(3271),i=l(47008),f=l(29756),g=l(81365),s=l(54438);function x(w,M){if(1&w&&(s.j41(0,"kirby-item")(1,"kirby-label")(2,"p",5),s.EFF(3),s.k0s(),s.j41(4,"p",6),s.EFF(5),s.k0s()(),s.j41(6,"kirby-label",7)(7,"data",8),s.EFF(8),s.k0s()()()),2&w){const I=M.$implicit;s.R7$(3),s.JRh(I.title),s.R7$(2),s.JRh(I.mix.join(", ")),s.R7$(2),s.Y8G("value",I.count),s.R7$(),s.JRh(I.count)}}const _={template:'
\n \n \n {{ separateSegment.text }}\n \n
\n\n \n \n

{{ item.title }}

\n

{{ item.mix.join(\', \') }}

\n
\n \n {{ item.count }}\n \n
\n
\n',styles:[".wrapper {\n display: flex;\n align-items: center;\n margin-bottom: 16px;\n}\n\nkirby-segmented-control {\n margin-right: 8px;\n}\n",":host {\n display: block;\n margin-bottom: 16px;\n}"],codeSnippet:"size = 'md';\n\nsegmentItems: SegmentItem[] = [\n { text: 'Stone', id: 'Stone' },\n { text: 'Rick', id: 'Rick' },\n { text: 'Gooey', id: 'Gooey' },\n];\n\nselectedSegment: this.segmentItems[0];\n\nseparateSegment: SegmentItem = { text: 'Show all', id: 'all' };\n\nlistItems = [...];\n\nget filteredListItems() {\n const filter = this.selectedSegment.id;\n return filter === 'all'\n ? this.listItems\n : this.listItems.filter((item) => item.mix.indexOf(filter) > -1);\n}\n\nonSegmentSelect(segment: SegmentItem) {\n this.selectedSegment = segment;\n}"};let y=(()=>{class w{constructor(){this.template=_.template,this.styles="@use '@kirbydesign/core/src/scss/utils';\n\n"+_.styles[0].replace("8px;","utils.size('xxs');").replace("16px;","utils.size('s');"),this.codeSnippet=_.codeSnippet,this.size="md",this.segmentItems=[{text:"Stone",id:"Stone"},{text:"Rick",id:"Rick"},{text:"Gooey",id:"Gooey"}],this.selectedSegment=this.segmentItems[0],this.separateSegment={text:"Show all",id:"all"},this.listItems=[{title:"Friend Throw",count:4,mix:["Fighter","Suplex","Beetle","Gooey"]},{title:"Ice Curling",count:3,mix:["Stone","Rick","Gooey"]},{title:"Magoloran Launch",count:3,mix:["Anyone (up to 3)"]},{title:"Thundersplash",count:1,mix:["Plasma"]},{title:"Rising Sizzler",count:2,mix:["Fire","Rick"]}]}onSegmentSelect(I){this.selectedSegment=I}get filteredListItems(){const I=this.selectedSegment.id;return"all"===I?this.listItems:this.listItems.filter(R=>R.mix.indexOf(I)>-1)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=s.VBU({type:w,selectors:[["cookbook-segmented-control-example-grouped"]],decls:6,vars:7,consts:[[1,"wrapper"],[3,"segmentSelect","items","value","size"],["kirby-button","",3,"click","size","attentionLevel"],[3,"items"],[4,"kirbyListItemTemplate"],[1,"kirby-item-title"],[1,"kirby-item-detail"],["slot","end"],[3,"value"]],template:function(R,H){1&R&&(s.j41(0,"div",0)(1,"kirby-segmented-control",1),s.bIt("segmentSelect",function(L){return H.onSegmentSelect(L)}),s.k0s(),s.j41(2,"button",2),s.bIt("click",function(){return H.onSegmentSelect(H.separateSegment)}),s.EFF(3),s.k0s()(),s.j41(4,"kirby-list",3),s.DNE(5,x,9,4,"kirby-item",4),s.k0s()),2&R&&(s.R7$(),s.Y8G("items",H.segmentItems)("value",H.selectedSegment)("size",H.size),s.R7$(),s.Y8G("size",H.size)("attentionLevel",H.selectedSegment===H.separateSegment?"2":"3"),s.R7$(),s.SpI(" ",H.separateSegment.text," "),s.R7$(),s.Y8G("items",H.filteredListItems))},dependencies:[n.vyB,i.Q,f.HV,f.sB,f.bx,g.kA,g.JA,g.UF],styles:[".wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:16px}kirby-segmented-control[_ngcontent-%COMP%]{margin-right:8px}","[_nghost-%COMP%]{display:block;margin-bottom:16px}"]})}return w})()},80726:(ft,Z,l)=>{"use strict";l.d(Z,{b:()=>g});var n=l(3271),i=l(54438);const f_template='\n\n',f_codeSnippetChipItems="chipItems = [...'123456'].map((i) => ({ text: `Chip-${i}`, id: i }));",f_codeSnippetCompactChipItems="compactChipItems = [...'12345678'].map((i) => ({ text: `c${i}`, id: i }));";let g=(()=>{class s{constructor(){this.template=f_template,this.codeSnippet=f_codeSnippetChipItems+"\n\n"+f_codeSnippetCompactChipItems,this.chipItems=[..."123456"].map(_=>({text:`Chip-${_}`,id:_})),this.compactChipItems=[..."12345678"].map(_=>({text:`c${_}`,id:_}))}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-segmented-control-example-modes"]],decls:2,vars:4,consts:[["mode","chip","size","sm",3,"items","selectedIndex"],["mode","compactChip","size","sm",3,"items","selectedIndex"]],template:function(y,w){1&y&&i.nrm(0,"kirby-segmented-control",0)(1,"kirby-segmented-control",1),2&y&&(i.Y8G("items",w.chipItems)("selectedIndex",0),i.R7$(),i.Y8G("items",w.compactChipItems)("selectedIndex",0))},dependencies:[n.vyB],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}"]})}return s})()},37310:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>i});var n=l(54438);let i=(()=>{class f{constructor(){this.items=[{text:"First item",id:"first"},{text:"Second item",id:"second"}],this.selectedSegment=this.items[0]}onSegmentSelect(s){this.selectedSegment=s}static#e=this.\u0275fac=function(x){return new(x||f)};static#t=this.\u0275cmp=n.VBU({type:f,selectors:[["ng-component"]],decls:0,vars:0,template:function(x,_){},encapsulation:2})}return f})()},59014:(ft,Z,l)=>{"use strict";l.d(Z,{X:()=>s});var n=l(3271),i=l(37310),f=l(54438);const g_template='\n\n';let s=(()=>{class x extends i.Y{constructor(){super(...arguments),this.template=g_template}static#e=this.\u0275fac=(()=>{let y;return function(M){return(y||(y=f.xGo(x)))(M||x)}})();static#t=this.\u0275cmp=f.VBU({type:x,selectors:[["cookbook-segmented-control-example-sizes"]],features:[f.Vt3],decls:2,vars:4,consts:[["size","sm",3,"items","value"],["size","md",3,"items","value"]],template:function(w,M){1&w&&f.nrm(0,"kirby-segmented-control",0)(1,"kirby-segmented-control",1),2&w&&(f.Y8G("items",M.items)("value",M.selectedSegment),f.R7$(),f.Y8G("items",M.items)("value",M.selectedSegment))},dependencies:[n.vyB],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}"]})}return x})()},91876:(ft,Z,l)=>{"use strict";l.d(Z,{i:()=>g});var n=l(3271),i=l(54438);const f_codeSnippet="items: SegmentItem[] = [\n {\n text: 'First item',\n id: 'first',\n badge: {\n content: '4',\n description: '4 unread messages',\n themeColor: 'warning',\n },\n },\n {\n text: 'Second item',\n id: 'second',\n badge: {\n icon: 'attach',\n description: 'Item with attachment',\n themeColor: 'success',\n },\n },\n];";let g=(()=>{class s{constructor(){this.codeSnippet=f_codeSnippet,this.items=[{text:"First item",id:"first",badge:{content:"4",description:"4 unread messages",themeColor:"warning"}},{text:"Second item",id:"second",badge:{icon:"attach",description:"Item with attachment",themeColor:"success"}}],this.selectedSegment=this.items[0]}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-segmented-control-example-with-badge"]],decls:1,vars:2,consts:[[3,"items","value"]],template:function(y,w){1&y&&i.nrm(0,"kirby-segmented-control",0),2&y&&i.Y8G("items",w.items)("value",w.selectedSegment)},dependencies:[n.vyB],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}"]})}return s})()},99955:(ft,Z,l)=>{"use strict";l.d(Z,{l:()=>g});var n=l(26396),i=l(54438),f=l(81443);let g=(()=>{class s{constructor(_){this.modalController=_}showAlert(){this.modalController.showAlert({title:"Your alert",message:"Your alert message",okBtn:"Ok",cancelBtn:"Cancel"},this.onAlertClosed)}onAlertClosed(_){console.log(`Alert selection: ${_}`)}static#e=this.\u0275fac=function(y){return new(y||s)(i.rXU(f.W3))};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-slide-button-example"]],decls:2,vars:2,consts:[[3,"slideDone","text"],["expand","block",3,"slideDone","text"]],template:function(y,w){1&y&&(i.j41(0,"kirby-slide-button",0),i.bIt("slideDone",function(){return w.showAlert()}),i.k0s(),i.j41(1,"kirby-slide-button",1),i.bIt("slideDone",function(){return w.showAlert()}),i.k0s()),2&y&&(i.Y8G("text","Slide to unlock"),i.R7$(),i.Y8G("text","Slide to unlock"))},dependencies:[n.V],encapsulation:2})}return s})()},57123:(ft,Z,l)=>{"use strict";l.d(Z,{L:()=>f});var n=l(90599),i=l(54438);let f=(()=>{class g{static#e=this.\u0275fac=function(_){return new(_||g)};static#t=this.\u0275cmp=i.VBU({type:g,selectors:[["cookbook-spinner-example"]],decls:1,vars:0,template:function(_,y){1&_&&i.nrm(0,"kirby-spinner")},dependencies:[n.O,n.t],encapsulation:2})}return g})()},90107:(ft,Z,l)=>{"use strict";l.d(Z,{Q:()=>f});var n=l(98990),i=l(54438);let f=(()=>{class g{static#e=this.\u0275fac=function(_){return new(_||g)};static#t=this.\u0275cmp=i.VBU({type:g,selectors:[["cookbook-styling-html-lists-example"]],decls:122,vars:0,template:function(_,y){1&_&&(i.j41(0,"section")(1,"h2"),i.EFF(2,"Examples"),i.k0s(),i.j41(3,"div")(4,"kirby-card")(5,"h3"),i.EFF(6,"Unordered list"),i.k0s(),i.j41(7,"p"),i.EFF(8," Lorem ipsum dolor sit, amet consectetur adipisicing delectus perspiciatis illo corrupti ad, eius voluptas. "),i.k0s(),i.j41(9,"ul")(10,"li"),i.EFF(11,"Aenean id odio turpis"),i.k0s(),i.j41(12,"li"),i.EFF(13,"Lorem ipsum dolor sit amet"),i.k0s(),i.j41(14,"li"),i.EFF(15,"Donec ullamcorper, risus id venenatis"),i.k0s()(),i.j41(16,"p"),i.EFF(17," Voluptatum hic consectetur ea odit cupiditate corrupti, doloremque, nisi, cumque quisquam ipsa? "),i.k0s()(),i.j41(18,"kirby-card")(19,"h3"),i.EFF(20,"Ordered list"),i.k0s(),i.j41(21,"p"),i.EFF(22," Lorem ipsum dolor sit amet consectetur adipisicing pariatur accusantium optio debitis dolore beatae. "),i.k0s(),i.j41(23,"ol")(24,"li"),i.EFF(25,"Nulla cursus sem nulla"),i.k0s(),i.j41(26,"li"),i.EFF(27,"Sed egestas lorem pharetra"),i.k0s(),i.j41(28,"li"),i.EFF(29,"Pellentesque habitant morbi"),i.k0s()(),i.j41(30,"p"),i.EFF(31,"Ipsum, vero est? Iusto ipsum cumque nemo aut exercitationem!"),i.k0s()(),i.j41(32,"kirby-card")(33,"h3"),i.EFF(34,"Nested list (unordered)"),i.k0s(),i.j41(35,"p"),i.EFF(36," Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure unde eos enim omnis, nulla veniam laudantium. "),i.k0s(),i.j41(37,"ul")(38,"li"),i.EFF(39," Dignissim et lorem mollis "),i.j41(40,"ul")(41,"li"),i.EFF(42,"Duis eget tincidunt sapien"),i.k0s(),i.j41(43,"li"),i.EFF(44," Donec pulvinar aliquet turpis "),i.j41(45,"ul")(46,"li"),i.EFF(47,"Praesent vitae augue sed"),i.k0s(),i.j41(48,"li"),i.EFF(49,"Vitae convallis enim lobortis"),i.k0s()()(),i.j41(50,"li"),i.EFF(51,"Phasellus viverra ipsum sed"),i.k0s()()(),i.j41(52,"li"),i.EFF(53,"Maecenas purus sapien"),i.k0s(),i.j41(54,"li"),i.EFF(55,"Pellentesque ultricies mi"),i.k0s()(),i.j41(56,"p"),i.EFF(57," Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque ipsum quas modi temporibus iusto, error commodi minima architecto nam iste nulla perferendis. "),i.k0s()(),i.j41(58,"kirby-card")(59,"h3"),i.EFF(60,"Nested list (ordered)"),i.k0s(),i.j41(61,"p"),i.EFF(62," Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatem deserunt libero rerum excepturi. "),i.k0s(),i.j41(63,"ol")(64,"li"),i.EFF(65," Vestibulum in tortor vulputate "),i.j41(66,"ol")(67,"li"),i.EFF(68,"Fusce iaculis ante ac diam"),i.k0s(),i.j41(69,"li"),i.EFF(70," Maecenas nec convallis orci "),i.j41(71,"ol")(72,"li"),i.EFF(73,"Praesent ut felis quis"),i.k0s(),i.j41(74,"li"),i.EFF(75,"Etiam quis placerat neque"),i.k0s()()(),i.j41(76,"li"),i.EFF(77,"Ac elementum nisi eleifend"),i.k0s()()(),i.j41(78,"li"),i.EFF(79,"Proin consectetur pharetra"),i.k0s(),i.j41(80,"li"),i.EFF(81,"Aeneanlobortis porta dictum"),i.k0s()(),i.j41(82,"p"),i.EFF(83," Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsa autem ratione iure vero laboriosam velit rerum nesciunt quia amet ad vitae totam, tempore magni harum at. "),i.k0s()(),i.j41(84,"kirby-card")(85,"h3"),i.EFF(86,"Nested list (mixed unordered and ordered)"),i.k0s(),i.j41(87,"p"),i.EFF(88," Lorem ipsum dolor sit, amet consectetur adipisicing elit. Minus molestiae aliquam veniam accusamus dolor optio dignissimos, et iure! Repellat quod veniam obcaecati aliquid expedita velit autem deleniti? Dolorum, vitae exercitationem. "),i.k0s(),i.j41(89,"ol")(90,"li"),i.EFF(91,"Proin at pharetra ligula"),i.k0s(),i.j41(92,"li"),i.EFF(93," Sit amet blandit tortor dignissim "),i.j41(94,"ul")(95,"li"),i.EFF(96," In pulvinar massa ac porttitor "),i.j41(97,"ul")(98,"li"),i.EFF(99,"Proin at pharetra ligula"),i.k0s()()(),i.j41(100,"li"),i.EFF(101,"Consectetur adipiscing elit"),i.k0s(),i.j41(102,"li"),i.EFF(103,"Mauris fringilla sodales nulla"),i.k0s()()(),i.j41(104,"li"),i.EFF(105,"Integer id diam eleifend ac"),i.k0s()(),i.j41(106,"p"),i.EFF(107," Optio culpa, consequatur necessitatibus repellat, laborum eum sunt reprehenderit tempora aperiam facilis? "),i.k0s()(),i.j41(108,"kirby-card")(109,"h3"),i.EFF(110,"Text overflow (normal wrap)"),i.k0s(),i.j41(111,"p"),i.EFF(112," Lorem ipsum dolor sit amet consectetur adipisicing elit recusandae eum officiis cupiditate quos, quod non ad veniam ex voluptatibus tempore enim modi. "),i.k0s(),i.j41(113,"ul")(114,"li"),i.EFF(115," Proin at pharetra ligula, donec ullamcorper, risus id venenatis. Integer id diam eleifend ac, consectetur adipiscing elit. Fusce iaculis ante ac diam. "),i.k0s(),i.j41(116,"li"),i.EFF(117," Proin at pharetra ligula, donec ullamcorper, risus id venenatis. Integer id diam eleifend ac, consectetur adipiscing elit. Fusce iaculis ante ac diam. "),i.k0s(),i.j41(118,"li"),i.EFF(119," Proin at pharetra ligula, donec ullamcorper, risus id venenatis. Integer id diam eleifend ac, consectetur adipiscing elit. Fusce iaculis ante ac diam. "),i.k0s()(),i.j41(120,"p"),i.EFF(121,"Quidem magnam ad architecto quod modi explicabo reiciendis omnis perferendis."),i.k0s()()()())},dependencies:[n.Dw,n.ib],styles:["div[_ngcontent-%COMP%]{display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(40ch,1fr))}h2[_ngcontent-%COMP%]{grid-column:1/-1}kirby-card[_ngcontent-%COMP%]{padding:2rem}kirby-card[_ngcontent-%COMP%] [_ngcontent-%COMP%]:last-child{margin-block-end:0}"]})}return g})()},7387:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>g});var n=l(47008),i=l(54438),f=l(57017);let g=(()=>{class s{constructor(_){this.toastController=_}showToast(_){this.toastController.showToast({message:"Your toast message",messageType:_,durationInMs:5e3},this.onToastClosed)}onToastClosed(){console.log("Toast closed")}static#e=this.\u0275fac=function(y){return new(y||s)(i.rXU(f.K))};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-toast-example"]],decls:6,vars:0,consts:[["kirby-button","",3,"click"]],template:function(y,w){1&y&&(i.j41(0,"button",0),i.bIt("click",function(){return w.showToast()}),i.EFF(1,"Show default toast (success)"),i.k0s(),i.j41(2,"button",0),i.bIt("click",function(){return w.showToast("success")}),i.EFF(3,"Show toast (success)"),i.k0s(),i.j41(4,"button",0),i.bIt("click",function(){return w.showToast("warning")}),i.EFF(5,"Show toast (warning)"),i.k0s())},dependencies:[n.Q],encapsulation:2})}return s})()},11909:(ft,Z,l)=>{"use strict";l.d(Z,{t:()=>x});var n=l(30077),i=l(47008),f=l(35043),g=l(54438);const s_template='\n \n \n\n\n\n \n \n';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-toggle-button-default"]],decls:10,vars:1,consts:[["kirby-button","","unchecked","","attentionLevel","3","aria-label","Notifications disabled"],["name","notification"],["kirby-button","","checked","","attentionLevel","3","aria-label","Notifications enabled"],["name","notification-fill"],[3,"checked"],["kirby-button","","unchecked","","attentionLevel","3"],["kirby-button","","checked","","attentionLevel","2"]],template:function(M,I){1&M&&(g.j41(0,"kirby-toggle-button")(1,"button",0),g.nrm(2,"kirby-icon",1),g.k0s(),g.j41(3,"button",2),g.nrm(4,"kirby-icon",3),g.k0s()(),g.j41(5,"kirby-toggle-button",4)(6,"button",5),g.EFF(7,"Deactivated"),g.k0s(),g.j41(8,"button",6),g.EFF(9,"Activated"),g.k0s()()),2&M&&(g.R7$(5),g.Y8G("checked",!0))},dependencies:[n.d,n.o,i.Q,f.op,f.Rl],styles:["[_nghost-%COMP%]{display:block}"]})}return _})()},42506:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>x});var n=l(30077),i=l(47008),f=l(35043),g=l(54438);const s_template='\n \n \n\n\n\n \n \n';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-toggle-button-disabled"]],decls:10,vars:0,consts:[["kirby-button","","unchecked","","aria-disabled","true","attentionLevel","3","aria-label","Notifications disabled"],["name","notification"],["kirby-button","","checked","","attentionLevel","3","aria-label","Notifications enabled"],["name","notification-fill"],["kirby-button","","unchecked","","aria-disabled","true","attentionLevel","3"],["kirby-button","","checked",""]],template:function(M,I){1&M&&(g.j41(0,"kirby-toggle-button")(1,"button",0),g.nrm(2,"kirby-icon",1),g.k0s(),g.j41(3,"button",2),g.nrm(4,"kirby-icon",3),g.k0s()(),g.j41(5,"kirby-toggle-button")(6,"button",4),g.EFF(7,"Disabled"),g.k0s(),g.j41(8,"button",5),g.EFF(9,"Activated"),g.k0s()())},dependencies:[n.d,n.o,i.Q,f.op,f.Rl],styles:["[_nghost-%COMP%]{display:block}"]})}return _})()},2363:(ft,Z,l)=>{"use strict";l.d(Z,{e:()=>x});var n=l(30077),i=l(47008),f=l(35043),g=l(54438);const s_template='\n \n \n\n\n\n \n \n\n\n\n \n \n';let x=(()=>{class _{constructor(){this.template=s_template}static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cookbook-toggle-button-theme-color"]],decls:15,vars:3,consts:[[3,"checked"],["kirby-button","","unchecked","","attentionLevel","3"],["kirby-button","","checked","","themeColor","success"],["kirby-button","","checked","","themeColor","warning"],["kirby-button","","checked","","themeColor","danger"]],template:function(M,I){1&M&&(g.j41(0,"kirby-toggle-button",0)(1,"button",1),g.EFF(2,"Deactivated"),g.k0s(),g.j41(3,"button",2),g.EFF(4,"Activated"),g.k0s()(),g.j41(5,"kirby-toggle-button",0)(6,"button",1),g.EFF(7,"Deactivated"),g.k0s(),g.j41(8,"button",3),g.EFF(9,"Activated"),g.k0s()(),g.j41(10,"kirby-toggle-button",0)(11,"button",1),g.EFF(12,"Deactivated"),g.k0s(),g.j41(13,"button",4),g.EFF(14,"Activated"),g.k0s()()),2&M&&(g.Y8G("checked",!0),g.R7$(5),g.Y8G("checked",!0),g.R7$(5),g.Y8G("checked",!0))},dependencies:[n.d,n.o,i.Q,f.op],styles:["[_nghost-%COMP%]{display:block}"]})}return _})()},55644:(ft,Z,l)=>{"use strict";l.d(Z,{j:()=>g});var n=l(57808),i=l(54438);const f_template='Default\nChecked\nDisabled';let g=(()=>{class s{constructor(){this.template=f_template}onCheckedChange(_){console.log(`Toggle onCheckedChange: ${_}`)}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["cookbook-toggle-default-example"]],decls:6,vars:0,consts:[["checked","true",3,"checkedChange"],["disabled","true"]],template:function(y,w){1&y&&(i.j41(0,"kirby-toggle"),i.EFF(1,"Default"),i.k0s(),i.j41(2,"kirby-toggle",0),i.bIt("checkedChange",function(I){return w.onCheckedChange(I)}),i.EFF(3,"Checked"),i.k0s(),i.j41(4,"kirby-toggle",1),i.EFF(5,"Disabled"),i.k0s())},dependencies:[n.a],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:16px}@media (min-width: 768px){[_nghost-%COMP%]{flex-direction:row;gap:40px}}"]})}return s})()},92772:(ft,Z,l)=>{"use strict";l.d(Z,{y:()=>w});var n=l(84341),i=l(81365),f=l(57808),g=l(11235),s=l(2923),x=l(88075),_=l(54438);const y={selector:"cookbook-toggle-reactive-forms-example",template:'
\n \n Toggle in form\n \n \n
\n\n \n \n',codeSnippet:"constructor(private fb: FormBuilder) {}\n\nngOnInit() {\n this.form = this.fb.group({ myToggle: [false] });\n}\n\ntoggleEnabled(checked: boolean) {\n if (checked) {\n this.form.get('myToggle')?.enable();\n } else {\n this.form.get('myToggle')?.disable();\n}\n"};let w=(()=>{class M{constructor(R){this.fb=R,this.template=y.template.split("")[0],this.codeSnippet=y.codeSnippet}ngOnInit(){this.form=this.fb.group({myToggle:[!1]})}onCheckedChange(){console.log("Value:",this.form.get("myToggle")?.value)}toggleEnabled(R){R?this.form.get("myToggle")?.enable():this.form.get("myToggle")?.disable()}static#e=this.\u0275fac=function(H){return new(H||M)(_.rXU(n.ok))};static#t=this.\u0275cmp=_.VBU({type:M,selectors:[["cookbook-toggle-reactive-forms-example"]],decls:7,vars:3,consts:[[3,"formGroup"],["slot","end","formControlName","myToggle",3,"checkedChange"],["text","Form field enabled",3,"checkedChange","checked"],[3,"form"]],template:function(H,K){1&H&&(_.j41(0,"form",0)(1,"kirby-item")(2,"kirby-toggle",1),_.bIt("checkedChange",function(){return K.onCheckedChange()}),_.EFF(3,"Toggle in form"),_.k0s()()(),_.j41(4,"cookbook-example-configuration-wrapper")(5,"kirby-checkbox",2),_.bIt("checkedChange",function(he){return K.toggleEnabled(he)}),_.k0s(),_.nrm(6,"cookbook-reactive-form-state",3),_.k0s()),2&H&&(_.Y8G("formGroup",K.form),_.R7$(5),_.Y8G("checked",!0),_.R7$(),_.Y8G("form",K.form))},dependencies:[n.YN,n.qT,n.BC,n.cb,n.X1,n.j4,n.JD,i.kA,i.JA,f.a,s.V,g.P,x.m],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:16px}@media (min-width: 768px){[_nghost-%COMP%]{flex-direction:row;gap:40px}}"]})}return M})()},86413:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>R,i:()=>I});var n=l(54438),i=l(72438),g=l(60177);const s=["codeElement"],x=["*"];function _(H,K){if(1&H&&(n.j41(0,"h4"),n.EFF(1),n.k0s()),2&H){const L=n.XpG();n.R7$(),n.SpI("",L.languageTitle,":")}}function y(H,K){if(1&H&&(n.qex(0),n.EFF(1),n.bVm()),2&H){const L=n.XpG();n.R7$(),n.JRh(L.code)}}function w(H,K){1&H&&n.SdG(0,0,["*ngIf","!code"])}function M(H,K){if(1&H&&(n.j41(0,"span",3),n.EFF(1),n.k0s()),2&H){const L=n.XpG();n.R7$(),n.JRh(L.languageTitle)}}function I(H){return JSON.stringify(H,null,2).replace(/"/g,"'").replace(/'(\w+)':/g,"$1:").replace(/(\[\n)|(\},\n)|(\n\])|(\s+)/g,"$1$2$3 ").trim()}let R=(()=>{class H{constructor(){this.inlineLabel=!1,this.supportedLanguages={html:"html",css:"css",scss:"css",js:"js",ts:"js",typescript:"js"}}set html(L){this.code=L,this.language="html"}set css(L){this.code=L,this.language="css"}set scss(L){this.code=L,this.language="css"}set js(L){this.code=L,this.language="js"}set ts(L){this.code=L,this.language="ts"}ngAfterViewInit(){(0,i.highlightElement)(this.codeElement.nativeElement)}ngOnChanges(){this.languageTitle=this.language.toUpperCase(),this.codeViewerLanguage=`language-${this.supportedLanguages[this.language]}`}static#e=this.\u0275fac=function(he){return new(he||H)};static#t=this.\u0275cmp=n.VBU({type:H,selectors:[["cookbook-code-viewer"]],viewQuery:function(he,pe){if(1&he&&n.GBs(s,7,n.aKT),2&he){let be;n.mGM(be=n.lsd())&&(pe.codeElement=be.first)}},inputs:{language:"language",inlineLabel:"inlineLabel",html:"html",css:"css",scss:"scss",js:"js",ts:"ts"},features:[n.OA$],ngContentSelectors:x,decls:7,vars:6,consts:[["codeElement",""],[4,"ngIf"],["class","label",4,"ngIf"],[1,"label"]],template:function(he,pe){1&he&&(n.NAR(),n.DNE(0,_,2,1,"h4",1),n.j41(1,"pre")(2,"code",null,0),n.DNE(4,y,2,1,"ng-container",1)(5,w,1,0,"ng-content",1),n.k0s(),n.DNE(6,M,2,1,"span",2),n.k0s()),2&he&&(n.Y8G("ngIf",!pe.inlineLabel),n.R7$(2),n.HbH(pe.codeViewerLanguage),n.R7$(2),n.Y8G("ngIf",pe.code),n.R7$(),n.Y8G("ngIf",!pe.code),n.R7$(),n.Y8G("ngIf",pe.inlineLabel))},dependencies:[g.bT],styles:["[_nghost-%COMP%]{display:block}h4[_ngcontent-%COMP%]{margin:16px 0}pre[_ngcontent-%COMP%]{position:relative}pre[_ngcontent-%COMP%] span.label[_ngcontent-%COMP%]{position:absolute;right:0;top:0;line-height:1;color:var(--kirby-text-color-semi-dark);border:1px solid var(--kirby-medium);border-top:none;border-right:none;padding:2px;font-size:.75em}code[_ngcontent-%COMP%]{white-space:pre-wrap}"],changeDetection:0})}return H})()},34929:(ft,Z,l)=>{"use strict";l.d(Z,{s:()=>M});var n=l(60177),i=l(47008),f=l(86413),g=l(54438);const s=["*"];function x(I,R){if(1&I){const H=g.RV6();g.j41(0,"button",4),g.bIt("click",function(){g.eBV(H);const L=g.XpG();return g.Njj(L.expanded=!L.expanded)}),g.EFF(1),g.k0s()}if(2&I){const H=g.XpG();g.R7$(),g.SpI(" ",H.expanded?"Hide Code":"View Code","\n")}}function _(I,R){if(1&I&&g.nrm(0,"cookbook-code-viewer",5),2&I){const H=g.XpG();g.Y8G("html",H.html)}}function y(I,R){if(1&I&&g.nrm(0,"cookbook-code-viewer",6),2&I){const H=g.XpG();g.Y8G("ts",H.ts)}}function w(I,R){if(1&I&&g.nrm(0,"cookbook-code-viewer",7),2&I){const H=g.XpG();g.Y8G("css",H.css)}}let M=(()=>{class I{static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275cmp=g.VBU({type:I,selectors:[["cookbook-example-viewer"]],inputs:{html:"html",ts:"ts",css:"css",expanded:"expanded"},ngContentSelectors:s,decls:5,vars:4,consts:[["kirby-button","","size","sm","attentionLevel","3",3,"click",4,"ngIf"],[3,"html",4,"ngIf"],[3,"ts",4,"ngIf"],[3,"css",4,"ngIf"],["kirby-button","","size","sm","attentionLevel","3",3,"click"],[3,"html"],[3,"ts"],[3,"css"]],template:function(K,L){1&K&&(g.NAR(),g.SdG(0),g.DNE(1,x,2,1,"button",0)(2,_,1,1,"cookbook-code-viewer",1)(3,y,1,1,"cookbook-code-viewer",2)(4,w,1,1,"cookbook-code-viewer",3)),2&K&&(g.R7$(),g.Y8G("ngIf",L.html||L.ts||L.css),g.R7$(),g.Y8G("ngIf",L.expanded&&L.html),g.R7$(),g.Y8G("ngIf",L.expanded&&L.ts),g.R7$(),g.Y8G("ngIf",L.expanded&&L.css))},dependencies:[n.bT,i.Q,f.B],styles:["[_nghost-%COMP%]{display:block}button[kirby-button][_ngcontent-%COMP%]{display:block}"]})}return I})()},50122:(ft,Z,l)=>{"use strict";l.r(Z),l.d(Z,{SHOWCASE_ROUTES:()=>Ed});var n=l(34929),i=l(8730),f=l(82795),g=l(89958),s=l(53098),x=l(21662),_=l(27495),y=l(20289),w=l(40443),M=l(51436),I=l(49501),R=l(16458),H=l(56650),K=l(31686),L=l(44962),he=l(91917),pe=l(55923),be=l(69843),Le=l(78860),ye=l(84202),je=l(44877),ke=l(82054),De=l(94430),Je=l(39457),lt=l(85782),Mt=l(25174),Bt=l(27138),et=l(23904),sn=l(66015),tt=l(68368),Ct=l(85744),Xe=l(60177),e=l(54438);function On(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.name)}}function Pt(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.description)}}function wt(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.type)}}function At(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.default)}}function we(Ve,kr){if(1&Ve&&(e.j41(0,"td",5)(1,"code"),e.EFF(2),e.k0s()()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(2),e.JRh(Lt.name)}}function Ot(Ve,kr){if(1&Ve&&(e.j41(0,"td",6),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(),e.JRh(Lt.description)}}function It(Ve,kr){if(1&Ve&&(e.qex(0),e.j41(1,"code"),e.EFF(2),e.k0s(),e.bVm()),2&Ve){const Lt=e.XpG(2).$implicit;e.R7$(2),e.JRh(Lt.type.join(" | "))}}function tn(Ve,kr){if(1&Ve&&(e.j41(0,"pre")(1,"code"),e.EFF(2),e.k0s()()),2&Ve){const Lt=e.XpG(2).$implicit;e.R7$(2),e.JRh(Lt.type.join(" | "))}}function fn(Ve,kr){if(1&Ve&&(e.j41(0,"td"),e.DNE(1,It,3,1,"ng-container",1)(2,tn,3,1,"pre",1),e.k0s()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",!Lt.preserveTypeWhitespaces&&Lt.type),e.R7$(),e.Y8G("ngIf",Lt.preserveTypeWhitespaces&&Lt.type)}}function En(Ve,kr){if(1&Ve&&(e.qex(0),e.j41(1,"code"),e.EFF(2),e.k0s(),e.bVm()),2&Ve){const Lt=e.XpG(2).$implicit;e.R7$(2),e.JRh(Lt.defaultValue)}}function jn(Ve,kr){if(1&Ve&&(e.j41(0,"td"),e.DNE(1,En,3,1,"ng-container",1),e.k0s()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",Lt.defaultValue)}}function So(Ve,kr){if(1&Ve&&(e.j41(0,"tr"),e.DNE(1,we,3,1,"td",3)(2,Ot,2,1,"td",4)(3,fn,3,2,"td",1)(4,jn,2,1,"td",1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.Y8G("ngIf",Lt.columns.name),e.R7$(),e.Y8G("ngIf",Lt.columns.description),e.R7$(),e.Y8G("ngIf",Lt.columns.type),e.R7$(),e.Y8G("ngIf",Lt.columns.default)}}let pt=(()=>{class Ve{constructor(){this.columns={name:"Attribute",description:"Description",type:"Type",default:"Default"}}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-api-description-properties"]],inputs:{properties:"properties",columns:"columns"},decls:8,vars:5,consts:[[1,"api-description"],[4,"ngIf"],[4,"ngFor","ngForOf"],["class","property-name",4,"ngIf"],["class","description",4,"ngIf"],[1,"property-name"],[1,"description"]],template:function(vt,Ge){1&vt&&(e.j41(0,"table",0)(1,"thead"),e.DNE(2,On,2,1,"th",1)(3,Pt,2,1,"th",1)(4,wt,2,1,"th",1)(5,At,2,1,"th",1),e.k0s(),e.j41(6,"tbody"),e.DNE(7,So,5,4,"tr",2),e.k0s()()),2&vt&&(e.R7$(2),e.Y8G("ngIf",Ge.columns.name),e.R7$(),e.Y8G("ngIf",Ge.columns.description),e.R7$(),e.Y8G("ngIf",Ge.columns.type),e.R7$(),e.Y8G("ngIf",Ge.columns.default),e.R7$(2),e.Y8G("ngForOf",Ge.properties))},dependencies:[Xe.bT,Xe.pM],styles:["[_nghost-%COMP%]{display:block;width:100%;overflow-x:auto}table.api-description[_ngcontent-%COMP%]{margin-bottom:40px;border-spacing:0;border-collapse:collapse;width:100%}table.api-description[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background-color:var(--kirby-light-tint)}table.api-description[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:400;border:none;text-align:left;height:40px;border-bottom:none}table.api-description[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.api-description[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid var(--kirby-medium);padding:.5rem 1rem}table.api-description[_ngcontent-%COMP%] .property-name[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{white-space:nowrap}.description[_ngcontent-%COMP%]{white-space:pre-line}"]})}return Ve})(),Nt=(()=>{class Ve{constructor(){this.properties=[{name:"selectable",description:"If `true`, a native button tag will be rendered under the hood and the item will become interactive.",defaultValue:"false",type:["boolean"]},{name:"selected",description:"Mark item as selected - making its content appear in bold",defaultValue:"false",type:["boolean"]},{name:"disabled",description:"Disable item entirely including its contents",defaultValue:"false",type:["boolean"]},{name:"disclosure",description:"Set disclosure icon",defaultValue:"null",type:["'link' | 'arrow-more' | 'arrow-down' | 'arrow-up' | null"]},{name:"rotateIcon",description:"Rotates the disclosure icon 180 degrees. This only applies to the arrow-up & arrow-down icons",defaultValue:"false",type:["boolean"]},{name:"reorderable",description:"Make item reorderable in a list - makes reorder icon appear",defaultValue:"false",type:["boolean"]},{name:"size",description:"Set size for item",defaultValue:"md",type:["ItemSize"]}],this.customCssPropertiesColumns={name:"Name",description:"Description"},this.customCssProperties=[{name:"--kirby-item-background",description:"Background of the item"},{name:"--kirby-item-background-focused",description:"Background of the item when focused with the tab key"}]}scrollTo(Lt){return Lt.scrollIntoView({behavior:"smooth"}),!1}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-item-showcase"]],decls:335,vars:37,consts:[["simpleExampleMedium",""],["simpleExampleSmall",""],["simpleExampleExtraSmall",""],["simpleExample",""],["longTitleExample",""],["twoLinesExample",""],["threeLines",""],["threeLinesExample",""],["twoValueLines",""],["twoValueLinesExample",""],["multiLine",""],["multiLineExample",""],["multiLineSubtitleExample",""],["pickerDefaultExample",""],["pickerDefaultSelectedExample",""],["pickerAvatarSelectedExample",""],["pickerCheckboxExample",""],["fabMenuExample",""],["attachmentExample",""],["settingsDefaultExample",""],["settingsDisabledExample",""],["flagged",""],["flaggedExample",""],["avatarDefaultExample",""],["avatarWithDate",""],["avatarDateExample",""],["avatarFlaggedExample",""],["avatarFlaggedThreeLinesExample",""],["message",""],["messagesExample",""],["buttonExample",""],["inputDefaultExample",""],["inputNumericExample",""],["disclosure",""],["disclosureExample",""],["disclosureAnimationExample",""],["cardExample",""],["href","#",3,"click"],[1,"item-illustration"],["width","100%","height","100%","viewBox","0 0 343 56","fill","none","xmlns","http://www.w3.org/2000/svg"],["opacity","0.1","width","343","height","56","fill","#FF00CF"],["x","0.5","y","0.5","width","26","height","55","stroke","#FF00CF","stroke-dasharray","2 5"],["x","26.5","y","0.5","width","57","height","55","stroke","#FF00CF"],["x","285.5","y","0.5","width","57","height","55","stroke","#FF00CF"],["x","83.5","y","0.5","width","259","height","55","stroke","#FF00CF"],["d","M162.289 32V23.4688H164.697C165.439 23.4688 166.096 23.6328 166.666 23.9609C167.236 24.2891 167.676 24.7559 167.984 25.3613C168.297 25.9668 168.455 26.6621 168.459 27.4473V27.9922C168.459 28.7969 168.303 29.502 167.99 30.1074C167.682 30.7129 167.238 31.1777 166.66 31.502C166.086 31.8262 165.416 31.9922 164.65 32H162.289ZM163.414 24.3945V31.0801H164.598C165.465 31.0801 166.139 30.8105 166.619 30.2715C167.104 29.7324 167.346 28.9648 167.346 27.9688V27.4707C167.346 26.502 167.117 25.75 166.66 25.2148C166.207 24.6758 165.562 24.4023 164.727 24.3945H163.414ZM172.625 32.1172C171.766 32.1172 171.066 31.8359 170.527 31.2734C169.988 30.707 169.719 29.9512 169.719 29.0059V28.8066C169.719 28.1777 169.838 27.6172 170.076 27.125C170.318 26.6289 170.654 26.2422 171.084 25.9648C171.518 25.6836 171.986 25.543 172.49 25.543C173.314 25.543 173.955 25.8145 174.412 26.3574C174.869 26.9004 175.098 27.6777 175.098 28.6895V29.1406H170.803C170.818 29.7656 171 30.2715 171.348 30.6582C171.699 31.041 172.145 31.2324 172.684 31.2324C173.066 31.2324 173.391 31.1543 173.656 30.998C173.922 30.8418 174.154 30.6348 174.354 30.377L175.016 30.8926C174.484 31.709 173.688 32.1172 172.625 32.1172ZM172.49 26.4336C172.053 26.4336 171.686 26.5938 171.389 26.9141C171.092 27.2305 170.908 27.6758 170.838 28.25H174.014V28.168C173.982 27.6172 173.834 27.1914 173.568 26.8906C173.303 26.5859 172.943 26.4336 172.49 26.4336ZM176.891 32V26.498H175.889V25.6602H176.891V25.0098C176.891 24.3301 177.072 23.8047 177.436 23.4336C177.799 23.0625 178.312 22.877 178.977 22.877C179.227 22.877 179.475 22.9102 179.721 22.9766L179.662 23.8555C179.479 23.8203 179.283 23.8027 179.076 23.8027C178.725 23.8027 178.453 23.9062 178.262 24.1133C178.07 24.3164 177.975 24.6094 177.975 24.9922V25.6602H179.328V26.498H177.975V32H176.891ZM184.443 32C184.381 31.875 184.33 31.6523 184.291 31.332C183.787 31.8555 183.186 32.1172 182.486 32.1172C181.861 32.1172 181.348 31.9414 180.945 31.5898C180.547 31.2344 180.348 30.7852 180.348 30.2422C180.348 29.582 180.598 29.0703 181.098 28.707C181.602 28.3398 182.309 28.1562 183.219 28.1562H184.273V27.6582C184.273 27.2793 184.16 26.9785 183.934 26.7559C183.707 26.5293 183.373 26.416 182.932 26.416C182.545 26.416 182.221 26.5137 181.959 26.709C181.697 26.9043 181.566 27.1406 181.566 27.418H180.477C180.477 27.1016 180.588 26.7969 180.811 26.5039C181.037 26.207 181.342 25.9727 181.725 25.8008C182.111 25.6289 182.535 25.543 182.996 25.543C183.727 25.543 184.299 25.7266 184.713 26.0938C185.127 26.457 185.342 26.959 185.357 27.5996V30.5176C185.357 31.0996 185.432 31.5625 185.58 31.9062V32H184.443ZM182.645 31.1738C182.984 31.1738 183.307 31.0859 183.611 30.9102C183.916 30.7344 184.137 30.5059 184.273 30.2246V28.9238H183.424C182.096 28.9238 181.432 29.3125 181.432 30.0898C181.432 30.4297 181.545 30.6953 181.771 30.8867C181.998 31.0781 182.289 31.1738 182.645 31.1738ZM190.971 31.373C190.549 31.8691 189.93 32.1172 189.113 32.1172C188.438 32.1172 187.922 31.9219 187.566 31.5312C187.215 31.1367 187.037 30.5547 187.033 29.7852V25.6602H188.117V29.7559C188.117 30.7168 188.508 31.1973 189.289 31.1973C190.117 31.1973 190.668 30.8887 190.941 30.2715V25.6602H192.025V32H190.994L190.971 31.373ZM194.855 32H193.771V23H194.855V32ZM198.066 24.125V25.6602H199.25V26.498H198.066V30.4297C198.066 30.6836 198.119 30.875 198.225 31.0039C198.33 31.1289 198.51 31.1914 198.764 31.1914C198.889 31.1914 199.061 31.168 199.279 31.1211V32C198.994 32.0781 198.717 32.1172 198.447 32.1172C197.963 32.1172 197.598 31.9707 197.352 31.6777C197.105 31.3848 196.982 30.9688 196.982 30.4297V26.498H195.828V25.6602H196.982V24.125H198.066Z","fill","#FF00CF"],["d","M46.0723 28.1973C45.1074 27.9199 44.4043 27.5801 43.9629 27.1777C43.5254 26.7715 43.3066 26.2715 43.3066 25.6777C43.3066 25.0059 43.5742 24.4512 44.1094 24.0137C44.6484 23.5723 45.3477 23.3516 46.207 23.3516C46.793 23.3516 47.3145 23.4648 47.7715 23.6914C48.2324 23.918 48.5879 24.2305 48.8379 24.6289C49.0918 25.0273 49.2188 25.4629 49.2188 25.9355H48.0879C48.0879 25.4199 47.9238 25.0156 47.5957 24.7227C47.2676 24.4258 46.8047 24.2773 46.207 24.2773C45.6523 24.2773 45.2188 24.4004 44.9062 24.6465C44.5977 24.8887 44.4434 25.2266 44.4434 25.6602C44.4434 26.0078 44.5898 26.3027 44.8828 26.5449C45.1797 26.7832 45.6816 27.002 46.3887 27.2012C47.0996 27.4004 47.6543 27.6211 48.0527 27.8633C48.4551 28.1016 48.752 28.3809 48.9434 28.7012C49.1387 29.0215 49.2363 29.3984 49.2363 29.832C49.2363 30.5234 48.9668 31.0781 48.4277 31.4961C47.8887 31.9102 47.168 32.1172 46.2656 32.1172C45.6797 32.1172 45.1328 32.0059 44.625 31.7832C44.1172 31.5566 43.7246 31.248 43.4473 30.8574C43.1738 30.4668 43.0371 30.0234 43.0371 29.5273H44.168C44.168 30.043 44.3574 30.4512 44.7363 30.752C45.1191 31.0488 45.6289 31.1973 46.2656 31.1973C46.8594 31.1973 47.3145 31.0762 47.6309 30.834C47.9473 30.5918 48.1055 30.2617 48.1055 29.8438C48.1055 29.4258 47.959 29.1035 47.666 28.877C47.373 28.6465 46.8418 28.4199 46.0723 28.1973ZM51.9844 24.125V25.6602H53.168V26.498H51.9844V30.4297C51.9844 30.6836 52.0371 30.875 52.1426 31.0039C52.248 31.1289 52.4277 31.1914 52.6816 31.1914C52.8066 31.1914 52.9785 31.168 53.1973 31.1211V32C52.9121 32.0781 52.6348 32.1172 52.3652 32.1172C51.8809 32.1172 51.5156 31.9707 51.2695 31.6777C51.0234 31.3848 50.9004 30.9688 50.9004 30.4297V26.498H49.7461V25.6602H50.9004V24.125H51.9844ZM58.3535 32C58.291 31.875 58.2402 31.6523 58.2012 31.332C57.6973 31.8555 57.0957 32.1172 56.3965 32.1172C55.7715 32.1172 55.2578 31.9414 54.8555 31.5898C54.457 31.2344 54.2578 30.7852 54.2578 30.2422C54.2578 29.582 54.5078 29.0703 55.0078 28.707C55.5117 28.3398 56.2188 28.1562 57.1289 28.1562H58.1836V27.6582C58.1836 27.2793 58.0703 26.9785 57.8438 26.7559C57.6172 26.5293 57.2832 26.416 56.8418 26.416C56.4551 26.416 56.1309 26.5137 55.8691 26.709C55.6074 26.9043 55.4766 27.1406 55.4766 27.418H54.3867C54.3867 27.1016 54.498 26.7969 54.7207 26.5039C54.9473 26.207 55.252 25.9727 55.6348 25.8008C56.0215 25.6289 56.4453 25.543 56.9062 25.543C57.6367 25.543 58.209 25.7266 58.623 26.0938C59.0371 26.457 59.252 26.959 59.2676 27.5996V30.5176C59.2676 31.0996 59.3418 31.5625 59.4902 31.9062V32H58.3535ZM56.5547 31.1738C56.8945 31.1738 57.2168 31.0859 57.5215 30.9102C57.8262 30.7344 58.0469 30.5059 58.1836 30.2246V28.9238H57.334C56.0059 28.9238 55.3418 29.3125 55.3418 30.0898C55.3418 30.4297 55.4551 30.6953 55.6816 30.8867C55.9082 31.0781 56.1992 31.1738 56.5547 31.1738ZM64.0312 26.6328C63.8672 26.6055 63.6895 26.5918 63.498 26.5918C62.7871 26.5918 62.3047 26.8945 62.0508 27.5V32H60.9668V25.6602H62.0215L62.0391 26.3926C62.3945 25.8262 62.8984 25.543 63.5508 25.543C63.7617 25.543 63.9219 25.5703 64.0312 25.625V26.6328ZM66.7969 24.125V25.6602H67.9805V26.498H66.7969V30.4297C66.7969 30.6836 66.8496 30.875 66.9551 31.0039C67.0605 31.1289 67.2402 31.1914 67.4941 31.1914C67.6191 31.1914 67.791 31.168 68.0098 31.1211V32C67.7246 32.0781 67.4473 32.1172 67.1777 32.1172C66.6934 32.1172 66.3281 31.9707 66.082 31.6777C65.8359 31.3848 65.7129 30.9688 65.7129 30.4297V26.498H64.5586V25.6602H65.7129V24.125H66.7969Z","fill","#FF00CF"],["d","M13.3423 39.3862C14.1086 39.3862 14.7782 39.5151 15.3511 39.7729C15.9204 40.0308 16.3555 40.396 16.6562 40.8687C16.957 41.3413 17.1074 41.8927 17.1074 42.5229C17.1074 43.1388 16.957 43.6849 16.6562 44.1611C16.3519 44.6374 15.9204 45.008 15.3618 45.2729C14.7996 45.5343 14.1497 45.6686 13.4121 45.6758L12.8481 45.6758C12.0962 45.6758 11.432 45.5451 10.8555 45.2837C10.279 45.0223 9.83854 44.6535 9.53418 44.1772C9.22624 43.6974 9.07227 43.1496 9.07227 42.5337C9.07227 41.9071 9.22445 41.3556 9.52881 40.8794C9.82959 40.3996 10.2682 40.0308 10.8447 39.7729C11.4176 39.5151 12.0854 39.3862 12.8481 39.3862L13.3423 39.3862ZM12.8374 40.4121C11.91 40.4121 11.1992 40.5983 10.7051 40.9707C10.2074 41.3431 9.9585 41.8641 9.9585 42.5337C9.9585 43.1854 10.2074 43.6992 10.7051 44.0752C11.1992 44.4476 11.8867 44.6392 12.7676 44.6499L13.3423 44.6499C14.241 44.6499 14.9482 44.4619 15.4639 44.0859C15.9759 43.7064 16.2319 43.1854 16.2319 42.5229C16.2319 41.8569 15.9902 41.3413 15.5068 40.9761C15.0199 40.6108 14.3234 40.4229 13.4175 40.4121L12.8374 40.4121ZM16.4253 34.4072C16.88 34.7939 17.1074 35.3615 17.1074 36.1099C17.1074 36.7293 16.9284 37.202 16.5703 37.5278C16.2087 37.8501 15.6751 38.013 14.9697 38.0166L11.1885 38.0166L11.1885 37.0229L14.9429 37.0229C15.8237 37.0229 16.2642 36.6649 16.2642 35.9487C16.2642 35.1896 15.9813 34.6847 15.4155 34.4341L11.1885 34.4341L11.1885 33.4404L17 33.4404L17 34.3857L16.4253 34.4072ZM9.78125 30.5776L11.1885 30.5776L11.1885 29.4927L11.9565 29.4927L11.9565 30.5776L15.5605 30.5776C15.7933 30.5776 15.9687 30.5293 16.0869 30.4326C16.2015 30.3359 16.2588 30.1712 16.2588 29.9385C16.2588 29.8239 16.2373 29.6663 16.1943 29.4658L17 29.4658C17.0716 29.7272 17.1074 29.9814 17.1074 30.2285C17.1074 30.6725 16.9731 31.0073 16.7046 31.2329C16.436 31.4585 16.0547 31.5713 15.5605 31.5713L11.9565 31.5713L11.9565 32.6294L11.1885 32.6294L11.1885 31.5713L9.78125 31.5713L9.78125 30.5776ZM15.4585 24.9434C15.1899 24.9434 14.9823 25.0454 14.8354 25.2495C14.6851 25.45 14.5562 25.8027 14.4487 26.3076C14.3413 26.8089 14.2124 27.2082 14.062 27.5054C13.9116 27.799 13.7326 28.0174 13.5249 28.1606C13.3172 28.3003 13.0701 28.3701 12.7837 28.3701C12.3075 28.3701 11.9046 28.1696 11.5752 27.7686C11.2458 27.3639 11.0811 26.8483 11.0811 26.2217C11.0811 25.5628 11.2511 25.0293 11.5913 24.6211C11.9315 24.2093 12.3665 24.0034 12.8965 24.0034L12.8965 25.0024C12.6243 25.0024 12.3898 25.1188 12.1929 25.3516C11.9959 25.5807 11.8975 25.8708 11.8975 26.2217C11.8975 26.5833 11.9762 26.8662 12.1338 27.0703C12.2913 27.2744 12.4972 27.3765 12.7515 27.3765C12.9914 27.3765 13.1722 27.2816 13.2939 27.0918C13.4157 26.902 13.5321 26.5601 13.6431 26.0659C13.7541 25.5682 13.8866 25.1654 14.0405 24.8574C14.1945 24.5495 14.3807 24.3221 14.5991 24.1753C14.814 24.0249 15.0771 23.9497 15.3887 23.9497C15.9079 23.9497 16.325 24.1574 16.6401 24.5728C16.9517 24.9881 17.1074 25.527 17.1074 26.1895C17.1074 26.6549 17.0251 27.0667 16.8604 27.4248C16.6956 27.7829 16.4665 28.064 16.1729 28.2681C15.8757 28.4686 15.5552 28.5688 15.2114 28.5688L15.2114 27.5752C15.5444 27.5573 15.8094 27.4248 16.0063 27.1777C16.1997 26.9271 16.2964 26.5977 16.2964 26.1895C16.2964 25.8135 16.2212 25.5127 16.0708 25.2871C15.9168 25.0579 15.7127 24.9434 15.4585 24.9434ZM17 21.5757L17 22.5693L11.1885 22.5693L11.1885 21.5757L17 21.5757ZM9.64697 22.6499C9.48584 22.6499 9.34977 22.6016 9.23877 22.5049C9.12777 22.4046 9.07226 22.2578 9.07226 22.0645C9.07226 21.8711 9.12777 21.7243 9.23877 21.624C9.34977 21.5238 9.48584 21.4736 9.64697 21.4736C9.8081 21.4736 9.94238 21.5238 10.0498 21.624C10.1572 21.7243 10.2109 21.8711 10.2109 22.0645C10.2109 22.2578 10.1572 22.4046 10.0498 22.5049C9.94238 22.6016 9.8081 22.6499 9.64697 22.6499ZM14.0459 20.2222C13.1543 20.2222 12.4381 20.0109 11.8975 19.5884C11.3532 19.1659 11.0811 18.6126 11.0811 17.9287C11.0811 17.2484 11.3138 16.7095 11.7793 16.312L8.75 16.312L8.75 15.3184L17 15.3184L17 16.2314L16.377 16.2798C16.8639 16.6772 17.1074 17.2305 17.1074 17.9395C17.1074 18.6126 16.8317 19.1623 16.2803 19.5884C15.7288 20.0109 15.0091 20.2222 14.1211 20.2222L14.0459 20.2222ZM14.1587 19.2285C14.8175 19.2285 15.3332 19.0924 15.7056 18.8203C16.078 18.5482 16.2642 18.1722 16.2642 17.6924C16.2642 17.0622 15.9813 16.6021 15.4155 16.312L12.7461 16.312C12.1982 16.6092 11.9243 17.0658 11.9243 17.6816C11.9243 18.1686 12.1123 18.5482 12.4883 18.8203C12.8643 19.0924 13.4211 19.2285 14.1587 19.2285ZM17.1074 11.3599C17.1074 12.1476 16.8496 12.7886 16.334 13.2827C15.8148 13.7769 15.1219 14.0239 14.2554 14.0239L14.0728 14.0239C13.4963 14.0239 12.9824 13.9147 12.5312 13.6963C12.0765 13.4743 11.722 13.1663 11.4678 12.7725C11.21 12.375 11.0811 11.9453 11.0811 11.4834C11.0811 10.7279 11.3299 10.1406 11.8276 9.72168C12.3254 9.30273 13.0379 9.09326 13.9653 9.09326L14.3789 9.09326L14.3789 13.0303C14.9518 13.016 15.4155 12.8494 15.77 12.5308C16.1209 12.2085 16.2964 11.8003 16.2964 11.3062C16.2964 10.9552 16.2248 10.658 16.0815 10.4146C15.9383 10.1711 15.7485 9.95801 15.5122 9.77539L15.9849 9.16846C16.7332 9.65544 17.1074 10.3859 17.1074 11.3599ZM11.8975 11.4834C11.8975 11.8844 12.0443 12.221 12.3379 12.4932C12.6279 12.7653 13.0361 12.9336 13.5625 12.998L13.5625 10.0869L13.4873 10.0869C12.9824 10.1156 12.5921 10.2516 12.3164 10.4951C12.0371 10.7386 11.8975 11.068 11.8975 11.4834Z","fill","#FF00CF"],["d","M310.205 28.0566H306.508V31.0801H310.803V32H305.383V23.4688H310.744V24.3945H306.508V27.1367H310.205V28.0566ZM313.059 25.6602L313.094 26.457C313.578 25.8477 314.211 25.543 314.992 25.543C316.332 25.543 317.008 26.2988 317.02 27.8105V32H315.936V27.8047C315.932 27.3477 315.826 27.0098 315.619 26.791C315.416 26.5723 315.098 26.4629 314.664 26.4629C314.312 26.4629 314.004 26.5566 313.738 26.7441C313.473 26.9316 313.266 27.1777 313.117 27.4824V32H312.033V25.6602H313.059ZM318.391 28.7773C318.391 27.8047 318.621 27.0234 319.082 26.4336C319.543 25.8398 320.146 25.543 320.893 25.543C321.635 25.543 322.223 25.7969 322.656 26.3047V23H323.74V32H322.744L322.691 31.3203C322.258 31.8516 321.654 32.1172 320.881 32.1172C320.146 32.1172 319.547 31.8164 319.082 31.2148C318.621 30.6133 318.391 29.8281 318.391 28.8594V28.7773ZM319.475 28.9004C319.475 29.6191 319.623 30.1816 319.92 30.5879C320.217 30.9941 320.627 31.1973 321.15 31.1973C321.838 31.1973 322.34 30.8887 322.656 30.2715V27.3594C322.332 26.7617 321.834 26.4629 321.162 26.4629C320.631 26.4629 320.217 26.668 319.92 27.0781C319.623 27.4883 319.475 28.0957 319.475 28.9004Z","fill","#FF00CF"],[1,"comment"],[1,"sizes"],[3,"html"],[1,"comment","small"],[3,"html","css"],[3,"html","ts"],[3,"properties"],[3,"properties","columns"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"p"),e.EFF(1," The "),e.j41(2,"code"),e.EFF(3,"kirby-item"),e.k0s(),e.EFF(4," component consists of three possible columns: "),e.j41(5,"em"),e.EFF(6,"the default"),e.k0s(),e.EFF(7,", which spans the entire item, and optionally the "),e.j41(8,"code"),e.EFF(9,"'start'"),e.k0s(),e.EFF(10," and "),e.j41(11,"code"),e.EFF(12,"'end'"),e.k0s(),e.EFF(13," columns (aka "),e.j41(14,"code"),e.EFF(15,"'slots'"),e.k0s(),e.EFF(16,"). In addition to this there is a special slot named "),e.j41(17,"code"),e.EFF(18,"'outside'"),e.k0s(),e.EFF(19," for marking an item as flagged.\n"),e.k0s(),e.j41(20,"p"),e.EFF(21," The "),e.j41(22,"em"),e.EFF(23,"default column"),e.k0s(),e.EFF(24," is the content that isn't slotted into either "),e.j41(25,"code"),e.EFF(26,"'start'"),e.k0s(),e.EFF(27," or "),e.j41(28,"code"),e.EFF(29,"'end'"),e.k0s(),e.EFF(30,".\n"),e.k0s(),e.j41(31,"p"),e.EFF(32," If there are "),e.j41(33,"a",37),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(171);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(34,"more than one line of content"),e.k0s(),e.EFF(35," it can be contained within a "),e.j41(36,"code"),e.EFF(37,"kirby-label"),e.k0s(),e.EFF(38," which stacks content vertically. "),e.nrm(39,"br"),e.EFF(40," Optionally it can be configured to stack horizontally: "),e.j41(41,"code"),e.EFF(42,'...'),e.k0s(),e.EFF(43,".\n"),e.k0s(),e.j41(44,"p")(45,"a",37),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(159);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(46,"Text elements within an item can be given different visual weight"),e.k0s(),e.EFF(47," by assigning the "),e.j41(48,"code"),e.EFF(49,"kirby-item-title"),e.k0s(),e.EFF(50,", "),e.j41(51,"code"),e.EFF(52,"kirby-item-subtitle"),e.k0s(),e.EFF(53," and "),e.j41(54,"code"),e.EFF(55,"kirby-item-detail"),e.k0s(),e.EFF(56," CSS classes.\n"),e.k0s(),e.j41(57,"div",38),e.qSk(),e.j41(58,"svg",39),e.nrm(59,"rect",40)(60,"rect",41)(61,"rect",42)(62,"rect",43)(63,"rect",44)(64,"path",45)(65,"path",46)(66,"path",47)(67,"path",48),e.k0s()(),e.joV(),e.j41(68,"p",49)(69,"strong"),e.EFF(70,"Please note"),e.k0s(),e.EFF(71,", if you need a label to span a title and a value, you can "),e.j41(72,"a",37),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(266);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(73,"wrap the title and value"),e.k0s(),e.EFF(74," in another"),e.j41(75,"code"),e.EFF(76,"kirby-label"),e.k0s(),e.EFF(77,". "),e.k0s(),e.j41(78,"p"),e.EFF(79," The "),e.j41(80,"em"),e.EFF(81,"start column"),e.k0s(),e.EFF(82," is usually only used with avatars, icons and such. To place content in the start column specify the "),e.j41(83,"code"),e.EFF(84,'slot="start"'),e.k0s(),e.EFF(85," attribute on your content. If no content is placed into the 'start' slot, the first column will not be shown.\n"),e.k0s(),e.j41(86,"p"),e.EFF(87," The "),e.j41(88,"em"),e.EFF(89,"end column"),e.k0s(),e.EFF(90," is usually used for values such as number, currency, date etc. To place content in the end column specify the "),e.j41(91,"code"),e.EFF(92,'slot="end"'),e.k0s(),e.EFF(93," attribute on your content. "),e.j41(94,"a",37),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(250);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(95,"Values can optionally be contained in a "),e.j41(96,"code"),e.EFF(97,"time"),e.k0s(),e.EFF(98," or "),e.j41(99,"code"),e.EFF(100,"data"),e.k0s(),e.EFF(101," tag"),e.k0s(),e.EFF(102,". "),e.nrm(103,"br"),e.EFF(104," If "),e.j41(105,"a",37),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(165);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(106,"multiple lines are needed the values can be wrapped"),e.k0s(),e.EFF(107," in a "),e.j41(108,"code"),e.EFF(109,"kirby-label"),e.k0s(),e.EFF(110,".\n"),e.k0s(),e.j41(111,"p"),e.EFF(112," The "),e.j41(113,"em"),e.EFF(114,"outside"),e.k0s(),e.EFF(115," slot can be used for "),e.j41(116,"a",37),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(237);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(117,"marking an item as flagged"),e.k0s(),e.EFF(118," using a small "),e.j41(119,"code"),e.EFF(120,"kirby-badge"),e.k0s(),e.EFF(121,".\n"),e.k0s(),e.j41(122,"section",50)(123,"h2"),e.EFF(124,"Sizes"),e.k0s(),e.j41(125,"cookbook-example-viewer",51),e.nrm(126,"cookbook-item-example-simple-md",null,0),e.k0s(),e.j41(128,"cookbook-example-viewer",51),e.nrm(129,"cookbook-item-example-simple-sm",null,1),e.k0s(),e.j41(131,"p",49)(132,"strong"),e.EFF(133,"Please note"),e.k0s(),e.EFF(134," , extra small should "),e.j41(135,"strong"),e.EFF(136,"NOT"),e.k0s(),e.EFF(137," be used if clickable "),e.k0s(),e.j41(138,"cookbook-example-viewer",51),e.nrm(139,"cookbook-item-example-simple-xs",null,2),e.k0s()(),e.j41(141,"h2"),e.EFF(142,"Simple"),e.k0s(),e.j41(143,"h3"),e.EFF(144,"Default"),e.k0s(),e.j41(145,"cookbook-example-viewer",51),e.nrm(146,"cookbook-item-example-simple",null,3),e.k0s(),e.j41(148,"h3"),e.EFF(149,"Long title (truncated)"),e.k0s(),e.j41(150,"cookbook-example-viewer",51),e.nrm(151,"cookbook-item-example-long-title",null,4),e.k0s(),e.j41(153,"h3"),e.EFF(154,"Two lines"),e.k0s(),e.j41(155,"cookbook-example-viewer",51),e.nrm(156,"cookbook-item-example-simple-two-lines",null,5),e.k0s(),e.j41(158,"h3",null,6),e.EFF(160,"Three lines"),e.k0s(),e.j41(161,"cookbook-example-viewer",51),e.nrm(162,"cookbook-item-example-simple-three-lines",null,7),e.k0s(),e.j41(164,"h3",null,8),e.EFF(166,"Two value lines"),e.k0s(),e.j41(167,"cookbook-example-viewer",51),e.nrm(168,"cookbook-item-example-simple-two-value-lines",null,9),e.k0s(),e.j41(170,"h3",null,10),e.EFF(172,"Multiline"),e.k0s(),e.j41(173,"cookbook-example-viewer",51),e.nrm(174,"cookbook-item-example-simple-multiline",null,11),e.k0s(),e.j41(176,"h3"),e.EFF(177,"Multiline - subtitle"),e.k0s(),e.j41(178,"cookbook-example-viewer",51),e.nrm(179,"cookbook-item-example-simple-multiline-subtitle",null,12),e.k0s(),e.j41(181,"h2"),e.EFF(182,"Picker"),e.k0s(),e.j41(183,"h3"),e.EFF(184,"Default"),e.k0s(),e.j41(185,"cookbook-example-viewer",51),e.nrm(186,"cookbook-item-example-picker-default",null,13),e.k0s(),e.j41(188,"h3"),e.EFF(189,"Selected"),e.k0s(),e.j41(190,"cookbook-example-viewer",51),e.nrm(191,"cookbook-item-example-picker-default-selected",null,14),e.k0s(),e.j41(193,"h3"),e.EFF(194,"With Avatar - Selected"),e.k0s(),e.j41(195,"cookbook-example-viewer",51),e.nrm(196,"cookbook-item-example-picker-avatar-selected",null,15),e.k0s(),e.j41(198,"h3"),e.EFF(199,"With checkbox"),e.k0s(),e.j41(200,"cookbook-example-viewer",51),e.nrm(201,"cookbook-item-example-picker-checkbox",null,16),e.k0s(),e.j41(203,"h2"),e.EFF(204,"FAB menu"),e.k0s(),e.j41(205,"cookbook-example-viewer",51),e.nrm(206,"cookbook-item-example-fab-menu",null,17),e.k0s(),e.j41(208,"h2"),e.EFF(209,"Attachment"),e.k0s(),e.j41(210,"cookbook-example-viewer",51),e.nrm(211,"cookbook-item-example-attachment",null,18),e.k0s(),e.j41(213,"h2"),e.EFF(214,"Settings"),e.k0s(),e.j41(215,"h3"),e.EFF(216,"Enabled"),e.k0s(),e.j41(217,"cookbook-example-viewer",51),e.nrm(218,"cookbook-item-example-settings",null,19),e.k0s(),e.j41(220,"h3"),e.EFF(221,"Disabled"),e.k0s(),e.j41(222,"cookbook-example-viewer",51),e.nrm(223,"cookbook-item-example-settings-disabled",null,20),e.k0s(),e.j41(225,"p",52)(226,"em")(227,"strong"),e.EFF(228,"Please note"),e.k0s(),e.EFF(229," , setting the "),e.j41(230,"code"),e.EFF(231,"disabled"),e.k0s(),e.EFF(232," attribute on "),e.j41(233,"code"),e.EFF(234,"kirby-item"),e.k0s(),e.EFF(235," will disable the entire item including buttons, toggles etc. "),e.k0s()(),e.j41(236,"h2",null,21),e.EFF(238,"Flagged"),e.k0s(),e.j41(239,"cookbook-example-viewer",53),e.nrm(240,"cookbook-item-example-flagged",null,22),e.k0s(),e.j41(242,"h2"),e.EFF(243,"Avatar"),e.k0s(),e.j41(244,"h3"),e.EFF(245,"Default"),e.k0s(),e.j41(246,"cookbook-example-viewer",51),e.nrm(247,"cookbook-item-example-avatar",null,23),e.k0s(),e.j41(249,"h3",null,24),e.EFF(251,"Avatar with date"),e.k0s(),e.j41(252,"cookbook-example-viewer",51),e.nrm(253,"cookbook-item-example-avatar-date",null,25),e.k0s(),e.j41(255,"h3"),e.EFF(256,"Avatar flagged"),e.k0s(),e.j41(257,"cookbook-example-viewer",53),e.nrm(258,"cookbook-item-example-avatar-flagged",null,26),e.k0s(),e.j41(260,"h3"),e.EFF(261,"Avatar flagged, three lines"),e.k0s(),e.j41(262,"cookbook-example-viewer",53),e.nrm(263,"cookbook-item-example-avatar-flagged-three-lines",null,27),e.k0s(),e.j41(265,"h2",null,28),e.EFF(267,"Message"),e.k0s(),e.j41(268,"cookbook-example-viewer",51),e.nrm(269,"cookbook-item-example-horizontal",null,29),e.k0s(),e.j41(271,"h2"),e.EFF(272,"Button"),e.k0s(),e.j41(273,"cookbook-example-viewer",51),e.nrm(274,"cookbook-item-example-button",null,30),e.k0s(),e.j41(276,"h2"),e.EFF(277,"Input"),e.k0s(),e.j41(278,"h3"),e.EFF(279,"Default"),e.k0s(),e.j41(280,"cookbook-example-viewer",51),e.nrm(281,"cookbook-item-example-input-default",null,31),e.k0s(),e.j41(283,"h3"),e.EFF(284,"Numeric"),e.k0s(),e.j41(285,"cookbook-example-viewer",51),e.nrm(286,"cookbook-item-example-input-numeric",null,32),e.k0s(),e.j41(288,"h2",null,33),e.EFF(290,"Disclosure"),e.k0s(),e.j41(291,"cookbook-example-viewer",51),e.nrm(292,"cookbook-item-example-disclosure",null,34),e.k0s(),e.j41(294,"p",52)(295,"em")(296,"strong"),e.EFF(297,"Please note:"),e.k0s(),e.EFF(298," the disclosure input is limited to a set of predefined icons: "),e.j41(299,"code"),e.EFF(300,"'link' | 'arrow-more' | 'arrow-down' | 'arrow-up'"),e.k0s()()(),e.j41(301,"h4"),e.EFF(302,"Rotation animation"),e.k0s(),e.j41(303,"p"),e.EFF(304," It is possible to trigger an animation that rotates the disclosure icon by passing a boolean flag to "),e.j41(305,"code"),e.EFF(306,"[rotateIcon]"),e.k0s(),e.EFF(307," . When set to "),e.j41(308,"code"),e.EFF(309,"true"),e.k0s(),e.EFF(310," it will rotate the icon 180 degrees and when set to "),e.j41(311,"code"),e.EFF(312,"false"),e.k0s(),e.EFF(313," it will rotate the icon back to it's original position.\n"),e.k0s(),e.j41(314,"cookbook-example-viewer",54),e.nrm(315,"cookbook-item-example-disclosure-animation",null,35),e.k0s(),e.j41(317,"p",52)(318,"em")(319,"strong"),e.EFF(320,"Please note:"),e.k0s(),e.EFF(321," the animation of the disclosure icon is only available for: "),e.j41(322,"code"),e.EFF(323,"'arrow-down' | 'arrow-up'"),e.k0s()()(),e.j41(324,"h2"),e.EFF(325,"Card with item"),e.k0s(),e.j41(326,"cookbook-example-viewer",51),e.nrm(327,"cookbook-item-example-card",null,36),e.k0s(),e.j41(329,"h2"),e.EFF(330,"API"),e.k0s(),e.nrm(331,"cookbook-api-description-properties",55),e.j41(332,"h2"),e.EFF(333,"CSS Custom Properties"),e.k0s(),e.nrm(334,"cookbook-api-description-properties",56)}if(2&vt){const vo=e.sdS(127),Po=e.sdS(130),Hn=e.sdS(140),ls=e.sdS(147),Ms=e.sdS(152),Os=e.sdS(157),ga=e.sdS(163),Bs=e.sdS(169),xa=e.sdS(175),Ia=e.sdS(180),$c=e.sdS(187),Nc=e.sdS(192),sc=e.sdS(197),ac=e.sdS(202),du=e.sdS(207),zc=e.sdS(212),wd=e.sdS(219),uu=e.sdS(224),Md=e.sdS(241),Uc=e.sdS(248),Vc=e.sdS(254),Yl=e.sdS(259),Fd=e.sdS(264),Dd=e.sdS(270),hu=e.sdS(275),$l=e.sdS(282),lc=e.sdS(287),sa=e.sdS(293),mh=e.sdS(316),pu=e.sdS(328);e.R7$(125),e.Y8G("html",vo.template),e.R7$(3),e.Y8G("html",Po.template),e.R7$(10),e.Y8G("html",Hn.template),e.R7$(7),e.Y8G("html",ls.template),e.R7$(5),e.Y8G("html",Ms.template),e.R7$(5),e.Y8G("html",Os.template),e.R7$(6),e.Y8G("html",ga.template),e.R7$(6),e.Y8G("html",Bs.template),e.R7$(6),e.Y8G("html",xa.template),e.R7$(5),e.Y8G("html",Ia.template),e.R7$(7),e.Y8G("html",$c.template),e.R7$(5),e.Y8G("html",Nc.template),e.R7$(5),e.Y8G("html",sc.template),e.R7$(5),e.Y8G("html",ac.template),e.R7$(5),e.Y8G("html",du.template),e.R7$(5),e.Y8G("html",zc.template),e.R7$(7),e.Y8G("html",wd.template),e.R7$(5),e.Y8G("html",uu.template),e.R7$(17),e.Y8G("html",Md.template)("css",Md.styles),e.R7$(7),e.Y8G("html",Uc.template),e.R7$(6),e.Y8G("html",Vc.template),e.R7$(5),e.Y8G("html",Yl.template)("css",Yl.styles),e.R7$(5),e.Y8G("html",Fd.template)("css",Fd.styles),e.R7$(6),e.Y8G("html",Dd.template),e.R7$(5),e.Y8G("html",hu.template),e.R7$(7),e.Y8G("html",$l.template),e.R7$(5),e.Y8G("html",lc.template),e.R7$(6),e.Y8G("html",sa.template),e.R7$(23),e.Y8G("html",mh.template)("ts",mh.animationCodeSnippetTS),e.R7$(12),e.Y8G("html",pu.template),e.R7$(5),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("properties",Ge.customCssProperties)("columns",Ge.customCssPropertiesColumns)}},dependencies:[n.s,i.G,f.A,g.Y,s.d,x.v,_.g,y.Q,w.d,M.G,I.C,R.m,H.z,K.J,L.c,he.L,pe.y,be.g,Le.a,ye.b,je.M,ke.U,De.y,Je.F,lt.p,Mt.n,Bt.e,et._,sn.K,tt.E,Ct.R,pt],styles:["[_nghost-%COMP%] > h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px;border-bottom:1px dotted var(--kirby-medium)}[_nghost-%COMP%] > h3[_ngcontent-%COMP%]{font-size:12px;color:var(--kirby-text-color-semi-dark);text-transform:uppercase;margin-top:12px;margin-bottom:4px}[_nghost-%COMP%] > h4[_ngcontent-%COMP%]{margin-top:24px}.item-illustration[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:12px}.item-illustration[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{max-width:600px}.sizes[_ngcontent-%COMP%] cookbook-example-viewer[_ngcontent-%COMP%]{margin-top:12px}"]})}return Ve})();var Vt=l(32534),cn=l(12494),Fn=l(24649),pn=l(231),Un=l(34894),Zn=l(47790);function Bn(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.name)}}function _n(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.description)}}function Cn(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.type)}}function Qt(Ve,kr){if(1&Ve&&(e.j41(0,"td")(1,"code"),e.EFF(2),e.k0s()()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(2),e.JRh(Lt.name)}}function Nn(Ve,kr){if(1&Ve&&(e.j41(0,"td",4),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(),e.JRh(Lt.description)}}function Qn(Ve,kr){if(1&Ve&&(e.qex(0),e.j41(1,"code"),e.EFF(2),e.k0s(),e.bVm()),2&Ve){const Lt=e.XpG(2).$implicit;e.R7$(2),e.JRh(Lt.signature)}}function Zt(Ve,kr){if(1&Ve&&(e.j41(0,"td"),e.DNE(1,Qn,3,1,"ng-container",1),e.k0s()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",Lt.signature)}}function vn(Ve,kr){if(1&Ve&&(e.j41(0,"tr"),e.DNE(1,Qt,3,1,"td",1)(2,Nn,2,1,"td",3)(3,Zt,2,1,"td",1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.Y8G("ngIf",Lt.columns.name),e.R7$(),e.Y8G("ngIf",Lt.columns.description),e.R7$(),e.Y8G("ngIf",Lt.columns.type)}}let hn=(()=>{class Ve{constructor(){this.columns={name:"Name",description:"Description",type:"Signature"}}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-api-description-events"]],inputs:{events:"events",columns:"columns"},decls:7,vars:4,consts:[[1,"api-description"],[4,"ngIf"],[4,"ngFor","ngForOf"],["class","description",4,"ngIf"],[1,"description"]],template:function(vt,Ge){1&vt&&(e.j41(0,"table",0)(1,"thead"),e.DNE(2,Bn,2,1,"th",1)(3,_n,2,1,"th",1)(4,Cn,2,1,"th",1),e.k0s(),e.j41(5,"tbody"),e.DNE(6,vn,4,3,"tr",2),e.k0s()()),2&vt&&(e.R7$(2),e.Y8G("ngIf",Ge.columns.name),e.R7$(),e.Y8G("ngIf",Ge.columns.description),e.R7$(),e.Y8G("ngIf",Ge.columns.type),e.R7$(2),e.Y8G("ngForOf",Ge.events))},dependencies:[Xe.bT,Xe.pM],styles:["[_nghost-%COMP%]{display:block;width:100%;overflow-x:auto}table.api-description[_ngcontent-%COMP%]{margin-bottom:40px;border-spacing:0;border-collapse:collapse;width:100%}table.api-description[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background-color:var(--kirby-light-tint)}table.api-description[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:400;border:none;text-align:left;height:40px;border-bottom:none}table.api-description[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.api-description[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid var(--kirby-medium);padding:.5rem 1rem}table.api-description[_ngcontent-%COMP%] .property-name[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{white-space:nowrap}.description[_ngcontent-%COMP%]{white-space:pre-line}"]})}return Ve})(),Tn=(()=>{class Ve{constructor(){this.properties=[{name:"title",description:"The title that you can click to show the content",defaultValue:"null",type:["string"]},{name:"isExpanded",description:"Should the content be initially shown",defaultValue:"false",type:["boolean"]},{name:"isDisabled",description:"Disables expansion of the item and styles it as disabled.",defaultValue:"false",type:["boolean"]},{name:"disabledTitle",description:"Optional title shown when isDisabled is true - if null then the title property will be used ",defaultValue:"null",type:["string"]},{name:"hasPadding",description:"If set, the accordion item will have spacing between the border and the content",defaultValue:"true",type:["boolean"]}],this.events=[{name:"toggle",description:"Emitted when the state of the accordion item has changed",signature:"EventEmitter"}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-accordion-showcase"]],decls:56,vars:9,consts:[["accordionDefaultExample",""],["accordionExpandedExample",""],["accordionCardExample",""],["accordionWithListExample",""],["accordionWithListInCardExample",""],["accordionEventExample",""],[1,"example"],["href","https://angular.dev/guide/animations#enabling-the-animations-module"],[3,"html"],[3,"html","ts"],[3,"properties"],[3,"events"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"div",6)(1,"p"),e.EFF(2," An accordion is a vertically stacked list of headers that reveal or hide related sections of content. "),e.k0s(),e.j41(3,"h2"),e.EFF(4,"Setup"),e.k0s(),e.j41(5,"p"),e.EFF(6," Accordions use Angular animations for animating between its collapsed and expanded state. As no other components depend on the package it is not bundled with Kirby for performance reasons and should instead be provided in the application as detailed in the Angular docs for "),e.j41(7,"a",7),e.EFF(8," enabling the animations module "),e.k0s(),e.EFF(9," . "),e.k0s(),e.j41(10,"h2"),e.EFF(11,"Simple accordion"),e.k0s(),e.j41(12,"cookbook-example-viewer",8),e.nrm(13,"cookbook-accordion-default-example",null,0),e.k0s(),e.j41(15,"h3"),e.EFF(16,"With initially expanded item"),e.k0s(),e.j41(17,"p"),e.EFF(18," It is possible to have an accordion expanded initially to draw attention to specific information. "),e.k0s(),e.j41(19,"cookbook-example-viewer",8),e.nrm(20,"cookbook-accordion-expanded-example",null,1),e.k0s(),e.j41(22,"h2"),e.EFF(23,"Accordion inside a card"),e.k0s(),e.j41(24,"p"),e.EFF(25," The accordion can be wrapped in a Kirby Card to make it stand out from the canvas. "),e.k0s(),e.j41(26,"cookbook-example-viewer",8),e.nrm(27,"cookbook-accordion-card-example",null,2),e.k0s(),e.j41(29,"h2"),e.EFF(30,"Accordion with list"),e.k0s(),e.j41(31,"p"),e.EFF(32," Placing a list within an accordion item will automatically adapt spacing and strip the necessary list-styling to ensure that the list looks correct without further adjustments. "),e.k0s(),e.j41(33,"cookbook-example-viewer",8),e.nrm(34,"cookbook-accordion-with-list-example",null,3),e.k0s(),e.j41(36,"h3"),e.EFF(37,"Additional styling"),e.k0s(),e.j41(38,"p"),e.EFF(39," Similarly to the simple accordion, the accordion with a list can also be wrapped in a Kirby Card to make it stand out from the canvas. "),e.k0s(),e.j41(40,"cookbook-example-viewer",8),e.nrm(41,"cookbook-accordion-with-list-in-card-example",null,4),e.k0s(),e.j41(43,"h2"),e.EFF(44,"Accordion toggle event"),e.k0s(),e.j41(45,"p"),e.EFF(46," A toggle event is emitted whenever an accordion is expanded or collapsed. "),e.k0s(),e.j41(47,"cookbook-example-viewer",9),e.nrm(48,"cookbook-accordion-events-example",null,5),e.k0s(),e.j41(50,"h2"),e.EFF(51,"Properties:"),e.k0s(),e.nrm(52,"cookbook-api-description-properties",10),e.j41(53,"h2"),e.EFF(54,"Events"),e.k0s(),e.nrm(55,"cookbook-api-description-events",11),e.k0s()),2&vt){const vo=e.sdS(14),Po=e.sdS(21),Hn=e.sdS(28),ls=e.sdS(35),Ms=e.sdS(42),Os=e.sdS(49);e.R7$(12),e.Y8G("html",vo.template),e.R7$(7),e.Y8G("html",Po.template),e.R7$(7),e.Y8G("html",Hn.template),e.R7$(7),e.Y8G("html",ls.template),e.R7$(7),e.Y8G("html",Ms.template),e.R7$(7),e.Y8G("html",Os.template)("ts",Os.codeSnippet),e.R7$(5),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("events",Ge.events)}},dependencies:[n.s,Vt.n,cn.j,Fn.W,pn.U,Un.L,Zn.n,pt,hn],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}cookbook-example-viewer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{display:block;margin-bottom:16px;max-width:550px}h3[_ngcontent-%COMP%]{margin-top:32px;border-bottom:none}"]})}return Ve})();var bo=l(19963),_o=l(86413);let gi=(()=>{class Ve{constructor(){this.exampleHtml='\n',this.properties=[{name:"header",description:"(Optional) The header of the action sheet",defaultValue:"",type:["string"]},{name:"subheader",description:"(Optional) The subheader of the action sheet",defaultValue:"",type:["string"]},{name:"items",description:"The options shown inside the action sheet",defaultValue:"",type:["Array"]},{name:"cancelButtonText",description:"(Optional) The text for the cancel button.",defaultValue:"Cancel",type:["string"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-action-sheet-showcase"]],decls:42,vars:12,consts:[[1,"example"],[3,"html"],["language","ts"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.EFF(1,"\n "),e.nrm(2,"cookbook-action-sheet-example"),e.EFF(3,"\n "),e.nrm(4,"cookbook-code-viewer",1),e.EFF(5,"\n "),e.j41(6,"p"),e.EFF(7,"\n To show the action sheet, create an\n "),e.j41(8,"code"),e.EFF(9,"ActionSheetConfig"),e.k0s(),e.EFF(10,"\n and pass it to\n "),e.j41(11,"code"),e.EFF(12,"modalController.showActionSheet"),e.k0s(),e.EFF(13,"\n . Each item must to be of type\n "),e.j41(14,"code"),e.EFF(15,"ActionSheetItem"),e.k0s(),e.EFF(16,"\n .\n "),e.EFF(17,"\n "),e.j41(18,"cookbook-code-viewer",2),e.EFF(19),e.k0s(),e.EFF(20,"\n (Optional) if you need to obtain data back from the action sheet, you can pass a callback\n function:\n "),e.EFF(21,"\n "),e.j41(22,"cookbook-code-viewer",2),e.EFF(23,"this.modalController.showActionSheet(config, onItemSelect);"),e.k0s(),e.EFF(24,"\n where\n "),e.j41(25,"code"),e.EFF(26,"onItemSelect"),e.k0s(),e.EFF(27,"\n can be e.g.:\n "),e.EFF(28,"\n "),e.j41(29,"cookbook-code-viewer",2),e.EFF(30),e.k0s(),e.EFF(31,"\n We can use\n "),e.j41(32,"code"),e.EFF(33,"modalController.hideTopmost"),e.k0s(),e.EFF(34,"\n to hide (and destroy its component) the topmost action sheet. We can pass an optional result\n parameter to it, which is then going to be available inside the callback\n "),e.k0s(),e.EFF(35,"\n "),e.j41(36,"h4"),e.EFF(37,"Action sheet properties:"),e.k0s(),e.EFF(38,"\n "),e.nrm(39,"cookbook-api-description-properties",3),e.EFF(40,"\n"),e.k0s(),e.EFF(41,"\n")),2&vt&&(e.R7$(4),e.Y8G("html",Ge.exampleHtml),e.R7$(15),e.Ld("const config: ActionSheetConfig=","{","\n header: 'Your action sheet header',\n subheader: 'Your action sheet sub-header',\n items: [\n ","{"," id: '1', text: 'Option 1' ","}",",\n ","{"," id: '2', text: 'Option 2' ","}",",\n ","{"," id: '3', text: 'Option 3' ","}",",\n ],\n cancelButtonText: 'Custom cancel',\n","}",";\nthis.modalController.showActionSheet(config);"),e.R7$(11),e.Lme("onItemSelect(item: ActionSheetItem) ","{","...","}",""),e.R7$(9),e.Y8G("properties",Ge.properties))},dependencies:[bo.p,_o.B,pt],encapsulation:2})}return Ve})();var Go=l(49267);let zo=(()=>{class Ve{constructor(){this.alertConfigWithIcon=Go._.alertConfigWithIcon,this.alertConfigWithDynamicValues=Go._.alertConfigWithDynamicValues,this.properties=[{name:"title",description:"The title of the alert",type:["string | Observable"]},{name:"message",description:"(Optional) The message shown under the title (or icon if specified). Use '\\n' for newline.",type:["string | Observable"]},{name:"icon",description:"(Optional) Icon to be shown below the title",type:["{ name: string }","{ name: string, themeColor: string }"]},{name:"okBtn",description:"(Optional) Defines the text that will appear on the OK button and if it should be destructive",defaultValue:"OK",type:["string","{ text: string, isDestructive: boolean }"]},{name:"cancelBtn",description:"(Optional) The text that will appear on the cancel button. If not defined the cancel button will not be shown.",type:["string"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-alert-showcase"]],decls:81,vars:5,consts:[[1,"example"],[3,"ts"],["language","ts"],["href","https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.EFF(1,"\n "),e.nrm(2,"cookbook-alert-example"),e.EFF(3,"\n "),e.j41(4,"p"),e.EFF(5,"\xa0"),e.k0s(),e.EFF(6,"\n "),e.j41(7,"p"),e.EFF(8,"\n To show an alert, inject the Kirby\n "),e.j41(9,"code"),e.EFF(10,"modalController"),e.k0s(),e.EFF(11,"\n in your constructor, create an\n "),e.j41(12,"code"),e.EFF(13,"AlertConfig"),e.k0s(),e.EFF(14,"\n and pass it to\n "),e.j41(15,"code"),e.EFF(16,"modalController.showAlert"),e.k0s(),e.EFF(17,"\n .\n "),e.nrm(18,"cookbook-code-viewer",1),e.EFF(19,"\n "),e.k0s(),e.EFF(20,"\n "),e.j41(21,"p"),e.EFF(22,"\n "),e.j41(23,"code"),e.EFF(24,"title"),e.k0s(),e.EFF(25,"\n and\n "),e.j41(26,"code"),e.EFF(27,"message"),e.k0s(),e.EFF(28,"\n properties in\n "),e.j41(29,"code"),e.EFF(30,"AlertConfig"),e.k0s(),e.EFF(31,"\n also accept an Observable for dynamic values:\n "),e.nrm(32,"br"),e.EFF(33,"\n "),e.j41(34,"em"),e.EFF(35,'\n (see "Example on github" for implementation details of the\n '),e.j41(36,"code"),e.EFF(37,"remainingSeconds$"),e.k0s(),e.EFF(38,"\n timer)\n "),e.k0s(),e.EFF(39,"\n :\n "),e.nrm(40,"cookbook-code-viewer",1),e.EFF(41,"\n "),e.k0s(),e.EFF(42,"\n "),e.j41(43,"p"),e.EFF(44,"\n "),e.j41(45,"em"),e.EFF(46,"[Optional]"),e.k0s(),e.EFF(47,"\n If you need to obtain data back from the alert, you can pass a callback function:\n "),e.EFF(48,"\n "),e.j41(49,"cookbook-code-viewer",2),e.EFF(50),e.k0s(),e.EFF(51,"\n "),e.k0s(),e.EFF(52,"\n\n "),e.j41(53,"h2"),e.EFF(54,"Accessibility"),e.k0s(),e.EFF(55,"\n "),e.j41(56,"p"),e.EFF(57,"\n Alerts have a\n "),e.EFF(58,"\n "),e.j41(59,"a",3),e.EFF(60,"dialog"),e.k0s(),e.EFF(61,"\n role and implement focus management and keyboard support accordingly.\n "),e.k0s(),e.EFF(62,"\n "),e.j41(63,"p"),e.EFF(64,"\n When opened, focus is moved into the alert. Focus is trapped within the alert while it is open,\n preventing users from navigating to elements outside the alert. Upon closing, focus is moved\n back to where it was before showing the alert.\n "),e.k0s(),e.EFF(65,"\n\n "),e.j41(66,"h3"),e.EFF(67,"Labeling"),e.k0s(),e.EFF(68,"\n "),e.j41(69,"p"),e.EFF(70,"\n The alert title is automatically used as a label to add context for assistive technologies. For\n example, screen readers use the label to announce when the modal dialog appears and to give\n proper context when interacting with the content within.\n "),e.k0s(),e.EFF(71,"\n "),e.j41(72,"p"),e.EFF(73,"This emphasizes the importance of providing a meaningful title for all alerts."),e.k0s(),e.EFF(74,"\n\n "),e.j41(75,"h2"),e.EFF(76,"Alert config properties"),e.k0s(),e.EFF(77,"\n "),e.nrm(78,"cookbook-api-description-properties",4),e.EFF(79,"\n"),e.k0s(),e.EFF(80,"\n")),2&vt&&(e.R7$(18),e.Y8G("ts",Ge.alertConfigWithIcon),e.R7$(22),e.Y8G("ts",Ge.alertConfigWithDynamicValues),e.R7$(10),e.Lme("this.modalController.showAlert(config, onAlertClose);\n\nprivate onAlertClose(result: boolean) ","{","\n ...\n","}",""),e.R7$(28),e.Y8G("properties",Ge.properties))},dependencies:[Go._,_o.B,pt],encapsulation:2})}return Ve})();var ri=l(28287),Yi=l(99551),xr=l(54368),zi=l(36143),Ji=l(33625),Pr=l(25713),Gi=l(49851),no=l(48492),Vn=l(12187),mn=l(99696);let ze=(()=>{class Ve{constructor(){this.properties=[{name:"size",description:"Sets the size of the avatar.",defaultValue:ri.P.SM,type:Object.values(ri.P)},{name:"imageSrc",description:"The path to the image you want to embed in the avatar.",defaultValue:"undefined",type:["string"]},{name:"altText",description:'The alt text attribute that screenreaders use when "viewing" the image. Mandatory when using the avatar with an image.',defaultValue:"undefined",type:["string"]},{name:"imageLoading",description:"Sets the loading attribute of the image.\n\nSee: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading",defaultValue:"undefined",type:["eager","lazy"]},{name:"overlay",description:"Adds a dimmed overlay on the avatar. Useful when using the avatar on a white background and the image also has a white background.",defaultValue:"false",type:["true","false"]},{name:"shadow (deprecated - use stroke instead)",description:"Adds a box-shadow to the avatar.",defaultValue:"false",type:["true","false"]},{name:"stroke",description:"Adds an outline to the avatar.",defaultValue:"false",type:["true","false"]}],this.events=[{name:"imageError",description:"Emitted when the loading of an avatar image results in an error - usually due to the specified imageSrc not being found.",signature:"(ErrorEvent) => void"}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-avatar-showcase"]],decls:65,vars:12,consts:[["defaultExample",""],["colorsExample",""],["textExample",""],["iconExample",""],["badgeExample",""],["imageExample",""],["imageSizeExample",""],["imageLazyLoadingExample",""],["imageErrorExample",""],[1,"example"],[3,"html"],["target","_blank","href","https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading",1,"kirby-external-icon"],[3,"html","ts"],[3,"properties"],[3,"events"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"div",9)(1,"h2"),e.EFF(2,"Default"),e.k0s(),e.j41(3,"cookbook-example-viewer",10),e.nrm(4,"cookbook-avatar-example-default",null,0),e.k0s(),e.j41(6,"h2"),e.EFF(7,"Colors"),e.k0s(),e.j41(8,"cookbook-example-viewer",10),e.nrm(9,"cookbook-avatar-example-colors",null,1),e.k0s(),e.j41(11,"h2"),e.EFF(12,"Avatar with text"),e.k0s(),e.j41(13,"cookbook-example-viewer",10),e.nrm(14,"cookbook-avatar-example-text",null,2),e.k0s(),e.j41(16,"h2"),e.EFF(17,"Avatar with icon"),e.k0s(),e.j41(18,"cookbook-example-viewer",10),e.nrm(19,"cookbook-avatar-example-icon",null,3),e.k0s(),e.j41(21,"h2"),e.EFF(22,"Avatar with badge"),e.k0s(),e.j41(23,"cookbook-example-viewer",10),e.nrm(24,"cookbook-avatar-example-badge",null,4),e.k0s(),e.j41(26,"h2"),e.EFF(27,"Avatar with image"),e.k0s(),e.j41(28,"cookbook-example-viewer",10),e.nrm(29,"cookbook-avatar-example-image",null,5),e.k0s(),e.j41(31,"h3"),e.EFF(32,"Sizes"),e.k0s(),e.j41(33,"cookbook-example-viewer",10),e.nrm(34,"cookbook-avatar-example-image-size",null,6),e.k0s(),e.j41(36,"h3"),e.EFF(37,"Lazy loaded image"),e.k0s(),e.j41(38,"p"),e.EFF(39," If you want to defer the loading of the avatar image set "),e.j41(40,"code"),e.EFF(41,'imageLoading="lazy"'),e.k0s(),e.EFF(42," . "),e.k0s(),e.j41(43,"p")(44,"a",11),e.EFF(45," Read more about lazy loading images on MDN "),e.k0s()(),e.j41(46,"cookbook-example-viewer",10),e.nrm(47,"cookbook-avatar-example-image-loazy-loading",null,7),e.k0s(),e.j41(49,"h3"),e.EFF(50,"Fallback image"),e.k0s(),e.j41(51,"p"),e.EFF(52," The image avatar will emit an "),e.j41(53,"code"),e.EFF(54,"ErrorEvent"),e.k0s(),e.EFF(55," if the image fails to load. This allows for falling back to a default avatar image or do some other handling when the image cannot be loaded. "),e.k0s(),e.j41(56,"cookbook-example-viewer",12),e.nrm(57,"cookbook-avatar-example-image-error",null,8),e.k0s(),e.j41(59,"h2"),e.EFF(60,"Properties:"),e.k0s(),e.nrm(61,"cookbook-api-description-properties",13),e.j41(62,"h2"),e.EFF(63,"Events:"),e.k0s(),e.nrm(64,"cookbook-api-description-events",14),e.k0s()),2&vt){const vo=e.sdS(5),Po=e.sdS(10),Hn=e.sdS(15),ls=e.sdS(20),Ms=e.sdS(25),Os=e.sdS(30),ga=e.sdS(35),Bs=e.sdS(48),xa=e.sdS(58);e.R7$(3),e.Y8G("html",vo.template),e.R7$(5),e.Y8G("html",Po.template),e.R7$(5),e.Y8G("html",Hn.template),e.R7$(5),e.Y8G("html",ls.template),e.R7$(5),e.Y8G("html",Ms.template),e.R7$(5),e.Y8G("html",Os.template),e.R7$(5),e.Y8G("html",ga.template),e.R7$(13),e.Y8G("html",Bs.template),e.R7$(10),e.Y8G("html",xa.template)("ts",xa.ts),e.R7$(5),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("events",Ge.events)}},dependencies:[n.s,Yi.k,xr.v,zi.A,Ji.i,Pr.K,Gi.Q,no.R,Vn.u,mn.k,pt,hn],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})();var at=l(32667),Ft=l(98990),fo=l(20509),wn=l(94811),dn=l(45997),$e=l(95203);let We=(()=>{class Ve{constructor(){this.exampleHtml='\n

Number

\n \n
\n\n

Text

\n \n
\n\n

Icon

\n \n
\n\n

Small Badge

\n \n
\n',this._cardHasPadding=!0,this._properties=[{name:"themeColor",description:"Sets which color the badge should use from the theme palette.",defaultValue:"white",type:["white","success","warning","danger"]},{name:"size",description:"Sets the size of the badge",defaultValue:"md",type:["sm","md"]}],this._cssCustomPropertiesColumns={name:"Name",description:"Description",default:"default"},this._cssCustomProperties=[{name:"--kirby-badge-position",description:"Sets the position property of the badge.",defaultValue:"relative"},{name:"--kirby-badge-top",description:"Sets the vertical position of the badge.",defaultValue:"auto"},{name:"--kirby-badge-right",description:"Sets the horizontal position of the badge.",defaultValue:"auto"},{name:"--kirby-badge-left",description:"Sets the horizontal position of the badge.",defaultValue:"auto"},{name:"--kirby-badge-elevation",description:"Sets the box-shadow property of the badge.",defaultValue:"none | [custom elevation on white badge]"},{name:"--kirby-badge-color",description:"Sets the text color of the badge. It is recommended to use the themeColor input property instead to not break the color scheme."},{name:"--kirby-badge-background-color",description:"Sets the background color of the badge. It is recommended to use the themeColor input property instead to not break the color scheme."},{name:"--kirby-badge-z-index",description:"Sets the z-index property of the badge."}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-badge-showcase"]],decls:57,vars:13,consts:[["badgeExampleNumber",""],["badgeExampleText",""],["badgeExampleIcon",""],["badgeExampleSmall",""],[3,"hasMargin"],["variant","flat",3,"hasPadding"],[3,"html"],[3,"properties"],[3,"properties","columns"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p"),e.EFF(1," Badges are inline block elements that often are used on top of or close to another component. They can be used with numbers, text and icons. A small badge version also exists which does not support slotted content.\n"),e.k0s(),e.nrm(2,"kirby-divider",4),e.j41(3,"h2"),e.EFF(4,"Examples"),e.k0s(),e.j41(5,"h3"),e.EFF(6,"Badge with numbers"),e.k0s(),e.j41(7,"p"),e.EFF(8,"Using a badge with a number can be a good way to indicate specific status on an element."),e.k0s(),e.j41(9,"p")(10,"kirby-card",5),e.nrm(11,"cookbook-badge-example-number",null,0)(13,"cookbook-example-viewer",6),e.k0s()(),e.j41(14,"h3"),e.EFF(15,"Badge with text"),e.k0s(),e.j41(16,"p"),e.EFF(17," Badges can also be used together with a text. Flags might in some cases be a better alternative.\n"),e.k0s(),e.j41(18,"p")(19,"kirby-card",5),e.nrm(20,"cookbook-badge-example-text",null,1)(22,"cookbook-example-viewer",6),e.k0s()(),e.j41(23,"h3"),e.EFF(24,"Badge with icons"),e.k0s(),e.j41(25,"p"),e.EFF(26," It is possible to slot an icon to display it in a badge. This might be used to indicate the existence of an associated element (e.g. an attachment).\n"),e.k0s(),e.j41(27,"p")(28,"kirby-card",5),e.nrm(29,"cookbook-badge-example-icon",null,2)(31,"br")(32,"cookbook-example-viewer",6),e.k0s()(),e.j41(33,"h3"),e.EFF(34,"Small Badges"),e.k0s(),e.j41(35,"p"),e.EFF(36," Setting the input property "),e.j41(37,"code"),e.EFF(38,"size"),e.k0s(),e.EFF(39," to "),e.j41(40,"code"),e.EFF(41,"'sm'"),e.k0s(),e.EFF(42," will display a small badge without any content. This can be useful to indicate status on an element.\n"),e.k0s(),e.j41(43,"p")(44,"kirby-card",5),e.nrm(45,"cookbook-badge-example-small",null,3)(47,"cookbook-example-viewer",6),e.k0s()(),e.nrm(48,"kirby-divider",4),e.j41(49,"h2"),e.EFF(50,"API"),e.k0s(),e.j41(51,"h3"),e.EFF(52,"Properties"),e.k0s(),e.nrm(53,"cookbook-api-description-properties",7),e.j41(54,"h3"),e.EFF(55,"CSS Custom Properties"),e.k0s(),e.nrm(56,"cookbook-api-description-properties",8)),2&vt){const vo=e.sdS(12),Po=e.sdS(21),Hn=e.sdS(30),ls=e.sdS(46);e.R7$(2),e.Y8G("hasMargin",!0),e.R7$(8),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(3),e.Y8G("html",vo.template),e.R7$(6),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(3),e.Y8G("html",Po.template),e.R7$(6),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(4),e.Y8G("html",Hn.template),e.R7$(12),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(3),e.Y8G("html",ls.template),e.R7$(),e.Y8G("hasMargin",!0),e.R7$(5),e.Y8G("properties",Ge._properties),e.R7$(3),e.Y8G("properties",Ge._cssCustomProperties)("columns",Ge._cssCustomPropertiesColumns)}},dependencies:[at.h,Ft.Dw,Ft.ib,fo.G,n.s,wn.E,dn.I,$e.e,pt],encapsulation:2})}return Ve})();var ot=l(47868),Wt=l(92908),Dn=l(8344),to=l(4631),co=l(76448),Oo=l(4855),ln=l(10303),Gn=l(3925),go=l(17313),Vo=l(53697),yi=l(17337);let ci=(()=>{class Ve{constructor(){this.properties=[{name:"attentionLevel",description:"Sets the attention level for the button. Button color will be updated automatically depending on host color.",defaultValue:"1",type:["1","2","3"]},{name:"disabled",description:"Disables the button.",defaultValue:"",type:["boolean attribute"]},{name:"expand",description:"When set to `block` the button will expand to full width of it's parent container.",defaultValue:"undefined",type:["block"]},{name:"noDecoration",description:"Renders the button without a background.",defaultValue:"false",type:["true","false"]},{name:"size",description:"Sets the size of the button. The touch area will always be a minimum of 44px by 44px. If buttons are smaller than this, the surrounding area will still be clickable, to preserve accessibility.",defaultValue:"md",type:["xs","sm","md","lg"]},{name:"showIconOnly",description:"Set to `true` if you need to include a text for the button in the markup but still want to render the button as icon only.",defaultValue:"false",type:["boolean"]}]}scrollTo(Lt){return Lt.scrollIntoView({behavior:"smooth"}),!1}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-button-showcase"]],decls:208,vars:12,consts:[["defaultExample",""],["attentionLevels",""],["attentionLevelExample",""],["sizes",""],["sizeExample",""],["blockExample",""],["iconsExample",""],["accessibleIconButtons",""],["iconOnlyExample",""],["undecoratedExample",""],["disabledExample",""],["accessibleDisabledButtons",""],["ariaDisabledExample",""],["linkExample",""],[1,"example"],[3,"hasMargin"],["href","#",3,"click"],[3,"html"],[1,"comment"],["href","https://www.w3.org/TR/WCAG22/#target-size-enhanced"],["routerLink","../header"],["target","_blank","href","https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled",1,"kirby-external-icon"],[3,"properties"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"div",14)(1,"p"),e.EFF(2," Button allows users to perform actions and make choices with a single tap, such as submitting forms and triggering actions. "),e.k0s(),e.nrm(3,"kirby-divider",15),e.j41(4,"h2"),e.EFF(5,"Default"),e.k0s(),e.j41(6,"p"),e.EFF(7," By default the button is medium in "),e.j41(8,"a",16),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(46);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(9,"size"),e.k0s(),e.EFF(10," , has the highest "),e.j41(11,"a",16),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(18);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(12,"attention level"),e.k0s(),e.EFF(13," and renders inline. "),e.k0s(),e.j41(14,"cookbook-example-viewer",17),e.nrm(15,"cookbook-button-example-default",null,0),e.k0s(),e.j41(17,"h2",null,1),e.EFF(19,"Attention Levels"),e.k0s(),e.j41(20,"p"),e.EFF(21," The button can be configured with different levels of grabbing the user's attention, depending on the action of the button and it's relation to adjacent buttons. "),e.k0s(),e.j41(22,"p"),e.EFF(23," The background color of the button will take into account the brightness of the surrounding context. "),e.nrm(24,"br"),e.EFF(25," Try changing the theme color of the surrounding card in the example below to see this in action. "),e.k0s(),e.j41(26,"ol")(27,"li")(28,"strong"),e.EFF(29,"Highest attention level."),e.k0s(),e.nrm(30,"br"),e.EFF(31," Primary button used for call-to-action. This is the default attention level. "),e.k0s(),e.j41(32,"li")(33,"strong"),e.EFF(34,"Medium attention level."),e.k0s(),e.nrm(35,"br"),e.EFF(36," The button will stand out with a high contrast to the background of the surrounding context. "),e.k0s(),e.j41(37,"li")(38,"strong"),e.EFF(39,"Lowest attention level."),e.k0s(),e.nrm(40,"br"),e.EFF(41," The button will differ slightly from the background of the surrounding context. "),e.k0s()(),e.j41(42,"cookbook-example-viewer",17),e.nrm(43,"cookbook-button-example-attention-level",null,2),e.k0s(),e.j41(45,"h2",null,3),e.EFF(47,"Sizes"),e.k0s(),e.j41(48,"p"),e.EFF(49," The button comes in 4 different sizes: "),e.j41(50,"code"),e.EFF(51,"xs | sm | md | lg"),e.k0s(),e.EFF(52," . "),e.nrm(53,"br"),e.EFF(54," Setting this property will change the font-size, height and padding of the button. The default size is "),e.j41(55,"code"),e.EFF(56,"md"),e.k0s(),e.EFF(57," . "),e.k0s(),e.j41(58,"cookbook-example-viewer",17),e.nrm(59,"cookbook-button-example-sizes",null,4),e.k0s(),e.j41(61,"p",18)(62,"strong"),e.EFF(63,"Please note:"),e.k0s(),e.EFF(64," The extra small button does not meet the "),e.j41(65,"a",19),e.EFF(66," WCAG recommendations on target size "),e.k0s(),e.EFF(67," (44px), and should therefore be used with caution. "),e.k0s(),e.j41(68,"h2"),e.EFF(69,"Block button"),e.k0s(),e.j41(70,"p"),e.EFF(71," The button renders inline by default. To change the button to a full-width element, set "),e.j41(72,"code"),e.EFF(73,'expand="block"'),e.k0s(),e.EFF(74," . "),e.k0s(),e.j41(75,"cookbook-example-viewer",17),e.nrm(76,"cookbook-button-example-block",null,5),e.k0s(),e.j41(78,"h2"),e.EFF(79,"Icons"),e.k0s(),e.j41(80,"p"),e.EFF(81," An icon can be added to the button for extra visual affordance. The icon can be added to either the left or right side of the button, i.e. before or after the text. "),e.k0s(),e.j41(82,"cookbook-example-viewer",17),e.nrm(83,"cookbook-button-example-icons",null,6),e.k0s(),e.j41(85,"h2"),e.EFF(86,"Icon only"),e.k0s(),e.j41(87,"p"),e.EFF(88,' The button can be rendered with an icon only and no visible text. This is useful for "close" buttons and menu buttons. '),e.k0s(),e.j41(89,"p"),e.EFF(90," To render a button with an icon only you can either include an accessible name inside the button next to the icon and hide it visually by setting "),e.j41(91,"code"),e.EFF(92,'[showIconOnly]="true"'),e.k0s(),e.EFF(93," or you can omit any text and set an "),e.j41(94,"code"),e.EFF(95,"aria-label"),e.k0s(),e.EFF(96," instead. Please refer to the section on "),e.j41(97,"a",16),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(107);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(98,"Accessible Icon Buttons"),e.k0s(),e.EFF(99," below. "),e.k0s(),e.j41(100,"p")(101,"em"),e.EFF(102,' Note: including a\u2014visually hidden\u2014label in the markup is also useful in scenarios where the button needs to toggle between the default state and a "collapsed" state, e.g. when used in an '),e.j41(103,"a",20),e.EFF(104,"action group"),e.k0s(),e.EFF(105," . "),e.k0s()(),e.j41(106,"h3",null,7),e.EFF(108,"Accessible Icon Buttons"),e.k0s(),e.j41(109,"p"),e.EFF(110," When rendering a button with no visible text it's important to make the button accessible to assistive technologies, such as screen readers. "),e.k0s(),e.j41(111,"p"),e.EFF(112," By including a visually hidden label in the markup as mentioned above, assistive technologies will automatically infer the name of the button from its content. "),e.k0s(),e.j41(113,"p"),e.EFF(114," If you choose to omit the text inside the button you must set a meaningful "),e.j41(115,"code"),e.EFF(116,"aria-label"),e.k0s(),e.EFF(117," instead. "),e.k0s(),e.j41(118,"p"),e.EFF(119,' In both cases the label should describe the action of the button, such as "Close", "Search", "Settings" etc. '),e.k0s(),e.j41(120,"cookbook-example-viewer",17),e.nrm(121,"cookbook-button-example-icon-only",null,8),e.k0s(),e.j41(123,"h3"),e.EFF(124,"Undecorated"),e.k0s(),e.j41(125,"p"),e.EFF(126," To render the button without a background set "),e.j41(127,"code"),e.EFF(128,'[noDecoration]="true"'),e.k0s()(),e.j41(129,"p",18)(130,"em")(131,"strong"),e.EFF(132,"Please note:"),e.k0s(),e.EFF(133," The undecorated button is solely intended for use with icon only. "),e.k0s()(),e.j41(134,"cookbook-example-viewer",17),e.nrm(135,"cookbook-button-example-undecorated",null,9),e.k0s(),e.j41(137,"h2"),e.EFF(138,"Disabled"),e.k0s(),e.j41(139,"p"),e.EFF(140," Use the "),e.j41(141,"code"),e.EFF(142,"disabled"),e.k0s(),e.EFF(143," attribute to disable the button. "),e.k0s(),e.j41(144,"cookbook-example-viewer",17),e.nrm(145,"cookbook-button-example-disabled",null,10),e.k0s(),e.j41(147,"h3",null,11),e.EFF(149,"Accessible Disabled Buttons"),e.k0s(),e.j41(150,"p"),e.EFF(151," The "),e.j41(152,"code"),e.EFF(153,"disabled"),e.k0s(),e.EFF(154," attribute effectively hides the button from assistive technologies, such as screen readers, by removing the button from the focus order of the web page. "),e.k0s(),e.j41(155,"p"),e.EFF(156," In many scenarios it's good practice to expose the button as disabled, but still make it available for users to find when navigating via the "),e.j41(157,"kbd"),e.EFF(158,"Tab"),e.k0s(),e.EFF(159," key. "),e.nrm(160,"br"),e.EFF(161," An example of this could be a button that submits a form, but cannot be activated until the form is complete. Using "),e.j41(162,"code"),e.EFF(163,'aria-disabled="true"'),e.k0s(),e.EFF(164," instead of "),e.j41(165,"code"),e.EFF(166,"disabled"),e.k0s(),e.EFF(167," will render the button perceivable but disabled. "),e.k0s(),e.j41(168,"p")(169,"a",21),e.EFF(170," Read more about aria-disabled on MDN "),e.k0s()(),e.j41(171,"p"),e.EFF(172," Set the "),e.j41(173,"code"),e.EFF(174,'aria-disabled="true"'),e.k0s(),e.EFF(175," attribute to render the button as disabled and prevent activation (mouse, touch and keyboard), but allow it to be focused: "),e.k0s(),e.j41(176,"cookbook-example-viewer",17),e.nrm(177,"cookbook-button-example-aria-disabled",null,12),e.k0s(),e.j41(179,"h2"),e.EFF(180,"Link Button"),e.k0s(),e.j41(181,"p"),e.EFF(182," The kirby-button directive can also be applied to anchor-tags. This will allow use of attributes such as "),e.j41(183,"code"),e.EFF(184,"href"),e.k0s(),e.EFF(185," and "),e.j41(186,"code"),e.EFF(187,"target"),e.k0s(),e.EFF(188," , but the link will look like a button. "),e.k0s(),e.j41(189,"cookbook-example-viewer",17),e.nrm(190,"cookbook-button-example-link",null,13),e.k0s(),e.j41(192,"h2"),e.EFF(193,"Accessibility"),e.k0s(),e.j41(194,"p"),e.EFF(195,"Please refer to:"),e.k0s(),e.j41(196,"ul")(197,"li")(198,"a",16),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(107);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(199,"Accessible Icon Buttons"),e.k0s()(),e.j41(200,"li")(201,"a",16),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(148);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(202,"Accessible Disabled Buttons"),e.k0s()()(),e.j41(203,"h2"),e.EFF(204,"API"),e.k0s(),e.j41(205,"h3"),e.EFF(206,"Properties"),e.k0s(),e.nrm(207,"cookbook-api-description-properties",22),e.k0s()}if(2&vt){const vo=e.sdS(16),Po=e.sdS(44),Hn=e.sdS(60),ls=e.sdS(77),Ms=e.sdS(84),Os=e.sdS(122),ga=e.sdS(136),Bs=e.sdS(146),xa=e.sdS(178),Ia=e.sdS(191);e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(11),e.Y8G("html",vo.template),e.R7$(28),e.Y8G("html",Po.template),e.R7$(16),e.Y8G("html",Hn.template),e.R7$(17),e.Y8G("html",ls.template),e.R7$(7),e.Y8G("html",Ms.template),e.R7$(38),e.Y8G("html",Os.template),e.R7$(14),e.Y8G("html",ga.template),e.R7$(10),e.Y8G("html",Bs.template),e.R7$(32),e.Y8G("html",xa.template),e.R7$(13),e.Y8G("html",Ia.template),e.R7$(18),e.Y8G("properties",Ge.properties)}},dependencies:[at.h,n.s,Wt.N,Dn.Y,to._,co.B,Oo.G,ot.Wk,ln.t,Gn.I,go.q,Vo.z,yi.G,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})();var er=l(11235),dr=l(39490),Lr=l(2923),Vr=l(3418),Fr=l(47333);let wr=(()=>{class Ve{constructor(){this.moduleProviderExample="\nimport { LOCALE_ID, NgModule } from '@angular/core';\n\n@NgModule({\n ...\n providers: [\n { provide: LOCALE_ID, useValue: 'da' },\n ],\n ...\n})\nexport class AppModule {}\n",this.disableWeekends=!1,this.alwaysEnableToday=!1,this.disablePastDates=!1,this.disableFutureDates=!1,this.setMinDate=!1,this.setMaxDate=!1,this.setTodayDate=!1,this.setDisabledDates=!1,this.setEnabledDates=!1,this.useTimezoneUTC=!1,this.showYearNavigator=!1,this.properties=[{name:"selectedDate",description:"(Optional) Returns/sets the selected date. Any currently selected date can be deselected by passing null",defaultValue:"undefined",type:["Date","null"]},{name:"disableWeekends",description:"(Optional) Disables selection of weekends.",defaultValue:"false",type:["true | false"]},{name:"alwaysEnableToday",description:"(Optional) Allows selection of current date regardless of whether it is disabled (e.g. disableWeekends=true, disabledDates=[...]).",defaultValue:"false",type:["true | false"]},{name:"disablePastDates",description:"(Optional) Disables selection of dates earlier then the current date.",defaultValue:"false",type:["true | false"]},{name:"disableFutureDates",description:"(Optional) Disables selection of dates later than the current date.",defaultValue:"false",type:["true | false"]},{name:"todayDate",description:"(Optional) The date to be marked as today. If omitted, will use current date in browser timezone.",defaultValue:"null",type:["Date"]},{name:"minDate",description:"(Optional) The earliest date that should be selectable.",defaultValue:"null",type:["Date"]},{name:"maxDate",description:"(Optional) The latest date that should be selectable.",defaultValue:"null",type:["Date"]},{name:"disabledDates",description:"(Optional) Array of dates that should not be selectable. Should not be used together with enabledDates.",defaultValue:"null",type:["Date[]"]},{name:"enabledDates",description:"(Optional) Array of dates that should be selectable. Should not be used together with disabledDates.",defaultValue:"null",type:["Date[]"]},{name:"timezone",description:"(Optional) Specify timezone for aligning Date objects. Emitted Date objects will be constructed to point to midnight in the given timezone. Input Date objects may be in either of the two timezones but we highly recommend aligning them with midnight.",defaultValue:'"local"',type:['"local" | "UTC"']},{name:"yearNavigatorOptions",description:"(Optional) Displays a dropdown to navigate between years and specifies the navigable year interval with either numbers or dates. Navigable years are set by getting the year difference between `from` and `to`, but prioritize `minDate` and `maxDate`: if `minDate` and `maxDate` are set, they override `from` and `to`.",defaultValue:"null",type:["{ from: number | Date; to: number | Date }"]},{name:"locales",description:"(Optional) Danish and English locales are built in, but if additional existing locales are needed (fx. Spanish), they can be specified here.",defaultValue:"{}",type:["{ [key: string]: Locale }"]},{name:"customLocales",description:"(Optional) Danish and English locales are built in, but if custom locales are needed, they can be specified here.",defaultValue:"{}",type:["{ [key: string]: Locale }"]}],this.events=[{name:"dateSelect",description:"Emitted when a date is clicked.",signature:"EventEmitter"},{name:"dateChange",description:"Emitted when selectedDate changes value.",signature:"EventEmitter"},{name:"yearSelect",description:"Emitted when yearNavigator changes value.",signature:"EventEmitter"},{name:"previousMonthClicked",description:"Emitted when clicking the button to navigate to the previous month.",signature:"EventEmitter"},{name:"nextMonthClicked",description:"Emitted when clicking the button to navigate to the next month.",signature:"EventEmitter"}];const Lt=new Date;this.minDate=new Date,this.minDate.setDate(Lt.getDate()-60),this.maxDate=new Date,this.maxDate.setDate(Lt.getDate()+60),this.todayDate=new Date,this.todayDate.setDate(Lt.getDate()+3)}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-calendar-showcase"]],decls:152,vars:45,consts:[["calendarCardExample",""],["yearNavigatorExample",""],["noBackgroundExample",""],[1,"custom-example"],[3,"html","ts"],[1,"example-frame"],[1,"calendar-example",3,"disableWeekends","disablePastDates","disableFutureDates","setDisabledDates","setEnabledDates","setMinDate","setMaxDate","setTodayDate","useTimezoneUTC","showYearNavigator"],["configAppearance","toggle"],["size","xs","text","Disable weekends",3,"checkedChange","checked"],["size","xs","text","Always enable current date",3,"checkedChange","checked"],["size","xs","text","Disable past dates",3,"checkedChange","checked"],["size","xs","text","Disable future dates",3,"checkedChange","checked"],["size","xs","text","Set disabled dates",3,"checkedChange","checked"],["size","xs","text","Set enabled dates",3,"checkedChange","checked"],["size","xs",3,"checkedChange","checked","text"],["size","xs","text","Use UTC instead of local time",3,"checkedChange","checked"],[3,"html"],[3,"ts"],[3,"properties"],[3,"events"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"p"),e.EFF(1," The calendar is a picker interface that displays a date grid with month navigation, for users to select a single date.\n"),e.k0s(),e.j41(2,"h2",3),e.EFF(3,"Calendar in card"),e.k0s(),e.j41(4,"p"),e.EFF(5,"The calendar should in most use-cases be placed inside a card to stand out from the canvas."),e.k0s(),e.j41(6,"p"),e.EFF(7," By default any date is selectable for the user but various configurations can be applied to restrict what dates users can select. For instance, the calendar can be configured with min and max dates, disable weekends, disable specific dates and more.\n"),e.k0s(),e.j41(8,"p"),e.EFF(9," This example showcases the many different options, and will also allow you to play around with setting the "),e.j41(10,"code"),e.EFF(11,"selectedDate"),e.k0s(),e.EFF(12," programmatically.\n"),e.k0s(),e.j41(13,"cookbook-example-viewer",4)(14,"div",5),e.nrm(15,"cookbook-calendar-card-example",6,0),e.j41(17,"cookbook-example-configuration-wrapper",7)(18,"kirby-checkbox",8),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.disableWeekends,Hn)||(Ge.disableWeekends=Hn),e.Njj(Hn)}),e.k0s(),e.j41(19,"kirby-checkbox",9),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.alwaysEnableToday,Hn)||(Ge.alwaysEnableToday=Hn),e.Njj(Hn)}),e.k0s(),e.j41(20,"kirby-checkbox",10),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.disablePastDates,Hn)||(Ge.disablePastDates=Hn),e.Njj(Hn)}),e.k0s(),e.j41(21,"kirby-checkbox",11),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.disableFutureDates,Hn)||(Ge.disableFutureDates=Hn),e.Njj(Hn)}),e.k0s(),e.j41(22,"kirby-checkbox",12),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.setDisabledDates,Hn)||(Ge.setDisabledDates=Hn),e.Njj(Hn)}),e.k0s(),e.j41(23,"kirby-checkbox",13),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.setEnabledDates,Hn)||(Ge.setEnabledDates=Hn),e.Njj(Hn)}),e.k0s(),e.j41(24,"kirby-checkbox",14),e.nI1(25,"date"),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.setMinDate,Hn)||(Ge.setMinDate=Hn),e.Njj(Hn)}),e.k0s(),e.j41(26,"kirby-checkbox",14),e.nI1(27,"date"),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.setMaxDate,Hn)||(Ge.setMaxDate=Hn),e.Njj(Hn)}),e.k0s(),e.j41(28,"kirby-checkbox",14),e.nI1(29,"date"),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.setTodayDate,Hn)||(Ge.setTodayDate=Hn),e.Njj(Hn)}),e.k0s(),e.j41(30,"kirby-checkbox",15),e.mxI("checkedChange",function(Hn){return e.eBV(vo),e.DH7(Ge.useTimezoneUTC,Hn)||(Ge.useTimezoneUTC=Hn),e.Njj(Hn)}),e.k0s()()()(),e.j41(31,"h2"),e.EFF(32,"Calendar with year navigator"),e.k0s(),e.j41(33,"p"),e.EFF(34," A year-navigator can be shown in the calendars header to provide quick navigation between years.\n"),e.k0s(),e.j41(35,"cookbook-example-viewer",16)(36,"div",5),e.nrm(37,"cookbook-calendar-year-navigator-example",null,1),e.k0s()(),e.j41(39,"h2"),e.EFF(40,"Calendar without background"),e.k0s(),e.j41(41,"p"),e.EFF(42," The calendar comes with minimal styling out of the box and we recommend to place it in a "),e.j41(43,"code"),e.EFF(44,"kirby-card"),e.k0s(),e.EFF(45," .\n"),e.k0s(),e.j41(46,"p"),e.EFF(47," In some rare use-cases it can be necessary to place the calendar on a different background or directly on canvas, in which case the calendar can be used without any surrounding card.\n"),e.k0s(),e.j41(48,"cookbook-example-viewer",16)(49,"div",5),e.nrm(50,"cookbook-calendar-no-background-example",null,2),e.k0s()(),e.j41(52,"h2"),e.EFF(53,"Accessibility"),e.k0s(),e.j41(54,"p"),e.EFF(55," The calendar uses a table to provide an easily navigable grid of dates. Screen-reader users can navigate using standard table navigation commands.\n"),e.k0s(),e.j41(56,"p"),e.EFF(57," When using the calendar on another background than a white "),e.j41(58,"code"),e.EFF(59,"kirby-card"),e.k0s(),e.EFF(60," , additional care should be taken by implementers to ensure proper contrast and readability of the date grid and controls.\n"),e.k0s(),e.j41(61,"h2"),e.EFF(62,"Keyboard support"),e.k0s(),e.j41(63,"p"),e.EFF(64,"The calendar has full keyboard support to make it easier to navigate and select dates."),e.k0s(),e.j41(65,"p"),e.EFF(66,"The following keys can be used to move the currently focussed date:"),e.k0s(),e.j41(67,"ul")(68,"li")(69,"b"),e.EFF(70,"Arrow keys"),e.k0s(),e.j41(71,"ul")(72,"li")(73,"kbd"),e.EFF(74,"\u2190"),e.k0s(),e.EFF(75," and "),e.j41(76,"kbd"),e.EFF(77,"\u2192"),e.k0s(),e.EFF(78," moves focus to previous and next day "),e.k0s(),e.j41(79,"li")(80,"kbd"),e.EFF(81,"\u2191"),e.k0s(),e.EFF(82," and "),e.j41(83,"kbd"),e.EFF(84,"\u2193"),e.k0s(),e.EFF(85," moves focus to same weekday of previous and next week "),e.k0s()()(),e.j41(86,"li")(87,"kbd"),e.EFF(88,"Home"),e.k0s(),e.EFF(89," and "),e.j41(90,"kbd"),e.EFF(91,"End"),e.k0s(),e.EFF(92," moves focus to first day (Monday) and last day (Sunday) of the current week "),e.k0s(),e.j41(93,"li")(94,"kbd"),e.EFF(95,"PageUp"),e.k0s(),e.EFF(96," and "),e.j41(97,"kbd"),e.EFF(98,"PageDown"),e.k0s(),e.EFF(99," moves focus to same day of previous and next month "),e.k0s(),e.j41(100,"li")(101,"kbd"),e.EFF(102,"Shift"),e.k0s(),e.EFF(103," + "),e.j41(104,"kbd"),e.EFF(105,"PageUp"),e.k0s(),e.EFF(106," and "),e.j41(107,"kbd"),e.EFF(108,"Shift"),e.k0s(),e.EFF(109," + "),e.j41(110,"kbd"),e.EFF(111,"PageDown"),e.k0s(),e.EFF(112," moves focus to same day and month of previous and next year "),e.k0s()(),e.j41(113,"p"),e.EFF(114," When focussed, a date can be selected with "),e.j41(115,"kbd"),e.EFF(116,"Enter \u21b5"),e.k0s(),e.EFF(117," and "),e.j41(118,"kbd"),e.EFF(119,"Space"),e.k0s(),e.EFF(120,".\n"),e.k0s(),e.j41(121,"h2"),e.EFF(122,"Specifying locale"),e.k0s(),e.j41(123,"p"),e.EFF(124," The locale of the calendar (i.e. day and month names) can be set by providing a "),e.j41(125,"code"),e.EFF(126,"LOCALE_ID"),e.k0s(),e.EFF(127," . The calendar currently supports LOCALE_IDs "),e.j41(128,"code"),e.EFF(129,"da"),e.k0s(),e.EFF(130," , "),e.j41(131,"code"),e.EFF(132,"en-GB"),e.k0s(),e.EFF(133," and "),e.j41(134,"code"),e.EFF(135,"en-US"),e.k0s(),e.EFF(136," and it defaults to "),e.j41(137,"code"),e.EFF(138,"en-GB"),e.k0s(),e.EFF(139," if none is provided.\n"),e.k0s(),e.j41(140,"p"),e.EFF(141," Usually the locale should be configured for the entire app, typically in "),e.j41(142,"code"),e.EFF(143,"AppModule"),e.k0s(),e.EFF(144," like this:\n"),e.k0s(),e.nrm(145,"cookbook-code-viewer",17),e.j41(146,"h2"),e.EFF(147,"Properties"),e.k0s(),e.nrm(148,"cookbook-api-description-properties",18),e.j41(149,"h2"),e.EFF(150,"Events"),e.k0s(),e.nrm(151,"cookbook-api-description-events",19)}if(2&vt){const vo=e.sdS(16),Po=e.sdS(38),Hn=e.sdS(51);e.R7$(13),e.Y8G("html",vo.template)("ts",vo.codeSnippet),e.R7$(2),e.Y8G("disableWeekends",Ge.disableWeekends)("disablePastDates",Ge.disablePastDates)("disableFutureDates",Ge.disableFutureDates)("setDisabledDates",Ge.setDisabledDates)("setEnabledDates",Ge.setEnabledDates)("setMinDate",Ge.setMinDate)("setMaxDate",Ge.setMaxDate)("setTodayDate",Ge.setTodayDate)("useTimezoneUTC",Ge.useTimezoneUTC)("showYearNavigator",Ge.showYearNavigator),e.R7$(3),e.R50("checked",Ge.disableWeekends),e.R7$(),e.R50("checked",Ge.alwaysEnableToday),e.R7$(),e.R50("checked",Ge.disablePastDates),e.R7$(),e.R50("checked",Ge.disableFutureDates),e.R7$(),e.R50("checked",Ge.setDisabledDates),e.R7$(),e.R50("checked",Ge.setEnabledDates),e.R7$(),e.Mz_("text","Set min date (",e.brH(25,33,Ge.minDate,"dd-MM-yyyy",Ge.useTimezoneUTC?"UTC":void 0),")"),e.R50("checked",Ge.setMinDate),e.R7$(2),e.Mz_("text","Set max date (",e.brH(27,37,Ge.maxDate,"dd-MM-yyyy",Ge.useTimezoneUTC?"UTC":void 0),")"),e.R50("checked",Ge.setMaxDate),e.R7$(2),e.Mz_("text","Set today date (",e.brH(29,41,Ge.todayDate,"dd-MM-yyyy",Ge.useTimezoneUTC?"UTC":void 0),")"),e.R50("checked",Ge.setTodayDate),e.R7$(2),e.R50("checked",Ge.useTimezoneUTC),e.R7$(5),e.Y8G("html",Po.template),e.R7$(13),e.Y8G("html",Hn.template),e.R7$(97),e.Y8G("ts",Ge.moduleProviderExample),e.R7$(3),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("events",Ge.events)}},dependencies:[n.s,dr.u,Lr.V,er.P,Vr.a,Fr.B,_o.B,pt,hn,Xe.vh],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})();var is=l(31270),en=l(26826),po=l(25777),ni=l(64840),Ci=l(1039);let hr=(()=>{class Ve{constructor(){this.exampleHtml="\n\n\n\n\n\n\n\n\n",this.properties=[{name:"title",description:"Sets the larger title in kirby-card-header",defaultValue:"",type:["string"]},{name:"subtitle",description:"Smaller title in kirby-card-header",defaultValue:"",type:["string"]},{name:"backgroundImageUrl",description:"(Optional) Provided a valid URL will set the background image of the card.",defaultValue:"",type:["string"]},{name:"variant",description:'Sets the variant of a card. The recommended is "elevated" which is also the default',defaultValue:"elevated",type:["elevated","flat","outlined"]},{name:"hasPadding",description:"If set, the card will have spacing between the border and the content",defaultValue:"false",type:["boolean"]},{name:"themeColor",description:"Sets which color the card should use from the theme palette.",defaultValue:"",type:["primary","secondary","tertiary","success","warning","danger","light","medium","dark"]}],this.propertiesHeaderAndFooter=[{name:"hasPadding",description:"Sets the inner padding for card header and card footer",defaultValue:"true",type:["boolean"]}],this.customCssPropertiesColumns={name:"Attribute",description:"Description",default:"Default"},this.customCssProperties=[{name:"--kirby-card-background-image",description:"Sets the 'background-image' property of the card."},{name:"--kirby-card-background-repeat",description:"Sets the 'background-repeat' property of the card",defaultValue:"no-repeat"},{name:"--kirby-card-background-position",description:"Sets the 'background-position' property of the card",defaultValue:"center"},{name:"--kirby-card-background-size",description:"Sets the 'background-size' property of the card",defaultValue:"cover"},{name:"--kirby-card-padding-top",description:"Sets the 'padding-top' property of the card",defaultValue:"size('s')"},{name:"--kirby-card-padding-bottom",description:"Sets the 'padding-bottom' property of the card",defaultValue:"size('s')"},{name:"--kirby-card-border",description:"Sets the 'border' property of the card",defaultValue:"none"}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-card-showcase"]],decls:117,vars:12,consts:[["defaultExample",""],["disclosureExample",""],["flagExample",""],["themeColorExample",""],["backgroundImageExample",""],[3,"html"],[3,"html","css"],["target","_blank","href","https://www.npmjs.com/package/include-media"],[3,"hasMargin"],[3,"properties"],[3,"properties","columns"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p"),e.EFF(1," Cards are containers that display content about a single subject. They are also useful for grouping a list of related information.\n"),e.k0s(),e.j41(2,"p"),e.EFF(3," In its definition cards are containers that need to include other components like list/items, images, buttons, avatars etc.\n"),e.k0s(),e.j41(4,"h2"),e.EFF(5,"Variants"),e.k0s(),e.j41(6,"p"),e.EFF(7,"The card comes in three variants:"),e.k0s(),e.j41(8,"ul")(9,"li")(10,"strong"),e.EFF(11,"Elevated (default)"),e.k0s(),e.EFF(12," - The card is slightly elevated from the background with a drop shadow. "),e.k0s(),e.j41(13,"li")(14,"strong"),e.EFF(15,"Flat"),e.k0s(),e.EFF(16," - Has no shadow and appears lower in the visual hierarchy. "),e.k0s(),e.j41(17,"li")(18,"strong"),e.EFF(19,"Outlined"),e.k0s(),e.EFF(20," - Has a border and no background. Appear lowest in the visual hierarchy. "),e.k0s()(),e.j41(21,"cookbook-example-viewer",5),e.nrm(22,"cookbook-card-example-variant",null,0),e.k0s(),e.j41(24,"p"),e.EFF(25,"The card and its variants supports different use cases:"),e.k0s(),e.j41(26,"ul")(27,"li")(28,"strong"),e.EFF(29,"Layout and grouping"),e.k0s(),e.EFF(30," - In this case, use one of the three variants - Elevated, Flat or Outlined. "),e.k0s(),e.j41(31,"li")(32,"strong"),e.EFF(33,"Navigation"),e.k0s(),e.EFF(34," - Use the Elevated (default) variant whenever the entire card is clickable. Consider adding a disclosure indicator to the card. "),e.k0s()(),e.j41(35,"h2"),e.EFF(36,"State & Disclosure"),e.k0s(),e.j41(37,"p"),e.EFF(38," Whenever a card can be interacted with it is a best practice to also add a disclosure indicator, to show that it navigates to a new page, opens a modal or similar.\n"),e.k0s(),e.j41(39,"p"),e.EFF(40," Registering any click event "),e.j41(41,"code"),e.EFF(42,'(click)="function()"'),e.k0s(),e.EFF(43," on the card will activate its state behavior when hovered or pressed.\n"),e.k0s(),e.j41(44,"p"),e.EFF(45," A card with a disclosure indicator is composed of a card-header with a slotted "),e.j41(46,"code"),e.EFF(47,"kirby-item"),e.k0s(),e.EFF(48," , using the "),e.j41(49,"code"),e.EFF(50,"--kirby-card-padding-top"),e.k0s(),e.EFF(51," CSS Custom Property to set the padding top in card content area to "),e.j41(52,"code"),e.EFF(53,"0px"),e.k0s(),e.EFF(54," . The card header input property "),e.j41(55,"code"),e.EFF(56,"hasPadding"),e.k0s(),e.EFF(57," is set to "),e.j41(58,"code"),e.EFF(59,"false"),e.k0s(),e.EFF(60," to adjust to the use of item.\n"),e.k0s(),e.j41(61,"cookbook-example-viewer",6),e.nrm(62,"cookbook-card-example-disclosure",null,1),e.k0s(),e.j41(64,"h2"),e.EFF(65,"Flagged header"),e.k0s(),e.j41(66,"p"),e.EFF(67," A card can show a flag in the header. This is mostly used when a bundle of items in the card can express the same \u201cflag\u201d.\n"),e.k0s(),e.j41(68,"cookbook-example-viewer",5),e.nrm(69,"cookbook-card-example-flag",null,2),e.k0s(),e.j41(71,"h2"),e.EFF(72,"Colors"),e.k0s(),e.j41(73,"p"),e.EFF(74,"Cards can have a colored background to stand out even more."),e.k0s(),e.j41(75,"cookbook-example-viewer",5),e.nrm(76,"cookbook-card-example-color",null,3),e.k0s(),e.j41(78,"h2"),e.EFF(79,"Background image"),e.k0s(),e.j41(80,"p"),e.EFF(81," The recommended approach for setting a background image on the card is with the "),e.j41(82,"code"),e.EFF(83,"--kirby-card-background-image"),e.k0s(),e.EFF(84," CSS Custom Property.\n"),e.k0s(),e.j41(85,"p"),e.EFF(86," Alternatively, it can be set programatically via the "),e.j41(87,"code"),e.EFF(88,"backgroundImageUrl"),e.k0s(),e.EFF(89," input property.\n"),e.k0s(),e.j41(90,"p"),e.EFF(91," In this example, themeColor is explicitly set to dark to tell the card that the image content is dark. This ensures that the hover and pressed state make the card lighter instead of darker.\n"),e.k0s(),e.j41(92,"cookbook-example-viewer",6),e.nrm(93,"cookbook-card-example-background-image",null,4),e.k0s(),e.j41(95,"p")(96,"em"),e.EFF(97,"Note:"),e.k0s(),e.EFF(98," this example uses "),e.j41(99,"a",7),e.EFF(100,"include-media"),e.k0s(),e.EFF(101," for media queries. This is re-exported from the "),e.j41(102,"code"),e.EFF(103,"@kirbydesign/designsystem/scss/utils"),e.k0s(),e.EFF(104," Sass module.\n"),e.k0s(),e.nrm(105,"kirby-divider",8),e.j41(106,"h2"),e.EFF(107,"API Description"),e.k0s(),e.j41(108,"h3"),e.EFF(109,"Card properties:"),e.k0s(),e.nrm(110,"cookbook-api-description-properties",9),e.j41(111,"h3"),e.EFF(112,"Card CSS Custom Properties"),e.k0s(),e.nrm(113,"cookbook-api-description-properties",10),e.j41(114,"h3"),e.EFF(115,"Card header and footer properties:"),e.k0s(),e.nrm(116,"cookbook-api-description-properties",9)),2&vt){const vo=e.sdS(23),Po=e.sdS(63),Hn=e.sdS(70),ls=e.sdS(77),Ms=e.sdS(94);e.R7$(21),e.Y8G("html",vo.template),e.R7$(40),e.Y8G("html",Po.template)("css",Po.style),e.R7$(7),e.Y8G("html",Hn.codeSnippet),e.R7$(7),e.Y8G("html",ls.codeSnippet),e.R7$(17),e.Y8G("html",Ms.template)("css",Ms.style),e.R7$(13),e.Y8G("hasMargin",!0),e.R7$(5),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("properties",Ge.customCssProperties)("columns",Ge.customCssPropertiesColumns),e.R7$(3),e.Y8G("properties",Ge.propertiesHeaderAndFooter)}},dependencies:[n.s,is.n,en.r,po.y,ni.t,Ci.B,at.h,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}h4[_ngcontent-%COMP%]{padding-top:16px}.card-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-gap:16px}@media (min-width: 768px){.card-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}"]})}return Ve})();var Vi=l(12983),qi=l(9868),ts=l(31172),Wi=l(90329),sr=l(91022);const Si=()=>[7,12,5,9,3],rs_template='

{{_text}}

\n',rs_codeSnippet="_text = 'Nothing has been clicked';\n_labels = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'];\n_highlighted: ChartHighlightedElements;\n\n_customOptions: ChartOptions = {\n onClick: (_event: ChartEvent, activeElements: ActiveElement[], _chart: Chart) => {\n const activeElement = activeElements[0];\n if (activeElement) {\n // Highlight clicked element\n this._highlighted = [[activeElement.datasetIndex, activeElement.index]];\n\n // Change text\n const activeElementLabel = this._labels[activeElement.index];\n this._text = `${activeElementLabel} was clicked`;\n } else {\n this._text = 'The background was clicked';\n this._highlighted = [];\n }\n },\n};\n ";let Ir=(()=>{class Ve{constructor(){this.template=rs_template,this.codeSnippet=rs_codeSnippet,this._text="Nothing has been clicked",this._labels=["Monday","Tuesday","Wednesday","Thursday","Friday"],this._customOptions={onClick:(Lt,vt)=>{const Ge=vt[0];Ge?(this._highlighted=[[Ge.datasetIndex,Ge.index]],this._text=`${this._labels[Ge.index]} was clicked`):(this._text="The background was clicked",this._highlighted=[])}}}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-interaction"]],decls:3,vars:6,consts:[["type","column",3,"data","labels","customOptions","highlightedElements"]],template:function(vt,Ge){1&vt&&(e.j41(0,"p"),e.EFF(1),e.k0s(),e.nrm(2,"kirby-chart",0)),2&vt&&(e.R7$(),e.JRh(Ge._text),e.R7$(),e.Y8G("data",e.lJ4(5,Si))("labels",Ge._labels)("customOptions",Ge._customOptions)("highlightedElements",Ge._highlighted))},dependencies:[sr.mM,sr.Qe],encapsulation:2})}return Ve})();var fs=l(3717),Cs=l(33847);const ps=()=>[7,12,5,9,3],vi_template='',vi_codeSnippet="annotations: AnnotationOptions[] = [\n {\n type: 'line',\n yMin: 6.5,\n yMax: 6.5,\n drawTime: 'beforeDatasetsDraw',\n },\n {\n type: 'box',\n xMin: -0.3,\n xMax: 0.3,\n yMin: 6,\n yMax: 9,\n },\n {\n type: 'ellipse',\n xMin: 1.7,\n xMax: 1.8,\n yMin: 5.5,\n yMax: 4.5,\n },\n {\n type: 'line',\n yMin: 14.5,\n yMax: 14.5,\n borderDash: [0, 0],\n },\n];\n";let As=(()=>{class Ve{constructor(){this.template=vi_template,this.codeSnippet=vi_codeSnippet,this.annotations=[{type:"line",yMin:6.5,yMax:6.5,drawTime:"beforeDatasetsDraw"},{type:"box",xMin:-.3,xMax:.3,yMin:6,yMax:9},{type:"ellipse",xMin:1.7,xMax:1.8,yMin:5.5,yMax:4.5},{type:"line",yMin:14.5,yMax:14.5,borderDash:[0,0]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-annotations"]],decls:1,vars:3,consts:[[3,"data","annotations"]],template:function(vt,Ge){1&vt&&e.nrm(0,"kirby-chart",0),2&vt&&e.Y8G("data",e.lJ4(2,ps))("annotations",Ge.annotations)},dependencies:[sr.mM,sr.Qe],encapsulation:2})}return Ve})();var Ps=l(17555);const ys=()=>[739,1200,584,902,30],Es=()=>["Monday","Tuesday","Wednesday","Thursday","Friday"],gs_template="\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
DayNumber of visitors
Monday739
Tuesday1200
Wednesday584
Thursday902
Friday30
\n
";let vs=(()=>{class Ve{constructor(){this.template=gs_template}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-accessibility"]],decls:32,vars:4,consts:[["type","column",3,"data","labels"]],template:function(vt,Ge){1&vt&&(e.j41(0,"kirby-chart",0)(1,"table")(2,"tr")(3,"th"),e.EFF(4,"Day"),e.k0s(),e.j41(5,"th"),e.EFF(6,"Number of visitors"),e.k0s()(),e.j41(7,"tr")(8,"td"),e.EFF(9,"Monday"),e.k0s(),e.j41(10,"td"),e.EFF(11,"739"),e.k0s()(),e.j41(12,"tr")(13,"td"),e.EFF(14,"Tuesday"),e.k0s(),e.j41(15,"td"),e.EFF(16,"1200"),e.k0s()(),e.j41(17,"tr")(18,"td"),e.EFF(19,"Wednesday"),e.k0s(),e.j41(20,"td"),e.EFF(21,"584"),e.k0s()(),e.j41(22,"tr")(23,"td"),e.EFF(24,"Thursday"),e.k0s(),e.j41(25,"td"),e.EFF(26,"902"),e.k0s()(),e.j41(27,"tr")(28,"td"),e.EFF(29,"Friday"),e.k0s(),e.j41(30,"td"),e.EFF(31,"30"),e.k0s()()()()),2&vt&&e.Y8G("data",e.lJ4(2,ys))("labels",e.lJ4(3,Es))},dependencies:[sr.mM,sr.Qe],encapsulation:2})}return Ve})();const ks=[{name:"labels",description:"(Optional) Labels that should be displayed along the main axis for each category. \n\n Multi-line labels can be created by supplying a string[][] as such: ['one line', ['multi', 'line']].",type:["string[]","string[][]"]},{name:"height",description:"(Optional) can be used to set the height of the chart. Will overwrite the value of setting the height using --kirby-chart-height.",type:["string","number"],defaultValue:"300px"},{name:"customOptions",description:"(Optional) Chart.js options that can be used to customize the charts. \n\n See: https://www.chartjs.org/docs/latest/general/options.html",type:["ChartOptions"]},{name:"annotations",description:"(Optional) Chart.js annotations that can be used to add annotations to the chart. \n\n See: https://www.chartjs.org/chartjs-plugin-annotation/",type:["AnnotationOptions[]"]},{name:"highlightedElements",description:"(Optional) can be used to highlight specific data elements in the chart. \n\n Provided as an array of [number, number] tuples where the first value is the datasetIndex and the second is the dataIndex.",type:["[number, number][]"]}],Zr_columns={name:"Name",description:"Description"},Zr_apiDescription=[{name:"--kirby-chart-height",description:"Height of the chart."}];let Wr=(()=>{class Ve{constructor(){this._cardHasPadding=!0,this._apiDescriptionProperties=[{name:"data",description:"The data which the chart should display. Can be supplied as a simple array of numbers or as a chart.js dataset. \n\n See: https://www.chartjs.org/docs/latest/general/data-structures.html ",type:["number[]","ChartDataset[]"]},{name:"type",description:"Controls the type which the chart should be displayed as.",type:['"column"','"bar"','"line"'],defaultValue:"column"},...ks],this._cssCustomPropertiesColumns=Zr_columns,this._cssCustomProperties=Zr_apiDescription}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-showcase"]],decls:298,vars:38,consts:[["simpleColumnExample",""],["columnExample",""],["barExample",""],["lineExample",""],["interactionExample",""],["stackedExample",""],["multipleDatasetsExample",""],["annotationsExample",""],["lineAreaExample",""],["accessibilityExample",""],["routerLink","/home/showcase/chart-stock"],["target","_blank","href","/home/showcase/colors"],["variant","flat",3,"hasPadding"],[3,"html"],[3,"hasMargin"],[3,"html","ts"],["id","custom-options"],["target","_blank","href","https://www.chartjs.org/docs/latest/"],["target","_blank","href","https://www.chartjs.org/docs/latest/general/options.html"],["target","_blank","href","https://www.chartjs.org/docs/latest/configuration/interactions.html"],["id","stacked-bar-and-column-charts"],["id","datasets"],["target","_blank","href","https://www.chartjs.org/docs/next/general/data-structures.html"],["target","_blank","href","https://github.com/kirbydesign/designsystem/issues/1674","target","_blank"],["target","_blank","href","https://www.chartjs.org/chartjs-plugin-annotation/1.0.2/"],["target","_blank","href","https://www.chartjs.org/chartjs-plugin-annotation/1.0.2/guide/types/box.html"],["target","_blank","href","https://www.chartjs.org/chartjs-plugin-annotation/1.0.2/guide/types/ellipse.html"],["target","_blank","href","https://www.chartjs.org/chartjs-plugin-annotation/1.0.2/guide/types/line.html"],["href","https://www.chartjs.org/docs/latest/samples/area/line-datasets.html"],["target","_blank","href","https://www.chartjs.org/docs/master/configuration/responsive.html#configuration-options"],["target","_blank","href","https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img"],["target","_blank","href","https://pauljadam.com/demos/canvas.html"],[3,"properties"],[3,"properties","columns"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p")(1,"em"),e.EFF(2," Looking for the stock chart? It has been moved to a separate "),e.j41(3,"code"),e.EFF(4,"kirby-stock-chart"),e.k0s(),e.EFF(5," element! "),e.nrm(6,"br"),e.EFF(7," See: "),e.j41(8,"a",10),e.EFF(9,"the stock chart showcase"),e.k0s(),e.EFF(10," . "),e.k0s()(),e.j41(11,"p"),e.EFF(12," The "),e.j41(13,"code"),e.EFF(14,"kirby-chart"),e.k0s(),e.EFF(15," component is used to show data in various chart types. To show the default column chart all that is needed is a "),e.j41(16,"code"),e.EFF(17,"number[]"),e.k0s(),e.EFF(18," which will produce a simple chart using colors from the "),e.j41(19,"a",11),e.EFF(20,"Kirby color palette"),e.k0s(),e.EFF(21," as can be seen below.\n"),e.k0s(),e.j41(22,"p"),e.EFF(23," It is possible to customize the "),e.j41(24,"code"),e.EFF(25,"kirby-chart"),e.k0s(),e.EFF(26," component with different chart types, labels, interactions, more complex datasets & custom options.\n"),e.k0s(),e.j41(27,"p")(28,"kirby-card",12)(29,"cookbook-example-viewer",13),e.nrm(30,"cookbook-chart-example-simple-column",null,0),e.k0s()()(),e.nrm(32,"kirby-divider",14),e.j41(33,"h2"),e.EFF(34,"Types of Charts"),e.k0s(),e.j41(35,"p"),e.EFF(36," The type of a "),e.j41(37,"code"),e.EFF(38,"kirby-chart"),e.k0s(),e.EFF(39," is set through the "),e.j41(40,"code"),e.EFF(41,"type"),e.k0s(),e.EFF(42," input property.\n"),e.k0s(),e.j41(43,"h3"),e.EFF(44,"Column Chart"),e.k0s(),e.j41(45,"p"),e.EFF(46,"The column chart visualizes data from different categories as rectangles."),e.k0s(),e.j41(47,"p"),e.EFF(48," To render a column chart set "),e.j41(49,"code"),e.EFF(50,"type"),e.k0s(),e.EFF(51," to "),e.j41(52,"code"),e.EFF(53,'"column"'),e.k0s(),e.EFF(54," .\n"),e.k0s(),e.j41(55,"p")(56,"kirby-card",12)(57,"cookbook-example-viewer",15),e.nrm(58,"cookbook-chart-example-column",null,1),e.k0s()()(),e.j41(60,"h3"),e.EFF(61,"Bar Chart"),e.k0s(),e.j41(62,"p"),e.EFF(63,"The bar chart visualizes data from different categories as rectangles along the x-axis."),e.k0s(),e.j41(64,"p"),e.EFF(65," To render a bar chart set "),e.j41(66,"code"),e.EFF(67,"type"),e.k0s(),e.EFF(68," to "),e.j41(69,"code"),e.EFF(70,"'bar'"),e.k0s(),e.EFF(71," .\n"),e.k0s(),e.j41(72,"p")(73,"kirby-card",12)(74,"cookbook-example-viewer",13),e.nrm(75,"cookbook-chart-example-bar",null,2),e.k0s()()(),e.j41(77,"h3"),e.EFF(78,"Line Chart"),e.k0s(),e.j41(79,"p"),e.EFF(80,"The line chart visualizes data from different categories as a line along the x-axis."),e.k0s(),e.j41(81,"p"),e.EFF(82," To render a line chart set "),e.j41(83,"code"),e.EFF(84,"type"),e.k0s(),e.EFF(85," to "),e.j41(86,"code"),e.EFF(87,"'line'"),e.k0s(),e.EFF(88," .\n"),e.k0s(),e.j41(89,"p")(90,"kirby-card",12)(91,"cookbook-example-viewer",13),e.nrm(92,"cookbook-chart-example-line",null,3),e.k0s()()(),e.nrm(94,"kirby-divider",14),e.j41(95,"h2",16),e.EFF(96,"Custom Options"),e.k0s(),e.j41(97,"p"),e.EFF(98," The "),e.j41(99,"code"),e.EFF(100,"kirby-chart"),e.k0s(),e.EFF(101," component is based on "),e.j41(102,"a",17),e.EFF(103,"chart.js"),e.k0s(),e.EFF(104," . Under the hood all Kirby chart types are a set of pre-configured options for chart.js that has been Kirbyfied.\n"),e.k0s(),e.j41(105,"p"),e.EFF(106," These options can be overwritten via the "),e.j41(107,"code"),e.EFF(108,"customOptions"),e.k0s(),e.EFF(109," input property. Among other things, this can be useful for implementing interactions with your charts and creating stacked bar charts.\n"),e.k0s(),e.j41(110,"p"),e.EFF(111," While customization can be nice and opens for the possibility of more varied charts; it also allow you to create charts that are not very kirby-esque, for example by changing the colors to something outside of the "),e.j41(112,"a",11),e.EFF(113,"Kirby color palette"),e.k0s(),e.EFF(114," .\n"),e.k0s(),e.j41(115,"p"),e.EFF(116," Therefore if there is a customization you seem to be making again and again do not hesitate to create an issue in our Github repo to get a standard implementation of your chart.\n"),e.k0s(),e.j41(117,"p"),e.EFF(118," For documentation on the options object see the "),e.j41(119,"a",18),e.EFF(120," chart.js options documentation "),e.k0s(),e.EFF(121," .\n"),e.k0s(),e.j41(122,"h3"),e.EFF(123,"Interacting with charts"),e.k0s(),e.j41(124,"p"),e.EFF(125," It is possible to implement various interactions using custom options. The following example implements a simple click event listener; for a more detailed explanation of possible interactions see "),e.j41(126,"a",19),e.EFF(127," the chart.js interactions documentation "),e.k0s(),e.EFF(128," .\n"),e.k0s(),e.j41(129,"p")(130,"kirby-card",12)(131,"cookbook-example-viewer",15),e.nrm(132,"cookbook-chart-example-interaction",null,4),e.k0s()()(),e.j41(134,"h3",20),e.EFF(135,"Stacked Bar & column charts"),e.k0s(),e.j41(136,"p"),e.EFF(137,"Stacked charts can be created using a combination of custom options and datasets."),e.k0s(),e.j41(138,"p")(139,"kirby-card",12)(140,"cookbook-example-viewer",15),e.nrm(141,"cookbook-chart-example-column-stacked",null,5),e.k0s()()(),e.j41(143,"h3"),e.EFF(144,"Option resolving"),e.k0s(),e.j41(145,"p"),e.EFF(146," Besides custom options it is also possible to provide options for each dataset as can be seen in the above "),e.j41(147,"i"),e.EFF(148,"stacked bar & column charts"),e.k0s(),e.EFF(149," example where it is used to change the background- & hover background color for one of the datsets.\n"),e.k0s(),e.j41(150,"p"),e.EFF(151,"Options are resolved such that:"),e.k0s(),e.j41(152,"ul")(153,"li"),e.EFF(154,"Defaults are overwritten by custom options."),e.k0s(),e.j41(155,"li"),e.EFF(156,"Custom options are overwritten by dataset options."),e.k0s()(),e.nrm(157,"kirby-divider",14),e.j41(158,"h2")(159,"a",21),e.EFF(160,"Datasets"),e.k0s()(),e.j41(161,"p"),e.EFF(162," It is possible to provide data as an array of "),e.j41(163,"a",22),e.EFF(164," chart.js datasets "),e.k0s(),e.EFF(165," . This allows for example to have several bars for each category in a column chart and mixing different types of charts. Also each dataset can be customized with custom options.\n"),e.k0s(),e.j41(166,"p"),e.EFF(167," The following is an example of using 3 seperate datasets in a single chart where one of them is used to draw a line:\n"),e.k0s(),e.j41(168,"p")(169,"kirby-card",12)(170,"cookbook-example-viewer",15),e.nrm(171,"cookbook-chart-example-multiple-datasets",null,6),e.k0s()()(),e.nrm(173,"kirby-divider",14),e.j41(174,"h2"),e.EFF(175,"Annotations"),e.k0s(),e.j41(176,"p")(177,"strong"),e.EFF(178,"Note:"),e.k0s(),e.EFF(179," It is currently not possible to use annotations with type "),e.j41(180,"code"),e.EFF(181,"point"),e.k0s(),e.EFF(182," as these are not rendered. For progress see issue "),e.j41(183,"a",23),e.EFF(184," #1674 "),e.k0s(),e.nrm(185,"br"),e.k0s(),e.j41(186,"p"),e.EFF(187," Lines, boxes, ellipses can be drawn to annotate the charts using the "),e.j41(188,"code"),e.EFF(189,"annotations"),e.k0s(),e.EFF(190," input property. Annotations are drawn using the "),e.j41(191,"a",24),e.EFF(192," chartjs-plugin-annotation "),e.k0s(),e.EFF(193," plugin for Chart.js\n"),e.k0s(),e.j41(194,"p"),e.EFF(195," The Chart component has some defaults for the different chart types - these can however be overwritten on a per annotation basis.\n"),e.k0s(),e.j41(196,"p"),e.EFF(197,"More documentation of the individual annotation types can be found here:"),e.k0s(),e.j41(198,"ul")(199,"li")(200,"a",25),e.EFF(201," Box annotation documentation "),e.k0s()(),e.j41(202,"li")(203,"a",26),e.EFF(204," Ellipse annotation documentation "),e.k0s()(),e.j41(205,"li")(206,"a",27),e.EFF(207," Line annotation documentation "),e.k0s()()(),e.j41(208,"p"),e.EFF(209," The following example shows a chart annotated with a line that has a different draw time than the default, box, ellipse and a line that has been customized to not be dashed.\n"),e.k0s(),e.j41(210,"p")(211,"kirby-card",12)(212,"cookbook-example-viewer",15),e.nrm(213,"cookbook-chart-example-annotations",null,7),e.k0s()()(),e.nrm(215,"kirby-divider",14),e.j41(216,"h2"),e.EFF(217,"Line Chart with fill"),e.k0s(),e.j41(218,"p"),e.EFF(219,"The fill allows for better visual explanation by allowing for different colors between lines."),e.k0s(),e.j41(220,"p"),e.EFF(221," To render the fill set the "),e.j41(222,"code"),e.EFF(223,"fill"),e.k0s(),e.EFF(224," inside your dataset.\n"),e.k0s(),e.j41(225,"p"),e.EFF(226," More information can be found here: "),e.j41(227,"a",28),e.EFF(228,"Area charts"),e.k0s()(),e.j41(229,"p")(230,"kirby-card",12)(231,"cookbook-example-viewer",15),e.nrm(232,"cookbook-chart-example-area-line",null,8),e.k0s()()(),e.nrm(234,"kirby-divider",14),e.j41(235,"h2"),e.EFF(236,"Responsiveness"),e.k0s(),e.j41(237,"p"),e.EFF(238," The chart component takes 100% width of whatever container it is placed in. The height has to be set manually either via the "),e.j41(239,"code"),e.EFF(240,"height"),e.k0s(),e.EFF(241," input property or the "),e.j41(242,"code"),e.EFF(243,"--kirby-chart-height"),e.k0s(),e.EFF(244," custom css property.\n"),e.k0s(),e.j41(245,"h3"),e.EFF(246,"Resize delay"),e.k0s(),e.j41(247,"p"),e.EFF(248," The chart will be redrawn whenever the size of its container changes. This will happen with a delay of 10 milliseconds to debounce the drawing and make resizing smoother.\n"),e.k0s(),e.j41(249,"p"),e.EFF(250," It is possible to change this delay through the "),e.j41(251,"code"),e.EFF(252,"customOptions"),e.k0s(),e.EFF(253," input property by setting "),e.j41(254,"a",29)(255,"code"),e.EFF(256,"resizeDelay"),e.k0s()(),e.EFF(257," to a delay in milliseconds.\n"),e.k0s(),e.j41(258,"h3"),e.EFF(259,"Aspect Ratio"),e.k0s(),e.EFF(260,"\nThe aspect ratio of the chart is not preserved whenever it is resized. This can be changed using\n"),e.j41(261,"code"),e.EFF(262,"customOptions"),e.k0s(),e.EFF(263,"\nby setting\n"),e.j41(264,"a",29)(265,"code"),e.EFF(266,"maintainAspectRatio"),e.k0s()(),e.EFF(267,"\nto\n"),e.j41(268,"code"),e.EFF(269,"false"),e.k0s(),e.EFF(270,"\n. "),e.nrm(271,"kirby-divider",14),e.j41(272,"h2"),e.EFF(273,"Accessibility"),e.k0s(),e.j41(274,"p"),e.EFF(275," The charts are unfortunately not accessible out-of-the-box. This is because the charts are drawn using a canvas element which renders it as a rasterized image; meaning there is no structured content that can be read aloud by a screen reader. This makes it act much like an "),e.j41(276,"a",30),e.EFF(277," image element "),e.k0s(),e.EFF(278," .\n"),e.k0s(),e.j41(279,"p"),e.EFF(280," As a fallback for screen readers structured content can be slotted that a screen reader will read aloud; see the below example.\n"),e.k0s(),e.j41(281,"p"),e.EFF(282," For more on accessibility when working with the canvas element have a look at "),e.j41(283,"a",31),e.EFF(284," this great article from Paul J. Adam "),e.k0s(),e.EFF(285," .\n"),e.k0s(),e.j41(286,"p")(287,"kirby-card",12)(288,"cookbook-example-viewer",15),e.nrm(289,"cookbook-chart-example-accessibility",null,9),e.k0s()()(),e.nrm(291,"kirby-divider",14),e.j41(292,"h2"),e.EFF(293,"API Description"),e.k0s(),e.nrm(294,"cookbook-api-description-properties",32),e.j41(295,"h2"),e.EFF(296,"CSS Custom Properties"),e.k0s(),e.nrm(297,"cookbook-api-description-properties",33)),2&vt){const vo=e.sdS(31),Po=e.sdS(59),Hn=e.sdS(76),ls=e.sdS(93),Ms=e.sdS(133),Os=e.sdS(142),ga=e.sdS(172),Bs=e.sdS(214),xa=e.sdS(233),Ia=e.sdS(290);e.R7$(28),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",vo.template),e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(24),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",Po.template)("ts",Po.codeSnippet),e.R7$(16),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",Hn.template),e.R7$(16),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",ls.template),e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(36),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",Ms.template)("ts",Ms.codeSnippet),e.R7$(8),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",Os.template)("ts",Os.codeSnippet),e.R7$(17),e.Y8G("hasMargin",!0),e.R7$(12),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",ga.template)("ts",ga.codeSnippet),e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(38),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",Bs.template)("ts",Bs.codeSnippet),e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(15),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",xa.template)("ts",xa.codeSnippet),e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(37),e.Y8G("hasMargin",!0),e.R7$(16),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",Ia.template)("ts",Ia.codeSnippet),e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(3),e.Y8G("properties",Ge._apiDescriptionProperties),e.R7$(3),e.Y8G("properties",Ge._cssCustomProperties)("columns",Ge._cssCustomPropertiesColumns)}},dependencies:[ot.Wk,Ft.Dw,Ft.ib,n.s,Vi.e,at.h,qi.U,ts.h,Wi.G,Ir,fs.J,Cs.P,As,Ps.X,vs,pt],encapsulation:2})}return Ve})();var ws=l(73414),Or=l(44247),Rt=l(47640),Ht=l(21078),Dt=l(82740),un=l(32881),Jn=l(76949),so=l(84341),To=l(88075);const qo={selector:"cookbook-checkbox-reactive-forms-example",template:'
\n \n \n \n \n\n\n \n \n \n\n\n',codeSnippet:"form: FormGroup = this.formBuilder.group({\n Bacon: new FormControl(false),\n Salami: new FormControl(false),\n Tenderloin: new FormControl(false),\n});\n\ntoggleCanSelectFavorite() {\n this.canSelectFavorite = !this.canSelectFavorite;\n\n const currentStatus = this.form.controls['Bacon'].disabled;\n\n if (currentStatus) {\n this.form.controls['Bacon'].enable();\n } else {\n this.form.controls['Bacon'].disable();\n }\n}\n"};let hi=(()=>{class Ve{constructor(Lt){this.formBuilder=Lt,this.template=qo.template.split("")[0],this.codeSnippet=qo.codeSnippet,this.form=this.formBuilder.group({Bacon:new so.MJ(!1),Salami:new so.MJ(!1),Tenderloin:new so.MJ(!1)}),this.canSelectFavorite=!0}toggleCanSelectFavorite(){this.canSelectFavorite=!this.canSelectFavorite,this.form.controls.Bacon.disabled?(this.form.controls.Bacon.enable(),this.form.controls.Salami.enable(),this.form.controls.Tenderloin.enable()):(this.form.controls.Bacon.disable(),this.form.controls.Salami.disable(),this.form.controls.Tenderloin.disable())}static#e=this.\u0275fac=function(vt){return new(vt||Ve)(e.rXU(so.ok))};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-checkbox-reactive-forms-example"]],decls:7,vars:5,consts:[[3,"formGroup"],["formControlName","Bacon","text","Bacon",3,"disabled"],["formControlName","Salami","text","Salami",3,"disabled"],["formControlName","Tenderloin","text","Tenderloin",3,"disabled"],["text","Form field enabled",3,"checkedChange"],[3,"form"]],template:function(vt,Ge){1&vt&&(e.j41(0,"form",0),e.nrm(1,"kirby-checkbox",1)(2,"kirby-checkbox",2)(3,"kirby-checkbox",3),e.k0s(),e.j41(4,"cookbook-example-configuration-wrapper")(5,"kirby-checkbox",4),e.bIt("checkedChange",function(){return Ge.toggleCanSelectFavorite()}),e.k0s(),e.nrm(6,"cookbook-reactive-form-state",5),e.k0s()),2&vt&&(e.Y8G("formGroup",Ge.form),e.R7$(),e.Y8G("disabled",!Ge.canSelectFavorite),e.R7$(),e.Y8G("disabled",!Ge.canSelectFavorite),e.R7$(),e.Y8G("disabled",!Ge.canSelectFavorite),e.R7$(3),e.Y8G("form",Ge.form))},dependencies:[so.YN,so.qT,so.BC,so.cb,so.X1,so.j4,so.JD,er.P,Lr.V,To.m],styles:['strong[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]{display:flex}cookbook-reactive-form-state[_ngcontent-%COMP%]{margin-left:utils.size("xxs");@include utils.media(">=medium"){margin-left: utils.size("xl");}}']})}return Ve})(),si=(()=>{class Ve{constructor(){this.properties=[{name:"attentionLevel",description:"Specifies a look.\nUse attentionLevel 1 for confirm scenarios.\nUse the default attentionLevel 2 for checkbox lists.",defaultValue:"2",type:["1","2"]},{name:"checked",description:"If `true`, the checkbox is selected",defaultValue:"false",type:["boolean"]},{name:"disabled",description:"Disables the checkbox",defaultValue:"false",type:["boolean"]},{name:"hasError",description:"Indicates whether the checkbox is in an error state",defaultValue:"false",type:["boolean"]},{name:"size",description:"Sets the size of the clickable/tapable area",defaultValue:"md",type:["xs","sm","md"]},{name:"text",description:"Adds a label text",type:["string"]}],this.events=[{name:"checkedChange",description:"Emitted when the checkbox checked has changed",signature:"Promise"}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-checkbox-showcase"]],decls:97,vars:14,consts:[["checkboxConfirmExample",""],["checkboxDefaultExample",""],["checkboxListExample",""],["checkboxStatesExample",""],["checkboxSizesExample",""],["checkboxMultilineExample",""],["checkboxEventsExample",""],["reactiveFormExample",""],[3,"html"],["routerLink","/home/showcase/item"],[3,"html","ts"],["href","https://angular.io/guide/forms","target","_blank"],["href","https://angular.io/guide/reactive-forms","target","_blank"],["language","html",3,"inlineLabel"],[3,"properties"],[3,"events"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p"),e.EFF(1," A Checkbox is a control that permits the user to select options. This can be a binary choice, i.e. a choice between one of two possible mutually exclusive options. For example, the user may have to answer 'yes' (checked) or 'no' (not checked) on a simple yes/no question. Multiple check boxes in a group may be used to either select multipe items.\n"),e.k0s(),e.j41(2,"h2"),e.EFF(3,"Types"),e.k0s(),e.j41(4,"p"),e.EFF(5,"There are two types of Checkboxes:"),e.k0s(),e.j41(6,"ol")(7,"li"),e.EFF(8,"Attention Level 1: Use as a binary choice for a standalone check box"),e.k0s(),e.j41(9,"li"),e.EFF(10,"Attention Level 2: Use in a list of check boxes, where multiple choices can be selected"),e.k0s()(),e.j41(11,"h3"),e.EFF(12,"Attention Level 1"),e.k0s(),e.j41(13,"cookbook-example-viewer",8),e.nrm(14,"cookbook-checkbox-confirm-example",null,0),e.k0s(),e.j41(16,"h3"),e.EFF(17,"Attention Level 2"),e.k0s(),e.j41(18,"cookbook-example-viewer",8),e.nrm(19,"cookbook-checkbox-default-example",null,1),e.k0s(),e.j41(21,"h2"),e.EFF(22,"Used in a list"),e.k0s(),e.j41(23,"p"),e.EFF(24," For more on using checkbox in an item, see "),e.j41(25,"a",9),e.EFF(26,"item documentation"),e.k0s()(),e.j41(27,"cookbook-example-viewer",10),e.nrm(28,"cookbook-checkbox-list-example",null,2),e.k0s(),e.j41(30,"h2"),e.EFF(31,"States"),e.k0s(),e.j41(32,"cookbook-example-viewer",8),e.nrm(33,"cookbook-checkbox-states-example",null,3),e.k0s(),e.j41(35,"h2"),e.EFF(36,"Sizes"),e.k0s(),e.j41(37,"p"),e.EFF(38," The small and medium sizes apply to the clickable/tapable area (highlighted in the examples below) while the checkbox itself remains the same size.\n"),e.k0s(),e.j41(39,"p"),e.EFF(40," The extra small size applies to both click-area and checkbox, but should be used with caution.\n"),e.k0s(),e.j41(41,"p"),e.EFF(42," The extra small size is mainly intended for use in expert systems or information dense interfaces where the reduced size is a necessity but note that it comes at the cost of degraded accessibility.\n"),e.k0s(),e.j41(43,"cookbook-example-viewer",8),e.nrm(44,"cookbook-checkbox-sizes-example",null,4),e.k0s(),e.j41(46,"h2"),e.EFF(47,"Multiline Label"),e.k0s(),e.j41(48,"p"),e.EFF(49," Line breaks can be made by using "),e.j41(50,"code"),e.EFF(51,"\\n"),e.k0s(),e.EFF(52," or "),e.j41(53,"code"),e.EFF(54," "),e.k0s(),e.EFF(55," .\n"),e.k0s(),e.j41(56,"cookbook-example-viewer",8),e.nrm(57,"cookbook-checkbox-multiline-example",null,5),e.k0s(),e.j41(59,"h2"),e.EFF(60,"Checked Change Event"),e.k0s(),e.j41(61,"cookbook-example-viewer",10),e.nrm(62,"cookbook-checkbox-events-example",null,6),e.k0s(),e.j41(64,"h2"),e.EFF(65,"Angular Forms"),e.k0s(),e.j41(66,"p"),e.EFF(67," The checkbox can be used directly in "),e.j41(68,"a",11),e.EFF(69,"template driven"),e.k0s(),e.EFF(70," and "),e.j41(71,"a",12),e.EFF(72,"reactive forms"),e.k0s(),e.EFF(73," . To use checkbox in a reactive form, bind your form control to "),e.j41(74,"code"),e.EFF(75,""),e.k0s(),e.EFF(76," with simple data binding:\n"),e.k0s(),e.j41(77,"cookbook-code-viewer",13),e.EFF(78,'\n// or simply:\n\n'),e.k0s(),e.j41(79,"cookbook-example-viewer",10),e.nrm(80,"cookbook-checkbox-reactive-forms-example",null,7),e.k0s(),e.j41(82,"h2"),e.EFF(83,"Accessibility"),e.k0s(),e.j41(84,"p"),e.EFF(85," Always provide a label for the checkbox to inform screen reader users what the checkbox is controlling.\n"),e.k0s(),e.j41(86,"p"),e.EFF(87," When using the checkbox without a visible label, set the "),e.j41(88,"code"),e.EFF(89,"aria-label"),e.k0s(),e.EFF(90," property instead.\n"),e.k0s(),e.j41(91,"h2"),e.EFF(92,"Properties"),e.k0s(),e.nrm(93,"cookbook-api-description-properties",14),e.j41(94,"h2"),e.EFF(95,"Events"),e.k0s(),e.nrm(96,"cookbook-api-description-events",15)),2&vt){const vo=e.sdS(15),Po=e.sdS(20),Hn=e.sdS(29),ls=e.sdS(34),Ms=e.sdS(45),Os=e.sdS(58),ga=e.sdS(63),Bs=e.sdS(81);e.R7$(13),e.Y8G("html",vo.template),e.R7$(5),e.Y8G("html",Po.template),e.R7$(9),e.Y8G("html",Hn.template)("ts",Hn.codeSnippet),e.R7$(5),e.Y8G("html",ls.template),e.R7$(11),e.Y8G("html",Ms.template),e.R7$(13),e.Y8G("html",Os.template),e.R7$(5),e.Y8G("html",ga.template)("ts",ga.codeSnippet),e.R7$(16),e.Y8G("inlineLabel",!0),e.R7$(2),e.Y8G("html",Bs.template)("ts",Bs.codeSnippet),e.R7$(14),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("events",Ge.events)}},dependencies:[n.s,ws.n,Or.A,ot.Wk,Rt.j,Ht.d,Dt.D,un.U,Jn.Y,_o.B,hi,pt,hn],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}h3[_ngcontent-%COMP%]{margin-top:32px;border-bottom:none}"]})}return Ve})();var Ao=l(10467),eo=l(44354);const fi=Ve=>({$implicit:Ve});function ti(Ve,kr){1&Ve&&e.eu8(0)}function Ti(Ve,kr){1&Ve&&e.eu8(0)}function $i(Ve,kr){1&Ve&&e.eu8(0)}function P(Ve,kr){1&Ve&&e.eu8(0)}function re(Ve,kr){if(1&Ve&&(e.j41(0,"li")(1,"div")(2,"h3",10),e.EFF(3),e.k0s(),e.j41(4,"dl",11)(5,"dt"),e.EFF(6,"Value"),e.k0s(),e.j41(7,"dd"),e.EFF(8),e.k0s()()()()),2&Ve){const Lt=kr.$implicit;e.ZvI("text-color-box ",Lt.name,""),e.R7$(3),e.JRh(Lt.name),e.R7$(5),e.JRh(Lt.value)}}function ie(Ve,kr){if(1&Ve){const Lt=e.RV6();e.j41(0,"li",14),e.bIt("click",function(){const Ge=e.eBV(Lt).$implicit,vo=e.XpG(2);return e.Njj(vo.onColorClick(Ge))}),e.j41(1,"h3",10),e.EFF(2),e.k0s(),e.j41(3,"div",15)(4,"div")(5,"h3"),e.EFF(6),e.nI1(7,"slice"),e.k0s()(),e.nrm(8,"div")(9,"div"),e.k0s(),e.j41(10,"dl",11)(11,"dt"),e.EFF(12,"Base"),e.k0s(),e.j41(13,"dd"),e.EFF(14),e.k0s(),e.j41(15,"dt"),e.EFF(16,"Tint"),e.k0s(),e.j41(17,"dd"),e.EFF(18),e.k0s(),e.j41(19,"dt"),e.EFF(20,"Shade"),e.k0s(),e.j41(21,"dd"),e.EFF(22),e.k0s(),e.j41(23,"dt"),e.EFF(24,"Contrast"),e.k0s(),e.j41(25,"dd"),e.EFF(26),e.k0s()()()}if(2&Ve){const Lt=kr.$implicit;e.R7$(2),e.JRh(Lt.name),e.R7$(2),e.ZvI("color-sample ",Lt.name,""),e.R7$(2),e.JRh(e.brH(7,15,Lt.name,0,2)),e.R7$(2),e.ZvI("color-sample ",Lt.tint.name,""),e.R7$(),e.ZvI("color-sample ",Lt.shade.name,""),e.R7$(5),e.JRh(Lt.value),e.R7$(4),e.JRh(Lt.tint.value),e.R7$(4),e.JRh(Lt.shade.value),e.R7$(4),e.JRh(Lt.contrast.value)}}function B(Ve,kr){if(1&Ve&&(e.j41(0,"ul",12),e.DNE(1,ie,27,19,"li",13),e.k0s()),2&Ve){const Lt=kr.$implicit;e.R7$(),e.Y8G("ngForOf",Lt)}}function ne(Ve,kr){if(1&Ve){const Lt=e.RV6();e.qex(0,18),e.j41(1,"dd"),e.EFF(2),e.k0s(),e.j41(3,"dt",19),e.bIt("click",function(Ge){const vo=e.eBV(Lt).$implicit,Po=e.XpG().$implicit,Hn=e.XpG(2);return e.Njj(Hn.onDecorationColorClick(Ge,Po.name,vo.step))}),e.k0s(),e.bVm()}if(2&Ve){const Lt=kr.$implicit,vt=e.XpG().$implicit,Ge=e.XpG(2);e.R7$(2),e.JRh(Lt.step),e.R7$(),e.STu("color-ramp-sample ",vt.name,"-",Lt.step,""),e.FS9("title",Ge.getDecorationColorVariable(vt.name,Lt.step))}}function de(Ve,kr){if(1&Ve&&(e.j41(0,"div",18)(1,"h3",10),e.EFF(2),e.k0s(),e.j41(3,"dl"),e.DNE(4,ne,4,6,"ng-container",17),e.k0s()()),2&Ve){const Lt=kr.$implicit;e.R7$(2),e.JRh(Lt.name),e.R7$(2),e.Y8G("ngForOf",Lt.ramp)}}function Ce(Ve,kr){if(1&Ve&&(e.j41(0,"div",16),e.DNE(1,de,5,2,"div",17),e.k0s()),2&Ve){const Lt=kr.$implicit;e.R7$(),e.Y8G("ngForOf",Lt)}}let Ke=(()=>{class Ve{constructor(){this.selectedColor="primary",this.selectedOnColor="primary-contrast",this.brandColors=eo.A.brandColors,this.notificationColors=eo.A.notificationColors,this.decorationColors=eo.A.decorationColors,this.systemColors=eo.A.systemColors,this.textColors=eo.A.textColors}onColorClick(Lt){this.selectedColor=Lt.name,this.selectedOnColor=Lt.name+"-contrast"}onDecorationColorClick(Lt,vt,Ge){var vo=this;return(0,Ao.A)(function*(){const Po=vo.getDecorationColorVariable(vt,Ge);yield navigator.clipboard.writeText(Po);const Hn=Lt.target;Hn.classList.add("copied"),window.setTimeout(()=>{Hn.classList.remove("copied")},1500)})()}getDecorationColorVariable(Lt,vt){return`var(--kirby-decoration-color-${Lt}-${vt})`}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-colors-showcase"]],decls:38,vars:36,consts:[["colorPalette",""],["decorationColorPalette",""],[1,"color-sample-wrapper"],[1,"h2"],[1,"color-sample-flex"],[1,"color-sample-on-text"],[1,"language-css"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"text-color-palette"],[3,"class",4,"ngFor","ngForOf"],[1,"color-name"],[1,"kirby-text-xsmall","color-values"],[1,"color-palette"],["class","color-box",3,"click",4,"ngFor","ngForOf"],[1,"color-box",3,"click"],[1,"color-samples"],[1,"color-palette-ramps"],["class","color-box",4,"ngFor","ngForOf"],[1,"color-box"],[3,"click","title"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p"),e.EFF(1," Below is the Kirby color palette. You can try out the different color combinations there and see how it can be used in the CSS in the code example box. All the colors are fetched from the "),e.j41(2,"code"),e.EFF(3,"scss/themes/_colors.scss"),e.k0s(),e.EFF(4," file.\n"),e.k0s(),e.j41(5,"div",2)(6,"div",3),e.EFF(7,"Example use (Click on a color below to change it):"),e.k0s(),e.j41(8,"div",4)(9,"div")(10,"div",5),e.EFF(11,"Contrast Text"),e.k0s(),e.j41(12,"div"),e.EFF(13,"Tint"),e.k0s(),e.j41(14,"div"),e.EFF(15,"Shade"),e.k0s()(),e.j41(16,"pre",6),e.EFF(17),e.k0s()()(),e.j41(18,"h2"),e.EFF(19,"Brand colors"),e.k0s(),e.DNE(20,ti,1,0,"ng-container",7),e.j41(21,"h2"),e.EFF(22,"Notification colors"),e.k0s(),e.DNE(23,Ti,1,0,"ng-container",7),e.j41(24,"h2"),e.EFF(25,"Decoration colors (click to copy)"),e.k0s(),e.DNE(26,$i,1,0,"ng-container",7),e.j41(27,"h2"),e.EFF(28,"System colors"),e.k0s(),e.DNE(29,P,1,0,"ng-container",7),e.j41(30,"h2"),e.EFF(31,"Text colors"),e.k0s(),e.j41(32,"ul",8),e.DNE(33,re,9,5,"li",9),e.k0s(),e.DNE(34,B,2,1,"ng-template",null,0,e.C5r)(36,Ce,2,1,"ng-template",null,1,e.C5r)),2&vt){const vo=e.sdS(35),Po=e.sdS(37);e.R7$(9),e.ZvI("color-sample-example color-sample ",Ge.selectedColor,""),e.R7$(3),e.ZvI("color-sample ",Ge.selectedColor,"-tint"),e.R7$(2),e.ZvI("color-sample ",Ge.selectedColor,"-shade"),e.R7$(3),e.xRd(["@use '@kirbydesign/designsystem/scss/utils';\n\n.color-sample-example ","{","\n background-color: utils.get-color('",Ge.selectedColor,"');\n color: utils.get-color('",Ge.selectedOnColor,"');\n","}","\n.color-sample-tint ","{","\n background-color: utils.get-color('",Ge.selectedColor,"-tint');\n","}","\n.color-sample-shade ","{","\n background-color: utils.get-color('",Ge.selectedColor,"-shade');\n","}",""]),e.R7$(3),e.Y8G("ngTemplateOutlet",vo)("ngTemplateOutletContext",e.eq3(28,fi,Ge.brandColors)),e.R7$(3),e.Y8G("ngTemplateOutlet",vo)("ngTemplateOutletContext",e.eq3(30,fi,Ge.notificationColors)),e.R7$(3),e.Y8G("ngTemplateOutlet",Po)("ngTemplateOutletContext",e.eq3(32,fi,Ge.decorationColors)),e.R7$(3),e.Y8G("ngTemplateOutlet",vo)("ngTemplateOutletContext",e.eq3(34,fi,Ge.systemColors)),e.R7$(4),e.Y8G("ngForOf",Ge.textColors)}},dependencies:[Xe.T3,Xe.pM,Xe.P9],styles:['@keyframes _ngcontent-%COMP%_slide-in-out{0%{opacity:0;transform:translateY(-50%)}10%{opacity:1;transform:translateY(-125%)}90%{opacity:1;transform:translateY(-125%)}to{opacity:0;transform:translateY(-200%)}}.color-sample.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}.color-sample.primary-tint[_ngcontent-%COMP%]{background-color:var(--kirby-primary-tint)}.color-sample.primary-shade[_ngcontent-%COMP%]{background-color:var(--kirby-primary-shade)}.color-sample.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}.color-sample.secondary-tint[_ngcontent-%COMP%]{background-color:var(--kirby-secondary-tint)}.color-sample.secondary-shade[_ngcontent-%COMP%]{background-color:var(--kirby-secondary-shade)}.color-sample.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}.color-sample.tertiary-tint[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary-tint)}.color-sample.tertiary-shade[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary-shade)}.color-sample.success[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}.color-sample.success-tint[_ngcontent-%COMP%]{background-color:var(--kirby-success-tint)}.color-sample.success-shade[_ngcontent-%COMP%]{background-color:var(--kirby-success-shade)}.color-sample.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}.color-sample.warning-tint[_ngcontent-%COMP%]{background-color:var(--kirby-warning-tint)}.color-sample.warning-shade[_ngcontent-%COMP%]{background-color:var(--kirby-warning-shade)}.color-sample.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}.color-sample.danger-tint[_ngcontent-%COMP%]{background-color:var(--kirby-danger-tint)}.color-sample.danger-shade[_ngcontent-%COMP%]{background-color:var(--kirby-danger-shade)}.color-sample.background-color[_ngcontent-%COMP%]{background-color:var(--kirby-background-color);color:var(--kirby-background-color-contrast)}.color-sample.background-color-tint[_ngcontent-%COMP%]{background-color:var(--kirby-background-color-tint)}.color-sample.background-color-shade[_ngcontent-%COMP%]{background-color:var(--kirby-background-color-shade)}.color-sample.white[_ngcontent-%COMP%]{background-color:var(--kirby-white);color:var(--kirby-white-contrast)}.color-sample.white-tint[_ngcontent-%COMP%]{background-color:var(--kirby-white-tint)}.color-sample.white-shade[_ngcontent-%COMP%]{background-color:var(--kirby-white-shade)}.color-sample.white-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}.color-sample.white-overlay-tint[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay-tint)}.color-sample.white-overlay-shade[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay-shade)}.color-sample.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}.color-sample.light-tint[_ngcontent-%COMP%]{background-color:var(--kirby-light-tint)}.color-sample.light-shade[_ngcontent-%COMP%]{background-color:var(--kirby-light-shade)}.color-sample.semi-light[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light);color:var(--kirby-semi-light-contrast)}.color-sample.semi-light-tint[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light-tint)}.color-sample.semi-light-shade[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light-shade)}.color-sample.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}.color-sample.medium-tint[_ngcontent-%COMP%]{background-color:var(--kirby-medium-tint)}.color-sample.medium-shade[_ngcontent-%COMP%]{background-color:var(--kirby-medium-shade)}.color-sample.semi-dark[_ngcontent-%COMP%]{background-color:var(--kirby-semi-dark);color:var(--kirby-semi-dark-contrast)}.color-sample.semi-dark-tint[_ngcontent-%COMP%]{background-color:var(--kirby-semi-dark-tint)}.color-sample.semi-dark-shade[_ngcontent-%COMP%]{background-color:var(--kirby-semi-dark-shade)}.color-sample.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}.color-sample.dark-tint[_ngcontent-%COMP%]{background-color:var(--kirby-dark-tint)}.color-sample.dark-shade[_ngcontent-%COMP%]{background-color:var(--kirby-dark-shade)}.color-sample.dark-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}.color-sample.dark-overlay-tint[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay-tint)}.color-sample.dark-overlay-shade[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay-shade)}.color-sample.black[_ngcontent-%COMP%]{background-color:var(--kirby-black);color:var(--kirby-black-contrast)}.color-sample.black-tint[_ngcontent-%COMP%]{background-color:var(--kirby-black-tint)}.color-sample.black-shade[_ngcontent-%COMP%]{background-color:var(--kirby-black-shade)}.color-box[_ngcontent-%COMP%], .text-color-box[_ngcontent-%COMP%]{background-color:var(--kirby-white);border:1px solid var(--kirby-medium)}.text-color-box[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.text-color-box.white[_ngcontent-%COMP%]{background-color:#1c1c1c;color:var(--kirby-text-color-white)}.text-color-box.white[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%]{color:inherit}.text-color-box.white[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:first-of-type, .text-color-box.white[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]:first-of-type{color:inherit}.text-color-box.semi-dark[_ngcontent-%COMP%]{background-color:#fff;color:var(--kirby-text-color-semi-dark)}.text-color-box.semi-dark[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%]{color:inherit}.text-color-box.semi-dark[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:first-of-type, .text-color-box.semi-dark[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]:first-of-type{color:inherit}.text-color-box.black[_ngcontent-%COMP%]{background-color:#fff;color:var(--kirby-text-color-black)}.text-color-box.black[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%]{color:inherit}.text-color-box.black[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:first-of-type, .text-color-box.black[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]:first-of-type{color:inherit}.text-color-box.danger[_ngcontent-%COMP%]{background-color:#fff;color:var(--kirby-text-color-danger)}.text-color-box.danger[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%]{color:inherit}.text-color-box.danger[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:first-of-type, .text-color-box.danger[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]:first-of-type{color:inherit}.text-color-box.positive[_ngcontent-%COMP%]{background-color:#fff;color:var(--kirby-text-color-positive)}.text-color-box.positive[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%]{color:inherit}.text-color-box.positive[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:first-of-type, .text-color-box.positive[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]:first-of-type{color:inherit}.text-color-box.negative[_ngcontent-%COMP%]{background-color:#fff;color:var(--kirby-text-color-negative)}.text-color-box.negative[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%]{color:inherit}.text-color-box.negative[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:first-of-type, .text-color-box.negative[_ngcontent-%COMP%] .color-values[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]:first-of-type{color:inherit}.color-samples[_ngcontent-%COMP%]{position:relative;height:56px;width:56px;max-width:56px;margin-right:40px;margin-bottom:40px;flex:1 0 auto}.color-samples[_ngcontent-%COMP%] .color-sample[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003;height:100%;width:100%;margin-top:auto;border-radius:8px;display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;z-index:3}.color-samples[_ngcontent-%COMP%] .color-sample[_ngcontent-%COMP%]:nth-child(2){top:8px;left:8px;z-index:2}.color-samples[_ngcontent-%COMP%] .color-sample[_ngcontent-%COMP%]:nth-child(3){top:16px;left:16px;z-index:1}.color-sample-flex[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-wrap:wrap}.color-sample-flex[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{min-width:250px;flex-grow:1}.color-sample-example[_ngcontent-%COMP%]{border-radius:16px;margin:.5em 16px .5em 0;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;min-height:140px;min-width:140px}.color-sample-example[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.color-sample-on-text[_ngcontent-%COMP%]{grid-column:1/span 2;background-color:transparent}.color-name[_ngcontent-%COMP%]{margin-bottom:4px;width:100%}.color-values[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;color:var(--kirby-semi-dark);flex:0 0 100px;margin-top:0}.color-values[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:first-of-type, .color-values[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]:first-of-type{color:var(--kirby-black)}.color-palette[_ngcontent-%COMP%], .text-color-palette[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:24px;list-style:none;padding:0;margin:0 0 40px}.color-palette[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .text-color-palette[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;padding:16px;min-height:56px;box-sizing:content-box;cursor:pointer}.color-palette[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover, .text-color-palette[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 2px 4px #0003}.text-color-palette[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:inherit}.text-color-palette[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{transform:inherit;box-shadow:inherit}.color-sample-wrapper[_ngcontent-%COMP%]{background-color:var(--kirby-white);border:1px solid var(--kirby-medium);padding:16px;overflow-x:auto;margin-bottom:16px}.blue-10[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-10)}.blue-20[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-20)}.blue-30[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-30)}.blue-40[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-40)}.blue-50[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-50)}.blue-60[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-60)}.blue-70[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-70)}.blue-80[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-80)}.blue-90[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-blue-90)}.green-10[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-10)}.green-20[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-20)}.green-30[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-30)}.green-40[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-40)}.green-50[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-50)}.green-60[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-60)}.green-70[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-70)}.green-80[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-80)}.green-90[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-green-90)}.purple-10[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-10)}.purple-20[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-20)}.purple-30[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-30)}.purple-40[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-40)}.purple-50[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-50)}.purple-60[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-60)}.purple-70[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-70)}.purple-80[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-80)}.purple-90[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-purple-90)}.red-10[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-10)}.red-20[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-20)}.red-30[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-30)}.red-40[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-40)}.red-50[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-50)}.red-60[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-60)}.red-70[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-70)}.red-80[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-80)}.red-90[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-red-90)}.yellow-10[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-10)}.yellow-20[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-20)}.yellow-30[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-30)}.yellow-40[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-40)}.yellow-50[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-50)}.yellow-60[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-60)}.yellow-70[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-70)}.yellow-80[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-80)}.yellow-90[_ngcontent-%COMP%]{background-color:var(--kirby-decoration-color-yellow-90)}.color-palette-ramps[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin-bottom:40px}.color-palette-ramps[_ngcontent-%COMP%] .color-box[_ngcontent-%COMP%], .color-palette-ramps[_ngcontent-%COMP%] .text-color-box[_ngcontent-%COMP%]{padding:16px;grid-column-start:1}.color-palette-ramps[_ngcontent-%COMP%] dl[_ngcontent-%COMP%]{display:grid;justify-items:center;gap:8px}.color-palette-ramps[_ngcontent-%COMP%] dl[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{grid-row:1;text-wrap:nowrap;margin-inline-start:0;font-size:12px}.color-palette-ramps[_ngcontent-%COMP%] dl[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{min-height:2.5rem;min-width:2.5rem;border-radius:4px;position:relative;transition:transform .2s;cursor:pointer}.color-palette-ramps[_ngcontent-%COMP%] dl[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:hover{transform:scale(1.2)}.color-palette-ramps[_ngcontent-%COMP%] dl[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]:before{display:block;position:absolute;content:"Copied!";background-color:var(--kirby-semi-light);color:var(--kirby-semi-dark-contrast);font-size:10px;padding:2px 4px;border-radius:4px;opacity:0;transform:translateY(-50%)}.color-palette-ramps[_ngcontent-%COMP%] dl[_ngcontent-%COMP%] dt.copied[_ngcontent-%COMP%]:before{opacity:1;animation-name:_ngcontent-%COMP%_slide-in-out;animation-duration:1.5s;animation-fill-mode:forwards}']})}return Ve})();var st=l(26695),rt=l(86118),Kt=l(92088);const Et=[{name:"[sortable]",description:"Renders sorting UI on the th element",type:["boolean"],defaultValue:"false"},{name:"[sortDirection]",description:"Controls whether to show the up arrow (ascending) or down arrow (descending)",type:["asc","desc"],defaultValue:"asc"},{name:"[iconAlignment]",description:"Controls whether to render the sorting icon before or after the text in the header",type:["start","end"],defaultValue:"end"},{name:"[alignment]",description:"Controls the alignment of the text and icon in the header ",type:["start","center","end"],defaultValue:"start"}];let Yt=(()=>{class Ve{constructor(){this._apiDescriptionPropertiesTable=[...Et]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-data-table-showcase"]],decls:95,vars:7,consts:[["dataTableDefaultExample",""],["dataTableCardExample",""],["dataTableSortableExample",""],[1,"example"],["href","https://github.com/kirbydesign/designsystem?tab=readme-ov-file#sass","target","_blank",1,"kirby-external-icon"],[3,"html","ts"],[3,"html"],[3,"ts"],["href","https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#sorting_array_of_objects","target","_blank",1,"kirby-external-icon"],[3,"properties"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"div",3)(1,"p"),e.EFF(2," Data Tables allow the consumer to show large amounts of complex data in tabular form, with rows and columns. Columns can be named through the use of headers. "),e.k0s(),e.j41(3,"h2"),e.EFF(4,"Setup"),e.k0s(),e.EFF(5," The Kirby data table is a set of CSS classes that styles the native HTML "),e.j41(6,"code"),e.EFF(7,"table"),e.k0s(),e.EFF(8," element. "),e.nrm(9,"br"),e.EFF(10," Ensure your application includes the global Kirby styles as "),e.j41(11,"a",4),e.EFF(12," explained in our readme file "),e.k0s(),e.EFF(13," . "),e.j41(14,"h2"),e.EFF(15,"Simple data table"),e.k0s(),e.j41(16,"p"),e.EFF(17," By default the data table has minimal styling - only the headers are styled and divider lines are added between the rows. "),e.k0s(),e.j41(18,"cookbook-example-viewer",5),e.nrm(19,"cookbook-data-table-default-example",null,0),e.k0s(),e.j41(21,"h2"),e.EFF(22,"Additional styling and interactions"),e.k0s(),e.j41(23,"p"),e.EFF(24,"The data table can be wrapped in a Kirby Card to make it stand out from the canvas."),e.k0s(),e.j41(25,"p"),e.EFF(26," The rows can be made selectable by applying the "),e.j41(27,"code"),e.EFF(28,"kirby-selectable-row"),e.k0s(),e.EFF(29," CSS class and handling the "),e.j41(30,"code"),e.EFF(31,"click()"),e.k0s(),e.EFF(32," event. "),e.k0s(),e.j41(33,"cookbook-example-viewer",6),e.nrm(34,"cookbook-data-table-card-example",null,1),e.k0s(),e.j41(36,"h2"),e.EFF(37,"Sortable table"),e.k0s(),e.j41(38,"p"),e.EFF(39,"The data table exposes styling and hooks for making the table sortable."),e.k0s(),e.j41(40,"p"),e.EFF(41," To enable sorting you must import the "),e.j41(42,"code"),e.EFF(43,"TableSortableComponent"),e.k0s(),e.EFF(44," into your Angular module or standalone component. "),e.k0s(),e.nrm(45,"cookbook-example-viewer",7),e.j41(46,"p"),e.EFF(47," In this example the "),e.j41(48,"code"),e.EFF(49,"Name"),e.k0s(),e.EFF(50," , "),e.j41(51,"code"),e.EFF(52,"Height"),e.k0s(),e.EFF(53," & "),e.j41(54,"code"),e.EFF(55,"Weight"),e.k0s(),e.EFF(56," columns are sortable: "),e.k0s(),e.j41(57,"cookbook-example-viewer",5),e.nrm(58,"cookbook-data-table-sortable-example",null,2),e.k0s(),e.j41(60,"p")(61,"em")(62,"strong"),e.EFF(63,"Please note:"),e.k0s(),e.EFF(64," the Kirby data table does not do any sorting on it's own. "),e.k0s()(),e.j41(65,"p"),e.EFF(66," The sorting logic must be implemented manually and can be triggered by handling the "),e.j41(67,"code"),e.EFF(68,"click()"),e.k0s(),e.EFF(69," event on the table header as shown in the code example above. By adding "),e.j41(70,"code"),e.EFF(71,'[sortable]="true"'),e.k0s(),e.EFF(72," to the "),e.j41(73,"code"),e.EFF(74,"th"),e.k0s(),e.EFF(75," element, it will render the sorting icon (up/down arrow) when the element is clicked. "),e.k0s(),e.j41(76,"p"),e.EFF(77," We recommend visiting the "),e.j41(78,"a",8),e.EFF(79," MDN docs "),e.k0s(),e.EFF(80," on sorting, if you are performing client side sorting. "),e.k0s(),e.j41(81,"p"),e.EFF(82," To render a column as initially sorted you can set the "),e.j41(83,"code"),e.EFF(84,"active"),e.k0s(),e.EFF(85," and "),e.j41(86,"code"),e.EFF(87,"sortDirection"),e.k0s(),e.EFF(88," properties on the corresponding "),e.j41(89,"code"),e.EFF(90,"th"),e.k0s(),e.EFF(91," element as shown in the code example above. Ensure your data is initially sorted accordingly. "),e.k0s()(),e.j41(92,"h2"),e.EFF(93,"API Description"),e.k0s(),e.nrm(94,"cookbook-api-description-properties",9)),2&vt){const vo=e.sdS(20),Po=e.sdS(35),Hn=e.sdS(59);e.R7$(18),e.Y8G("html",vo.template)("ts",vo.dataSnippet),e.R7$(15),e.Y8G("html",Po.template),e.R7$(12),e.Y8G("ts",Hn.importSnippet),e.R7$(12),e.Y8G("html",Hn.template)("ts",Hn.sortingSnippet),e.R7$(37),e.Y8G("properties",Ge._apiDescriptionPropertiesTable)}},dependencies:[n.s,st.h,rt.C,Kt.i,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})();var nn=l(13339);let mo=(()=>{class Ve{constructor(){this.themeColor="white",this.hasMargin=!0}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-divider-example"]],inputs:{themeColor:"themeColor",hasMargin:"hasMargin"},decls:11,vars:4,consts:[[3,"hasMargin"],[3,"hasPadding","themeColor"]],template:function(vt,Ge){1&vt&&(e.j41(0,"h1"),e.EFF(1,"Divider on background"),e.k0s(),e.nrm(2,"kirby-divider",0),e.j41(3,"p"),e.EFF(4,"Some text below divider"),e.k0s(),e.j41(5,"kirby-card",1)(6,"h1"),e.EFF(7,"Divider on card"),e.k0s(),e.nrm(8,"kirby-divider",0),e.j41(9,"p"),e.EFF(10,"Some text below divider"),e.k0s()()),2&vt&&(e.R7$(2),e.Y8G("hasMargin",Ge.hasMargin),e.R7$(3),e.Y8G("hasPadding",!0)("themeColor",Ge.themeColor),e.R7$(3),e.Y8G("hasMargin",Ge.hasMargin))},dependencies:[at.h,Ft.Dw,Ft.ib,nn.Cd],encapsulation:2})}return Ve})();function yo(Ve,kr){if(1&Ve&&(e.j41(0,"option",8),e.EFF(1),e.k0s()),2&Ve){const Lt=kr.$implicit,vt=e.XpG();e.FS9("value",Lt),e.BMQ("selected",vt.themeColor===Lt||null),e.R7$(),e.SpI(" Card color: ",Lt," ")}}let Xo=(()=>{class Ve{constructor(){this.themeColors=["white","light"],this.themeColor="white",this.hasMargin=!1,this.exampleHtml='

Divider on background

\n\n

Some text below divider

\n\n\n

Divider on card

\n \n

Some text below divider

\n
\n'}onThemeChange(Lt){this.themeColor=Lt}onMarginChange(Lt){this.hasMargin=Lt}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-divider-showcase"]],decls:14,vars:5,consts:[[1,"example"],[3,"themeColor","hasMargin"],[3,"change"],["value",""],[3,"value",4,"ngFor","ngForOf"],["value","","selected",""],["value","true"],[3,"html"],[3,"value"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.nrm(1,"cookbook-divider-example",1),e.j41(2,"div")(3,"select",2),e.bIt("change",function(Po){return Ge.onThemeChange(Po.target.value)}),e.j41(4,"option",3),e.EFF(5,"Card color: None"),e.k0s(),e.DNE(6,yo,2,3,"option",4),e.k0s()(),e.j41(7,"div")(8,"select",2),e.bIt("change",function(Po){return Ge.onMarginChange(Po.target.value)}),e.j41(9,"option",5),e.EFF(10,"Margin: Off"),e.k0s(),e.j41(11,"option",6),e.EFF(12,"Margin: On"),e.k0s()()(),e.nrm(13,"cookbook-code-viewer",7),e.k0s()),2&vt&&(e.R7$(),e.Y8G("themeColor",Ge.themeColor)("hasMargin",Ge.hasMargin),e.R7$(5),e.Y8G("ngForOf",Ge.themeColors),e.R7$(5),e.BMQ("selected",!!Ge.hasMargin||null),e.R7$(2),e.Y8G("html",Ge.exampleHtml))},dependencies:[mo,so.YN,so.xH,so.y7,Xe.pM,_o.B],encapsulation:2})}return Ve})();var Ho=l(85860),Oi=l(51363),ui=l(62889),Ko=l(54245),ai=l(47780),di=l(30521),Qo=l(93615),ki=l(71708),li=l(74086),Mi=l(99513);function Cr(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.name)}}function Jr(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.description)}}function Ii(Ve,kr){if(1&Ve&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.JRh(Lt.columns.type)}}function Nr(Ve,kr){if(1&Ve&&(e.j41(0,"td")(1,"code"),e.EFF(2),e.k0s()()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(2),e.JRh(Lt.name)}}function zr(Ve,kr){if(1&Ve&&(e.j41(0,"td",4),e.EFF(1),e.k0s()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(),e.JRh(Lt.description)}}function Li(Ve,kr){if(1&Ve&&(e.j41(0,"td")(1,"code"),e.EFF(2),e.k0s()()),2&Ve){const Lt=e.XpG().$implicit;e.R7$(2),e.JRh(Lt.signature)}}function Xi(Ve,kr){if(1&Ve&&(e.j41(0,"tr"),e.DNE(1,Nr,3,1,"td",1)(2,zr,2,1,"td",3)(3,Li,3,1,"td",1),e.k0s()),2&Ve){const Lt=e.XpG();e.R7$(),e.Y8G("ngIf",Lt.columns.name),e.R7$(),e.Y8G("ngIf",Lt.columns.description),e.R7$(),e.Y8G("ngIf",Lt.columns.type)}}let pi=(()=>{class Ve{constructor(){this.columns={name:"Name",description:"Description",type:"Signature"}}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-api-description-methods"]],inputs:{methods:"methods",columns:"columns"},decls:7,vars:4,consts:[[1,"api-description"],[4,"ngIf"],[4,"ngFor","ngForOf"],["class","description",4,"ngIf"],[1,"description"]],template:function(vt,Ge){1&vt&&(e.j41(0,"table",0)(1,"thead"),e.DNE(2,Cr,2,1,"th",1)(3,Jr,2,1,"th",1)(4,Ii,2,1,"th",1),e.k0s(),e.j41(5,"tbody"),e.DNE(6,Xi,4,3,"tr",2),e.k0s()()),2&vt&&(e.R7$(2),e.Y8G("ngIf",Ge.columns.name),e.R7$(),e.Y8G("ngIf",Ge.columns.description),e.R7$(),e.Y8G("ngIf",Ge.columns.type),e.R7$(2),e.Y8G("ngForOf",Ge.methods))},dependencies:[Xe.bT,Xe.pM],styles:["[_nghost-%COMP%]{display:block;width:100%;overflow-x:auto}table.api-description[_ngcontent-%COMP%]{margin-bottom:40px;border-spacing:0;border-collapse:collapse;width:100%}table.api-description[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background-color:var(--kirby-light-tint)}table.api-description[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:400;border:none;text-align:left;height:40px;border-bottom:none}table.api-description[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.api-description[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid var(--kirby-medium);padding:.5rem 1rem}table.api-description[_ngcontent-%COMP%] .property-name[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{white-space:nowrap}.description[_ngcontent-%COMP%]{white-space:pre-line}"]})}return Ve})(),m=(()=>{class Ve{constructor(){this.size="md",this.properties=[{name:"items",description:"The items rendered within the dropdown.",defaultValue:"[ ]",type:["Array | Array"]},{name:"size",description:"The size of the dropdown. The touch area will always be a minimum of 44px by 44px. If the dropdown is smaller than this, the surrounding area will still be clickable, to preserve accessibility.",defaultValue:"md",type:["sm |\xa0md"]},{name:"itemTextProperty",description:"The property to use for the text representation of items when configured with `Array`.",defaultValue:"'text'",type:["string"]},{name:"value",description:"The currently selected item (readonly).",defaultValue:"undefined",type:["string | any"]},{name:"selectedIndex",description:"The index of the selected item within the `items` array.",defaultValue:"undefined",type:["number"]},{name:"disabled",description:"Disables the dropdown so the the user cannot interact with it.",defaultValue:"false",type:["true","false"]},{name:"placeholder",defaultValue:"'Please select:'",description:"Instructional text to show before the dropdown has a selected option.",type:["string"]},{name:"attentionLevel",description:"Sets the attention level for the button of the dropdown. Button color will be updated automatically depending on host color.",defaultValue:"3",type:["1","2","3"]},{name:"expand",description:"If the dropdown needs to expand to full width of its parent container, then use expand.",defaultValue:"undefined",type:["block"]}],this.methods=[{name:"toggle()",description:"Toggles the open/closed state of the dropdown.",signature:"() => void"},{name:"open()",description:"Opens the dropdown.",signature:"() => void"},{name:"close()",description:"Closes the dropdown.",signature:"() => void"}],this.events=[{name:"change",description:"Emitted when an item is selected (tap on mobile, click/keypress on web)",signature:"(item: string | any) => void"}]}setSize(Lt){this.size=Lt}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-dropdown-showcase"]],decls:68,vars:24,consts:[["defaultExample",""],["scrollExample",""],["preSelectedExample",""],["expandExample",""],["rightAlignedExample",""],["attentionLevelExample",""],["itemSelectExample",""],["customItemTemplateExample",""],["formsExample",""],[3,"sizeChanged","size"],[3,"html"],[3,"size"],[3,"html","css"],[3,"html","ts"],[3,"properties"],[3,"events"],[3,"methods"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"cookbook-dropdown-example-configuration",9),e.bIt("sizeChanged",function(Hn){return e.eBV(vo),e.Njj(Ge.setSize(Hn))}),e.k0s(),e.j41(1,"h2"),e.EFF(2,"Simple"),e.k0s(),e.j41(3,"h3"),e.EFF(4,"Default"),e.k0s(),e.j41(5,"cookbook-example-viewer",10)(6,"div"),e.nrm(7,"cookbook-dropdown-example-default",11,0),e.k0s()(),e.j41(9,"h3"),e.EFF(10,"Scroll"),e.k0s(),e.j41(11,"cookbook-example-viewer",10)(12,"div"),e.nrm(13,"cookbook-dropdown-example-scroll",11,1),e.k0s()(),e.j41(15,"h3"),e.EFF(16,"Pre-selected"),e.k0s(),e.j41(17,"cookbook-example-viewer",10)(18,"div"),e.nrm(19,"cookbook-dropdown-example-pre-selected",11,2),e.k0s()(),e.j41(21,"h3"),e.EFF(22,"Block level"),e.k0s(),e.j41(23,"cookbook-example-viewer",10)(24,"div"),e.nrm(25,"cookbook-dropdown-example-expand",11,3),e.k0s()(),e.j41(27,"h3"),e.EFF(28,"Right aligned"),e.k0s(),e.j41(29,"cookbook-example-viewer",12)(30,"div"),e.nrm(31,"cookbook-dropdown-example-right-aligned",11,4),e.k0s()(),e.j41(33,"h3"),e.EFF(34,"Attention level"),e.k0s(),e.j41(35,"cookbook-example-viewer",10)(36,"div"),e.nrm(37,"cookbook-dropdown-example-attention-level",11,5),e.k0s()(),e.j41(39,"h3"),e.EFF(40,"Event handler"),e.k0s(),e.j41(41,"cookbook-example-viewer",10)(42,"div"),e.nrm(43,"cookbook-dropdown-example-item-select",11,6),e.k0s()(),e.j41(45,"h2"),e.EFF(46,"Advanced"),e.k0s(),e.j41(47,"h3"),e.EFF(48,"Custom Item template"),e.k0s(),e.j41(49,"cookbook-example-viewer",10)(50,"div"),e.nrm(51,"cookbook-dropdown-example-custom-item-template",11,7),e.k0s()(),e.j41(53,"h3"),e.EFF(54,"Forms"),e.k0s(),e.j41(55,"cookbook-example-viewer",13)(56,"div"),e.nrm(57,"cookbook-dropdown-example-ng-forms",11,8),e.k0s()(),e.j41(59,"h2"),e.EFF(60,"Properties:"),e.k0s(),e.nrm(61,"cookbook-api-description-properties",14),e.j41(62,"h2"),e.EFF(63,"Events:"),e.k0s(),e.nrm(64,"cookbook-api-description-events",15),e.j41(65,"h2"),e.EFF(66,"Methods:"),e.k0s(),e.nrm(67,"cookbook-api-description-methods",16)}if(2&vt){const vo=e.sdS(8),Po=e.sdS(14),Hn=e.sdS(20),ls=e.sdS(26),Ms=e.sdS(32),Os=e.sdS(38),ga=e.sdS(44),Bs=e.sdS(52),xa=e.sdS(58);e.Y8G("size",Ge.size),e.R7$(5),e.Y8G("html",vo.template),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",Po.template),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",Hn.template),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",ls.template),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",Ms.template)("css",Ms.styles),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",Os.template),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",ga.template),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(6),e.Y8G("html",Bs.template),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",xa.template)("ts",xa.codeSnippet),e.R7$(2),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("events",Ge.events),e.R7$(3),e.Y8G("methods",Ge.methods)}},dependencies:[Ho.t,n.s,Oi.W,ui.g,Ko.T,ai.J,di.z,Qo.R,ki.w,li.X,Mi.d,pt,hn,pi],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%]{margin-bottom:32px}"]})}return Ve})();var se=l(8346),te=l(97737),ge=l(40638),Be=l(7767);let Re=(()=>{class Ve{constructor(){this.properties=[{name:"iconName",description:"Name of the icon (see icons).",defaultValue:"null",type:["string"]},{name:"title",description:"The title.",defaultValue:"null",type:["string"]},{name:"subtitle",description:"The text beneath the title. Use '\\n' for newline if the text comes from an expression and ' ' if the text is written directly in the template.",defaultValue:"null",type:["string"]},{name:"themeColor",description:"Sets which color the empty state should use from the theme palette.",defaultValue:"null",type:["primary","secondary","tertiary","success","warning","danger","light","medium","dark"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-empty-state-showcase"]],decls:87,vars:4,consts:[["themeColorExample",""],["simpleExample",""],["buttonsExample",""],["themeColor","warning"],[1,"comment"],[3,"html"],[1,"example-frame"],["routerLink","../modal"],[3,"properties"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p"),e.EFF(1," Message State provides feedback about the application, content or workflow state to the user while, if possible, giving constructive guidance about next steps.\n"),e.k0s(),e.j41(2,"kirby-flag",3),e.EFF(3,"Notice"),e.k0s(),e.j41(4,"p",4)(5,"em")(6,"strong"),e.EFF(7,"Empty State"),e.k0s(),e.EFF(8," redirects here as the concept has been renamed "),e.j41(9,"strong"),e.EFF(10,"Message State"),e.k0s(),e.EFF(11," . The component itself, when used in the template, is still called "),e.j41(12,"code"),e.EFF(13,"kirby-empty-state"),e.k0s(),e.EFF(14," and awaits renaming. "),e.k0s()(),e.j41(15,"h2"),e.EFF(16,"Message Types"),e.k0s(),e.j41(17,"p"),e.EFF(18," The message state supports three different types of messaging with the "),e.j41(19,"code"),e.EFF(20,"themeColor"),e.k0s(),e.EFF(21," input. For each of these, an icon that supports the message should be set with "),e.j41(22,"code"),e.EFF(23,"iconName"),e.k0s(),e.EFF(24," .\n"),e.k0s(),e.j41(25,"ul")(26,"li")(27,"strong"),e.EFF(28,"Success"),e.k0s(),e.EFF(29," - for positive messages like confirmations or receipts on longer flows "),e.k0s(),e.j41(30,"li")(31,"strong"),e.EFF(32,"Warning"),e.k0s(),e.EFF(33," - for warnings, errors or something the user should be particularly aware of "),e.k0s(),e.j41(34,"li")(35,"strong"),e.EFF(36,"Empty"),e.k0s(),e.EFF(37," - for communicating something that is empty, not configured or not used yet\u2014like an inbox without any messages "),e.k0s()(),e.j41(38,"cookbook-example-viewer",5)(39,"div",6),e.nrm(40,"cookbook-empty-state-message-types-example",null,0),e.k0s()(),e.j41(42,"h2"),e.EFF(43,"Simple"),e.k0s(),e.j41(44,"p"),e.EFF(45," If setting a decorative icon does not add any value to the message, or if space is constrained, a simple variant can be used. It has a title and subtitle, and should be supported by a call to action button.\n"),e.k0s(),e.j41(46,"p",4)(47,"em")(48,"strong"),e.EFF(49,"Please note:"),e.k0s(),e.EFF(50," The message state expands horizontally to fill its container, and the title and subtitle area grows with it. If text needs to break differently a newline can be added with "),e.k0s(),e.j41(51,"code"),e.EFF(52,"\\n"),e.k0s(),e.j41(53,"em"),e.EFF(54," if the text comes from an expression or "),e.j41(55,"code"),e.EFF(56," "),e.k0s(),e.EFF(57," in case it is written directly in the template. "),e.k0s()(),e.j41(58,"cookbook-example-viewer",5)(59,"div",6),e.nrm(60,"cookbook-empty-state-simple-example",null,1),e.k0s()(),e.j41(62,"h2"),e.EFF(63,"Buttons"),e.k0s(),e.j41(64,"p"),e.EFF(65,"If you add buttons, the following guidelines apply:"),e.k0s(),e.j41(66,"ul")(67,"li"),e.EFF(68,"A primary button should resolve the state for the user"),e.k0s(),e.j41(69,"li"),e.EFF(70," Any secondary buttons should present the user with further guidance or alternative options for resolving the state "),e.k0s()(),e.j41(71,"p"),e.EFF(72," If the first button has attention level 1, that level will be preserved. This is the button that should aim to resolve the state for the user. Any additional buttons will be adjusted to attention level 3 regardless of their initial level.\n"),e.k0s(),e.j41(73,"cookbook-example-viewer",5)(74,"div",6),e.nrm(75,"cookbook-empty-state-buttons-example",null,2),e.k0s()(),e.j41(77,"h2"),e.EFF(78,"Accessibility"),e.k0s(),e.j41(79,"p"),e.EFF(80," If you are creating custom alerts by showing a Message State inside a "),e.j41(81,"a",7),e.EFF(82,"modal"),e.k0s(),e.EFF(83," , the Message State title is automatically used as a label to add context for assistive technologies. For example, screen readers use the label to announce when the modal dialog appears and to give proper context when interacting with the content within.\n"),e.k0s(),e.j41(84,"h2"),e.EFF(85,"Properties:"),e.k0s(),e.nrm(86,"cookbook-api-description-properties",8)),2&vt){const vo=e.sdS(41),Po=e.sdS(61),Hn=e.sdS(76);e.R7$(38),e.Y8G("html",vo.template),e.R7$(20),e.Y8G("html",Po.template),e.R7$(15),e.Y8G("html",Hn.template),e.R7$(13),e.Y8G("properties",Ge.properties)}},dependencies:[se.q,n.s,te.s,ge.W,Be.X,ot.Wk,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}kirby-flag[_ngcontent-%COMP%]{margin-bottom:var(--kirby-spacing-xxs)}"]})}return Ve})();var qe=l(60167);let Ye=(()=>{class Ve{constructor(){this.disableFabSheet=!1,this.exampleHtml='\n \n \n\n',this.properties=[{name:"disabled",description:"(Optional) Determines whether the button will be disabled or not.",defaultValue:"false",type:["boolean"]},{name:"horizontalAlignment",description:"(Optional) Determines horizontal position of fab sheet.",defaultValue:"right",type:["left","center","right"]},{name:"header",description:"(Optional) The header of the action sheet",defaultValue:"",type:["string"]},{name:"subheader",description:"(Optional) The subheader of the action sheet",defaultValue:"",type:["string"]},{name:"items",description:"The options shown inside the action sheet",defaultValue:"",type:["Array"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-fab-sheet-showcase"]],decls:30,vars:6,consts:[[1,"example"],["text","Disable FAB",3,"checkedChange","checked"],[3,"disableFabSheet"],[3,"html"],["href","https://github.com/kirbydesign/designsystem#icons",1,"kirby-external-icon"],["language","html"],["language","ts"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0)(1,"p")(2,"em")(3,"strong"),e.EFF(4,"Please note:"),e.k0s(),e.EFF(5," The floating action button is placed at the bottom right corner of the page. "),e.k0s()(),e.j41(6,"fieldset")(7,"legend"),e.EFF(8,"Configuration"),e.k0s(),e.j41(9,"kirby-checkbox",1),e.bIt("checkedChange",function(Po){return Ge.disableFabSheet=Po}),e.k0s()(),e.nrm(10,"cookbook-fab-sheet-example",2)(11,"cookbook-code-viewer",3),e.j41(12,"p"),e.EFF(13," The floating action button is always shown with a close-icon when in its opened state. In order to show the icon correctly it needs to be configured as described in "),e.j41(14,"a",4),e.EFF(15," the project readme "),e.k0s(),e.EFF(16," . "),e.k0s(),e.j41(17,"p"),e.EFF(18," (Optional) if you need to obtain data back from the fab sheet, you can pass a callback function: "),e.k0s(),e.j41(19,"cookbook-code-viewer",5),e.EFF(20,'(itemSelect)="onItemSelect($event)"'),e.k0s(),e.EFF(21," where "),e.j41(22,"code"),e.EFF(23,"onItemSelect"),e.k0s(),e.EFF(24," can be e.g.: "),e.j41(25,"cookbook-code-viewer",6),e.EFF(26),e.k0s(),e.j41(27,"h4"),e.EFF(28,"Fab sheet properties:"),e.k0s(),e.nrm(29,"cookbook-api-description-properties",7),e.k0s()),2&vt&&(e.R7$(9),e.Y8G("checked",Ge.disableFabSheet),e.R7$(),e.Y8G("disableFabSheet",Ge.disableFabSheet),e.R7$(),e.Y8G("html",Ge.exampleHtml),e.R7$(15),e.Lme("onItemSelect(item: ActionSheetItem) ","{","...","}",""),e.R7$(3),e.Y8G("properties",Ge.properties))},dependencies:[er.P,qe.u,_o.B,pt],styles:["fieldset[_ngcontent-%COMP%]{display:inline-block}"]})}return Ve})();var ut=l(84083),ht=l(80177);let yt=(()=>{class Ve{constructor(){this.properties=[{name:"themeColor",description:"Sets which color the flag should use.",defaultValue:"transparent",type:["success","warning","danger","semi-light","transparent"]},{name:"size",description:"Sets the size of the flag.",defaultValue:"md",type:["xs","sm","md"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-flag-showcase"]],decls:14,vars:3,consts:[["colorsExample",""],["sizesExample",""],[1,"example"],[3,"html"],[3,"properties"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"div",2)(1,"h2"),e.EFF(2,"Colors"),e.k0s(),e.j41(3,"cookbook-example-viewer",3),e.nrm(4,"cookbook-flag-example-colors",null,0),e.k0s(),e.j41(6,"h2"),e.EFF(7,"Sizes"),e.k0s(),e.j41(8,"cookbook-example-viewer",3),e.nrm(9,"cookbook-flag-example-sizes",null,1),e.k0s(),e.j41(11,"h4"),e.EFF(12,"Properties:"),e.k0s(),e.nrm(13,"cookbook-api-description-properties",4),e.k0s()),2&vt){const vo=e.sdS(5),Po=e.sdS(10);e.R7$(3),e.Y8G("html",vo.template),e.R7$(5),e.Y8G("html",Po.template),e.R7$(5),e.Y8G("properties",Ge.properties)}},dependencies:[n.s,ut.S,ht.G,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})(),Jt=(()=>{class Ve{constructor(){this.exampleHtml='

Display 1

\n

Display 2

\n

Display 3

\n\n

Heading 1

\n

Heading 2

\n

Heading 3

\n

Heading 4

\n\x3c!-- Paragraphs that are visually the same as headings: --\x3e\n

kirby-text-xlarge (Heading 1)

\n

kirby-text-large (Heading 2)

\n

kirby-text-medium (Heading 3)

\n

kirby-text-normal-bold (Heading 4)

\n\n

Bold text (kirby-text-bold)

\n

p - Paragraph (default body font)

\n\n

kirby-text-small

\n

kirby-text-small-light

\n

kirby-text-xsmall

\n

kirby-text-xxsmall

\n',this.isCTABoxShown=new e.bkB}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-fonts-showcase"]],outputs:{isCTABoxShown:"isCTABoxShown"},decls:168,vars:3,consts:[["target","_blank","href","https://github.com/kirbydesign/designsystem?tab=readme-ov-file#sass",1,"kirby-external-icon"],["language","css"],[1,"fonts"],[1,"sample-display-1","kirby-text-display-1"],[1,"info-box"],[1,"highlight"],[1,"sample-display-2","kirby-text-display-2"],[1,"sample-display-3","kirby-text-display-3"],[1,"sample-header-1","kirby-text-xlarge"],[1,"sample-header-2","kirby-text-large"],[1,"sample-header-3","kirby-text-medium"],[1,"sample-header-4","kirby-text-normal-bold"],[1,"sample-text-bold","kirby-text-bold"],[1,"sample-body","kirby-text-normal"],[1,"sample-body-small","kirby-text-small"],[1,"sample-body-small-light","kirby-text-small-light"],[1,"sample-body-xsmall","kirby-text-xsmall"],[1,"sample-body-xxsmall","kirby-text-xxsmall"],[3,"html"]],template:function(vt,Ge){1&vt&&(e.j41(0,"p"),e.EFF(1," Out of the box Kirby will style text with a set of predefined font sizes and line heights. These styles are globally applied to Paragraph elements ("),e.j41(2,"code"),e.EFF(3,"

"),e.k0s(),e.EFF(4,") and HTML Section Headings ("),e.j41(5,"code"),e.EFF(6,"

"),e.k0s(),e.EFF(7," to "),e.j41(8,"code"),e.EFF(9,"

"),e.k0s(),e.EFF(10,") when "),e.j41(11,"a",0),e.EFF(12," including Kirby global styles as described in our readme "),e.k0s()(),e.j41(13,"p"),e.EFF(14," Font size and corresponding line height can also be set by applying the font CSS classes, e.g. "),e.j41(15,"code"),e.EFF(16,"kirby-text-large"),e.k0s(),e.EFF(17,".\n"),e.k0s(),e.j41(18,"p"),e.EFF(19," Finally the "),e.j41(20,"code"),e.EFF(21,"font-size"),e.k0s(),e.EFF(22," and "),e.j41(23,"code"),e.EFF(24,"line-height"),e.k0s(),e.EFF(25," SCSS utility functions can be used when writing your own CSS rules. "),e.nrm(26,"br"),e.j41(27,"em")(28,"strong"),e.EFF(29,"Note:"),e.k0s(),e.EFF(30," When setting the font size this way ensure the corresponding line height is set as well (and optionally the font weight). "),e.k0s()(),e.j41(31,"cookbook-code-viewer",1)(32,"pre"),e.EFF(33),e.k0s()(),e.j41(34,"div",2)(35,"div")(36,"p",3),e.EFF(37,"Display 1"),e.k0s(),e.j41(38,"div",4)(39,"code"),e.EFF(40,'font-size: font-size("xxxxl");'),e.k0s(),e.j41(41,"code"),e.EFF(42,'font-weight: font-weight("black");'),e.k0s(),e.j41(43,"code"),e.EFF(44,"line-height: normal;"),e.k0s(),e.j41(45,"code",5),e.EFF(46,'class="kirby-text-display-1"'),e.k0s()(),e.j41(47,"p",6),e.EFF(48,"Display 2"),e.k0s(),e.j41(49,"div",4)(50,"code"),e.EFF(51,'font-size: font-size("xxxl");'),e.k0s(),e.j41(52,"code"),e.EFF(53,'font-weight: font-weight("black");'),e.k0s(),e.j41(54,"code"),e.EFF(55,"line-height: normal;"),e.k0s(),e.j41(56,"code",5),e.EFF(57,'class="kirby-text-display-2"'),e.k0s()(),e.j41(58,"p",7),e.EFF(59,"Display 3"),e.k0s(),e.j41(60,"div",4)(61,"code"),e.EFF(62,'font-size: font-size("xxl");'),e.k0s(),e.j41(63,"code"),e.EFF(64,'font-weight: font-weight("black");'),e.k0s(),e.j41(65,"code"),e.EFF(66,"line-height: normal;"),e.k0s(),e.j41(67,"code",5),e.EFF(68,'class="kirby-text-display-3"'),e.k0s()(),e.j41(69,"h1",8),e.EFF(70,"h1 - Heading 1"),e.k0s(),e.j41(71,"div",4)(72,"code"),e.EFF(73,'font-size: font-size("xl");'),e.k0s(),e.j41(74,"code"),e.EFF(75,'font-weight: font-weight("black");'),e.k0s(),e.j41(76,"code"),e.EFF(77,"line-height: line-height('xl');"),e.k0s(),e.j41(78,"code",5),e.EFF(79,'class="kirby-text-xlarge"'),e.k0s()(),e.j41(80,"h2",9),e.EFF(81,"h2 - Heading 2"),e.k0s(),e.j41(82,"div",4)(83,"code"),e.EFF(84,'font-size: font-size("l");'),e.k0s(),e.j41(85,"code"),e.EFF(86,'font-weight: font-weight("bold");'),e.k0s(),e.j41(87,"code"),e.EFF(88,"line-height: line-height('l');"),e.k0s(),e.j41(89,"code",5),e.EFF(90,'class="kirby-text-large"'),e.k0s()(),e.j41(91,"h3",10),e.EFF(92,"h3 - Heading 3"),e.k0s(),e.j41(93,"div",4)(94,"code"),e.EFF(95,'font-size: font-size("m");'),e.k0s(),e.j41(96,"code"),e.EFF(97,'font-weight: font-weight("bold");'),e.k0s(),e.j41(98,"code"),e.EFF(99,"line-height: line-height('m');"),e.k0s(),e.j41(100,"code",5),e.EFF(101,'class="kirby-text-medium"'),e.k0s()(),e.j41(102,"h4",11),e.EFF(103,"h4 - Section header"),e.k0s(),e.j41(104,"div",4)(105,"code"),e.EFF(106,'font-size: font-size("n");'),e.k0s(),e.j41(107,"code"),e.EFF(108,'font-weight: font-weight("bold");'),e.k0s(),e.j41(109,"code"),e.EFF(110,"line-height: line-height('n');"),e.k0s(),e.j41(111,"code",5),e.EFF(112,'class="kirby-text-normal-bold"'),e.k0s()(),e.j41(113,"p",12),e.EFF(114,"Bold text"),e.k0s(),e.j41(115,"div",4)(116,"code"),e.EFF(117,'font-weight: font-weight("bold");'),e.k0s(),e.j41(118,"code",5),e.EFF(119,'class="kirby-text-bold"'),e.k0s()(),e.j41(120,"p",13),e.EFF(121,"p - Paragraph (default body font)"),e.k0s(),e.j41(122,"div",4)(123,"code"),e.EFF(124,'font-size: font-size("n");'),e.k0s(),e.j41(125,"code"),e.EFF(126,"line-height: line-height('n');"),e.k0s(),e.j41(127,"code",5),e.EFF(128,'class="kirby-text-normal"'),e.k0s()(),e.j41(129,"p",14),e.EFF(130,"Small text"),e.k0s(),e.j41(131,"div",4)(132,"code"),e.EFF(133,'font-size: font-size("s");'),e.k0s(),e.j41(134,"code"),e.EFF(135,"line-height: line-height('s');"),e.k0s(),e.j41(136,"code",5),e.EFF(137,'class="kirby-text-small"'),e.k0s()(),e.j41(138,"p",15),e.EFF(139,"Small text - light"),e.k0s(),e.j41(140,"div",4)(141,"code"),e.EFF(142,'font-size: font-size("s");'),e.k0s(),e.j41(143,"code"),e.EFF(144,'font-weight: font-weight("light");'),e.k0s(),e.j41(145,"code"),e.EFF(146,"line-height: line-height('s');"),e.k0s(),e.j41(147,"code",5),e.EFF(148,'class="kirby-text-small-light"'),e.k0s()(),e.j41(149,"p",16),e.EFF(150,"x-small text"),e.k0s(),e.j41(151,"div",4)(152,"code"),e.EFF(153,'font-size: font-size("xs");'),e.k0s(),e.j41(154,"code"),e.EFF(155,"line-height: line-height('xs');"),e.k0s(),e.j41(156,"code",5),e.EFF(157,'class="kirby-text-xsmall"'),e.k0s()(),e.j41(158,"p",17),e.EFF(159,"xx-small text"),e.k0s(),e.j41(160,"div",4)(161,"code"),e.EFF(162,'font-size: font-size("xxs");'),e.k0s(),e.j41(163,"code"),e.EFF(164,"line-height: line-height('xxs');"),e.k0s(),e.j41(165,"code",5),e.EFF(166,'class="kirby-text-xxsmall"'),e.k0s()()(),e.nrm(167,"cookbook-code-viewer",18),e.k0s()),2&vt&&(e.R7$(33),e.Lme("@use '@kirbydesign/designsystem/scss/utils' as *;\n\n.my-own-class ","{",'\n font-size: font-size("l");\n line-height: line-height("l");\n ...\n',"}","\n "),e.R7$(134),e.Y8G("html",Ge.exampleHtml))},dependencies:[_o.B],styles:['code[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast);padding:.2rem .5rem;border-radius:2px;white-space:nowrap}.fonts[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.fonts[_ngcontent-%COMP%] cookbook-code-viewer[_ngcontent-%COMP%]{flex:1;flex-basis:200px}.fonts[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{padding:.25rem 0 0;display:block;color:var(--kirby-dark);background-color:transparent}.fonts[_ngcontent-%COMP%] code.highlight[_ngcontent-%COMP%]{font-weight:700;margin-block-start:.5rem}.sample-display-1[_ngcontent-%COMP%], .sample-display-2[_ngcontent-%COMP%], .sample-display-3[_ngcontent-%COMP%], .sample-header-1[_ngcontent-%COMP%], .sample-header-2[_ngcontent-%COMP%], .sample-header-3[_ngcontent-%COMP%], .sample-header-4[_ngcontent-%COMP%], .sample-text-bold[_ngcontent-%COMP%], .sample-body[_ngcontent-%COMP%], .sample-body-small[_ngcontent-%COMP%], .sample-body-small-light[_ngcontent-%COMP%], .sample-body-xsmall[_ngcontent-%COMP%], .sample-body-xxsmall[_ngcontent-%COMP%]{margin-block:2rem .5rem}.sample-display-1[_ngcontent-%COMP%]:after{content:"(72px)"}.sample-display-2[_ngcontent-%COMP%]:after{content:"(56px)"}.sample-display-3[_ngcontent-%COMP%]:after{content:"(40px)"}.sample-header-1[_ngcontent-%COMP%]:after{content:"(32px)"}.sample-header-2[_ngcontent-%COMP%]:after{content:"(22px)"}.sample-header-3[_ngcontent-%COMP%]:after{content:"(18px)"}.sample-header-4[_ngcontent-%COMP%]:after{content:"(16px)"}.sample-body[_ngcontent-%COMP%]:after{content:"(16px)"}.sample-body-small[_ngcontent-%COMP%]:after, .sample-body-small-light[_ngcontent-%COMP%]:after{content:"(14px)"}.sample-body-xsmall[_ngcontent-%COMP%]:after{content:"(12px)"}.sample-body-xxsmall[_ngcontent-%COMP%]:after{content:"(10px)"}[class^=sample-][_ngcontent-%COMP%]:after{color:var(--kirby-text-color-danger);font-size:12px;font-weight:400;margin-left:12px}.info-box[_ngcontent-%COMP%]{background-color:var(--kirby-white);padding:.5rem 1rem;margin-right:1rem;border:1px solid var(--kirby-medium)}']})}return Ve})();var z=l(15874),Q=l(24998),Ee=l(8060),_e=l(54521),He=l(45415),nt=l(78977),Ut=l(51067),an=l(83108),on=l(56297);const Mn_template='\n \n\n';let Xt=(()=>{class Ve{constructor(){this.template=Mn_template}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-form-field-input-decimal-mask-example"]],inputs:{size:"size"},decls:2,vars:0,consts:[["label","Decimal mask input"],["type","number","kirby-input","","kirby-decimal-mask",""]],template:function(vt,Ge){1&vt&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s())},dependencies:[on.LT,on.KS,on.Ry,on.Sj],encapsulation:2})}return Ve})();var ve=l(64911),Fe=l(88351),Y=l(50627),Pe=l(67477),Ue=l(65064),Pn=l(22847),ao=l(79186),ro=l(37965),Bo=l(19503);let Mo=(()=>{class Ve{constructor(){this.formFieldProperties=[{name:"label",defaultValue:"undefined",description:"(Optional) The label shown above the input. Clicking the label sets focus to the input/textarea.",type:["string"]},{name:"message",defaultValue:"undefined",description:"(Optional) Message shown below the input. Can be used for hints, error and/or validation messages.\n \n If set to null space will be reserved for the message but nothing will be rendered inside. This is useful for preventing layout-shifts when e.g. an error message dynamically appears.",type:["string | null"]}],this.formFieldMethods=[{name:"focus()",description:"Programmatically sets focus to the input (or textarea) within the form field.\nOn native devices this method also ensures the form field is scrolled into the viewport.",signature:"() => void"}],this.sharedProperties=[{name:"hasError",defaultValue:"false",description:"Indicates whether the control is in an error state.",type:["true","false"]},{name:"maxlength",defaultValue:"undefined",description:"Specifies the maximum number of characters that the user can enter.",type:["number"]},{name:"autocomplete",defaultValue:"off",description:"Indicates whether the value of the control can be automatically completed by the browser.",type:["on","off"]},{name:"autofocus",defaultValue:"false",description:"Specify that the input/textare should have input focus when the page loads. Only one element in a document can have this attribute.",type:["true","false"]},{name:"autocorrect",defaultValue:"off",description:"Whether auto correction should be enabled when the user is entering/editing the text value.",type:["on","off"]},{name:"disabled",defaultValue:"false",description:"If `true`, the user cannot interact with the input.",type:["true","false"]},{name:"name",defaultValue:"undefined",description:"The name of the control, which is submitted with the form data.",type:["string"]},{name:"placeholder",defaultValue:"undefined",description:"Instructional text that shows before the input has a value.",type:["string"]}],this.inputProperties=[{name:"type",defaultValue:"text",description:"The type of control to display.",type:["date","email","number","password","search","tel","text","time","url"]},{name:"value",defaultValue:"undefined",description:"The value of the input. The type of the value is set through the `type` attribute.",type:["string","number","email","telephone","date"]}],this.decimalMaskProperties=[{name:"precision",defaultValue:"2",description:"Number of fractional digits",type:["number"]},{name:"allowMinus",defaultValue:"false",description:"Allow negative values, will automatically be true if minimum value is a negative number",type:["true","false"]},{name:"min",defaultValue:"undefined",description:"Minimum value",type:["number"]},{name:"max",defaultValue:"undefined",description:"Maximum value",type:["number"]},{name:"maxlength",defaultValue:"undefined",description:"Maximum length of value, please note setting maxlength will disable fractional digits",type:["number"]},{name:"setMaxOnOverflow",defaultValue:"false",description:"Set the maximum value when the user types a number which is greater that the value of max.",type:["true","false"]},{name:"disableGroupSeperator",defaultValue:"false",description:"Disable group seperation",type:["true","false"]}],this.dateMaskProperties=[{name:"prefillYear",defaultValue:"false",description:"Enable/disable prefilling of the year.",type:["boolean"]}],this.sharedEvents=[{name:"blur",description:"Emitted when the input loses focus."},{name:"change",description:"Emitted when the input value has changed."},{name:"focus",description:"Emitted when the input has focus."},{name:"input",description:"Emitted when a keyboard input ocurred."}],this.textareaProperties=[{name:"rows",defaultValue:"undefined",description:"The number of visible text lines for the control.",type:["number"]},{name:"value",defaultValue:"undefined",description:"The value of the textarea.",type:["string"]}],this.counterProperties=[{name:"listenTo",defaultValue:"undefined",description:"Reference to the kirby-input component the counter should observe. Can be specified through a template reference variable, e.g.: #cityName. The current value and (optional) maxlength of the input will be displayed.",type:["string"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-form-field-showcase"]],decls:208,vars:41,consts:[["inputDefaultExample",""],["inputColorExample",""],["inputLabelExample",""],["inputLabelMessageExample",""],["affixExample",""],["inputCounterExample",""],["inputNumericExample",""],["inputDecimalMaskExample",""],["inputDateExample",""],["inputDateNativeExample",""],["inputDisabledExample",""],["inputErrorExample",""],["inputBorderlessExample",""],["focusExample",""],["textareaDefaultExample",""],["textareaLabelExample",""],["textareaCounterExample",""],[3,"sizeChange","size"],[3,"html"],[3,"size"],["href","https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date","target","_blank","rel","noopener"],["href","https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#date_strings"],[3,"html","ts"],[3,"properties"],[3,"methods"],[3,"events"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"h2"),e.EFF(1,"Input"),e.k0s(),e.j41(2,"cookbook-form-field-example-configuration",17),e.mxI("sizeChange",function(Hn){return e.eBV(vo),e.DH7(Ge.size,Hn)||(Ge.size=Hn),e.Njj(Hn)}),e.k0s(),e.j41(3,"h3"),e.EFF(4,"Default"),e.k0s(),e.j41(5,"cookbook-example-viewer",18),e.nrm(6,"cookbook-form-field-input-example",19,0),e.k0s(),e.j41(8,"h3"),e.EFF(9,"Color"),e.k0s(),e.j41(10,"cookbook-example-viewer",18),e.nrm(11,"cookbook-form-field-input-color-example",null,1),e.k0s(),e.j41(13,"h3"),e.EFF(14,"Label"),e.k0s(),e.j41(15,"cookbook-example-viewer",18),e.nrm(16,"cookbook-form-field-input-label-example",19,2),e.k0s(),e.j41(18,"h3"),e.EFF(19,"Label & Message"),e.k0s(),e.j41(20,"cookbook-example-viewer",18),e.nrm(21,"cookbook-form-field-input-label-message-example",19,3),e.k0s(),e.j41(23,"h3"),e.EFF(24,"Affix"),e.k0s(),e.j41(25,"p")(26,"strong"),e.EFF(27,"Please note:"),e.k0s(),e.EFF(28," Affix functionality is "),e.j41(29,"em"),e.EFF(30,"only"),e.k0s(),e.EFF(31," intended for use with kirby-input. Date mask input currently does not support prefixed content.\n"),e.k0s(),e.j41(32,"cookbook-example-viewer",18),e.nrm(33,"cookbook-form-field-input-affix-example",19,4),e.k0s(),e.j41(35,"h3"),e.EFF(36,"Character counter"),e.k0s(),e.j41(37,"cookbook-example-viewer",18),e.nrm(38,"cookbook-form-field-input-counter-example",19,5),e.k0s(),e.j41(40,"h3"),e.EFF(41,"Numeric"),e.k0s(),e.j41(42,"p"),e.EFF(43," The numeric input includes built in validation for rejecting non-numerical user input. As an example, Chrome completely restricts the user to only enter numbers while Safari og Firefox allows the user to enter any character, but will validate before the form is submitted.\n"),e.k0s(),e.j41(44,"p"),e.EFF(45,"When using a numeric field from a device, it will show the numeric keyboard to the user."),e.k0s(),e.j41(46,"cookbook-example-viewer",18),e.nrm(47,"cookbook-form-field-input-numeric-example",19,6),e.k0s(),e.j41(49,"h4"),e.EFF(50,"Decimal mask"),e.k0s(),e.j41(51,"p"),e.EFF(52," Restricts the input to numbers only. It ensures correct keyboard, adds grouping separators based on locale, and will default to allow two fractional digits. These can be configured by setting "),e.j41(53,"code"),e.EFF(54,'[precision]="amount of digits"'),e.k0s(),e.EFF(55," .\n"),e.k0s(),e.j41(56,"p"),e.EFF(57," Input can be restricted to a specified range with "),e.j41(58,"code"),e.EFF(59,"[min]"),e.k0s(),e.EFF(60," and "),e.j41(61,"code"),e.EFF(62,"[max]"),e.k0s()(),e.j41(63,"p"),e.EFF(64," As default, negative numbers are disallowed, however, they can be allowed by setting either "),e.j41(65,"code"),e.EFF(66,'[allowMinus]="true"'),e.k0s(),e.EFF(67," or entering a negative number to [min] "),e.j41(68,"code"),e.EFF(69,'[min]="negative number"'),e.k0s()(),e.j41(70,"p"),e.EFF(71," Group separators can be disabled with "),e.j41(72,"code"),e.EFF(73,"[disableGroupSeperator]"),e.k0s(),e.EFF(74," .\n"),e.k0s(),e.j41(75,"p"),e.EFF(76," By default the inputted numbers are right-aligned, but can be left-aligned by setting "),e.j41(77,"code"),e.EFF(78,'alignment="left"'),e.k0s(),e.EFF(79," .\n"),e.k0s(),e.j41(80,"cookbook-example-viewer",18),e.nrm(81,"cookbook-form-field-input-decimal-mask-example",19,7),e.k0s(),e.j41(83,"p")(84,"em")(85,"strong"),e.EFF(86,"*Please note:"),e.k0s(),e.EFF(87," using "),e.j41(88,"code"),e.EFF(89,"maxlength"),e.k0s(),e.EFF(90," will disallow fractional digits. "),e.k0s()(),e.j41(91,"h3"),e.EFF(92,"Date"),e.k0s(),e.j41(93,"cookbook-example-viewer",18),e.nrm(94,"cookbook-form-field-input-date-example",19,8),e.k0s(),e.j41(96,"p"),e.EFF(97,"The value supplied to the input should be formatted according to the current locale."),e.k0s(),e.j41(98,"p")(99,"em")(100,"strong"),e.EFF(101,"*Please note:"),e.k0s(),e.EFF(102," The placeholder is based on "),e.j41(103,"code"),e.EFF(104,"LOCALE_ID"),e.k0s(),e.EFF(105," . E.g. when "),e.j41(106,"code"),e.EFF(107,"DA"),e.k0s(),e.EFF(108," the placeholder will be "),e.j41(109,"code"),e.EFF(110,"dd.mm.\xe5\xe5\xe5\xe5"),e.k0s()()(),e.j41(111,"h4"),e.EFF(112,"\u{1f9ea} Experimental: Standard HTML date input (native date picker)"),e.k0s(),e.j41(113,"p")(114,"strong"),e.EFF(115,"Please note:"),e.k0s(),e.EFF(116," The input UI generally varies between browsers and between devices ( "),e.j41(117,"a",20),e.EFF(118," MDN "),e.k0s(),e.EFF(119," ). This may not adhere to the visual preferences for your project.\n"),e.k0s(),e.j41(120,"p"),e.EFF(121," However, a platform native date picker has several advantages out of the box, such as being accessible and having built-in localization.\n"),e.k0s(),e.j41(122,"cookbook-example-viewer",18),e.nrm(123,"cookbook-form-field-input-date-native-example",19,9),e.k0s(),e.j41(125,"p"),e.EFF(126," When opting into the native datepicker, the value should be in the "),e.j41(127,"a",21),e.EFF(128," Date strings format "),e.k0s(),e.EFF(129," .\n"),e.k0s(),e.j41(130,"h3"),e.EFF(131,"Disabled"),e.k0s(),e.j41(132,"cookbook-example-viewer",18),e.nrm(133,"cookbook-form-field-input-disabled-example",19,10),e.k0s(),e.j41(135,"h3"),e.EFF(136,"Error"),e.k0s(),e.j41(137,"cookbook-example-viewer",18),e.nrm(138,"cookbook-form-field-input-error-example",19,11),e.k0s(),e.j41(140,"h3"),e.EFF(141,"Borderless"),e.k0s(),e.j41(142,"cookbook-example-viewer",18),e.nrm(143,"cookbook-form-field-input-borderless-example",19,12),e.k0s(),e.j41(145,"h3"),e.EFF(146,"Focus programmatically"),e.k0s(),e.j41(147,"cookbook-example-viewer",22),e.nrm(148,"cookbook-form-field-focus-example",19,13),e.k0s(),e.j41(150,"h2"),e.EFF(151,"Textarea"),e.k0s(),e.j41(152,"h3"),e.EFF(153,"Default"),e.k0s(),e.j41(154,"cookbook-example-viewer",18),e.nrm(155,"cookbook-form-field-textarea-example",null,14),e.k0s(),e.j41(157,"h3"),e.EFF(158,"Label"),e.k0s(),e.j41(159,"cookbook-example-viewer",18),e.nrm(160,"cookbook-form-field-textarea-label-example",null,15),e.k0s(),e.j41(162,"h3"),e.EFF(163,"Character counter"),e.k0s(),e.j41(164,"cookbook-example-viewer",18),e.nrm(165,"cookbook-form-field-textarea-counter-example",null,16),e.k0s(),e.j41(167,"h2"),e.EFF(168,"Form Field"),e.k0s(),e.j41(169,"h4"),e.EFF(170,"Properties:"),e.k0s(),e.nrm(171,"cookbook-api-description-properties",23),e.j41(172,"h4"),e.EFF(173,"Methods:"),e.k0s(),e.nrm(174,"cookbook-api-description-methods",24),e.j41(175,"h2"),e.EFF(176,"Input & Textarea: Shared Properties & Events"),e.k0s(),e.j41(177,"h4"),e.EFF(178,"Properties:"),e.k0s(),e.nrm(179,"cookbook-api-description-properties",23),e.j41(180,"h4"),e.EFF(181,"Events:"),e.k0s(),e.nrm(182,"cookbook-api-description-events",25),e.j41(183,"h2"),e.EFF(184,"Input: Specific properties"),e.k0s(),e.j41(185,"h4"),e.EFF(186,"Properties:"),e.k0s(),e.nrm(187,"cookbook-api-description-properties",23),e.j41(188,"h2"),e.EFF(189,"Decimal mask"),e.k0s(),e.j41(190,"h4"),e.EFF(191,"Properties:"),e.k0s(),e.nrm(192,"cookbook-api-description-properties",23),e.j41(193,"h2"),e.EFF(194,"Date mask"),e.k0s(),e.j41(195,"h4"),e.EFF(196,"Properties:"),e.k0s(),e.nrm(197,"cookbook-api-description-properties",23),e.j41(198,"h2"),e.EFF(199,"Textarea: Specific properties"),e.k0s(),e.j41(200,"h4"),e.EFF(201,"Properties:"),e.k0s(),e.nrm(202,"cookbook-api-description-properties",23),e.j41(203,"h2"),e.EFF(204,"Input Counter"),e.k0s(),e.j41(205,"h4"),e.EFF(206,"Properties:"),e.k0s(),e.nrm(207,"cookbook-api-description-properties",23)}if(2&vt){const vo=e.sdS(7),Po=e.sdS(12),Hn=e.sdS(17),ls=e.sdS(22),Ms=e.sdS(34),Os=e.sdS(39),ga=e.sdS(48),Bs=e.sdS(82),xa=e.sdS(95),Ia=e.sdS(124),$c=e.sdS(134),Nc=e.sdS(139),sc=e.sdS(144),ac=e.sdS(149),du=e.sdS(156),zc=e.sdS(161),wd=e.sdS(166);e.R7$(2),e.R50("size",Ge.size),e.R7$(3),e.Y8G("html",vo.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",Po.template),e.R7$(5),e.Y8G("html",Hn.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",ls.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(11),e.Y8G("html",Ms.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",Os.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(8),e.Y8G("html",ga.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(33),e.Y8G("html",Bs.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(12),e.Y8G("html",xa.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(28),e.Y8G("html",Ia.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(9),e.Y8G("html",$c.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",Nc.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",sc.template),e.R7$(),e.Y8G("size",Ge.size),e.R7$(4),e.Y8G("html",ac.template)("ts",ac.codeSnippet),e.R7$(),e.Y8G("size",Ge.size),e.R7$(6),e.Y8G("html",du.template),e.R7$(5),e.Y8G("html",zc.template),e.R7$(5),e.Y8G("html",wd.template),e.R7$(7),e.Y8G("properties",Ge.formFieldProperties),e.R7$(3),e.Y8G("methods",Ge.formFieldMethods),e.R7$(5),e.Y8G("properties",Ge.sharedProperties),e.R7$(3),e.Y8G("events",Ge.sharedEvents),e.R7$(5),e.Y8G("properties",Ge.inputProperties),e.R7$(5),e.Y8G("properties",Ge.decimalMaskProperties),e.R7$(5),e.Y8G("properties",Ge.dateMaskProperties),e.R7$(5),e.Y8G("properties",Ge.textareaProperties),e.R7$(5),e.Y8G("properties",Ge.counterProperties)}},dependencies:[z.a,n.s,Q.t,Ee.j,_e.o,He.Z,nt.s,Ut.Q,an.f,Xt,ve.E,Fe.B,Y.M,Pe.S,Ue.H,Pn.M,ao.H,ro.W,Bo.S,pt,pi,hn],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}h4[_ngcontent-%COMP%]{margin-top:16px}cookbook-example-viewer[_ngcontent-%COMP%]{margin-bottom:32px}"]})}return Ve})();var Di=l(19402),Dr=l(98299);function ji(Ve,kr){if(1&Ve&&(e.j41(0,"li"),e.EFF(1),e.k0s()),2&Ve){const Lt=kr.$implicit;e.R7$(),e.Lme(" ",Lt.key,": ",Lt.value," ")}}const{breakpoints:gr}=Di.Q;let N=(()=>{class Ve{constructor(){this.shorthandToBreakpointMap={xs:gr.xsmall,sm:gr.small,md:gr.medium,lg:gr.large,xl:gr.xlarge},this.exampleHtml='
\n

Basic Grid

\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n\n
\n

Multiple breakpoints

\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n\n
\n

Spacing

\n
\n Grid Spacing\n \n Grid Row Spacing\n \n Grid Column Spacing\n \n
\n \n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n

\n',this.gridProperties=[{name:"spacing",description:"Defines the spacing in between the grid-item's. The value should be a number and the number is multiplied with 8px. The value 2 would result in 16px spacing, 3 would result in 24px, 4 would result in 32px etc.",defaultValue:"3",type:["0 - 5"]},{name:"row-spacing",description:"Defines the horizontal spacing in between the grid-item's. The value should be a number and the number is multiplied with 8px.",defaultValue:"3",type:["0 - 5"]},{name:"column-spacing",description:"Defines the vertical spacing in between the grid-item's. The value should be a number and the number is multiplied with 8px.",defaultValue:"3",type:["0 - 5"]}],this.gridItemProperties=[{name:"xs",description:"Defines the column span for xtra-small screen sizes.",defaultValue:"",type:["0 - 12"]},{name:"sm",description:"Defines the column span for small screen sizes.",defaultValue:"",type:["0 - 12"]},{name:"md",description:"Defines the column span for medium screen sizes.",defaultValue:"",type:["0 - 12"]},{name:"lg",description:"Defines the column span for large screen sizes.",defaultValue:"",type:["0 - 12"]},{name:"xl",description:"Defines the column span for xtra-large screen sizes.",defaultValue:"",type:["0 - 12"]}]}originalOrder(){return 0}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-grid-showcase"]],decls:33,vars:7,consts:[[1,"example"],[4,"ngFor","ngForOf"],[1,"page-example"],[3,"html"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0)(1,"p"),e.EFF(2," Grid works well for a layout with a known number of columns. The columns can be configured with multiple breakpoints to specify the column span of each child. Breakpoints makes is easy to adapt the layout to different screen sizes. "),e.k0s(),e.j41(3,"h3"),e.EFF(4,"Breakpoints"),e.k0s(),e.j41(5,"p"),e.EFF(6,"Each breakpoint is named using t-shirt sizes and maps to a defined screen size or bigger:"),e.k0s(),e.j41(7,"ul"),e.DNE(8,ji,2,2,"li",1),e.nI1(9,"keyvalue"),e.k0s(),e.j41(10,"h3"),e.EFF(11,"HTML validity"),e.k0s(),e.j41(12,"p"),e.EFF(13," If you have concerns about HTML validity related to the custom attributes, you can prefix the attributes above with "),e.j41(14,"code"),e.EFF(15,"data-*"),e.k0s(),e.EFF(16," . That way your HTML will be valid and it will function exactly the same. Here is an example: "),e.j41(17,"code"),e.EFF(18,'
'),e.k0s()()(),e.j41(19,"div",2)(20,"h1"),e.EFF(21,"Examples"),e.k0s(),e.j41(22,"cookbook-example-viewer",3),e.nrm(23,"cookbook-grid-example"),e.k0s(),e.nrm(24,"br"),e.j41(25,"h1"),e.EFF(26,"Attributes"),e.k0s(),e.j41(27,"h2"),e.EFF(28,"Grid"),e.k0s(),e.nrm(29,"cookbook-api-description-properties",4),e.j41(30,"h2"),e.EFF(31,"Grid Item"),e.k0s(),e.nrm(32,"cookbook-api-description-properties",4),e.k0s()),2&vt&&(e.R7$(8),e.Y8G("ngForOf",e.i5U(9,4,Ge.shorthandToBreakpointMap,Ge.originalOrder)),e.R7$(14),e.Y8G("html",Ge.exampleHtml),e.R7$(7),e.Y8G("properties",Ge.gridProperties),e.R7$(3),e.Y8G("properties",Ge.gridItemProperties))},dependencies:[Xe.pM,n.s,Dr.C,pt,Xe.lG],encapsulation:2})}return Ve})();var xe=l(35043),Ne=l(37015),dt=l(82356),zt=l(58311);let gn=(()=>{class Ve{constructor(){this.defaultHtmlSnippet=Ne.q.htmlSnippet,this.sizesHtmlSnippet=dt.l.htmlSnippet,this.customHtmlSnippet=zt.C.htmlSnippet,this.iconRegistrationCodeSnippet=zt.C.codeSnippet,this.provideNewIconUrlCodeSnippet="// In app providers:\n{\n provide: BUILT_IN_ICONS_URL,\n useValue: 'https://example.org/1.0.1/kirby/icons/svg/'\n}",this.properties=[{name:"name",description:"Name of the icon that you want to show. If a matching icon is not found, the default is used.",defaultValue:"cog",type:xe.o$},{name:"size",description:"Determines the size of the icon.",defaultValue:xe.lK.SM,type:Object.values(xe.lK)},{name:"themeColor",description:"Sets which color the icon should use from the theme palette.",defaultValue:"null",type:["primary","secondary","tertiary","success","warning","danger","light","medium","dark"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-icon-showcase"]],decls:88,vars:6,consts:[[1,"example"],[3,"hasMargin"],[3,"html"],["href","https://github.com/kirbydesign/designsystem?tab=readme-ov-file#icons","target","_blank",1,"kirby-external-icon"],[3,"ts"],[3,"ts","html"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.EFF(1,"\n "),e.j41(2,"p"),e.EFF(3,"\n Kirby comes pre-packaged with a set of icons hand-crafted to be round and friendly. They are\n used together with other components to explain actions and functions of the UI.\n "),e.k0s(),e.EFF(4,"\n\n "),e.nrm(5,"kirby-divider",1),e.EFF(6,"\n "),e.j41(7,"p"),e.EFF(8,"\n The icon component only request icons visible to the the user (icons above the fold). The\n component will dynamically load an SVG for each icon, so your app is only requesting the icons\n that you need.\n "),e.k0s(),e.EFF(9,"\n\n "),e.j41(10,"h2"),e.EFF(11,"Default Icons (click to copy)"),e.k0s(),e.EFF(12,"\n "),e.j41(13,"cookbook-example-viewer",2),e.EFF(14,"\n "),e.nrm(15,"cookbook-icon-default-example"),e.EFF(16,"\n "),e.k0s(),e.EFF(17,"\n\n "),e.j41(18,"h2"),e.EFF(19,"Sizes"),e.k0s(),e.EFF(20,"\n "),e.j41(21,"cookbook-example-viewer",2),e.EFF(22,"\n "),e.nrm(23,"cookbook-icon-sizes-example"),e.EFF(24,"\n "),e.k0s(),e.EFF(25,"\n\n "),e.j41(26,"h2"),e.EFF(27,"Setup"),e.k0s(),e.EFF(28,"\n "),e.j41(29,"p"),e.EFF(30,"\n To setup the Kirby icons ensure that the\n "),e.j41(31,"code"),e.EFF(32,".svg"),e.k0s(),e.EFF(33,"\n files used by Kirby are copied to your output folder as\n "),e.j41(34,"a",3),e.EFF(35,"\n explained in our readme file\n "),e.k0s(),e.EFF(36,"\n "),e.k0s(),e.EFF(37,"\n "),e.j41(38,"p"),e.EFF(39,"\n If the icons exists at another location, it is possible to configure the path (can be both\n relative or absolute) that the icons are loaded from by providing the\n "),e.j41(40,"code"),e.EFF(41,"BUILT_IN_ICONS_URL"),e.k0s(),e.EFF(42,"\n injection token:\n "),e.k0s(),e.EFF(43,"\n "),e.nrm(44,"cookbook-code-viewer",4),e.EFF(45,"\n\n "),e.j41(46,"h2"),e.EFF(47,"Custom Icons"),e.k0s(),e.EFF(48,"\n "),e.j41(49,"p"),e.EFF(50,"\n For adding custom icons, use\n "),e.j41(51,"code"),e.EFF(52,"IconRegistryService"),e.k0s(),e.EFF(53,"\n in your\n "),e.j41(54,"code"),e.EFF(55,"NgModule"),e.k0s(),e.EFF(56,"\n . We recommend registering icons that are reused across an application in a top-level module. If\n icons are registered in modules that are not shared across the application consider namespacing\n them, e.g.\n "),e.j41(57,"code"),e.EFF(58,"my-feature-custom-icon-name"),e.k0s(),e.EFF(59,"\n to avoid collisions.\n "),e.k0s(),e.EFF(60,"\n\n "),e.j41(61,"p"),e.EFF(62,"\n Once registered custom icons can be used via the\n "),e.j41(63,"code"),e.EFF(64,"name"),e.k0s(),e.EFF(65,"\n property similar to default icons.\n "),e.k0s(),e.EFF(66,"\n\n "),e.EFF(67,"\n "),e.j41(68,"cookbook-example-viewer",5),e.EFF(69,"\n "),e.nrm(70,"cookbook-icon-custom-example"),e.EFF(71,"\n "),e.k0s(),e.EFF(72,"\n\n "),e.j41(73,"h2"),e.EFF(74,"Accessibility"),e.k0s(),e.EFF(75,"\n "),e.j41(76,"p"),e.EFF(77,"\n Icons are decorative by default and will be ignored by Assistive Technology. If an icon is\n important in order for the user to understand the content, the icon should be given an\n "),e.j41(78,"code"),e.EFF(79,"aria-label"),e.k0s(),e.EFF(80,"\n which makes it perceivable by screen readers.\n "),e.k0s(),e.EFF(81,"\n\n "),e.j41(82,"h2"),e.EFF(83,"Properties:"),e.k0s(),e.EFF(84,"\n "),e.nrm(85,"cookbook-api-description-properties",6),e.EFF(86,"\n"),e.k0s(),e.EFF(87,"\n")),2&vt&&(e.R7$(5),e.Y8G("hasMargin",!0),e.R7$(8),e.Y8G("html",Ge.defaultHtmlSnippet),e.R7$(8),e.Y8G("html",Ge.sizesHtmlSnippet),e.R7$(23),e.Y8G("ts",Ge.provideNewIconUrlCodeSnippet),e.R7$(24),e.Y8G("ts",Ge.iconRegistrationCodeSnippet),e.R7$(17),e.Y8G("properties",Ge.properties))},dependencies:[at.h,n.s,Ne.q,dt.l,_o.B,zt.C,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})();var Yn=l(33382),Do=l(35728);let Uo=(()=>{class Ve{constructor(){this.exampleHtml="

Item Group

\n\n\n

Section Header in Item Group

\n\n"}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-item-group-showcase"]],decls:23,vars:2,consts:[["itemGroupExample",""],["sectionHeaderExample",""],[3,"html"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p"),e.EFF(1," The "),e.j41(2,"code"),e.EFF(3,"kirby-item-group"),e.k0s(),e.EFF(4," is a layout container for grouping related content.\n"),e.k0s(),e.j41(5,"p"),e.EFF(6," It is ideal for grouping "),e.j41(7,"code"),e.EFF(8,"kirby-item"),e.k0s(),e.EFF(9," and "),e.j41(10,"code"),e.EFF(11,"kirby-item-sliding"),e.k0s(),e.EFF(12," . The group will also make sure that screen-readers will notify users of the existence of this grouping, if an item inside it recieves focus, via its group-role.\n"),e.k0s(),e.j41(13,"h2"),e.EFF(14,"Item Group"),e.k0s(),e.nrm(15,"cookbook-simple-item-group-example",null,0)(17,"cookbook-example-viewer",2),e.j41(18,"h2"),e.EFF(19,"Section Header in Item Group"),e.k0s(),e.nrm(20,"cookbook-item-group-with-section-header-example",null,1)(22,"cookbook-example-viewer",2)),2&vt){const vo=e.sdS(16),Po=e.sdS(21);e.R7$(17),e.Y8G("html",vo.template),e.R7$(5),e.Y8G("html",Po.template)}},dependencies:[Yn.q,n.s,Do.A],encapsulation:2})}return Ve})();var oi=l(29756),Ni=l(84584),yr=l(81365);const ir_template='

{{text}}

\n\n \n Vestas Wind System\n \n\n \n Cypress Semiconductor Corporation\n \n\n \n Ultragenyx Pharmaceutical Inc.\n \n\n \n Astronics Corporation\n \n',ir_codeSnippet="export class ItemSlidingSimpleExampleComponent {\n text = 'Nothing was selected';\n \n swipeActions: ItemSwipeAction[] = [\n {\n title: 'edit',\n type: 'success',\n onSelected: () => {\n this.text = 'Edit was clicked';\n },\n },\n {\n title: 'archive',\n type: 'warning',\n onSelected: () => {\n this.text = 'Archive was clicked';\n },\n },\n {\n title: 'delete',\n icon: 'trash',\n onSelected: () => {\n this.text = 'Delete was clicked';\n },\n type: 'danger',\n },\n ];\n }\n}";let bi=(()=>{class Ve{constructor(){this.template=ir_template,this.codeSnippet=ir_codeSnippet,this.text="Nothing was selected",this.swipeActions=[{title:"edit",type:"success",onSelected:()=>{this.text="Edit was clicked"}},{title:"archive",type:"warning",onSelected:()=>{this.text="Archive was clicked"}},{title:"delete",icon:"trash",onSelected:()=>{this.text="Delete was clicked"},type:"danger"}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-item-sliding-simple-example"]],decls:15,vars:5,consts:[[3,"swipeActions"]],template:function(vt,Ge){1&vt&&(e.j41(0,"p"),e.EFF(1),e.k0s(),e.j41(2,"kirby-list-experimental")(3,"kirby-item-sliding",0)(4,"kirby-item"),e.EFF(5,"Vestas Wind System"),e.k0s()(),e.j41(6,"kirby-item-sliding",0)(7,"kirby-item"),e.EFF(8,"Cypress Semiconductor Corporation"),e.k0s()(),e.j41(9,"kirby-item-sliding",0)(10,"kirby-item"),e.EFF(11,"Ultragenyx Pharmaceutical Inc."),e.k0s()(),e.j41(12,"kirby-item-sliding",0)(13,"kirby-item"),e.EFF(14,"Astronics Corporation"),e.k0s()()()),2&vt&&(e.R7$(),e.JRh(Ge.text),e.R7$(2),e.Y8G("swipeActions",Ge.swipeActions),e.R7$(3),e.Y8G("swipeActions",Ge.swipeActions),e.R7$(3),e.Y8G("swipeActions",Ge.swipeActions),e.R7$(3),e.Y8G("swipeActions",Ge.swipeActions))},dependencies:[oi.HV,oi.qN,Ni.d,yr.kA,yr.JA],encapsulation:2})}return Ve})();var Rs=l(11330);let Us=(()=>{class Ve{constructor(){this._cardHasPadding=!0,this._inputPropertiesApiDescription=[{name:"swipeActions",description:"(Required) A list of swipe actions that are used to configure the buttons which are revealed when the item is swiped. See the below description of the ItemSwipeAction object for more info on configuration.",type:["ItemSwipeAction[]"],defaultValue:"undefined"},{name:"side",description:"The side the swipe actions should be displayed in.",type:['"left"','"right"'],defaultValue:'"left"'}],this._swipeActionApiDescription=[{name:"title",description:"(Required) The text the swipe action button should be displayed with.",type:["string"],defaultValue:"undefined"},{name:"onSelected",description:"(Required) Callback function that is triggered when the swipe action button is selected.",type:["() => void"],defaultValue:"undefined"},{name:"icon",description:"Name of icon the swipe action button should be displayed with. Note: Does not currently support custom icons. See the following showcase page for icons: https://cookbook.kirby.design/#/home/showcase/icon",type:["string"],defaultValue:"undefined"},{name:"type",description:"The type determines the styling of the button.",type:['"danger"','"warning"','"success"'],defaultValue:"undefined"},{name:"isDisabled",description:"If true will cause the swipe action button to not be displayed.",type:["boolean"],defaultValue:"false"}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-item-sliding-showcase"]],decls:59,vars:8,consts:[["simpleExample",""],["conditionalExample",""],["variant","flat",3,"hasPadding"],[3,"html","ts"],[3,"properties"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"article")(1,"section")(2,"h2"),e.EFF(3,"Overview"),e.k0s(),e.j41(4,"p"),e.EFF(5," The "),e.j41(6,"code"),e.EFF(7,"kirby-item-sliding"),e.k0s(),e.EFF(8," element is used to extend the "),e.j41(9,"code"),e.EFF(10,"kirby-item"),e.k0s(),e.EFF(11," component with functionality to reveal buttons when swiped. These buttons are created from a list of "),e.j41(12,"code"),e.EFF(13,"swipeAction"),e.k0s(),e.EFF(14," objects which is provided via the "),e.j41(15,"code"),e.EFF(16,"swipeActions"),e.k0s(),e.EFF(17," input property. "),e.k0s(),e.j41(18,"p"),e.EFF(19," Each "),e.j41(20,"code"),e.EFF(21,"swipeAction"),e.k0s(),e.EFF(22," object can be given properties to configure the corresponding button with a title, icon, type, disabled status and behaviour when selected. "),e.k0s()(),e.j41(23,"section")(24,"h2"),e.EFF(25,"Examples"),e.k0s(),e.j41(26,"h3"),e.EFF(27,"Simple list with swipe actions"),e.k0s(),e.j41(28,"p"),e.EFF(29," Below is an example of "),e.j41(30,"code"),e.EFF(31,"kirby-item-sliding"),e.k0s(),e.EFF(32," used in a list. Three swipe actions are given: edit, archive and delete. Each are configured with a title, type and a function to call when selected. The delete action has been configured to display an icon. "),e.k0s(),e.j41(33,"kirby-card",2)(34,"cookbook-example-viewer",3),e.nrm(35,"cookbook-item-sliding-simple-example",null,0),e.k0s()(),e.nrm(37,"br"),e.j41(38,"h3"),e.EFF(39,"Conditional configuration of swipe actions"),e.k0s(),e.j41(40,"p"),e.EFF(41," This example is an extension of the above \"simple list with swipe actions\" example. The 'delete' swipe action is conditionally disabled on a per item basis, based on whether it is deleteable. "),e.k0s(),e.j41(42,"kirby-card",2)(43,"cookbook-example-viewer",3),e.nrm(44,"cookbook-item-sliding-conditional-example",null,1),e.k0s()(),e.nrm(46,"br"),e.k0s(),e.j41(47,"section")(48,"h2"),e.EFF(49,"API Description"),e.k0s(),e.j41(50,"h3"),e.EFF(51,"Input properties"),e.k0s(),e.nrm(52,"cookbook-api-description-properties",4),e.j41(53,"h3"),e.EFF(54," The "),e.j41(55,"code"),e.EFF(56,"ItemSwipeAction"),e.k0s(),e.EFF(57," object "),e.k0s(),e.nrm(58,"cookbook-api-description-properties",4),e.k0s()()),2&vt){const vo=e.sdS(36),Po=e.sdS(45);e.R7$(33),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",vo.template)("ts",vo.codeSnippet),e.R7$(8),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",Po.template)("ts",Po.codeSnippet),e.R7$(9),e.Y8G("properties",Ge._inputPropertiesApiDescription),e.R7$(6),e.Y8G("properties",Ge._swipeActionApiDescription)}},dependencies:[Ft.Dw,Ft.ib,n.s,bi,Rs.R,pt],encapsulation:2})}return Ve})();var _s=l(81568),ia=l(96325);const pa_template='Trailing icon',pa_style='@use \'@kirbydesign/core/src/scss/utils\';\n\n.trailing-icon-example {\n // Using a Kirby icon:\n @include utils.trailing-icon("navigation");\n \n // Using a URL to an svg:\n @include utils.trailing-icon("https://cdn.jsdelivr.net/npm/open-iconic@1.1.1/svg/heart.svg");\n}';let Ds=(()=>{class Ve{constructor(){this.template=pa_template,this.style=pa_style}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-link-example-trailing-icon"]],decls:2,vars:0,consts:[["target","_blank","href","https://github.com/kirbydesign/designsystem",1,"trailing-icon-example"]],template:function(vt,Ge){1&vt&&(e.j41(0,"a",0),e.EFF(1,"Trailing icon"),e.k0s())},styles:['[_nghost-%COMP%]{display:block;margin-bottom:16px}[_nghost-%COMP%] a[_ngcontent-%COMP%]{margin-right:16px}.trailing-icon-example[_ngcontent-%COMP%]{background-image:url(/assets/kirby/icons/svg/navigation.svg);background-image:-webkit-image-set("assets/kirby/icons/svg/navigation.svg");background-image:image-set("assets/kirby/icons/svg/navigation.svg");white-space:nowrap;background-repeat:no-repeat;background-position:right 50%;background-size:1.5em;padding-right:calc(1.5em + 4px)}']})}return Ve})(),qa=(()=>{class Ve{static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-link-showcase"]],decls:61,vars:4,consts:[["internal",""],["newTab",""],["trailingTab",""],["routerLink","/home/showcase/button"],["routerLink","/home/showcase/fonts"],[3,"html"],["href","https://github.com/kirbydesign/designsystem"],[3,"html","css"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p"),e.EFF(1," Links are used for navigation between pages. They can be standalone links used on their own or inline links placed within a sentence.\n"),e.k0s(),e.j41(2,"p"),e.EFF(3," A link should be used for simple navigation. That is, situations where the user will be sent to a new resource or destination in the app via a "),e.j41(4,"code"),e.EFF(5,"href"),e.k0s(),e.EFF(6," . Use "),e.j41(7,"a",3),e.EFF(8,"buttons"),e.k0s(),e.EFF(9," instead of links if the user is not redirected to a new destination but instead triggers an action, makes a choice, or in any way manipulate data.\n"),e.k0s(),e.j41(10,"p"),e.EFF(11," Rather than providing a component for links Kirby simply provides custom styles for the "),e.j41(12,"code"),e.EFF(13,""),e.k0s(),e.EFF(14," tag that gives a consistent look and feel of links. Links have an underline and inherit the text color of the surrounding elements. The color of visited links does not change.\n"),e.k0s(),e.j41(15,"h2"),e.EFF(16,"Sizes"),e.k0s(),e.j41(17,"p"),e.EFF(18," By default, links inherit the font-size of the context they are used in. For standalone links, any font-class from "),e.j41(19,"a",4),e.EFF(20,"Kirby Fonts"),e.k0s(),e.EFF(21," can be applied. For accessibility reasons it is not recommended to use links when the clickable text is smaller than 12px (extra small).\n"),e.k0s(),e.j41(22,"cookbook-example-viewer",5),e.nrm(23,"cookbook-link-example-default",null,0),e.k0s(),e.j41(25,"h2"),e.EFF(26,"New tab"),e.k0s(),e.j41(27,"p"),e.EFF(28," If the link is standalone, and will open a new tab, use the "),e.j41(29,"code"),e.EFF(30,"kirby-external-icon"),e.k0s(),e.EFF(31," css-class to show an icon immediately after the link.\n"),e.k0s(),e.j41(32,"cookbook-example-viewer",5),e.nrm(33,"cookbook-link-example-new-tab",null,1),e.k0s(),e.j41(35,"p"),e.EFF(36," It is not recommended to use this option for inline links. Instead, consider writing out the source for inline links so it is clear that clicking the link will take the user to a new context, e.g. "),e.j41(37,"a",6),e.EFF(38,"www.github.com/kirbydesign/designsystem"),e.k0s(),e.EFF(39," . Then the user can choose how they want to open the link.\n"),e.k0s(),e.j41(40,"p")(41,"b"),e.EFF(42,"Note:"),e.k0s(),e.EFF(43," In a non-web context, i.e. an app, any link will most likely launch the device's browser and effectively open a new tab outside the app context.\n"),e.k0s(),e.j41(44,"h2"),e.EFF(45,"Custom trailing-icon"),e.k0s(),e.j41(46,"p"),e.EFF(47," If you want to use a custom icon after the link instead of the external link icon then include the Kirby SCSS @mixin "),e.j41(48,"code"),e.EFF(49,"utils.trailing-icon"),e.k0s(),e.EFF(50," and the icon name of your choosing: "),e.j41(51,"code"),e.EFF(52,"@include trailing-icon(iconName)"),e.k0s()(),e.j41(53,"p"),e.EFF(54," The example below is using "),e.j41(55,"code"),e.EFF(56,'"navigation"'),e.k0s(),e.EFF(57," as iconName. If you want to use an external svg, then you can input a URL instead of iconName. View code to see examples.\n"),e.k0s(),e.j41(58,"cookbook-example-viewer",7),e.nrm(59,"cookbook-link-example-trailing-icon",null,2),e.k0s()),2&vt){const vo=e.sdS(24),Po=e.sdS(34),Hn=e.sdS(60);e.R7$(22),e.Y8G("html",vo.template),e.R7$(10),e.Y8G("html",Po.template),e.R7$(26),e.Y8G("html",Hn.template)("css",Hn.style)}},dependencies:[ot.Wk,n.s,_s.x,ia.$,Ds],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})();var ya=l(57671),Ua=l(46692);let Ys=(()=>{class Ve{constructor(){this.multipleListsExample="\n \n ...\n\n\n\n \n ...\n"}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-list-experimental-showcase"]],decls:65,vars:3,consts:[["items",""],["slidingItems",""],[1,"examples"],["routerLink","/home/showcase/section-header"],[3,"html"],["routerLink","/home/showcase/item-sliding"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p"),e.EFF(1," Lists are made up of multiple rows of items which can contain items, text, buttons, icons, and much more. Lists generally contain items with similar data content, such as images and text.\n"),e.k0s(),e.j41(2,"p"),e.EFF(3," The list itself is essentially a container with styling for rounded corners and shadow around the list content. Anything can be placed into the list, but it comes with a bit of extra functionality when used together with "),e.j41(4,"code"),e.EFF(5,"kirby-section-header"),e.k0s(),e.EFF(6," and "),e.j41(7,"code"),e.EFF(8,"kirby-item"),e.k0s(),e.EFF(9," .\n"),e.k0s(),e.j41(10,"p"),e.EFF(11," When using "),e.j41(12,"code"),e.EFF(13,"kirby-item"),e.k0s(),e.EFF(14," , either on its own or wrapped in custom markup, the list expects its children to represent single item (e.g. not another container or wrapper element). This way, the first and last item will correctly have top and bottom spacing applied, to provide the correct appearance of the list.\n"),e.k0s(),e.j41(15,"div",2)(16,"div")(17,"h2"),e.EFF(18,"List with items"),e.k0s(),e.j41(19,"p"),e.EFF(20," The "),e.j41(21,"a",3),e.EFF(22,"Section Header"),e.k0s(),e.EFF(23," can be used on a list to create a set of grouped content, making use of the lists "),e.j41(24,"code"),e.EFF(25,"slots"),e.k0s(),e.EFF(26," . "),e.k0s(),e.j41(27,"p"),e.EFF(28," The list has two "),e.j41(29,"code"),e.EFF(30,"slots"),e.k0s(),e.EFF(31," , the default and the named "),e.j41(32,"code"),e.EFF(33,"outside"),e.k0s(),e.EFF(34," slot. The default slot is reserved for the list items, and receives the list-specific styling. The "),e.j41(35,"code"),e.EFF(36,"outside"),e.k0s(),e.EFF(37," slot is placed outside the styled part of the list, and is meant to be used with the "),e.j41(38,"code"),e.EFF(39,"kirby-section-header"),e.k0s(),e.EFF(40," or similar. "),e.k0s(),e.nrm(41,"cookbook-code-viewer",4),e.k0s(),e.nrm(42,"cookbook-list-experimental-items-example",null,0),e.j41(44,"div")(45,"h2"),e.EFF(46,"Sliding items in list"),e.k0s(),e.j41(47,"p"),e.EFF(48," Lists work out of the box with the interactive "),e.j41(49,"a",5),e.EFF(50,"Item Sliding"),e.k0s(),e.EFF(51," , allowing to swipe an item left or right to reveal options. Try dragging right on one of the items, to see swipe actions revealed to the left of the item content. See the page linked above for more details on "),e.j41(52,"code"),e.EFF(53,"kirby-item-sliding"),e.k0s(),e.EFF(54," . "),e.k0s(),e.nrm(55,"cookbook-code-viewer",4),e.k0s(),e.nrm(56,"cookbook-list-experimental-sliding-items-example",null,1),e.k0s(),e.j41(58,"h2"),e.EFF(59,"Sections"),e.k0s(),e.j41(60,"p"),e.EFF(61," It is important to note that the list does not have any functionality for multiple sections nested within the list itself. This would add extra (unnecessary) complexity to using the list.\n"),e.k0s(),e.j41(62,"p"),e.EFF(63," Instead, multiple lists should just be added one after another in a flat structure, as seen below.\n"),e.k0s(),e.nrm(64,"cookbook-code-viewer",4)),2&vt){const vo=e.sdS(43),Po=e.sdS(57);e.R7$(41),e.Y8G("html",vo.template),e.R7$(14),e.Y8G("html",Po.template),e.R7$(9),e.Y8G("html",Ge.multipleListsExample)}},dependencies:[ot.Wk,_o.B,ya.s,Ua.m],styles:[".examples[_ngcontent-%COMP%]{display:grid;gap:3rem;grid-template-columns:repeat(auto-fill,minmax(40ch,1fr));margin:2rem 0}"]})}return Ve})();var ja=l(57808),Br=l(345);const Zo=["iframe"];function Zi(Ve,kr){if(1&Ve){const Lt=e.RV6();e.j41(0,"div",12),e.EFF(1," Device view "),e.j41(2,"kirby-toggle",13),e.bIt("checkedChange",function(Ge){e.eBV(Lt);const vo=e.XpG();return e.Njj(vo.onViewModeToggleChange(Ge))}),e.k0s()()}if(2&Ve){const Lt=e.XpG();e.R7$(2),e.Y8G("checked","device"===Lt.viewMode)}}function ss(Ve,kr){if(1&Ve&&(e.j41(0,"a",14),e.EFF(1," Pop out "),e.k0s()),2&Ve){const Lt=e.XpG();e.Y8G("href",Lt.trustedSrc,e.B4B)}}let bs=(()=>{class Ve{constructor(Lt,vt){this.sanitizer=Lt,this.locationStrategy=vt,this.showViewModeToggle=!1}ngOnChanges(Lt){Lt.src&&(this.trustedSrc=this.createTrustedSrc(Lt.src.currentValue))}ngAfterViewInit(){this.iframe.nativeElement.onload=()=>this.onIframeLoaded()}onIframeLoaded(){const Lt=this.iframe.nativeElement.contentWindow.document.documentElement;"full-size"===this.viewMode?(Lt.style.setProperty("--ion-safe-area-top","0px"),Lt.style.setProperty("--ion-safe-area-bottom","0px")):(Lt.style.setProperty("--ion-safe-area-top","20px"),Lt.style.setProperty("--ion-safe-area-bottom","22px"))}createTrustedSrc(Lt){return this.sanitizer.bypassSecurityTrustResourceUrl(this.locationStrategy instanceof Xe.fw?`#${Lt}`:Lt)}onViewModeToggleChange(Lt){this.viewMode=Lt?"device":"full-size",this.onIframeLoaded()}static#e=this.\u0275fac=function(vt){return new(vt||Ve)(e.rXU(Br.up),e.rXU(Xe.hb))};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-iphone"]],viewQuery:function(vt,Ge){if(1&vt&&e.GBs(Zo,5,e.aKT),2&vt){let vo;e.mGM(vo=e.lsd())&&(Ge.iframe=vo.first)}},hostVars:2,hostBindings:function(vt,Ge){2&vt&&e.HbH(Ge.viewMode)},inputs:{src:"src",showExternalLink:"showExternalLink",viewMode:"viewMode",showViewModeToggle:"showViewModeToggle"},features:[e.OA$],decls:13,vars:3,consts:[["iframe",""],[1,"container"],["class","toggle-wrapper",4,"ngIf"],[1,"docs-demo-device","ios"],["viewBox","0 0 1384.3 40.3",1,"docs-demo-device-md-bar"],["d","M1343 5l18.8 32.3c.8 1.3 2.7 1.3 3.5 0L1384 5c.8-1.3-.2-3-1.7-3h-37.6c-1.5 0-2.5 1.7-1.7 3z",1,"st0"],["cx","1299","cy","20.2","r","20",1,"st0"],["d","M1213 1.2h30c2.2 0 4 1.8 4 4v30c0 2.2-1.8 4-4 4h-30c-2.2 0-4-1.8-4-4v-30c0-2.3 1.8-4 4-4zM16 4.2h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16z",1,"st0"],["viewBox","0 0 219 31",1,"docs-demo-device-ios-notch"],["d","M0 1V0h219v1a5 5 0 0 0-5 5v3c0 12.15-9.85 22-22 22H27C14.85 31 5 21.15 5 9V6a5 5 0 0 0-5-5z","fill-rule","evenodd"],["loading","lazy","importance","low",3,"src"],["class","kirby-external-icon","target","_blank",3,"href",4,"ngIf"],[1,"toggle-wrapper"],[3,"checkedChange","checked"],["target","_blank",1,"kirby-external-icon",3,"href"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",1),e.DNE(1,Zi,3,1,"div",2),e.j41(2,"div",3)(3,"figure"),e.qSk(),e.j41(4,"svg",4),e.nrm(5,"path",5)(6,"circle",6)(7,"path",7),e.k0s(),e.j41(8,"svg",8),e.nrm(9,"path",9),e.k0s(),e.joV(),e.nrm(10,"iframe",10,0),e.k0s()(),e.DNE(12,ss,2,1,"a",11),e.k0s()),2&vt&&(e.R7$(),e.Y8G("ngIf",Ge.showViewModeToggle),e.R7$(9),e.Y8G("src",Ge.trustedSrc,e.f$h),e.R7$(2),e.Y8G("ngIf",Ge.showExternalLink))},dependencies:[Xe.bT,ja.a],styles:['.full-size[_nghost-%COMP%] iframe[_ngcontent-%COMP%]{border-radius:12px}.full-size[_nghost-%COMP%] .docs-demo-device[_ngcontent-%COMP%]{display:flex;position:relative;min-height:var(--docs-demo-device-height, 500px);border:1px solid #ddd;border-radius:12px;margin-bottom:12px}.full-size[_nghost-%COMP%] .docs-demo-device.ios[_ngcontent-%COMP%] .docs-demo-device-ios-notch[_ngcontent-%COMP%], .full-size[_nghost-%COMP%] .docs-demo-device.ios[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]:after{display:none}.full-size[_nghost-%COMP%] figure[_ngcontent-%COMP%]{display:contents}.toggle-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;justify-content:flex-end;padding-bottom:12px}.container[_ngcontent-%COMP%]{text-align:center}.docs-demo-device[_ngcontent-%COMP%]{--device-aspect-ratio: 2.125;--device-padding: 2rem;padding:var(--device-padding);top:0}.docs-demo-device[_ngcontent-%COMP%] > figure[_ngcontent-%COMP%]{border-radius:32px;box-shadow:0 0 0 14px #090a0d,0 0 0 17px #9fa3a8,0 0 34px 17px #0003;height:0;margin:0 auto;max-width:320px;min-width:320px;overflow:hidden;padding-bottom:680px;position:relative;width:calc((100vh - var(--header-height) - var(--device-padding) * 2) / var(--device-aspect-ratio));z-index:1}.docs-demo-device[_ngcontent-%COMP%] > figure[_ngcontent-%COMP%] > iframe[_ngcontent-%COMP%]{border:none;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.docs-demo-mode-toggle[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:center;padding-top:1rem}.docs-demo-mode-toggle[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:transparent;border:none;border-radius:16px;color:var(--text-color--light);cursor:pointer;font-size:10px;font-weight:700;letter-spacing:.1em;line-height:24px;margin:0 3px;padding:0 9px;text-transform:uppercase;transition:.2s background-color ease,.2s color ease}.docs-demo-mode-toggle[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, .docs-demo-mode-toggle[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active{outline:none}.docs-demo-mode-toggle[_ngcontent-%COMP%] button.is-selected[_ngcontent-%COMP%]{background-color:var(--text-color--dark);color:#fff}.docs-demo-source[_ngcontent-%COMP%]{align-items:center;display:flex;font-size:13px;justify-content:center}.docs-demo-source[_ngcontent-%COMP%] > ion-icon[_ngcontent-%COMP%]{margin-right:5px}@media (max-width: 767px){.docs-demo-device[_ngcontent-%COMP%], .pop-out[_ngcontent-%COMP%]{display:none}}.docs-demo-device-ios-notch[_ngcontent-%COMP%]{display:none;fill:#090a0d;left:50%;position:absolute;top:-1px;transform:translate(-50%);width:165px;z-index:2}.docs-demo-device.ios[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]:after{background-color:#00000080;border-radius:2px;bottom:6px;content:"";display:none;height:4px;left:50%;position:absolute;transform:translate(-50%);width:35%;z-index:1}.docs-demo-device.ios[_ngcontent-%COMP%] .docs-demo-device-ios-notch[_ngcontent-%COMP%], .docs-demo-device.ios[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]:after{display:block}.docs-demo-device.md[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{border-radius:20px}.docs-demo-device-md-bar[_ngcontent-%COMP%]{display:none}.docs-demo-device.md[_ngcontent-%COMP%] .docs-demo-device-md-bar[_ngcontent-%COMP%]{display:block;fill:#090a0d;opacity:.1;padding:.5rem .75rem;position:relative;width:100%;z-index:2}']})}return Ve})();var $s=l(34823);let xs=(()=>{class Ve{constructor(){this.exampleHtml=$s.f,this.properties=[{name:"isLoadOnDemandEnabled",description:"Determines if the loadOnDemand event should be emitted.",type:["boolean"],defaultValue:"If there is a subscriber to the loadOnDemand event: true, otherwise false."},{name:"noMoreItemsText",description:"Text to display when on demand loading of items is complete.",type:["string"],defaultValue:"undefined"}],this.events=[{name:"loadOnDemand",description:"Emitted when the user has scrolled 80% of the list.",signature:"KirbyListLoadMoreEvent { complete: (disableLoadMore?: boolean) => void; }"}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-list-load-on-demand-showcase"]],decls:45,vars:3,consts:[[1,"example"],[1,"example-wrapper"],[3,"html"],["src","/examples/list-load-on-demand","showExternalLink","true"],[3,"properties"],[3,"events"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0)(1,"p"),e.EFF(2," The kirby list will emit a "),e.j41(3,"code"),e.EFF(4,"loadMore"),e.k0s(),e.EFF(5," event, when the user has scrolled 80% of the list. It is the responsibility of the consumer to add more items to the bound "),e.j41(6,"code"),e.EFF(7,"items"),e.k0s(),e.EFF(8," . "),e.k0s(),e.j41(9,"p"),e.EFF(10," The event emitted is of type "),e.j41(11,"code"),e.EFF(12,"KirbyLoadMoreEvent"),e.k0s(),e.EFF(13," which exposes a "),e.j41(14,"code"),e.EFF(15,"complete()"),e.k0s(),e.EFF(16," callback function. "),e.k0s(),e.j41(17,"p"),e.EFF(18," The "),e.j41(19,"code"),e.EFF(20,"complete()"),e.k0s(),e.EFF(21," callback function should be called when the loading of the additional items are done. "),e.k0s(),e.j41(22,"p"),e.EFF(23," If "),e.j41(24,"code"),e.EFF(25,"complete(disableLoadMore?: boolean)"),e.k0s(),e.EFF(26," is called with the "),e.j41(27,"code"),e.EFF(28,"disableLoadMore"),e.k0s(),e.EFF(29," argument set to "),e.j41(30,"code"),e.EFF(31,"true"),e.k0s(),e.EFF(32," , no further events will be emitted. If "),e.j41(33,"code"),e.EFF(34,"noMoreItemsText"),e.k0s(),e.EFF(35," is configured it will be shown at the end of the list at this point. "),e.k0s()(),e.j41(36,"div",1),e.nrm(37,"cookbook-code-viewer",2)(38,"cookbook-iphone",3),e.k0s(),e.j41(39,"h2"),e.EFF(40,"Properties:"),e.k0s(),e.nrm(41,"cookbook-api-description-properties",4),e.j41(42,"h2"),e.EFF(43,"Events:"),e.k0s(),e.nrm(44,"cookbook-api-description-events",5)),2&vt&&(e.R7$(37),e.Y8G("html",Ge.exampleHtml),e.R7$(4),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("events",Ge.events))},dependencies:[_o.B,bs,pt,hn],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}.example-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:40px;margin-bottom:40px}"]})}return Ve})();var Ea=l(73182),qr=l(81096),ms=l(23114);let ra=(()=>{class Ve{static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-list-no-shape-showcase"]],decls:38,vars:3,consts:[["simpleListNoShapeExample",""],["detailedCardWithListNoShapeExample",""],["multiCardListNoShapeExample",""],[1,"example"],[3,"html"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"div",3)(1,"h2"),e.EFF(2,"List with no background shape"),e.k0s(),e.j41(3,"p"),e.EFF(4," Setting "),e.j41(5,"code"),e.EFF(6,'shape="none"'),e.k0s(),e.EFF(7," on a Kirby List removes the background and shadow from the list and the list item containers to provide flexibility when combined with other layout containers. "),e.k0s(),e.j41(8,"p"),e.EFF(9," Dividers will still be shown between list items, these can be removed by setting "),e.j41(10,"code"),e.EFF(11,'[showDivider]="false"'),e.k0s(),e.EFF(12," . "),e.k0s(),e.j41(13,"h2"),e.EFF(14,"Simple list with no shape"),e.k0s(),e.j41(15,"cookbook-example-viewer",4),e.nrm(16,"cookbook-simple-list-no-shape-example",null,0),e.k0s(),e.j41(18,"h2"),e.EFF(19,"List wrapped in card"),e.k0s(),e.j41(20,"p"),e.EFF(21," The list with no shape can be used when the list is inside another layout component, that comes with it's own shape or background, e.g. within a card. "),e.k0s(),e.j41(22,"cookbook-example-viewer",4),e.nrm(23,"cookbook-detailed-card-with-list-no-shape-example",null,1),e.k0s(),e.j41(25,"h2"),e.EFF(26,"List item wrapped in card"),e.k0s(),e.j41(27,"p"),e.EFF(28," When using the list with a custom item template where each item comes with it's own shape or background, e.g. using a card for each item, set both "),e.j41(29,"code"),e.EFF(30,'shape="none"'),e.k0s(),e.EFF(31," and "),e.j41(32,"code"),e.EFF(33,'[showDivider]="false"'),e.k0s(),e.EFF(34," to omit any background, shadow and dividers from the list. "),e.k0s(),e.j41(35,"cookbook-example-viewer",4),e.nrm(36,"cookbook-multi-card-list-no-shape-example",null,2),e.k0s()()),2&vt){const vo=e.sdS(17),Po=e.sdS(24),Hn=e.sdS(37);e.R7$(15),e.Y8G("html",vo.template),e.R7$(7),e.Y8G("html",Po.template),e.R7$(13),e.Y8G("html",Hn.template)}},dependencies:[n.s,Ea.i,qr.A,ms.p],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}cookbook-example-viewer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{display:block;margin-bottom:16px;max-width:550px}"]})}return Ve})();var ar=l(99080),gt=l(35022),Oe=l(32737),Ze=l(33082),bn=l(40041),Eo=l(23579),$o=l(69780),Ai=l(98988),Kr=l(53903);let Yr=(()=>{class Ve{constructor(){this.items=Oe.X,this.selectableItemsExampleTemplate=Ai.z,this.coloredItemsExampleTemplate=gt.p,this.sectionsAndColoredItemsExampleTemplate=Eo.M,this.headerAndFooterExampleTemplate=Ze.w,this.sectionsExampleTemplate=bn.p,this.standAloneExampleTemplate=Kr.S,this.sectionsAndStandAloneExampleTemplate=$o.t,this.noDividersExampleTemplate=ar.E,this.exampleHtml="\n \n\n",this.sectionHeaderExampleHtml='...',this.properties=[{name:"showDivider",description:"Determines if dividers (bottom-border on list items) should be shown or not",defaultValue:"true",type:["boolean"]},{name:"itemSelect",description:"Emitting event when an item is selected",defaultValue:"null",type:["any"]},{name:"getItemColor",description:" Callback used by each item in the list. Should return a ThemeColor which will become the background color of that item",defaultValue:"null",type:["ThemeColor"]},{name:"getSectionName",description:"Callback to determine name of section. Sections will be ordered alphabetically",defaultValue:"null",type:["string"]},{name:"getStandAloneByProperty",description:"A boolean property on the item that decides if the item should stand alone",defaultValue:"null",type:["string"]},{name:"standAloneSpacing",description:"Bottom margin for stand alone items",defaultValue:"null",type:["'xxxxs' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl'"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-list-showcase"]],decls:95,vars:10,consts:[[1,"example"],[1,"page-example"],[3,"html"],["src","/examples/list/with-items","showExternalLink","true"],["src","/examples/list/with-items-no-dividers","showExternalLink","true"],["src","/examples/list/with-selectable-items","showExternalLink","true"],["src","/examples/list/with-colored-items","showExternalLink","true"],["src","/examples/list/with-sections-and-colored-items","showExternalLink","true"],["src","/examples/list/with-header-and-footer","showExternalLink","true"],["src","/examples/list/with-sections","showExternalLink","true"],["src","/examples/list/with-stand-alone","showExternalLink","true"],["src","/examples/list/with-sections-and-stand-alone","showExternalLink","true"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0)(1,"p"),e.EFF(2," Lists are made up of multiple rows of items which can contain text, buttons, toggles, icons, thumbnails, and much more. Lists generally contain items with similar data content, such as images and text. "),e.k0s(),e.j41(3,"p"),e.EFF(4," Lists support several interactions including swiping items to reveal options, dragging to reorder items within the list, and deleting items. "),e.k0s()(),e.j41(5,"div",1)(6,"div")(7,"h2"),e.EFF(8,"List with items:"),e.k0s(),e.nrm(9,"cookbook-code-viewer",2),e.k0s(),e.j41(10,"div"),e.nrm(11,"cookbook-iphone",3),e.k0s()(),e.j41(12,"div",1)(13,"div")(14,"h2"),e.EFF(15,"List with items with no dividers:"),e.k0s(),e.nrm(16,"cookbook-code-viewer",2),e.k0s(),e.nrm(17,"cookbook-iphone",4),e.k0s(),e.j41(18,"div",1)(19,"div")(20,"h2"),e.EFF(21,"List with selectable items:"),e.k0s(),e.j41(22,"p"),e.EFF(23," In order to make items selectable a callback must provided to "),e.j41(24,"code"),e.EFF(25,"(itemSelect)"),e.k0s(),e.EFF(26," as shown below. If the item should have a darker background on hover and change the cursor to a pointer, then "),e.j41(27,"code"),e.EFF(28,'[selectable]="true"'),e.k0s(),e.EFF(29," must be provided to the "),e.j41(30,"code"),e.EFF(31,"kirby-item"),e.k0s(),e.EFF(32," component in the template. The selected item is highligted in bold by default. This behaviour can be suppressed by passing "),e.j41(33,"code"),e.EFF(34,'[disableSelectionHighlight]="true"'),e.k0s(),e.EFF(35," to the list component. "),e.k0s(),e.nrm(36,"cookbook-code-viewer",2),e.k0s(),e.j41(37,"div"),e.nrm(38,"cookbook-iphone",5),e.k0s()(),e.j41(39,"div",1)(40,"div")(41,"h2"),e.EFF(42,"List with colored items:"),e.k0s(),e.nrm(43,"cookbook-code-viewer",2),e.k0s(),e.j41(44,"div"),e.nrm(45,"cookbook-iphone",6),e.k0s()(),e.j41(46,"div",1)(47,"div")(48,"h2"),e.EFF(49,"List with sections and colored items:"),e.k0s(),e.nrm(50,"cookbook-code-viewer",2),e.k0s(),e.j41(51,"div"),e.nrm(52,"cookbook-iphone",7),e.k0s()(),e.j41(53,"div",1)(54,"div")(55,"h2"),e.EFF(56,"List with header and footer:"),e.k0s(),e.nrm(57,"cookbook-code-viewer",2),e.k0s(),e.j41(58,"div"),e.nrm(59,"cookbook-iphone",8),e.k0s()(),e.j41(60,"div",1)(61,"div")(62,"h2"),e.EFF(63,"List with sections:"),e.k0s(),e.nrm(64,"cookbook-code-viewer",2),e.k0s(),e.j41(65,"div"),e.nrm(66,"cookbook-iphone",9),e.k0s()(),e.j41(67,"div",1)(68,"div")(69,"h2"),e.EFF(70,"List with standalone items:"),e.k0s(),e.j41(71,"p"),e.EFF(72," Stand alone items are enabled by passing the "),e.j41(73,"code"),e.EFF(74,"getStandAloneByProperty"),e.k0s(),e.EFF(75," to the list. "),e.j41(76,"code"),e.EFF(77,"getStandAloneByProperty"),e.k0s(),e.EFF(78," is the name of the property on the item that defines if the item should stand alone. In this example some of the items have "),e.j41(79,"code"),e.EFF(80,"isStandAlone: true"),e.k0s(),e.EFF(81," . "),e.k0s(),e.nrm(82,"cookbook-code-viewer",2),e.k0s(),e.j41(83,"div"),e.nrm(84,"cookbook-iphone",10),e.k0s()(),e.j41(85,"div",1)(86,"div")(87,"h2"),e.EFF(88,"List with sections and standalone items:"),e.k0s(),e.nrm(89,"cookbook-code-viewer",2),e.k0s(),e.j41(90,"div"),e.nrm(91,"cookbook-iphone",11),e.k0s()(),e.j41(92,"h2"),e.EFF(93,"API:"),e.k0s(),e.nrm(94,"cookbook-api-description-properties",12)),2&vt&&(e.R7$(9),e.Y8G("html",Ge.items),e.R7$(7),e.Y8G("html",Ge.noDividersExampleTemplate),e.R7$(20),e.Y8G("html",Ge.selectableItemsExampleTemplate),e.R7$(7),e.Y8G("html",Ge.coloredItemsExampleTemplate),e.R7$(7),e.Y8G("html",Ge.sectionsAndColoredItemsExampleTemplate),e.R7$(7),e.Y8G("html",Ge.headerAndFooterExampleTemplate),e.R7$(7),e.Y8G("html",Ge.sectionsExampleTemplate),e.R7$(18),e.Y8G("html",Ge.standAloneExampleTemplate),e.R7$(7),e.Y8G("html",Ge.sectionsAndStandAloneExampleTemplate),e.R7$(5),e.Y8G("properties",Ge.properties))},dependencies:[_o.B,bs,pt],styles:[".page-example[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:40px;margin-bottom:40px}"]})}return Ve})();var _r=l(50753);let pr=(()=>{class Ve{constructor(){this.exampleHtml='

List with swipe actions:

\n\n \n
\n
\n
\n
\n

{{ item.title }}

\n {{ item.amount }}\n
\n
\n'}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-list-swipe-showcase"]],decls:3,vars:1,consts:[[1,"example"],[3,"html"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.nrm(1,"cookbook-list-swipe-example")(2,"cookbook-code-viewer",1),e.k0s()),2&vt&&(e.R7$(2),e.Y8G("html",Ge.exampleHtml))},dependencies:[_r.k,_o.B],encapsulation:2})}return Ve})();var Ar=l(50751),Ss=l(47008),la=l(36667);let Vs=(()=>{class Ve{constructor(Lt){this.loadingOverlayService=Lt,this.loadingOverlayServiceExample="import { LoadingOverlayService } from '@kirbydesign/designsystem';\n\n@Component({\n ...\n})\nexport class myComponent {\n constructor(private loadingOverlayService: LoadingOverlayService) {}\n \n public showFullscreenLoadingOverlay(showBackdrop: boolean, hideContent: boolean) {\n this.loadingOverlayService.showLoadingOverlay(showBackdrop, hideContent);\n }\n\n public hideFullscreenLoadingOverlay() {\n this.loadingOverlayService.hideLoadingOverlay()\n }\n}\n"}showFullscreenLoadingOverlay(Lt,vt){this.loadingOverlayService.showLoadingOverlay(Lt,vt),setTimeout(()=>{this.loadingOverlayService.hideLoadingOverlay()},5e3)}static#e=this.\u0275fac=function(vt){return new(vt||Ve)(e.rXU(la.a))};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-loading-overlay-service-example"]],decls:7,vars:1,consts:[["kirby-button","","attentionLevel","2","size","lg","expand","block",3,"click"],[3,"ts"]],template:function(vt,Ge){1&vt&&(e.j41(0,"button",0),e.bIt("click",function(){return Ge.showFullscreenLoadingOverlay(!0)}),e.EFF(1," Show full page loading overlay\n"),e.k0s(),e.j41(2,"button",0),e.bIt("click",function(){return Ge.showFullscreenLoadingOverlay(!1,!0)}),e.EFF(3," Show full page loading overlay that hides content\n"),e.k0s(),e.j41(4,"button",0),e.bIt("click",function(){return Ge.showFullscreenLoadingOverlay(!1)}),e.EFF(5," Show full page loading overlay without backdrop\n"),e.k0s(),e.nrm(6,"cookbook-code-viewer",1)),2&vt&&(e.R7$(6),e.Y8G("ts",Ge.loadingOverlayServiceExample))},dependencies:[Ss.Q,_o.B],encapsulation:2})}return Ve})(),ns=(()=>{class Ve{constructor(){this.exampleHtml='\n \n Show wrapper loading overlay\n \n \n Show wrapper loading overlay that hides content\n \n \n Show wrapper loading overlay without backdrop\n \n\n',this.properties=[{name:"isLoading",description:"Shows the loading spinner.",defaultValue:"false",type:["boolean"]},{name:"showBackdrop",description:"Adds a dimmer on the background.",defaultValue:"true",type:["boolean"]},{name:"hideContent",description:"Hides the content behind a backdrop with 100% opacity.",defaultValue:"false",type:["boolean"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-loading-overlay-showcase"]],decls:38,vars:2,consts:[[3,"html"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"p"),e.EFF(1,"The loading overlay is available both as a component and as a service."),e.k0s(),e.j41(2,"h2"),e.EFF(3,"Component"),e.k0s(),e.j41(4,"p"),e.EFF(5," The loading overlay component will add the overlay on top of the content that is slotted into the component.\n"),e.k0s(),e.j41(6,"cookbook-example-viewer",0),e.nrm(7,"cookbook-loading-overlay-example"),e.k0s(),e.j41(8,"h2"),e.EFF(9,"Properties"),e.k0s(),e.nrm(10,"cookbook-api-description-properties",1),e.j41(11,"h2"),e.EFF(12,"Service"),e.k0s(),e.j41(13,"p"),e.EFF(14," The service will show a full page loading overlay. It provides two methods: "),e.j41(15,"code"),e.EFF(16,"showLoadingOverlay"),e.k0s(),e.EFF(17," & "),e.j41(18,"code"),e.EFF(19,"hideLoadingOverlay"),e.k0s(),e.EFF(20," . "),e.j41(21,"code"),e.EFF(22,"showLoadingOverlay"),e.k0s(),e.EFF(23," takes two arguments:\n"),e.k0s(),e.j41(24,"ol")(25,"li")(26,"code"),e.EFF(27,"showBackdrop: boolean"),e.k0s(),e.EFF(28," - Shows the transparent loading overlay. "),e.k0s(),e.j41(29,"li")(30,"code"),e.EFF(31,"hideContent: boolean"),e.k0s(),e.EFF(32," - Shows the loading overlay with 100% opacity. "),e.k0s()(),e.j41(33,"p")(34,"code"),e.EFF(35,"hideLoadingOverlay"),e.k0s(),e.EFF(36," is required to dismiss the overlay. It takes no arguments.\n"),e.k0s(),e.nrm(37,"cookbook-loading-overlay-service-example")),2&vt&&(e.R7$(6),e.Y8G("html",Ge.exampleHtml),e.R7$(4),e.Y8G("properties",Ge.properties))},dependencies:[n.s,Ar.Y,pt,Vs],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}cookbook-loading-overlay-example[_ngcontent-%COMP%]{padding:0}"]})}return Ve})();var Hr=l(3271),os=l(49217),Ta=l(54976),Xs=l(34607),rl=l(97064),ca=l(81560),Ts=l(3745),va=l(26005);const Pa=()=>["/examples","modal-route-with-url-param","1978","page1"],ma=()=>({awesomeQueryParam:"awesome value"});let ea=(()=>{class Ve{constructor(){this.advancedConfigExample=Ta.T,this.basicConfigExample=rl.J,this.componentExample=va.K,this.outletExample=Xs.I,this.alertEmbeddedExample=Ts.x,this.alertModalConfigExample=ca.h,this.isOpenExampleHtml=va.K.isOpenExampleHtml,this.isOpenCodeSnippet=va.K.isOpenCodeSnippet,this.modalComponentAriaLabelCodeSnippet='\x3c!-- Setting a label when using the component-based modal --\x3e\n\n \n \x3c!-- Modal content here --\x3e\n \n',this.modalConfigAriaLabelCodeSnippet="// Setting a label when using the modal controller\nconst config: ModalConfig = {\n component: YourEmbeddedModalComponent,\n htmlAttributes: { 'aria-label': 'Accessible label for modal' },\n};",this.configProperties=[{name:"flavor",description:"(Optional) The flavor of the modal.\n \n With the `modal` flavor the dialog is presented directly on top of content, either as a full screen modal on small screens or centered on the page on larger screens.\n\n Modals with a `drawer` flavor appears as a sheet on top of page content on small screens, and adapts its height to fit its content. On\n larger screens the drawer is identical to the modal.\n \n Modals with a `compact` flavor simply render the specified component, similar to alerts.\n **Please note: As there is no toolbar or close button, you should handle closing the modal yourself.",defaultValue:"modal",type:["undefined","modal","drawer","compact"]},{name:"collapseTitle",description:"(Optional) If `true` will cause the title to initially be rendered as part of the content; once scrolled out of view it collapses and appears in the header area. \n \n Useful for long titles that would otherwise truncate. ",defaultValue:"false",type:["boolean"]},{name:"size",description:"(Optional) Defines the dialog width and height on larger screens. On small screens the dialog is always full-screen.",defaultValue:"medium",type:["undefined","small","medium","large","full-height"]},{name:"customHeight",description:"(Optional) Setting a customHeight overrides the height set by the size property on larger screens. Can be used with any string that is a valid value for the CSS height property. \n\n See: https://developer.mozilla.org/en-US/docs/Web/CSS/height ",defaultValue:"undefined",type:["undefined | string"]},{name:"drawerSupplementaryAction",description:"(Optional) Allows placing a supplementary button in the top right corner of drawers.\n Please note: Only available on modals with a `drawer` flavor.",defaultValue:"undefined",type:["{iconName: string, action: Function}"]},{name:"interactWithBackground",description:"(Optional) Removes backdrop and allows interaction with the background.\n Please note: Only available on modals with a `drawer` flavor.",defaultValue:"false",type:["boolean"]},{name:"canDismiss",description:"(Optional) Determines whether or not a modal can be dismissed.\n \n The canDismiss option takes a callback function that returns either a boolean or an AlertConfig. If an AlertConfig is returned an alert will appear when the user tries to dismiss the modal. If false is returned the modal cannot be dismissed by user-interaction or with ModalController.hideTopMost(). ",defaultValue:"true",type:["boolean | AlertConfig | Promise"]},{name:"scrollDisabled",description:"Disable scrolling of the modal",type:["true","false"],defaultValue:"false"},{name:"htmlAttributes",description:"(Optional) Adds custom attributes to the modal.",type:["{ [key: string]: any; }"],defaultValue:"undefined"}],this.modalConfigProperties=[{name:"component",description:"(Required) The component which will be rendered inside the modal.",defaultValue:"",type:["Component"]},{name:"componentProps",description:"(Optional) The data to pass to the modal component.",defaultValue:"",type:["undefined | { [key: string]: any; }"]},{name:"cssClass",description:"(Optional) Adds custom css classes to the modal. This allows for custom styling of the modal (see 'CSS Custom Properties' section).",defaultValue:"",type:["string |\xa0string[]"]}],this.footerProperties=[{name:"themeColor",description:"Theme color. 'light' will use the background-color variable",type:["white","light"],defaultValue:"white"},{name:"type",description:"Sets the type of the footer. When inline the footer will have a transparent background and no shadow.",type:["fixed","inline"],defaultValue:"fixed"}],this.events=[{name:"didPresent",description:"Emitted when the modal is ready and the enter animation has finished",signature:"Promise"},{name:"willClose",description:"Emitted when the user closes the modal or modal.close() method is called",signature:"Promise"}],this.cssCustomPropertiesColumns={name:"Name",description:"Description"},this.cssCustomProperties=[{name:"--kirby-modal-color",description:"Color of the modal."},{name:"--kirby-modal-background",description:"Background of the modal."}]}scrollTo(Lt){return Lt.scrollIntoView({behavior:"smooth"}),!1}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-modal-showcase"]],decls:845,vars:48,consts:[["componentBased",""],["controllerBased",""],["routeBased",""],["modalFlavors",""],["modalSizes",""],["modalContent",""],["drawerSupplementaryAction",""],["alertBeforeClose",""],["handleBrowserNavigation",""],["modalEvents",""],["returnData",""],["scrolling",""],["accessibility",""],["sharedProperties",""],["modalConfig",""],["href","#",3,"click"],[3,"html","ts"],["src","/examples/modal-component","viewMode","full-size","showExternalLink","true",1,"large-example",3,"showViewModeToggle"],[3,"html"],["src","/examples/modal-simple","viewMode","full-size","showExternalLink","true",1,"large-example",3,"showViewModeToggle"],["src","/examples/modal-route","viewMode","full-size","showExternalLink","true",1,"large-example",3,"showViewModeToggle"],["href","https://angular.dev/api/router/Route#outlet","target","_blank"],[3,"ts"],[3,"kirbyModalRouterLink","kirbyModalQueryParams"],[1,"comment"],["href","https://angular.dev/api/router/Router","target","_blank"],["href","https://angular.dev/api/router/NavigationExtras","target","_blank"],["href","https://angular.dev/api/router/ActivatedRoute","target","_blank"],["href","https://angular.dev/api/router/UrlCreationOptions#relativeTo","target","_blank"],["src","/examples/modal-advanced","viewMode","full-size","showExternalLink","true",1,"large-example",3,"showViewModeToggle"],["routerLink","/home/showcase/icon"],["target","_blank","href","https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this",1,"kirby-external-icon"],["src","/examples/modal-alert","viewMode","full-size","showExternalLink","true",1,"large-example",3,"showViewModeToggle"],["href","https://angular.dev/api/router/CanDeactivateFn","target","_blank"],[3,"currentStep"],["href","https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role"],[3,"ts","html"],[3,"routerLink"],[3,"properties"],[3,"events"],[3,"properties","columns"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"section"),e.EFF(1,"\n "),e.j41(2,"p"),e.EFF(3,"\n Modals focus the user's attention exclusively on one task or piece of information via a layer\n that sits on top of the page content.\n "),e.k0s(),e.EFF(4,"\n "),e.j41(5,"p"),e.EFF(6,"\n Modals are used to present information or request user input needed to complete a workflow. Use\n a modal when it is important to focus attention on one task or a piece of information. Modals\n interrupt a user's workflow by design. When active, the user is blocked from the on-page content\n and cannot return to their previous workflow until the modal task is completed or the modal is\n dismissed.\n "),e.k0s(),e.EFF(7,"\n "),e.j41(8,"ul"),e.EFF(9,"\n "),e.j41(10,"li"),e.EFF(11,"\n The modal comes in three different\n "),e.j41(12,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(297);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(13,"flavors"),e.k0s(),e.EFF(14,"\n and\n "),e.j41(15,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(340);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(16,"sizes"),e.k0s(),e.EFF(17,"\n "),e.k0s(),e.EFF(18,"\n "),e.j41(19,"li"),e.EFF(20,"\n Support for handling\n "),e.j41(21,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(628);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(22,"events"),e.k0s(),e.EFF(23,"\n "),e.k0s(),e.EFF(24,"\n "),e.j41(25,"li"),e.EFF(26,"\n Support for\n "),e.j41(27,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(677);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(28,"returning data"),e.k0s(),e.EFF(29,"\n from the modal to the parent/caller component\n "),e.k0s(),e.EFF(30,"\n "),e.j41(31,"li"),e.EFF(32,"\n Support for\n "),e.j41(33,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(461);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(34,"showing an alert before closing"),e.k0s(),e.EFF(35,"\n "),e.k0s(),e.EFF(36,"\n "),e.j41(37,"li"),e.EFF(38,"\n Support for programmatically\n "),e.j41(39,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(698);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(40,"scrolling"),e.k0s(),e.EFF(41,"\n the content\n "),e.k0s(),e.EFF(42,"\n "),e.j41(43,"li"),e.EFF(44,"\n Support for\n "),e.j41(45,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(368);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(46,"fixed footer"),e.k0s(),e.EFF(47,"\n "),e.k0s(),e.EFF(48,"\n "),e.j41(49,"li"),e.EFF(50,"\n "),e.j41(51,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(739);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(52,"Accessibility and keyboard support"),e.k0s(),e.EFF(53,"\n "),e.k0s(),e.EFF(54,"\n "),e.k0s(),e.EFF(55,"\n"),e.k0s(),e.EFF(56,"\n\n"),e.j41(57,"h2"),e.EFF(58,"Types of modals"),e.k0s(),e.EFF(59,"\n"),e.j41(60,"p"),e.EFF(61,"\n Modals can be either\n "),e.j41(62,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(79);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(63,"component"),e.k0s(),e.EFF(64,"\n ,\n "),e.j41(65,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(120);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(66,"controller"),e.k0s(),e.EFF(67,"\n or\n "),e.j41(68,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(144);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(69,"route based"),e.k0s(),e.EFF(70,"\n , each with its own advantages and drawbacks as outlined in the following sections.\n"),e.k0s(),e.EFF(71,"\n\n"),e.j41(72,"p"),e.EFF(73,"\n All types of modals support a shared set of config properties such as size and flavor. See the\n "),e.j41(74,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(797);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(75,"full list of shared properties"),e.k0s(),e.EFF(76,"\n for more info.\n"),e.k0s(),e.EFF(77,"\n\n"),e.j41(78,"h3",null,0),e.EFF(80,"Using the Modal Component"),e.k0s(),e.EFF(81,"\n"),e.j41(82,"p"),e.EFF(83,"\n The simplest way to show content in a modal dialog is to place it within a\n "),e.j41(84,"code"),e.EFF(85,"kirby-modal"),e.k0s(),e.EFF(86,"\n tag directly in your template.\n"),e.k0s(),e.EFF(87,"\n\n"),e.j41(88,"p"),e.EFF(89,"\n To provide a way for users to open the dialog, add an\n "),e.j41(90,"code"),e.EFF(91,"id"),e.k0s(),e.EFF(92,"\n to an interactive trigger element and pass it to the trigger property. When configured with a\n trigger the dialog opens only via user interaction. Similarly it can only be closed by interacting\n with the close button, backdrop or escape key.\n"),e.k0s(),e.EFF(93,"\n\n"),e.j41(94,"cookbook-example-viewer",16),e.EFF(95,"\n The\n "),e.j41(96,"code"),e.EFF(97,"isOpen"),e.k0s(),e.EFF(98,"\n property can be used as an alternative to the trigger if you need direct control over the dialogs\n open/closed state based on some application-state. In this case, remember to listen for dismissal\n of the modal to set isOpen to false:\n"),e.k0s(),e.EFF(99,"\n\n"),e.nrm(100,"cookbook-iphone",17),e.EFF(101,"\n"),e.nrm(102,"cookbook-example-viewer",18),e.EFF(103,"\n\n"),e.j41(104,"p"),e.EFF(105,"\n Make sure to nest all content inside an\n "),e.j41(106,"code"),e.EFF(107,"ng-template"),e.k0s(),e.EFF(108,"\n tag when using\n "),e.j41(109,"code"),e.EFF(110,"kirby-modal"),e.k0s(),e.EFF(111,"\n in your template. It is used internally by the\n "),e.j41(112,"code"),e.EFF(113,"ModalComponent"),e.k0s(),e.EFF(114,"\n as a\n "),e.j41(115,"i"),e.EFF(116,"hook"),e.k0s(),e.EFF(117,"\n for creating and destroying the child view when the dialog is opened and closed, preserving\n functionality of e.g. lifecycle hooks of any components shown inside.\n"),e.k0s(),e.EFF(118,"\n\n"),e.j41(119,"h3",null,1),e.EFF(121,"Using the ModalController"),e.k0s(),e.EFF(122,"\n"),e.j41(123,"p"),e.EFF(124,"\n If complete control over when the dialog can be shown and dismissed is needed consider using the\n "),e.j41(125,"code"),e.EFF(126,"ModalController"),e.k0s(),e.EFF(127,"\n to instantiate it programmatically. The\n "),e.j41(128,"code"),e.EFF(129,"ModalController"),e.k0s(),e.EFF(130,"\n can be used to present a component in a modal dialog by passing a\n "),e.j41(131,"code")(132,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(812);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(133,"ModalConfig"),e.k0s()(),e.EFF(134,"\n to the\n "),e.j41(135,"code"),e.EFF(136,"ModalController.showModal()"),e.k0s(),e.EFF(137,"\n method.\n"),e.k0s(),e.EFF(138,"\n\n"),e.nrm(139,"cookbook-iphone",19),e.EFF(140,"\n\n"),e.nrm(141,"cookbook-example-viewer",16),e.EFF(142,"\n\n"),e.j41(143,"h3",null,2),e.EFF(145,"Using route-based modals"),e.k0s(),e.EFF(146,"\n\n"),e.j41(147,"p"),e.EFF(148,"\n Routed modals are useful for creating wizard-type flows where the same modal is reused for showing\n multiple individual components one at a time. Modal routes will automatically open up a modal if\n none is already opened which also means they are ideal for deep-linking directly to routes of\n components that should be presented in a modal.\n"),e.k0s(),e.EFF(149,"\n\n"),e.nrm(150,"cookbook-iphone",20),e.EFF(151,"\n\n"),e.nrm(152,"cookbook-example-viewer",16),e.EFF(153,"\n\n"),e.j41(154,"p"),e.EFF(155,"\n Showing a component on its associated route inside a modal is achieved by configuring the route\n with a\n "),e.j41(156,"a",21),e.EFF(157,"secondary outlet"),e.k0s(),e.EFF(158,"\n named\n "),e.j41(159,"strong")(160,"code"),e.EFF(161,"modal"),e.k0s()(),e.EFF(162,"\n .\n"),e.k0s(),e.EFF(163,"\n"),e.j41(164,"p"),e.EFF(165,"\n The outlet-based modal accepts a\n "),e.j41(166,"code"),e.EFF(167,"RoutedModalConfig"),e.k0s(),e.EFF(168,"\n provided via the\n "),e.j41(169,"code"),e.EFF(170,"modalConfig"),e.k0s(),e.EFF(171,"\n object passed as additional route data.\n "),e.nrm(172,"br"),e.EFF(173,"\n\n "),e.j41(174,"em"),e.EFF(175,"\n This configuration also accepts a\n "),e.j41(176,"code"),e.EFF(177,"canDismiss"),e.k0s(),e.EFF(178,"\n property to\n "),e.j41(179,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(461);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(180,"show an alert before closing the modal"),e.k0s(),e.EFF(181,"\n .\n "),e.k0s(),e.EFF(182,"\n"),e.k0s(),e.EFF(183,"\n\n"),e.j41(184,"p"),e.EFF(185,"\n You can use the\n "),e.j41(186,"code"),e.EFF(187,"ModalEnabledRoutes"),e.k0s(),e.EFF(188,"\n type to enable strong typing for the\n "),e.j41(189,"code"),e.EFF(190,"ModalConfig"),e.k0s(),e.EFF(191,"\n inside the array of routes passed to Angular's\n "),e.j41(192,"code"),e.EFF(193,"RouterModule"),e.k0s(),e.EFF(194,"\n . This type directly extends the relevant Angular types, so it can be used in place of\n "),e.j41(195,"code"),e.EFF(196,"Routes"),e.k0s(),e.EFF(197,"\n or\n "),e.j41(198,"code"),e.EFF(199,"Route[]"),e.k0s(),e.EFF(200,"\n in your applications route configuration.\n"),e.k0s(),e.EFF(201,"\n"),e.nrm(202,"cookbook-example-viewer",22),e.EFF(203,"\n"),e.j41(204,"p"),e.EFF(205,"\n The URL for these kind of routes will look like this:\n "),e.j41(206,"strong")(207,"code"),e.EFF(208,"parent-component-route/(modal:some-child-route)"),e.k0s()(),e.EFF(209,"\n , where the parent component will be presented behind the modal.\n"),e.k0s(),e.EFF(210,"\n\n"),e.j41(211,"p"),e.EFF(212,"\n This means that with deeplinked modals\n "),e.j41(213,"a",23),e.EFF(214,"\n like this one\n "),e.k0s(),e.EFF(215,"\n we can send the user to a whole new context before showing the modal on top.\n"),e.k0s(),e.EFF(216,"\n\n"),e.nrm(217,"cookbook-example-viewer",18),e.EFF(218,"\n\n"),e.j41(219,"h4"),e.EFF(220,"Navigation"),e.k0s(),e.EFF(221,"\n\n"),e.j41(222,"p"),e.EFF(223,"\n Modal routes can be navigated to by adding\n "),e.j41(224,"code"),e.EFF(225,"kirbyModalRouterLink"),e.k0s(),e.EFF(226,"\n to the component's template and optionally pass query parameters with\n "),e.j41(227,"code"),e.EFF(228,"[kirbyModalQueryParams]"),e.k0s(),e.EFF(229,"\n . Alternatively, to navigate from code you can inject\n "),e.j41(230,"code"),e.EFF(231,"ModalController"),e.k0s(),e.EFF(232,"\n and call its\n "),e.j41(233,"code"),e.EFF(234,"navigateToModal"),e.k0s(),e.EFF(235,"\n method, where query params can be passed as the second argument.\n"),e.k0s(),e.EFF(236,"\n\n"),e.j41(237,"p",24),e.EFF(238,"\n "),e.j41(239,"strong"),e.EFF(240,"Please note:"),e.k0s(),e.EFF(241,'\n Always use Angular\'s "box" syntax for binding to\n '),e.j41(242,"code"),e.EFF(243,"[kirbyModalQueryParams]"),e.k0s(),e.EFF(244,"\n otherwise it will be treated as a string and not an object literal.\n"),e.k0s(),e.EFF(245,"\n\n"),e.nrm(246,"cookbook-example-viewer",16),e.EFF(247,"\n\n"),e.j41(248,"p"),e.EFF(249,"\n "),e.j41(250,"strong"),e.EFF(251,"Within the child component"),e.k0s(),e.EFF(252,"\n presented in the modal a regular Angular\n "),e.j41(253,"code"),e.EFF(254,"[routerLink]"),e.k0s(),e.EFF(255,"\n can be used with a relative path to the sibling modal route, and query params can be passed as\n normal using\n "),e.j41(256,"code"),e.EFF(257,"[queryParams]"),e.k0s(),e.EFF(258,"\n .\n"),e.k0s(),e.EFF(259,"\n\n"),e.j41(260,"p"),e.EFF(261,"\n If you need to navigate from code\n "),e.j41(262,"strong"),e.EFF(263,"within the child component"),e.k0s(),e.EFF(264,"\n you can either inject\n "),e.j41(265,"code"),e.EFF(266,"ModalController"),e.k0s(),e.EFF(267,"\n and call its\n "),e.j41(268,"code"),e.EFF(269,"navigateWithinModal"),e.k0s(),e.EFF(270,"\n method for convenience, which also support passing query params, or you can inject and navigate\n through the regular Angular\n "),e.j41(271,"code")(272,"a",25),e.EFF(273,"Router"),e.k0s()(),e.EFF(274,"\n . The latter is useful if you need to pass\n "),e.j41(275,"code"),e.EFF(276,"\n "),e.j41(277,"a",26),e.EFF(278,"NavigationExtras"),e.k0s(),e.EFF(279,"\n "),e.k0s(),e.EFF(280,"\n other than query params. Notice that when using the Angular Router you need to provide the current\n "),e.j41(281,"code"),e.EFF(282,"\n "),e.j41(283,"a",27),e.EFF(284,"ActivatedRoute"),e.k0s(),e.EFF(285,"\n "),e.k0s(),e.EFF(286,"\n as the root URI using the\n "),e.j41(287,"code"),e.EFF(288,"\n "),e.j41(289,"a",28),e.EFF(290,"\n relativeTo\n "),e.k0s(),e.EFF(291,"\n "),e.k0s(),e.EFF(292,"\n param.\n"),e.k0s(),e.EFF(293,"\n"),e.nrm(294,"cookbook-example-viewer",16),e.EFF(295,"\n\n"),e.j41(296,"h2",null,3),e.EFF(298,"Modal flavors"),e.k0s(),e.EFF(299,"\n"),e.j41(300,"p"),e.EFF(301,"\n The modal can have one of the following flavors:\n "),e.j41(302,"code"),e.EFF(303,"modal | drawer | compact"),e.k0s(),e.EFF(304,"\n"),e.k0s(),e.EFF(305,"\n\n"),e.j41(306,"h3"),e.EFF(307,"Modal"),e.k0s(),e.EFF(308,"\n"),e.j41(309,"p"),e.EFF(310,"\n With the\n "),e.j41(311,"code"),e.EFF(312,"modal"),e.k0s(),e.EFF(313,"\n flavor the dialog is presented directly on top of content, either as a full screen modal on small\n screens or centered on the page on larger screens.\n"),e.k0s(),e.EFF(314,"\n"),e.j41(315,"h3"),e.EFF(316,"Drawer"),e.k0s(),e.EFF(317,"\n"),e.j41(318,"p"),e.EFF(319,"\n On small screens the\n "),e.j41(320,"code"),e.EFF(321,"drawer"),e.k0s(),e.EFF(322,"\n acts as a sheet appearing on top of the page content, and adapts its height to fit its content. On\n larger screens the drawer flavor is identical to the modal flavor. Additionally, the drawer can\n have a\n "),e.j41(323,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(430);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(324,"supplementary action"),e.k0s(),e.EFF(325,"\n .\n"),e.k0s(),e.EFF(326,"\n\n"),e.j41(327,"h3"),e.EFF(328,"Compact"),e.k0s(),e.EFF(329,"\n"),e.j41(330,"p"),e.EFF(331,"\n The\n "),e.j41(332,"code"),e.EFF(333,"compact"),e.k0s(),e.EFF(334,"\n flavor renders a stripped-down version with no heading, toolbar or close button and no content\n scrolling. It is useful for presenting purely informational dialogs like\n "),e.j41(335,"em"),e.EFF(336,"out-of-order"),e.k0s(),e.EFF(337,"\n style modals.\n"),e.k0s(),e.EFF(338,"\n\n"),e.j41(339,"h2",null,4),e.EFF(341,"Sizes"),e.k0s(),e.EFF(342,"\n"),e.j41(343,"p"),e.EFF(344,"\n On larger screens modals and drawers can be opened in three different sizes:\n "),e.j41(345,"code"),e.EFF(346,"small | medium | large"),e.k0s(),e.EFF(347,"\n . On smaller screens the modal is always full-screen. The compact flavor has a fixed width and\n ignores any configured size.\n"),e.k0s(),e.EFF(348,"\n"),e.j41(349,"p"),e.EFF(350,"\n Additionally\n "),e.j41(351,"code"),e.EFF(352,"customHeight"),e.k0s(),e.EFF(353,"\n can be configured to override any default height set via the\n "),e.j41(354,"code"),e.EFF(355,"size"),e.k0s(),e.EFF(356,"\n property.\n"),e.k0s(),e.EFF(357,"\n\n"),e.j41(358,"h2"),e.EFF(359,"Configuring your component"),e.k0s(),e.EFF(360,"\n"),e.j41(361,"p"),e.EFF(362,"\n To configure the component embedded inside the modal, ensure that the embedded component is\n declared either as a standalone component or in\n "),e.j41(363,"code"),e.EFF(364,"entryComponents"),e.k0s(),e.EFF(365,"\n in a module.\n"),e.k0s(),e.EFF(366,"\n\n"),e.j41(367,"h3",null,5),e.EFF(369,"Modal content"),e.k0s(),e.EFF(370,"\n"),e.j41(371,"p"),e.EFF(372,"\n Inside the embedded component markup you should include a\n "),e.j41(373,"code"),e.EFF(374,"kirby-page-title"),e.k0s(),e.EFF(375,"\n element with the title of your dialog.\n"),e.k0s(),e.EFF(376,"\n\n"),e.j41(377,"p"),e.EFF(378,"\n Optionally, if you have a multi-step dialog you can display a progress status in the modal header\n by including a\n "),e.j41(379,"code"),e.EFF(380,"kirby-page-progress"),e.k0s(),e.EFF(381,"\n element with the content of your progress tracker.\n"),e.k0s(),e.EFF(382,"\n"),e.j41(383,"p"),e.EFF(384,"\n To render a footer at the bottom of the modal include a\n "),e.j41(385,"code"),e.EFF(386,"kirby-modal-footer"),e.k0s(),e.EFF(387,"\n inside the embedded component.\n"),e.k0s(),e.EFF(388,"\n\n"),e.nrm(389,"cookbook-example-viewer",18),e.EFF(390,"\n\n"),e.j41(391,"h2"),e.EFF(392,"Advanced use cases"),e.k0s(),e.EFF(393,"\n"),e.j41(394,"p"),e.EFF(395,"\n This example acts as a playground where any combination of properties of the\n "),e.j41(396,"code"),e.EFF(397,"ModalConfig"),e.k0s(),e.EFF(398,"\n can be explored including the interplay between multiple types and sizes of nested modals.\n"),e.k0s(),e.EFF(399,"\n"),e.j41(400,"p"),e.EFF(401,"\n In both the example below and within the opened modals the configuration sheet can be used to\n explore the different configuration options the modal has to offer.\n"),e.k0s(),e.EFF(402,"\n\n"),e.nrm(403,"cookbook-iphone",29),e.EFF(404,"\n\n"),e.nrm(405,"cookbook-example-viewer",16),e.EFF(406,"\n\n"),e.j41(407,"h3"),e.EFF(408,"Passing data into components"),e.k0s(),e.EFF(409,"\n"),e.j41(410,"p"),e.EFF(411,"\n To access data passed into the embedded component, inject the\n "),e.j41(412,"code"),e.EFF(413,"COMPONENT_PROPS"),e.k0s(),e.EFF(414,"\n inside the embedded component's constructor:\n"),e.k0s(),e.EFF(415,"\n"),e.nrm(416,"cookbook-code-viewer",22),e.EFF(417,"\n\n"),e.j41(418,"h3"),e.EFF(419,"Programmatically closing the modal"),e.k0s(),e.EFF(420,"\n"),e.j41(421,"p"),e.EFF(422,"\n In order to hide a modal from within your embedded component (and destroy its component), you can\n inject the modal window that your component is displayed within:\n "),e.nrm(423,"cookbook-code-viewer",22),e.EFF(424,"\n"),e.k0s(),e.EFF(425,"\n\n"),e.j41(426,"p"),e.EFF(427,"\n It is possible to open additional nested modals from within your embedded components, by applying\n all the same services and principles as described in all of the above.\n"),e.k0s(),e.EFF(428,"\n\n"),e.j41(429,"h3",null,6),e.EFF(431,"Drawer - supplementary action"),e.k0s(),e.EFF(432,"\n"),e.j41(433,"p"),e.EFF(434,"\n The\n "),e.j41(435,"code"),e.EFF(436,"ModalConfig"),e.k0s(),e.EFF(437,"\n can be configured with\n "),e.j41(438,"code"),e.EFF(439,"drawerSupplementaryAction"),e.k0s(),e.EFF(440,"\n to render an additional button in the top left corner when the\n "),e.j41(441,"code"),e.EFF(442,"drawer"),e.k0s(),e.EFF(443,"\n flavor is used. The\n "),e.j41(444,"code"),e.EFF(445,"drawerSupplementaryAction"),e.k0s(),e.EFF(446,"\n option takes an\n "),e.j41(447,"code"),e.EFF(448,"iconName"),e.k0s(),e.EFF(449,"\n which corresponds to the name of a\n "),e.j41(450,"a",30)(451,"code"),e.EFF(452,"kirby-icon"),e.k0s()(),e.EFF(453,"\n and an\n "),e.j41(454,"code"),e.EFF(455,"action"),e.k0s(),e.EFF(456,"\n function which is invoked when the supplementary button is selected.\n"),e.k0s(),e.EFF(457,"\n"),e.nrm(458,"cookbook-example-viewer",22),e.EFF(459,"\n\n"),e.j41(460,"h2",null,7),e.EFF(462,"\n Show an alert before dismissing the modal\n "),e.j41(463,"em"),e.EFF(464,"(optional)"),e.k0s(),e.EFF(465,"\n :\n"),e.k0s(),e.EFF(466,"\n\n"),e.j41(467,"p"),e.EFF(468,"\n It is possible to provide a\n "),e.j41(469,"code"),e.EFF(470,"canDismiss"),e.k0s(),e.EFF(471,"\n callback to the modal that returns either a\n "),e.j41(472,"code"),e.EFF(473,"boolean"),e.k0s(),e.EFF(474,"\n or an\n "),e.j41(475,"code"),e.EFF(476,"AlertConfig"),e.k0s(),e.EFF(477,"\n . If an\n "),e.j41(478,"code"),e.EFF(479,"AlertConfig"),e.k0s(),e.EFF(480,"\n is being returned, an alert will appear when the user tries to dismiss the modal.\n"),e.k0s(),e.EFF(481,"\n"),e.j41(482,"p"),e.EFF(483,"\n When configuring the modal to show an alert before closing, you should also\n "),e.j41(484,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(558);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(485,"\n guard for browser back navigation (see below)\n "),e.k0s(),e.EFF(486,"\n . Otherwise the browser will navigate behind the active modal\u2014and the alert\u2014when the user\n navigates back in history.\n"),e.k0s(),e.EFF(487,"\n"),e.j41(488,"p"),e.EFF(489,"\n The callback can be set on the parent modal from your own embedded component or provided in the\n "),e.j41(490,"code"),e.EFF(491,"ModalConfig"),e.k0s(),e.EFF(492,"\n . When using the modal component in your template the callback can be set directly via the\n "),e.j41(493,"code"),e.EFF(494,"canDismiss"),e.k0s(),e.EFF(495,"\n input property.\n"),e.k0s(),e.EFF(496,"\n"),e.j41(497,"p"),e.EFF(498,"\n "),e.j41(499,"em"),e.EFF(500,"\n "),e.j41(501,"strong"),e.EFF(502,"Please note:"),e.k0s(),e.EFF(503,"\n to avoid\n "),e.j41(504,"code"),e.EFF(505,"this"),e.k0s(),e.EFF(506,"\n being\n "),e.j41(507,"code"),e.EFF(508,"undefined"),e.k0s(),e.EFF(509,"\n in the function callback be sure to either\n "),e.j41(510,"code"),e.EFF(511,"bind()"),e.k0s(),e.EFF(512,"\n the function or use an arrow function. This can be done when defining the callback:\n "),e.j41(513,"code"),e.EFF(514),e.k0s(),e.EFF(515,"\n or when configuring the\n "),e.j41(516,"code"),e.EFF(517,"ModalConfig"),e.k0s(),e.EFF(518,"\n :\n "),e.j41(519,"code"),e.EFF(520,"canDismiss: () => this.validate()"),e.k0s(),e.EFF(521,"\n .\n "),e.j41(522,"a",31),e.EFF(523,"\n Read more on MDN\n "),e.k0s(),e.EFF(524,"\n "),e.k0s(),e.EFF(525,"\n"),e.k0s(),e.EFF(526,"\n"),e.j41(527,"p"),e.EFF(528,"The callback can be both synchronous and asynchronous."),e.k0s(),e.EFF(529,"\n\n"),e.nrm(530,"cookbook-iphone",32),e.EFF(531,"\n\n"),e.j41(532,"h4"),e.EFF(533,"Embedded component"),e.k0s(),e.EFF(534,"\n"),e.j41(535,"p"),e.EFF(536,"\n Inside the embedded component you can set the\n "),e.j41(537,"code"),e.EFF(538,"canDismiss"),e.k0s(),e.EFF(539,"\n property on the parent modal. This makes it possible to validate if the modal can be dismissed\n based on the data inside your component.\n"),e.k0s(),e.EFF(540,"\n"),e.nrm(541,"cookbook-example-viewer",22),e.EFF(542,"\n\n"),e.j41(543,"h4"),e.EFF(544,"Modal config"),e.k0s(),e.EFF(545,"\n"),e.j41(546,"p"),e.EFF(547,"\n It is also possible to provide the callback in the\n "),e.j41(548,"code"),e.EFF(549,"ModalConfig"),e.k0s(),e.EFF(550,"\n that is passed to the modal controller. The callback is passed to the config as\n "),e.j41(551,"code"),e.EFF(552,"canDismiss"),e.k0s(),e.EFF(553,"\n .\n"),e.k0s(),e.EFF(554,"\n\n"),e.nrm(555,"cookbook-example-viewer",22),e.EFF(556,"\n\n"),e.j41(557,"h4",null,8),e.EFF(559,"Handle browser back navigation"),e.k0s(),e.EFF(560,"\n"),e.j41(561,"p"),e.EFF(562,"\n When configuring the\n "),e.j41(563,"code"),e.EFF(564,"canDimiss"),e.k0s(),e.EFF(565,"\n callback to prompt the user before closing the modal, it is important to also handle if the user\n tries to navigate away from the page via the browser back button while the modal is open.\n Otherwise the browser will navigate behind the active modal\u2014and the alert\u2014when the user navigates\n back in history.\n"),e.k0s(),e.EFF(566,"\n"),e.j41(567,"p"),e.EFF(568,"\n This is achieved by setting a\n "),e.j41(569,"code"),e.EFF(570,"CanDismissModalGuard"),e.k0s(),e.EFF(571,"\n provided by Kirby in the\n "),e.j41(572,"code"),e.EFF(573,"\n "),e.j41(574,"a",33),e.EFF(575,"canDeactivate"),e.k0s(),e.EFF(576,"\n "),e.k0s(),e.EFF(577,"\n property in your route config. The guard will ensure the user gets prompted about the modal being\n closed and either allow or cancel the back navigation based on the user's response to the prompt.\n The guard can be set on either:\n"),e.k0s(),e.EFF(578,"\n"),e.j41(579,"ul"),e.EFF(580,"\n "),e.j41(581,"li"),e.EFF(582,"\n the route with the component that opens the modal, when using a\n "),e.j41(583,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(79);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(584,"component"),e.k0s(),e.EFF(585,"\n or\n "),e.j41(586,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(120);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(587,"controller"),e.k0s(),e.EFF(588,"\n to open the modal\n "),e.k0s(),e.EFF(589,"\n "),e.j41(590,"li"),e.EFF(591,"\n the child route(s) with the component(s) that are shown inside the modal, when using\n "),e.j41(592,"a",15),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(144);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(593,"route based modals"),e.k0s(),e.EFF(594,"\n .\n "),e.nrm(595,"br"),e.EFF(596,"\n "),e.j41(597,"em"),e.EFF(598,"\n Note: The alert will only be shown when closing the modal, not when navigating within the\n child routes of the modal flow.\n "),e.k0s(),e.EFF(599,"\n "),e.k0s(),e.EFF(600,"\n"),e.k0s(),e.EFF(601,"\n"),e.j41(602,"p"),e.EFF(603,"\n "),e.j41(604,"em"),e.EFF(605,"\n "),e.j41(606,"strong"),e.EFF(607,"Please note:"),e.k0s(),e.EFF(608,"\n To ensure correct browser history Angular's RouterModule should be configured with\n "),e.j41(609,"code"),e.EFF(610,"canceledNavigationResolution: 'computed'"),e.k0s(),e.EFF(611,"\n .\n "),e.k0s(),e.EFF(612,"\n"),e.k0s(),e.EFF(613,"\n"),e.nrm(614,"cookbook-example-viewer",22),e.EFF(615,"\n\n"),e.j41(616,"p"),e.EFF(617,"\n To see how the\n "),e.j41(618,"code"),e.EFF(619,"canDismiss"),e.k0s(),e.EFF(620,"\n property and the\n "),e.j41(621,"code"),e.EFF(622,"CanDismissModalGuard"),e.k0s(),e.EFF(623,"\n can prompt the user before navigating back using the browser back button you should follow these\n steps:\n"),e.k0s(),e.EFF(624,"\n\n"),e.nrm(625,"cookbook-modal-example-alert-with-guard-stepper",34),e.EFF(626,"\n\n"),e.j41(627,"h2",null,9),e.EFF(629,"Modal events"),e.k0s(),e.EFF(630,"\n"),e.j41(631,"h3"),e.EFF(632,"Modal presented"),e.k0s(),e.EFF(633,"\n"),e.j41(634,"p"),e.EFF(635,"\n The\n "),e.j41(636,"code"),e.EFF(637,"Modal"),e.k0s(),e.EFF(638,"\n fires the\n "),e.j41(639,"code"),e.EFF(640,"didPresent"),e.k0s(),e.EFF(641,"\n event, when the modal is ready and the enter animation has finished. This is a good place to hook\n up any visual initialization of the embedded component, e.g. setting focus in an input field:\n"),e.k0s(),e.EFF(642,"\n"),e.nrm(643,"cookbook-code-viewer",22),e.EFF(644,"\n\n"),e.j41(645,"h3"),e.EFF(646,"Modal closing"),e.k0s(),e.EFF(647,"\n"),e.j41(648,"p"),e.EFF(649,"\n The\n "),e.j41(650,"code"),e.EFF(651,"Modal"),e.k0s(),e.EFF(652,"\n fires the\n "),e.j41(653,"code"),e.EFF(654,"willClose"),e.k0s(),e.EFF(655,"\n event, when the modal is starting to dismiss/close before any animations occurs. This gives you a\n slot to execute your exceptional code just when the modal starts closing but before its actually\n done:\n"),e.k0s(),e.EFF(656,"\n"),e.nrm(657,"cookbook-code-viewer",22),e.EFF(658,"\n\n"),e.j41(659,"h3"),e.EFF(660,"Modal closed"),e.k0s(),e.EFF(661,"\n"),e.j41(662,"p"),e.EFF(663,"If you want to be notified when the modal closes, you can pass a callback function."),e.k0s(),e.EFF(664,"\n"),e.j41(665,"p",24),e.EFF(666,"\n "),e.j41(667,"strong"),e.EFF(668,"Please note:"),e.k0s(),e.EFF(669,"\n Remember to bind the callback function to the context of the component instance ie.\n "),e.j41(670,"code"),e.EFF(671,".bind(this)"),e.k0s(),e.EFF(672,"\n .\n"),e.k0s(),e.EFF(673,"\n\n"),e.nrm(674,"cookbook-code-viewer",22),e.EFF(675,"\n\n"),e.j41(676,"h4",null,10),e.EFF(678,"\n Return data from the modal\n "),e.j41(679,"em"),e.EFF(680,"(optional)"),e.k0s(),e.EFF(681,"\n :\n"),e.k0s(),e.EFF(682,"\n"),e.j41(683,"p"),e.EFF(684,"If you need to obtain data back from the modal, you can pass a callback function."),e.k0s(),e.EFF(685,"\n\n"),e.j41(686,"p",24),e.EFF(687,"\n "),e.j41(688,"strong"),e.EFF(689,"Please note:"),e.k0s(),e.EFF(690,"\n Remember to bind the callback function to the context of the component instance ie.\n "),e.j41(691,"code"),e.EFF(692,".bind(this)"),e.k0s(),e.EFF(693,"\n .\n"),e.k0s(),e.EFF(694,"\n\n"),e.nrm(695,"cookbook-code-viewer",22),e.EFF(696,"\n\n"),e.j41(697,"h2",null,11),e.EFF(699,"Scrolling"),e.k0s(),e.EFF(700,"\n"),e.j41(701,"p"),e.EFF(702,"\n The\n "),e.j41(703,"code"),e.EFF(704,"Modal"),e.k0s(),e.EFF(705,"\n supports scrolling to the top and bottom of the modal using the methods\n "),e.j41(706,"code"),e.EFF(707,"scrollToTop"),e.k0s(),e.EFF(708,"\n and\n "),e.j41(709,"code"),e.EFF(710,"scrollToBottom"),e.k0s(),e.EFF(711,"\n . They accept\n "),e.j41(712,"code"),e.EFF(713,"KirbyAnimation.Duration"),e.k0s(),e.EFF(714,"\n as optional param. If not provided the scrolling will happen instantaneously.\n"),e.k0s(),e.EFF(715,"\n"),e.nrm(716,"cookbook-code-viewer",22),e.EFF(717,"\n\n"),e.j41(718,"h3"),e.EFF(719,"Disable scrolling"),e.k0s(),e.EFF(720,"\n"),e.j41(721,"p"),e.EFF(722,"\n The\n "),e.j41(723,"code"),e.EFF(724,"Modal"),e.k0s(),e.EFF(725,"\n supports disabling of scrolling by setting the property\n "),e.j41(726,"code"),e.EFF(727,"scrollDisabled = true"),e.k0s(),e.EFF(728,"\n"),e.k0s(),e.EFF(729,"\n"),e.nrm(730,"cookbook-code-viewer",22),e.EFF(731,"\n\n"),e.j41(732,"p"),e.EFF(733,"\n If the\n "),e.j41(734,"code"),e.EFF(735,"snapToKeyboard"),e.k0s(),e.EFF(736,"\n attribute is set to true, the modal footer will slide upwards with the soft keyboard on mobile\n devices to make it stay visible. If omitted, or if explicitly set to false, the modal footer will\n stay at the bottom and the keyboard will slide in on top of it.\n"),e.k0s(),e.EFF(737,"\n\n"),e.j41(738,"h2",null,12),e.EFF(740,"Accessibility"),e.k0s(),e.EFF(741,"\n"),e.j41(742,"p"),e.EFF(743,"\n Modals have a\n "),e.EFF(744,"\n "),e.j41(745,"a",35),e.EFF(746,"dialog"),e.k0s(),e.EFF(747,"\n role and implement focus management and keyboard support accordingly.\n"),e.k0s(),e.EFF(748,"\n"),e.j41(749,"p"),e.EFF(750,"\n When opened, focus is moved into the modal. Focus is trapped within the modal while it is open,\n preventing users from navigating to elements outside the modal. Upon closing, focus is moved back\n to where it was before showing the modal. Pressing\n "),e.j41(751,"kbd"),e.EFF(752,"Esc"),e.k0s(),e.EFF(753,"\n dismisses the modal.\n"),e.k0s(),e.EFF(754,"\n\n"),e.j41(755,"h3"),e.EFF(756,"Labeling"),e.k0s(),e.EFF(757,"\n"),e.j41(758,"p"),e.EFF(759,"\n The provided\n "),e.j41(760,"code"),e.EFF(761,"kirby-page-title"),e.k0s(),e.EFF(762,"\n is automatically used as a label to add context for assistive technologies. For example, screen\n readers use the label to announce when the modal dialog appears and to give proper context when\n interacting with the content within.\n"),e.k0s(),e.EFF(763,"\n"),e.j41(764,"p"),e.EFF(765,"This emphasizes the importance of providing a meaningful title for all modals."),e.k0s(),e.EFF(766,"\n\n"),e.j41(767,"p"),e.EFF(768,"\n While it is recommended to let the label be inferred from the title, in rare cases where a custom\n accessible name for the modal is needed, it is possible to instead supply an\n "),e.j41(769,"code"),e.EFF(770,"aria-label"),e.k0s(),e.EFF(771,"\n key-value pair. This is set with the\n "),e.j41(772,"code"),e.EFF(773,"htmlAttributes"),e.k0s(),e.EFF(774,"\n property of the\n "),e.j41(775,"code"),e.EFF(776,"ModalConfig"),e.k0s(),e.EFF(777,"\n when working with controller-based modals, or directly as an attribute on the element when using\n the modal component.\n"),e.k0s(),e.EFF(778,"\n\n"),e.nrm(779,"cookbook-example-viewer",36),e.EFF(780,"\n\n"),e.j41(781,"h4"),e.EFF(782,"Compact Modals"),e.k0s(),e.EFF(783,"\n"),e.j41(784,"p"),e.EFF(785,"\n A label\n "),e.j41(786,"strong"),e.EFF(787,"is not"),e.k0s(),e.EFF(788,"\n automatically set on compact modals except when used with a\n "),e.j41(789,"a",37),e.EFF(790,"Message State"),e.k0s(),e.EFF(791,"\n , as other types of compact modal do not have an explicit title to infer. Therefore, developers\n must add an\n "),e.j41(792,"code"),e.EFF(793,"aria-label"),e.k0s(),e.EFF(794,"\n that will be announced as the modal label. This label should match any visual heading or title of\n the compact modal.\n"),e.k0s(),e.EFF(795,"\n\n"),e.j41(796,"h2",null,13),e.EFF(798,"Shared properties"),e.k0s(),e.EFF(799,"\n"),e.j41(800,"p",24),e.EFF(801,"\n The following properties are shared between all types of modals, and is either set via the\n "),e.j41(802,"code"),e.EFF(803,"ModalConfig"),e.k0s(),e.EFF(804,"\n (controller),\n "),e.j41(805,"code"),e.EFF(806,"RoutedModalConfig"),e.k0s(),e.EFF(807,"\n (outlet) or as individual input properties on the Modal Component.\n"),e.k0s(),e.EFF(808,"\n"),e.nrm(809,"cookbook-api-description-properties",38),e.EFF(810,"\n\n"),e.j41(811,"h2",null,14),e.EFF(813,"ModalConfig"),e.k0s(),e.EFF(814,"\n"),e.j41(815,"p",24),e.EFF(816,"\n The\n "),e.j41(817,"code"),e.EFF(818,"ModalConfig"),e.k0s(),e.EFF(819,"\n supplied to\n "),e.j41(820,"code"),e.EFF(821,"ModalController.showModal()"),e.k0s(),e.EFF(822,"\n supports all of the above mentioned modal properties, along with the following:\n"),e.k0s(),e.EFF(823,"\n"),e.nrm(824,"cookbook-api-description-properties",38),e.EFF(825,"\n\n"),e.j41(826,"h2"),e.EFF(827,"Modal footer properties"),e.k0s(),e.EFF(828,"\n"),e.nrm(829,"cookbook-api-description-properties",38),e.EFF(830,"\n\n"),e.j41(831,"h2"),e.EFF(832,"Events"),e.k0s(),e.EFF(833,"\n"),e.j41(834,"h3")(835,"code"),e.EFF(836,"Modal"),e.k0s()(),e.EFF(837,"\n"),e.nrm(838,"cookbook-api-description-events",39),e.EFF(839,"\n\n"),e.j41(840,"h2"),e.EFF(841,"CSS Custom Properties"),e.k0s(),e.EFF(842,"\n"),e.nrm(843,"cookbook-api-description-properties",40),e.EFF(844,"\n")}2&vt&&(e.R7$(94),e.Y8G("html",Ge.isOpenExampleHtml)("ts",Ge.isOpenCodeSnippet),e.R7$(6),e.Y8G("showViewModeToggle",!0),e.R7$(2),e.Y8G("html",Ge.componentExample.template),e.R7$(37),e.Y8G("showViewModeToggle",!0),e.R7$(2),e.Y8G("html",Ge.basicConfigExample.template)("ts",Ge.basicConfigExample.defaultCodeSnippet),e.R7$(9),e.Y8G("showViewModeToggle",!0),e.R7$(2),e.Y8G("html",Ge.outletExample.template)("ts",Ge.outletExample.defaultCodeSnippet),e.R7$(50),e.Y8G("ts",Ge.outletExample.modalRouteCodeSnippet),e.R7$(11),e.Y8G("kirbyModalRouterLink",e.lJ4(46,Pa))("kirbyModalQueryParams",e.lJ4(47,ma)),e.R7$(4),e.Y8G("html",Ge.outletExample.deeplinkedRouterLinkWithUrlParamCodeSnippet),e.R7$(29),e.Y8G("html",Ge.outletExample.routerLinkForModalOutletCodeSnippet)("ts",Ge.outletExample.modalControllerForModalOutletCodeSnippet),e.R7$(48),e.Y8G("html",Ge.outletExample.routerLinkWithinModalOutletCodeSnippet)("ts",Ge.outletExample.modalControllerWithinModalOutletCodeSnippet),e.R7$(95),e.Y8G("html",Ge.advancedConfigExample.componentTemplate),e.R7$(14),e.Y8G("showViewModeToggle",!0),e.R7$(2),e.Y8G("html",Ge.advancedConfigExample.template)("ts",Ge.advancedConfigExample.defaultCodeSnippet),e.R7$(11),e.Y8G("ts",Ge.advancedConfigExample.embeddedCodeSnippet),e.R7$(7),e.Y8G("ts",Ge.advancedConfigExample.closeModalCodeSnippet),e.R7$(35),e.Y8G("ts",Ge.advancedConfigExample.drawerCodeSnippet),e.R7$(56),e.SpI("validate = () => ","{...}",""),e.R7$(16),e.Y8G("showViewModeToggle",!0),e.R7$(11),e.Y8G("ts",Ge.alertEmbeddedExample.canDismissCodeSnippet),e.R7$(14),e.Y8G("ts",Ge.alertModalConfigExample.codeSnippet),e.R7$(59),e.Y8G("ts",Ge.outletExample.modalRouteWithGuardCodeSnippet),e.R7$(11),e.Y8G("currentStep",1),e.R7$(18),e.Y8G("ts",Ge.advancedConfigExample.didPresentCodeSnippet),e.R7$(14),e.Y8G("ts",Ge.advancedConfigExample.willCloseCodeSnippet),e.R7$(17),e.Y8G("ts",Ge.advancedConfigExample.callbackCodeSnippet),e.R7$(21),e.Y8G("ts",Ge.advancedConfigExample.callbackWithDataCodeSnippet),e.R7$(21),e.Y8G("ts",Ge.advancedConfigExample.scrollingCodeSnippet),e.R7$(14),e.Y8G("ts",Ge.advancedConfigExample.disableScrollingCodeSnippet),e.R7$(49),e.Y8G("ts",Ge.modalConfigAriaLabelCodeSnippet)("html",Ge.modalComponentAriaLabelCodeSnippet),e.R7$(10),e.Y8G("routerLink","../message-state"),e.R7$(20),e.Y8G("properties",Ge.configProperties),e.R7$(15),e.Y8G("properties",Ge.modalConfigProperties),e.R7$(5),e.Y8G("properties",Ge.footerProperties),e.R7$(9),e.Y8G("events",Ge.events),e.R7$(5),e.Y8G("properties",Ge.cssCustomProperties)("columns",Ge.cssCustomPropertiesColumns))},dependencies:[n.s,bs,Hr.ae$,Hr.uQP,_o.B,ot.Wk,os.p,pt,hn],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}.large-example[_ngcontent-%COMP%]{--docs-demo-device-height: 750px}"]})}return Ve})();var Xa=l(25531),ka=l(43765),Js=l(83741),Fl=l(43511),dl=l(80956),Va=l(62243),yl=l(13743),Dl=l(39357),sl=l(80295),ul=l(17464);let vl=(()=>{class Ve{constructor(){this.simpleExampleHtml=sl.P.template,this.alignmentAndToolbarTitleExampleHtml=Js.u.template,this.fitHeadingExampleHtml=Fl.E.template,this.fixedTitleAndActionsExampleHtml=Va.d.template,this.fixedFooterTabsExampleHtml=dl.x.template,this.fixedCustomTitleExampleHtml=Va.d.customTitleTemplate,this.fixedActionsExampleHtml=Va.d.fixedActionsTemplate,this.customTitleExampleHtml=ka.i.template,this.advancedExampleHtml=Xa.D.template,this.tabNavigationHtml=ul.F.template,this.tabNavigationTs=ul.F.codeSnippet,this.pullToRefreshExampleHtml=yl.i.template,this.pullToRefreshExampleTs=yl.i.handler,this.contentWidthExampleHtml=Dl.C.template,this.properties=[{name:"title",description:"The title of the page. Will stick in the toolbar - including action buttons, if any - when the page is scrolled past the title.",type:["string"]},{name:"subtitle",description:"The subtitle of the page - requires the presence of a page title.",type:["string"]},{name:"toolbarTitle",description:"An alternative text for the title in the toolbar. If `toolbarTitle` is specified instead of `title`, the page title and actions will only be shown in the toolbar and not on the page itself.",type:["string"]},{name:"titleAlignment",description:"Horizontal alignment of the page title and subtitle within the content pane.",defaultValue:"left",type:["left","center","right"]},{name:"defaultBackHref",description:'Back navigation only shows if any navigation has been done. To make it show even after page-reload provide the page with a `defaultBackHref` e.g. "/".',type:["string"]},{name:"hideBackButton",description:"Hides the back button in the toolbar.",defaultValue:"false",type:["true","false"]},{name:"tabBarBottomHidden",description:"Hides the tab bar when placed in the bottom.",defaultValue:"false",type:["true","false"]},{name:"maxWidth",description:"Sets the max width for the content",defaultValue:"default",type:["default","lg","xl","full"]}],this.events=[{name:"enter",description:"Emitted when the page has animated into view",signature:"func"},{name:"leave",description:"Emitted when leaving the page",signature:"func"},{name:"backButtonClick",description:"Emitted when the back-button is clicked. When bound, the default back-button click behaviour is disabled.",signature:"func"}],this.layoutColumns={name:"Tag",description:"Description"},this.layouts=[{name:"",description:"The `` is a layout container for a Kirby page. There should only be one `` layout container per page."},{name:"",description:"The `` layout can be used as a convenient wrapper for page content. For more advanced scenarios or when used with `` the `*kirbyPageContent` directive can be applied instead."},{name:"",description:"The `` layout can be used as a convenient wrapper for page actions. The actions inside are declared through regular Kirby buttons: `\n\n\n\n',this.customConfigExample="customConfig: KirbySwiperOptions = {\n slidesPerView: 1.1,\n breakpoints: {\n 768: {\n centeredSlides: false,\n slidesPerView: 2,\n slidesPerGroup: 1,\n },\n },\n};",this.properties=[{name:"slidesOptions",description:"Configuration object for Swiper.\n\nView documentation at: https://swiperjs.com/swiper-api#parameters for available parameters",defaultValue:"null",type:["KirbySwiperOptions"]},{name:"slides",description:"Array of items to be displayed as slides.",defaultValue:"null",type:["unknown[]"]},{name:"title",description:"Text that describes the slides content (mandatory). Will be displayed above the slides in the top left corner.",defaultValue:"null",type:["string"]},{name:"showNavigation",description:"Whether to show navigation and pagination controls for the slider.",defaultValue:"true",type:["boolean"]}],this.events=[{name:"slideChange",description:"Emits the active slide\xb4s data and index",signature:"{slide: any, index: number}"}],this.methods=[{name:"slideTo",description:"Slides to the specified slide index.",signature:"(index: number) => void"}],this.directiveColumns={name:"Name",description:"Description",type:"(Optional) Configuration",default:"Default"},this.directives=[{name:"*kirbySlide",description:"The `*kirbySlide` directive should be applied to a `kirby-card` which will then be used as the template for each slide."},{name:"slideStretchHeight",description:"If individual slides have variable height you can add this attribute directive in order to make slides equal height."}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-slides-showcase"]],decls:107,vars:14,consts:[["viewMode","full-size","src","/examples/slides/","showExternalLink","true",3,"showViewModeToggle"],[3,"html"],["viewMode","full-size","src","/examples/slides-height/","showExternalLink","true",3,"showViewModeToggle"],[3,"css"],["viewMode","full-size","src","/examples/slides-advanced/","showExternalLink","true",3,"showViewModeToggle"],["href","https://swiperjs.com/swiper-api#parameters","target","_blank",1,"kirby-external-icon"],[3,"ts"],[3,"properties"],[3,"events"],[3,"methods"],[3,"columns","properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"p"),e.EFF(1," Slides are a collection of cards you can navigate horizontally in, swipe on touch devices and click navigation on desktop.\n"),e.k0s(),e.j41(2,"h2"),e.EFF(3,"Usage"),e.k0s(),e.j41(4,"p"),e.EFF(5," Slides are great to gather and contain content without using a lot of space, but the content has to be closely related.\n"),e.k0s(),e.j41(6,"p"),e.EFF(7," Only use slides if you have 3 or more cards. If you have a lot of content, or if it takes more than 4 interactions (swipe or clicks), consider using a list format instead.\n"),e.k0s(),e.j41(8,"p"),e.EFF(9," Slides are best suited for inspirationel content where users are expected to be in an explorative mode.\n"),e.k0s(),e.j41(10,"h2"),e.EFF(11,"Basic usage"),e.k0s(),e.nrm(12,"cookbook-iphone",0)(13,"cookbook-code-viewer",1),e.j41(14,"h2"),e.EFF(15,"Inherit height"),e.k0s(),e.j41(16,"p"),e.EFF(17," If the slides have variable height, you can add the directive "),e.j41(18,"code"),e.EFF(19,"slideStretchHeight"),e.k0s(),e.EFF(20," to each slide to make them equal height as seen in the example below.\n"),e.k0s(),e.nrm(21,"cookbook-iphone",2)(22,"cookbook-code-viewer",1),e.j41(23,"p")(24,"em")(25,"strong"),e.EFF(26,"*Please note:"),e.k0s(),e.EFF(27," If you use "),e.j41(28,"code"),e.EFF(29,"kirbySlide"),e.k0s(),e.EFF(30," directive on a "),e.j41(31,"code"),e.EFF(32,"kirby-card"),e.k0s(),e.EFF(33," , it can be necessary to apply the following styling. "),e.k0s()(),e.nrm(34,"cookbook-code-viewer",3),e.j41(35,"h2"),e.EFF(36,"Advanced usage"),e.k0s(),e.nrm(37,"cookbook-iphone",4)(38,"cookbook-example-viewer",1),e.j41(39,"h3"),e.EFF(40,"Custom configuration"),e.k0s(),e.j41(41,"p"),e.EFF(42," The "),e.j41(43,"code"),e.EFF(44,"kirby-slides"),e.k0s(),e.EFF(45," uses "),e.j41(46,"code"),e.EFF(47,"swiper.js"),e.k0s(),e.EFF(48," under the hood and accepts the same "),e.j41(49,"a",5),e.EFF(50," configuration "),e.k0s(),e.EFF(51," as "),e.j41(52,"code"),e.EFF(53,"swiper.js"),e.k0s(),e.EFF(54," . The component comes with this default config:\n"),e.k0s(),e.nrm(55,"cookbook-code-viewer",6)(56,"br"),e.j41(57,"p"),e.EFF(58," This config can be extended by passing in "),e.j41(59,"code"),e.EFF(60,"slidesOptions"),e.k0s(),e.EFF(61," as shown in the example above, which uses this config:\n"),e.k0s(),e.nrm(62,"cookbook-code-viewer",6),e.j41(63,"p")(64,"em")(65,"strong"),e.EFF(66,"*Please note:"),e.k0s(),e.EFF(67," If you specify any "),e.j41(68,"code"),e.EFF(69,"swiper.js"),e.k0s(),e.EFF(70," events through the "),e.j41(71,"code"),e.EFF(72,"on"),e.k0s(),e.EFF(73," config parameter , the component's "),e.j41(74,"code"),e.EFF(75,"slideChange"),e.k0s(),e.EFF(76," output event will not emit. "),e.k0s()(),e.j41(77,"p")(78,"em")(79,"strong"),e.EFF(80,"**Please note:"),e.k0s(),e.EFF(81," If you overwrite "),e.j41(82,"code"),e.EFF(83,"slidesPerView"),e.k0s(),e.EFF(84," on small screens please ensure visual affordance by including a fraction of the next slide, e.g. "),e.j41(85,"code"),e.EFF(86,"1.1"),e.k0s(),e.EFF(87," , as the navigation controls are hidden on small screens. We recommend using the default value of "),e.j41(88,"code"),e.EFF(89,"1.2"),e.k0s(),e.EFF(90," . "),e.k0s()(),e.j41(91,"h2"),e.EFF(92,"Slots"),e.k0s(),e.j41(93,"p"),e.EFF(94," The component has a default slot which can be used to place a button in the top right corner next to the navigation controls (large screens only).\n"),e.k0s(),e.j41(95,"h2"),e.EFF(96,"Properties:"),e.k0s(),e.nrm(97,"cookbook-api-description-properties",7),e.j41(98,"h2"),e.EFF(99,"Events:"),e.k0s(),e.nrm(100,"cookbook-api-description-events",8),e.j41(101,"h2"),e.EFF(102,"Methods:"),e.k0s(),e.nrm(103,"cookbook-api-description-methods",9),e.j41(104,"h2"),e.EFF(105,"Directives:"),e.k0s(),e.nrm(106,"cookbook-api-description-properties",10)),2&vt&&(e.R7$(12),e.Y8G("showViewModeToggle",!0),e.R7$(),e.Y8G("html",Ge.defaultExampleComponentHTML),e.R7$(8),e.Y8G("showViewModeToggle",!0),e.R7$(),e.Y8G("html",Ge.heightExampleComponentHTML),e.R7$(12),e.Y8G("css",Ge.heightExampleComponentCSS),e.R7$(3),e.Y8G("showViewModeToggle",!0),e.R7$(),e.Y8G("html",Ge.advancedExampleComponentHTML),e.R7$(17),e.Y8G("ts",Ge.slidesDefaultConfig),e.R7$(7),e.Y8G("ts",Ge.customConfigExample),e.R7$(35),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("events",Ge.events),e.R7$(3),e.Y8G("methods",Ge.methods),e.R7$(3),e.Y8G("columns",Ge.directiveColumns)("properties",Ge.directives))},dependencies:[bs,_o.B,n.s,pt,hn,pi],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})();var j=l(57123);let X=(()=>{class Ve{constructor(){this.exampleHtml="\n"}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-spinner-showcase"]],decls:3,vars:1,consts:[[1,"example"],[3,"html"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.nrm(1,"cookbook-spinner-example")(2,"cookbook-code-viewer",1),e.k0s()),2&vt&&(e.R7$(2),e.Y8G("html",Ge.exampleHtml))},dependencies:[j.L,_o.B],encapsulation:2})}return Ve})();const{getThemeColorHexString:me}=eo.A,ct_template='\n \n ',ct_codeSnippet="\n _dataLabelOptions: ChartDataLabelOptions = {\n showMin: true,\n showMax: true,\n };\n \n _dataset = [\n {\n data: [\n { x: 1637049659000, y: 127.15 },\n { x: 1637049662000, y: 127.15 },\n { x: 1637049760000, y: 127.08 },\n { x: 1637049926000, y: 127.08 },\n { x: 1637050490000, y: 126.93 },\n { x: 1637050637000, y: 127.25 },\n { x: 1637050736000, y: 127.08 },\n { x: 1637050797000, y: 127.03 },\n { x: 1637050923000, y: 127.03 },\n { x: 1637051160000, y: 127.08 },\n ],\n borderColor: getThemeColorHexString('secondary'),\n },\n ];\n ";let rn=(()=>{class Ve{constructor(){this.template=ct_template,this.codeSnippet=ct_codeSnippet,this._dataLabelOptions={showMin:!0,showMax:!0},this._dataset=[{data:[{x:1637049659e3,y:127.15},{x:1637049662e3,y:127.15},{x:163704976e4,y:127.08},{x:1637049926e3,y:127.08},{x:163705049e4,y:126.93},{x:1637050637e3,y:127.25},{x:1637050736e3,y:127.08},{x:1637050797e3,y:127.03},{x:1637050923e3,y:127.03},{x:163705116e4,y:127.08}],borderColor:me("secondary")}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-stock"]],decls:1,vars:2,consts:[[3,"data","dataLabelOptions"]],template:function(vt,Ge){1&vt&&e.nrm(0,"kirby-stock-chart",0),2&vt&&e.Y8G("data",Ge._dataset)("dataLabelOptions",Ge._dataLabelOptions)},dependencies:[sr.mM,sr._n],encapsulation:2})}return Ve})();const{getThemeColorHexString:Rn}=eo.A,lo_template='\n \n ',lo_codeSnippet="\n _dataLabelOptions: ChartDataLabelOptions = {\n locale: 'da-DK',\n valueSuffix: '%',\n };\n \n _datasets = [\n {\n data: [\n { x: 1628294399000, y: 49.8 },\n { x: 1628553599000, y: 49.6 },\n { x: 1628639999000, y: 49.6 },\n { x: 1628726399000, y: 49.6 },\n { x: 1628899199000, y: 50 },\n { x: 1629158399000, y: 50 },\n { x: 1629244799000, y: 50 },\n { x: 1629331199000, y: 49.8 },\n { x: 1629417599000, y: 51.5 },\n { x: 1629503999000, y: 51.5 },\n ],\n borderColor: getThemeColorHexString('secondary'),\n },\n {\n data: [\n { x: 1628294399000, y: 49.8 },\n { x: 1628553599000, y: 69.6 },\n { x: 1628639999000, y: 39.6 },\n { x: 1628726399000, y: 69.6 },\n { x: 1628899199000, y: 30 },\n { x: 1629158399000, y: 60 },\n { x: 1629244799000, y: 30 },\n { x: 1629331199000, y: 59.8 },\n { x: 1629417599000, y: 81.5 },\n { x: 1629503999000, y: 81.5 },\n ],\n borderColor: getThemeColorHexString('primary'),\n },\n {\n data: [\n { x: 1628294399000, y: 49.8 },\n { x: 1628553599000, y: 59.6 },\n { x: 1628639999000, y: 69.6 },\n { x: 1628726399000, y: -49.6 },\n { x: 1628899199000, y: 50 },\n { x: 1629158399000, y: 150 },\n { x: 1629244799000, y: 150 },\n { x: 1629331199000, y: 149.8 },\n { x: 1629417599000, y: 151.5 },\n { x: 1629503999000, y: 151.5 },\n ],\n borderColor: getThemeColorHexString('semi-dark'),\n },\n ];\n ";let No=(()=>{class Ve{constructor(){this.template=lo_template,this.codeSnippet=lo_codeSnippet,this._dataLabelOptions={locale:"da-DK",valueSuffix:"%"},this._datasets=[{data:[{x:1628294399e3,y:49.8},{x:1628553599e3,y:49.6},{x:1628639999e3,y:49.6},{x:1628726399e3,y:49.6},{x:1628899199e3,y:50},{x:1629158399e3,y:50},{x:1629244799e3,y:50},{x:1629331199e3,y:49.8},{x:1629417599e3,y:51.5},{x:1629503999e3,y:51.5}],borderColor:Rn("secondary")},{data:[{x:1628294399e3,y:49.8},{x:1628553599e3,y:69.6},{x:1628639999e3,y:39.6},{x:1628726399e3,y:69.6},{x:1628899199e3,y:30},{x:1629158399e3,y:60},{x:1629244799e3,y:30},{x:1629331199e3,y:59.8},{x:1629417599e3,y:81.5},{x:1629503999e3,y:81.5}],borderColor:Rn("primary")},{data:[{x:1628294399e3,y:49.8},{x:1628553599e3,y:59.6},{x:1628639999e3,y:69.6},{x:1628726399e3,y:-49.6},{x:1628899199e3,y:50},{x:1629158399e3,y:150},{x:1629244799e3,y:150},{x:1629331199e3,y:149.8},{x:1629417599e3,y:151.5},{x:1629503999e3,y:151.5}],borderColor:Rn("semi-dark")}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-stock-comparison"]],decls:1,vars:2,consts:[[3,"data","dataLabelOptions"]],template:function(vt,Ge){1&vt&&e.nrm(0,"kirby-stock-chart",0),2&vt&&e.Y8G("data",Ge._datasets)("dataLabelOptions",Ge._dataLabelOptions)},dependencies:[sr.mM,sr._n],encapsulation:2})}return Ve})(),Jo=(()=>{class Ve{constructor(){this._cardHasPadding=!0,this._apiDescriptionProperties=[{name:"data",description:"The data which the chart should display. \n\n The 'x' value of each datapoint is time as epoch timestamp; 'y' is value at time 'x'.",type:["{data: {x: number, y: number}[]}[]","ChartDataset[]"]},...ks,{name:"dataLabelOptions",description:"(Optional) Determines which data labels should be shown. \n\n See below description of 'ChartDataLabelOptions' for more information.",type:["ChartDataLabelOptions"]}],this._chartDataLabelOptions=[{name:"showMin",type:["boolean"],defaultValue:"false",description:"Should there be a data label that shows the lowest value?"},{name:"showMax",type:["boolean"],defaultValue:"false",description:"Should there be a data label that shows the highest value?"},{name:"showCurrent",type:["boolean"],defaultValue:"false",description:"Should there be a data label that shows the current value?"},{name:"locale",type:["ChartLocale"],defaultValue:"en-US",description:"How should time and numeric fragments be displayed?"},{name:"valueSuffix",type:["string"],defaultValue:"",description:"Add a suffix for the value on datalabels, tooltips and the Y-axis"}],this._cssCustomPropertiesColumns=Zr_columns,this._cssCustomProperties=Zr_apiDescription}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-stock-chart-showcase"]],decls:68,vars:15,consts:[["stockExample",""],["stockComparisonExample",""],["href","https://github.com/kirbydesign/designsystem/issues/1943","target","_blank"],["routerLink","/home/showcase/chart"],["variant","flat",3,"hasPadding"],[3,"html","ts"],[3,"hasMargin"],[3,"properties"],[3,"properties","columns"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"p")(1,"em")(2,"strong"),e.EFF(3,"Note:"),e.k0s(),e.EFF(4," the default behaviour and styling of the stock chart might change in the near future as work is still being done to enhance it. More details can be found on "),e.j41(5,"a",2),e.EFF(6,"this issue"),e.k0s(),e.EFF(7," in the Github repository. "),e.k0s()(),e.j41(8,"p"),e.EFF(9," The stock chart visualizes the price of a security over time where time is along the x-axis and the price is on the y-axis.\n"),e.k0s(),e.j41(10,"p"),e.EFF(11," The "),e.j41(12,"code"),e.EFF(13,"kirby-stock-chart"),e.k0s(),e.EFF(14," element shares a lot of its API with the "),e.j41(15,"code"),e.EFF(16,"kirby-chart"),e.k0s(),e.EFF(17," element. For more info and examples see: "),e.j41(18,"a",3),e.EFF(19,"the chart showcase"),e.k0s(),e.EFF(20," .\n"),e.k0s(),e.j41(21,"p"),e.EFF(22," The labels of the x-axis show the day and month of the datapoints. If you need a different increment, ie. hours or years you should provide your own labels through the `labels` property.\n"),e.k0s(),e.j41(23,"p")(24,"b"),e.EFF(25,"Please note"),e.k0s(),e.EFF(26," that this chart only accepts data where each datapoint consists of a value for both x and y.\n"),e.k0s(),e.j41(27,"small")(28,"pre"),e.EFF(29),e.k0s()(),e.j41(30,"p")(31,"kirby-card",4)(32,"cookbook-example-viewer",5),e.nrm(33,"cookbook-chart-example-stock",null,0),e.k0s()()(),e.j41(35,"h2"),e.EFF(36,"Stock Chart with multiple datasets"),e.k0s(),e.j41(37,"p"),e.EFF(38," It is possible to show and compare the price of multiple securities in one chart. The "),e.j41(39,"code"),e.EFF(40,"ChartDataLabelOptions"),e.k0s(),e.EFF(41," property "),e.j41(42,"code"),e.EFF(43,"valueSuffix"),e.k0s(),e.EFF(44," can be useful if for example data comes in percent. By setting "),e.j41(45,"code"),e.EFF(46,"valueSuffix"),e.k0s(),e.EFF(47," to the string "),e.j41(48,"code"),e.EFF(49,"'%'"),e.k0s(),e.EFF(50," values in the data labels will be suffixed with '%' as can be seen on the below example.\n"),e.k0s(),e.j41(51,"p")(52,"kirby-card",4)(53,"cookbook-example-viewer",5),e.nrm(54,"cookbook-chart-example-stock-comparison",null,1),e.k0s()()(),e.nrm(56,"kirby-divider",6),e.j41(57,"h2"),e.EFF(58,"API Description"),e.k0s(),e.nrm(59,"cookbook-api-description-properties",7)(60,"kirby-divider",6),e.j41(61,"h2"),e.EFF(62,"ChartDataLabelOptions Description"),e.k0s(),e.nrm(63,"cookbook-api-description-properties",7)(64,"kirby-divider",6),e.j41(65,"h2"),e.EFF(66,"CSS Custom Properties"),e.k0s(),e.nrm(67,"cookbook-api-description-properties",8)),2&vt){const vo=e.sdS(34),Po=e.sdS(55);e.R7$(29),e.Lme(" ","{","\n x: 1231831920, // Time as epoch timestamp\n y: 10 // Value at time 'x'\n ","}","\n"),e.R7$(2),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",vo.template)("ts",vo.codeSnippet),e.R7$(20),e.Y8G("hasPadding",Ge._cardHasPadding),e.R7$(),e.Y8G("html",Po.template)("ts",Po.codeSnippet),e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(3),e.Y8G("properties",Ge._apiDescriptionProperties),e.R7$(),e.Y8G("hasMargin",!0),e.R7$(3),e.Y8G("properties",Ge._chartDataLabelOptions),e.R7$(),e.Y8G("hasMargin",!0),e.R7$(3),e.Y8G("properties",Ge._cssCustomProperties)("columns",Ge._cssCustomPropertiesColumns)}},dependencies:[ot.Wk,Ft.Dw,Ft.ib,n.s,rn,No,at.h,pt],encapsulation:2})}return Ve})();var Ui=l(90107);let mr=(()=>{class Ve{static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-styling-list-showcase"]],decls:45,vars:6,consts:[["language","css"]],template:function(vt,Ge){1&vt&&(e.j41(0,"p"),e.EFF(1," Kirby offers default styling of ordered "),e.j41(2,"code"),e.EFF(3,"
    "),e.k0s(),e.EFF(4," and unordered "),e.j41(5,"code"),e.EFF(6,"
      "),e.k0s(),e.EFF(7," HTML lists (but not description/definition lists "),e.j41(8,"code"),e.EFF(9,"
      "),e.k0s(),e.EFF(10," ).\n"),e.k0s(),e.j41(11,"p"),e.EFF(12,"There are some good rules of thumb how to use a bulleted list"),e.k0s(),e.j41(13,"ul")(14,"li"),e.EFF(15,"Don\u2019t use a period at the end of an item"),e.k0s(),e.j41(16,"li"),e.EFF(17,"Don\u2019t use a period at the end of the last bullet in a series of bullets"),e.k0s(),e.j41(18,"li"),e.EFF(19,"Try to keep the amount of bullets between 3 and 5"),e.k0s(),e.j41(20,"li"),e.EFF(21,"Try not to use nested lists"),e.k0s()(),e.nrm(22,"cookbook-styling-html-lists-example"),e.j41(23,"h2"),e.EFF(24,'How to "opt-out" of Kirby\'s default HTML list styles'),e.k0s(),e.j41(25,"p"),e.EFF(26,' Kirby\'s default styles for HTML lists are mainly based on the user agent ("browser") styles. In other words, Kirby list styles only change the horizontal "indentation" and the vertical space between list items.\n'),e.k0s(),e.j41(27,"p"),e.EFF(28," To control the space between list items you\u2019ll want to target list items with sufficiently high specificity, e.g.:\n"),e.k0s(),e.j41(29,"cookbook-code-viewer",0)(30,"pre"),e.EFF(31),e.k0s()(),e.j41(32,"p"),e.EFF(33," You may also need to adjust the line-height. Which value to use will depend on the specific case, e.g.:\n"),e.k0s(),e.j41(34,"cookbook-code-viewer",0)(35,"pre"),e.EFF(36),e.k0s()(),e.j41(37,"p"),e.EFF(38,' You can control the "indentation" of lists by changing the value of '),e.j41(39,"code"),e.EFF(40,"margin-inline-start"),e.k0s(),e.EFF(41," , e.g.\n"),e.k0s(),e.j41(42,"cookbook-code-viewer",0)(43,"pre"),e.EFF(44),e.k0s()()),2&vt&&(e.R7$(31),e.Lme(" ol li,\n ul li ","{","\n margin-block-start: revert;\n ","}"," "),e.R7$(5),e.Lme(" ol, ul ","{","\n line-height: normal;\n ","}",""),e.R7$(8),e.Lme(" ol, ul ","{","\n margin-inline-start: 1em;\n ","}",""))},dependencies:[Ui.Q,_o.B],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})(),le=(()=>{class Ve{constructor(){this.exampleHtml='\x3c!-- This container is only needed due to layout of larger screen sizes --\x3e\n
      \n
      \n \x3c!-- Hidden on small screen sizes--\x3e\n \n
      \n\n \n \n \n \x3c!--\n Alternative icon for selected tab, e.g. a filled icon:\n \n --\x3e\n Overview\n \n\n \n \n Transfer\n \n\n \n \n Inbox\n 1\n \n\n \n \n Menu\n \n \n
      \n',this.exampleRouterHtml='\n \n \n Dashboard\n \n',this.exampleRouterConfig="import { Routes } from '@angular/router';\nimport { TabsPage } from './tabs-page';\n\nconst routes: Routes = [\n {\n path: 'tabs',\n component: TabsPage,\n children: [\n {\n path: 'dashboard',\n children: [\n {\n path: '',\n loadChildren: '../dashboard/dashboard.module#DashboardModule'\n }\n ]\n },\n {\n path: '',\n redirectTo: '/app/tabs/dashboard',\n pathMatch: 'full'\n }\n ]\n }\n];",this.exampleTabsService="\n import { TabsService } from '@kirbydesign/designsystem';\n ...\n constructor(private tabsSerivce: TabsService) {}\n \n ngOnInit() {\n this.tabsService.subscribe((outlet) => {\n console.log(outlet.canGoBack());\n });\n }\n ...\n",this.properties=[{name:"tab",description:'Should be a reference to the route path hosting the contents of the tab. Path needs to be a child of your "tabs" path, otherwise navigate manually by handling the `click` event.',defaultValue:"",type:["string"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-tabs-showcase"]],decls:54,vars:5,consts:[[1,"tabs-example"],[3,"html"],["src","/examples/tabs","showExternalLink","true"],[3,"ts"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0)(1,"div")(2,"h2"),e.EFF(3,"Tabs"),e.k0s(),e.j41(4,"p"),e.EFF(5," Tabs are a top level navigation component to implement a tab-based navigation. The component is a container of individual content. "),e.k0s(),e.j41(6,"h4"),e.EFF(7,"Icons"),e.k0s(),e.j41(8,"p"),e.EFF(9," An icon for the tab can be specified by nesting a "),e.j41(10,"code"),e.EFF(11,"kirby-icon"),e.k0s(),e.EFF(12," inside the "),e.j41(13,"code"),e.EFF(14,"kirby-tab-button"),e.k0s(),e.EFF(15," tag. "),e.k0s(),e.j41(16,"h3"),e.EFF(17,"Alternative icon for selected tab"),e.k0s(),e.j41(18,"p"),e.EFF(19," If you need a different icon for the selected state of the tab, you can specify an additional icon with the attribute: "),e.j41(20,"code"),e.EFF(21,"selected-tab"),e.k0s(),e.EFF(22," (see example below). "),e.k0s(),e.nrm(23,"cookbook-code-viewer",1),e.k0s(),e.nrm(24,"cookbook-iphone",2),e.k0s(),e.j41(25,"h2"),e.EFF(26,"Router integration:"),e.k0s(),e.j41(27,"p"),e.EFF(28," When used with Angular's router the "),e.j41(29,"code"),e.EFF(30,"tab"),e.k0s(),e.EFF(31," property of the "),e.j41(32,"code"),e.EFF(33,"kirby-tab-button"),e.k0s(),e.EFF(34," should be a reference to the route path.\n"),e.k0s(),e.j41(35,"p"),e.EFF(36," Content of a tab will automatically be included by a "),e.j41(37,"code"),e.EFF(38,"router-outlet"),e.k0s(),e.EFF(39," . Therefore the route specified by the tab button's "),e.j41(40,"code"),e.EFF(41,"tab"),e.k0s(),e.EFF(42,' property should be a child route of the route hosting your "tabs page" component.\n'),e.k0s(),e.nrm(43,"cookbook-code-viewer",1)(44,"cookbook-code-viewer",3)(45,"br"),e.j41(46,"h2"),e.EFF(47,"Tab Button properties:"),e.k0s(),e.nrm(48,"cookbook-api-description-properties",4)(49,"br"),e.j41(50,"h2"),e.EFF(51,"Tabs Service"),e.k0s(),e.EFF(52,"\nThe tabs service gives you access to the tabs outlet by just injecting the service into your\ncomponent\n"),e.nrm(53,"cookbook-code-viewer",3)),2&vt&&(e.R7$(23),e.Y8G("html",Ge.exampleHtml),e.R7$(20),e.Y8G("html",Ge.exampleRouterHtml),e.R7$(),e.Y8G("ts",Ge.exampleRouterConfig),e.R7$(4),e.Y8G("properties",Ge.properties),e.R7$(5),e.Y8G("ts",Ge.exampleTabsService))},dependencies:[_o.B,bs,pt],styles:[".tabs-example[_ngcontent-%COMP%]{display:flex;margin-top:40px;margin-bottom:40px}"]})}return Ve})();var T=l(7387);let J=(()=>{class Ve{constructor(){this.exampleHtml='\n\n\n',this.properties=[{name:"message",description:"Sets the message for the toast",defaultValue:"null",type:["string"]},{name:"messageType",description:"Message type defines which color the toast will have. There are two different toast types: 'success' (green) and 'warning' (yellow)",defaultValue:"success",type:["success","warning"]},{name:"durationInMs",description:"(Optional) Duration in milliseconds before the toast dismisses automatically.",defaultValue:"4000",type:["number"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-toast-showcase"]],decls:25,vars:6,consts:[[1,"example"],[3,"html"],["language","ts"],[3,"properties"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.nrm(1,"cookbook-toast-example")(2,"cookbook-code-viewer",1),e.EFF(3," To show the toast, create a "),e.j41(4,"code"),e.EFF(5,"ToastConfig"),e.k0s(),e.EFF(6," and pass it to "),e.j41(7,"code"),e.EFF(8,"toastController.showToast"),e.k0s(),e.j41(9,"cookbook-code-viewer",2),e.EFF(10,"const config: ToastConfig = "),e.j41(11,"pre"),e.EFF(12),e.k0s()(),e.EFF(13," (Optional) if you need to know when the toast is dismissed, you can pass a callback function: "),e.j41(14,"cookbook-code-viewer",2),e.EFF(15,"this.toastController.showToast(config, myCallback);"),e.k0s(),e.EFF(16," where "),e.j41(17,"code"),e.EFF(18,"myCallback"),e.k0s(),e.EFF(19," can be e.g.: "),e.j41(20,"cookbook-code-viewer",2),e.EFF(21),e.k0s(),e.j41(22,"h4"),e.EFF(23,"Toast config properties:"),e.k0s(),e.nrm(24,"cookbook-api-description-properties",3),e.k0s()),2&vt&&(e.R7$(2),e.Y8G("html",Ge.exampleHtml),e.R7$(10),e.Lme("","{","\n message: 'Your toast message',\n messageType: 'success',\n durationInMs: 5000,\n","}",";\nthis.toastController.showToast(config);\n"),e.R7$(9),e.Lme("myCallback() ","{","\n...\n","}",""),e.R7$(3),e.Y8G("properties",Ge.properties))},dependencies:[T.x,_o.B,pt],encapsulation:2})}return Ve})();var Te=l(42506),_t=l(11909),jt=l(2363);let kn=(()=>{class Ve{constructor(){this.notificationColors=eo.A.notificationColors.map(Lt=>Lt.name),this.properties=[{name:"checked",description:"If true, the toggle button is selected.",defaultValue:"false",type:["true","false"]},{name:"checkChanged",description:"Emits the checked state of the toggle button on change (true | false).",defaultValue:"",type:["event"]}],this.buttonProperties=[{name:"themeColor",description:"Sets the background color to the provided notification color.\n **Please note: Only applies when used inside a Toggle Button",defaultValue:"",type:this.notificationColors}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["ng-component"]],decls:53,vars:7,consts:[["toggleButtonDefaultExample",""],["toggleButtonDisabledExample",""],["toggleButtonThemeColorExample",""],[1,"example"],[3,"hasMargin"],[3,"html"],[3,"routerLink"],[3,"properties"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"div",3)(1,"p"),e.EFF(2," Toggle buttons allow users to switch between two states, such as on/off or activated/deactivated. They are commonly used in settings and preferences. "),e.k0s(),e.nrm(3,"kirby-divider",4),e.j41(4,"h2"),e.EFF(5,"Icon Only & Attention Level"),e.k0s(),e.j41(6,"p"),e.EFF(7," A toggle button wraps two kirby-buttons, one marked with the "),e.j41(8,"code"),e.EFF(9,"checked"),e.k0s(),e.EFF(10," attribute and one with "),e.j41(11,"code"),e.EFF(12,"unchecked"),e.k0s(),e.EFF(13," . The "),e.j41(14,"code"),e.EFF(15,'[checked]="true"'),e.k0s(),e.EFF(16," property of the toggle button element itself can be used to set the initial state of the toggle button. "),e.k0s(),e.j41(17,"cookbook-example-viewer",5),e.nrm(18,"cookbook-toggle-button-default",null,0),e.k0s(),e.j41(20,"h2"),e.EFF(21,"Disabled"),e.k0s(),e.j41(22,"p"),e.EFF(23,"Each of the nested buttons can be disabled and will then not toggle the state."),e.k0s(),e.j41(24,"cookbook-example-viewer",5),e.nrm(25,"cookbook-toggle-button-disabled",null,1),e.k0s(),e.j41(27,"p"),e.EFF(28," In the example above "),e.j41(29,"code"),e.EFF(30,"aria-disabled"),e.k0s(),e.EFF(31," is used in place of the disabled attribute to ensure that the element is still focusable by keyboard and discoverable by assistive technology. Read more about accessible disabled buttons in "),e.j41(32,"a",6),e.EFF(33,"the button docs"),e.k0s(),e.EFF(34," . "),e.k0s(),e.j41(35,"h2"),e.EFF(36,"Theme Color"),e.k0s(),e.j41(37,"p"),e.EFF(38," In contrast to regular buttons, buttons inside a toggle button accept the "),e.j41(39,"code"),e.EFF(40,"themeColor"),e.k0s(),e.EFF(41," property for using the success, warning, and danger color palette. "),e.k0s(),e.j41(42,"cookbook-example-viewer",5),e.nrm(43,"cookbook-toggle-button-theme-color",null,2),e.k0s(),e.j41(45,"h2"),e.EFF(46,"API"),e.k0s(),e.j41(47,"h3"),e.EFF(48,"Toggle Button properties"),e.k0s(),e.nrm(49,"cookbook-api-description-properties",7),e.j41(50,"h3"),e.EFF(51,"Special Button properties"),e.k0s(),e.nrm(52,"cookbook-api-description-properties",7),e.k0s()),2&vt){const vo=e.sdS(19),Po=e.sdS(26),Hn=e.sdS(44);e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(14),e.Y8G("html",vo.template),e.R7$(7),e.Y8G("html",Po.template),e.R7$(8),e.Y8G("routerLink","../button"),e.R7$(10),e.Y8G("html",Hn.template),e.R7$(7),e.Y8G("properties",Ge.properties),e.R7$(3),e.Y8G("properties",Ge.buttonProperties)}},dependencies:[ot.Wk,_t.t,jt.e,Te.G,at.h,n.s,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}cookbook-toggle-button-example[_ngcontent-%COMP%]{padding:0;margin-bottom:16px}"]})}return Ve})();var ko=l(55644),Fi=l(92772);let _i=(()=>{class Ve{constructor(){this.exampleHtml="

      Default

      \n\n

      Angular Forms

      \n\n",this.properties=[{name:"checked",description:"If true, the toggle is selected.",defaultValue:"false",type:["true","false"]},{name:"disabled",description:"If true, the toggle is disabled.",defaultValue:"false",type:["true","false"]},{name:"checkedChange",description:"Emits the checked state of the toggle on change (true | false).",defaultValue:"",type:["event"]}]}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-toggle-showcase"]],decls:41,vars:6,consts:[["toggleDefaultExample",""],["toggleReactiveFormsExample",""],[1,"example"],[3,"hasMargin"],[3,"html"],["href","https://angular.io/guide/forms","target","_blank"],["href","https://angular.io/guide/reactive-forms","target","_blank"],["language","html",3,"inlineLabel"],[3,"html","ts"],[3,"properties"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"div",2)(1,"p"),e.EFF(2," Toggle is an input control for binary options, commonly used for managing choices and switches. "),e.k0s(),e.nrm(3,"kirby-divider",3),e.j41(4,"h2"),e.EFF(5,"Examples"),e.k0s(),e.nrm(6,"cookbook-toggle-default-example",null,0)(8,"cookbook-code-viewer",4),e.j41(9,"h2"),e.EFF(10,"Angular Forms"),e.k0s(),e.j41(11,"p"),e.EFF(12," The toggle can be used directly in "),e.j41(13,"a",5),e.EFF(14,"template driven"),e.k0s(),e.EFF(15," and "),e.j41(16,"a",6),e.EFF(17,"reactive forms"),e.k0s(),e.EFF(18," . To use toggle in a reactive form, bind your form control to "),e.j41(19,"code"),e.EFF(20,""),e.k0s(),e.EFF(21," with simple data binding: "),e.k0s(),e.j41(22,"cookbook-code-viewer",7),e.EFF(23,'\n// or simply:\n '),e.k0s(),e.j41(24,"cookbook-example-viewer",8),e.nrm(25,"cookbook-toggle-reactive-forms-example",null,1),e.k0s(),e.j41(27,"h2"),e.EFF(28,"Accessibility"),e.k0s(),e.j41(29,"p"),e.EFF(30," Always provide a label for the toggle to inform screen reader users what the toggle is controlling. "),e.k0s(),e.j41(31,"p"),e.EFF(32," When using the toggle without a visible label, set the "),e.j41(33,"code"),e.EFF(34,"aria-label"),e.k0s(),e.EFF(35," property instead. "),e.k0s(),e.j41(36,"h2"),e.EFF(37,"API"),e.k0s(),e.j41(38,"h3"),e.EFF(39,"Properties:"),e.k0s(),e.nrm(40,"cookbook-api-description-properties",9),e.k0s()),2&vt){const vo=e.sdS(7),Po=e.sdS(26);e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(5),e.Y8G("html",vo.template),e.R7$(14),e.Y8G("inlineLabel",!0),e.R7$(2),e.Y8G("html",Po.template)("ts",Po.codeSnippet),e.R7$(16),e.Y8G("properties",Ge.properties)}},dependencies:[at.h,ko.j,_o.B,n.s,Fi.y,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}cookbook-toggle-default-example[_ngcontent-%COMP%]{padding:0;margin-bottom:16px;display:flex;flex-direction:column;gap:16px}@media (min-width: 768px){cookbook-toggle-default-example[_ngcontent-%COMP%]{flex-direction:row;gap:40px}}cookbook-reative-forms-example[_ngcontent-%COMP%]{padding:0;margin-bottom:16px}"]})}return Ve})(),fr=(()=>{class Ve{static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-toolbar-showcase"]],decls:19,vars:0,consts:[[1,"example"],["href","/home/showcase/page"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0)(1,"h1")(2,"code"),e.EFF(3,"kirby-toolbar"),e.k0s(),e.EFF(4," has been removed "),e.k0s(),e.j41(5,"p"),e.EFF(6," Use "),e.j41(7,"code"),e.EFF(8,"kirby-page"),e.k0s(),e.EFF(9," instead as this has toolbar functionality integrated. "),e.k0s(),e.j41(10,"p"),e.EFF(11," See "),e.j41(12,"a",1),e.EFF(13,"the page showcase"),e.k0s(),e.EFF(14," for more information. "),e.k0s(),e.j41(15,"p"),e.EFF(16," A seperate toolbar component currently exists in Sketch. This will be removed in the future. "),e.k0s(),e.j41(17,"p"),e.EFF(18," This cookbook page will be removed once the discrepancy between Sketch and the library has been fixed. "),e.k0s()())},encapsulation:2})}return Ve})();var vr=l(27037);const Ki=()=>["Bacon","Salami","Tenderloin"],Ri_template="";let Mr=(()=>{class Ve{constructor(){this.template=Ri_template}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-radio-default-example"]],decls:1,vars:2,consts:[[3,"items"]],template:function(vt,Ge){1&vt&&e.nrm(0,"kirby-radio-group",0),2&vt&&e.Y8G("items",e.lJ4(1,Ki))},dependencies:[vr.s7,vr.Y2],encapsulation:2})}return Ve})();var ds=l(564),$r=l(97010),Sr=l(43319),Ls=l(93093),ta=l(34889),Ns=l(90565),da=l(58553),fa=l(1199),Rl=l(72449);let Gl=(()=>{class Ve{constructor(){this.radioProperties=[{name:"value",description:"The value represented by the radio button.",defaultValue:"undefined",type:["any"]},{name:"disabled",description:"Disables the radio button so that the user cannot interact with it.",defaultValue:"false",type:["true","false"]},{name:"text",description:"Adds a label text. This is mandatory when used in a plain radio button list.",type:["string"]}],this.radioGroupProperties=[{name:"items",description:"The items rendered within the radio group.",defaultValue:"[]",type:["Array | Array"]},{name:"value",description:"The selected value of the kirby-radio-group, corresponding to a value set on a kirby-radio.",defaultValue:"undefined",type:["any"]},{name:"selectedIndex",description:"The index of the selected item within the `items` array.",defaultValue:"-1",type:["number"]},{name:"itemTextProperty",description:"The property to use for the text representation of items when configured with `Array`.",defaultValue:"'text'",type:["string"]},{name:"itemDisabledProperty",description:"The property to use for whether the option is disabled when items is configured with `Array`.",defaultValue:"'disabled'",type:["string"]}],this.groupEvents=[{name:"valueChange",description:"Emitted when the selected value changes",signature:"(value: any) => void"}]}scrollTo(Lt){return Lt.scrollIntoView({behavior:"smooth"}),!1}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-radio-showcase"]],decls:391,vars:22,consts:[["default",""],["defaultExample",""],["radioStates",""],["statesExample",""],["radioSizes",""],["sizesExample",""],["multilineLabel",""],["radioMultilineExample",""],["simpleDataBinding",""],["bindingExample",""],["twoWayBinding",""],["customRadioTemplate",""],["customContentExample",""],["inFormField",""],["inFormFieldExample",""],["inItem",""],["inItemExample",""],["inList",""],["ngforms",""],["reactiveForms",""],["reactiveFormExample",""],["templateDrivenForms",""],["templateDrivenFormExample",""],["href","#",3,"click"],[3,"html"],[3,"html","ts"],[3,"html","ts","css"],["href","https://angular.io/api/forms/ControlValueAccessor","target","_blank"],["href","https://angular.io/guide/forms","target","_blank"],["href","https://angular.io/guide/reactive-forms","target","_blank"],["language","html",3,"inlineLabel"],[3,"properties"],[3,"events"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"p"),e.EFF(1," Radio button is a control that allows the user to select one option from a set while seeing all available options.\n"),e.k0s(),e.j41(2,"p"),e.EFF(3," Radios should be used inside of a "),e.j41(4,"code"),e.EFF(5,"kirby-radio-group"),e.k0s(),e.EFF(6," . Pressing on a radio will check it. They can also be checked programmatically by setting the "),e.j41(7,"code"),e.EFF(8,"value"),e.k0s(),e.EFF(9," property of the parent "),e.j41(10,"code"),e.EFF(11,"kirby-radio-group"),e.k0s(),e.EFF(12," to the value of the radio.\n"),e.k0s(),e.j41(13,"p"),e.EFF(14," When radios are inside of a radio group, only one radio in the group will be checked at any time. Pressing a radio will check it and uncheck the previously selected radio, if there is one. If a radio is not in a group with another radio, then both radios will have the ability to be checked at the same time.\n"),e.k0s(),e.j41(15,"ul")(16,"li"),e.EFF(17," Display a plain list of radios "),e.j41(18,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(65);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(19,"with just a string array"),e.k0s()(),e.j41(20,"li"),e.EFF(21," Supported "),e.j41(22,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(82);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(23,"radio states"),e.k0s()(),e.j41(24,"li"),e.EFF(25," Supported "),e.j41(26,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(88);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(27,"radio sizes"),e.k0s()(),e.j41(28,"li"),e.EFF(29," Support for "),e.j41(30,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(96);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(31,"mulitline label"),e.k0s()(),e.j41(32,"li"),e.EFF(33," Support for "),e.j41(34,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(110);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(35,"simple data binding"),e.k0s()(),e.j41(36,"li"),e.EFF(37," Support for "),e.j41(38,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(184);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(39,"two way binding"),e.k0s()(),e.j41(40,"li"),e.EFF(41," Customize radios with "),e.j41(42,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(202);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(43,"custom radio templates"),e.k0s()(),e.j41(44,"li"),e.EFF(45," Use radio group "),e.j41(46,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(246);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(47,"in a form field"),e.k0s()(),e.j41(48,"li"),e.EFF(49," Use radio group "),e.j41(50,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(276);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(51,"in an item"),e.k0s()(),e.j41(52,"li"),e.EFF(53," Use radio group in a form with "),e.j41(54,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(325);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(55,"ngForms"),e.k0s(),e.EFF(56," : "),e.j41(57,"ul")(58,"li")(59,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(341);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(60,"Reactive forms"),e.k0s()(),e.j41(61,"li")(62,"a",23),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(354);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(63,"Template driven forms"),e.k0s()()()()(),e.j41(64,"h2",null,0),e.EFF(66,"Default"),e.k0s(),e.j41(67,"p"),e.EFF(68," To display a plain list of radio buttons simply provide the options as a plain "),e.j41(69,"code"),e.EFF(70,"string[]"),e.k0s(),e.EFF(71," array to the "),e.j41(72,"code"),e.EFF(73,"items"),e.k0s(),e.EFF(74," property of the "),e.j41(75,"code"),e.EFF(76,""),e.k0s(),e.EFF(77," wrapper component:\n"),e.k0s(),e.j41(78,"cookbook-example-viewer",24),e.nrm(79,"cookbook-radio-default-example",null,1),e.k0s(),e.j41(81,"h2",null,2),e.EFF(83,"States"),e.k0s(),e.j41(84,"cookbook-example-viewer",24),e.nrm(85,"cookbook-radio-states-example",null,3),e.k0s(),e.j41(87,"h2",null,4),e.EFF(89,"Sizes"),e.k0s(),e.j41(90,"p"),e.EFF(91," The size applies to the clickable/tapable area (highlighted in the examples below). The radio icon always has the same size.\n"),e.k0s(),e.j41(92,"cookbook-example-viewer",24),e.nrm(93,"cookbook-radio-sizes-example",null,5),e.k0s(),e.j41(95,"h2",null,6),e.EFF(97,"Multiline Label"),e.k0s(),e.j41(98,"p"),e.EFF(99," Line breaks can be made by using "),e.j41(100,"code"),e.EFF(101,"\\n"),e.k0s(),e.EFF(102," or "),e.j41(103,"code"),e.EFF(104," "),e.k0s(),e.EFF(105," .\n"),e.k0s(),e.j41(106,"cookbook-example-viewer",24),e.nrm(107,"cookbook-radio-multiline-example",null,7),e.k0s(),e.j41(109,"h2",null,8),e.EFF(111,"Simple data binding"),e.k0s(),e.j41(112,"p")(113,"code"),e.EFF(114,""),e.k0s(),e.EFF(115," supports data binding using simple "),e.j41(116,"code"),e.EFF(117,"@Input"),e.k0s(),e.EFF(118," property and "),e.j41(119,"code"),e.EFF(120,"@Output"),e.k0s(),e.EFF(121," event binding.\n"),e.k0s(),e.j41(122,"p"),e.EFF(123," You can "),e.j41(124,"strong"),e.EFF(125,"supply an array of any data type"),e.k0s(),e.EFF(126," through the "),e.j41(127,"code"),e.EFF(128,"items"),e.k0s(),e.EFF(129," property - just remember to also set the "),e.j41(130,"code"),e.EFF(131,"itemTextProperty"),e.k0s(),e.EFF(132," to the member of your data that you want to show as the label (defaults to "),e.j41(133,"code"),e.EFF(134,"'text'"),e.k0s(),e.EFF(135," ).\n"),e.k0s(),e.j41(136,"p"),e.EFF(137," To "),e.j41(138,"strong"),e.EFF(139,"pre-select"),e.k0s(),e.EFF(140," an option you can set the selected item in the "),e.j41(141,"code"),e.EFF(142,"value"),e.k0s(),e.EFF(143," property of "),e.j41(144,"code"),e.EFF(145,""),e.k0s(),e.EFF(146," . "),e.nrm(147,"br"),e.EFF(148," This can also be achieved by setting the index of the selected item in the "),e.j41(149,"code"),e.EFF(150,"selectedIndex"),e.k0s(),e.EFF(151," property.\n"),e.k0s(),e.j41(152,"p"),e.EFF(153," To "),e.j41(154,"strong"),e.EFF(155,"disable"),e.k0s(),e.EFF(156," an option you can set the "),e.j41(157,"code"),e.EFF(158,"itemDisabledProperty"),e.k0s(),e.EFF(159," of "),e.j41(160,"code"),e.EFF(161,""),e.k0s(),e.EFF(162," to the member of a "),e.j41(163,"code"),e.EFF(164,"boolean"),e.k0s(),e.EFF(165," property in your data (defaults to "),e.j41(166,"code"),e.EFF(167,"'disabled'"),e.k0s(),e.EFF(168," ).\n"),e.k0s(),e.j41(169,"p"),e.EFF(170," To be notified when the "),e.j41(171,"strong"),e.EFF(172,"selected value changes"),e.k0s(),e.EFF(173," you can bind the "),e.j41(174,"code"),e.EFF(175,"valueChange"),e.k0s(),e.EFF(176," event of "),e.j41(177,"code"),e.EFF(178,""),e.k0s(),e.EFF(179," .\n"),e.k0s(),e.j41(180,"cookbook-example-viewer",25),e.nrm(181,"cookbook-radio-example-binding",null,9),e.k0s(),e.j41(183,"h2",null,10),e.EFF(185,"Two-way data binding"),e.k0s(),e.j41(186,"p"),e.EFF(187," To bind the value of the selected radio to a property on your host componenent, you can use Angular's two-way data binding syntax "),e.j41(188,"code"),e.EFF(189,"[()]"),e.k0s(),e.EFF(190," (also known as "),e.j41(191,"em"),e.EFF(192,"banana in a box"),e.k0s(),e.EFF(193," ) that combines the brackets of property binding, "),e.j41(194,"code"),e.EFF(195,"[]"),e.k0s(),e.EFF(196," , with the parentheses of event binding, "),e.j41(197,"code"),e.EFF(198,"()"),e.k0s(),e.EFF(199," : "),e.nrm(200,"cookbook-code-viewer",24),e.k0s(),e.j41(201,"h2",null,11),e.EFF(203,"Custom radio template"),e.k0s(),e.j41(204,"p"),e.EFF(205,"If you need to customize the radio buttons you can either:"),e.k0s(),e.j41(206,"ol")(207,"li"),e.EFF(208," Slot any number of "),e.j41(209,"code"),e.EFF(210,""),e.k0s(),e.EFF(211," between the opening and closing tags of "),e.j41(212,"code"),e.EFF(213,""),e.k0s(),e.EFF(214," in your template. "),e.nrm(215,"br"),e.j41(216,"em")(217,"strong"),e.EFF(218,"Please note:"),e.k0s(),e.EFF(219," In this case you should omit setting the "),e.j41(220,"code"),e.EFF(221,"items"),e.k0s(),e.EFF(222," property of "),e.j41(223,"code"),e.EFF(224,""),e.k0s(),e.EFF(225," . "),e.k0s(),e.nrm(226,"br"),e.EFF(227," \xa0 "),e.k0s(),e.j41(228,"li"),e.EFF(229," Supply a custom item template through the "),e.j41(230,"code"),e.EFF(231,"*kirbyListItemTemplate"),e.k0s(),e.EFF(232," directive. Just remember to include a "),e.j41(233,"code"),e.EFF(234,""),e.k0s(),e.EFF(235," inside your template with the "),e.j41(236,"code"),e.EFF(237,"value"),e.k0s(),e.EFF(238," property set to your data item and the "),e.j41(239,"code"),e.EFF(240,"text"),e.k0s(),e.EFF(241," property set to the textual representation of your data item. "),e.k0s()(),e.j41(242,"cookbook-example-viewer",26),e.nrm(243,"cookbook-radio-custom-content-example",null,12),e.k0s(),e.j41(245,"h2",null,13),e.EFF(247,"In Form Field"),e.k0s(),e.j41(248,"p"),e.EFF(249," Radios can placed within a "),e.j41(250,"code"),e.EFF(251,""),e.k0s(),e.EFF(252," and assigned a label and an optional message. "),e.nrm(253,"br"),e.EFF(254," Clicking the label will focus the selected radio, if any, otherwise the first radio.\n"),e.k0s(),e.j41(255,"p")(256,"strong"),e.EFF(257,"Validation"),e.k0s(),e.nrm(258,"br"),e.EFF(259," If validation for the field fails you can set the "),e.j41(260,"code"),e.EFF(261,"hasError"),e.k0s(),e.EFF(262," property of "),e.j41(263,"code"),e.EFF(264,""),e.k0s(),e.EFF(265," (and optionally an error message through the "),e.j41(266,"code"),e.EFF(267,"message"),e.k0s(),e.EFF(268," property of "),e.j41(269,"code"),e.EFF(270,""),e.k0s(),e.EFF(271," ).\n"),e.k0s(),e.j41(272,"cookbook-example-viewer",24),e.nrm(273,"cookbook-radio-in-form-field-example",null,14),e.k0s(),e.j41(275,"h2",null,15),e.EFF(277,"In Item"),e.k0s(),e.j41(278,"p"),e.EFF(279," To render radio buttons as part of an item (e.g. inside a card) you can either supply the item template through the "),e.j41(280,"code"),e.EFF(281,"*kirbyListItemTemplate"),e.k0s(),e.EFF(282," directive (see list example below) or you can simply nest the items inside the "),e.j41(283,"code"),e.EFF(284,""),e.k0s(),e.EFF(285," wrapper component using static markup or an "),e.j41(286,"code"),e.EFF(287,"*ngFor"),e.k0s(),e.EFF(288," loop.\n"),e.k0s(),e.j41(289,"p"),e.EFF(290," This example groups a "),e.j41(291,"code"),e.EFF(292,"kirby-radio"),e.k0s(),e.EFF(293," and "),e.j41(294,"code"),e.EFF(295,"kirby-label"),e.k0s(),e.EFF(296," inside a "),e.j41(297,"code"),e.EFF(298,"kirby-item"),e.k0s(),e.EFF(299," . "),e.nrm(300,"br"),e.EFF(301," The radio can be left aligned using "),e.j41(302,"code"),e.EFF(303,'slot="start"'),e.k0s(),e.EFF(304," or right-aligned using "),e.j41(305,"code"),e.EFF(306,'slot="end"'),e.k0s(),e.EFF(307," . "),e.nrm(308,"br"),e.j41(309,"em")(310,"strong"),e.EFF(311,"Please note:"),e.k0s(),e.EFF(312," Always remember to wrap the list of items in a "),e.j41(313,"code"),e.EFF(314,""),e.k0s(),e.EFF(315," . "),e.k0s()(),e.j41(316,"cookbook-example-viewer",25),e.nrm(317,"cookbook-radio-in-item-example",null,16),e.k0s(),e.j41(319,"h2",null,17),e.EFF(321,"In List"),e.k0s(),e.j41(322,"em"),e.EFF(323,'See "In Item" example above.'),e.k0s(),e.j41(324,"h2",null,18),e.EFF(326,"ngForms"),e.k0s(),e.j41(327,"p")(328,"code"),e.EFF(329,"kirby-radio-group"),e.k0s(),e.EFF(330," implements the "),e.j41(331,"a",27),e.EFF(332," control value accessor interface "),e.k0s(),e.EFF(333," , which means it is ngForms-enabled. This allows you to use it directly in "),e.j41(334,"a",28),e.EFF(335,"template driven"),e.k0s(),e.EFF(336," and "),e.j41(337,"a",29),e.EFF(338,"reactive forms"),e.k0s(),e.EFF(339," .\n"),e.k0s(),e.j41(340,"h3",null,19),e.EFF(342,"Reactive Forms"),e.k0s(),e.j41(343,"p"),e.EFF(344," To use radios in a reactive form, bind your form control to "),e.j41(345,"code"),e.EFF(346,""),e.k0s(),e.EFF(347," with simple data binding:\n"),e.k0s(),e.j41(348,"cookbook-code-viewer",30),e.EFF(349,'\n// or simply:\n\n'),e.k0s(),e.j41(350,"cookbook-example-viewer",25),e.nrm(351,"cookbook-radio-reactive-forms-example",null,20),e.k0s(),e.j41(353,"h3",null,21),e.EFF(355,"Template Driven Forms"),e.k0s(),e.j41(356,"p"),e.EFF(357," To use radios in a template driven form, simply two-way bind your selected value to "),e.j41(358,"code"),e.EFF(359,""),e.k0s(),e.EFF(360," with "),e.j41(361,"code"),e.EFF(362,"ngModel"),e.k0s(),e.EFF(363," :\n"),e.k0s(),e.j41(364,"cookbook-code-viewer",30),e.EFF(365,'\n'),e.k0s(),e.j41(366,"cookbook-example-viewer",25),e.nrm(367,"cookbook-radio-template-driven-forms-example",null,22),e.k0s(),e.j41(369,"h2"),e.EFF(370,"Accessibility"),e.k0s(),e.j41(371,"p"),e.EFF(372," Always provide a label for the radio to inform screen reader users what the radio is controlling.\n"),e.k0s(),e.j41(373,"p"),e.EFF(374," When using the radio without a visible label, set the "),e.j41(375,"code"),e.EFF(376,"aria-label"),e.k0s(),e.EFF(377," property instead.\n"),e.k0s(),e.j41(378,"h2"),e.EFF(379,"Properties"),e.k0s(),e.j41(380,"h3"),e.EFF(381,"Radio:"),e.k0s(),e.nrm(382,"cookbook-api-description-properties",31),e.j41(383,"h3"),e.EFF(384,"Radio Group:"),e.k0s(),e.nrm(385,"cookbook-api-description-properties",31),e.j41(386,"h2"),e.EFF(387,"Events"),e.k0s(),e.j41(388,"h3"),e.EFF(389,"Radio Group:"),e.k0s(),e.nrm(390,"cookbook-api-description-events",32)}if(2&vt){const vo=e.sdS(80),Po=e.sdS(86),Hn=e.sdS(94),ls=e.sdS(108),Ms=e.sdS(182),Os=e.sdS(244),ga=e.sdS(274),Bs=e.sdS(318),xa=e.sdS(352),Ia=e.sdS(368);e.R7$(78),e.Y8G("html",vo.template),e.R7$(6),e.Y8G("html",Po.template),e.R7$(8),e.Y8G("html",Hn.template),e.R7$(14),e.Y8G("html",ls.template),e.R7$(74),e.Y8G("html",Ms.template)("ts",Ms.codeSnippet),e.R7$(20),e.Y8G("html",Ms.twoWayBindingTemplate),e.R7$(42),e.Y8G("html",Os.template)("ts",Os.codeSnippet)("css",Os.styles),e.R7$(30),e.Y8G("html",ga.template),e.R7$(44),e.Y8G("html",Bs.template)("ts",Bs.codeSnippet),e.R7$(32),e.Y8G("inlineLabel",!0),e.R7$(2),e.Y8G("html",xa.template)("ts",xa.codeSnippet),e.R7$(14),e.Y8G("inlineLabel",!0),e.R7$(2),e.Y8G("html",Ia.template)("ts",Ia.codeSnippet),e.R7$(16),e.Y8G("properties",Ge.radioProperties),e.R7$(3),e.Y8G("properties",Ge.radioGroupProperties),e.R7$(5),e.Y8G("events",Ge.groupEvents)}},dependencies:[n.s,Mr,ds.H,$r.D,Sr.u,Ls.Y,_o.B,ta.H,Ns.M,da.D,fa.h,Rl.Q,pt,hn],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}h3[_ngcontent-%COMP%]{margin-top:32px;border-bottom:none}"]})}return Ve})();var Ll=l(7177),el=l(33510),Ol=l(58258),pl=l(1511);const vc_template='
      \n \x3c!-- Your accessible content here --\x3e \n
      ',vc_codeSnippet="\n private _chart: Chart;\n\n public ngAfterViewInit(): void {\n StockChartConfig.registerPlugins();\n this.createChart();\n }\n\n public ngOnDestroy(): void {\n this._chart.destroy();\n }\n\n private createChart() {\n let config = StockChartConfig.baseConfig;\n\n config = {\n ...config,\n plugins: [ChartDataLabels], // 'chartjs-plugin-datalabels' package must be installed;\n options: {\n ...config.options,\n plugins: {\n datalabels: StockChartConfig.dataLabelsPluginConfig,\n },\n },\n data: {\n datasets: [\n {\n data: this.demoData.map((demoDataEntry) => demoDataEntry),\n },\n ],\n labels: this.demoData.map((demoDataEntry) => demoDataEntry.x),\n },\n };\n this._chart = new Chart(this.canvasId, config);\n }";let nr=(()=>{class Ve{constructor(){this.template=vc_template,this.codeSnippet=vc_codeSnippet,this.canvasId="configStockDatalabelsCanvas",this.demoData=pl.B.demoData}ngAfterViewInit(){sr.TL.registerPlugins(),this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let Lt=sr.TL.baseConfig;Lt={...Lt,plugins:[Ol.A],options:{...Lt.options,plugins:{datalabels:sr.TL.dataLabelsPluginConfig}},data:{datasets:[{data:this.demoData.map(vt=>vt)}],labels:this.demoData.map(vt=>vt.x)}},this._chart=new el.t1(this.canvasId,Lt)}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-config-datalabels-stock"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.nrm(1,"canvas",1),e.k0s()),2&vt&&(e.R7$(),e.FS9("id",Ge.canvasId))},encapsulation:2})}return Ve})();const br_template='
      \n \x3c!-- Your accessible content here --\x3e \n
      ',br_codeSnippet="\n private _chart: Chart;\n\n public ngAfterViewInit(): void {\n StockChartConfig.registerPlugins();\n this.createChart();\n }\n\n public ngOnDestroy(): void {\n this._chart.destroy();\n }\n\n private createChart() {\n let config = StockChartConfig.baseConfig;\n\n config = {\n ...config,\n plugins: [StockChartConfig.verticalLinePluginConfig],\n options: {\n ...config.options,\n plugins: {\n tooltip: StockChartConfig.tooltipPlugin,\n },\n },\n data: {\n datasets: [\n {\n data: this.demoData.map((demoDataEntry) => demoDataEntry),\n },\n ],\n labels: this.demoData.map((demoDataEntry) => demoDataEntry.x),\n },\n };\n this._chart = new Chart(this.canvasId, config);\n }";let Er=(()=>{class Ve{constructor(){this.template=br_template,this.codeSnippet=br_codeSnippet,this.canvasId="configStockTooltipCanvas",this.demoData=pl.B.demoData}ngAfterViewInit(){sr.TL.registerPlugins(),this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let Lt=sr.TL.baseConfig;Lt={...Lt,plugins:[sr.TL.verticalLinePluginConfig],options:{...Lt.options,plugins:{tooltip:sr.TL.tooltipPlugin}},data:{datasets:[{data:this.demoData.map(vt=>vt)}],labels:this.demoData.map(vt=>vt.x)}},this._chart=new el.t1(this.canvasId,Lt)}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-config-tooltip-stock"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.nrm(1,"canvas",1),e.k0s()),2&vt&&(e.R7$(),e.FS9("id",Ge.canvasId))},encapsulation:2})}return Ve})();const us_template='
      \n \x3c!-- Your accessible content here --\x3e \n
      ',us_codeSnippet="\n private _chart: Chart;\n\n public ngAfterViewInit(): void {\n StockChartConfig.registerPlugins();\n this.createChart();\n }\n\n public ngOnDestroy(): void {\n this._chart.destroy();\n }\n\n private createChart() {\n let config = StockChartConfig.baseConfig;\n\n config = {\n ...config,\n plugins: [\n StockChartConfig.verticalLinePluginConfig,\n ChartDataLabels // 'chartjs-plugin-datalabels' package must be installed;\n ], \n options: {\n ...config.options,\n plugins: {\n tooltip: StockChartConfig.tooltipPlugin,\n datalabels: StockChartConfig.dataLabelsPluginConfig,\n },\n },\n data: {\n datasets: [\n {\n data: this.demoData.map((demoDataEntry) => demoDataEntry),\n },\n ],\n labels: this.demoData.map((demoDataEntry) => demoDataEntry.x),\n },\n };\n this._chart = new Chart(this.canvasId, config);\n }";let ua=(()=>{class Ve{constructor(){this.template=us_template,this.codeSnippet=us_codeSnippet,this.canvasId="configStockCanvas",this.demoData=pl.B.demoData}ngAfterViewInit(){sr.TL.registerPlugins(),this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let Lt=sr.TL.baseConfig;Lt={...Lt,plugins:[sr.TL.verticalLinePluginConfig,Ol.A],options:{...Lt.options,plugins:{tooltip:sr.TL.tooltipPlugin,datalabels:sr.TL.dataLabelsPluginConfig}},data:{datasets:[{data:this.demoData.map(vt=>vt)}],labels:this.demoData.map(vt=>vt.x)}},this._chart=new el.t1(this.canvasId,Lt)}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-config-stock"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.nrm(1,"canvas",1),e.k0s()),2&vt&&(e.R7$(),e.FS9("id",Ge.canvasId))},encapsulation:2})}return Ve})(),tl=(()=>{class Ve{constructor(){this.data=pl.B.demoDataString}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-stock-config-showcase"]],decls:50,vars:15,consts:[["baseStockConfigExample",""],["stockDatalabelsExample",""],["stockTooltipExample",""],["stockAllFeaturesConfigExample",""],["routerLink","../../guides/chart-config"],[3,"inlineLabel","ts","language"],[3,"hasPadding"],[3,"html","ts"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"h2"),e.EFF(1,"Stock Chart built from configs"),e.k0s(),e.j41(2,"p"),e.EFF(3," This page describes how to implement various types of stock charts using the Kirby standard configurations. If you would like a guide on how to get started, go to "),e.j41(4,"a",4),e.EFF(5,"this guide"),e.k0s(),e.EFF(6," .\n"),e.k0s(),e.j41(7,"p"),e.EFF(8," The philosophy of the Kirby chart configs is to give the implementer full control over the chart, while providing standard configs, which makes it easy to create custom charts which comply with the Kirby design.\n"),e.k0s(),e.j41(9,"p"),e.EFF(10," The idea behind Kirby chart config is "),e.j41(11,"em"),e.EFF(12,"only"),e.k0s(),e.EFF(13," to provide configurations and not the canvas itself. It is for the implementer to provide the canvas because it gives the implementer ownership.\n"),e.k0s(),e.j41(14,"p"),e.EFF(15,"Below is a guide on how to implement different variations of the stock chart."),e.k0s(),e.j41(16,"h3"),e.EFF(17,"Demo data"),e.k0s(),e.j41(18,"p"),e.EFF(19,"The data used to exemplify these charts is displayed below:"),e.k0s(),e.j41(20,"p"),e.nrm(21,"cookbook-code-viewer",5),e.k0s(),e.j41(22,"h3"),e.EFF(23,"stock chart"),e.k0s(),e.j41(24,"p")(25,"kirby-card",6)(26,"cookbook-example-viewer",7),e.nrm(27,"cookbook-chart-example-config-base-stock",null,0),e.k0s()()(),e.j41(29,"h3"),e.EFF(30,"Chart with min & max datalabels"),e.k0s(),e.j41(31,"p")(32,"kirby-card",6)(33,"cookbook-example-viewer",7),e.nrm(34,"cookbook-chart-example-config-datalabels-stock",null,1),e.k0s()()(),e.j41(36,"h3"),e.EFF(37,"Chart with a tooltip"),e.k0s(),e.j41(38,"p")(39,"kirby-card",6)(40,"cookbook-example-viewer",7),e.nrm(41,"cookbook-chart-example-config-tooltip-stock",null,2),e.k0s()()(),e.j41(43,"h3"),e.EFF(44,"A chart with all features available"),e.k0s(),e.j41(45,"p")(46,"kirby-card",6)(47,"cookbook-example-viewer",7),e.nrm(48,"cookbook-chart-example-config-stock",null,3),e.k0s()()()),2&vt){const vo=e.sdS(28),Po=e.sdS(35),Hn=e.sdS(42),ls=e.sdS(49);e.R7$(21),e.Y8G("inlineLabel",!0)("ts",Ge.data)("language","ts"),e.R7$(4),e.Y8G("hasPadding",!0),e.R7$(),e.Y8G("html",vo.template)("ts",vo.codeSnippet),e.R7$(6),e.Y8G("hasPadding",!0),e.R7$(),e.Y8G("html",Po.template)("ts",Po.codeSnippet),e.R7$(6),e.Y8G("hasPadding",!0),e.R7$(),e.Y8G("html",Hn.template)("ts",Hn.codeSnippet),e.R7$(6),e.Y8G("hasPadding",!0),e.R7$(),e.Y8G("html",ls.template)("ts",ls.codeSnippet)}},dependencies:[ot.Wk,_o.B,Ft.Dw,Ft.ib,n.s,Ll.$,nr,Er,ua],encapsulation:2})}return Ve})();const wa_template='
      \n \x3c!-- Your accessible content here --\x3e \n
      ',wa_codeSnippet="private _chart: Chart;\n \npublic ngAfterViewInit(): void {\n this.createChart();\n}\n\npublic ngOnDestroy(): void {\n this._chart.destroy();\n}\n\nprivate createChart() {\n let config = BarChartConfig.baseConfig;\n\n config = {\n ...config,\n options: {\n ...config.options,\n },\n data: {\n datasets: [\n {\n data: this.demoData,\n },\n ],\n labels: this.demoData.map((_) => ''),\n },\n };\n this._chart = new Chart(this.canvasId, config);\n}";let Cl=(()=>{class Ve{constructor(){this.template=wa_template,this.codeSnippet=wa_codeSnippet,this.canvasId="configBarBaseCanvas"+1e3*Math.random(),this.demoData=pl.B.barDemoData}ngAfterViewInit(){this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let Lt=sr.q0.baseConfig;Lt={...Lt,options:{...Lt.options},data:{datasets:[{data:this.demoData}],labels:this.demoData.map(()=>"")}},this._chart=new el.t1(this.canvasId,Lt)}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-example-config-base-bar"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(vt,Ge){1&vt&&(e.j41(0,"div",0),e.nrm(1,"canvas",1),e.k0s()),2&vt&&(e.R7$(),e.FS9("id",Ge.canvasId))},encapsulation:2})}return Ve})(),es=(()=>{class Ve{constructor(){this.data=pl.B.barDemoDataString}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-chart-stock-config-showcase"]],decls:19,vars:6,consts:[["baseBarConfigExample",""],["routerLink","../../guides/chart-config"],[3,"inlineLabel","ts","language"],[3,"hasPadding"],[3,"html","ts"]],template:function(vt,Ge){if(1&vt&&(e.j41(0,"h2"),e.EFF(1,"Bar Chart built from configs"),e.k0s(),e.j41(2,"p"),e.EFF(3," This page describes how to implement various types of bar charts using the Kirby standard configurations. If you would like a guide on how to get started on Kirby chart configs, go to "),e.j41(4,"a",1),e.EFF(5,"this guide"),e.k0s(),e.EFF(6," .\n"),e.k0s(),e.j41(7,"h3"),e.EFF(8,"Demo data"),e.k0s(),e.j41(9,"p"),e.EFF(10,"The data used to exemplify these charts is displayed below:"),e.k0s(),e.j41(11,"p"),e.nrm(12,"cookbook-code-viewer",2),e.k0s(),e.j41(13,"h3"),e.EFF(14,"Bar chart"),e.k0s(),e.j41(15,"kirby-card",3)(16,"cookbook-example-viewer",4),e.nrm(17,"cookbook-chart-example-config-base-bar",null,0),e.k0s()()),2&vt){const vo=e.sdS(18);e.R7$(12),e.Y8G("inlineLabel",!0)("ts",Ge.data)("language","ts"),e.R7$(3),e.Y8G("hasPadding",!0),e.R7$(),e.Y8G("html",vo.template)("ts",vo.codeSnippet)}},dependencies:[ot.Wk,_o.B,Ft.Dw,Ft.ib,n.s,Cl],encapsulation:2})}return Ve})();var El=l(20867),js=l(12203),_a=l(46954),Tl=l(48982),Ga=l(31519),kc=l(23769),oc=l(57203),Ac=l(52436),jl=l(54005),Pl=l(47999),au=l(80505),lu=l(71613),Rc=l(70900),Lc=l(52556);let vd=(()=>{class Ve{constructor(){this.actionGroupTemplate=Lc.U.template,this.emphasizedActionGroupTemplate=Rc.Y.template,this.customActionsTemplate=lu.$.template,this.interactiveTitleTemplate=au.z.template,this.interactiveTitleSnippet=au.z.codeSnippet,this.properties=[{name:"title",description:"A string that is used as the title.",type:["string"],defaultValue:""},{name:"value",description:"A string that is used as the value.",type:["string"],defaultValue:""},{name:"valueUnit",description:"A string that is used to describe the units of the value.",type:["string"],defaultValue:""},{name:"subtitle1",description:"A string that is used as the first subtitle.",type:["string"],defaultValue:""},{name:"subtitle2",description:"A string that is used as the second subtitle.",type:["string"],defaultValue:""},{name:"centered",description:"A boolean that describe whether the header should be centered.",type:["boolean"],defaultValue:"false"},{name:"titleMaxLines",description:"The allowed number of lines in the title. The text will be scaled from h1 -> h3 to fit and otherwise truncated.",type:["number"],defaultValue:""},{name:"emphasizeActions",description:'A boolean that describe whether to emphasize the action buttons\u2014i.e. all buttons will be shown and not automatically collapse into a "more" menu. The buttons will also be visible under the title area on small screens. Keep in mind that this setting use more screen real estate than the default option.\n\n**Please note** With this setting enabled you should ensure the action buttons can fit on the screen\u2014or collapse secondary actions into a "more" menu using the `visibleActions` property of kirby-action-group.',type:["boolean"],defaultValue:"false"}],this.directiveColumns={name:"Name",description:"Description"},this.directives=[{name:"*kirbyHeaderActions",description:"The `*kirbyHeaderActions` directive should be applied to the host or container element (e.g. `kirby-action-group` or an `ng-container`) for the page and header components to render the actions in both locations"},{name:"*kirbyHeaderCustomSection",description:"The `*kirbyHeaderCustomSection` directive can be applied to any host or container element which will then be shown just below the title (and any subtitles) at the top of the page."},{name:"*kirbyHeaderTitleActionIcon",description:"For an interactive title (i.e. handling the `titleClick` event) the `*kirbyHeaderTitleActionIcon` directive can be applied to a `kirby-icon` element which will then be shown next to the title element for affordance.\n\n**Please note: this only applies in key value scenarios."},{name:"*kirbyHeaderCustomFlag",description:"For a custom flag to be shown in the flag section the `*kirbyHeaderCustomFlag` directive can be applied to any host or container element.\n\n**Please note: You should not have both a custom flag and kirby-flag present at the same time."}],this.events=[{name:"titleClick",description:"Emitted when the title element is clicked (in either the header or the toolbar).\n\n**Please note: this only applies in key value scenarios.",signature:"EventEmitter"}],this.actionGroupProperties=[{name:"visibleActions",description:'A number that controls how many action buttons are shown. Any additional buttons will be collapsed into a "more" menu.',type:["number"],defaultValue:""}]}scrollTo(Lt){return Lt.scrollIntoView({behavior:"smooth"}),!1}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-header-showcase"]],decls:457,vars:27,consts:[["defaultExample",""],["subtitleListExample",""],["flagExample",""],["customFlagExample",""],["valueExample",""],["avatarExample",""],["progressCircleExample",""],["titleScalingExample",""],["actionGroup",""],["emphasizeActions",""],["customActions",""],["customSectionExample",""],["interactiveTitle",""],["combinedExample",""],["actionGroupAPI",""],[1,"example"],[1,"header-example-container"],[3,"html"],[1,"example-frame","no-vertical-padding"],[3,"html","css"],["href","#",3,"click"],["viewMode","full-size","src","/examples/page/header-and-action-group","showExternalLink","true",3,"showViewModeToggle"],["viewMode","device","src","/examples/page/header-and-emphasized-action-group","showExternalLink","true",3,"showViewModeToggle"],["viewMode","full-size","src","/examples/page/header-and-custom-actions","showExternalLink","true",3,"showViewModeToggle"],["viewMode","full-size","src","/examples/page/header-and-interactive-title","showExternalLink","true",3,"showViewModeToggle"],[3,"html","ts"],[3,"properties"],[3,"columns","properties"],[3,"events"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"div",15),e.EFF(1,"\n "),e.j41(2,"div",16),e.EFF(3,"\n "),e.j41(4,"p"),e.EFF(5,"\n Header is a component that manages the layout of the header section of\n "),e.j41(6,"code"),e.EFF(7,"kirby-page"),e.k0s(),e.EFF(8,"\n . It is responsive and will change the layout according to the device size. It allows for a\n wide range of use cases including support for avatar, flags etc.\n "),e.k0s(),e.EFF(9,"\n\n "),e.j41(10,"h2"),e.EFF(11,"Default"),e.k0s(),e.EFF(12,"\n\n "),e.j41(13,"cookbook-example-viewer",17),e.EFF(14,"\n "),e.j41(15,"div",18),e.EFF(16,"\n "),e.nrm(17,"cookbook-header-example-default",null,0),e.EFF(19,"\n "),e.k0s(),e.EFF(20,"\n "),e.k0s(),e.EFF(21,"\n "),e.k0s(),e.EFF(22,"\n\n "),e.j41(23,"div",16),e.EFF(24,"\n "),e.j41(25,"h2"),e.EFF(26,"Subtitle list"),e.k0s(),e.EFF(27,"\n\n "),e.j41(28,"p"),e.EFF(29,"\n If you have a list of subtitles\u2014e.g. full names as in the example below\u2014where each string\n shouldn't wrap in itself, but the string as a whole can wrap to a new line, you can specify\n them as a string array.\n "),e.k0s(),e.EFF(30,"\n "),e.j41(31,"p"),e.EFF(32,"Try rezising the header below and watch how the subtitles wrap and truncate:"),e.k0s(),e.EFF(33,"\n "),e.j41(34,"cookbook-example-viewer",17),e.EFF(35,"\n "),e.j41(36,"div",18),e.EFF(37,"\n "),e.nrm(38,"cookbook-header-example-subtitle-list",null,1),e.EFF(40,"\n "),e.k0s(),e.EFF(41,"\n "),e.k0s(),e.EFF(42,"\n "),e.k0s(),e.EFF(43,"\n\n "),e.j41(44,"div",16),e.EFF(45,"\n "),e.j41(46,"h2"),e.EFF(47,"Flag"),e.k0s(),e.EFF(48,"\n "),e.j41(49,"p"),e.EFF(50,"\n A flag can be used to indicate a status. To use a flag you simply add a\n "),e.j41(51,"code"),e.EFF(52,""),e.k0s(),e.EFF(53,"\n in the header which will position the flag correctly and manage spacing.\n "),e.k0s(),e.EFF(54,"\n "),e.j41(55,"cookbook-example-viewer",17),e.EFF(56,"\n "),e.j41(57,"div",18),e.EFF(58,"\n "),e.nrm(59,"cookbook-header-example-flag",null,2),e.EFF(61,"\n "),e.k0s(),e.EFF(62,"\n "),e.k0s(),e.EFF(63,"\n "),e.k0s(),e.EFF(64,"\n\n "),e.j41(65,"div",16),e.EFF(66,"\n "),e.j41(67,"h2"),e.EFF(68,"Custom Flag"),e.k0s(),e.EFF(69,"\n "),e.j41(70,"p"),e.EFF(71,"\n Custom markup can also be added to the header as a flag. This can be achieved by applying the\n directive\n "),e.j41(72,"code"),e.EFF(73,"*kirbyHeaderCustomFlag"),e.k0s(),e.EFF(74,"\n to your custom flag markup.\n "),e.k0s(),e.EFF(75,"\n "),e.j41(76,"cookbook-example-viewer",19),e.EFF(77,"\n "),e.j41(78,"div",18),e.EFF(79,"\n "),e.nrm(80,"cookbook-header-example-custom-flag",null,3),e.EFF(82,"\n "),e.k0s(),e.EFF(83,"\n "),e.k0s(),e.EFF(84,"\n "),e.k0s(),e.EFF(85,"\n\n "),e.j41(86,"div",16),e.EFF(87,"\n "),e.j41(88,"h2"),e.EFF(89,"Key value"),e.k0s(),e.EFF(90,"\n "),e.j41(91,"p"),e.EFF(92,"\n In some cases a number is the primary information on a page. When that's the case you should\n use the\n "),e.j41(93,"code"),e.EFF(94,"value"),e.k0s(),e.EFF(95,"\n prop\n "),e.j41(96,"em"),e.EFF(97,"in addition to"),e.k0s(),e.EFF(98,"\n the\n "),e.j41(99,"code"),e.EFF(100,"title"),e.k0s(),e.EFF(101,"\n prop. This will highlight the value on the page and make the title secondary as shown in the\n example below:\n "),e.k0s(),e.EFF(102,"\n "),e.j41(103,"cookbook-example-viewer",17),e.EFF(104,"\n "),e.j41(105,"div",18),e.EFF(106,"\n "),e.nrm(107,"cookbook-header-example-value",null,4),e.EFF(109,"\n "),e.k0s(),e.EFF(110,"\n "),e.k0s(),e.EFF(111,"\n "),e.j41(112,"p"),e.EFF(113,"\n "),e.j41(114,"em"),e.EFF(115,"\n See also:\n "),e.j41(116,"a",20),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(373);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(117,"\n Interactive Title (in key value scenarios)\n "),e.k0s(),e.EFF(118,"\n "),e.k0s(),e.EFF(119,"\n "),e.k0s(),e.EFF(120,"\n "),e.k0s(),e.EFF(121,"\n\n "),e.j41(122,"div",16),e.EFF(123,"\n "),e.j41(124,"h2"),e.EFF(125,"Avatar"),e.k0s(),e.EFF(126,"\n "),e.j41(127,"p"),e.EFF(128,"\n You can use an avatar within the header, e.g. to show a category for the content. You simply\n add a\n "),e.j41(129,"code"),e.EFF(130,"kirby-avatar"),e.k0s(),e.EFF(131,"\n in the header which will position the avatar correctly and manage spacing.\n "),e.nrm(132,"br"),e.EFF(133,"\n "),e.j41(134,"em"),e.EFF(135,"\n "),e.j41(136,"strong"),e.EFF(137,"Please note:"),e.k0s(),e.EFF(138,"\n This will change the layout to centered.\n "),e.k0s(),e.EFF(139,"\n "),e.k0s(),e.EFF(140,"\n "),e.j41(141,"cookbook-example-viewer",17),e.EFF(142,"\n "),e.j41(143,"div",18),e.EFF(144,"\n "),e.nrm(145,"cookbook-header-example-avatar",null,5),e.EFF(147,"\n "),e.k0s(),e.EFF(148,"\n "),e.k0s(),e.EFF(149,"\n "),e.k0s(),e.EFF(150,"\n "),e.j41(151,"div",16),e.EFF(152,"\n "),e.j41(153,"h3"),e.EFF(154,"Progress Circle with Avatar"),e.k0s(),e.EFF(155,"\n "),e.j41(156,"p"),e.EFF(157,"\n The avatar can also be nested within a\n "),e.j41(158,"code"),e.EFF(159,"kirby-progress-circle"),e.k0s(),e.EFF(160,"\n to show progress:\n "),e.k0s(),e.EFF(161,"\n "),e.j41(162,"cookbook-example-viewer",17),e.EFF(163,"\n "),e.j41(164,"div",18),e.EFF(165,"\n "),e.nrm(166,"cookbook-header-example-progress-circle-with-avatar",null,6),e.EFF(168,"\n "),e.k0s(),e.EFF(169,"\n "),e.k0s(),e.EFF(170,"\n "),e.k0s(),e.EFF(171,"\n\n "),e.j41(172,"div",16),e.EFF(173,"\n "),e.j41(174,"h2"),e.EFF(175,"Scaling of title"),e.k0s(),e.EFF(176,"\n "),e.j41(177,"p"),e.EFF(178,"\n Titles are default rendered as\n "),e.j41(179,"code"),e.EFF(180,"h1"),e.k0s(),e.EFF(181,"\n .\n "),e.k0s(),e.EFF(182,"\n "),e.j41(183,"p"),e.EFF(184,"\n It's possible to enable auto-scaling of the header title. This will scale both font-size &\n line-height between h1 -> h3 depending on amount of text and maximum number of lines\n configured. If the text cannot fit within the configured number of lines it will be truncated\n using an ellipsis (\n "),e.j41(185,"code"),e.EFF(186,"\u2026"),e.k0s(),e.EFF(187,"\n ).\n "),e.k0s(),e.EFF(188,"\n "),e.j41(189,"p"),e.EFF(190,"\n This can be configured by setting the\n "),e.j41(191,"code"),e.EFF(192,'titleMaxLines="NUMBER OF MAXIMUM LINES"'),e.k0s(),e.EFF(193,"\n attribute of\n "),e.j41(194,"code"),e.EFF(195,"kirby-header"),e.k0s(),e.EFF(196,"\n .\n "),e.k0s(),e.EFF(197,"\n "),e.j41(198,"cookbook-example-viewer",17),e.EFF(199,"\n "),e.j41(200,"div",18),e.EFF(201,"\n "),e.nrm(202,"cookbook-header-example-title-scaling",null,7),e.EFF(204,"\n "),e.k0s(),e.EFF(205,"\n "),e.k0s(),e.EFF(206,"\n "),e.k0s(),e.EFF(207,"\n\n "),e.j41(208,"div",16),e.EFF(209,"\n "),e.j41(210,"h2"),e.EFF(211,"Actions"),e.k0s(),e.EFF(212,"\n "),e.j41(213,"p"),e.EFF(214,"\n Actions can be included in the header area and will by default always be shown in the toolbar\n on small screens. The actions place themselves in the toolbar to the right. It is designed to\n optimize the screen real estate for the content area on mobile phones.\n "),e.k0s(),e.EFF(215,"\n\n "),e.j41(216,"p"),e.EFF(217,"\n On larger screen sizes the actions starts out in the header area, before moving to the toolbar\n when the page is scrolled past the actions.\n "),e.k0s(),e.EFF(218,"\n\n "),e.j41(219,"p"),e.EFF(220,"Actions can be suppplied through:"),e.k0s(),e.EFF(221,"\n "),e.j41(222,"ul"),e.EFF(223,"\n "),e.j41(224,"li"),e.EFF(225,"\n "),e.j41(226,"a",20),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(256);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(227,"Action Group component - common use case"),e.k0s(),e.EFF(228,"\n "),e.k0s(),e.EFF(229,"\n "),e.j41(230,"li"),e.EFF(231,"\n "),e.j41(232,"a",20),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(317);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(233,"Custom Actions - complex scenarios"),e.k0s(),e.EFF(234,"\n "),e.k0s(),e.EFF(235,"\n "),e.k0s(),e.EFF(236,"\n\n "),e.j41(237,"p"),e.EFF(238,"\n "),e.j41(239,"em"),e.EFF(240,"\n "),e.j41(241,"strong"),e.EFF(242,"Please note:"),e.k0s(),e.EFF(243,"\n In both cases the element containing the actions (e.g.\n "),e.j41(244,"code"),e.EFF(245,"kirby-action-group"),e.k0s(),e.EFF(246,"\n or an\n "),e.j41(247,"code"),e.EFF(248,"ng-container"),e.k0s(),e.EFF(249,"\n ) needs to be decorated with the\n "),e.j41(250,"code"),e.EFF(251,"*kirbyHeaderActions"),e.k0s(),e.EFF(252,"\n directive for the page and header components to render the actions in both locations.\n "),e.k0s(),e.EFF(253,"\n "),e.k0s(),e.EFF(254,"\n\n "),e.j41(255,"h3",null,8),e.EFF(257,"Action Group"),e.k0s(),e.EFF(258,"\n "),e.j41(259,"p"),e.EFF(260,"\n In most use cases actions should be suppplied using the\n "),e.j41(261,"code"),e.EFF(262,"kirby-action-group"),e.k0s(),e.EFF(263,'\n component as shown below. This component has sensible defaults for showing the primary\n action(s) as button(s) and collapsing the rest of the actions into a "more" menu.\n '),e.k0s(),e.EFF(264,"\n\n "),e.j41(265,"p"),e.EFF(266,'\n Actions are supplied to the Action Group via slotted buttons. Only two actions are shown in\n the toolbar, and if more that two actions are supplied, one action and a "more" menu button\n will be shown, while the remaining actions are collapsed into the "more" menu.\n '),e.k0s(),e.EFF(267,"\n "),e.j41(268,"p"),e.EFF(269,"\n All button interactions are expected to happen via a click-listener of type\n "),e.j41(270,"code"),e.EFF(271,'(click)="someFunction()"'),e.k0s(),e.EFF(272,'\n so the Action Group can make sure to fire the corresponding function for collapsed actions\n inside the "more" menu.\n '),e.k0s(),e.EFF(273,"\n\n "),e.nrm(274,"cookbook-iphone",21),e.EFF(275,"\n\n "),e.nrm(276,"cookbook-example-viewer",17),e.EFF(277,"\n "),e.k0s(),e.EFF(278,"\n\n "),e.j41(279,"div",16),e.EFF(280,"\n "),e.j41(281,"h3",null,9),e.EFF(283,"Emphasize Actions"),e.k0s(),e.EFF(284,"\n "),e.j41(285,"p"),e.EFF(286,"\n When actions are closely related to the content of the page you can configure the header with\n "),e.j41(287,"code"),e.EFF(288,'[emphasizeActions]="true"'),e.k0s(),e.EFF(289,"\n .\n "),e.k0s(),e.EFF(290,"\n "),e.j41(291,"p"),e.EFF(292,'\n With this setting enabled all buttons will be shown and not automatically collapse into a\n "more" menu. The buttons will also be visible under the title area on small screens. Use this\n option to further emphasize the action buttons, but keep in mind that it uses more screen real\n estate than the default option.\n '),e.k0s(),e.EFF(293,"\n "),e.j41(294,"p"),e.EFF(295,"\n "),e.j41(296,"em"),e.EFF(297,"\n "),e.j41(298,"strong"),e.EFF(299,"Please note:"),e.k0s(),e.EFF(300,'\n With this setting enabled you should ensure the action buttons can fit on the screen\u2014or\n collapse secondary actions into a "more" menu using the\n '),e.j41(301,"code"),e.EFF(302,"visibleActions"),e.k0s(),e.EFF(303,"\n property of\n "),e.j41(304,"code"),e.EFF(305,"kirby-action-group"),e.k0s(),e.EFF(306,"\n .\n "),e.k0s(),e.EFF(307,"\n "),e.k0s(),e.EFF(308,"\n\n "),e.nrm(309,"cookbook-iphone",22),e.EFF(310,"\n\n "),e.nrm(311,"cookbook-example-viewer",17),e.EFF(312,"\n "),e.k0s(),e.EFF(313,"\n\n "),e.j41(314,"div",16),e.EFF(315,"\n "),e.j41(316,"h3",null,10),e.EFF(318,"Custom Actions"),e.k0s(),e.EFF(319,"\n "),e.j41(320,"p"),e.EFF(321,"\n When more control is needed over how actions are shown the\n "),e.j41(322,"code"),e.EFF(323,"*kirbyHeaderActions"),e.k0s(),e.EFF(324,"\n directive can be applied to the custom actions element itself - e.g. a\n "),e.j41(325,"code"),e.EFF(326,"kirby-menu"),e.k0s(),e.EFF(327,"\n when only secondary actions are needed.\n "),e.k0s(),e.EFF(328,"\n "),e.j41(329,"p"),e.EFF(330,"\n When several action elements needs to be combined they can be grouped in an\n "),e.j41(331,"code"),e.EFF(332,"ng-container"),e.k0s(),e.EFF(333,"\n which is then decorated with the\n "),e.j41(334,"code"),e.EFF(335,"*kirbyHeaderActions"),e.k0s(),e.EFF(336,"\n directive.\n "),e.k0s(),e.EFF(337,"\n "),e.j41(338,"p"),e.EFF(339,'\n In the example below a primary action button that displays a menu is combined with a "more"\n menu for secondary actions.\n '),e.k0s(),e.EFF(340,"\n\n "),e.nrm(341,"cookbook-iphone",23),e.EFF(342,"\n\n "),e.nrm(343,"cookbook-example-viewer",17),e.EFF(344,"\n "),e.k0s(),e.EFF(345,"\n\n "),e.j41(346,"div",16),e.EFF(347,"\n "),e.j41(348,"h2"),e.EFF(349,"Custom Section"),e.k0s(),e.EFF(350,"\n "),e.j41(351,"p"),e.EFF(352,"\n An optional custom section can be added to the header, e.g. to add more subtitles, trends or\n status in relation to the key value or title.\n "),e.k0s(),e.EFF(353,"\n "),e.j41(354,"p"),e.EFF(355,"\n Decorate your custom section with the\n "),e.j41(356,"code"),e.EFF(357,"*kirbyHeaderCustomSection"),e.k0s(),e.EFF(358,"\n directive, which will position the custom section correctly and manage spacing as shown in the\n example below:\n "),e.k0s(),e.EFF(359,"\n "),e.j41(360,"cookbook-example-viewer",19),e.EFF(361,"\n "),e.j41(362,"div",18),e.EFF(363,"\n "),e.nrm(364,"cookbook-header-example-custom-section",null,11),e.EFF(366,"\n "),e.k0s(),e.EFF(367,"\n "),e.k0s(),e.EFF(368,"\n "),e.k0s(),e.EFF(369,"\n\n "),e.j41(370,"div",16),e.EFF(371,"\n "),e.j41(372,"h2",null,12),e.EFF(374,"Interactive Title (in key value scenarios)"),e.k0s(),e.EFF(375,"\n "),e.j41(376,"p"),e.EFF(377,"\n If you need the user to interact with the title (when having a\n "),e.j41(378,"code"),e.EFF(379,"value"),e.k0s(),e.EFF(380,"\n prop\n "),e.j41(381,"em"),e.EFF(382,"in addition to"),e.k0s(),e.EFF(383,"\n the\n "),e.j41(384,"code"),e.EFF(385,"title"),e.k0s(),e.EFF(386,"\n prop) you can register a handler for the header's\n "),e.j41(387,"code"),e.EFF(388,"titleClick"),e.k0s(),e.EFF(389,"\n event.\n "),e.k0s(),e.EFF(390,"\n "),e.j41(391,"p"),e.EFF(392,"\n Within your event handler you can access the DOM event object with the\n "),e.j41(393,"code"),e.EFF(394,"event"),e.k0s(),e.EFF(395,"\n argument passed to the output event handler - e.g. to access the event's\n "),e.j41(396,"code"),e.EFF(397,"currentTarget"),e.k0s(),e.EFF(398,"\n as shown in the example below.\n "),e.k0s(),e.EFF(399,"\n "),e.j41(400,"p"),e.EFF(401,"\n You should also add affordance to your interactive title (in key value scenarios) by slotting\n a\n "),e.j41(402,"code"),e.EFF(403,"kirby-icon"),e.k0s(),e.EFF(404,"\n into the header and decorate it with the\n "),e.j41(405,"code"),e.EFF(406,"*kirbyHeaderTitleActionIcon"),e.k0s(),e.EFF(407,"\n directive as shown in the example below:\n "),e.k0s(),e.EFF(408,"\n "),e.nrm(409,"cookbook-iphone",24),e.EFF(410,"\n\n "),e.nrm(411,"cookbook-example-viewer",25),e.EFF(412,"\n "),e.k0s(),e.EFF(413,"\n\n "),e.j41(414,"div",16),e.EFF(415,"\n "),e.j41(416,"h2"),e.EFF(417,"Combined"),e.k0s(),e.EFF(418,"\n "),e.j41(419,"p"),e.EFF(420,"This example shows all the above options combined:"),e.k0s(),e.EFF(421,"\n "),e.j41(422,"cookbook-example-viewer",19),e.EFF(423,"\n "),e.j41(424,"div",18),e.EFF(425,"\n "),e.nrm(426,"cookbook-header-example-combined",null,13),e.EFF(428,"\n "),e.k0s(),e.EFF(429,"\n "),e.k0s(),e.EFF(430,"\n "),e.k0s(),e.EFF(431,"\n\n "),e.j41(432,"h2"),e.EFF(433,"API"),e.k0s(),e.EFF(434,"\n "),e.j41(435,"h3"),e.EFF(436,"Header Properties"),e.k0s(),e.EFF(437,"\n "),e.nrm(438,"cookbook-api-description-properties",26),e.EFF(439,"\n\n "),e.j41(440,"h3"),e.EFF(441,"Header Directives:"),e.k0s(),e.EFF(442,"\n "),e.nrm(443,"cookbook-api-description-properties",27),e.EFF(444,"\n\n "),e.j41(445,"h3"),e.EFF(446,"Header Events"),e.k0s(),e.EFF(447,"\n "),e.nrm(448,"cookbook-api-description-events",28),e.EFF(449,"\n\n "),e.j41(450,"h3"),e.EFF(451,"Action Group Properties"),e.k0s(),e.EFF(452,"\n "),e.nrm(453,"cookbook-api-description-properties",26,14),e.EFF(455,"\n"),e.k0s(),e.EFF(456,"\n")}if(2&vt){const vo=e.sdS(18),Po=e.sdS(39),Hn=e.sdS(60),ls=e.sdS(81),Ms=e.sdS(108),Os=e.sdS(146),ga=e.sdS(167),Bs=e.sdS(203),xa=e.sdS(365),Ia=e.sdS(427);e.R7$(13),e.Y8G("html",vo.template),e.R7$(21),e.Y8G("html",Po.template),e.R7$(21),e.Y8G("html",Hn.template),e.R7$(21),e.Y8G("html",ls.template)("css",ls.styles),e.R7$(27),e.Y8G("html",Ms.template),e.R7$(38),e.Y8G("html",Os.template),e.R7$(21),e.Y8G("html",ga.template),e.R7$(36),e.Y8G("html",Bs.template),e.R7$(76),e.Y8G("showViewModeToggle",!0),e.R7$(2),e.Y8G("html",Ge.actionGroupTemplate),e.R7$(33),e.Y8G("showViewModeToggle",!0),e.R7$(2),e.Y8G("html",Ge.emphasizedActionGroupTemplate),e.R7$(30),e.Y8G("showViewModeToggle",!0),e.R7$(2),e.Y8G("html",Ge.customActionsTemplate),e.R7$(17),e.Y8G("html",xa.template)("css",xa.styles),e.R7$(49),e.Y8G("showViewModeToggle",!0),e.R7$(2),e.Y8G("html",Ge.interactiveTitleTemplate)("ts",Ge.interactiveTitleSnippet),e.R7$(11),e.Y8G("html",Ia.template)("css",Ia.styles),e.R7$(16),e.Y8G("properties",Ge.properties),e.R7$(5),e.Y8G("columns",Ge.directiveColumns)("properties",Ge.directives),e.R7$(5),e.Y8G("events",Ge.events),e.R7$(5),e.Y8G("properties",Ge.actionGroupProperties)}},dependencies:[n.s,El.A,js.P,_a.H,Tl.C,Ga.a,kc.E,oc.V,Ac.e,bs,jl.V,Pl.U,pt,hn],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}.header-example-container[_ngcontent-%COMP%]{margin-bottom:32px}"]})}return Ve})();var jc=l(28850),dh=l(51816),uh=l(92585);const Bl_template='\n \n

      Stone

      \n
      \n \n

      Rick

      \n
      \n \n

      Gooey

      \n
      \n
      ';let _c=(()=>{class Ve{constructor(){this.template=Bl_template}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-menu-custom-placement-example"]],decls:10,vars:1,consts:[[3,"placement"],[1,"kirby-item-title"]],template:function(vt,Ge){1&vt&&(e.j41(0,"kirby-menu",0)(1,"kirby-item")(2,"p",1),e.EFF(3,"Stone"),e.k0s()(),e.j41(4,"kirby-item")(5,"p",1),e.EFF(6,"Rick"),e.k0s()(),e.j41(7,"kirby-item")(8,"p",1),e.EFF(9,"Gooey"),e.k0s()()()),2&vt&&e.Y8G("placement","bottom-end")},dependencies:[uh.Z,yr.kA,yr.JA],encapsulation:2})}return Ve})();var ic=l(80921);const Kl=[[["","header",""]],[["","body",""]]],kd=["[header]","[body]"],Bc=()=>({}),_d=(Ve,kr)=>[Ve,kr];function xd(Ve,kr){1&Ve&&(e.j41(0,"kirby-list-header"),e.SdG(1),e.k0s())}function qp(Ve,kr){1&Ve&&(e.j41(0,"kirby-item"),e.SdG(1,1),e.k0s())}let em=(()=>{class Ve{static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-menu-portal-in-list-wrapper-example"]],ngContentSelectors:kd,decls:4,vars:6,consts:[[3,"items"],[4,"kirbyListHeader"],[4,"kirbyListItemTemplate"]],template:function(vt,Ge){1&vt&&(e.NAR(Kl),e.j41(0,"kirby-list",0),e.DNE(1,xd,2,0,"kirby-list-header",1),e.j41(2,"kirby-list-item"),e.DNE(3,qp,2,0,"kirby-item",2),e.k0s()()),2&vt&&e.Y8G("items",e.l_i(3,_d,e.lJ4(1,Bc),e.lJ4(2,Bc)))},dependencies:[oi.HV,oi.sB,oi.Pt,oi.bx,oi.L9,oi.px,yr.kA,yr.JA],encapsulation:2})}return Ve})();var hh=l(21564),Cd=l(12510);const Ed=[{path:"",component:Lo,children:[{path:"",redirectTo:"button",pathMatch:"full"},{path:"item",component:Nt},{path:"item-sliding",component:Us,data:{hide:!0}},{path:"item-group",component:Uo,data:{hide:!0}},{path:"button",component:ci},{path:"slide-button",component:Bi},{path:"divider",component:Xo},{path:"avatar",component:ze},{path:"card",component:hr},{path:"colors",component:Ke},{path:"list",component:Yr},{path:"list-load-on-demand",component:xs},{path:"list-swipe",component:pr},{path:"list-no-shape",component:ra},{path:"list-experimental",component:Ys,data:{hide:!0}},{path:"page",component:vl},{path:"tabs",component:le},{path:"grid",component:N},{path:"chart",component:Wr},{path:"chart-stock",component:Jo},{path:"chart-stock-config",component:tl,data:{hide:!0}},{path:"chart-bar-config",component:es,data:{hide:!0}},{path:"fonts",component:Jt},{path:"spinner",component:X},{path:"modal",component:ea},{path:"loading-overlay",component:ns},{path:"action-sheet",component:gi},{path:"fab-sheet",component:Ye},{path:"alert",component:zo},{path:"badge",component:We},{path:"flag",component:yt},{path:"icon",component:gn},{path:"checkbox",component:si},{path:"toast",component:J},{path:"toggle",component:_i},{path:"toggle-button",component:kn},{path:"calendar",component:wr},{path:"segmented-control",component:bt},{path:"message-state",component:Re},{path:"empty-state",redirectTo:"message-state",pathMatch:"full"},{path:"toolbar",component:fr},{path:"form-field",component:Mo},{path:"reorder-list",component:yn},{path:"dropdown",component:m},{path:"progress-circle",component:h},{path:"slides",component:xl},{path:"accordion",component:Tn},{path:"menu",component:(()=>{class Ve{constructor(){this.properties=[{name:"isDisabled",description:"Disable the default button from being clickable and prevents content from changing display state",defaultValue:"false",type:["boolean"]},{name:"buttonSize",description:"Size of the default button",defaultValue:"md",type:["ButtonSize"]},{name:"placement",description:"Placement of the content when displayed",defaultValue:"bottom-start",type:["Placement"]},{name:"triggers",description:"Defines how the button should interact with the content. A value of `click` will make the content appear/hide on click of the button",defaultValue:"click",type:["Array"]},{name:"autoPlacement",description:"If content should be auto placed where it best fits on the screen. Will override value of input placement",defaultValue:"false",type:["boolean"]},{name:"attentionLevel",description:"AttentionLevel for the menu button",defaultValue:"3",type:["AttentionLevel"]},{name:"DOMPortalOutlet",description:"HTMLElement for which the menu content should be placed under as a child. By default the menu content is appended to `document.body`. If set to `null`, the content will appear at it's normal place in the DOM",defaultValue:"document.body",type:["HTMLElement"]},{name:"portalOutletConfig",description:"Defines how to automatically find and assign DOMPortalOutlet if none is provided in DOMPortalOutlet. If nothing is provided here and in DOMPortalOutlet, the provided strategy is used",defaultValue:"N/A",type:["PortalOutletConfig"]},{name:"closeOnSelect",description:"Toggle whether the menu should hide the content after selecting the content",defaultValue:"true",type:["boolean"]},{name:"closeOnEscapeKey",description:"If the menu should hide content after pressing escape",defaultValue:"true",type:["boolean"]},{name:"closeOnBackdrop",description:"If the menu should hide content after clicking outside of content",defaultValue:"true",type:["boolean"]},{name:"minWidth",description:"The minimum width of the menu. If not set, the default width is 240px",defaultValue:"N/A",type:["number"]}],this.isOutletElementSet=!0,this.portalOutletConfigExampleHTML='\x3c!-- This is the target outlet ---\x3e\n
      \n',this.portalOutletConfigExampleTS="const outletConfig: PortalOutletConfig = {\n selector: 'id',\n value: 'target-div'\n}\n"}onCheckedChange(Lt){this.isOutletElementSet=Lt}scrollTo(Lt){return Lt.scrollIntoView({behavior:"smooth"}),!1}static#e=this.\u0275fac=function(vt){return new(vt||Ve)};static#t=this.\u0275cmp=e.VBU({type:Ve,selectors:[["cookbook-menu-showcase"]],decls:265,vars:14,consts:[["menuSelectableExample",""],["menuAdvancedExample",""],["menuPlacementExample",""],["customButton",""],["menuCustomButtonExample",""],["portal",""],["menuPortalExample",""],["menuPortalConfigExample",""],[1,"example"],["routerLink","/home/showcase/item"],["href","#",3,"click"],[1,"page-example"],[3,"html"],["header",""],["body",""],[3,"isOutletElementSet"],[3,"ts"],[3,"html","ts"],["target","_blank","href","https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/",1,"kirby-external-icon"],["target","_blank","href","https://www.w3.org/WAI/ARIA/apg/patterns/menubar/",1,"kirby-external-icon"],[3,"hasMargin"],[3,"properties"]],template:function(vt,Ge){if(1&vt){const vo=e.RV6();e.j41(0,"div",8)(1,"p"),e.EFF(2," A menu is a list of actions that displays in a popup. Menu replaces action-sheet both on mobile and web. "),e.k0s(),e.j41(3,"p"),e.EFF(4," The menu's default slot accepts one or multiple "),e.j41(5,"code")(6,"a",9),e.EFF(7,"kirby-item"),e.k0s()(),e.EFF(8," . Additionally, the menu renders a default button that opens the menu. This button can be replaced by a custom button by providing a "),e.j41(9,"code"),e.EFF(10,"kirby-button"),e.k0s(),e.EFF(11," as a content child of the menu as shown "),e.j41(12,"a",10),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(61);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(13,"here"),e.k0s(),e.EFF(14," . "),e.k0s(),e.j41(15,"p"),e.EFF(16," The menu supports the use of portals, which enables the user to render the menu in a different part of the DOM. This can be useful in case of issues with the stacking context. This is further described in the "),e.j41(17,"a",10),e.bIt("click",function(){e.eBV(vo);const Hn=e.sdS(75);return e.Njj(Ge.scrollTo(Hn))}),e.EFF(18,"Portal"),e.k0s(),e.EFF(19," section. "),e.k0s()(),e.j41(20,"h2"),e.EFF(21,"Examples"),e.k0s(),e.j41(22,"h3"),e.EFF(23,"Selectable items"),e.k0s(),e.j41(24,"p"),e.EFF(25,"This example demonstrates how to set custom actions on the elements in the menu."),e.k0s(),e.j41(26,"div",11)(27,"div")(28,"cookbook-example-viewer",12),e.nrm(29,"cookbook-menu-selectable-example",null,0),e.k0s()()(),e.j41(31,"h3"),e.EFF(32,"Advanced items"),e.k0s(),e.j41(33,"p"),e.EFF(34," Since the Menu accepts Items, it is possible to customize these. The example below demonstrates how to add a checkbox and a toggle to an Item in the list.\n"),e.k0s(),e.j41(35,"p")(36,"em")(37,"strong"),e.EFF(38,"Please note:"),e.k0s(),e.EFF(39," You should set "),e.j41(40,"code"),e.EFF(41,'[closeOnSelect]="false"'),e.k0s(),e.EFF(42," if you don't want the menu to close right away when an item is clicked. "),e.k0s()(),e.j41(43,"div",11)(44,"div")(45,"cookbook-example-viewer",12),e.nrm(46,"cookbook-menu-advanced-example",null,1),e.k0s()()(),e.j41(48,"h3"),e.EFF(49,"Menu placement"),e.k0s(),e.j41(50,"p"),e.EFF(51," By default the menu will open underneath the button and towards the right side of the screen. The placement of the menu can be configured through the "),e.j41(52,"code"),e.EFF(53,"placement"),e.k0s(),e.EFF(54," input as shown below.\n"),e.k0s(),e.j41(55,"div",11)(56,"div")(57,"cookbook-example-viewer",12),e.nrm(58,"cookbook-menu-custom-placement-example",null,2),e.k0s()()(),e.j41(60,"h3",null,3),e.EFF(62,"Custom button"),e.k0s(),e.j41(63,"p"),e.EFF(64," By default a button is displayed and its functionality handled by the menu component. Should you need to modify the button, for example adding a directive or an attribute to it, you can provide your own button as shown in the example code.\n"),e.k0s(),e.j41(65,"p")(66,"strong")(67,"em"),e.EFF(68,"The custom button won't receive the default values provided by the menu component."),e.k0s()()(),e.j41(69,"div",11)(70,"div")(71,"cookbook-example-viewer",12),e.nrm(72,"cookbook-menu-custom-button-example",null,4),e.k0s()()(),e.j41(74,"h2",null,5),e.EFF(76,"Portal"),e.k0s(),e.j41(77,"p"),e.EFF(78," The menu supports the use of portals to place its content in another part of the DOM. This can be done by providing the menu with a "),e.j41(79,"code"),e.EFF(80,"PortalOutletConfig"),e.k0s(),e.EFF(81," , or a reference to a "),e.j41(82,"code"),e.EFF(83,"HTMLElement"),e.k0s(),e.EFF(84," that is passed to the "),e.j41(85,"code"),e.EFF(86,"DOMPortalOutlet"),e.k0s(),e.EFF(87," input.\n"),e.k0s(),e.j41(88,"p"),e.EFF(89," Most use cases should be easily handled by using the "),e.j41(90,"code"),e.EFF(91,"PortalOutletConfig"),e.k0s(),e.EFF(92," input.\n"),e.k0s(),e.j41(93,"p")(94,"strong")(95,"em"),e.EFF(96," The use of portal should only be used when necessary. It might break styling and/or angular functionality, so use with care. "),e.k0s()()(),e.j41(97,"h3")(98,"code"),e.EFF(99,"DOMPortalOutlet"),e.k0s(),e.EFF(100," - Portal with outlet\n"),e.k0s(),e.j41(101,"p"),e.EFF(102," The "),e.j41(103,"code"),e.EFF(104,"DOMPortalOutlet"),e.k0s(),e.EFF(105," input must be a reference to a unique DOM element, such as the "),e.j41(106,"code"),e.EFF(107,"body"),e.k0s(),e.EFF(108," .\n"),e.k0s(),e.j41(109,"div",11)(110,"div")(111,"h3"),e.EFF(112,"How it looks"),e.k0s(),e.j41(113,"p"),e.EFF(114," One of the cases where it might be necessary to use portal, is when the menu is placed inside a "),e.j41(115,"code"),e.EFF(116,"kirby-list"),e.k0s(),e.EFF(117," . The example below exemplifies how it looks when the menu is not placed correctly in the stack. "),e.k0s(),e.j41(118,"cookbook-example-viewer")(119,"cookbook-menu-portal-in-list-wrapper-example")(120,"p",13),e.EFF(121," A menu in a "),e.j41(122,"code"),e.EFF(123,"kirby-list"),e.k0s(),e.EFF(124," \xa0 "),e.j41(125,"b"),e.EFF(126,"without"),e.k0s(),e.EFF(127," \xa0 "),e.j41(128,"code"),e.EFF(129,"DOMPortalOutlet"),e.k0s()(),e.j41(130,"div",14),e.nrm(131,"cookbook-menu-portal-example",15),e.EFF(132," <-- The menu is cut off by the list. "),e.k0s()()(),e.nrm(133,"br"),e.j41(134,"cookbook-example-viewer",12)(135,"cookbook-menu-portal-in-list-wrapper-example")(136,"p",13),e.EFF(137," A menu in a "),e.j41(138,"code"),e.EFF(139,"kirby-list"),e.k0s(),e.EFF(140," \xa0 "),e.j41(141,"b"),e.EFF(142,"with"),e.k0s(),e.EFF(143," a "),e.j41(144,"code"),e.EFF(145,"DOMPortalOutlet"),e.k0s()(),e.j41(146,"p"),e.EFF(147," The "),e.j41(148,"code"),e.EFF(149,"outletElement"),e.k0s(),e.EFF(150),e.k0s(),e.j41(151,"div",14),e.nrm(152,"cookbook-menu-portal-example",15,6),e.EFF(154," <-- The menu renders outside the menu. "),e.k0s()()()()(),e.j41(155,"h3")(156,"code"),e.EFF(157,"PortalOutletConfig"),e.k0s(),e.EFF(158," - Automatically get portal outlet\n"),e.k0s(),e.nrm(159,"p"),e.j41(160,"p"),e.EFF(161," This example will describe and show how to use "),e.j41(162,"code"),e.EFF(163,"PortalOutletConfig"),e.k0s(),e.EFF(164," input.\n"),e.k0s(),e.j41(165,"p"),e.EFF(166," Providing a "),e.j41(167,"code"),e.EFF(168,"PortalOutletConfig"),e.k0s(),e.EFF(169," to the "),e.j41(170,"code"),e.EFF(171,"PortalOutletConfig"),e.k0s(),e.EFF(172," input, will let the menu component automatically handle getting and setting of the desired "),e.j41(173,"code"),e.EFF(174,"HTMLElement"),e.k0s(),e.EFF(175," for which the menu content should portal to.\n"),e.k0s(),e.j41(176,"p")(177,"code"),e.EFF(178,"PortalOutletConfig"),e.k0s(),e.EFF(179," consists of a selector and a value. Selector is the various ways you would fetch an element from the document object, i.e id, class, tag and name. Value is the corresponding value associated with the selector\n"),e.k0s(),e.j41(180,"p"),e.EFF(181,"Example:"),e.k0s(),e.nrm(182,"cookbook-code-viewer",12)(183,"cookbook-code-viewer",16),e.j41(184,"div",11)(185,"div")(186,"cookbook-example-viewer",17),e.nrm(187,"cookbook-menu-portal-config-example",null,7),e.k0s()()(),e.j41(189,"h2"),e.EFF(190,"Accessibility"),e.k0s(),e.j41(191,"p"),e.EFF(192," The Menu implements the "),e.j41(193,"a",18),e.EFF(194," Menu Button Pattern "),e.k0s(),e.EFF(195," and the "),e.j41(196,"a",19),e.EFF(197," Menu and Menubar Pattern "),e.k0s(),e.EFF(198," from ARIA Authoring Practices Guide.\n"),e.k0s(),e.j41(199,"h3"),e.EFF(200,"Keyboard support"),e.k0s(),e.j41(201,"p"),e.EFF(202," The component has full keyboard support for opening the menu and navigating between and selecting items in the menu.\n"),e.k0s(),e.j41(203,"p"),e.EFF(204,"The following keys can be used to open the menu when the menu button has focus:"),e.k0s(),e.j41(205,"ul")(206,"li")(207,"kbd"),e.EFF(208,"Enter"),e.k0s(),e.EFF(209,", "),e.j41(210,"kbd"),e.EFF(211,"Space"),e.k0s(),e.EFF(212," and "),e.j41(213,"kbd"),e.EFF(214,"\u2193"),e.k0s(),e.EFF(215," opens menu and moves focus to first menu item. "),e.k0s(),e.j41(216,"li")(217,"kbd"),e.EFF(218,"\u2191"),e.k0s(),e.EFF(219," opens menu and moves focus to last menu item. "),e.k0s()(),e.j41(220,"p"),e.EFF(221,"The following keys can be used to navigate and select within the menu:"),e.k0s(),e.j41(222,"ul")(223,"li")(224,"kbd"),e.EFF(225,"Enter"),e.k0s(),e.EFF(226," and "),e.j41(227,"kbd"),e.EFF(228,"Space"),e.k0s(),e.EFF(229," activates the menu item and closes the menu. "),e.k0s(),e.j41(230,"li")(231,"kbd"),e.EFF(232,"Escape"),e.k0s(),e.EFF(233," closes the menu. "),e.k0s(),e.j41(234,"li")(235,"kbd"),e.EFF(236,"\u2191"),e.k0s(),e.EFF(237," moves focus to the previous menu item. If focus is on the first menu item, moves focus to the last menu item. "),e.k0s(),e.j41(238,"li")(239,"kbd"),e.EFF(240,"\u2193"),e.k0s(),e.EFF(241," moves focus to the next menu item. If focus is on the last menu item, moves focus to the first menu item. "),e.k0s(),e.j41(242,"li")(243,"kbd"),e.EFF(244,"Home"),e.k0s(),e.EFF(245," moves focus to the first menu item. "),e.k0s(),e.j41(246,"li")(247,"kbd"),e.EFF(248,"End"),e.k0s(),e.EFF(249," moves focus to the last menu item. "),e.k0s(),e.j41(250,"li")(251,"kbd"),e.EFF(252,"A"),e.k0s(),e.EFF(253,"-"),e.j41(254,"kbd"),e.EFF(255,"Z"),e.k0s(),e.EFF(256," moves focus to the next menu item whose label starts with the typed character. "),e.k0s(),e.j41(257,"li")(258,"kbd"),e.EFF(259,"Tab"),e.k0s(),e.EFF(260," closes the menu and moves focus to the next element in the tab sequence outside the control. "),e.k0s()(),e.nrm(261,"kirby-divider",20),e.j41(262,"h2"),e.EFF(263,"Properties:"),e.k0s(),e.nrm(264,"cookbook-api-description-properties",21)}if(2&vt){const vo=e.sdS(30),Po=e.sdS(47),Hn=e.sdS(59),ls=e.sdS(73),Ms=e.sdS(153),Os=e.sdS(188);e.R7$(28),e.Y8G("html",vo.template),e.R7$(17),e.Y8G("html",Po.template),e.R7$(12),e.Y8G("html",Hn.template),e.R7$(14),e.Y8G("html",ls.template),e.R7$(60),e.Y8G("isOutletElementSet",!1),e.R7$(3),e.Y8G("html",Ms.template),e.R7$(16),e.SpI(" is ",Ge.isOutletElementSet," "),e.R7$(2),e.Y8G("isOutletElementSet",!0),e.R7$(30),e.Y8G("html",Ge.portalOutletConfigExampleHTML),e.R7$(),e.Y8G("ts",Ge.portalOutletConfigExampleTS),e.R7$(3),e.Y8G("html",Os.template)("ts",Os.codeSnippet),e.R7$(75),e.Y8G("hasMargin",!0),e.R7$(3),e.Y8G("properties",Ge.properties)}},dependencies:[ot.Wk,n.s,jc.$,dh.b,_c,ic.s,em,hh.x,_o.B,Cd.b,at.h,pt],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}"]})}return Ve})()},{path:"radio",component:Gl},{path:"range",component:xt},{path:"link",component:qa},{path:"section-header",component:Io},{path:"styling-HTML-lists",component:mr},{path:"data-table",component:Yt},{path:"header",component:vd}]}]},37479:(ft,Z,l)=>{"use strict";var n=l(54438),i=l(60177);const f=void 0,s=["en-DK",[["a","p"],["am","pm"],f],[["am","pm"],f,f],[["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"]],f,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],f,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1}, {0}",f,"{1} 'at' {0}",f],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"DKK","kr.","Danish Krone",{DKK:["kr.","kr"],JPY:["JP\xa5","\xa5"],USD:["US$","$"]},"ltr",function g(le){const T=Math.floor(Math.abs(le)),J=le.toString().replace(/^[^.]*\.?/,"").length;return 1===T&&0===J?1:5}];l(10467);var _=l(7673),y=l(71985),w=l(86648),M=l(70274),I=l(5964),R=l(96354),H=l(70980),K=l(25558);class L{}class he{}class pe{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(A){A?"string"==typeof A?this.lazyInit=()=>{this.headers=new Map,A.split("\n").forEach(T=>{const J=T.indexOf(":");if(J>0){const Te=T.slice(0,J),_t=T.slice(J+1).trim();this.addHeaderEntry(Te,_t)}})}:typeof Headers<"u"&&A instanceof Headers?(this.headers=new Map,A.forEach((T,J)=>{this.addHeaderEntry(J,T)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(A).forEach(([T,J])=>{this.setHeaderEntries(T,J)})}:this.headers=new Map}has(A){return this.init(),this.headers.has(A.toLowerCase())}get(A){this.init();const T=this.headers.get(A.toLowerCase());return T&&T.length>0?T[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(A){return this.init(),this.headers.get(A.toLowerCase())||null}append(A,T){return this.clone({name:A,value:T,op:"a"})}set(A,T){return this.clone({name:A,value:T,op:"s"})}delete(A,T){return this.clone({name:A,value:T,op:"d"})}maybeSetNormalizedName(A,T){this.normalizedNames.has(T)||this.normalizedNames.set(T,A)}init(){this.lazyInit&&(this.lazyInit instanceof pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(A=>this.applyUpdate(A)),this.lazyUpdate=null))}copyFrom(A){A.init(),Array.from(A.headers.keys()).forEach(T=>{this.headers.set(T,A.headers.get(T)),this.normalizedNames.set(T,A.normalizedNames.get(T))})}clone(A){const T=new pe;return T.lazyInit=this.lazyInit&&this.lazyInit instanceof pe?this.lazyInit:this,T.lazyUpdate=(this.lazyUpdate||[]).concat([A]),T}applyUpdate(A){const T=A.name.toLowerCase();switch(A.op){case"a":case"s":let J=A.value;if("string"==typeof J&&(J=[J]),0===J.length)return;this.maybeSetNormalizedName(A.name,T);const Te=("a"===A.op?this.headers.get(T):void 0)||[];Te.push(...J),this.headers.set(T,Te);break;case"d":const _t=A.value;if(_t){let jt=this.headers.get(T);if(!jt)return;jt=jt.filter(kn=>-1===_t.indexOf(kn)),0===jt.length?(this.headers.delete(T),this.normalizedNames.delete(T)):this.headers.set(T,jt)}else this.headers.delete(T),this.normalizedNames.delete(T)}}addHeaderEntry(A,T){const J=A.toLowerCase();this.maybeSetNormalizedName(A,J),this.headers.has(J)?this.headers.get(J).push(T):this.headers.set(J,[T])}setHeaderEntries(A,T){const J=(Array.isArray(T)?T:[T]).map(_t=>_t.toString()),Te=A.toLowerCase();this.headers.set(Te,J),this.maybeSetNormalizedName(A,Te)}forEach(A){this.init(),Array.from(this.normalizedNames.keys()).forEach(T=>A(this.normalizedNames.get(T),this.headers.get(T)))}}class Le{encodeKey(A){return De(A)}encodeValue(A){return De(A)}decodeKey(A){return decodeURIComponent(A)}decodeValue(A){return decodeURIComponent(A)}}const je=/%(\d[a-f0-9])/gi,ke={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function De(le){return encodeURIComponent(le).replace(je,(A,T)=>ke[T]??A)}function Je(le){return`${le}`}class lt{map;encoder;updates=null;cloneFrom=null;constructor(A={}){if(this.encoder=A.encoder||new Le,A.fromString){if(A.fromObject)throw new n.wOt(2805,!1);this.map=function ye(le,A){const T=new Map;return le.length>0&&le.replace(/^\?/,"").split("&").forEach(Te=>{const _t=Te.indexOf("="),[jt,kn]=-1==_t?[A.decodeKey(Te),""]:[A.decodeKey(Te.slice(0,_t)),A.decodeValue(Te.slice(_t+1))],qn=T.get(jt)||[];qn.push(kn),T.set(jt,qn)}),T}(A.fromString,this.encoder)}else A.fromObject?(this.map=new Map,Object.keys(A.fromObject).forEach(T=>{const J=A.fromObject[T],Te=Array.isArray(J)?J.map(Je):[Je(J)];this.map.set(T,Te)})):this.map=null}has(A){return this.init(),this.map.has(A)}get(A){this.init();const T=this.map.get(A);return T?T[0]:null}getAll(A){return this.init(),this.map.get(A)||null}keys(){return this.init(),Array.from(this.map.keys())}append(A,T){return this.clone({param:A,value:T,op:"a"})}appendAll(A){const T=[];return Object.keys(A).forEach(J=>{const Te=A[J];Array.isArray(Te)?Te.forEach(_t=>{T.push({param:J,value:_t,op:"a"})}):T.push({param:J,value:Te,op:"a"})}),this.clone(T)}set(A,T){return this.clone({param:A,value:T,op:"s"})}delete(A,T){return this.clone({param:A,value:T,op:"d"})}toString(){return this.init(),this.keys().map(A=>{const T=this.encoder.encodeKey(A);return this.map.get(A).map(J=>T+"="+this.encoder.encodeValue(J)).join("&")}).filter(A=>""!==A).join("&")}clone(A){const T=new lt({encoder:this.encoder});return T.cloneFrom=this.cloneFrom||this,T.updates=(this.updates||[]).concat(A),T}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(A=>this.map.set(A,this.cloneFrom.map.get(A))),this.updates.forEach(A=>{switch(A.op){case"a":case"s":const T=("a"===A.op?this.map.get(A.param):void 0)||[];T.push(Je(A.value)),this.map.set(A.param,T);break;case"d":if(void 0===A.value){this.map.delete(A.param);break}{let J=this.map.get(A.param)||[];const Te=J.indexOf(Je(A.value));-1!==Te&&J.splice(Te,1),J.length>0?this.map.set(A.param,J):this.map.delete(A.param)}}}),this.cloneFrom=this.updates=null)}}class Bt{map=new Map;set(A,T){return this.map.set(A,T),this}get(A){return this.map.has(A)||this.map.set(A,A.defaultValue()),this.map.get(A)}delete(A){return this.map.delete(A),this}has(A){return this.map.has(A)}keys(){return this.map.keys()}}function sn(le){return typeof ArrayBuffer<"u"&&le instanceof ArrayBuffer}function tt(le){return typeof Blob<"u"&&le instanceof Blob}function Ct(le){return typeof FormData<"u"&&le instanceof FormData}const e="Content-Type",Pt="X-Request-URL",wt="text/plain",At="application/json",we=`${At}, ${wt}, */*`;class Ot{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(A,T,J,Te){let _t;if(this.url=T,this.method=A.toUpperCase(),function et(le){switch(le){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Te?(this.body=void 0!==J?J:null,_t=Te):_t=J,_t&&(this.reportProgress=!!_t.reportProgress,this.withCredentials=!!_t.withCredentials,_t.responseType&&(this.responseType=_t.responseType),_t.headers&&(this.headers=_t.headers),_t.context&&(this.context=_t.context),_t.params&&(this.params=_t.params),this.transferCache=_t.transferCache),this.headers??=new pe,this.context??=new Bt,this.params){const jt=this.params.toString();if(0===jt.length)this.urlWithParams=T;else{const kn=T.indexOf("?");this.urlWithParams=T+(-1===kn?"?":knfr.set(vr,A.setHeaders[vr]),ko)),A.setParams&&(Fi=Object.keys(A.setParams).reduce((fr,vr)=>fr.set(vr,A.setParams[vr]),Fi)),new Ot(T,J,jt,{params:Fi,headers:ko,context:_i,reportProgress:qn,responseType:Te,withCredentials:kn,transferCache:_t})}}var It=function(le){return le[le.Sent=0]="Sent",le[le.UploadProgress=1]="UploadProgress",le[le.ResponseHeader=2]="ResponseHeader",le[le.DownloadProgress=3]="DownloadProgress",le[le.Response=4]="Response",le[le.User=5]="User",le}(It||{});class tn{headers;status;statusText;url;ok;type;constructor(A,T=200,J="OK"){this.headers=A.headers||new pe,this.status=void 0!==A.status?A.status:T,this.statusText=A.statusText||J,this.url=A.url||null,this.ok=this.status>=200&&this.status<300}}class fn extends tn{constructor(A={}){super(A)}type=It.ResponseHeader;clone(A={}){return new fn({headers:A.headers||this.headers,status:void 0!==A.status?A.status:this.status,statusText:A.statusText||this.statusText,url:A.url||this.url||void 0})}}class En extends tn{body;constructor(A={}){super(A),this.body=void 0!==A.body?A.body:null}type=It.Response;clone(A={}){return new En({body:void 0!==A.body?A.body:this.body,headers:A.headers||this.headers,status:void 0!==A.status?A.status:this.status,statusText:A.statusText||this.statusText,url:A.url||this.url||void 0})}}class jn extends tn{name="HttpErrorResponse";message;error;ok=!1;constructor(A){super(A,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${A.url||"(unknown url)"}`:`Http failure response for ${A.url||"(unknown url)"}: ${A.status} ${A.statusText}`,this.error=A.error||null}}function Vt(le,A){return{body:A,headers:le.headers,context:le.context,observe:le.observe,params:le.params,reportProgress:le.reportProgress,responseType:le.responseType,withCredentials:le.withCredentials,transferCache:le.transferCache}}let cn=(()=>{class le{handler;constructor(T){this.handler=T}request(T,J,Te={}){let _t;if(T instanceof Ot)_t=T;else{let qn,ko;qn=Te.headers instanceof pe?Te.headers:new pe(Te.headers),Te.params&&(ko=Te.params instanceof lt?Te.params:new lt({fromObject:Te.params})),_t=new Ot(T,J,void 0!==Te.body?Te.body:null,{headers:qn,context:Te.context,params:ko,reportProgress:Te.reportProgress,responseType:Te.responseType||"json",withCredentials:Te.withCredentials,transferCache:Te.transferCache})}const jt=(0,_.of)(_t).pipe((0,M.H)(qn=>this.handler.handle(qn)));if(T instanceof Ot||"events"===Te.observe)return jt;const kn=jt.pipe((0,I.p)(qn=>qn instanceof En));switch(Te.observe||"body"){case"body":switch(_t.responseType){case"arraybuffer":return kn.pipe((0,R.T)(qn=>{if(null!==qn.body&&!(qn.body instanceof ArrayBuffer))throw new n.wOt(2806,!1);return qn.body}));case"blob":return kn.pipe((0,R.T)(qn=>{if(null!==qn.body&&!(qn.body instanceof Blob))throw new n.wOt(2807,!1);return qn.body}));case"text":return kn.pipe((0,R.T)(qn=>{if(null!==qn.body&&"string"!=typeof qn.body)throw new n.wOt(2808,!1);return qn.body}));default:return kn.pipe((0,R.T)(qn=>qn.body))}case"response":return kn;default:throw new n.wOt(2809,!1)}}delete(T,J={}){return this.request("DELETE",T,J)}get(T,J={}){return this.request("GET",T,J)}head(T,J={}){return this.request("HEAD",T,J)}jsonp(T,J){return this.request("JSONP",T,{params:(new lt).append(J,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(T,J={}){return this.request("OPTIONS",T,J)}patch(T,J,Te={}){return this.request("PATCH",T,Vt(Te,J))}post(T,J,Te={}){return this.request("POST",T,Vt(Te,J))}put(T,J,Te={}){return this.request("PUT",T,Vt(Te,J))}static \u0275fac=function(J){return new(J||le)(n.KVO(L))};static \u0275prov=n.jDH({token:le,factory:le.\u0275fac})}return le})();const Un=new n.nKC("");function Qt(le,A){return A(le)}const vn=new n.nKC(""),hn=new n.nKC(""),Tn=new n.nKC("",{providedIn:"root",factory:()=>!0});let gi=(()=>{class le extends L{backend;injector;chain=null;pendingTasks=(0,n.WQX)(n.Ua0);contributeToStability=(0,n.WQX)(Tn);constructor(T,J){super(),this.backend=T,this.injector=J}handle(T){if(null===this.chain){const J=Array.from(new Set([...this.injector.get(vn),...this.injector.get(hn,[])]));this.chain=J.reduceRight((Te,_t)=>function Qn(le,A,T){return(J,Te)=>(0,n.N4e)(T,()=>A(J,_t=>le(_t,Te)))}(Te,_t,this.injector),Qt)}if(this.contributeToStability){const J=this.pendingTasks.add();return this.chain(T,Te=>this.backend.handle(Te)).pipe((0,H.j)(()=>this.pendingTasks.remove(J)))}return this.chain(T,J=>this.backend.handle(J))}static \u0275fac=function(J){return new(J||le)(n.KVO(he),n.KVO(n.uvJ))};static \u0275prov=n.jDH({token:le,factory:le.\u0275fac})}return le})();const mn=/^\)\]\}',?\n/,ze=RegExp(`^${Pt}:`,"m");let Ft=(()=>{class le{xhrFactory;constructor(T){this.xhrFactory=T}handle(T){if("JSONP"===T.method)throw new n.wOt(-2800,!1);const J=this.xhrFactory;return(J.\u0275loadImpl?(0,w.H)(J.\u0275loadImpl()):(0,_.of)(null)).pipe((0,K.n)(()=>new y.c(_t=>{const jt=J.build();if(jt.open(T.method,T.urlWithParams),T.withCredentials&&(jt.withCredentials=!0),T.headers.forEach((Ri,Mr)=>jt.setRequestHeader(Ri,Mr.join(","))),T.headers.has("Accept")||jt.setRequestHeader("Accept",we),!T.headers.has(e)){const Ri=T.detectContentTypeHeader();null!==Ri&&jt.setRequestHeader(e,Ri)}if(T.responseType){const Ri=T.responseType.toLowerCase();jt.responseType="json"!==Ri?Ri:"text"}const kn=T.serializeBody();let qn=null;const ko=()=>{if(null!==qn)return qn;const Ri=jt.statusText||"OK",Mr=new pe(jt.getAllResponseHeaders()),ds=function at(le){return"responseURL"in le&&le.responseURL?le.responseURL:ze.test(le.getAllResponseHeaders())?le.getResponseHeader(Pt):null}(jt)||T.url;return qn=new fn({headers:Mr,status:jt.status,statusText:Ri,url:ds}),qn},Fi=()=>{let{headers:Ri,status:Mr,statusText:ds,url:$r}=ko(),Sr=null;204!==Mr&&(Sr=typeof jt.response>"u"?jt.responseText:jt.response),0===Mr&&(Mr=Sr?200:0);let Ls=Mr>=200&&Mr<300;if("json"===T.responseType&&"string"==typeof Sr){const ta=Sr;Sr=Sr.replace(mn,"");try{Sr=""!==Sr?JSON.parse(Sr):null}catch(Ns){Sr=ta,Ls&&(Ls=!1,Sr={error:Ns,text:Sr})}}Ls?(_t.next(new En({body:Sr,headers:Ri,status:Mr,statusText:ds,url:$r||void 0})),_t.complete()):_t.error(new jn({error:Sr,headers:Ri,status:Mr,statusText:ds,url:$r||void 0}))},_i=Ri=>{const{url:Mr}=ko(),ds=new jn({error:Ri,status:jt.status||0,statusText:jt.statusText||"Unknown Error",url:Mr||void 0});_t.error(ds)};let fr=!1;const vr=Ri=>{fr||(_t.next(ko()),fr=!0);let Mr={type:It.DownloadProgress,loaded:Ri.loaded};Ri.lengthComputable&&(Mr.total=Ri.total),"text"===T.responseType&&jt.responseText&&(Mr.partialText=jt.responseText),_t.next(Mr)},Ki=Ri=>{let Mr={type:It.UploadProgress,loaded:Ri.loaded};Ri.lengthComputable&&(Mr.total=Ri.total),_t.next(Mr)};return jt.addEventListener("load",Fi),jt.addEventListener("error",_i),jt.addEventListener("timeout",_i),jt.addEventListener("abort",_i),T.reportProgress&&(jt.addEventListener("progress",vr),null!==kn&&jt.upload&&jt.upload.addEventListener("progress",Ki)),jt.send(kn),_t.next({type:It.Sent}),()=>{jt.removeEventListener("error",_i),jt.removeEventListener("abort",_i),jt.removeEventListener("load",Fi),jt.removeEventListener("timeout",_i),T.reportProgress&&(jt.removeEventListener("progress",vr),null!==kn&&jt.upload&&jt.upload.removeEventListener("progress",Ki)),jt.readyState!==jt.DONE&&jt.abort()}})))}static \u0275fac=function(J){return new(J||le)(n.KVO(i.N0))};static \u0275prov=n.jDH({token:le,factory:le.\u0275fac})}return le})();const In=new n.nKC(""),wn=new n.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),$e=new n.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class We{}let ot=(()=>{class le{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(T,J,Te){this.doc=T,this.platform=J,this.cookieName=Te}getToken(){if("server"===this.platform)return null;const T=this.doc.cookie||"";return T!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i._b)(T,this.cookieName),this.lastCookieString=T),this.lastToken}static \u0275fac=function(J){return new(J||le)(n.KVO(i.qQ),n.KVO(n.Agw),n.KVO(wn))};static \u0275prov=n.jDH({token:le,factory:le.\u0275fac})}return le})();function Wt(le,A){const T=le.url.toLowerCase();if(!(0,n.WQX)(In)||"GET"===le.method||"HEAD"===le.method||T.startsWith("http://")||T.startsWith("https://"))return A(le);const J=(0,n.WQX)(We).getToken(),Te=(0,n.WQX)($e);return null!=J&&!le.headers.has(Te)&&(le=le.clone({headers:le.headers.set(Te,J)})),A(le)}var ps=l(345),vi=l(49969);function Ps(le){return new n.wOt(3e3,!1)}function Et(le){switch(le.length){case 0:return new vi.sf;case 1:return le[0];default:return new vi.ui(le)}}function Yt(le,A,T=new Map,J=new Map){const Te=[],_t=[];let jt=-1,kn=null;if(A.forEach(qn=>{const ko=qn.get("offset"),Fi=ko==jt,_i=Fi&&kn||new Map;qn.forEach((fr,vr)=>{let Ki=vr,Ri=fr;if("offset"!==vr)switch(Ki=le.normalizePropertyName(Ki,Te),Ri){case vi.FX:Ri=T.get(vr);break;case vi.kp:Ri=J.get(vr);break;default:Ri=le.normalizeStyleValue(vr,Ki,Ri,Te)}_i.set(Ki,Ri)}),Fi||_t.push(_i),kn=_i,jt=ko}),Te.length)throw function Ti(){return new n.wOt(3502,!1)}();return _t}function $n(le,A,T,J){switch(A){case"start":le.onStart(()=>J(T&&nn(T,"start",le)));break;case"done":le.onDone(()=>J(T&&nn(T,"done",le)));break;case"destroy":le.onDestroy(()=>J(T&&nn(T,"destroy",le)))}}function nn(le,A,T){const _t=mo(le.element,le.triggerName,le.fromState,le.toState,A||le.phaseName,T.totalTime??le.totalTime,!!T.disabled),jt=le._data;return null!=jt&&(_t._data=jt),_t}function mo(le,A,T,J,Te="",_t=0,jt){return{element:le,triggerName:A,fromState:T,toState:J,phaseName:Te,totalTime:_t,disabled:!!jt}}function yo(le,A,T){let J=le.get(A);return J||le.set(A,J=T),J}function Xo(le){const A=le.indexOf(":");return[le.substring(1,A),le.slice(A+1)]}const Ho=typeof document>"u"?null:document.documentElement;function Oi(le){const A=le.parentNode||le.host||null;return A===Ho?null:A}let Ko=null,ai=!1;function li(le,A){for(;A;){if(A===le)return!0;A=Oi(A)}return!1}function Mi(le,A,T){if(T)return Array.from(le.querySelectorAll(A));const J=le.querySelector(A);return J?[J]:[]}let Jr=(()=>{class le{validateStyleProperty(T){return function di(le){Ko||(Ko=function ki(){return typeof document<"u"?document.body:null}()||{},ai=!!Ko.style&&"WebkitAppearance"in Ko.style);let A=!0;return Ko.style&&!function ui(le){return"ebkit"==le.substring(1,6)}(le)&&(A=le in Ko.style,!A&&ai&&(A="Webkit"+le.charAt(0).toUpperCase()+le.slice(1)in Ko.style)),A}(T)}containsElement(T,J){return li(T,J)}getParentElement(T){return Oi(T)}query(T,J,Te){return Mi(T,J,Te)}computeStyle(T,J,Te){return Te||""}animate(T,J,Te,_t,jt,kn=[],qn){return new vi.sf(Te,_t)}static \u0275fac=function(J){return new(J||le)};static \u0275prov=n.jDH({token:le,factory:le.\u0275fac})}return le})();class Ii{static NOOP=new Jr}class Nr{}const m="ng-enter",se="ng-leave",te="ng-trigger",ge=".ng-trigger",Be="ng-animating",Re=".ng-animating";function mt(le){if("number"==typeof le)return le;const A=le.match(/^(-?[\.\d]+)(m?s)/);return!A||A.length<2?0:qe(parseFloat(A[1]),A[2])}function qe(le,A){return"s"===A?1e3*le:le}function Ye(le,A,T){return le.hasOwnProperty("duration")?le:function ut(le,A,T){let Te,_t=0,jt="";if("string"==typeof le){const kn=le.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===kn)return A.push(Ps()),{duration:0,delay:0,easing:""};Te=qe(parseFloat(kn[1]),kn[2]);const qn=kn[3];null!=qn&&(_t=qe(parseFloat(qn),kn[4]));const ko=kn[5];ko&&(jt=ko)}else Te=le;if(!T){let kn=!1,qn=A.length;Te<0&&(A.push(function ys(){return new n.wOt(3100,!1)}()),kn=!0),_t<0&&(A.push(function Es(){return new n.wOt(3101,!1)}()),kn=!0),kn&&A.splice(qn,0,Ps())}return{duration:Te,delay:_t,easing:jt}}(le,A,T)}function Gt(le,A,T){A.forEach((J,Te)=>{const _t=Ut(Te);T&&!T.has(Te)&&T.set(Te,le.style[_t]),le.style[_t]=J})}function Jt(le,A){A.forEach((T,J)=>{const Te=Ut(J);le.style[Te]=""})}function z(le){return Array.isArray(le)?1==le.length?le[0]:(0,vi.K2)(le):le}const Ee=new RegExp("{{\\s*(.+?)\\s*}}","g");function _e(le){let A=[];if("string"==typeof le){let T;for(;T=Ee.exec(le);)A.push(T[1]);Ee.lastIndex=0}return A}function He(le,A,T){const J=`${le}`,Te=J.replace(Ee,(_t,jt)=>{let kn=A[jt];return null==kn&&(T.push(function vs(){return new n.wOt(3003,!1)}()),kn=""),kn.toString()});return Te==J?le:Te}const nt=/-+([a-z0-9])/g;function Ut(le){return le.replace(nt,(...A)=>A[1].toUpperCase())}function Xt(le,A,T){switch(A.type){case vi.If.Trigger:return le.visitTrigger(A,T);case vi.If.State:return le.visitState(A,T);case vi.If.Transition:return le.visitTransition(A,T);case vi.If.Sequence:return le.visitSequence(A,T);case vi.If.Group:return le.visitGroup(A,T);case vi.If.Animate:return le.visitAnimate(A,T);case vi.If.Keyframes:return le.visitKeyframes(A,T);case vi.If.Style:return le.visitStyle(A,T);case vi.If.Reference:return le.visitReference(A,T);case vi.If.AnimateChild:return le.visitAnimateChild(A,T);case vi.If.AnimateRef:return le.visitAnimateRef(A,T);case vi.If.Query:return le.visitQuery(A,T);case vi.If.Stagger:return le.visitStagger(A,T);default:throw function ks(){return new n.wOt(3004,!1)}()}}function ve(le,A){return window.getComputedStyle(le)[A]}const Fe=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 Y extends Nr{normalizePropertyName(A,T){return Ut(A)}normalizeStyleValue(A,T,J,Te){let _t="";const jt=J.toString().trim();if(Fe.has(T)&&0!==J&&"0"!==J)if("number"==typeof J)_t="px";else{const kn=J.match(/^[+-]?[\d\.]+([a-z]*)$/);kn&&0==kn[1].length&&Te.push(function Zr(){return new n.wOt(3005,!1)}())}return jt+_t}}const ji=new Set(["true","1"]),gr=new Set(["false","0"]);function N(le,A){const T=ji.has(le)||gr.has(le),J=ji.has(A)||gr.has(A);return(Te,_t)=>{let jt="*"==le||le==Te,kn="*"==A||A==_t;return!jt&&T&&"boolean"==typeof Te&&(jt=Te?ji.has(le):gr.has(le)),!kn&&J&&"boolean"==typeof _t&&(kn=_t?ji.has(A):gr.has(A)),jt&&kn}}const Ne=new RegExp("s*:selfs*,?","g");function dt(le,A,T,J){return new gn(le).build(A,T,J)}class gn{_driver;constructor(A){this._driver=A}build(A,T,J){const Te=new Do(T);return this._resetContextStyleTimingState(Te),Xt(this,z(A),Te)}_resetContextStyleTimingState(A){A.currentQuerySelector="",A.collectedStyles=new Map,A.collectedStyles.set("",new Map),A.currentTime=0}visitTrigger(A,T){let J=T.queryCount=0,Te=T.depCount=0;const _t=[],jt=[];return"@"==A.name.charAt(0)&&T.errors.push(function Wr(){return new n.wOt(3006,!1)}()),A.definitions.forEach(kn=>{if(this._resetContextStyleTimingState(T),kn.type==vi.If.State){const qn=kn,ko=qn.name;ko.toString().split(/\s*,\s*/).forEach(Fi=>{qn.name=Fi,_t.push(this.visitState(qn,T))}),qn.name=ko}else if(kn.type==vi.If.Transition){const qn=this.visitTransition(kn,T);J+=qn.queryCount,Te+=qn.depCount,jt.push(qn)}else T.errors.push(function ws(){return new n.wOt(3007,!1)}())}),{type:vi.If.Trigger,name:A.name,states:_t,transitions:jt,queryCount:J,depCount:Te,options:null}}visitState(A,T){const J=this.visitStyle(A.styles,T),Te=A.options&&A.options.params||null;if(J.containsDynamicStyles){const _t=new Set,jt=Te||{};J.styles.forEach(kn=>{kn instanceof Map&&kn.forEach(qn=>{_e(qn).forEach(ko=>{jt.hasOwnProperty(ko)||_t.add(ko)})})}),_t.size&&T.errors.push(function Or(){return new n.wOt(3008,!1)}(0,_t.values()))}return{type:vi.If.State,name:A.name,style:J,options:Te?{params:Te}:null}}visitTransition(A,T){T.queryCount=0,T.depCount=0;const J=Xt(this,z(A.animation),T),Te=function Di(le,A){const T=[];return"string"==typeof le?le.split(/\s*,\s*/).forEach(J=>function Pi(le,A,T){if(":"==le[0]){const qn=function Dr(le,A){switch(le){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(T,J)=>parseFloat(J)>parseFloat(T);case":decrement":return(T,J)=>parseFloat(J) *"}}(le,T);if("function"==typeof qn)return void A.push(qn);le=qn}const J=le.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==J||J.length<4)return T.push(function si(){return new n.wOt(3015,!1)}()),A;const Te=J[1],_t=J[2],jt=J[3];A.push(N(Te,jt)),"<"==_t[0]&&("*"!=Te||"*"!=jt)&&A.push(N(jt,Te))}(J,T,A)):T.push(le),T}(A.expr,T.errors);return{type:vi.If.Transition,matchers:Te,animation:J,queryCount:T.queryCount,depCount:T.depCount,options:Ni(A.options)}}visitSequence(A,T){return{type:vi.If.Sequence,steps:A.steps.map(J=>Xt(this,J,T)),options:Ni(A.options)}}visitGroup(A,T){const J=T.currentTime;let Te=0;const _t=A.steps.map(jt=>{T.currentTime=J;const kn=Xt(this,jt,T);return Te=Math.max(Te,T.currentTime),kn});return T.currentTime=Te,{type:vi.If.Group,steps:_t,options:Ni(A.options)}}visitAnimate(A,T){const J=function oi(le,A){if(le.hasOwnProperty("duration"))return le;if("number"==typeof le)return yr(Ye(le,A).duration,0,"");const T=le;if(T.split(/\s+/).some(_t=>"{"==_t.charAt(0)&&"{"==_t.charAt(1))){const _t=yr(0,0,"");return _t.dynamic=!0,_t.strValue=T,_t}const Te=Ye(T,A);return yr(Te.duration,Te.delay,Te.easing)}(A.timings,T.errors);T.currentAnimateTimings=J;let Te,_t=A.styles?A.styles:(0,vi.iF)({});if(_t.type==vi.If.Keyframes)Te=this.visitKeyframes(_t,T);else{let jt=A.styles,kn=!1;if(!jt){kn=!0;const ko={};J.easing&&(ko.easing=J.easing),jt=(0,vi.iF)(ko)}T.currentTime+=J.duration+J.delay;const qn=this.visitStyle(jt,T);qn.isEmptyStep=kn,Te=qn}return T.currentAnimateTimings=null,{type:vi.If.Animate,timings:J,style:Te,options:null}}visitStyle(A,T){const J=this._makeStyleAst(A,T);return this._validateStyleAst(J,T),J}_makeStyleAst(A,T){const J=[],Te=Array.isArray(A.styles)?A.styles:[A.styles];for(let kn of Te)"string"==typeof kn?kn===vi.kp?J.push(kn):T.errors.push(new n.wOt(3002,!1)):J.push(new Map(Object.entries(kn)));let _t=!1,jt=null;return J.forEach(kn=>{if(kn instanceof Map&&(kn.has("easing")&&(jt=kn.get("easing"),kn.delete("easing")),!_t))for(let qn of kn.values())if(qn.toString().indexOf("{{")>=0){_t=!0;break}}),{type:vi.If.Style,styles:J,easing:jt,offset:A.offset,containsDynamicStyles:_t,options:null}}_validateStyleAst(A,T){const J=T.currentAnimateTimings;let Te=T.currentTime,_t=T.currentTime;J&&_t>0&&(_t-=J.duration+J.delay),A.styles.forEach(jt=>{"string"!=typeof jt&&jt.forEach((kn,qn)=>{const ko=T.collectedStyles.get(T.currentQuerySelector),Fi=ko.get(qn);let _i=!0;Fi&&(_t!=Te&&_t>=Fi.startTime&&Te<=Fi.endTime&&(T.errors.push(function Dt(){return new n.wOt(3010,!1)}()),_i=!1),_t=Fi.startTime),_i&&ko.set(qn,{startTime:_t,endTime:Te}),T.options&&function Q(le,A,T){const J=A.params||{},Te=_e(le);Te.length&&Te.forEach(_t=>{J.hasOwnProperty(_t)||T.push(function gs(){return new n.wOt(3001,!1)}())})}(kn,T.options,T.errors)})})}visitKeyframes(A,T){const J={type:vi.If.Keyframes,styles:[],options:null};if(!T.currentAnimateTimings)return T.errors.push(function un(){return new n.wOt(3011,!1)}()),J;let _t=0;const jt=[];let kn=!1,qn=!1,ko=0;const Fi=A.steps.map(ds=>{const $r=this._makeStyleAst(ds,T);let Sr=null!=$r.offset?$r.offset:function Uo(le){if("string"==typeof le)return null;let A=null;if(Array.isArray(le))le.forEach(T=>{if(T instanceof Map&&T.has("offset")){const J=T;A=parseFloat(J.get("offset")),J.delete("offset")}});else if(le instanceof Map&&le.has("offset")){const T=le;A=parseFloat(T.get("offset")),T.delete("offset")}return A}($r.styles),Ls=0;return null!=Sr&&(_t++,Ls=$r.offset=Sr),qn=qn||Ls<0||Ls>1,kn=kn||Ls0&&_t<_i?T.errors.push(function To(){return new n.wOt(3202,!1)}()):0==_t&&(fr=1/(_i-1));const vr=_i-1,Ki=T.currentTime,Ri=T.currentAnimateTimings,Mr=Ri.duration;return Fi.forEach((ds,$r)=>{const Sr=fr>0?$r==vr?1:fr*$r:jt[$r],Ls=Sr*Mr;T.currentTime=Ki+Ri.delay+Ls,Ri.duration=Ls,this._validateStyleAst(ds,T),ds.offset=Sr,J.styles.push(ds)}),J}visitReference(A,T){return{type:vi.If.Reference,animation:Xt(this,z(A.animation),T),options:Ni(A.options)}}visitAnimateChild(A,T){return T.depCount++,{type:vi.If.AnimateChild,options:Ni(A.options)}}visitAnimateRef(A,T){return{type:vi.If.AnimateRef,animation:this.visitReference(A.animation,T),options:Ni(A.options)}}visitQuery(A,T){const J=T.currentQuerySelector,Te=A.options||{};T.queryCount++,T.currentQuery=A;const[_t,jt]=function xn(le){const A=!!le.split(/\s*,\s*/).find(T=>":self"==T);return A&&(le=le.replace(Ne,"")),le=le.replace(/@\*/g,ge).replace(/@\w+/g,T=>ge+"-"+T.slice(1)).replace(/:animating/g,Re),[le,A]}(A.selector);T.currentQuerySelector=J.length?J+" "+_t:_t,yo(T.collectedStyles,T.currentQuerySelector,new Map);const kn=Xt(this,z(A.animation),T);return T.currentQuery=null,T.currentQuerySelector=J,{type:vi.If.Query,selector:_t,limit:Te.limit||0,optional:!!Te.optional,includeSelf:jt,animation:kn,originalSelector:A.selector,options:Ni(A.options)}}visitStagger(A,T){T.currentQuery||T.errors.push(function qo(){return new n.wOt(3013,!1)}());const J="full"===A.timings?{duration:0,delay:0,easing:"full"}:Ye(A.timings,T.errors,!0);return{type:vi.If.Stagger,animation:Xt(this,z(A.animation),T),timings:J,options:null}}}class Do{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(A){this.errors=A}}function Ni(le){return le?(le={...le}).params&&(le.params=function Yn(le){return le?{...le}:null}(le.params)):le={},le}function yr(le,A,T){return{duration:le,delay:A,easing:T}}function ir(le,A,T,J,Te,_t,jt=null,kn=!1){return{type:1,element:le,keyframes:A,preStyleProps:T,postStyleProps:J,duration:Te,delay:_t,totalTime:Te+_t,easing:jt,subTimeline:kn}}class bi{_map=new Map;get(A){return this._map.get(A)||[]}append(A,T){let J=this._map.get(A);J||this._map.set(A,J=[]),J.push(...T)}has(A){return this._map.has(A)}clear(){this._map.clear()}}const _s=new RegExp(":enter","g"),pa=new RegExp(":leave","g");function Ds(le,A,T,J,Te,_t=new Map,jt=new Map,kn,qn,ko=[]){return(new qa).buildKeyframes(le,A,T,J,Te,_t,jt,kn,qn,ko)}class qa{buildKeyframes(A,T,J,Te,_t,jt,kn,qn,ko,Fi=[]){ko=ko||new bi;const _i=new Ua(A,T,ko,Te,_t,Fi,[]);_i.options=qn;const fr=qn.delay?mt(qn.delay):0;_i.currentTimeline.delayNextStep(fr),_i.currentTimeline.setStyles([jt],null,_i.errors,qn),Xt(this,J,_i);const vr=_i.timelines.filter(Ki=>Ki.containsAnimation());if(vr.length&&kn.size){let Ki;for(let Ri=vr.length-1;Ri>=0;Ri--){const Mr=vr[Ri];if(Mr.element===T){Ki=Mr;break}}Ki&&!Ki.allowOnlyTimelineStyles()&&Ki.setStyles([kn],null,_i.errors,qn)}return vr.length?vr.map(Ki=>Ki.buildKeyframes()):[ir(T,[],[],[],0,fr,"",!1)]}visitTrigger(A,T){}visitState(A,T){}visitTransition(A,T){}visitAnimateChild(A,T){const J=T.subInstructions.get(T.element);if(J){const Te=T.createSubContext(A.options),_t=T.currentTimeline.currentTime,jt=this._visitSubInstructions(J,Te,Te.options);_t!=jt&&T.transformIntoNewTimeline(jt)}T.previousNode=A}visitAnimateRef(A,T){const J=T.createSubContext(A.options);J.transformIntoNewTimeline(),this._applyAnimationRefDelays([A.options,A.animation.options],T,J),this.visitReference(A.animation,J),T.transformIntoNewTimeline(J.currentTimeline.currentTime),T.previousNode=A}_applyAnimationRefDelays(A,T,J){for(const Te of A){const _t=Te?.delay;if(_t){const jt="number"==typeof _t?_t:mt(He(_t,Te?.params??{},T.errors));J.delayNextStep(jt)}}}_visitSubInstructions(A,T,J){let _t=T.currentTimeline.currentTime;const jt=null!=J.duration?mt(J.duration):null,kn=null!=J.delay?mt(J.delay):null;return 0!==jt&&A.forEach(qn=>{const ko=T.appendInstructionToTimeline(qn,jt,kn);_t=Math.max(_t,ko.duration+ko.delay)}),_t}visitReference(A,T){T.updateOptions(A.options,!0),Xt(this,A.animation,T),T.previousNode=A}visitSequence(A,T){const J=T.subContextCount;let Te=T;const _t=A.options;if(_t&&(_t.params||_t.delay)&&(Te=T.createSubContext(_t),Te.transformIntoNewTimeline(),null!=_t.delay)){Te.previousNode.type==vi.If.Style&&(Te.currentTimeline.snapshotCurrentStyles(),Te.previousNode=ya);const jt=mt(_t.delay);Te.delayNextStep(jt)}A.steps.length&&(A.steps.forEach(jt=>Xt(this,jt,Te)),Te.currentTimeline.applyStylesToKeyframe(),Te.subContextCount>J&&Te.transformIntoNewTimeline()),T.previousNode=A}visitGroup(A,T){const J=[];let Te=T.currentTimeline.currentTime;const _t=A.options&&A.options.delay?mt(A.options.delay):0;A.steps.forEach(jt=>{const kn=T.createSubContext(A.options);_t&&kn.delayNextStep(_t),Xt(this,jt,kn),Te=Math.max(Te,kn.currentTimeline.currentTime),J.push(kn.currentTimeline)}),J.forEach(jt=>T.currentTimeline.mergeTimelineCollectedStyles(jt)),T.transformIntoNewTimeline(Te),T.previousNode=A}_visitTiming(A,T){if(A.dynamic){const J=A.strValue;return Ye(T.params?He(J,T.params,T.errors):J,T.errors)}return{duration:A.duration,delay:A.delay,easing:A.easing}}visitAnimate(A,T){const J=T.currentAnimateTimings=this._visitTiming(A.timings,T),Te=T.currentTimeline;J.delay&&(T.incrementTime(J.delay),Te.snapshotCurrentStyles());const _t=A.style;_t.type==vi.If.Keyframes?this.visitKeyframes(_t,T):(T.incrementTime(J.duration),this.visitStyle(_t,T),Te.applyStylesToKeyframe()),T.currentAnimateTimings=null,T.previousNode=A}visitStyle(A,T){const J=T.currentTimeline,Te=T.currentAnimateTimings;!Te&&J.hasCurrentStyleProperties()&&J.forwardFrame();const _t=Te&&Te.easing||A.easing;A.isEmptyStep?J.applyEmptyStep(_t):J.setStyles(A.styles,_t,T.errors,T.options),T.previousNode=A}visitKeyframes(A,T){const J=T.currentAnimateTimings,Te=T.currentTimeline.duration,_t=J.duration,kn=T.createSubContext().currentTimeline;kn.easing=J.easing,A.styles.forEach(qn=>{kn.forwardTime((qn.offset||0)*_t),kn.setStyles(qn.styles,qn.easing,T.errors,T.options),kn.applyStylesToKeyframe()}),T.currentTimeline.mergeTimelineCollectedStyles(kn),T.transformIntoNewTimeline(Te+_t),T.previousNode=A}visitQuery(A,T){const J=T.currentTimeline.currentTime,Te=A.options||{},_t=Te.delay?mt(Te.delay):0;_t&&(T.previousNode.type===vi.If.Style||0==J&&T.currentTimeline.hasCurrentStyleProperties())&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=ya);let jt=J;const kn=T.invokeQuery(A.selector,A.originalSelector,A.limit,A.includeSelf,!!Te.optional,T.errors);T.currentQueryTotal=kn.length;let qn=null;kn.forEach((ko,Fi)=>{T.currentQueryIndex=Fi;const _i=T.createSubContext(A.options,ko);_t&&_i.delayNextStep(_t),ko===T.element&&(qn=_i.currentTimeline),Xt(this,A.animation,_i),_i.currentTimeline.applyStylesToKeyframe(),jt=Math.max(jt,_i.currentTimeline.currentTime)}),T.currentQueryIndex=0,T.currentQueryTotal=0,T.transformIntoNewTimeline(jt),qn&&(T.currentTimeline.mergeTimelineCollectedStyles(qn),T.currentTimeline.snapshotCurrentStyles()),T.previousNode=A}visitStagger(A,T){const J=T.parentContext,Te=T.currentTimeline,_t=A.timings,jt=Math.abs(_t.duration),kn=jt*(T.currentQueryTotal-1);let qn=jt*T.currentQueryIndex;switch(_t.duration<0?"reverse":_t.easing){case"reverse":qn=kn-qn;break;case"full":qn=J.currentStaggerTime}const Fi=T.currentTimeline;qn&&Fi.delayNextStep(qn);const _i=Fi.currentTime;Xt(this,A.animation,T),T.previousNode=A,J.currentStaggerTime=Te.currentTime-_i+(Te.startTime-J.currentTimeline.startTime)}}const ya={};class Ua{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=ya;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(A,T,J,Te,_t,jt,kn,qn){this._driver=A,this.element=T,this.subInstructions=J,this._enterClassName=Te,this._leaveClassName=_t,this.errors=jt,this.timelines=kn,this.currentTimeline=qn||new Ys(this._driver,T,0),kn.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(A,T){if(!A)return;const J=A;let Te=this.options;null!=J.duration&&(Te.duration=mt(J.duration)),null!=J.delay&&(Te.delay=mt(J.delay));const _t=J.params;if(_t){let jt=Te.params;jt||(jt=this.options.params={}),Object.keys(_t).forEach(kn=>{(!T||!jt.hasOwnProperty(kn))&&(jt[kn]=He(_t[kn],jt,this.errors))})}}_copyOptions(){const A={};if(this.options){const T=this.options.params;if(T){const J=A.params={};Object.keys(T).forEach(Te=>{J[Te]=T[Te]})}}return A}createSubContext(A=null,T,J){const Te=T||this.element,_t=new Ua(this._driver,Te,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Te,J||0));return _t.previousNode=this.previousNode,_t.currentAnimateTimings=this.currentAnimateTimings,_t.options=this._copyOptions(),_t.updateOptions(A),_t.currentQueryIndex=this.currentQueryIndex,_t.currentQueryTotal=this.currentQueryTotal,_t.parentContext=this,this.subContextCount++,_t}transformIntoNewTimeline(A){return this.previousNode=ya,this.currentTimeline=this.currentTimeline.fork(this.element,A),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(A,T,J){const Te={duration:T??A.duration,delay:this.currentTimeline.currentTime+(J??0)+A.delay,easing:""},_t=new ja(this._driver,A.element,A.keyframes,A.preStyleProps,A.postStyleProps,Te,A.stretchStartingKeyframe);return this.timelines.push(_t),Te}incrementTime(A){this.currentTimeline.forwardTime(this.currentTimeline.duration+A)}delayNextStep(A){A>0&&this.currentTimeline.delayNextStep(A)}invokeQuery(A,T,J,Te,_t,jt){let kn=[];if(Te&&kn.push(this.element),A.length>0){A=(A=A.replace(_s,"."+this._enterClassName)).replace(pa,"."+this._leaveClassName);let ko=this._driver.query(this.element,A,1!=J);0!==J&&(ko=J<0?ko.slice(ko.length+J,ko.length):ko.slice(0,J)),kn.push(...ko)}return!_t&&0==kn.length&&jt.push(function hi(){return new n.wOt(3014,!1)}()),kn}}class Ys{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(A,T,J,Te){this._driver=A,this.element=T,this.startTime=J,this._elementTimelineStylesLookup=Te,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(T),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(T,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(A){const T=1===this._keyframes.size&&this._pendingStyles.size;this.duration||T?(this.forwardTime(this.currentTime+A),T&&this.snapshotCurrentStyles()):this.startTime+=A}fork(A,T){return this.applyStylesToKeyframe(),new Ys(this._driver,A,T||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(A){this.applyStylesToKeyframe(),this.duration=A,this._loadKeyframe()}_updateStyle(A,T){this._localTimelineStyles.set(A,T),this._globalTimelineStyles.set(A,T),this._styleSummary.set(A,{time:this.currentTime,value:T})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(A){A&&this._previousKeyframe.set("easing",A);for(let[T,J]of this._globalTimelineStyles)this._backFill.set(T,J||vi.kp),this._currentKeyframe.set(T,vi.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(A,T,J,Te){T&&this._previousKeyframe.set("easing",T);const _t=Te&&Te.params||{},jt=function Zo(le,A){const T=new Map;let J;return le.forEach(Te=>{if("*"===Te){J??=A.keys();for(let _t of J)T.set(_t,vi.kp)}else for(let[_t,jt]of Te)T.set(_t,jt)}),T}(A,this._globalTimelineStyles);for(let[kn,qn]of jt){const ko=He(qn,_t,J);this._pendingStyles.set(kn,ko),this._localTimelineStyles.has(kn)||this._backFill.set(kn,this._globalTimelineStyles.get(kn)??vi.kp),this._updateStyle(kn,ko)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((A,T)=>{this._currentKeyframe.set(T,A)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((A,T)=>{this._currentKeyframe.has(T)||this._currentKeyframe.set(T,A)}))}snapshotCurrentStyles(){for(let[A,T]of this._localTimelineStyles)this._pendingStyles.set(A,T),this._updateStyle(A,T)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const A=[];for(let T in this._currentKeyframe)A.push(T);return A}mergeTimelineCollectedStyles(A){A._styleSummary.forEach((T,J)=>{const Te=this._styleSummary.get(J);(!Te||T.time>Te.time)&&this._updateStyle(J,T.value)})}buildKeyframes(){this.applyStylesToKeyframe();const A=new Set,T=new Set,J=1===this._keyframes.size&&0===this.duration;let Te=[];this._keyframes.forEach((kn,qn)=>{const ko=new Map([...this._backFill,...kn]);ko.forEach((Fi,_i)=>{Fi===vi.FX?A.add(_i):Fi===vi.kp&&T.add(_i)}),J||ko.set("offset",qn/this.duration),Te.push(ko)});const _t=[...A.values()],jt=[...T.values()];if(J){const kn=Te[0],qn=new Map(kn);kn.set("offset",0),qn.set("offset",1),Te=[kn,qn]}return ir(this.element,Te,_t,jt,this.duration,this.startTime,this.easing,!1)}}class ja extends Ys{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(A,T,J,Te,_t,jt,kn=!1){super(A,T,jt.delay),this.keyframes=J,this.preStyleProps=Te,this.postStyleProps=_t,this._stretchStartingKeyframe=kn,this.timings={duration:jt.duration,delay:jt.delay,easing:jt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let A=this.keyframes,{delay:T,duration:J,easing:Te}=this.timings;if(this._stretchStartingKeyframe&&T){const _t=[],jt=J+T,kn=T/jt,qn=new Map(A[0]);qn.set("offset",0),_t.push(qn);const ko=new Map(A[0]);ko.set("offset",Br(kn)),_t.push(ko);const Fi=A.length-1;for(let _i=1;_i<=Fi;_i++){let fr=new Map(A[_i]);const vr=fr.get("offset");fr.set("offset",Br((T+vr*J)/jt)),_t.push(fr)}J=jt,T=0,Te="",A=_t}return ir(this.element,A,this.preStyleProps,this.postStyleProps,J,T,Te,!0)}}function Br(le,A=3){const T=Math.pow(10,A-1);return Math.round(le*T)/T}function Zi(le,A,T,J,Te,_t,jt,kn,qn,ko,Fi,_i,fr){return{type:0,element:le,triggerName:A,isRemovalTransition:Te,fromState:T,fromStyles:_t,toState:J,toStyles:jt,timelines:kn,queriedElements:qn,preStyleProps:ko,postStyleProps:Fi,totalTime:_i,errors:fr}}const ss={};class bs{_triggerName;ast;_stateStyles;constructor(A,T,J){this._triggerName=A,this.ast=T,this._stateStyles=J}match(A,T,J,Te){return function xs(le,A,T,J,Te){return le.some(_t=>_t(A,T,J,Te))}(this.ast.matchers,A,T,J,Te)}buildStyles(A,T,J){let Te=this._stateStyles.get("*");return void 0!==A&&(Te=this._stateStyles.get(A?.toString())||Te),Te?Te.buildStyles(T,J):new Map}build(A,T,J,Te,_t,jt,kn,qn,ko,Fi){const _i=[],fr=this.ast.options&&this.ast.options.params||ss,Ki=this.buildStyles(J,kn&&kn.params||ss,_i),Ri=qn&&qn.params||ss,Mr=this.buildStyles(Te,Ri,_i),ds=new Set,$r=new Map,Sr=new Map,Ls="void"===Te,ta={params:Ea(Ri,fr),delay:this.ast.options?.delay},Ns=Fi?[]:Ds(A,T,this.ast.animation,_t,jt,Ki,Mr,ta,ko,_i);let da=0;return Ns.forEach(fa=>{da=Math.max(fa.duration+fa.delay,da)}),_i.length?Zi(T,this._triggerName,J,Te,Ls,Ki,Mr,[],[],$r,Sr,da,_i):(Ns.forEach(fa=>{const Rl=fa.element,Gl=yo($r,Rl,new Set);fa.preStyleProps.forEach(el=>Gl.add(el));const Ll=yo(Sr,Rl,new Set);fa.postStyleProps.forEach(el=>Ll.add(el)),Rl!==T&&ds.add(Rl)}),Zi(T,this._triggerName,J,Te,Ls,Ki,Mr,Ns,[...ds.values()],$r,Sr,da))}}function Ea(le,A){const T={...A};return Object.entries(le).forEach(([J,Te])=>{null!=Te&&(T[J]=Te)}),T}class qr{styles;defaultParams;normalizer;constructor(A,T,J){this.styles=A,this.defaultParams=T,this.normalizer=J}buildStyles(A,T){const J=new Map,Te=Ea(A,this.defaultParams);return this.styles.styles.forEach(_t=>{"string"!=typeof _t&&_t.forEach((jt,kn)=>{jt&&(jt=He(jt,Te,T));const qn=this.normalizer.normalizePropertyName(kn,T);jt=this.normalizer.normalizeStyleValue(kn,qn,jt,T),J.set(kn,jt)})}),J}}class ra{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(A,T,J){this.name=A,this.ast=T,this._normalizer=J,T.states.forEach(Te=>{this.states.set(Te.name,new qr(Te.style,Te.options&&Te.options.params||{},J))}),ue(this.states,"true","1"),ue(this.states,"false","0"),T.transitions.forEach(Te=>{this.transitionFactories.push(new bs(A,Te,this.states))}),this.fallbackTransition=function ar(le,A){return new bs(le,{type:vi.If.Transition,animation:{type:vi.If.Sequence,steps:[],options:null},matchers:[(jt,kn)=>!0],options:null,queryCount:0,depCount:0},A)}(A,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(A,T,J,Te){return this.transitionFactories.find(jt=>jt.match(A,T,J,Te))||null}matchStyles(A,T,J){return this.fallbackTransition.buildStyles(A,T,J)}}function ue(le,A,T){le.has(A)?le.has(T)||le.set(T,le.get(A)):le.has(T)&&le.set(A,le.get(T))}const gt=new bi;class Oe{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(A,T,J){this.bodyNode=A,this._driver=T,this._normalizer=J}register(A,T){const J=[],_t=dt(this._driver,T,J,[]);if(J.length)throw function $i(){return new n.wOt(3503,!1)}();this._animations.set(A,_t)}_buildPlayer(A,T,J){const Te=A.element,_t=Yt(this._normalizer,A.keyframes,T,J);return this._driver.animate(Te,_t,A.duration,A.delay,A.easing,[],!0)}create(A,T,J={}){const Te=[],_t=this._animations.get(A);let jt;const kn=new Map;if(_t?(jt=Ds(this._driver,T,_t,m,se,new Map,new Map,J,gt,Te),jt.forEach(Fi=>{const _i=yo(kn,Fi.element,new Map);Fi.postStyleProps.forEach(fr=>_i.set(fr,null))})):(Te.push(function P(){return new n.wOt(3300,!1)}()),jt=[]),Te.length)throw function re(){return new n.wOt(3504,!1)}();kn.forEach((Fi,_i)=>{Fi.forEach((fr,vr)=>{Fi.set(vr,this._driver.computeStyle(_i,vr,vi.kp))})});const ko=Et(jt.map(Fi=>{const _i=kn.get(Fi.element);return this._buildPlayer(Fi,new Map,_i)}));return this._playersById.set(A,ko),ko.onDestroy(()=>this.destroy(A)),this.players.push(ko),ko}destroy(A){const T=this._getPlayer(A);T.destroy(),this._playersById.delete(A);const J=this.players.indexOf(T);J>=0&&this.players.splice(J,1)}_getPlayer(A){const T=this._playersById.get(A);if(!T)throw function ie(){return new n.wOt(3301,!1)}();return T}listen(A,T,J,Te){const _t=mo(T,"","","");return $n(this._getPlayer(A),J,_t,Te),()=>{}}command(A,T,J,Te){if("register"==J)return void this.register(A,Te[0]);if("create"==J)return void this.create(A,T,Te[0]||{});const _t=this._getPlayer(A);switch(J){case"play":_t.play();break;case"pause":_t.pause();break;case"reset":_t.reset();break;case"restart":_t.restart();break;case"finish":_t.finish();break;case"init":_t.init();break;case"setPosition":_t.setPosition(parseFloat(Te[0]));break;case"destroy":this.destroy(A)}}}const Ze="ng-animate-queued",Eo="ng-animate-disabled",Yr=[],Ur={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_r={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},pr="__ng_removed";class ii{namespaceId;value;options;get params(){return this.options.params}constructor(A,T=""){this.namespaceId=T;const J=A&&A.hasOwnProperty("value");if(this.value=function Hr(le){return le??null}(J?A.value:A),J){const{value:_t,...jt}=A;this.options=jt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(A){const T=A.params;if(T){const J=this.options.params;Object.keys(T).forEach(Te=>{null==J[Te]&&(J[Te]=T[Te])})}}}const Ar="void",Ss=new ii(Ar);class Qr{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(A,T,J){this.id=A,this.hostElement=T,this._engine=J,this._hostClassName="ng-tns-"+A,Ts(T,this._hostClassName)}listen(A,T,J,Te){if(!this._triggers.has(T))throw function B(){return new n.wOt(3302,!1)}();if(null==J||0==J.length)throw function ne(){return new n.wOt(3303,!1)}();if(!function Ta(le){return"start"==le||"done"==le}(J))throw function de(){return new n.wOt(3400,!1)}();const _t=yo(this._elementListeners,A,[]),jt={name:T,phase:J,callback:Te};_t.push(jt);const kn=yo(this._engine.statesByElement,A,new Map);return kn.has(T)||(Ts(A,te),Ts(A,te+"-"+T),kn.set(T,Ss)),()=>{this._engine.afterFlush(()=>{const qn=_t.indexOf(jt);qn>=0&&_t.splice(qn,1),this._triggers.has(T)||kn.delete(T)})}}register(A,T){return!this._triggers.has(A)&&(this._triggers.set(A,T),!0)}_getTrigger(A){const T=this._triggers.get(A);if(!T)throw function Ce(){return new n.wOt(3401,!1)}();return T}trigger(A,T,J,Te=!0){const _t=this._getTrigger(T),jt=new Vs(this.id,T,A);let kn=this._engine.statesByElement.get(A);kn||(Ts(A,te),Ts(A,te+"-"+T),this._engine.statesByElement.set(A,kn=new Map));let qn=kn.get(T);const ko=new ii(J,this.id);if(!(J&&J.hasOwnProperty("value"))&&qn&&ko.absorbOptions(qn.options),kn.set(T,ko),qn||(qn=Ss),ko.value!==Ar&&qn.value===ko.value){if(!function Xa(le,A){const T=Object.keys(le),J=Object.keys(A);if(T.length!=J.length)return!1;for(let Te=0;Te{Jt(A,Mr),Gt(A,ds)})}return}const fr=yo(this._engine.playersByElement,A,[]);fr.forEach(Ri=>{Ri.namespaceId==this.id&&Ri.triggerName==T&&Ri.queued&&Ri.destroy()});let vr=_t.matchTransition(qn.value,ko.value,A,ko.params),Ki=!1;if(!vr){if(!Te)return;vr=_t.fallbackTransition,Ki=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:A,triggerName:T,transition:vr,fromState:qn,toState:ko,player:jt,isFallbackTransition:Ki}),Ki||(Ts(A,Ze),jt.onStart(()=>{va(A,Ze)})),jt.onDone(()=>{let Ri=this.players.indexOf(jt);Ri>=0&&this.players.splice(Ri,1);const Mr=this._engine.playersByElement.get(A);if(Mr){let ds=Mr.indexOf(jt);ds>=0&&Mr.splice(ds,1)}}),this.players.push(jt),fr.push(jt),jt}deregister(A){this._triggers.delete(A),this._engine.statesByElement.forEach(T=>T.delete(A)),this._elementListeners.forEach((T,J)=>{this._elementListeners.set(J,T.filter(Te=>Te.name!=A))})}clearElementCache(A){this._engine.statesByElement.delete(A),this._elementListeners.delete(A);const T=this._engine.playersByElement.get(A);T&&(T.forEach(J=>J.destroy()),this._engine.playersByElement.delete(A))}_signalRemovalForInnerTriggers(A,T){const J=this._engine.driver.query(A,ge,!0);J.forEach(Te=>{if(Te[pr])return;const _t=this._engine.fetchNamespacesByElement(Te);_t.size?_t.forEach(jt=>jt.triggerLeaveAnimation(Te,T,!1,!0)):this.clearElementCache(Te)}),this._engine.afterFlushAnimationsDone(()=>J.forEach(Te=>this.clearElementCache(Te)))}triggerLeaveAnimation(A,T,J,Te){const _t=this._engine.statesByElement.get(A),jt=new Map;if(_t){const kn=[];if(_t.forEach((qn,ko)=>{if(jt.set(ko,qn.value),this._triggers.has(ko)){const Fi=this.trigger(A,ko,Ar,Te);Fi&&kn.push(Fi)}}),kn.length)return this._engine.markElementAsRemoved(this.id,A,!0,T,jt),J&&Et(kn).onDone(()=>this._engine.processLeaveNode(A)),!0}return!1}prepareLeaveAnimationListeners(A){const T=this._elementListeners.get(A),J=this._engine.statesByElement.get(A);if(T&&J){const Te=new Set;T.forEach(_t=>{const jt=_t.name;if(Te.has(jt))return;Te.add(jt);const qn=this._triggers.get(jt).fallbackTransition,ko=J.get(jt)||Ss,Fi=new ii(Ar),_i=new Vs(this.id,jt,A);this._engine.totalQueuedPlayers++,this._queue.push({element:A,triggerName:jt,transition:qn,fromState:ko,toState:Fi,player:_i,isFallbackTransition:!0})})}}removeNode(A,T){const J=this._engine;if(A.childElementCount&&this._signalRemovalForInnerTriggers(A,T),this.triggerLeaveAnimation(A,T,!0))return;let Te=!1;if(J.totalAnimations){const _t=J.players.length?J.playersByQueriedElement.get(A):[];if(_t&&_t.length)Te=!0;else{let jt=A;for(;jt=jt.parentNode;)if(J.statesByElement.get(jt)){Te=!0;break}}}if(this.prepareLeaveAnimationListeners(A),Te)J.markElementAsRemoved(this.id,A,!1,T);else{const _t=A[pr];(!_t||_t===Ur)&&(J.afterFlush(()=>this.clearElementCache(A)),J.destroyInnerAnimations(A),J._onRemovalComplete(A,T))}}insertNode(A,T){Ts(A,this._hostClassName)}drainQueuedTransitions(A){const T=[];return this._queue.forEach(J=>{const Te=J.player;if(Te.destroyed)return;const _t=J.element,jt=this._elementListeners.get(_t);jt&&jt.forEach(kn=>{if(kn.name==J.triggerName){const qn=mo(_t,J.triggerName,J.fromState.value,J.toState.value);qn._data=A,$n(J.player,kn.phase,qn,kn.callback)}}),Te.markedForDestroy?this._engine.afterFlush(()=>{Te.destroy()}):T.push(J)}),this._queue=[],T.sort((J,Te)=>{const _t=J.transition.ast.depCount,jt=Te.transition.ast.depCount;return 0==_t||0==jt?_t-jt:this._engine.driver.containsElement(J.element,Te.element)?1:-1})}destroy(A){this.players.forEach(T=>T.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,A)}}class la{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(A,T)=>{};_onRemovalComplete(A,T){this.onRemovalComplete(A,T)}constructor(A,T,J){this.bodyNode=A,this.driver=T,this._normalizer=J}get queuedPlayers(){const A=[];return this._namespaceList.forEach(T=>{T.players.forEach(J=>{J.queued&&A.push(J)})}),A}createNamespace(A,T){const J=new Qr(A,T,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,T)?this._balanceNamespaceList(J,T):(this.newHostElements.set(T,J),this.collectEnterElement(T)),this._namespaceLookup[A]=J}_balanceNamespaceList(A,T){const J=this._namespaceList,Te=this.namespacesByHostElement;if(J.length-1>=0){let jt=!1,kn=this.driver.getParentElement(T);for(;kn;){const qn=Te.get(kn);if(qn){const ko=J.indexOf(qn);J.splice(ko+1,0,A),jt=!0;break}kn=this.driver.getParentElement(kn)}jt||J.unshift(A)}else J.push(A);return Te.set(T,A),A}register(A,T){let J=this._namespaceLookup[A];return J||(J=this.createNamespace(A,T)),J}registerTrigger(A,T,J){let Te=this._namespaceLookup[A];Te&&Te.register(T,J)&&this.totalAnimations++}destroy(A,T){A&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const J=this._fetchNamespace(A);this.namespacesByHostElement.delete(J.hostElement);const Te=this._namespaceList.indexOf(J);Te>=0&&this._namespaceList.splice(Te,1),J.destroy(T),delete this._namespaceLookup[A]}))}_fetchNamespace(A){return this._namespaceLookup[A]}fetchNamespacesByElement(A){const T=new Set,J=this.statesByElement.get(A);if(J)for(let Te of J.values())if(Te.namespaceId){const _t=this._fetchNamespace(Te.namespaceId);_t&&T.add(_t)}return T}trigger(A,T,J,Te){if(os(T)){const _t=this._fetchNamespace(A);if(_t)return _t.trigger(T,J,Te),!0}return!1}insertNode(A,T,J,Te){if(!os(T))return;const _t=T[pr];if(_t&&_t.setForRemoval){_t.setForRemoval=!1,_t.setForMove=!0;const jt=this.collectedLeaveElements.indexOf(T);jt>=0&&this.collectedLeaveElements.splice(jt,1)}if(A){const jt=this._fetchNamespace(A);jt&&jt.insertNode(T,J)}Te&&this.collectEnterElement(T)}collectEnterElement(A){this.collectedEnterElements.push(A)}markElementAsDisabled(A,T){T?this.disabledNodes.has(A)||(this.disabledNodes.add(A),Ts(A,Eo)):this.disabledNodes.has(A)&&(this.disabledNodes.delete(A),va(A,Eo))}removeNode(A,T,J){if(os(T)){const Te=A?this._fetchNamespace(A):null;Te?Te.removeNode(T,J):this.markElementAsRemoved(A,T,!1,J);const _t=this.namespacesByHostElement.get(T);_t&&_t.id!==A&&_t.removeNode(T,J)}else this._onRemovalComplete(T,J)}markElementAsRemoved(A,T,J,Te,_t){this.collectedLeaveElements.push(T),T[pr]={namespaceId:A,setForRemoval:Te,hasAnimation:J,removedBeforeQueried:!1,previousTriggersValues:_t}}listen(A,T,J,Te,_t){return os(T)?this._fetchNamespace(A).listen(T,J,Te,_t):()=>{}}_buildInstruction(A,T,J,Te,_t){return A.transition.build(this.driver,A.element,A.fromState.value,A.toState.value,J,Te,A.fromState.options,A.toState.options,T,_t)}destroyInnerAnimations(A){let T=this.driver.query(A,ge,!0);T.forEach(J=>this.destroyActiveAnimationsForElement(J)),0!=this.playersByQueriedElement.size&&(T=this.driver.query(A,Re,!0),T.forEach(J=>this.finishActiveQueriedAnimationOnElement(J)))}destroyActiveAnimationsForElement(A){const T=this.playersByElement.get(A);T&&T.forEach(J=>{J.queued?J.markedForDestroy=!0:J.destroy()})}finishActiveQueriedAnimationOnElement(A){const T=this.playersByQueriedElement.get(A);T&&T.forEach(J=>J.finish())}whenRenderingDone(){return new Promise(A=>{if(this.players.length)return Et(this.players).onDone(()=>A());A()})}processLeaveNode(A){const T=A[pr];if(T&&T.setForRemoval){if(A[pr]=Ur,T.namespaceId){this.destroyInnerAnimations(A);const J=this._fetchNamespace(T.namespaceId);J&&J.clearElementCache(A)}this._onRemovalComplete(A,T.setForRemoval)}A.classList?.contains(Eo)&&this.markElementAsDisabled(A,!1),this.driver.query(A,".ng-animate-disabled",!0).forEach(J=>{this.markElementAsDisabled(J,!1)})}flush(A=-1){let T=[];if(this.newHostElements.size&&(this.newHostElements.forEach((J,Te)=>this._balanceNamespaceList(J,Te)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let J=0;JJ()),this._flushFns=[],this._whenQuietFns.length){const J=this._whenQuietFns;this._whenQuietFns=[],T.length?Et(T).onDone(()=>{J.forEach(Te=>Te())}):J.forEach(Te=>Te())}}reportError(A){throw function Ke(){return new n.wOt(3402,!1)}()}_flushAnimations(A,T){const J=new bi,Te=[],_t=new Map,jt=[],kn=new Map,qn=new Map,ko=new Map,Fi=new Set;this.disabledNodes.forEach(nr=>{Fi.add(nr);const br=this.driver.query(nr,".ng-animate-queued",!0);for(let Er=0;Er{const Er=m+Ri++;Ki.set(br,Er),nr.forEach(us=>Ts(us,Er))});const Mr=[],ds=new Set,$r=new Set;for(let nr=0;nrds.add(us)):$r.add(br))}const Sr=new Map,Ls=ca(fr,Array.from(ds));Ls.forEach((nr,br)=>{const Er=se+Ri++;Sr.set(br,Er),nr.forEach(us=>Ts(us,Er))}),A.push(()=>{vr.forEach((nr,br)=>{const Er=Ki.get(br);nr.forEach(us=>va(us,Er))}),Ls.forEach((nr,br)=>{const Er=Sr.get(br);nr.forEach(us=>va(us,Er))}),Mr.forEach(nr=>{this.processLeaveNode(nr)})});const ta=[],Ns=[];for(let nr=this._namespaceList.length-1;nr>=0;nr--)this._namespaceList[nr].drainQueuedTransitions(T).forEach(Er=>{const us=Er.player,ua=Er.element;if(ta.push(us),this.collectedEnterElements.length){const _a=ua[pr];if(_a&&_a.setForMove){if(_a.previousTriggersValues&&_a.previousTriggersValues.has(Er.triggerName)){const Tl=_a.previousTriggersValues.get(Er.triggerName),Ga=this.statesByElement.get(Er.element);if(Ga&&Ga.has(Er.triggerName)){const kc=Ga.get(Er.triggerName);kc.value=Tl,Ga.set(Er.triggerName,kc)}}return void us.destroy()}}const tl=!_i||!this.driver.containsElement(_i,ua),wa=Sr.get(ua),Cl=Ki.get(ua),es=this._buildInstruction(Er,J,Cl,wa,tl);if(es.errors&&es.errors.length)return void Ns.push(es);if(tl)return us.onStart(()=>Jt(ua,es.fromStyles)),us.onDestroy(()=>Gt(ua,es.toStyles)),void Te.push(us);if(Er.isFallbackTransition)return us.onStart(()=>Jt(ua,es.fromStyles)),us.onDestroy(()=>Gt(ua,es.toStyles)),void Te.push(us);const El=[];es.timelines.forEach(_a=>{_a.stretchStartingKeyframe=!0,this.disabledNodes.has(_a.element)||El.push(_a)}),es.timelines=El,J.append(ua,es.timelines),jt.push({instruction:es,player:us,element:ua}),es.queriedElements.forEach(_a=>yo(kn,_a,[]).push(us)),es.preStyleProps.forEach((_a,Tl)=>{if(_a.size){let Ga=qn.get(Tl);Ga||qn.set(Tl,Ga=new Set),_a.forEach((kc,oc)=>Ga.add(oc))}}),es.postStyleProps.forEach((_a,Tl)=>{let Ga=ko.get(Tl);Ga||ko.set(Tl,Ga=new Set),_a.forEach((kc,oc)=>Ga.add(oc))})});if(Ns.length){const nr=[];Ns.forEach(br=>{nr.push(function rt(){return new n.wOt(3505,!1)}())}),ta.forEach(br=>br.destroy()),this.reportError(nr)}const da=new Map,fa=new Map;jt.forEach(nr=>{const br=nr.element;J.has(br)&&(fa.set(br,br),this._beforeAnimationBuild(nr.player.namespaceId,nr.instruction,da))}),Te.forEach(nr=>{const br=nr.element;this._getPreviousPlayers(br,!1,nr.namespaceId,nr.triggerName,null).forEach(us=>{yo(da,br,[]).push(us),us.destroy()})});const Rl=Mr.filter(nr=>ka(nr,qn,ko)),Gl=new Map;rl(Gl,this.driver,$r,ko,vi.kp).forEach(nr=>{ka(nr,qn,ko)&&Rl.push(nr)});const el=new Map;vr.forEach((nr,br)=>{rl(el,this.driver,new Set(nr),qn,vi.FX)}),Rl.forEach(nr=>{const br=Gl.get(nr),Er=el.get(nr);Gl.set(nr,new Map([...br?.entries()??[],...Er?.entries()??[]]))});const Ol=[],pl=[],vc={};jt.forEach(nr=>{const{element:br,player:Er,instruction:us}=nr;if(J.has(br)){if(Fi.has(br))return Er.onDestroy(()=>Gt(br,us.toStyles)),Er.disabled=!0,Er.overrideTotalTime(us.totalTime),void Te.push(Er);let ua=vc;if(fa.size>1){let wa=br;const Cl=[];for(;wa=wa.parentNode;){const es=fa.get(wa);if(es){ua=es;break}Cl.push(wa)}Cl.forEach(es=>fa.set(es,ua))}const tl=this._buildAnimation(Er.namespaceId,us,da,_t,el,Gl);if(Er.setRealPlayer(tl),ua===vc)Ol.push(Er);else{const wa=this.playersByElement.get(ua);wa&&wa.length&&(Er.parentPlayer=Et(wa)),Te.push(Er)}}else Jt(br,us.fromStyles),Er.onDestroy(()=>Gt(br,us.toStyles)),pl.push(Er),Fi.has(br)&&Te.push(Er)}),pl.forEach(nr=>{const br=_t.get(nr.element);if(br&&br.length){const Er=Et(br);nr.setRealPlayer(Er)}}),Te.forEach(nr=>{nr.parentPlayer?nr.syncPlayerEvents(nr.parentPlayer):nr.destroy()});for(let nr=0;nr!tl.destroyed);ua.length?Pa(this,br,ua):this.processLeaveNode(br)}return Mr.length=0,Ol.forEach(nr=>{this.players.push(nr),nr.onDone(()=>{nr.destroy();const br=this.players.indexOf(nr);this.players.splice(br,1)}),nr.play()}),Ol}afterFlush(A){this._flushFns.push(A)}afterFlushAnimationsDone(A){this._whenQuietFns.push(A)}_getPreviousPlayers(A,T,J,Te,_t){let jt=[];if(T){const kn=this.playersByQueriedElement.get(A);kn&&(jt=kn)}else{const kn=this.playersByElement.get(A);if(kn){const qn=!_t||_t==Ar;kn.forEach(ko=>{ko.queued||!qn&&ko.triggerName!=Te||jt.push(ko)})}}return(J||Te)&&(jt=jt.filter(kn=>!(J&&J!=kn.namespaceId||Te&&Te!=kn.triggerName))),jt}_beforeAnimationBuild(A,T,J){const _t=T.element,jt=T.isRemovalTransition?void 0:A,kn=T.isRemovalTransition?void 0:T.triggerName;for(const qn of T.timelines){const ko=qn.element,Fi=ko!==_t,_i=yo(J,ko,[]);this._getPreviousPlayers(ko,Fi,jt,kn,T.toState).forEach(vr=>{const Ki=vr.getRealPlayer();Ki.beforeDestroy&&Ki.beforeDestroy(),vr.destroy(),_i.push(vr)})}Jt(_t,T.fromStyles)}_buildAnimation(A,T,J,Te,_t,jt){const kn=T.triggerName,qn=T.element,ko=[],Fi=new Set,_i=new Set,fr=T.timelines.map(Ki=>{const Ri=Ki.element;Fi.add(Ri);const Mr=Ri[pr];if(Mr&&Mr.removedBeforeQueried)return new vi.sf(Ki.duration,Ki.delay);const ds=Ri!==qn,$r=function ma(le){const A=[];return ea(le,A),A}((J.get(Ri)||Yr).map(da=>da.getRealPlayer())).filter(da=>!!da.element&&da.element===Ri),Sr=_t.get(Ri),Ls=jt.get(Ri),ta=Yt(this._normalizer,Ki.keyframes,Sr,Ls),Ns=this._buildPlayer(Ki,ta,$r);if(Ki.subTimeline&&Te&&_i.add(Ri),ds){const da=new Vs(A,kn,Ri);da.setRealPlayer(Ns),ko.push(da)}return Ns});ko.forEach(Ki=>{yo(this.playersByQueriedElement,Ki.element,[]).push(Ki),Ki.onDone(()=>function ns(le,A,T){let J=le.get(A);if(J){if(J.length){const Te=J.indexOf(T);J.splice(Te,1)}0==J.length&&le.delete(A)}return J}(this.playersByQueriedElement,Ki.element,Ki))}),Fi.forEach(Ki=>Ts(Ki,Be));const vr=Et(fr);return vr.onDestroy(()=>{Fi.forEach(Ki=>va(Ki,Be)),Gt(qn,T.toStyles)}),_i.forEach(Ki=>{yo(Te,Ki,[]).push(vr)}),vr}_buildPlayer(A,T,J){return T.length>0?this.driver.animate(A.element,T,A.duration,A.delay,A.easing,J):new vi.sf(A.duration,A.delay)}}class Vs{namespaceId;triggerName;element;_player=new vi.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(A,T,J){this.namespaceId=A,this.triggerName=T,this.element=J}setRealPlayer(A){this._containsRealPlayer||(this._player=A,this._queuedCallbacks.forEach((T,J)=>{T.forEach(Te=>$n(A,J,void 0,Te))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(A.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(A){this.totalTime=A}syncPlayerEvents(A){const T=this._player;T.triggerCallback&&A.onStart(()=>T.triggerCallback("start")),A.onDone(()=>this.finish()),A.onDestroy(()=>this.destroy())}_queueEvent(A,T){yo(this._queuedCallbacks,A,[]).push(T)}onDone(A){this.queued&&this._queueEvent("done",A),this._player.onDone(A)}onStart(A){this.queued&&this._queueEvent("start",A),this._player.onStart(A)}onDestroy(A){this.queued&&this._queueEvent("destroy",A),this._player.onDestroy(A)}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(A){this.queued||this._player.setPosition(A)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(A){const T=this._player;T.triggerCallback&&T.triggerCallback(A)}}function os(le){return le&&1===le.nodeType}function Xs(le,A){const T=le.style.display;return le.style.display=A??"none",T}function rl(le,A,T,J,Te){const _t=[];T.forEach(qn=>_t.push(Xs(qn)));const jt=[];J.forEach((qn,ko)=>{const Fi=new Map;qn.forEach(_i=>{const fr=A.computeStyle(ko,_i,Te);Fi.set(_i,fr),(!fr||0==fr.length)&&(ko[pr]=_r,jt.push(ko))}),le.set(ko,Fi)});let kn=0;return T.forEach(qn=>Xs(qn,_t[kn++])),jt}function ca(le,A){const T=new Map;if(le.forEach(kn=>T.set(kn,[])),0==A.length)return T;const Te=new Set(A),_t=new Map;function jt(kn){if(!kn)return 1;let qn=_t.get(kn);if(qn)return qn;const ko=kn.parentNode;return qn=T.has(ko)?ko:Te.has(ko)?1:jt(ko),_t.set(kn,qn),qn}return A.forEach(kn=>{const qn=jt(kn);1!==qn&&T.get(qn).push(kn)}),T}function Ts(le,A){le.classList?.add(A)}function va(le,A){le.classList?.remove(A)}function Pa(le,A,T){Et(T).onDone(()=>le.processLeaveNode(A))}function ea(le,A){for(let T=0;TTe.add(_t)):A.set(le,J),T.delete(le),!0}class Js{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(A,T)=>{};constructor(A,T,J){this._driver=T,this._normalizer=J,this._transitionEngine=new la(A.body,T,J),this._timelineEngine=new Oe(A.body,T,J),this._transitionEngine.onRemovalComplete=(Te,_t)=>this.onRemovalComplete(Te,_t)}registerTrigger(A,T,J,Te,_t){const jt=A+"-"+Te;let kn=this._triggerCache[jt];if(!kn){const qn=[],Fi=dt(this._driver,_t,qn,[]);if(qn.length)throw function ti(){return new n.wOt(3404,!1)}();kn=function ms(le,A,T){return new ra(le,A,T)}(Te,Fi,this._normalizer),this._triggerCache[jt]=kn}this._transitionEngine.registerTrigger(T,Te,kn)}register(A,T){this._transitionEngine.register(A,T)}destroy(A,T){this._transitionEngine.destroy(A,T)}onInsert(A,T,J,Te){this._transitionEngine.insertNode(A,T,J,Te)}onRemove(A,T,J){this._transitionEngine.removeNode(A,T,J)}disableAnimations(A,T){this._transitionEngine.markElementAsDisabled(A,T)}process(A,T,J,Te){if("@"==J.charAt(0)){const[_t,jt]=Xo(J);this._timelineEngine.command(_t,T,jt,Te)}else this._transitionEngine.trigger(A,T,J,Te)}listen(A,T,J,Te,_t){if("@"==J.charAt(0)){const[jt,kn]=Xo(J);return this._timelineEngine.listen(jt,T,kn,_t)}return this._transitionEngine.listen(A,T,J,Te,_t)}flush(A=-1){this._transitionEngine.flush(A)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(A){this._transitionEngine.afterFlushAnimationsDone(A)}}let dl=(()=>{class le{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(T,J,Te){this._element=T,this._startStyles=J,this._endStyles=Te;let _t=le.initialStylesByElement.get(T);_t||le.initialStylesByElement.set(T,_t=new Map),this._initialStyles=_t}start(){this._state<1&&(this._startStyles&&Gt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gt(this._element,this._initialStyles),this._endStyles&&(Gt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(le.initialStylesByElement.delete(this._element),this._startStyles&&(Jt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jt(this._element,this._endStyles),this._endStyles=null),Gt(this._element,this._initialStyles),this._state=3)}}return le})();function Va(le){let A=null;return le.forEach((T,J)=>{(function yl(le){return"display"===le||"position"===le})(J)&&(A=A||new Map,A.set(J,T))}),A}class Dl{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(A,T,J,Te){this.element=A,this.keyframes=T,this.options=J,this._specialStyles=Te,this._duration=J.duration,this._delay=J.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(A=>A()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const A=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,A,this.options),this._finalKeyframe=A.length?A[A.length-1]:new Map;const T=()=>this._onFinish();this.domPlayer.addEventListener("finish",T),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",T)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(A){const T=[];return A.forEach(J=>{T.push(Object.fromEntries(J))}),T}_triggerWebAnimation(A,T,J){return A.animate(this._convertKeyframesToObject(T),J)}onStart(A){this._originalOnStartFns.push(A),this._onStartFns.push(A)}onDone(A){this._originalOnDoneFns.push(A),this._onDoneFns.push(A)}onDestroy(A){this._onDestroyFns.push(A)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(A=>A()),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(A=>A()),this._onDestroyFns=[])}setPosition(A){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=A*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const A=new Map;this.hasStarted()&&this._finalKeyframe.forEach((J,Te)=>{"offset"!==Te&&A.set(Te,this._finished?J:ve(this.element,Te))}),this.currentSnapshot=A}triggerCallback(A){const T="start"===A?this._onStartFns:this._onDoneFns;T.forEach(J=>J()),T.length=0}}class sl{validateStyleProperty(A){return!0}validateAnimatableStyleProperty(A){return!0}containsElement(A,T){return li(A,T)}getParentElement(A){return Oi(A)}query(A,T,J){return Mi(A,T,J)}computeStyle(A,T,J){return ve(A,T)}animate(A,T,J,Te,_t,jt=[]){const qn={duration:J,delay:Te,fill:0==Te?"both":"forwards"};_t&&(qn.easing=_t);const ko=new Map,Fi=jt.filter(vr=>vr instanceof Dl);(function on(le,A){return 0===le||0===A})(J,Te)&&Fi.forEach(vr=>{vr.currentSnapshot.forEach((Ki,Ri)=>ko.set(Ri,Ki))});let _i=function ht(le){return le.length?le[0]instanceof Map?le:le.map(A=>new Map(Object.entries(A))):[]}(T).map(vr=>new Map(vr));_i=function Mn(le,A,T){if(T.size&&A.length){let J=A[0],Te=[];if(T.forEach((_t,jt)=>{J.has(jt)||Te.push(jt),J.set(jt,_t)}),Te.length)for(let _t=1;_tjt.set(kn,ve(le,kn)))}}return A}(A,_i,ko);const fr=function Fl(le,A){let T=null,J=null;return Array.isArray(A)&&A.length?(T=Va(A[0]),A.length>1&&(J=Va(A[A.length-1]))):A instanceof Map&&(T=Va(A)),T||J?new dl(le,T,J):null}(A,_i);return new Dl(A,_i,qn,fr)}}const hl="@.disabled";class Wa{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(A,T,J,Te){this.namespaceId=A,this.delegate=T,this.engine=J,this._onDestroy=Te}get data(){return this.delegate.data}destroyNode(A){this.delegate.destroyNode?.(A)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(A,T){return this.delegate.createElement(A,T)}createComment(A){return this.delegate.createComment(A)}createText(A){return this.delegate.createText(A)}appendChild(A,T){this.delegate.appendChild(A,T),this.engine.onInsert(this.namespaceId,T,A,!1)}insertBefore(A,T,J,Te=!0){this.delegate.insertBefore(A,T,J),this.engine.onInsert(this.namespaceId,T,A,Te)}removeChild(A,T,J){this.parentNode(T)&&this.engine.onRemove(this.namespaceId,T,this.delegate)}selectRootElement(A,T){return this.delegate.selectRootElement(A,T)}parentNode(A){return this.delegate.parentNode(A)}nextSibling(A){return this.delegate.nextSibling(A)}setAttribute(A,T,J,Te){this.delegate.setAttribute(A,T,J,Te)}removeAttribute(A,T,J){this.delegate.removeAttribute(A,T,J)}addClass(A,T){this.delegate.addClass(A,T)}removeClass(A,T){this.delegate.removeClass(A,T)}setStyle(A,T,J,Te){this.delegate.setStyle(A,T,J,Te)}removeStyle(A,T,J){this.delegate.removeStyle(A,T,J)}setProperty(A,T,J){"@"==T.charAt(0)&&T==hl?this.disableAnimations(A,!!J):this.delegate.setProperty(A,T,J)}setValue(A,T){this.delegate.setValue(A,T)}listen(A,T,J,Te){return this.delegate.listen(A,T,J,Te)}disableAnimations(A,T){this.engine.disableAnimations(A,T)}}class Ha extends Wa{factory;constructor(A,T,J,Te,_t){super(T,J,Te,_t),this.factory=A,this.namespaceId=T}setProperty(A,T,J){"@"==T.charAt(0)?"."==T.charAt(1)&&T==hl?this.disableAnimations(A,J=void 0===J||!!J):this.engine.process(this.namespaceId,A,T.slice(1),J):this.delegate.setProperty(A,T,J)}listen(A,T,J,Te){if("@"==T.charAt(0)){const _t=function kl(le){switch(le){case"body":return document.body;case"document":return document;case"window":return window;default:return le}}(A);let jt=T.slice(1),kn="";return"@"!=jt.charAt(0)&&([jt,kn]=function O(le){const A=le.indexOf(".");return[le.substring(0,A),le.slice(A+1)]}(jt)),this.engine.listen(this.namespaceId,_t,jt,kn,qn=>{this.factory.scheduleListenerCallback(qn._data||-1,J,qn)})}return this.delegate.listen(A,T,J,Te)}}class b{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(A,T,J){this.delegate=A,this.engine=T,this._zone=J,T.onRemovalComplete=(Te,_t)=>{_t?.removeChild(null,Te)}}createRenderer(A,T){const Te=this.delegate.createRenderer(A,T);if(!A||!T?.data?.animation){const ko=this._rendererCache;let Fi=ko.get(Te);return Fi||(Fi=new Wa("",Te,this.engine,()=>ko.delete(Te)),ko.set(Te,Fi)),Fi}const _t=T.id,jt=T.id+"-"+this._currentId;this._currentId++,this.engine.register(jt,A);const kn=ko=>{Array.isArray(ko)?ko.forEach(kn):this.engine.registerTrigger(_t,jt,A,ko.name,ko)};return T.data.animation.forEach(kn),new Ha(this,jt,Te,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(A,T,J){if(A>=0&&AT(J));const Te=this._animationCallbacksBuffer;0==Te.length&&queueMicrotask(()=>{this._zone.run(()=>{Te.forEach(_t=>{const[jt,kn]=_t;jt(kn)}),this._animationCallbacksBuffer=[]})}),Te.push([T,J])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(A){this.engine.flush(),this.delegate.componentReplaced?.(A)}}const S=[{provide:Nr,useFactory:function k(){return new Y}},{provide:Js,useClass:(()=>{class le extends Js{constructor(T,J,Te){super(T,J,Te)}ngOnDestroy(){this.flush()}static \u0275fac=function(J){return new(J||le)(n.KVO(i.qQ),n.KVO(Ii),n.KVO(Nr))};static \u0275prov=n.jDH({token:le,factory:le.\u0275fac})}return le})()},{provide:n._9s,useFactory:function E(le,A,T){return new b(le,A,T)},deps:[ps.B7,Js,n.SKi]}],$=[{provide:Ii,useFactory:()=>new sl},{provide:n.bc$,useValue:"BrowserAnimations"},...S];var yn=l(84341),An=l(3271),Wn=l(35043),Kn=l(47868),Io=l(19539);let Fo=(()=>{class le{constructor(){this.title="Kirby design system"}static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-root"]],decls:1,vars:0,template:function(J,Te){1&J&&n.nrm(0,"router-outlet")},dependencies:[Io.J,Kn.n3],encapsulation:2})}return le})(),U=(()=>{class le{static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-accessibility-guidelines"]],decls:178,vars:0,consts:[["target","_blank","href","https://assets.deepsource.io/032e723/images/blog/cost-of-fixing-bugs/chart.jpg"],["target","_blank","href","https://uxdesign.cc/the-unseen-benefits-of-accessibility-ef259202b638"],["target","_blank","href","https://webaim.org/articles/seizure/"],["target","_blank","href","https://web.dev/prefers-reduced-motion/"],["target","_blank","href","https://github.com/kirbydesign/designsystem/issues/new/choose"],["href","https://github.com/kirbydesign/designsystem/discussions/1898","target","_blank"],["href","https://a11y.coffee","target","_blank"],["target","_blank","href","https://a11y.coffee/a11y-testing-making-coffee/"],["target","_blank","href","https://a11y.coffee/quick-wins/"],["target","_blank","href","https://www.w3.org/WAI/standards-guidelines/wcag/"],["href","https://www.w3.org/TR/WCAG21/","target","_blank"],["target","_blank","href","https://a11y.coffee/start-testing/"],["target","_blank","href","https://jerryjones.dev/2020/04/20/the-importance-of-html/"],["target","_blank","href","https://gomakethings.com/when-should-you-use-aria/"],["target","blank","href","https://a11y.coffee/dig-in/"],["target","blank","href","https://webaim.org/articles/"],["target","blank","href","https://webaim.org/intro/"],["target","blank","href","https://webaim.org/articles/implementation/"],["target","blank","href","https://www.a11yproject.com/checklist/"],["target","blank","href","https://www.w3.org/WAI/standards-guidelines/wcag/"],["target","blank","href","https://www.a11yproject.com/resources/"]],template:function(J,Te){1&J&&(n.j41(0,"article")(1,"h1"),n.EFF(2,"Accessibility in Kirby"),n.k0s(),n.j41(3,"h2"),n.EFF(4,"Can Kirby make an application accessible?"),n.k0s(),n.j41(5,"p"),n.EFF(6,"The short answer is no."),n.k0s(),n.j41(7,"p"),n.EFF(8," The accessibility of an application largely depends on its markup. In other words, it depends on how the components in Kirby are used. The role of the components is to allow for developers to make their applications accessible; they should not be in the way. "),n.k0s(),n.j41(9,"p"),n.EFF(10," This means the developer has a lot of responsibility to ensure their application is accessible. All of this might be frustrating news for those new to accessibility; where to begin? "),n.k0s(),n.j41(11,"p"),n.EFF(12," Besides, accessibility is hard. There is a lot to consider when thinking about the accessibility of an application as can be seen in the following sections. But "),n.j41(13,"a",0),n.EFF(14," as with fixing a bug "),n.k0s(),n.EFF(15," , it is easier to consider accessibility from the start; the further in an applications lifecycle it is improved, the more expensive and harder it is to do. "),n.k0s(),n.j41(16,"p"),n.EFF(17," We in team Kirby believe it is the job of a responsible frontend developer to prioritize and care about accessibility. See it as an opportunity to learn more about the web technologies you are building with every day and "),n.j41(18,"a",1),n.EFF(19," exploring new ways of improving your product for everyone "),n.k0s(),n.EFF(20," . "),n.k0s(),n.j41(21,"p"),n.EFF(22,"So where do you begin? Our suggestion is to read on!"),n.k0s(),n.j41(23,"h3"),n.EFF(24,"Mindset - what is accessibility?"),n.k0s(),n.j41(25,"p"),n.EFF(26," In an attempt to make it easier to get started with accessibility, the following section details our mindset towards accessibility and how we think about it in Team Kirby. "),n.k0s(),n.j41(27,"h4"),n.EFF(28,"Accessibility is not a feature"),n.k0s(),n.j41(29,"p"),n.EFF(30,"Accessibility is not something that is tagged onto an application like a feature."),n.k0s(),n.j41(31,"p")(32,"strong"),n.EFF(33,"All"),n.k0s(),n.EFF(34," applications have some degree of accessibility, whether it is considered or not. If it is not actively prioritized, the accessibility of an application is most likely poor. It is similar to the quality of a codebase; simply by existing it has some degree of quality. Not prioritizing it might have consequences in the long run, such as the codebase being hard to modify. Analogously not prioritizing accessibility might make an application impossible to use for people with various disabilities. "),n.k0s(),n.j41(35,"p"),n.EFF(36," Then how can it be improved? Beginning applying ARIA tags and using automated tests such as Lighthouse, might spring to mind. This is definitely better than nothing. However accessibility is more than that. "),n.k0s(),n.j41(37,"h4"),n.EFF(38,"A whole different UX"),n.k0s(),n.j41(39,"p"),n.EFF(40," The markup might be correct and all the correct ARIA tags can be utilized. But if for example an application relies on color to convey important information, that will be lost on someone who is color blind, unless it is supplemented in other ways. This is not something that can be caught by an automated test but requires context and the insight of a human. "),n.k0s(),n.j41(41,"p"),n.EFF(42,' Likewise consider someone using a screen reader to search through a list containing hundreds of records based on date. If the date text reads "Created on March 25", they will have to wait for "created on" to be read aloud for every record. If the structure was instead altered to be "March 25, created on" the important information would be read aloud first. '),n.k0s(),n.j41(43,"p"),n.EFF(44," In many ways working with accessibility is improving a whole different UX than the one people without disabilities is used to. It has its own patterns, pains and ways of being used. "),n.k0s(),n.j41(45,"h4"),n.EFF(46,"More than screen readers"),n.k0s(),n.j41(47,"p"),n.EFF(48," Many developers will be aware of the fact that their application might be accessed by users depending on screen readers. If this is the only focus in terms of accessibility, the application is mainly made more accessible for those with disabilities affecting sight. "),n.k0s(),n.j41(49,"p"),n.EFF(50," However there are a lot of disabilities to consider when improving accessibility. Someone who has trouble hearing or is deaf will need captions to understand videos. A person with motor problems will have a hard time clicking an element within a timespan. "),n.k0s(),n.j41(51,"p"),n.EFF(52," Someone with "),n.j41(53,"a",2),n.EFF(54,"vestibular or seizure"),n.k0s(),n.EFF(55," disorder would prefer that their "),n.j41(56,"a",3),n.EFF(57," preference for reduced motion "),n.k0s(),n.EFF(58," is respected. If not they might get nauseous or have an outright seizure if excessive motion such as parallax scrolling or strobelight like effects is used. "),n.k0s(),n.j41(59,"h4"),n.EFF(60,"An ego-centric argument for accessibility"),n.k0s(),n.j41(61,"p"),n.EFF(62," To conclude accessibility is many things. Various aspects of your application ranging from the markup to design are affected by it. "),n.k0s(),n.j41(63,"p"),n.EFF(64," And it might seem overwhelming... So besides helping those with disabilities to access and use the digital tools we all rely on in the 21st century; why care as a developer without any disabilities? "),n.k0s(),n.j41(65,"p"),n.EFF(66," So here is a more ego-centric argument for caring about accessibility: you will most likely be disabled to some degree in the future. Apologies if it sounds bleak. "),n.k0s(),n.j41(67,"p"),n.EFF(68," You might break your dominant arm causing you to rely on keyboard navigation. More severely you could get into a car accident paralyzing you from the neck down. Moreover your sight, motor skills and reaction time will most likely decrease as you get older. "),n.k0s(),n.j41(69,"p"),n.EFF(70," In any case would you be able to rely on the digital tools you do now in a world where developers do not consider accessibility? "),n.k0s(),n.j41(71,"h2"),n.EFF(72,"Kirby's role"),n.k0s(),n.j41(73,"p"),n.EFF(74," As mentioned the accessibility of an application largely depends on how it is built and designed. This means that the Kirby design system can not magically make an application accessible. So what is Kirby's role exactly when it comes to accessibility? "),n.k0s(),n.j41(75,"h3"),n.EFF(76,"Do not be in the way"),n.k0s(),n.j41(77,"p"),n.EFF(78," The components in the Kirby design system should allow developers to create accessible applications; they can be thought of as HTML elements. It is possible to use them in ways that allows for accessibility. On the contrary, it is also possible to use them in a lot of completely inaccessible ways. "),n.k0s(),n.j41(79,"p"),n.EFF(80,"But the components in Kirby should never be in the way of making an application accessible."),n.k0s(),n.j41(81,"p"),n.EFF(82," If a developer ever experiences that a Kirby component causes problems when working with accessibility; do not hesitate to create an issue in the "),n.j41(83,"a",4),n.EFF(84," Kirby Design System Github repository "),n.k0s(),n.EFF(85," . "),n.k0s(),n.j41(86,"h3"),n.EFF(87,"A knowledge source"),n.k0s(),n.j41(88,"p"),n.EFF(89," While we are not there yet; we desire to give developers using the Kirby design system the best possible foundation for working with accessibility in their applications. We wish to highlight do's, don'ts, anti-patterns and best practices as part of the documentation for the components in Kirby. "),n.k0s(),n.j41(90,"h2"),n.EFF(91,"We need the help of developers"),n.k0s(),n.j41(92,"p"),n.EFF(93," In Team Kirby we are on a learning journey ourselves. In order to be able to meet our desire to become a knowledge source, we need the help of developers using Kirby. "),n.k0s(),n.j41(94,"p"),n.EFF(95," If they have encountered any anti-patterns, best practices, do's or don'ts in their applications. Then we would like to hear about it in order to highlight it as part of the documentation so other developers can learn from their experience. "),n.k0s(),n.j41(96,"p"),n.EFF(97," We have created a Github discussions thread where experiences can be shared "),n.j41(98,"a",5),n.EFF(99,"here"),n.k0s(),n.EFF(100," . If a submission is highlighted in the documentation it will happen anonymously. "),n.k0s(),n.j41(101,"h2"),n.EFF(102,"How do I get started improving the accessibility of my application?"),n.k0s(),n.j41(103,"p"),n.EFF(104," A lot of great material is freely available online; so instead of reiterating what they already state, we will point you in the direction of some of our favorite resources. "),n.k0s(),n.j41(105,"h3"),n.EFF(106,"A11y.coffee: A great starting point"),n.k0s(),n.j41(107,"p"),n.EFF(108," The content on "),n.j41(109,"a",6),n.EFF(110,"a11y.coffee"),n.k0s(),n.EFF(111," is a great starting point; especially its "),n.j41(112,"a",7),n.EFF(113,"coffee metaphor"),n.k0s(),n.EFF(114," serves as a good overview of testing methods. Furthermore it also has a list of "),n.j41(115,"a",8),n.EFF(116,"quick wins"),n.k0s(),n.EFF(117," for those who want to get their hands dirty. "),n.k0s(),n.j41(118,"h3"),n.EFF(119,"Check out the WCAG standard"),n.k0s(),n.j41(120,"p"),n.EFF(121," WCAG is the standard by the W3C Web Accessibility Initiative (WAI) that explains how to make content more accessible to people with disabilities. "),n.k0s(),n.j41(122,"p"),n.EFF(123," It is worth checking out as it is the standard upon which all other work in the web accessibility domain is based. "),n.k0s(),n.j41(124,"p")(125,"a",9),n.EFF(126,"This overview"),n.k0s(),n.EFF(127," serves as a good starting point for diving into the "),n.j41(128,"a",10),n.EFF(129,"WCAG standard"),n.k0s(),n.EFF(130," . "),n.k0s(),n.j41(131,"h3"),n.EFF(132,"Topics for exploration"),n.k0s(),n.j41(133,"p"),n.EFF(134," When diving into a new field it can be useful to have some topics and a general idea of which way to direct learning. We believe the following topics are important to have knowledge about, when getting into web accessibility: "),n.k0s(),n.j41(135,"ul")(136,"li")(137,"a",11),n.EFF(138,"How to evaluate accessibility"),n.k0s(),n.EFF(139," in your application. As mentioned, automatic testing can not be relied on alone; skill and education is required as a developer. "),n.k0s(),n.j41(140,"li"),n.EFF(141," How to write proper "),n.j41(142,"a",12),n.EFF(143," semantic markup "),n.k0s(),n.EFF(144," . This is how to gain the most with the least effort. Not only does it benefit people with disabilities; it makes your application more robust, future proof and is easier for computers to process. "),n.k0s(),n.j41(145,"li"),n.EFF(146," How and "),n.j41(147,"a",13),n.EFF(148,"when"),n.k0s(),n.EFF(149," to use ARIA attributes. "),n.k0s()(),n.j41(150,"h3"),n.EFF(151,"Resources"),n.k0s(),n.j41(152,"p"),n.EFF(153," While a11y.coffee has a "),n.j41(154,"a",14),n.EFF(155,"list of resources"),n.k0s(),n.EFF(156," to further explore the field of accessibility, we would like to supplement that with some of our own resources: "),n.k0s(),n.j41(157,"ul")(158,"li")(159,"a",15),n.EFF(160,"WebAIM articles"),n.k0s(),n.EFF(161," : a list of high quality articles from WebAIM ranging from a "),n.j41(162,"a",16),n.EFF(163,"beginner friendly introduction to a11y"),n.k0s(),n.EFF(164," to an "),n.j41(165,"a",17),n.EFF(166," 8-step implementation models "),n.k0s(),n.EFF(167," . "),n.k0s(),n.j41(168,"li")(169,"a",18),n.EFF(170,"The a11y project checklist"),n.k0s(),n.EFF(171," : a user friendly checklist based on "),n.j41(172,"a",19),n.EFF(173,"WCAG"),n.k0s(),n.EFF(174," for evaluating and identifying opportunities for improving accessibility in applications. The a11y project also has a large "),n.j41(175,"a",20),n.EFF(176,"list of resources"),n.k0s(),n.EFF(177," from newsletters and books to podcasts. "),n.k0s()()())},encapsulation:2})}return le})();var ae=l(32667);const V=JSON.parse('{"s":[{"title":"Accordion","paragraph":"Accordion is a vertically stacked list of headers that allows users to reveal or hide related sections of content.","svgPath":"./assets/component-svg/Accordion-Kirby-Component-Overview.svg","route":"/home/showcase/accordion"},{"title":"Action Sheet","paragraph":"Action Sheet is a context menu that overlays content, requires manual dismissal, and offer related choices to the current context","svgPath":"./assets/component-svg/Action-Sheet-Kirby-Component-Overview.svg","route":"/home/showcase/action-sheet"},{"title":"Alert","paragraph":"Alert is the most urgent notification, demanding immediate attention and persisting until dismissed by the user. It conveys important information and warnings.","svgPath":"./assets/component-svg/Alert-Kirby-Component-Overview.svg","route":"/home/showcase/alert"},{"title":"Avatar","paragraph":"Avatar is a circular component that visually represents a user or object, utilizing images, icons, or text/initials for clear identification.","svgPath":"./assets/component-svg/Avatar-Kirby-Component-Overview.svg","route":"/home/showcase/avatar"},{"title":"Badge","paragraph":"Badge is a small, helpful element used to display numeric values or icons, providing additional information or visual hint to complement other components.","svgPath":"./assets/component-svg/Badge-Kirby-Component-Overview.svg","route":"/home/showcase/badge"},{"title":"Button","paragraph":"Button allows users to perform actions and make choices with a single tap, such as submitting forms and triggering actions.","svgPath":"./assets/component-svg/Button-Kirby-Component-Overview.svg","route":"/home/showcase/button"},{"title":"Calendar","paragraph":"The calendar is a picker interface that displays a date grid with month navigation, for users to select a single date.","svgPath":"./assets/component-svg/Calendar-Kirby-Component-Overview.svg","route":"/home/showcase/calendar"},{"title":"Card","paragraph":"Card is a container for displaying content related to a subject or group, offering structured layouts for various elements.","svgPath":"./assets/component-svg/Card-Kirby-Component-Overview.svg","route":"/home/showcase/card"},{"title":"Chart","paragraph":"Chart visually represents data using diverse chart types, providing valuable insights into trends and patterns for enhanced data comprehension.","svgPath":"./assets/component-svg/Chart-Kirby-Component-Overview.svg","route":"/home/showcase/chart"},{"title":"Chart Stock","paragraph":"Chart Stock visually illustrates historical security prices over time, utilizing a time-based x- axis and a price-based y-axis.","svgPath":"./assets/component-svg/Chart-Stock-Kirby-Component-Overview.svg","route":"/home/showcase/chart-stock"},{"title":"Checkbox","paragraph":"Checkbox enables users to independently select multiple options from a set, offering flexible control for choosing preferences.","svgPath":"./assets/component-svg/Checkbox-Kirby-Component-Overview.svg","route":"/home/showcase/checkbox"},{"title":"Colors","paragraph":"Colors serve as a repository for Kirby\'s brand colors, guaranteeing uniform and harmonious color usage.","svgPath":"./assets/component-svg/Colors-Kirby-Component-Overview.svg","route":"/home/showcase/colors"},{"title":"Data Table","paragraph":"Data Table displays extensive volumes of intricate data in a well-organized, tabular format for comprehensive information presentation.","svgPath":"./assets/component-svg/Data-Table-Kirby-Component-Overview.svg","route":"/home/showcase/data-table"},{"title":"Divider","paragraph":"Divider is a subtle line utilized to distinguish and visually organize elements or content sections","svgPath":"./assets/component-svg/Divider-Kirby-Component-Overview.svg","route":"/home/showcase/divider"},{"title":"Dropdown","paragraph":"Dropdown displays multiple choices for user selection and appears upon interaction with an element.","svgPath":"./assets/component-svg/Dropdown-Kirby-Component-Overview.svg","route":"/home/showcase/dropdown"},{"title":"Message State","paragraph":"Message State provides feedback about the application, content or workflow state to the user while, if possible, giving constructive guidance about next steps.","svgPath":"./assets/component-svg/Empty-State-Kirby-Component-Overview.svg","route":"/home/showcase/message-state"},{"title":"FAB","paragraph":"Floating Action Button is a circular button positioned in the lower right corner, symbolizing the primary action.","svgPath":"./assets/component-svg/FAB-Kirby-Component-Overview.svg","route":"/home/showcase/fab-sheet"},{"title":"Flag","paragraph":"Flag is a color-coded element used to emphasize or aid interpretation of information.","svgPath":"./assets/component-svg/Flag-Kirby-Component-Overview.svg","route":"/home/showcase/flag"},{"title":"Fonts","paragraph":"Fonts provide a showcase of the Kirby font set, demonstrating typography styles to maintain consistency and establish a visual identity.","svgPath":"./assets/component-svg/Fonts-Kirby-Component-Overview.svg","route":"/home/showcase/fonts"},{"title":"Form Field","paragraph":"Form Field is an interactive input element that enables users to enter and edit information.","svgPath":"./assets/component-svg/Form-Field-Kirby-Component-Overview.svg","route":"/home/showcase/form-field"},{"title":"Header","paragraph":"Header is positioned at the top of a page, offering essential page context in a straightforward and topic-relevant manner.","svgPath":"./assets/component-svg/Header-Kirby-Component-Overview.svg","route":"/home/showcase/header"},{"title":"Icons","paragraph":"Icons have a rounded and friendly style, used to represent actions and functions within components.","svgPath":"./assets/component-svg/Icons-Kirby-Component-Overview.svg","route":"/home/showcase/icon"},{"title":"Item","paragraph":"Item is a versatile placeholder that can contain various content elements, used for structuring other components.","svgPath":"./assets/component-svg/Item-Kirby-Component-Overview.svg","route":"/home/showcase/item"},{"title":"Menu","paragraph":"Menu appears on button interaction, offering relevant choices without permanent UI occupation.","svgPath":"./assets/component-svg/Menu-Kirby-Component-Overview.svg","route":"/home/showcase/menu"},{"title":"Page","paragraph":"Page is a layout container for Kirby applications, featuring header and footer sections with responsive design.","svgPath":"./assets/component-svg/Page-Kirby-Component-Overview.svg","route":"/home/showcase/page"},{"title":"Progress Circle","paragraph":"Progress Circle is a circular visualization that shows the ongoing progress of an operation or activity.","svgPath":"./assets/component-svg/Progress-Circle-Kirby-Component-Overview.svg","route":"/home/showcase/progress-circle"},{"title":"Radio Button","paragraph":"Radio Button allows users to make a single selection from a set of options, with the selection of one option automatically deselecting the others.","svgPath":"./assets/component-svg/Radio-Buttons-Kirby-Component-Overview.svg","route":"/home/showcase/radio"},{"title":"Range Slider","paragraph":"Range Slider allows users to select values or ranges within a predefined minimum and maximum range.","svgPath":"./assets/component-svg/Range-Slider-Kirby-Component-Overview.svg","route":"/home/showcase/range"},{"title":"Segmented Control","paragraph":"Segmented Control is a horizontal row of buttons used for toggling between related choices within content.","svgPath":"./assets/component-svg/Segmented-Control-Kirby-Component-Overview.svg","route":"/home/showcase/segmented-control"},{"title":"Slide Button","paragraph":"Slide Button provides a simple and intuitive way for users to perform verification actions.","svgPath":"./assets/component-svg/Slide-Button-Kirby-Component-Overview.svg","route":"/home/showcase/slide-button"},{"title":"Slides","paragraph":"Slides is a collection of cards or content that users can navigate horizontally by swiping or clicking.","svgPath":"./assets/component-svg/Slides-Kirby-Component-Overview.svg","route":"/home/showcase/slides"},{"title":"Spinner","paragraph":"Spinner is a visual indicator that shows ongoing loading processes or actions.","svgPath":"./assets/component-svg/Spinner-Kirby-Component-Overview.svg","route":"/home/showcase/spinner"},{"title":"Toast","paragraph":"Toast is a subtle notification that gives immediate feedback to users after taking an action.","svgPath":"./assets/component-svg/Toast-Kirby-Component-Overview.svg","route":"/home/showcase/toast"},{"title":"Toggle","paragraph":"Toggle is an input control for binary options, commonly used for managing choices and switches.","svgPath":"./assets/component-svg/Toggle-Kirby-Component-Overview.svg","route":"/home/showcase/toggle"}]}');var ce=l(98990);let Ae=(()=>{class le{static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-component-display"]],inputs:{title:"title",paragraph:"paragraph",svgPath:"svgPath",route:"route"},decls:8,vars:4,consts:[[1,"component-display"],[3,"routerLink"],[3,"src"]],template:function(J,Te){1&J&&(n.j41(0,"div",0)(1,"a",1)(2,"kirby-card"),n.nrm(3,"img",2),n.k0s(),n.j41(4,"h3"),n.EFF(5),n.k0s(),n.j41(6,"p"),n.EFF(7),n.k0s()()()),2&J&&(n.R7$(),n.Y8G("routerLink",Te.route),n.R7$(2),n.FS9("src",Te.svgPath,n.B4B),n.R7$(2),n.JRh(Te.title),n.R7$(2),n.SpI(" ",Te.paragraph," "))},dependencies:[Kn.Wk,ce.Dw,ce.ib],styles:[".component-display[_ngcontent-%COMP%]{width:237px}kirby-card[_ngcontent-%COMP%]{height:150px;width:237px}kirby-card[_ngcontent-%COMP%]:hover{background-color:var(--kirby-background-color)}h3[_ngcontent-%COMP%]{padding-top:15px}p[_ngcontent-%COMP%]{color:var(--kirby-black)}a[_ngcontent-%COMP%]{text-decoration:none}"]})}return le})();function bt(le,A){if(1&le&&n.nrm(0,"cookbook-component-display",3),2&le){const T=A.$implicit;n.Y8G("route",T.route)("svgPath",T.svgPath)("paragraph",T.paragraph)("title",T.title)}}let $t=(()=>{class le{constructor(T){this._router=T}ngOnInit(){this.listOfComponents=V.s}static#e=this.\u0275fac=function(J){return new(J||le)(n.rXU(Kn.Ix))};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-component-overview"]],decls:7,vars:2,consts:[[3,"hasMargin"],[1,"grid"],[3,"route","svgPath","paragraph","title",4,"ngFor","ngForOf"],[3,"route","svgPath","paragraph","title"]],template:function(J,Te){1&J&&(n.j41(0,"h1"),n.EFF(1,"Components"),n.k0s(),n.j41(2,"p"),n.EFF(3," Components are the reuseable building blocks of our design system. Each component meets a specific interaction or UI need, and has been specifically created to work together to create patterns and intuitive user experiences.\n"),n.k0s(),n.nrm(4,"kirby-divider",0),n.j41(5,"div",1),n.DNE(6,bt,1,4,"cookbook-component-display",2),n.k0s()),2&J&&(n.R7$(4),n.Y8G("hasMargin",!0),n.R7$(2),n.Y8G("ngForOf",Te.listOfComponents))},dependencies:[ae.h,i.pM,Ae],styles:[".grid[_ngcontent-%COMP%]{padding-top:35px;display:grid;grid-template-columns:repeat(auto-fit,237px);gap:35px 24px;justify-content:space-around}"]})}return le})();var io=l(47008);let zn=(()=>{class le{constructor(){this.isMenuOpen=!1,this.menuToggle=new n.bkB}get menuIcon(){return this.isMenuOpen?"close":"navigation"}onToggleMenu(){this.isMenuOpen=!this.isMenuOpen,this.menuToggle.emit(this.isMenuOpen)}static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-header"]],inputs:{isMenuOpen:"isMenuOpen"},outputs:{menuToggle:"menuToggle"},decls:22,vars:1,consts:[["kirby-button","","attentionLevel","3",1,"menu-button",3,"click"],[3,"name"],["routerLink","/","aria-label","Home",1,"logo-anchor"],["version","1.1","id","Layer_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 132.3 158.8",0,"xml","space","preserve",2,"enable-background","new 0 0 132.3 158.8"],["type","text/css"],[1,"text"],["d","M19.7,151.5h-2.2c-0.1,0-0.3-0.1-0.4-0.2l-9.3-13.4l-1.8,2.6V151c0,0.2-0.2,0.4-0.5,0.4H3.6\n c-0.2,0-0.4-0.2-0.4-0.4v-29.4c0-0.2,0.2-0.4,0.4-0.4h1.8c0.2,0,0.5,0.2,0.5,0.4v14l10.2-14.3c0,0,0.3-0.2,0.4-0.2h2.2\n c0.4,0,0.7,0.3,0.4,0.7l-9.7,13.6L20,150.8C20.3,151.2,20.1,151.5,19.7,151.5z",1,"st0"],["d","M41.6,151.5H25.1c-0.2,0-0.4-0.2-0.4-0.4v-1.8c0-0.2,0.2-0.4,0.4-0.4h7.8v-15.6h-6c-0.2,0-0.4-0.2-0.4-0.4\n v-1.8c0-0.2,0.2-0.4,0.4-0.4h8.2c0.2,0,0.4,0.2,0.4,0.4v17.9h6c0.2,0,0.4,0.2,0.4,0.4v1.8C42.1,151.3,41.9,151.5,41.6,151.5z\n M35.6,126.2H32c-0.2,0-0.5-0.2-0.5-0.4v-3.7c0-0.2,0.2-0.4,0.5-0.4h3.6c0.2,0,0.5,0.2,0.5,0.4v3.7\n C36.1,126,35.9,126.2,35.6,126.2z",1,"st0"],["d","M63.1,140.9h-1.8c-0.2,0-0.4-0.2-0.4-0.4v-3.7c0-2.4-2-4.1-4.1-4.1h-0.9c-2.1,0-4.1,1.7-4.1,4.1v12h7.8\n c0.2,0,0.4,0.2,0.4,0.4v1.8c0,0.2-0.2,0.4-0.4,0.4H45.7c-0.2,0-0.4-0.2-0.4-0.4v-1.8c0-0.2,0.2-0.4,0.4-0.4h3.2v-12\n c0-3.6,2.9-6.9,6.9-6.9h0.9c4,0,6.9,3.3,6.9,6.9v3.7C63.6,140.7,63.4,140.9,63.1,140.9z",1,"st0"],["d","M78.6,151.9h-0.9c-1.5,0-3-0.5-4.1-1.3v0.4c0,0.2-0.2,0.4-0.5,0.4h-1.8c-0.2,0-0.4-0.2-0.4-0.4v-29.4\n c0-0.2,0.2-0.4,0.4-0.4h1.8c0.2,0,0.5,0.2,0.5,0.4v9.6c1.1-0.9,2.6-1.4,4.1-1.4h0.9c3.8,0,6.9,3.1,6.9,6.9v8.3\n C85.5,148.9,82.4,151.9,78.6,151.9z M82.7,136.8c0-2.3-1.8-4.1-4.1-4.1h-0.9c-2.3,0-4.1,1.8-4.1,4.1v8.3c0,2.2,1.8,4.1,4.1,4.1\n h0.9c2.3,0,4.1-1.9,4.1-4.1V136.8z",1,"st0"],["d","M101,154.2c-1.3,4.3-4.3,4.6-7.7,4.6h-0.9c-0.2,0-0.4-0.2-0.4-0.4v-1.8c0-0.2,0.2-0.5,0.4-0.5h0.9\n c4.6,0,4.5-0.5,5.9-5.2l-6-19.9c-0.1-0.3,0.1-0.6,0.4-0.6h1.9c0.2,0,0.4,0.2,0.4,0.3l4.5,15.7l4.4-15.7c0-0.2,0.3-0.3,0.4-0.3h1.8\n c0.3,0,0.5,0.2,0.4,0.6C107.5,131,102.3,149.9,101,154.2z",1,"st0"],["d","M129.5,151.5h-13.8c-0.2,0-0.4-0.2-0.4-0.4v-1.8c0-0.2,0.2-0.4,0.4-0.4h13.8c0.2,0,0.4,0.2,0.4,0.4v1.8\n C130,151.3,129.8,151.5,129.5,151.5z",1,"st0"],[1,"large-rect"],["d","M56.5,102.6H10.9c-6,0-10.9-4.9-10.9-10.9V10.9C0,4.9,4.9,0,10.9,0h45.7c6,0,10.9,4.9,10.9,10.9v80.9\n C67.4,97.7,62.5,102.6,56.5,102.6z M10.9,4.1c-3.7,0-6.8,3-6.8,6.8v80.9c0,3.7,3,6.8,6.8,6.8h45.7c3.7,0,6.8-3,6.8-6.8V10.9\n c0-3.7-3-6.8-6.8-6.8H10.9z",1,"st0"],[1,"medium-rect"],["d","M123.1,38.4H86.7c-5.1,0-9.2-4.1-9.2-9.2V9.2c0-5.1,4.1-9.2,9.2-9.2h36.3c5.1,0,9.2,4.1,9.2,9.2v19.9\n C132.3,34.2,128.2,38.4,123.1,38.4z M86.7,4.1c-2.8,0-5.2,2.3-5.2,5.2v19.9c0,2.8,2.3,5.2,5.2,5.2h36.3c2.8,0,5.2-2.3,5.2-5.2\n V9.2c0-2.8-2.3-5.2-5.2-5.2H86.7z",1,"st0"],[1,"small-rect"],["d","M105.9,83.1h-17c-5.1,0-9.2-4.1-9.2-9.2V58.7c0-5.1,4.1-9.2,9.2-9.2h17c5.1,0,9.2,4.1,9.2,9.2v15.2\n C115.1,78.9,111,83.1,105.9,83.1z M88.9,53.5c-2.8,0-5.2,2.3-5.2,5.2v15.2c0,2.8,2.3,5.2,5.2,5.2h17c2.8,0,5.2-2.3,5.2-5.2V58.7\n c0-2.8-2.3-5.2-5.2-5.2H88.9z",1,"st0"]],template:function(J,Te){1&J&&(n.j41(0,"header")(1,"button",0),n.bIt("click",function(){return Te.onToggleMenu()}),n.nrm(2,"kirby-icon",1),n.k0s(),n.j41(3,"a",2),n.qSk(),n.j41(4,"svg",3)(5,"style",4),n.EFF(6," .st0 { fill: #1d1d1b; } "),n.k0s(),n.j41(7,"g")(8,"g",5),n.nrm(9,"path",6)(10,"path",7)(11,"path",8)(12,"path",9)(13,"path",10)(14,"path",11),n.k0s(),n.j41(15,"g",12),n.nrm(16,"path",13),n.k0s(),n.j41(17,"g")(18,"g",14),n.nrm(19,"path",15),n.k0s(),n.j41(20,"g",16),n.nrm(21,"path",17),n.k0s()()()()()()),2&J&&(n.R7$(2),n.Y8G("name",Te.menuIcon))},dependencies:[io.Q,Wn.op,Wn.Rl,Kn.Wk],styles:["[_nghost-%COMP%]{grid-area:header;z-index:11;position:sticky;top:0;background-color:var(--kirby-light);border-bottom:1px solid var(--kirby-medium)}@media (min-width: 992px){[_nghost-%COMP%]{position:static;background-color:transparent;border-bottom:none}}header[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;width:100%;padding:var(--kirby-spacing-xxs)}@media (min-width: 992px){header[_ngcontent-%COMP%]{padding-block:var(--kirby-spacing-m) 0;align-items:start}header[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{display:none}}.logo-anchor[_ngcontent-%COMP%]{width:40px;height:40px;justify-self:center}@media (min-width: 992px){.logo-anchor[_ngcontent-%COMP%]{width:64px;height:64px;margin-inline-start:var(--kirby-spacing-m);justify-self:start}}.logo-anchor[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:100%;width:100%}.logo-anchor[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_enter .5s ease-in-out .5s forwards}.logo-anchor[_ngcontent-%COMP%] .large-rect[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_enter .5s ease-in-out .9s forwards}.logo-anchor[_ngcontent-%COMP%] .medium-rect[_ngcontent-%COMP%]{opacity:0;transform-origin:center top;animation:_ngcontent-%COMP%_enter-pop .3s ease-in-out 1.2s forwards}.logo-anchor[_ngcontent-%COMP%] .small-rect[_ngcontent-%COMP%]{opacity:0;transform-origin:center;animation:_ngcontent-%COMP%_enter-pop .3s ease-in-out 1.4s forwards}@keyframes _ngcontent-%COMP%_enter{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_enter-pop{0%{transform:scale(0);opacity:1}89%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}"]})}return le})();var Lo=l(29081),Ei=l(56297),tr=l(50122);const Bi=["componentLink"],as=["resourceLink"];function jr(le,A){if(1&le&&(n.j41(0,"li")(1,"a",13,0),n.EFF(3),n.k0s()()),2&le){const T=A.$implicit;n.R7$(),n.FS9("routerLink",T.path),n.R7$(2),n.SpI(" ",T.data.resourceLink," ")}}function Hs(le,A){if(1&le){const T=n.RV6();n.j41(0,"button",14),n.bIt("click",function(){n.eBV(T);const Te=n.XpG();return n.Njj(Te.onFilterChange(""))}),n.nrm(1,"kirby-icon",15),n.k0s()}2&le&&n.Y8G("noDecoration",!0)}function Qs(le,A){if(1&le){const T=n.RV6();n.j41(0,"li")(1,"a",17,1),n.bIt("click",function(){n.eBV(T);const Te=n.XpG(2);return n.Njj(Te.closeMenu())}),n.EFF(3),n.k0s()()}if(2&le){const T=A.$implicit;n.R7$(),n.Y8G("routerLink",T.path),n.R7$(2),n.SpI(" ",T.name," ")}}function Zs(le,A){1&le&&n.nrm(0,"hr",18)}function Za(le,A){if(1&le&&(n.qex(0),n.DNE(1,Qs,4,2,"li",4)(2,Zs,1,0,"hr",16),n.bVm()),2&le){const T=A.$implicit,J=A.last;n.R7$(),n.Y8G("ngForOf",T),n.R7$(),n.Y8G("ngIf",!J)}}let Sa=(()=>{class le{constructor(T){this.router=T,this.filter="",this.menuToggle=new n.bkB,this.isMenuOpen=!1}ngOnInit(){this.mapShowcaseRoutes(),this.mapResourcesRoutes(),this.router.events.pipe((0,I.p)(T=>T instanceof Kn.wF)).subscribe(T=>{T.urlAfterRedirects.includes("/showcase/")||this.applyComponentFilter("")})}mapShowcaseRoutes(){const J=tr.SHOWCASE_ROUTES[0].children.filter(Te=>Te.path).filter(Te=>!Te.data?.hide);J.sort(this.sortByPath),this.allShowcaseRoutes=J.map(Te=>({path:`showcase/${Te.path}`,name:(0,Lo.Zj)(Te.path),active:this.router.url.endsWith(Te.path)})),this.applyComponentFilter("")}mapResourcesRoutes(){const J=(Rr.find(Te=>"home"===Te.path)?.children||[]).filter(Te=>Te.data?.resourceLink);this.filteredResourceRoutes=J}sortByPath(T,J){return T.pathJ.path?1:0}onFilterChange(T){this.applyComponentFilter(T)}onFilterArrowDown(T){T.preventDefault();const J=this.componentLinks.first;J&&J.nativeElement.focus()}onLinksArrowUpDown(T,J){T.preventDefault();const Te=("resources"===J?this.resourceLinks:this.componentLinks).map(kn=>kn.nativeElement),_t=Te.findIndex(kn=>kn===document.activeElement);-1!==_t&&("ArrowDown"===T.key?Te[Math.min(_t+1,Te.length-1)]:Te[Math.max(_t-1,0)]).focus()}closeMenu(){this.isMenuOpen=!1,this.menuToggle.emit(this.isMenuOpen)}applyComponentFilter(T){this.filter=T;let J=this.allShowcaseRoutes;if(T.length>0){const Te=T[0].toUpperCase()===T[0],_t=Te?T:T.toLowerCase();J=J.filter(jt=>(Te?jt.name:jt.name.toLowerCase()).includes(_t))}this.filteredShowcaseRoutes=this.distributeSideNavLinksAlphabetically(J)}distributeSideNavLinksAlphabetically(T){const J=T.reduce((Te,_t)=>{const jt=_t.name[0];return Te[jt]=void 0===Te[jt]?[_t]:[...Te[jt],_t],Te},{});return Object.keys(J).map(Te=>J[Te])}static#e=this.\u0275fac=function(J){return new(J||le)(n.rXU(Kn.Ix))};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-side-nav"]],viewQuery:function(J,Te){if(1&J&&(n.GBs(Bi,5),n.GBs(as,5)),2&J){let _t;n.mGM(_t=n.lsd())&&(Te.componentLinks=_t),n.mGM(_t=n.lsd())&&(Te.resourceLinks=_t)}},hostVars:2,hostBindings:function(J,Te){2&J&&n.AVh("is-open",Te.isMenuOpen)},inputs:{isMenuOpen:"isMenuOpen"},outputs:{menuToggle:"menuToggle"},decls:31,vars:8,consts:[["resourceLink",""],["componentLink",""],[3,"keydown.ArrowUp","keydown.ArrowDown","hasPadding"],[1,"kirby-text-normal"],[4,"ngFor","ngForOf"],["href","https://github.com/kirbydesign/designsystem","target","_blank",1,"list-item-link"],[1,"kirby-external-icon"],["href","https://github.com/kirbydesign/designsystem/releases","target","_blank",1,"list-item-link"],[1,"components-heading-container"],["routerLink","component-overview"],[1,"filter"],["kirby-input","","size","md","placeholder","Filter components...",3,"input","keydown.ArrowDown","ngModel"],["kirby-button","","size","sm","class","clear-button",3,"noDecoration","click",4,"ngIf"],[1,"list-item-link",3,"routerLink"],["kirby-button","","size","sm",1,"clear-button",3,"click","noDecoration"],["name","close"],["aria-hidden","true",4,"ngIf"],["routerLinkActive","is-selected",1,"list-item-link",3,"click","routerLink"],["aria-hidden","true"]],template:function(J,Te){if(1&J){const _t=n.RV6();n.j41(0,"section")(1,"kirby-card",2),n.bIt("keydown.ArrowUp",function(kn){return n.eBV(_t),n.Njj(Te.onLinksArrowUpDown(kn,"resources"))})("keydown.ArrowDown",function(kn){return n.eBV(_t),n.Njj(Te.onLinksArrowUpDown(kn,"resources"))}),n.j41(2,"h2",3),n.EFF(3,"Resources"),n.k0s(),n.nrm(4,"hr"),n.j41(5,"nav")(6,"ul"),n.DNE(7,jr,4,2,"li",4),n.j41(8,"li")(9,"a",5,0)(11,"span",6),n.EFF(12,"Github"),n.k0s()()(),n.j41(13,"li")(14,"a",7,0)(16,"span",6),n.EFF(17,"Changelog"),n.k0s()()()()()(),n.j41(18,"kirby-card",2),n.bIt("keydown.ArrowUp",function(kn){return n.eBV(_t),n.Njj(Te.onLinksArrowUpDown(kn,"components"))})("keydown.ArrowDown",function(kn){return n.eBV(_t),n.Njj(Te.onLinksArrowUpDown(kn,"components"))}),n.j41(19,"div",8)(20,"h2",3),n.EFF(21,"Components"),n.k0s(),n.j41(22,"a",9),n.EFF(23,"All"),n.k0s()(),n.nrm(24,"hr"),n.j41(25,"div",10)(26,"kirby-form-field")(27,"input",11),n.bIt("input",function(kn){return n.eBV(_t),n.Njj(Te.onFilterChange(kn.target.value))})("keydown.ArrowDown",function(kn){return n.eBV(_t),n.Njj(Te.onFilterArrowDown(kn))}),n.k0s()(),n.DNE(28,Hs,2,1,"button",12),n.k0s(),n.j41(29,"ul"),n.DNE(30,Za,3,2,"ng-container",4),n.k0s()()()}2&J&&(n.AVh("is-open",Te.isMenuOpen),n.R7$(),n.Y8G("hasPadding",!0),n.R7$(6),n.Y8G("ngForOf",Te.filteredResourceRoutes),n.R7$(11),n.Y8G("hasPadding",!0),n.R7$(9),n.Y8G("ngModel",Te.filter),n.R7$(),n.Y8G("ngIf",Te.filter.length>0),n.R7$(2),n.Y8G("ngForOf",Te.filteredShowcaseRoutes))},dependencies:[ce.Dw,ce.ib,i.pM,Kn.Wk,Ei.LT,Ei.KS,Ei.Sj,yn.YN,yn.me,yn.BC,yn.vS,i.bT,io.Q,Wn.op,Wn.Rl,Kn.wQ],styles:["[_nghost-%COMP%]{display:none;z-index:10;padding:var(--kirby-spacing-m);position:absolute;top:var(--kirby-spacing-xxxxl);bottom:0;overflow:auto}.is-open[_nghost-%COMP%]{display:block;background-color:var(--kirby-light);box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}@media (min-width: 992px){[_nghost-%COMP%]{position:static;grid-area:sidebar;box-shadow:none;display:block;padding:0;min-height:unset}.is-open[_nghost-%COMP%]{background-color:transparent;box-shadow:none}}ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;line-height:normal}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-block-start:0}kirby-card[_ngcontent-%COMP%]:not(:last-child){margin-bottom:var(--kirby-spacing-s)}a[_ngcontent-%COMP%]{position:relative;display:block;padding:var(--kirby-spacing-xxxs) var(--kirby-spacing-s);border-radius:3px;line-height:1.5rem}a.list-item-link[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus{color:var(--kirby-text-color-semi-dark);z-index:1}a.is-selected[_ngcontent-%COMP%]{color:var(--kirby-text-color-black);font-weight:700;background-color:var(--kirby-semi-light)}a.is-hidden[_ngcontent-%COMP%]{opacity:0;max-height:0;padding:0;pointer-events:none}h2[_ngcontent-%COMP%]{margin-inline-start:var(--kirby-spacing-s);margin-bottom:0}.filter[_ngcontent-%COMP%]{position:relative}.filter[_ngcontent-%COMP%] kirby-form-field[_ngcontent-%COMP%]{margin-bottom:var(--kirby-spacing-s)}.clear-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0}.menu-button[_ngcontent-%COMP%]{margin-top:var(--kirby-spacing-xs)}@media (min-width: 992px){.menu-button[_ngcontent-%COMP%]{display:none}}.components-heading-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}hr[_ngcontent-%COMP%]{border:solid 1px var(--kirby-light);border-bottom:none;margin-block:var(--kirby-spacing-xxs);margin-inline:var(--kirby-spacing-xxxxs)}"]})}return le})(),_l=(()=>{class le{constructor(){this.year=new Date(Date.now()).getFullYear().toString()}static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-footer"]],decls:4,vars:1,template:function(J,Te){1&J&&(n.j41(0,"p"),n.EFF(1,"Kirby Design System\u2122\ufe0f"),n.k0s(),n.j41(2,"p"),n.EFF(3),n.k0s()),2&J&&(n.R7$(3),n.SpI("\u24b8",Te.year,""))},styles:["[_nghost-%COMP%]{grid-area:footer;background-color:var(--kirby-white);text-align:center;padding:40px 0}[_nghost-%COMP%] p[_ngcontent-%COMP%]{margin:0}"]})}return le})(),xl=(()=>{class le{constructor(){this.title="Kirby Design System",this.isMenuOpen=!1}onMenuClick(){this.isMenuOpen=!this.isMenuOpen}onMenuToggle(T){this.isMenuOpen=T}static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-home"]],decls:5,vars:2,consts:[[3,"menuToggle","isMenuOpen"],[1,"main"]],template:function(J,Te){1&J&&(n.j41(0,"cookbook-header",0),n.bIt("menuToggle",function(jt){return Te.onMenuToggle(jt)}),n.k0s(),n.j41(1,"cookbook-side-nav",0),n.bIt("menuToggle",function(jt){return Te.onMenuToggle(jt)}),n.k0s(),n.j41(2,"section",1),n.nrm(3,"router-outlet"),n.k0s(),n.nrm(4,"cookbook-footer")),2&J&&(n.Y8G("isMenuOpen",Te.isMenuOpen),n.R7$(),n.Y8G("isMenuOpen",Te.isMenuOpen))},dependencies:[zn,Sa,Kn.n3,_l],styles:['[_nghost-%COMP%]{background-color:var(--kirby-background-color);display:grid;grid-template-columns:16px minmax(0,1fr) 16px;grid-template-rows:auto minmax(0,1fr) 144px;grid-template-areas:"header header header" ". main ." "footer footer footer";gap:24px;min-height:100vh}@media (min-width: 992px){[_nghost-%COMP%]{grid-template-columns:minmax(24px,1fr) 240px minmax(0,1020px) minmax(24px,1fr);grid-template-rows:96px minmax(0,1fr) 144px;grid-template-areas:". header header ." ". sidebar main ." "footer footer footer footer";column-gap:40px;row-gap:24px}}.main[_ngcontent-%COMP%]{grid-area:main}']})}return le})(),G=(()=>{class le{static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-intro"]],decls:14,vars:0,consts:[["media","(max-width: 767px)","srcset","assets/images/kirby-components-w375.png 1x, assets/images/kirby-components-w700.png 2x"],["media","(min-width: 768px)","srcset","\n assets/images/kirby-components-w800.png 800w,\n assets/images/kirby-components-w1020.png 1020w\n ","sizes","(max-width: 1024px) 1024px,\n (min-width: 1025px) and (max-width: 1163px) 800px,\n (min-width: 1164px) 100vw,\n 1020px"],["src","assets/images/kirby-components-w1020.png","alt","Kirby UI Components"]],template:function(J,Te){1&J&&(n.j41(0,"picture"),n.nrm(1,"source",0)(2,"source",1)(3,"img",2),n.k0s(),n.j41(4,"h1"),n.EFF(5,"This is Kirby Design System\u2122"),n.k0s(),n.j41(6,"p"),n.EFF(7," Kirby is a friendly design system that allows you to build simple intuitive designs while having fun. We have created a shared visual language established on classic principles of good design.\n"),n.k0s(),n.j41(8,"p"),n.EFF(9," Kirby Design System provides flexible building blocks that make building digital services across platforms faster while creating a unified user experience. By using Kirby the collaboration between designers and developers is streamlined, and helps teams to quickly build beautiful screens.\n"),n.k0s(),n.j41(10,"p"),n.EFF(11,"We are on a constant journey of learning and Kirby is steadily evolving day by day."),n.k0s(),n.j41(12,"p"),n.EFF(13,"Thanks for your interest \u2014 have fun building!"),n.k0s())},styles:["img[_ngcontent-%COMP%]{max-width:100%;display:block;margin:0 auto 48px}"]})}return le})(),j=(()=>{class le{static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-extensions-landing-page"]],standalone:!1,decls:19,vars:0,consts:[["href","https://github.com/kirbydesign/designsystem/blob/develop/.github/SUPPORT.md#team-kirby",1,"kirby-external-icon"],["href","http://extensions.kirby.design",1,"kirby-external-icon"]],template:function(J,Te){1&J&&(n.j41(0,"article")(1,"h1"),n.EFF(2,"Kirby Extensions for Angular"),n.k0s(),n.j41(3,"p"),n.EFF(4," The Kirby Extensions library is a collection of design guidelines and components that build on top of the core Kirby Design library. "),n.k0s(),n.j41(5,"p"),n.EFF(6," The components follow the Kirby Design guidelines, but they differ from the core components by being built by the community, often with specific product-needs or requirements in mind. This means that components in this library might not be universally useful to everyone, though some components can also become core-candidates and graduate once they are battle-tested and initial experimentation is over. "),n.k0s(),n.j41(7,"p"),n.EFF(8," Extensions allow for quicker iteration and less focus on generalising behavior, while the test and especially documentation burden is also significantly lower. "),n.k0s(),n.j41(9,"p"),n.EFF(10," Components in this library are developed and maintained by the community, with support from "),n.j41(11,"a",0),n.EFF(12," Team Kirby "),n.k0s(),n.EFF(13," . "),n.k0s(),n.j41(14,"p"),n.EFF(15," The components are documented on "),n.j41(16,"a",1),n.EFF(17,"extensions.kirby.design"),n.k0s(),n.EFF(18," where information about installing and using the package\u2014and guidelines for contributing to extensions\u2014can be found. "),n.k0s()())},encapsulation:2})}return le})();var X=l(34100),me=l(28287),ct=l(86413),rn=l(34929),Rn=l(13339);const lo=["*"];let No=(()=>{class le{static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-da-locale-provider"]],features:[n.Jv_([{provide:n.xe9,useValue:"da"},Rn.L0])],ngContentSelectors:lo,decls:1,vars:0,template:function(J,Te){1&J&&(n.NAR(),n.SdG(0))},encapsulation:2})}return le})();const Jo=["*"];let Ui=(()=>{class le{static#e=this.\u0275fac=function(J){return new(J||le)};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-en-locale-provider"]],features:[n.Jv_([{provide:n.xe9,useValue:"en"},Rn.L0])],ngContentSelectors:Jo,decls:1,vars:0,template:function(J,Te){1&J&&(n.NAR(),n.SdG(0))},encapsulation:2})}return le})();const Rr=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:xl,children:[{path:"",redirectTo:"intro",pathMatch:"full"},{path:"intro",component:G,data:{resourceLink:"Introduction"}},{path:"showcase",loadChildren:()=>Promise.resolve().then(l.bind(l,50122)).then(le=>le.SHOWCASE_ROUTES)},{path:"guides",loadChildren:()=>l.e(2910).then(l.bind(l,12910)).then(le=>le.GUIDES_ROUTES),data:{resourceLink:"Guides"}},{path:"accessibility-in-kirby",component:U,data:{resourceLink:"Accessibility"}},{path:"component-overview",component:$t},{path:"extensions",component:j,data:{resourceLink:"Extensions"}},{path:"localization",component:(()=>{class le{constructor(T){this.translations=T,this.localeConfigCodeSnippet="import { registerLocaleData } from '@angular/common';\nimport localeData from '@angular/common/locales/da';\nimport { LOCALE_ID, NgModule } from '@angular/core';\n\nregisterLocaleData(localeData);\n\n@NgModule({\n ...,\n providers: [\n { provide: LOCALE_ID, useValue: 'da' },\n ],\n})\nexport class AppModule {}",this.translationGetterCodeSnippet="constructor(private translationService: TranslationService) {}\n\nget previousMonthLabel(): string {\n return this.translationService.get('previousMonth');\n}",this.selectedDate=new Date(2025,0,1)}static#e=this.\u0275fac=function(J){return new(J||le)(n.rXU(Rn.L0))};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["cookbook-localization"]],decls:73,vars:4,consts:[[1,"code-only-example",3,"ts"],[1,"example-frame"],[1,"locale-examples"],[3,"selectedDate"],["size","sm","imageSrc","assets/images/dk.svg","altText","Danish locale",1,"locale-avatar"],["size","sm","imageSrc","assets/images/gb.svg","altText","English locale",1,"locale-avatar"],["href","https://github.com/kirbydesign/designsystem/tree/develop/libs/designsystem/shared/src/translation/translation.interface.ts"],[3,"ts"],["href","https://github.com/kirbydesign/designsystem/issues/new/choose",1,"kirby-external-icon"],["href","https://github.com/kirbydesign/designsystem/tree/develop/libs/designsystem/shared/src/translation/translations"],["href","https://github.com/kirbydesign/designsystem/tree/develop/libs/designsystem/shared/src/translation/translation.service.ts"]],template:function(J,Te){1&J&&(n.j41(0,"article")(1,"h1"),n.EFF(2,"Localization"),n.k0s(),n.j41(3,"p"),n.EFF(4," Locale information is used by components such as "),n.j41(5,"code"),n.EFF(6,"kirby-calendar"),n.k0s(),n.EFF(7," and "),n.j41(8,"code"),n.EFF(9,'input type="date"'),n.k0s(),n.EFF(10," to automatically format values according to locale. Support has been added for three locales out of the box: American English ( "),n.j41(11,"code"),n.EFF(12,"en-US"),n.k0s(),n.EFF(13," ), British English ( "),n.j41(14,"code"),n.EFF(15,"en-GB"),n.k0s(),n.EFF(16," ) and Danish ( "),n.j41(17,"code"),n.EFF(18,"da"),n.k0s(),n.EFF(19," ). "),n.k0s(),n.j41(20,"p"),n.EFF(21," Locale is usually configured for the entire app in the "),n.j41(22,"code"),n.EFF(23,"AppModule"),n.k0s(),n.EFF(24," . "),n.k0s(),n.nrm(25,"cookbook-example-viewer",0),n.j41(26,"p"),n.EFF(27," Specifying the locale will also ensure translation of "),n.j41(28,"em"),n.EFF(29,"internal"),n.k0s(),n.EFF(30," component labels and texts that are not configurable. This allows assistive technology such as screen readers to announce labels in the correct language. "),n.k0s(),n.j41(31,"p"),n.EFF(32," In this example visible information such as the month and weekday headers, and accessible names for headers, calendar cells and interactive buttons have been automatically translated by specifying the locale. "),n.k0s(),n.j41(33,"cookbook-example-viewer")(34,"div",1)(35,"div",2)(36,"cookbook-da-locale-provider")(37,"kirby-card"),n.nrm(38,"kirby-calendar",3),n.k0s(),n.nrm(39,"kirby-avatar",4),n.k0s(),n.j41(40,"cookbook-en-locale-provider")(41,"kirby-card"),n.nrm(42,"kirby-calendar",3),n.k0s(),n.nrm(43,"kirby-avatar",5),n.k0s()()()(),n.j41(44,"h2"),n.EFF(45,"Using the service directly"),n.k0s(),n.j41(46,"p"),n.EFF(47," When developing custom components closely coupled to Kirby that need to use identical translations, "),n.j41(48,"code"),n.EFF(49,"TranslationService"),n.k0s(),n.EFF(50," can be used to fetch and display translated strings. "),n.k0s(),n.j41(51,"p"),n.EFF(52," This can be done by injecting the service into the component and get any key defined in the "),n.j41(53,"a",6),n.EFF(54," Translation "),n.k0s(),n.EFF(55," interface. "),n.k0s(),n.nrm(56,"cookbook-code-viewer",7),n.j41(57,"h2"),n.EFF(58,"Additional locales"),n.k0s(),n.j41(59,"p"),n.EFF(60," If support for other locales or additional translations are needed please "),n.j41(61,"a",8),n.EFF(62,"create an enhancement issue on Github"),n.k0s(),n.EFF(63," and consider contributing the code to make it happen. Please refer to the "),n.j41(64,"a",9),n.EFF(65," existing translation files "),n.k0s(),n.EFF(66," and how "),n.j41(67,"a",10),n.EFF(68," translation registering "),n.k0s(),n.EFF(69," is done in the "),n.j41(70,"code"),n.EFF(71,"TranslationService"),n.k0s(),n.EFF(72," . "),n.k0s()()),2&J&&(n.R7$(25),n.Y8G("ts",Te.localeConfigCodeSnippet),n.R7$(13),n.Y8G("selectedDate",Te.selectedDate),n.R7$(4),n.Y8G("selectedDate",Te.selectedDate),n.R7$(14),n.Y8G("ts",Te.translationGetterCodeSnippet))},dependencies:[rn.s,ct.B,No,Ui,X.S,ce.Dw,ce.ib,me.f],styles:["h2[_ngcontent-%COMP%]:not(:first-child){margin-top:32px}h3[_ngcontent-%COMP%]{border-bottom:1px dotted var(--kirby-medium)}cookbook-example-viewer[_ngcontent-%COMP%], cookbook-code-viewer[_ngcontent-%COMP%]{margin-bottom:32px}.example-frame[_ngcontent-%COMP%]{position:relative;border:1px solid #ddd;border-radius:12px;padding-block:24px}.example-frame.no-vertical-padding[_ngcontent-%COMP%]{padding-block:0}kbd[_ngcontent-%COMP%]{border-radius:3px;border:1px solid var(--kirby-semi-dark);box-shadow:0 2px 1px var(--kirby-dark-overlay-20),0 2px 1px 0 var(--kirby-white) inset;color:var(--kirby-black);font-size:.85em;font-weight:var(--kirby-font-weight-bold);line-height:1;padding:2px 4px;white-space:nowrap}[_nghost-%COMP%]{display:block;container-type:inline-size}[_nghost-%COMP%] [_ngcontent-%COMP%]:has(>.locale-avatar){position:relative}.locale-examples[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:var(--kirby-spacing-xxxl)}@container (width < 632px){.locale-examples[_ngcontent-%COMP%]{flex-direction:column;align-items:center}}.locale-avatar[_ngcontent-%COMP%]{position:absolute;inset:-16px -16px auto auto}.code-only-example[_ngcontent-%COMP%]{margin-block-end:16px}"]})}return le})(),data:{resourceLink:"Localization"}}]},{path:"examples",loadChildren:()=>l.e(853).then(l.bind(l,10853)).then(le=>le.EXAMPLE_ROUTES)}];(0,n.SmG)(),(0,i.EO)(s),(0,ps.B8)(Fo,{providers:[(0,n.oKB)(ps.Bb,yn.YN,An.ae$),function Oo(...le){const A=[cn,Ft,gi,{provide:L,useExisting:gi},{provide:he,useFactory:()=>(0,n.WQX)(Un,{optional:!0})??(0,n.WQX)(Ft)},{provide:vn,useValue:Wt,multi:!0},{provide:In,useValue:!0},{provide:We,useClass:ot}];for(const T of le)A.push(...T.\u0275providers);return(0,n.EmA)(A)}(),function Ie(){return(0,n.ngT)("NgEagerAnimations"),[...$]}(),(0,Kn.lh)(Rr,(0,Kn.Ii)({canceledNavigationResolution:"computed"}),(0,Kn.oH)({scrollPositionRestoration:"enabled"})),{provide:n.xe9,useValue:"en-DK"},{provide:i.hb,useClass:i.fw},(0,n.phd)(()=>{(0,n.WQX)(Wn.uF).addIcons([{name:"football",svg:"assets/icons/football.svg"},{name:"umbrella",svg:"assets/icons/umbrella.svg"}])})]}).catch(le=>console.error(le))},58258:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>So});var n=l(40606),i=l(33510),f=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var pt=window.screen;if(pt)return(pt.deviceXDPI||1)/(pt.logicalXDPI||1)}return 1}(),g_textSize=function(pt,Nt,Vt){var Zn,cn=[].concat(Nt),Fn=cn.length,pn=pt.font,Un=0;for(pt.font=Vt.string,Zn=0;ZnVt.right&&(cn|=2),NtVt.bottom&&(cn|=4),cn}function K(pt,Nt){var Fn,pn,Vt=Nt.anchor,cn=pt;return Nt.clamp&&(cn=function H(pt,Nt){for(var Bn,_n,Cn,Vt=pt.x0,cn=pt.y0,Fn=pt.x1,pn=pt.y1,Un=R(Vt,cn,Nt),Zn=R(Fn,pn,Nt);Un|Zn&&!(Un&Zn);)8&(Bn=Un||Zn)?(_n=Vt+(Fn-Vt)*(Nt.top-cn)/(pn-cn),Cn=Nt.top):4&Bn?(_n=Vt+(Fn-Vt)*(Nt.bottom-cn)/(pn-cn),Cn=Nt.bottom):2&Bn?(Cn=cn+(pn-cn)*(Nt.right-Vt)/(Fn-Vt),_n=Nt.right):1&Bn&&(Cn=cn+(pn-cn)*(Nt.left-Vt)/(Fn-Vt),_n=Nt.left),Bn===Un?Un=R(Vt=_n,cn=Cn,Nt):Zn=R(Fn=_n,pn=Cn,Nt);return{x0:Vt,x1:Fn,y0:cn,y1:pn}}(cn,Nt.area)),"start"===Vt?(Fn=cn.x0,pn=cn.y0):"end"===Vt?(Fn=cn.x1,pn=cn.y1):(Fn=(cn.x0+cn.x1)/2,pn=(cn.y0+cn.y1)/2),function x(pt,Nt,Vt,cn,Fn){switch(Fn){case"center":Vt=cn=0;break;case"bottom":Vt=0,cn=1;break;case"right":Vt=1,cn=0;break;case"left":Vt=-1,cn=0;break;case"top":Vt=0,cn=-1;break;case"start":Vt=-Vt,cn=-cn;break;case"end":break;default:Fn*=Math.PI/180,Vt=Math.cos(Fn),cn=Math.sin(Fn)}return{x:pt,y:Nt,vx:Vt,vy:cn}}(Fn,pn,pt.vx,pt.vy,Nt.align)}var L={arc:function(pt,Nt){var Vt=(pt.startAngle+pt.endAngle)/2,cn=Math.cos(Vt),Fn=Math.sin(Vt),pn=pt.innerRadius,Un=pt.outerRadius;return K({x0:pt.x+cn*pn,y0:pt.y+Fn*pn,x1:pt.x+cn*Un,y1:pt.y+Fn*Un,vx:cn,vy:Fn},Nt)},point:function(pt,Nt){var Vt=s(pt,Nt.origin),cn=Vt.x*pt.options.radius,Fn=Vt.y*pt.options.radius;return K({x0:pt.x-cn,y0:pt.y-Fn,x1:pt.x+cn,y1:pt.y+Fn,vx:Vt.x,vy:Vt.y},Nt)},bar:function(pt,Nt){var Vt=s(pt,Nt.origin),cn=pt.x,Fn=pt.y,pn=0,Un=0;return pt.horizontal?(cn=Math.min(pt.x,pt.base),pn=Math.abs(pt.base-pt.x)):(Fn=Math.min(pt.y,pt.base),Un=Math.abs(pt.base-pt.y)),K({x0:cn,y0:Fn+Un,x1:cn+pn,y1:Fn,vx:Vt.x,vy:Vt.y},Nt)},fallback:function(pt,Nt){var Vt=s(pt,Nt.origin);return K({x0:pt.x,y0:pt.y,x1:pt.x+(pt.width||0),y1:pt.y+(pt.height||0),vx:Vt.x,vy:Vt.y},Nt)}},he=function(pt){return Math.round(pt*f)/f};function be(pt,Nt){var Vt=Nt.chart.getDatasetMeta(Nt.datasetIndex).vScale;if(!Vt)return null;if(void 0!==Vt.xCenter&&void 0!==Vt.yCenter)return{x:Vt.xCenter,y:Vt.yCenter};var cn=Vt.getBasePixel();return pt.horizontal?{x:cn,y:null}:{x:null,y:cn}}function Le(pt){return pt instanceof i.Bs?L.arc:pt instanceof i.FN?L.point:pt instanceof i.E8?L.bar:L.fallback}function De(pt,Nt,Vt){var cn=pt.shadowBlur,Fn=Vt.stroked,pn=he(Vt.x),Un=he(Vt.y),Zn=he(Vt.w);Fn&&pt.strokeText(Nt,pn,Un,Zn),Vt.filled&&(cn&&Fn&&(pt.shadowBlur=0),pt.fillText(Nt,pn,Un,Zn),cn&&Fn&&(pt.shadowBlur=cn))}var lt=function(pt,Nt,Vt,cn){var Fn=this;Fn._config=pt,Fn._index=cn,Fn._model=null,Fn._rects=null,Fn._ctx=Nt,Fn._el=Vt};(0,n.h1)(lt.prototype,{_modelize:function(pt,Nt,Vt,cn){var pn=this._index,Un=(0,n.di)((0,n.hd)([Vt.font,{}],cn,pn)),Zn=(0,n.hd)([Vt.color,i.NT.color],cn,pn);return{align:(0,n.hd)([Vt.align,"center"],cn,pn),anchor:(0,n.hd)([Vt.anchor,"center"],cn,pn),area:cn.chart.chartArea,backgroundColor:(0,n.hd)([Vt.backgroundColor,null],cn,pn),borderColor:(0,n.hd)([Vt.borderColor,null],cn,pn),borderRadius:(0,n.hd)([Vt.borderRadius,0],cn,pn),borderWidth:(0,n.hd)([Vt.borderWidth,0],cn,pn),clamp:(0,n.hd)([Vt.clamp,!1],cn,pn),clip:(0,n.hd)([Vt.clip,!1],cn,pn),color:Zn,display:pt,font:Un,lines:Nt,offset:(0,n.hd)([Vt.offset,4],cn,pn),opacity:(0,n.hd)([Vt.opacity,1],cn,pn),origin:be(this._el,cn),padding:(0,n.Lv)((0,n.hd)([Vt.padding,4],cn,pn)),positioner:Le(this._el),rotation:(0,n.hd)([Vt.rotation,0],cn,pn)*(Math.PI/180),size:g_textSize(this._ctx,Nt,Un),textAlign:(0,n.hd)([Vt.textAlign,"start"],cn,pn),textShadowBlur:(0,n.hd)([Vt.textShadowBlur,0],cn,pn),textShadowColor:(0,n.hd)([Vt.textShadowColor,Zn],cn,pn),textStrokeColor:(0,n.hd)([Vt.textStrokeColor,Zn],cn,pn),textStrokeWidth:(0,n.hd)([Vt.textStrokeWidth,0],cn,pn)}},update:function(pt){var Un,Zn,Bn,Nt=this,Vt=null,cn=null,Fn=Nt._index,pn=Nt._config,_n=(0,n.hd)([pn.display,!0],pt,Fn);_n&&(Zn=(0,n.a4)((0,n.E2)(pn.formatter,[Un=pt.dataset.data[Fn],pt]),Un),(Bn=(0,n.Pj)(Zn)?[]:function(pt){var Vt,Nt=[];for(pt=[].concat(pt);pt.length;)"string"==typeof(Vt=pt.pop())?Nt.unshift.apply(Nt,Vt.split("\n")):Array.isArray(Vt)?pt.push.apply(pt,Vt):(0,n.Pj)(pt)||Nt.unshift(""+Vt);return Nt}(Zn)).length&&(cn=function pe(pt){var Nt=pt.borderWidth||0,Vt=pt.padding,cn=pt.size.height,Fn=pt.size.width,pn=-Fn/2,Un=-cn/2;return{frame:{x:pn-Vt.left-Nt,y:Un-Vt.top-Nt,w:Fn+Vt.width+2*Nt,h:cn+Vt.height+2*Nt},text:{x:pn,y:Un,w:Fn,h:cn}}}(Vt=Nt._modelize(_n,Bn,pn,pt)))),Nt._model=Vt,Nt._rects=cn},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(pt,Nt){var Un,cn=pt.ctx,Fn=this._model,pn=this._rects;this.visible()&&(cn.save(),Fn.clip&&(Un=Fn.area,cn.beginPath(),cn.rect(Un.left,Un.top,Un.right-Un.left,Un.bottom-Un.top),cn.clip()),cn.globalAlpha=function(pt,Nt,Vt){return Math.max(pt,Math.min(Nt,Vt))}(0,Fn.opacity,1),cn.translate(he(Nt.x),he(Nt.y)),cn.rotate(Fn.rotation),function je(pt,Nt,Vt){var cn=Vt.backgroundColor,Fn=Vt.borderColor,pn=Vt.borderWidth;!cn&&(!Fn||!pn)||(pt.beginPath(),function ye(pt,Nt,Vt,cn,Fn,pn){var Un=Math.PI/2;if(pn){var Zn=Math.min(pn,Fn/2,cn/2),Bn=Nt+Zn,_n=Vt+Zn,Cn=Nt+cn-Zn,Qt=Vt+Fn-Zn;pt.moveTo(Nt,_n),Bncn.x+cn.w+2||pt.y>cn.y+cn.h+2)},intersects:function(pt){var Fn,pn,Un,Nt=this._points(),Vt=pt._points(),cn=[tt(Nt[0],Nt[1]),tt(Nt[0],Nt[3])];for(this._rotation!==pt._rotation&&cn.push(tt(Vt[0],Vt[1]),tt(Vt[0],Vt[3])),Fn=0;FnBn.getProps([_n],!0)[_n]}),pn=cn.geometry(),Un=Xe(Zn,cn.model(),pn),Fn._box.update(Un,pn,cn.rotation()));(function e(pt,Nt){var Vt,cn,Fn,pn;for(Vt=pt.length-1;Vt>=0;--Vt)for(Fn=pt[Vt].$layout,cn=Vt-1;cn>=0&&Fn._visible;--cn)(pn=pt[cn].$layout)._visible&&Fn._box.intersects(pn._box)&&Nt(Fn,pn)})(pt,function(Bn,_n){var Cn=Bn._hidable,Qt=_n._hidable;Cn&&Qt||Qt?_n._visible=!1:Cn&&(Bn._visible=!1)})}(pt)},lookup:function(pt,Nt){var Vt,cn;for(Vt=pt.length-1;Vt>=0;--Vt)if((cn=pt[Vt].$layout)&&cn._visible&&cn._box.contains(Nt))return pt[Vt];return null},draw:function(pt,Nt){var Vt,cn,Fn,pn,Un,Zn;for(Vt=0,cn=Nt.length;Vt{"use strict";l.d(Z,{t:()=>i});var n=l(21413);class i extends n.B{constructor(g){super(),this._value=g}get value(){return this.getValue()}_subscribe(g){const s=super._subscribe(g);return!s.closed&&g.next(this._value),s}getValue(){const{hasError:g,thrownError:s,_value:x}=this;if(g)throw s;return this._throwIfClosed(),x}next(g){super.next(this._value=g)}}},71985:(ft,Z,l)=>{"use strict";l.d(Z,{c:()=>y});var n=l(47707),i=l(18359),f=l(3494),g=l(71203),s=l(41026),x=l(98071),_=l(49786);let y=(()=>{class R{constructor(K){K&&(this._subscribe=K)}lift(K){const L=new R;return L.source=this,L.operator=K,L}subscribe(K,L,he){const pe=function I(R){return R&&R instanceof n.vU||function M(R){return R&&(0,x.T)(R.next)&&(0,x.T)(R.error)&&(0,x.T)(R.complete)}(R)&&(0,i.Uv)(R)}(K)?K:new n.Ms(K,L,he);return(0,_.Y)(()=>{const{operator:be,source:Le}=this;pe.add(be?be.call(pe,Le):Le?this._subscribe(pe):this._trySubscribe(pe))}),pe}_trySubscribe(K){try{return this._subscribe(K)}catch(L){K.error(L)}}forEach(K,L){return new(L=w(L))((he,pe)=>{const be=new n.Ms({next:Le=>{try{K(Le)}catch(ye){pe(ye),be.unsubscribe()}},error:pe,complete:he});this.subscribe(be)})}_subscribe(K){var L;return null===(L=this.source)||void 0===L?void 0:L.subscribe(K)}[f.s](){return this}pipe(...K){return(0,g.m)(K)(this)}toPromise(K){return new(K=w(K))((L,he)=>{let pe;this.subscribe(be=>pe=be,be=>he(be),()=>L(pe))})}}return R.create=H=>new R(H),R})();function w(R){var H;return null!==(H=R??s.$.Promise)&&void 0!==H?H:Promise}},92771:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>f});var n=l(21413),i=l(86129);class f extends n.B{constructor(s=1/0,x=1/0,_=i.U){super(),this._bufferSize=s,this._windowTime=x,this._timestampProvider=_,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=x===1/0,this._bufferSize=Math.max(1,s),this._windowTime=Math.max(1,x)}next(s){const{isStopped:x,_buffer:_,_infiniteTimeWindow:y,_timestampProvider:w,_windowTime:M}=this;x||(_.push(s),!y&&_.push(w.now()+M)),this._trimBuffer(),super.next(s)}_subscribe(s){this._throwIfClosed(),this._trimBuffer();const x=this._innerSubscribe(s),{_infiniteTimeWindow:_,_buffer:y}=this,w=y.slice();for(let M=0;M{"use strict";l.d(Z,{B:()=>_});var n=l(71985),i=l(18359);const g=(0,l(81853).L)(w=>function(){w(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var s=l(57908),x=l(49786);let _=(()=>{class w extends n.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(I){const R=new y(this,this);return R.operator=I,R}_throwIfClosed(){if(this.closed)throw new g}next(I){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const R of this.currentObservers)R.next(I)}})}error(I){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=I;const{observers:R}=this;for(;R.length;)R.shift().error(I)}})}complete(){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:I}=this;for(;I.length;)I.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var I;return(null===(I=this.observers)||void 0===I?void 0:I.length)>0}_trySubscribe(I){return this._throwIfClosed(),super._trySubscribe(I)}_subscribe(I){return this._throwIfClosed(),this._checkFinalizedStatuses(I),this._innerSubscribe(I)}_innerSubscribe(I){const{hasError:R,isStopped:H,observers:K}=this;return R||H?i.Kn:(this.currentObservers=null,K.push(I),new i.yU(()=>{this.currentObservers=null,(0,s.o)(K,I)}))}_checkFinalizedStatuses(I){const{hasError:R,thrownError:H,isStopped:K}=this;R?I.error(H):K&&I.complete()}asObservable(){const I=new n.c;return I.source=this,I}}return w.create=(M,I)=>new y(M,I),w})();class y extends _{constructor(M,I){super(),this.destination=M,this.source=I}next(M){var I,R;null===(R=null===(I=this.destination)||void 0===I?void 0:I.next)||void 0===R||R.call(I,M)}error(M){var I,R;null===(R=null===(I=this.destination)||void 0===I?void 0:I.error)||void 0===R||R.call(I,M)}complete(){var M,I;null===(I=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===I||I.call(M)}_subscribe(M){var I,R;return null!==(R=null===(I=this.source)||void 0===I?void 0:I.subscribe(M))&&void 0!==R?R:i.Kn}}},47707:(ft,Z,l)=>{"use strict";l.d(Z,{Ms:()=>he,vU:()=>R});var n=l(98071),i=l(18359),f=l(41026),g=l(45334),s=l(85343);const x=w("C",void 0,void 0);function w(je,ke,De){return{kind:je,value:ke,error:De}}var M=l(19270),I=l(49786);class R extends i.yU{constructor(ke){super(),this.isStopped=!1,ke?(this.destination=ke,(0,i.Uv)(ke)&&ke.add(this)):this.destination=ye}static create(ke,De,Je){return new he(ke,De,Je)}next(ke){this.isStopped?Le(function y(je){return w("N",je,void 0)}(ke),this):this._next(ke)}error(ke){this.isStopped?Le(function _(je){return w("E",void 0,je)}(ke),this):(this.isStopped=!0,this._error(ke))}complete(){this.isStopped?Le(x,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ke){this.destination.next(ke)}_error(ke){try{this.destination.error(ke)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const H=Function.prototype.bind;function K(je,ke){return H.call(je,ke)}class L{constructor(ke){this.partialObserver=ke}next(ke){const{partialObserver:De}=this;if(De.next)try{De.next(ke)}catch(Je){pe(Je)}}error(ke){const{partialObserver:De}=this;if(De.error)try{De.error(ke)}catch(Je){pe(Je)}else pe(ke)}complete(){const{partialObserver:ke}=this;if(ke.complete)try{ke.complete()}catch(De){pe(De)}}}class he extends R{constructor(ke,De,Je){let lt;if(super(),(0,n.T)(ke)||!ke)lt={next:ke??void 0,error:De??void 0,complete:Je??void 0};else{let Mt;this&&f.$.useDeprecatedNextContext?(Mt=Object.create(ke),Mt.unsubscribe=()=>this.unsubscribe(),lt={next:ke.next&&K(ke.next,Mt),error:ke.error&&K(ke.error,Mt),complete:ke.complete&&K(ke.complete,Mt)}):lt=ke}this.destination=new L(lt)}}function pe(je){f.$.useDeprecatedSynchronousErrorHandling?(0,I.l)(je):(0,g.m)(je)}function Le(je,ke){const{onStoppedNotification:De}=f.$;De&&M.f.setTimeout(()=>De(je,ke))}const ye={closed:!0,next:s.l,error:function be(je){throw je},complete:s.l}},18359:(ft,Z,l)=>{"use strict";l.d(Z,{Kn:()=>x,yU:()=>s,Uv:()=>_});var n=l(98071);const f=(0,l(81853).L)(w=>function(I){w(this),this.message=I?`${I.length} errors occurred during unsubscription:\n${I.map((R,H)=>`${H+1}) ${R.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=I});var g=l(57908);class s{constructor(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let M;if(!this.closed){this.closed=!0;const{_parentage:I}=this;if(I)if(this._parentage=null,Array.isArray(I))for(const K of I)K.remove(this);else I.remove(this);const{initialTeardown:R}=this;if((0,n.T)(R))try{R()}catch(K){M=K instanceof f?K.errors:[K]}const{_finalizers:H}=this;if(H){this._finalizers=null;for(const K of H)try{y(K)}catch(L){M=M??[],L instanceof f?M=[...M,...L.errors]:M.push(L)}}if(M)throw new f(M)}}add(M){var I;if(M&&M!==this)if(this.closed)y(M);else{if(M instanceof s){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._finalizers=null!==(I=this._finalizers)&&void 0!==I?I:[]).push(M)}}_hasParent(M){const{_parentage:I}=this;return I===M||Array.isArray(I)&&I.includes(M)}_addParent(M){const{_parentage:I}=this;this._parentage=Array.isArray(I)?(I.push(M),I):I?[I,M]:M}_removeParent(M){const{_parentage:I}=this;I===M?this._parentage=null:Array.isArray(I)&&(0,g.o)(I,M)}remove(M){const{_finalizers:I}=this;I&&(0,g.o)(I,M),M instanceof s&&M._removeParent(this)}}s.EMPTY=(()=>{const w=new s;return w.closed=!0,w})();const x=s.EMPTY;function _(w){return w instanceof s||w&&"closed"in w&&(0,n.T)(w.remove)&&(0,n.T)(w.add)&&(0,n.T)(w.unsubscribe)}function y(w){(0,n.T)(w)?w():w.unsubscribe()}},41026:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},30017:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>x});var n=l(71985),i=l(18359),f=l(99898),g=l(54360),s=l(39974);class x extends n.c{constructor(y,w){super(),this.source=y,this.subjectFactory=w,this._subject=null,this._refCount=0,this._connection=null,(0,s.S)(y)&&(this.lift=y.lift)}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new i.yU;const w=this.getSubject();y.add(this.source.subscribe((0,g._)(w,void 0,()=>{this._teardown(),w.complete()},M=>{this._teardown(),w.error(M)},()=>this._teardown()))),y.closed&&(this._connection=null,y=i.yU.EMPTY)}return y}refCount(){return(0,f.B)()(this)}}},84572:(ft,Z,l)=>{"use strict";l.d(Z,{z:()=>M});var n=l(71985),i=l(93073),f=l(86648),g=l(33669),s=l(6450),x=l(9326),_=l(58496),y=l(54360),w=l(45225);function M(...H){const K=(0,x.lI)(H),L=(0,x.ms)(H),{args:he,keys:pe}=(0,i.D)(H);if(0===he.length)return(0,f.H)([],K);const be=new n.c(function I(H,K,L=g.D){return he=>{R(K,()=>{const{length:pe}=H,be=new Array(pe);let Le=pe,ye=pe;for(let je=0;je{const ke=(0,f.H)(H[je],K);let De=!1;ke.subscribe((0,y._)(he,Je=>{be[je]=Je,De||(De=!0,ye--),ye||he.next(L(be.slice()))},()=>{--Le||he.complete()}))},he)},he)}}(he,K,pe?Le=>(0,_.e)(pe,Le):g.D));return L?be.pipe((0,s.I)(L)):be}function R(H,K,L){H?(0,w.N)(L,H,K):K()}},28793:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>s});var n=l(26365),f=l(9326),g=l(86648);function s(...x){return function i(){return(0,n.U)(1)}()((0,g.H)(x,(0,f.lI)(x)))}},983:(ft,Z,l)=>{"use strict";l.d(Z,{w:()=>i});const i=new(l(71985).c)(s=>s.complete())},86648:(ft,Z,l)=>{"use strict";l.d(Z,{H:()=>Je});var n=l(58750),i=l(45225),f=l(39974),g=l(54360);function s(lt,Mt=0){return(0,f.N)((Bt,et)=>{Bt.subscribe((0,g._)(et,sn=>(0,i.N)(et,lt,()=>et.next(sn),Mt),()=>(0,i.N)(et,lt,()=>et.complete(),Mt),sn=>(0,i.N)(et,lt,()=>et.error(sn),Mt)))})}function x(lt,Mt=0){return(0,f.N)((Bt,et)=>{et.add(lt.schedule(()=>Bt.subscribe(et),Mt))})}var w=l(71985),I=l(4761),R=l(98071);function K(lt,Mt){if(!lt)throw new Error("Iterable cannot be null");return new w.c(Bt=>{(0,i.N)(Bt,Mt,()=>{const et=lt[Symbol.asyncIterator]();(0,i.N)(Bt,Mt,()=>{et.next().then(sn=>{sn.done?Bt.complete():Bt.next(sn.value)})},0,!0)})})}var L=l(55055),he=l(59858),pe=l(47441),be=l(85397),Le=l(37953),ye=l(50591),je=l(15196);function Je(lt,Mt){return Mt?function De(lt,Mt){if(null!=lt){if((0,L.l)(lt))return function _(lt,Mt){return(0,n.Tg)(lt).pipe(x(Mt),s(Mt))}(lt,Mt);if((0,pe.X)(lt))return function M(lt,Mt){return new w.c(Bt=>{let et=0;return Mt.schedule(function(){et===lt.length?Bt.complete():(Bt.next(lt[et++]),Bt.closed||this.schedule())})})}(lt,Mt);if((0,he.y)(lt))return function y(lt,Mt){return(0,n.Tg)(lt).pipe(x(Mt),s(Mt))}(lt,Mt);if((0,Le.T)(lt))return K(lt,Mt);if((0,be.x)(lt))return function H(lt,Mt){return new w.c(Bt=>{let et;return(0,i.N)(Bt,Mt,()=>{et=lt[I.l](),(0,i.N)(Bt,Mt,()=>{let sn,tt;try{({value:sn,done:tt}=et.next())}catch(Ct){return void Bt.error(Ct)}tt?Bt.complete():Bt.next(sn)},0,!0)}),()=>(0,R.T)(et?.return)&&et.return()})}(lt,Mt);if((0,je.U)(lt))return function ke(lt,Mt){return K((0,je.C)(lt),Mt)}(lt,Mt)}throw(0,ye.L)(lt)}(lt,Mt):(0,n.Tg)(lt)}},33726:(ft,Z,l)=>{"use strict";l.d(Z,{R:()=>M});var n=l(58750),i=l(71985),f=l(31397),g=l(47441),s=l(98071),x=l(6450);const _=["addListener","removeListener"],y=["addEventListener","removeEventListener"],w=["on","off"];function M(L,he,pe,be){if((0,s.T)(pe)&&(be=pe,pe=void 0),be)return M(L,he,pe).pipe((0,x.I)(be));const[Le,ye]=function K(L){return(0,s.T)(L.addEventListener)&&(0,s.T)(L.removeEventListener)}(L)?y.map(je=>ke=>L[je](he,ke,pe)):function R(L){return(0,s.T)(L.addListener)&&(0,s.T)(L.removeListener)}(L)?_.map(I(L,he)):function H(L){return(0,s.T)(L.on)&&(0,s.T)(L.off)}(L)?w.map(I(L,he)):[];if(!Le&&(0,g.X)(L))return(0,f.Z)(je=>M(je,he,pe))((0,n.Tg)(L));if(!Le)throw new TypeError("Invalid event target");return new i.c(je=>{const ke=(...De)=>je.next(1ye(ke)})}function I(L,he){return pe=>be=>L[pe](he,be)}},58750:(ft,Z,l)=>{"use strict";l.d(Z,{Tg:()=>H});var n=l(31635),i=l(47441),f=l(59858),g=l(71985),s=l(55055),x=l(37953),_=l(50591),y=l(85397),w=l(15196),M=l(98071),I=l(45334),R=l(3494);function H(je){if(je instanceof g.c)return je;if(null!=je){if((0,s.l)(je))return function K(je){return new g.c(ke=>{const De=je[R.s]();if((0,M.T)(De.subscribe))return De.subscribe(ke);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(je);if((0,i.X)(je))return function L(je){return new g.c(ke=>{for(let De=0;De{je.then(De=>{ke.closed||(ke.next(De),ke.complete())},De=>ke.error(De)).then(null,I.m)})}(je);if((0,x.T)(je))return be(je);if((0,y.x)(je))return function pe(je){return new g.c(ke=>{for(const De of je)if(ke.next(De),ke.closed)return;ke.complete()})}(je);if((0,w.U)(je))return function Le(je){return be((0,w.C)(je))}(je)}throw(0,_.L)(je)}function be(je){return new g.c(ke=>{(function ye(je,ke){var De,Je,lt,Mt;return(0,n.sH)(this,void 0,void 0,function*(){try{for(De=(0,n.xN)(je);!(Je=yield De.next()).done;)if(ke.next(Je.value),ke.closed)return}catch(Bt){lt={error:Bt}}finally{try{Je&&!Je.done&&(Mt=De.return)&&(yield Mt.call(De))}finally{if(lt)throw lt.error}}ke.complete()})})(je,ke).catch(De=>ke.error(De))})}},7673:(ft,Z,l)=>{"use strict";l.d(Z,{of:()=>f});var n=l(9326),i=l(86648);function f(...g){const s=(0,n.lI)(g);return(0,i.H)(g,s)}},41584:(ft,Z,l)=>{"use strict";l.d(Z,{O:()=>s});var n=l(71985),i=l(43236),f=l(79470);function s(x=0,_,y=i.b){let w=-1;return null!=_&&((0,f.m)(_)?y=_:w=_),new n.c(M=>{let I=function g(x){return x instanceof Date&&!isNaN(x)}(x)?+x-y.now():x;I<0&&(I=0);let R=0;return y.schedule(function(){M.closed||(M.next(R++),0<=w?this.schedule(void 0,w):M.complete())},I)})}},54360:(ft,Z,l)=>{"use strict";l.d(Z,{_:()=>i});var n=l(47707);function i(g,s,x,_,y){return new f(g,s,x,_,y)}class f extends n.vU{constructor(s,x,_,y,w,M){super(s),this.onFinalize=w,this.shouldUnsubscribe=M,this._next=x?function(I){try{x(I)}catch(R){s.error(R)}}:super._next,this._error=y?function(I){try{y(I)}catch(R){s.error(R)}finally{this.unsubscribe()}}:super._error,this._complete=_?function(){try{_()}catch(I){s.error(I)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var s;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:x}=this;super.unsubscribe(),!x&&(null===(s=this.onFinalize)||void 0===s||s.call(this))}}}},70274:(ft,Z,l)=>{"use strict";l.d(Z,{H:()=>f});var n=l(31397),i=l(98071);function f(g,s){return(0,i.T)(s)?(0,n.Z)(g,s,1):(0,n.Z)(g,1)}},70152:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>g});var n=l(43236),i=l(39974),f=l(54360);function g(s,x=n.E){return(0,i.N)((_,y)=>{let w=null,M=null,I=null;const R=()=>{if(w){w.unsubscribe(),w=null;const K=M;M=null,y.next(K)}};function H(){const K=I+s,L=x.now();if(L{M=K,I=x.now(),w||(w=x.schedule(H,s),y.add(w))},()=>{R(),y.complete()},void 0,()=>{M=w=null}))})}},39901:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>f});var n=l(39974),i=l(54360);function f(g){return(0,n.N)((s,x)=>{let _=!1;s.subscribe((0,i._)(x,y=>{_=!0,x.next(y)},()=>{_||x.next(g),x.complete()}))})}},23294:(ft,Z,l)=>{"use strict";l.d(Z,{F:()=>g});var n=l(33669),i=l(39974),f=l(54360);function g(x,_=n.D){return x=x??s,(0,i.N)((y,w)=>{let M,I=!0;y.subscribe((0,f._)(w,R=>{const H=_(R);(I||!x(M,H))&&(I=!1,M=H,w.next(R))}))})}function s(x,_){return x===_}},5964:(ft,Z,l)=>{"use strict";l.d(Z,{p:()=>f});var n=l(39974),i=l(54360);function f(g,s){return(0,n.N)((x,_)=>{let y=0;x.subscribe((0,i._)(_,w=>g.call(s,w,y++)&&_.next(w)))})}},70980:(ft,Z,l)=>{"use strict";l.d(Z,{j:()=>i});var n=l(39974);function i(f){return(0,n.N)((g,s)=>{try{g.subscribe(s)}finally{s.add(f)}})}},61594:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>_});var n=l(9350),i=l(5964),f=l(96697),g=l(39901),s=l(93774),x=l(33669);function _(y,w){const M=arguments.length>=2;return I=>I.pipe(y?(0,i.p)((R,H)=>y(R,H,I)):x.D,(0,f.s)(1),M?(0,g.U)(w):(0,s.v)(()=>new n.G))}},96354:(ft,Z,l)=>{"use strict";l.d(Z,{T:()=>f});var n=l(39974),i=l(54360);function f(g,s){return(0,n.N)((x,_)=>{let y=0;x.subscribe((0,i._)(_,w=>{_.next(g.call(s,w,y++))}))})}},26365:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>f});var n=l(31397),i=l(33669);function f(g=1/0){return(0,n.Z)(i.D,g)}},31397:(ft,Z,l)=>{"use strict";l.d(Z,{Z:()=>y});var n=l(96354),i=l(58750),f=l(39974),g=l(45225),s=l(54360),_=l(98071);function y(w,M,I=1/0){return(0,_.T)(M)?y((R,H)=>(0,n.T)((K,L)=>M(R,K,H,L))((0,i.Tg)(w(R,H))),I):("number"==typeof M&&(I=M),(0,f.N)((R,H)=>function x(w,M,I,R,H,K,L,he){const pe=[];let be=0,Le=0,ye=!1;const je=()=>{ye&&!pe.length&&!be&&M.complete()},ke=Je=>be{K&&M.next(Je),be++;let lt=!1;(0,i.Tg)(I(Je,Le++)).subscribe((0,s._)(M,Mt=>{H?.(Mt),K?ke(Mt):M.next(Mt)},()=>{lt=!0},void 0,()=>{if(lt)try{for(be--;pe.length&&beDe(Mt)):De(Mt)}je()}catch(Mt){M.error(Mt)}}))};return w.subscribe((0,s._)(M,ke,()=>{ye=!0,je()})),()=>{he?.()}}(R,H,w,I)))}},13946:(ft,Z,l)=>{"use strict";l.d(Z,{J:()=>f});var n=l(39974),i=l(54360);function f(){return(0,n.N)((g,s)=>{let x,_=!1;g.subscribe((0,i._)(s,y=>{const w=x;x=y,_&&s.next([w,y]),_=!0}))})}},99898:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>f});var n=l(39974),i=l(54360);function f(){return(0,n.N)((g,s)=>{let x=null;g._refCount++;const _=(0,i._)(s,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(x=null);const y=g._connection,w=x;x=null,y&&(!w||y===w)&&y.unsubscribe(),s.unsubscribe()});g.subscribe(_),_.closed||(x=g.connect())})}},99172:(ft,Z,l)=>{"use strict";l.d(Z,{Z:()=>g});var n=l(28793),i=l(9326),f=l(39974);function g(...s){const x=(0,i.lI)(s);return(0,f.N)((_,y)=>{(x?(0,n.x)(s,_,x):(0,n.x)(s,_)).subscribe(y)})}},25558:(ft,Z,l)=>{"use strict";l.d(Z,{n:()=>g});var n=l(58750),i=l(39974),f=l(54360);function g(s,x){return(0,i.N)((_,y)=>{let w=null,M=0,I=!1;const R=()=>I&&!w&&y.complete();_.subscribe((0,f._)(y,H=>{w?.unsubscribe();let K=0;const L=M++;(0,n.Tg)(s(H,L)).subscribe(w=(0,f._)(y,he=>y.next(x?x(H,he,L,K++):he),()=>{w=null,R()}))},()=>{I=!0,R()}))})}},96697:(ft,Z,l)=>{"use strict";l.d(Z,{s:()=>g});var n=l(983),i=l(39974),f=l(54360);function g(s){return s<=0?()=>n.w:(0,i.N)((x,_)=>{let y=0;x.subscribe((0,f._)(_,w=>{++y<=s&&(_.next(w),s<=y&&_.complete())}))})}},56977:(ft,Z,l)=>{"use strict";l.d(Z,{Q:()=>s});var n=l(39974),i=l(54360),f=l(58750),g=l(85343);function s(x){return(0,n.N)((_,y)=>{(0,f.Tg)(x).subscribe((0,i._)(y,()=>y.complete(),g.l)),!y.closed&&_.subscribe(y)})}},93774:(ft,Z,l)=>{"use strict";l.d(Z,{v:()=>g});var n=l(9350),i=l(39974),f=l(54360);function g(x=s){return(0,i.N)((_,y)=>{let w=!1;_.subscribe((0,f._)(y,M=>{w=!0,y.next(M)},()=>w?y.complete():y.error(x())))})}function s(){return new n.G}},96780:(ft,Z,l)=>{"use strict";l.d(Z,{R:()=>s});var n=l(18359);class i extends n.yU{constructor(_,y){super()}schedule(_,y=0){return this}}const f={setInterval(x,_,...y){const{delegate:w}=f;return w?.setInterval?w.setInterval(x,_,...y):setInterval(x,_,...y)},clearInterval(x){const{delegate:_}=f;return(_?.clearInterval||clearInterval)(x)},delegate:void 0};var g=l(57908);class s extends i{constructor(_,y){super(_,y),this.scheduler=_,this.work=y,this.pending=!1}schedule(_,y=0){var w;if(this.closed)return this;this.state=_;const M=this.id,I=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(I,M,y)),this.pending=!0,this.delay=y,this.id=null!==(w=this.id)&&void 0!==w?w:this.requestAsyncId(I,this.id,y),this}requestAsyncId(_,y,w=0){return f.setInterval(_.flush.bind(_,this),w)}recycleAsyncId(_,y,w=0){if(null!=w&&this.delay===w&&!1===this.pending)return y;null!=y&&f.clearInterval(y)}execute(_,y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const w=this._execute(_,y);if(w)return w;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(_,y){let M,w=!1;try{this.work(_)}catch(I){w=!0,M=I||new Error("Scheduled action threw falsy error")}if(w)return this.unsubscribe(),M}unsubscribe(){if(!this.closed){const{id:_,scheduler:y}=this,{actions:w}=y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.o)(w,this),null!=_&&(this.id=this.recycleAsyncId(y,_,null)),this.delay=null,super.unsubscribe()}}}},39687:(ft,Z,l)=>{"use strict";l.d(Z,{q:()=>f});var n=l(86129);class i{constructor(s,x=i.now){this.schedulerActionCtor=s,this.now=x}schedule(s,x=0,_){return new this.schedulerActionCtor(this,s).schedule(_,x)}}i.now=n.U.now;class f extends i{constructor(s,x=i.now){super(s,x),this.actions=[],this._active=!1}flush(s){const{actions:x}=this;if(this._active)return void x.push(s);let _;this._active=!0;do{if(_=s.execute(s.state,s.delay))break}while(s=x.shift());if(this._active=!1,_){for(;s=x.shift();)s.unsubscribe();throw _}}}},43236:(ft,Z,l)=>{"use strict";l.d(Z,{E:()=>f,b:()=>g});var n=l(96780);const f=new(l(39687).q)(n.R),g=f},86129:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},19270:(ft,Z,l)=>{"use strict";l.d(Z,{f:()=>n});const n={setTimeout(i,f,...g){const{delegate:s}=n;return s?.setTimeout?s.setTimeout(i,f,...g):setTimeout(i,f,...g)},clearTimeout(i){const{delegate:f}=n;return(f?.clearTimeout||clearTimeout)(i)},delegate:void 0}},4761:(ft,Z,l)=>{"use strict";l.d(Z,{l:()=>i});const i=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(ft,Z,l)=>{"use strict";l.d(Z,{s:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>i});const i=(0,l(81853).L)(f=>function(){f(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(ft,Z,l)=>{"use strict";l.d(Z,{R0:()=>x,lI:()=>s,ms:()=>g});var n=l(98071),i=l(79470);function f(_){return _[_.length-1]}function g(_){return(0,n.T)(f(_))?_.pop():void 0}function s(_){return(0,i.m)(f(_))?_.pop():void 0}function x(_,y){return"number"==typeof f(_)?_.pop():y}},93073:(ft,Z,l)=>{"use strict";l.d(Z,{D:()=>s});const{isArray:n}=Array,{getPrototypeOf:i,prototype:f,keys:g}=Object;function s(_){if(1===_.length){const y=_[0];if(n(y))return{args:y,keys:null};if(function x(_){return _&&"object"==typeof _&&i(_)===f}(y)){const w=g(y);return{args:w.map(M=>y[M]),keys:w}}}return{args:_,keys:null}}},57908:(ft,Z,l)=>{"use strict";function n(i,f){if(i){const g=i.indexOf(f);0<=g&&i.splice(g,1)}}l.d(Z,{o:()=>n})},81853:(ft,Z,l)=>{"use strict";function n(i){const g=i(s=>{Error.call(s),s.stack=(new Error).stack});return g.prototype=Object.create(Error.prototype),g.prototype.constructor=g,g}l.d(Z,{L:()=>n})},58496:(ft,Z,l)=>{"use strict";function n(i,f){return i.reduce((g,s,x)=>(g[s]=f[x],g),{})}l.d(Z,{e:()=>n})},49786:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>f,l:()=>g});var n=l(41026);let i=null;function f(s){if(n.$.useDeprecatedSynchronousErrorHandling){const x=!i;if(x&&(i={errorThrown:!1,error:null}),s(),x){const{errorThrown:_,error:y}=i;if(i=null,_)throw y}}else s()}function g(s){n.$.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=s)}},45225:(ft,Z,l)=>{"use strict";function n(i,f,g,s=0,x=!1){const _=f.schedule(function(){g(),x?i.add(this.schedule(null,s)):this.unsubscribe()},s);if(i.add(_),!x)return _}l.d(Z,{N:()=>n})},33669:(ft,Z,l)=>{"use strict";function n(i){return i}l.d(Z,{D:()=>n})},47441:(ft,Z,l)=>{"use strict";l.d(Z,{X:()=>n});const n=i=>i&&"number"==typeof i.length&&"function"!=typeof i},37953:(ft,Z,l)=>{"use strict";l.d(Z,{T:()=>i});var n=l(98071);function i(f){return Symbol.asyncIterator&&(0,n.T)(f?.[Symbol.asyncIterator])}},98071:(ft,Z,l)=>{"use strict";function n(i){return"function"==typeof i}l.d(Z,{T:()=>n})},55055:(ft,Z,l)=>{"use strict";l.d(Z,{l:()=>f});var n=l(3494),i=l(98071);function f(g){return(0,i.T)(g[n.s])}},85397:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>f});var n=l(4761),i=l(98071);function f(g){return(0,i.T)(g?.[n.l])}},74402:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>f});var n=l(71985),i=l(98071);function f(g){return!!g&&(g instanceof n.c||(0,i.T)(g.lift)&&(0,i.T)(g.subscribe))}},59858:(ft,Z,l)=>{"use strict";l.d(Z,{y:()=>i});var n=l(98071);function i(f){return(0,n.T)(f?.then)}},15196:(ft,Z,l)=>{"use strict";l.d(Z,{C:()=>f,U:()=>g});var n=l(31635),i=l(98071);function f(s){return(0,n.AQ)(this,arguments,function*(){const _=s.getReader();try{for(;;){const{value:y,done:w}=yield(0,n.N3)(_.read());if(w)return yield(0,n.N3)(void 0);yield yield(0,n.N3)(y)}}finally{_.releaseLock()}})}function g(s){return(0,i.T)(s?.getReader)}},79470:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>i});var n=l(98071);function i(f){return f&&(0,n.T)(f.schedule)}},39974:(ft,Z,l)=>{"use strict";l.d(Z,{N:()=>f,S:()=>i});var n=l(98071);function i(g){return(0,n.T)(g?.lift)}function f(g){return s=>{if(i(s))return s.lift(function(x){try{return g(x,this)}catch(_){this.error(_)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(ft,Z,l)=>{"use strict";l.d(Z,{I:()=>g});var n=l(96354);const{isArray:i}=Array;function g(s){return(0,n.T)(x=>function f(s,x){return i(x)?s(...x):s(x)}(s,x))}},85343:(ft,Z,l)=>{"use strict";function n(){}l.d(Z,{l:()=>n})},71203:(ft,Z,l)=>{"use strict";l.d(Z,{F:()=>i,m:()=>f});var n=l(33669);function i(...g){return f(g)}function f(g){return 0===g.length?n.D:1===g.length?g[0]:function(x){return g.reduce((_,y)=>y(_),x)}}},45334:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>f});var n=l(41026),i=l(19270);function f(g){i.f.setTimeout(()=>{const{onUnhandledError:s}=n.$;if(!s)throw g;s(g)})}},50591:(ft,Z,l)=>{"use strict";function n(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(Z,{L:()=>n})},88996:(ft,Z,l)=>{var n={"./ion-accordion_2.entry.js":[32375,2076,2375],"./ion-action-sheet.entry.js":[18814,2076,8814],"./ion-alert.entry.js":[45222,2076,5222],"./ion-app_8.entry.js":[77720,2076,7720],"./ion-avatar_3.entry.js":[81049,1049],"./ion-back-button.entry.js":[93162,2076,3162],"./ion-backdrop.entry.js":[77240,7240],"./ion-breadcrumb_2.entry.js":[68314,2076,8314],"./ion-button_2.entry.js":[64591,4591],"./ion-card_5.entry.js":[48584,8584],"./ion-checkbox.entry.js":[83511,3511],"./ion-chip.entry.js":[56024,6024],"./ion-col_3.entry.js":[25100,5100],"./ion-datetime-button.entry.js":[67428,1293,7428],"./ion-datetime_3.entry.js":[32885,1293,2076,2885],"./ion-fab_3.entry.js":[14463,2076,4463],"./ion-img.entry.js":[74183,4183],"./ion-infinite-scroll_2.entry.js":[44171,2076,4171],"./ion-input-password-toggle.entry.js":[6521,2076,6521],"./ion-input.entry.js":[9344,2076,9344],"./ion-item-option_3.entry.js":[25949,2076,5949],"./ion-item_8.entry.js":[73506,2076,3506],"./ion-loading.entry.js":[97372,2076,7372],"./ion-menu_3.entry.js":[82075,2076,2075],"./ion-modal.entry.js":[40441,2076,441],"./ion-nav_2.entry.js":[45712,2076,5712],"./ion-picker-column-option.entry.js":[89013,9013],"./ion-picker-column.entry.js":[51459,2076,1459],"./ion-picker.entry.js":[16840,6840],"./ion-popover.entry.js":[96433,2076,6433],"./ion-progress-bar.entry.js":[59977,9977],"./ion-radio_2.entry.js":[8066,2076,8066],"./ion-range.entry.js":[98477,2076,8477],"./ion-refresher_2.entry.js":[35197,2076,5197],"./ion-reorder_2.entry.js":[7030,2076,7030],"./ion-ripple-effect.entry.js":[80964,964],"./ion-route_4.entry.js":[38970,8970],"./ion-searchbar.entry.js":[48193,2076,8193],"./ion-segment_2.entry.js":[62560,2076,2560],"./ion-select_3.entry.js":[27076,2076,7076],"./ion-spinner.entry.js":[28805,2076,8805],"./ion-split-pane.entry.js":[95887,5887],"./ion-tab-bar_2.entry.js":[84406,2076,4406],"./ion-tab_2.entry.js":[91102,1102],"./ion-text.entry.js":[41577,1577],"./ion-textarea.entry.js":[52348,2076,2348],"./ion-toast.entry.js":[62415,2076,2415],"./ion-toggle.entry.js":[3814,2076,3814]};function i(f){if(!l.o(n,f))return Promise.resolve().then(()=>{var x=new Error("Cannot find module '"+f+"'");throw x.code="MODULE_NOT_FOUND",x});var g=n[f],s=g[0];return Promise.all(g.slice(1).map(l.e)).then(()=>l(s))}i.keys=()=>Object.keys(n),i.id=88996,ft.exports=i},54140:ft=>{function Z(l){return Promise.resolve().then(()=>{var n=new Error("Cannot find module '"+l+"'");throw n.code="MODULE_NOT_FOUND",n})}Z.keys=()=>[],Z.resolve=Z,Z.id=54140,ft.exports=Z},44354:(ft,Z,l)=>{"use strict";l.d(Z,{A:()=>f});const n={brandColors:{primary:"#00e89a",secondary:"#005c3c",tertiary:"#01352c"},decorationColorsBlue:{10:"#abe3f2",20:"#88d7ec",30:"#66cbe7",40:"#43c0e1",50:"#21b4dc",60:"#1c98ba",70:"#177c98",80:"#126076",90:"#0d4454"},decorationColorsGreen:{10:"#b9efd2",20:"#9de8c0",30:"#80e1ae",40:"#64db9b",50:"#47d489",60:"#3cb374",70:"#31925f",80:"#267149",90:"#1b5134"},decorationColorsPurple:{10:"#e4d4e7",20:"#d9c3de",30:"#ceb1d4",40:"#c3a0cb",50:"#b88ec1",60:"#9b78a3",70:"#7f6285",80:"#624c67",90:"#463649"},decorationColorsRed:{10:"#f7bec0",20:"#f3a4a6",30:"#f0898c",40:"#ec6f72",50:"#e95458",60:"#c5474a",70:"#a13a3d",80:"#7d2d2f",90:"#592021"},decorationColorsYellow:{10:"#fde8ae",20:"#fddf8d",30:"#fcd66c",40:"#fccc4b",50:"#fbc32a",60:"#d4a523",70:"#ad871d",80:"#866816",90:"#5f4a10"},decorationColors:{blue:{10:"#abe3f2",20:"#88d7ec",30:"#66cbe7",40:"#43c0e1",50:"#21b4dc",60:"#1c98ba",70:"#177c98",80:"#126076",90:"#0d4454"},green:{10:"#b9efd2",20:"#9de8c0",30:"#80e1ae",40:"#64db9b",50:"#47d489",60:"#3cb374",70:"#31925f",80:"#267149",90:"#1b5134"},purple:{10:"#e4d4e7",20:"#d9c3de",30:"#ceb1d4",40:"#c3a0cb",50:"#b88ec1",60:"#9b78a3",70:"#7f6285",80:"#624c67",90:"#463649"},red:{10:"#f7bec0",20:"#f3a4a6",30:"#f0898c",40:"#ec6f72",50:"#e95458",60:"#c5474a",70:"#a13a3d",80:"#7d2d2f",90:"#592021"},yellow:{10:"#fde8ae",20:"#fddf8d",30:"#fcd66c",40:"#fccc4b",50:"#fbc32a",60:"#d4a523",70:"#ad871d",80:"#866816",90:"#5f4a10"}},notificationColors:{success:"#47d489",warning:"#fbc32a",danger:"#e95458"},systemColors:{backgroundColor:"#f6f6f6",white:"#fff",whiteOverlay:"rgba(255, 255, 255, 0.15)",light:"#f2f2f2",semiLight:"#ebebeb",medium:"#d1d1d1",semiDark:"#8e8e8e",dark:"#353535",darkOverlay:"rgba(28, 28, 28, 0.06)",black:"#1c1c1c"},textColors:{white:"#fff",semiDark:"#707070",black:"#1c1c1c",danger:"#ee0d0d",positive:"#267149",negative:"#a13a3d"},whiteOverlayColors:{10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",30:"rgba(255, 255, 255, 0.3)",40:"rgba(255, 255, 255, 0.4)",50:"rgba(255, 255, 255, 0.5)"},darkOverlayColors:{10:"rgba(28, 28, 28, 0.1)",20:"rgba(28, 28, 28, 0.2)",30:"rgba(28, 28, 28, 0.3)",40:"rgba(28, 28, 28, 0.4)",50:"rgba(28, 28, 28, 0.5)"},focusRingColor:"rgb(77, 144, 254)",mainColors:{primary:"#00e89a",secondary:"#005c3c",tertiary:"#01352c",success:"#47d489",warning:"#fbc32a",danger:"#e95458",whiteOverlay:"rgba(255, 255, 255, 0.15)",light:"#f2f2f2",medium:"#d1d1d1",dark:"#353535",darkOverlay:"rgba(28, 28, 28, 0.06)"},kirbyColors:{black:"#1c1c1c",blackRgb:"28, 28, 28",blackContrast:"#fff",blackContrastRgb:"255, 255, 255",blackShade:"rgb(24.64, 24.64, 24.64)",blackShadeRgb:"25, 25, 25",blackTint:"rgb(50.7, 50.7, 50.7)",blackTintRgb:"51, 51, 51",blackColorBrightness:"dark",darkOverlay:"rgba(28, 28, 28, 0.06)",darkOverlayRgb:"28, 28, 28",darkOverlayContrast:"#fff",darkOverlayContrastRgb:"255, 255, 255",darkOverlayShade:"rgba(5.1764705882, 5.1764705882, 5.1764705882, 0.1728)",darkOverlayShadeRgb:"5, 5, 5",darkOverlayTint:"rgba(205.5725806452, 205.5725806452, 205.5725806452, 0.154)",darkOverlayTintRgb:"206, 206, 206",darkOverlayColorBrightness:"dark",dark:"#353535",darkRgb:"53, 53, 53",darkContrast:"#fff",darkContrastRgb:"255, 255, 255",darkShade:"rgb(46.64, 46.64, 46.64)",darkShadeRgb:"47, 47, 47",darkTint:"rgb(73.2, 73.2, 73.2)",darkTintRgb:"73, 73, 73",darkColorBrightness:"dark",semiDark:"#8e8e8e",semiDarkRgb:"142, 142, 142",semiDarkContrast:"#1c1c1c",semiDarkContrastRgb:"28, 28, 28",semiDarkShade:"rgb(124.96, 124.96, 124.96)",semiDarkShadeRgb:"125, 125, 125",semiDarkTint:"rgb(153.3, 153.3, 153.3)",semiDarkTintRgb:"153, 153, 153",semiDarkColorBrightness:"light",medium:"#d1d1d1",mediumRgb:"209, 209, 209",mediumContrast:"#1c1c1c",mediumContrastRgb:"28, 28, 28",mediumShade:"rgb(183.92, 183.92, 183.92)",mediumShadeRgb:"184, 184, 184",mediumTint:"rgb(213.6, 213.6, 213.6)",mediumTintRgb:"214, 214, 214",mediumColorBrightness:"light",semiLight:"#ebebeb",semiLightRgb:"235, 235, 235",semiLightContrast:"#1c1c1c",semiLightContrastRgb:"28, 28, 28",semiLightShade:"rgb(206.8, 206.8, 206.8)",semiLightShadeRgb:"207, 207, 207",semiLightTint:"#ededed",semiLightTintRgb:"237, 237, 237",semiLightColorBrightness:"light",light:"#f2f2f2",lightRgb:"242, 242, 242",lightContrast:"#1c1c1c",lightContrastRgb:"28, 28, 28",lightShade:"rgb(212.96, 212.96, 212.96)",lightShadeRgb:"213, 213, 213",lightTint:"rgb(243.3, 243.3, 243.3)",lightTintRgb:"243, 243, 243",lightColorBrightness:"light",whiteOverlay:"rgba(255, 255, 255, 0.15)",whiteOverlayRgb:"255, 255, 255",whiteOverlayContrast:"#1c1c1c",whiteOverlayContrastRgb:"28, 28, 28",whiteOverlayShade:"rgba(95.0847457627, 95.0847457627, 95.0847457627, 0.252)",whiteOverlayShadeRgb:"95, 95, 95",whiteOverlayTint:"rgba(255, 255, 255, 0.235)",whiteOverlayTintRgb:"255, 255, 255",whiteOverlayColorBrightness:"white",white:"#fff",whiteRgb:"255, 255, 255",whiteContrast:"#1c1c1c",whiteContrastRgb:"28, 28, 28",whiteShade:"rgb(224.4, 224.4, 224.4)",whiteShadeRgb:"224, 224, 224",whiteTint:"white",whiteTintRgb:"255, 255, 255",whiteColorBrightness:"white",backgroundColor:"#f6f6f6",backgroundColorRgb:"246, 246, 246",backgroundColorContrast:"#1c1c1c",backgroundColorContrastRgb:"28, 28, 28",backgroundColorShade:"rgb(216.48, 216.48, 216.48)",backgroundColorShadeRgb:"216, 216, 216",backgroundColorTint:"rgb(246.9, 246.9, 246.9)",backgroundColorTintRgb:"247, 247, 247",backgroundColorColorBrightness:"light",danger:"#e95458",dangerRgb:"233, 84, 88",dangerContrast:"#1c1c1c",dangerContrastRgb:"28, 28, 28",dangerShade:"rgb(205.04, 73.92, 77.44)",dangerShadeRgb:"205, 74, 77",dangerTint:"rgb(235.2, 101.1, 104.7)",dangerTintRgb:"235, 101, 105",dangerColorBrightness:"light",warning:"#fbc32a",warningRgb:"251, 195, 42",warningContrast:"#1c1c1c",warningContrastRgb:"28, 28, 28",warningShade:"rgb(220.88, 171.6, 36.96)",warningShadeRgb:"221, 172, 37",warningTint:"rgb(251.4, 201, 63.3)",warningTintRgb:"251, 201, 63",warningColorBrightness:"light",success:"#47d489",successRgb:"71, 212, 137",successContrast:"#1c1c1c",successContrastRgb:"28, 28, 28",successShade:"rgb(62.48, 186.56, 120.56)",successShadeRgb:"62, 187, 121",successTint:"rgb(89.4, 216.3, 148.8)",successTintRgb:"89, 216, 149",successColorBrightness:"light",tertiary:"#01352c",tertiaryRgb:"1, 53, 44",tertiaryContrast:"#fff",tertiaryContrastRgb:"255, 255, 255",tertiaryShade:"rgb(0.88, 46.64, 38.72)",tertiaryShadeRgb:"1, 47, 39",tertiaryTint:"rgb(26.4, 73.2, 65.1)",tertiaryTintRgb:"26, 73, 65",tertiaryColorBrightness:"dark",secondary:"#005c3c",secondaryRgb:"0, 92, 60",secondaryContrast:"#fff",secondaryContrastRgb:"255, 255, 255",secondaryShade:"rgb(0, 80.96, 52.8)",secondaryShadeRgb:"0, 81, 53",secondaryTint:"rgb(25.5, 108.3, 79.5)",secondaryTintRgb:"25, 108, 80",secondaryColorBrightness:"dark",primary:"#00e89a",primaryRgb:"0, 232, 154",primaryContrast:"#1c1c1c",primaryContrastRgb:"28, 28, 28",primaryShade:"rgb(0, 204.16, 135.52)",primaryShadeRgb:"0, 204, 136",primaryTint:"rgb(25.5, 234.3, 164.1)",primaryTintRgb:"25, 234, 164",primaryColorBrightness:"light"},kirbyTextColors:{negative:"#a13a3d",negativeRgb:"161, 58, 61",negativeContrast:"#fff",negativeContrastRgb:"255, 255, 255",negativeShade:"rgb(141.68, 51.04, 53.68)",negativeShadeRgb:"142, 51, 54",negativeTint:"rgb(170.4, 77.7, 80.4)",negativeTintRgb:"170, 78, 80",negativeColorBrightness:"dark",positive:"#267149",positiveRgb:"38, 113, 73",positiveContrast:"#fff",positiveContrastRgb:"255, 255, 255",positiveShade:"rgb(33.44, 99.44, 64.24)",positiveShadeRgb:"33, 99, 64",positiveTint:"rgb(59.7, 127.2, 91.2)",positiveTintRgb:"60, 127, 91",positiveColorBrightness:"dark",danger:"#ee0d0d",dangerRgb:"238, 13, 13",dangerContrast:"#fff",dangerContrastRgb:"255, 255, 255",dangerShade:"rgb(209.44, 11.44, 11.44)",dangerShadeRgb:"209, 11, 11",dangerTint:"rgb(239.7, 37.2, 37.2)",dangerTintRgb:"240, 37, 37",dangerColorBrightness:"dark",black:"#1c1c1c",blackRgb:"28, 28, 28",blackContrast:"#fff",blackContrastRgb:"255, 255, 255",blackShade:"rgb(24.64, 24.64, 24.64)",blackShadeRgb:"25, 25, 25",blackTint:"rgb(50.7, 50.7, 50.7)",blackTintRgb:"51, 51, 51",blackColorBrightness:"dark",semiDark:"#707070",semiDarkRgb:"112, 112, 112",semiDarkContrast:"#fff",semiDarkContrastRgb:"255, 255, 255",semiDarkShade:"rgb(98.56, 98.56, 98.56)",semiDarkShadeRgb:"99, 99, 99",semiDarkTint:"rgb(126.3, 126.3, 126.3)",semiDarkTintRgb:"126, 126, 126",semiDarkColorBrightness:"dark",white:"#fff",whiteRgb:"255, 255, 255",whiteContrast:"#1c1c1c",whiteContrastRgb:"28, 28, 28",whiteShade:"rgb(224.4, 224.4, 224.4)",whiteShadeRgb:"224, 224, 224",whiteTint:"white",whiteTintRgb:"255, 255, 255",whiteColorBrightness:"white"}};var i=l(29081);class f{static#e=this.brandColors=f.mapToKirbyColorArray(n.brandColors);static#t=this.notificationColors=f.mapToKirbyColorArray(n.notificationColors);static#n=this.decorationColors=f.mapToKirbyColorRampArray(n.decorationColors);static#o=this.systemColors=f.mapToKirbyColorArray(n.systemColors);static#i=this.textColors=f.mapToKirbyColorArray(n.textColors,n.kirbyTextColors);static#r=this.mainColors=f.getMainColors();static getMainColors(){return Object.entries(n.mainColors).map(([x,_])=>({name:x,value:_}))}static mapToKirbyColorArray(s,x=n.kirbyColors){const _="Tint",y="Shade",w="Contrast";return Object.entries(s).map(([I,R])=>({name:(0,i.BW)(I),value:R,base:R,tint:{value:x[I+_],name:(0,i.BW)(I+_)},shade:{value:x[I+y],name:(0,i.BW)(I+y)},contrast:{value:x[I+w],name:(0,i.BW)(I+w)}}))}static mapToKirbyColorRampArray(s){return Object.entries(s).map(([_,y])=>({name:(0,i.BW)(_),ramp:Object.entries(y).map(([w,M])=>({step:w,value:M}))}))}static getBackgroundColor(){return f.getColor("background-color")}static getColorBrightness(s){return f.getColor(s+"-color-brightness")}static getThemeColorRgbString(s,x){const _=f.getColor(s+"-rgb");return x?`rgba(${_}, ${f.opacityThreshold(x)})`:`rgb(${_})`}static getThemeDecorationColorRgbString(s,x,_){const y=f.hexToRGB(f.getDecorationColor(s,x));return _?y.replace("rgb","rgba").replace(")",`, ${f.opacityThreshold(_)})`):y}static getThemeTextColorRgbString(s){return`rgb(${f.getTextColor(s+"-rgb")})`}static getThemeColorHexString(s){return f.getColor(s)}static getThemeDecorationColorHexString(s,x){return f.getDecorationColor(s,x)}static getThemeTextColorHexString(s){return f.getTextColor(s)}static getTransparentColorRgbString(){return"rgba(0, 0, 0, 0)"}static colorStringToRgbString(s){if(0===s.indexOf("rgb"))return s;if(0===s.indexOf("#"))return f.hexToRGB(s);if(3===s.split(",").length)return`rgb(${s})`;if(4===s.split(",").length)return`rgba(${s})`;const x=document.createElement("canvas").getContext("2d");x.fillStyle=s;const _=x.fillStyle.toString();return f.colorStringToRgbString(_)}static hexToRGB(s){let x="0",_="0",y="0";return 4===s.length?(x="0x"+s[1]+s[1],_="0x"+s[2]+s[2],y="0x"+s[3]+s[3]):7===s.length&&(x="0x"+s[1]+s[2],_="0x"+s[3]+s[4],y="0x"+s[5]+s[6]),`rgb(${+x}, ${+_}, ${+y})`}static getColor(s){const x=(0,i.zS)(s),_=n.kirbyColors[x];return window.getComputedStyle(document.documentElement).getPropertyValue(`--kirby-${s}`)||_||null}static getDecorationColor(s,x){const _=(0,i.zS)(s),y=n.decorationColors[_][x];return window.getComputedStyle(document.documentElement).getPropertyValue(`--kirby-decoration-color-${s}-${x}`)||y||null}static getTextColor(s){const x=(0,i.zS)(s),_=n.kirbyTextColors[x];return window.getComputedStyle(document.documentElement).getPropertyValue(`--kirby-text-color-${s}`)||_||null}static opacityThreshold(s){return 0<=s&&s<=1?s:(console.warn(`Opacity value must be between 0 and 1. Current value is: ${s}.`),1)}}},19402:(ft,Z,l)=>{"use strict";l.d(Z,{Q:()=>f});var n=l(44354);const i={sizes:{xxxxxl:"72px",xxxxl:"64px",xxxl:"56px",xxl:"48px",xl:"40px",l:"32px",m:"24px",s:"16px",xs:"12px",xxs:"8px",xxxs:"4px",xxxxs:"2px"},fontSizes:{xxxxl:"72px",xxxl:"56px",xxl:"40px",xl:"32px",l:"22px",m:"18px",n:"16px",s:"14px",xs:"12px",xxs:"10px"},lineHeight:{xl:"38px",l:"28px",m:"24px",n:"24px",s:"20px",xs:"16px",xxs:"11px"},fontWeight:{light:"300",normal:"400",medium:"500",bold:"700",black:"900"},iconFontSizes:{xs:"16px",sm:"24px",md:"32px",lg:"56px"},zLayers:{default:"1",segmentBadge:"2",avatarBadge:"2",stickyContent:"10",dropdown:"800",popover:"850",modalOverlay:"900",modal:"901",loadingOverlay:"1001"},borderRadii:{xxs:"2px",xs:"4px",s:"8px",n:"16px",l:"24px",xl:"32px",circle:"50%",pill:"999px"},borderRadius:"16px",borderRadiusRound:"999px",breakpoints:{xsmall:"320px",small:"632px",medium:"768px",large:"992px",xlarge:"1440px"},elevations:{2:"rgba(28, 28, 28, 0.04) 0px 1px 24px 0px",4:"rgba(28, 28, 28, 0.04) 0px 0px 5px 0px, rgba(28, 28, 28, 0.15) 0px 10px 15px -10px",8:"rgba(28, 28, 28, 0.3) 0px 20px 30px -15px, rgba(28, 28, 28, 0.08) 0px 0px 5px 0px"},avatarSizes:{xs:"32px",s:"40px",m:"56px",l:"96px"},avatarBadgeSize:"16px",pageContentMaxWidths:{default:"792px",lg:"1092px",xl:"1392px",full:"100%"},pageContentMaxWidthDefault:"792px",alertMaxWidth:"359px",compactModalMaxWidth:"359px",modalMaxWidth:"720px",modalHeights:{s:"288px",m:"460px",l:"576px"},modalDefaultHeight:"460px",drawerDefaultHeight:"288px",itemHeights:{m:"56px",s:"44px",xs:"32px"},dropdownItemHeight:"44px",fatFingerSize:"44px",checkboxRadioSizes:{xs:"32px",sm:"44px",md:"56px"},checkboxRadioSpacing:{toEdge:"16px",toLabel:"12px"},checkboxSizes:{xs:{iconSize:"16px",lineHeight:"24px",verticalPadding:"4px"},sm:{iconSize:"24px",lineHeight:"44px",verticalPadding:"10px"},md:{iconSize:"24px",lineHeight:"56px",verticalPadding:"16px"}},softKeyboardTransitionEnter:"250ms ease-out 1ms",softKeyboardTransitionLeave:"150ms ease-out",transitionDurations:{quick:"200ms",short:"300ms",long:"500ms",extraLong:"1000ms"},transitionEasings:{static:"linear",enter:"ease-out",exit:"ease-in",enterExit:"ease",motion:"cubic-bezier(0.25, 0.1, 0.25, 1)",modal:{enter:"cubic-bezier(0.32, 0.72, 0, 1)",exit:"cubic-bezier(0.32, 0.72, 0, 1)"}},loadingOverlayBackdropOpacity:"0.8"};class f{static#e=this.breakpoints=i.breakpoints;static#t=this.softKeyboardTransitionEnter=i.softKeyboardTransitionEnter;static#n=this.softKeyboardTransitionLeave=i.softKeyboardTransitionLeave;static#o=this.modalDefaultHeight=i.modalDefaultHeight;static#i=this.drawerDefaultHeight=i.drawerDefaultHeight;static getColor(s,x){const y=`${s}${x?`-${x}`:""}`;return{name:s,variant:x,fullname:y,value:n.A.getThemeColorRgbString(y),hex:n.A.getThemeColorHexString(y)}}static getDecorationColor(s,x){return{name:s,step:x,fullname:`${s}-${x}`,value:n.A.getThemeDecorationColorRgbString(s,x),hex:n.A.getThemeDecorationColorHexString(s,x)}}static getTextColor(s,x){const y=`${s}${x?`-${x}`:""}`;return{name:s,variant:x,fullname:y,value:n.A.getThemeTextColorRgbString(y),hex:n.A.getThemeTextColorHexString(y)}}static size(s){return i.sizes[s]}static fontSize(s){return i.fontSizes[s]}static iconFontSize(s){return i.iconFontSizes[s]}static fontWeight(s){return i.fontWeight[s]}static lineHeight(s){return i.lineHeight[s]}static backgroundColor(){return n.A.getBackgroundColor()}static borderRadius(s=void 0){return void 0===s&&console.warn("Calling the borderRadius function without a parameter is deprecated. Please use `borderRadius('n')` instead."),i.borderRadii[s]}static borderRadiusRound(){return console.warn("The borderRadiusRound function is deprecated. Please use `borderRadius('pill')` instead."),f.borderRadius("pill")}static alertMaxWidth(){return i.alertMaxWidth}static compactModalMaxWidth(){return i.compactModalMaxWidth}static dropdownItemHeight(){return i.dropdownItemHeight}static avatarSize(s){return i.avatarSizes[s]}static fatFingerSize(){return i.fatFingerSize}static getElevation(s){return i.elevations[s]}static itemHeight(s){return i.itemHeights[s]}static transitionDuration(s){return i.transitionDurations[s]}static transitionEasings(){return i.transitionEasings}static zLayer(s){return i.zLayers[s]}static pageContentMaxWidth(s){return i.pageContentMaxWidths[s]}}},29081:(ft,Z,l)=>{"use strict";l.d(Z,{BW:()=>i,Zj:()=>f,Zr:()=>g,zS:()=>n});const n=s=>s.length&&1!==s.length?s.split("-").map((_,y)=>0===y?_:_[0].toUpperCase()+_.substr(1)).join(""):s,i=s=>s.length&&1!==s.length?s.split("").map((_,y)=>_.toUpperCase()!==_||"-"===_?_:0===y?_.toLowerCase():`-${_.toLowerCase()}`).join(""):s,f=s=>s.length&&1!==s.length?s.split("-").map(_=>_[0].toUpperCase()+_.slice(1)).join(" "):s,g=s=>"string"!=typeof s?"":s.charAt(0).toUpperCase()+s.slice(1)},82470:(ft,Z,l)=>{"use strict";l.d(Z,{aF:()=>x,fv:()=>y,h6:()=>M});var n=l(54438),i=l(49969),f=l(29756),g=l(35043);const s=["*"];let x=(()=>{class I{static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275dir=n.FsC({type:I,selectors:[["","kirbyAccordion",""],["kirby-accordion"]],exportAs:["kirby-accordion"],standalone:!1})}return I})(),_=0,y=(()=>{class I{constructor(){this.hasList=!1,this.isExpanded=!1,this.isDisabled=!1,this.hasPadding=!0,this.toggle=new n.bkB,this._titleId="kirby-accordion-item-title-"+ ++_,this._contentId=`kirby-accordion-item-content-${_}`}ngAfterContentInit(){this.listChildren.length>0&&(this.hasPadding=!1,this.hasList=!0,this.listChildren.forEach(H=>{H.shape="none"}))}ngOnChanges(){this.isDisabled&&(this.isExpanded=!1)}getTitle(){return this.isDisabled&&this.disabledTitle?this.disabledTitle:this.title}_onToggleExpanded(H){H.preventDefault(),!this.isDisabled&&(this.isExpanded=!this.isExpanded&&!this.isDisabled,this.toggle.emit(this.isExpanded))}static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275cmp=n.VBU({type:I,selectors:[["kirby-accordion-item"]],contentQueries:function(K,L,he){if(1&K&&n.wni(he,f.sB,4),2&K){let pe;n.mGM(pe=n.lsd())&&(L.listChildren=pe)}},hostVars:2,hostBindings:function(K,L){2&K&&n.AVh("has-list",L.hasList)},inputs:{title:"title",isExpanded:"isExpanded",isDisabled:"isDisabled",disabledTitle:"disabledTitle",hasPadding:"hasPadding"},outputs:{toggle:"toggle"},standalone:!1,features:[n.OA$],ngContentSelectors:s,decls:9,vars:15,consts:[[1,"content-layer"],["role","button",1,"header",3,"click","keydown.ENTER","keydown.space","tabindex","id"],["aria-hidden","true",1,"state-layer"],[1,"title"],["name","arrow-down"],["role","region",1,"content",3,"id"],[1,"content-body"]],template:function(K,L){1&K&&(n.NAR(),n.j41(0,"div",0)(1,"div",1),n.bIt("click",function(pe){return L._onToggleExpanded(pe)})("keydown.ENTER",function(pe){return L._onToggleExpanded(pe)})("keydown.space",function(pe){return L._onToggleExpanded(pe)}),n.nrm(2,"span",2),n.j41(3,"div",3),n.EFF(4),n.k0s(),n.nrm(5,"kirby-icon",4),n.k0s(),n.j41(6,"div",5)(7,"div",6),n.SdG(8),n.k0s()()()),2&K&&(n.R7$(),n.AVh("disabled",L.isDisabled)("expanded",L.isExpanded),n.Y8G("tabindex",L.isDisabled?-1:0)("id",L._titleId),n.BMQ("aria-disabled",!!L.isDisabled||void 0)("aria-expanded",L.isExpanded)("aria-controls",L._contentId),n.R7$(3),n.JRh(L.getTitle()),n.R7$(2),n.Y8G("id",L._contentId)("@isExpanded",!!L.isExpanded),n.BMQ("aria-labelledby",L._titleId),n.R7$(),n.AVh("padding",L.hasPadding))},dependencies:[g.Rl],styles:['[_nghost-%COMP%]{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}[_nghost-%COMP%] .content-layer[_ngcontent-%COMP%]{position:relative;z-index:var(--content-layer-z-index, 1)}[_nghost-%COMP%] .state-layer[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}[_nghost-%COMP%] .state-layer[_ngcontent-%COMP%]:before{transition:all 80ms linear 0ms;content:"";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}[_nghost-%COMP%]{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}.has-list[_nghost-%COMP%]{--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header[_ngcontent-%COMP%]{outline:0}.header[_ngcontent-%COMP%]:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header[_ngcontent-%COMP%]:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header[_ngcontent-%COMP%]:active, .header.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header[_ngcontent-%COMP%]{display:flex;align-items:center;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none}.title[_ngcontent-%COMP%]{flex-grow:2}.kirby-icon[_ngcontent-%COMP%]{transition:transform .2s}.content[_ngcontent-%COMP%]{overflow:hidden;cursor:default}.content-body.padding[_ngcontent-%COMP%]{padding:0 16px 16px}.disabled[_ngcontent-%COMP%]{pointer-events:none}.disabled[_ngcontent-%COMP%] .kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-semi-dark)}.disabled[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:var(--kirby-text-color-semi-dark)}.expanded[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700}.expanded[_ngcontent-%COMP%] .kirby-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}kirby-accordion[_nghost-%COMP%]:not(:first-child), kirby-accordion [_nghost-%COMP%]:not(:first-child){border-top:none}kirby-card[_nghost-%COMP%], kirby-card [_nghost-%COMP%]{border-color:var(--kirby-background-color)}kirby-card[_nghost-%COMP%]:first-child, kirby-card [_nghost-%COMP%]:first-child{border-top:none}kirby-card[_nghost-%COMP%]:last-child, kirby-card [_nghost-%COMP%]:last-child{border-bottom:none}'],data:{animation:[(0,i.hZ)("isExpanded",[(0,i.wk)("true",(0,i.iF)({height:"*",visibility:"visible"})),(0,i.wk)("false",(0,i.iF)({height:"0px",visibility:"hidden"})),(0,i.kY)("true <=> false",(0,i.i0)("0.2s"))])]},changeDetection:0})}return I})(),M=(()=>{class I{static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275mod=n.$C({type:I});static#n=this.\u0275inj=n.G2t({imports:[g.op]})}return I})()},29660:(ft,Z,l)=>{"use strict";l.d(Z,{F:()=>M,p:()=>I});var n=l(60177),i=l(54438),f=l(47008),g=l(81365),s=l(92585);const x=["hiddenLayer"],_=[[["button","kirby-button",""]]],y=["button[kirby-button]"];function w(R,H){if(1&R){const K=i.RV6();i.j41(0,"kirby-item",4),i.bIt("click",function(){const he=i.eBV(K).$implicit,pe=i.XpG();return i.Njj(pe.onActionSelect(he))}),i.EFF(1),i.k0s()}if(2&R){const K=H.$implicit;i.Y8G("selectable",!0),i.R7$(),i.SpI(" ",K.text," ")}}const M=new i.nKC("action-group.config");let I=(()=>{class R{get _align(){return"align-"+this.align}constructor(K,L,he){this.elementRef=K,this.renderer=L,this.config=he,this.align="end",this._collapsedActions=[],this.collapseThreshold=2}ngAfterContentInit(){this.visibleActionsK.showIconOnly=!0))}initializeCollapsing(){this.buttonElements.length<=this.collapseThreshold||(this.moveButtons(),this.populateMenu(),this.toggleMenu())}moveButtons(){[...this.buttonElements].slice(0,this.visibleActions).filter(he=>he.nativeElement.parentElement===this.hiddenLayer.nativeElement).forEach(he=>{this.renderer.insertBefore(this.elementRef.nativeElement,he.nativeElement,this.menuElement.nativeElement)}),[...this.buttonElements].slice(this.visibleActions).forEach(he=>{this.renderer.appendChild(this.hiddenLayer.nativeElement,he.nativeElement)})}toggleMenu(){this._isCollapsed=this.hiddenLayer.nativeElement.childElementCount>0}populateMenu(){const K=Array.from(this.hiddenLayer.nativeElement.children);this._collapsedActions=K.map(L=>({button:L,text:L.textContent.trim()}))}static#e=this.\u0275fac=function(L){return new(L||R)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(M,8))};static#t=this.\u0275cmp=i.VBU({type:R,selectors:[["kirby-action-group"]],contentQueries:function(L,he,pe){if(1&L&&(i.wni(pe,f.Q,4,i.aKT),i.wni(pe,f.Q,4)),2&L){let be;i.mGM(be=i.lsd())&&(he.buttonElements=be),i.mGM(be=i.lsd())&&(he.buttons=be)}},viewQuery:function(L,he){if(1&L&&(i.GBs(x,7,i.aKT),i.GBs(s.Z,7,i.aKT)),2&L){let pe;i.mGM(pe=i.lsd())&&(he.hiddenLayer=pe.first),i.mGM(pe=i.lsd())&&(he.menuElement=pe.first)}},hostVars:4,hostBindings:function(L,he){2&L&&(i.HbH(he._align),i.AVh("is-collapsed",he._isCollapsed))},inputs:{visibleActions:"visibleActions",align:"align"},features:[i.OA$],ngContentSelectors:y,decls:5,vars:2,consts:[["hiddenLayer",""],[3,"placement"],[3,"selectable","click",4,"ngFor","ngForOf"],[1,"hidden-layer"],[3,"click","selectable"]],template:function(L,he){1&L&&(i.NAR(_),i.SdG(0),i.j41(1,"kirby-menu",1),i.DNE(2,w,2,2,"kirby-item",2),i.k0s(),i.nrm(3,"div",3,0)),2&L&&(i.R7$(),i.Y8G("placement","bottom-end"),i.R7$(),i.Y8G("ngForOf",he._collapsedActions))},dependencies:[n.MD,n.Sq,g.kA,g.JA,s.Z],styles:["[_nghost-%COMP%]{display:flex;position:relative;gap:8px}.align-end[_nghost-%COMP%]{justify-content:flex-end}.align-end[_nghost-%COMP%] .hidden-layer[_ngcontent-%COMP%]{order:-1}.hidden-layer[_ngcontent-%COMP%]{display:none;visibility:hidden}kirby-menu[_ngcontent-%COMP%]{display:none;z-index:1}.is-collapsed[_nghost-%COMP%] kirby-menu[_ngcontent-%COMP%]{display:inline-block}"],changeDetection:0})}return R})()},28287:(ft,Z,l)=>{"use strict";l.d(Z,{P:()=>w,f:()=>M});var n=l(60177),i=l(54438);const f=[[["kirby-badge"]],[["kirby-icon"]]],g=["kirby-badge","kirby-icon"],s=(I,R)=>({overlay:I,stroke:R});function x(I,R){if(1&I){const H=i.RV6();i.j41(0,"img",4),i.bIt("error",function(L){i.eBV(H);const he=i.XpG();return i.Njj(he.onImageError(L))}),i.k0s()}if(2&I){const H=i.XpG();i.Y8G("src",H.imageSrc,i.B4B),i.BMQ("alt",H.altText)("loading",H.imageLoading)}}function _(I,R){1&I&&i.SdG(0,1,["*ngIf","!text"])}function y(I,R){if(1&I&&(i.j41(0,"span",5),i.EFF(1),i.k0s()),2&I){const H=i.XpG();i.R7$(),i.JRh(H.text)}}var w=function(I){return I.XS="xs",I.SM="sm",I.MD="md",I.LG="lg",I}(w||{});let M=(()=>{class I{constructor(){this.size=w.SM,this.imageError=new i.bkB}get _cssClass(){return[this.themeColor,this.size].filter(H=>!!H)}onImageError(H){this.imageError.emit(H)}static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275cmp=i.VBU({type:I,selectors:[["kirby-avatar"]],hostVars:2,hostBindings:function(K,L){2&K&&i.HbH(L._cssClass)},inputs:{imageSrc:"imageSrc",imageLoading:"imageLoading",altText:"altText",stroke:"stroke",text:"text",overlay:"overlay",size:"size",themeColor:"themeColor"},outputs:{imageError:"imageError"},ngContentSelectors:g,decls:5,vars:7,consts:[[1,"avatar",3,"ngClass"],[3,"src","error",4,"ngIf"],[4,"ngIf"],["class","avatar-text",4,"ngIf"],[3,"error","src"],[1,"avatar-text"]],template:function(K,L){1&K&&(i.NAR(f),i.j41(0,"div",0),i.DNE(1,x,1,3,"img",1)(2,_,1,0,"ng-content",2)(3,y,2,1,"span",3),i.k0s(),i.SdG(4)),2&K&&(i.Y8G("ngClass",i.l_i(4,s,L.overlay,L.stroke)),i.R7$(),i.Y8G("ngIf",L.imageSrc),i.R7$(),i.Y8G("ngIf",!L.text),i.R7$(),i.Y8G("ngIf",L.text))},dependencies:[n.MD,n.YU,n.bT],styles:['[_nghost-%COMP%]{--kirby-badge-position: absolute;--kirby-badge-right: -2px;--kirby-badge-top: -2px;--kirby-badge-z-index: 2;position:relative}.avatar[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;overflow:hidden;position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background-color:var(--kirby-white);color:var(--kirby-light-contrast);--kirby-icon-font-size: 24px}.avatar.stroke[_ngcontent-%COMP%]{border:1px solid var(--kirby-semi-light)}.avatar.overlay[_ngcontent-%COMP%]:before{content:"";background-color:var(--kirby-black);opacity:.05;width:100%;height:100%;position:absolute;top:0;left:0}.avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover;max-width:100%;height:100%;width:100%}.xs[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{width:32px;height:32px;border-radius:8px}.xs[_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%]{font-size:14px}kirby-progress-circle.sm[_nghost-%COMP%] .avatar[_ngcontent-%COMP%], kirby-progress-circle.sm [_nghost-%COMP%] .avatar[_ngcontent-%COMP%], .sm[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{width:40px;height:40px}kirby-progress-circle.sm[_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%], kirby-progress-circle.sm [_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%], .sm[_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%]{font-size:14px}kirby-progress-circle.md[_nghost-%COMP%], kirby-progress-circle.md [_nghost-%COMP%], .md[_nghost-%COMP%]{--kirby-badge-right: 0px;--kirby-badge-top: 0px}kirby-progress-circle.md[_nghost-%COMP%] .avatar[_ngcontent-%COMP%], kirby-progress-circle.md [_nghost-%COMP%] .avatar[_ngcontent-%COMP%], .md[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{width:56px;height:56px;--kirby-icon-font-size: 32px}kirby-progress-circle.md[_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%], kirby-progress-circle.md [_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%], .md[_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%]{font-size:18px}kirby-progress-circle.lg[_nghost-%COMP%], kirby-progress-circle.lg [_nghost-%COMP%], .lg[_nghost-%COMP%]{--kirby-badge-right: 6px;--kirby-badge-top: 6px}kirby-progress-circle.lg[_nghost-%COMP%] .avatar[_ngcontent-%COMP%], kirby-progress-circle.lg [_nghost-%COMP%] .avatar[_ngcontent-%COMP%], .lg[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{width:96px;height:96px;--kirby-icon-font-size: 56px}kirby-progress-circle.lg[_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%], kirby-progress-circle.lg [_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%], .lg[_nghost-%COMP%] .avatar[_ngcontent-%COMP%] .avatar-text[_ngcontent-%COMP%]{font-size:32px}kirby-item[slot=start][_nghost-%COMP%], kirby-item [slot=start][_nghost-%COMP%]{margin-inline-end:12px}kirby-item[slot=start].xs[_nghost-%COMP%], kirby-item [slot=start].xs[_nghost-%COMP%]{margin-inline-end:16px}.primary[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}.secondary[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}.tertiary[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}.success[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}.warning[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}.danger[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}.white-overlay[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}.light[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}.medium[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}.dark[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}.dark-overlay[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}.white[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-white);color:var(--kirby-white-contrast)}.semi-light[_nghost-%COMP%] .avatar[_ngcontent-%COMP%]{background-color:var(--kirby-semi-light);color:var(--kirby-semi-light-contrast)}'],changeDetection:0})}return I})()},75797:(ft,Z,l)=>{"use strict";l.d(Z,{n:()=>M});var n=l(60177),i=l(54438),f=l(13339),g=l(51272);const s=["*"];function x(I,R){1&I&&i.nrm(0,"span")}function _(I,R){1&I&&i.SdG(0,0,["*ngIf","!text && size === 'md'"])}function y(I,R){if(1&I&&(i.qex(0),i.EFF(1),i.bVm()),2&I){const H=i.XpG();i.R7$(),i.JRh(H.text)}}let M=(()=>{class I{constructor(){this.size="md"}get text(){return this._text}set text(H){console.warn("[Kirby Badge] The `text` property has been deprecated. Please set the text of the Badge between the opening and closing tag."),this._text=H}static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275cmp=i.VBU({type:I,selectors:[["kirby-badge"]],hostVars:2,hostBindings:function(K,L){2&K&&i.HbH(L.size)},inputs:{text:"text",size:"size"},features:[i.nM4([{directive:f.Cd,inputs:["themeColor","themeColor"]}])],ngContentSelectors:s,decls:4,vars:3,consts:[[4,"ngIf"]],template:function(K,L){1&K&&(i.NAR(),i.j41(0,"ion-badge"),i.DNE(1,x,1,0,"span",0)(2,_,1,0,"ng-content",0)(3,y,2,1,"ng-container",0),i.k0s()),2&K&&(i.R7$(),i.Y8G("ngIf","sm"===L.size),i.R7$(),i.Y8G("ngIf",!L.text&&"md"===L.size),i.R7$(),i.Y8G("ngIf",L.text&&"md"===L.size))},dependencies:[n.MD,n.bT,g.In],styles:["[_nghost-%COMP%]{position:var(--kirby-badge-position, relative);left:var(--kirby-badge-left, auto);right:var(--kirby-badge-right, auto);top:var(--kirby-badge-top, auto);z-index:var(--kirby-badge-z-index, auto);font-size:10px;line-height:1}[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%]{--background: var(--kirby-badge-background-color, var(--kirby-white));--color: var(--kirby-badge-color, var(--kirby-white-contrast));box-sizing:border-box;border-radius:8px;font-size:inherit;position:relative;box-shadow:var(--kirby-badge-elevation, none)}[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%] >kirby-icon{--kirby-icon-font-size: 16px;position:absolute;top:0;left:0}.sm[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%]{padding:initial;min-height:initial;min-width:initial;height:8px;width:8px}.md[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%]{--padding-top: 3px;--padding-end: 5px;--padding-bottom: 3px;--padding-start: 5px;min-width:16px;min-height:16px}.success[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%]{--background: var(--kirby-success);--color: var(--kirby-badge-color, var(--kirby-success-contrast))}.warning[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%]{--background: var(--kirby-warning);--color: var(--kirby-badge-color, var(--kirby-warning-contrast))}.danger[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%]{--background: var(--kirby-danger);--color: var(--kirby-badge-color, var(--kirby-text-color-white))}.default[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%], .white[_nghost-%COMP%] ion-badge[_ngcontent-%COMP%]{--kirby-badge-elevation: 0 20px 30px -15px rgb(28 28 28 / 30%), 0 0 5px 0 rgb(28 28 28 / 12%)}"]})}return I})()},47008:(ft,Z,l)=>{"use strict";l.d(Z,{M:()=>x,Q:()=>_});var n=l(60177),i=l(54438),f=l(35043);const g=["kirby-button",""],s=["*"];var x=function(y){return y.XS="xs",y.SM="sm",y.MD="md",y.LG="lg",y}(x||{});let _=(()=>{class y{get isButtonFloating(){return this.isFloating}get isIconOnly(){return!!this.iconElementRef&&this.showIconOnly}get isIconLeft(){return this._isIconLeft&&!this.showIconOnly}get isIconRight(){return this._isIconRight&&!this.showIconOnly}get _cssClass(){const M=this.getAttentionLevelCssClass();return[this.themeColor,this.size,M].filter(I=>!!I)}getAttentionLevelCssClass(){return this.noDecoration?void 0:`attention-level${this.attentionLevel||"1"}`}get showIconOnly(){return this._showIconOnly}set showIconOnly(M){M&&this.wrapTextNode(this.iconElementRef?.nativeElement),this._showIconOnly=M}constructor(M,I){this.elementRef=M,this.renderer=I,this.noDecoration=!1,this._isIconLeft=!1,this._isIconRight=!1,this.isFloating=!1,this.size=x.MD,this._showIconOnly=!1}wrapTextNode(M){if(!M)return;const I=H=>H?.nodeType===Node.TEXT_NODE?H:void 0,R=I(M.previousSibling)||I(M.nextSibling);if(R){const H=R===M.previousSibling?"before":"after",K=this.renderer.createElement("span"),L=R.parentNode;this.renderer.removeChild(R.parentNode,R),this.renderer.appendChild(K,R),"before"===H?this.renderer.insertBefore(L,K,M):"after"===H&&this.renderer.appendChild(L,K)}}ngAfterContentInit(){const M=this.iconElementRef?.nativeElement;if(void 0===M)return;this.elementRef.nativeElement.closest("ion-toolbar")&&(this._showIconOnly=!0),this.showIconOnly&&this.wrapTextNode(M);const I=!!this.elementRef.nativeElement.textContent;I||(this._showIconOnly=!0),I&&!this.showIconOnly&&(this._isIconLeft=this.elementRef.nativeElement.querySelector(".content-layer").firstChild===M,this._isIconRight=!this._isIconLeft)}_onEnterOrSpace(M){"true"===this.elementRef.nativeElement.ariaDisabled&&(M.preventDefault(),M.stopImmediatePropagation())}static#e=this.\u0275fac=function(I){return new(I||y)(i.rXU(i.aKT),i.rXU(i.sFG))};static#t=this.\u0275cmp=i.VBU({type:y,selectors:[["button","kirby-button",""],["Button","kirby-button",""],["a","kirby-button",""]],contentQueries:function(I,R,H){if(1&I&&i.wni(H,f.Rl,5,i.aKT),2&I){let K;i.mGM(K=i.lsd())&&(R.iconElementRef=K.first)}},hostVars:12,hostBindings:function(I,R){1&I&&i.bIt("keydown.enter",function(K){return R._onEnterOrSpace(K)})("keydown.space",function(K){return R._onEnterOrSpace(K)}),2&I&&(i.HbH(R._cssClass),i.AVh("no-decoration",R.noDecoration)("floating",R.isButtonFloating)("icon-only",R.isIconOnly)("icon-left",R.isIconLeft)("icon-right",R.isIconRight))},inputs:{attentionLevel:"attentionLevel",noDecoration:"noDecoration",themeColor:"themeColor",expand:"expand",isFloating:"isFloating",size:"size",showIconOnly:"showIconOnly"},attrs:g,ngContentSelectors:s,decls:4,vars:0,consts:[["aria-hidden","true",1,"state-layer"],[1,"content-layer"]],template:function(I,R){1&I&&(i.NAR(),i.qex(0),i.nrm(1,"span",0),i.j41(2,"span",1),i.SdG(3),i.k0s(),i.bVm())},dependencies:[n.MD],styles:['[_nghost-%COMP%]{--kirby-button-padding-left: 24px;--kirby-button-padding-right: 24px;flex-shrink:0}[_nghost-%COMP%]{position:relative}[_nghost-%COMP%]:after{content:"";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}[_nghost-%COMP%]:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}[_nghost-%COMP%]:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}[_nghost-%COMP%]{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}[_nghost-%COMP%] .content-layer[_ngcontent-%COMP%]{position:relative;z-index:var(--content-layer-z-index, 1)}[_nghost-%COMP%] .state-layer[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}[_nghost-%COMP%] .state-layer[_ngcontent-%COMP%]:before{transition:all 80ms linear 0ms;content:"";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}@media (hover: hover){[_nghost-%COMP%]:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}[_nghost-%COMP%]:active, .interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black)}[_nghost-%COMP%] .content-layer[_ngcontent-%COMP%]{display:inherit;width:inherit;flex-direction:inherit;align-items:inherit;justify-content:inherit;padding-inline:var(--kirby-button-padding-left) var(--kirby-button-padding-right)}[_nghost-%COMP%]{font-family:var(--kirby-font-family);background-color:var(--kirby-button-background-color, initial);color:var(--kirby-button-color, inherit);border-radius:999px;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;font-size:14px;height:40px;min-width:88px;padding:0;margin:4px;line-height:20px;outline:none;border:none}.no-margin[_nghost-%COMP%]{margin:0}.icon-left[_nghost-%COMP%]{--kirby-icon-margin-right: 8px;--kirby-button-padding-left: 12px;--kirby-button-padding-right: 16px;padding:0}.icon-right[_nghost-%COMP%]{--kirby-icon-margin-left: 8px;--kirby-button-padding-left: 16px;--kirby-button-padding-right: 12px;padding:0}.icon-only[_nghost-%COMP%]{--kirby-button-padding-left: 0;--kirby-button-padding-right: 0;width:40px;padding:0;min-width:unset}.icon-only[_nghost-%COMP%] .content-layer[_ngcontent-%COMP%] >:not(kirby-icon){position:absolute;scale:0}.xs[_nghost-%COMP%]{position:relative}.xs[_nghost-%COMP%]:after{content:"";position:absolute;min-height:32px;min-width:32px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}.xs[_nghost-%COMP%]{font-size:12px;height:24px;min-width:44px}.xs[_nghost-%COMP%]:not(.icon-only){--kirby-button-padding-left: 12px;--kirby-button-padding-right: 12px}.xs.icon-only[_nghost-%COMP%]{--kirby-icon-font-size: 16px;width:24px;min-width:unset}.xs.icon-left[_nghost-%COMP%]{--kirby-button-padding-left: 8px;--kirby-icon-margin-right: 4px}.xs.icon-right[_nghost-%COMP%]{--kirby-button-padding-right: 8px;--kirby-icon-margin-left: 4px}.xs.icon-left[_nghost-%COMP%], .xs.icon-right[_nghost-%COMP%]{--kirby-icon-font-size: 16px;min-width:44px}.sm[_nghost-%COMP%]{font-size:12px;height:32px;min-width:44px}.sm[_nghost-%COMP%]:not(.icon-only){--kirby-button-padding-left: 16px;--kirby-button-padding-right: 16px}.sm.icon-only[_nghost-%COMP%]{--kirby-icon-font-size: 16px;width:32px;min-width:unset}.sm.icon-left[_nghost-%COMP%]{--kirby-button-padding-left: 12px}.sm.icon-right[_nghost-%COMP%]{--kirby-button-padding-right: 12px}.sm.icon-left[_nghost-%COMP%], .sm.icon-right[_nghost-%COMP%]{--kirby-icon-font-size: 16px;min-width:88px}.lg[_nghost-%COMP%]{font-size:16px;height:48px;min-width:220px}.lg.icon-only[_nghost-%COMP%]{width:48px;min-width:unset}.no-decoration[_nghost-%COMP%]{--kirby-button-background-color: transparent;--kirby-button-color: var(--kirby-black)}@media (hover: hover){.no-decoration[_nghost-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.no-decoration[_nghost-%COMP%]:active, .no-decoration.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}.attention-level1[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-primary);--kirby-button-color: var(--kirby-primary-contrast)}.attention-level1.destructive[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}.attention-level2[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-black);--kirby-button-color: var(--kirby-black-contrast)}@media (hover: hover){.attention-level2[_nghost-%COMP%]:hover{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}.attention-level2[_nghost-%COMP%]:active, .attention-level2.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}.attention-level3[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){.attention-level3[_nghost-%COMP%]:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.attention-level3[_nghost-%COMP%]:active, .attention-level3.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}.attention-level3[_nghost-%COMP%] .state-layer[_ngcontent-%COMP%]{box-shadow:var(--kirby-inputs-elevation)}[expand=block][_nghost-%COMP%]{width:100%}[_nghost-%COMP%]:disabled, [aria-disabled=true][_nghost-%COMP%]{color:var(--kirby-semi-dark-shade);border-color:transparent;pointer-events:none}[_nghost-%COMP%]:disabled:not(.no-decoration), [aria-disabled=true][_nghost-%COMP%]:not(.no-decoration){background-color:var(--kirby-semi-light)}.floating[_nghost-%COMP%]{width:64px!important;height:64px!important;min-width:unset}.floating[_nghost-%COMP%]:not(:disabled){box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}a[_nghost-%COMP%]{text-decoration:none}.kirby-color-brightness-dark.no-decoration[_nghost-%COMP%], .kirby-color-brightness-dark .no-decoration[_nghost-%COMP%]{--kirby-button-color: var(--kirby-white)}@media (hover: hover){.kirby-color-brightness-dark.no-decoration[_nghost-%COMP%]:hover, .kirby-color-brightness-dark .no-decoration[_nghost-%COMP%]:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}.kirby-color-brightness-dark.no-decoration[_nghost-%COMP%]:active, .kirby-color-brightness-dark .no-decoration[_nghost-%COMP%]:active, .kirby-color-brightness-dark.no-decoration.interaction-state-active[_nghost-%COMP%], .kirby-color-brightness-dark .no-decoration.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}.kirby-color-brightness-dark.attention-level2[_nghost-%COMP%], .kirby-color-brightness-dark .attention-level2[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-white);--kirby-button-color: var(--kirby-white-contrast)}@media (hover: hover){.kirby-color-brightness-dark.attention-level2[_nghost-%COMP%]:hover, .kirby-color-brightness-dark .attention-level2[_nghost-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.kirby-color-brightness-dark.attention-level2[_nghost-%COMP%]:active, .kirby-color-brightness-dark .attention-level2[_nghost-%COMP%]:active, .kirby-color-brightness-dark.attention-level2.interaction-state-active[_nghost-%COMP%], .kirby-color-brightness-dark .attention-level2.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}@media (hover: hover){.kirby-color-brightness-dark.attention-level3[_nghost-%COMP%]:hover, .kirby-color-brightness-dark .attention-level3[_nghost-%COMP%]:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}.kirby-color-brightness-dark.attention-level3[_nghost-%COMP%]:active, .kirby-color-brightness-dark .attention-level3[_nghost-%COMP%]:active, .kirby-color-brightness-dark.attention-level3.interaction-state-active[_nghost-%COMP%], .kirby-color-brightness-dark .attention-level3.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black-contrast)}kirby-item[slot=end][_nghost-%COMP%], kirby-item [slot=end][_nghost-%COMP%]{margin-inline:16px 0}kirby-dropdown[_nghost-%COMP%], kirby-dropdown [_nghost-%COMP%]{justify-content:space-between}ion-toolbar ion-buttons.legacy-actions[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions [_nghost-%COMP%]{font-size:14px;height:40px}ion-toolbar ion-buttons.legacy-actions.icon-only[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only[_nghost-%COMP%]{width:40px}ion-toolbar ion-buttons.legacy-actions.icon-only.no-decoration[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only.no-decoration[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level1[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level1[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level2[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level2[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level3[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level3[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){ion-toolbar ion-buttons.legacy-actions.icon-only.no-decoration[_nghost-%COMP%]:hover, ion-toolbar ion-buttons.legacy-actions .icon-only.no-decoration[_nghost-%COMP%]:hover, ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level1[_nghost-%COMP%]:hover, ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level1[_nghost-%COMP%]:hover, ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level2[_nghost-%COMP%]:hover, ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level2[_nghost-%COMP%]:hover, ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level3[_nghost-%COMP%]:hover, ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level3[_nghost-%COMP%]:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}ion-toolbar ion-buttons.legacy-actions.icon-only.no-decoration[_nghost-%COMP%]:active, ion-toolbar ion-buttons.legacy-actions .icon-only.no-decoration[_nghost-%COMP%]:active, ion-toolbar ion-buttons.legacy-actions.icon-only.no-decoration.interaction-state-active[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only.no-decoration.interaction-state-active[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level1[_nghost-%COMP%]:active, ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level1[_nghost-%COMP%]:active, ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level1.interaction-state-active[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level1.interaction-state-active[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level2[_nghost-%COMP%]:active, ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level2[_nghost-%COMP%]:active, ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level2.interaction-state-active[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level2.interaction-state-active[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level3[_nghost-%COMP%]:active, ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level3[_nghost-%COMP%]:active, ion-toolbar ion-buttons.legacy-actions.icon-only.attention-level3.interaction-state-active[_nghost-%COMP%], ion-toolbar ion-buttons.legacy-actions .icon-only.attention-level3.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}.page-title kirby-page-actions.no-decoration[_nghost-%COMP%], .page-title kirby-page-actions .no-decoration[_nghost-%COMP%], .page-title kirby-page-actions.attention-level1[_nghost-%COMP%], .page-title kirby-page-actions .attention-level1[_nghost-%COMP%], .page-title kirby-page-actions.attention-level2[_nghost-%COMP%], .page-title kirby-page-actions .attention-level2[_nghost-%COMP%], .page-title kirby-page-actions.attention-level3[_nghost-%COMP%], .page-title kirby-page-actions .attention-level3[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){.page-title kirby-page-actions.no-decoration[_nghost-%COMP%]:hover, .page-title kirby-page-actions .no-decoration[_nghost-%COMP%]:hover, .page-title kirby-page-actions.attention-level1[_nghost-%COMP%]:hover, .page-title kirby-page-actions .attention-level1[_nghost-%COMP%]:hover, .page-title kirby-page-actions.attention-level2[_nghost-%COMP%]:hover, .page-title kirby-page-actions .attention-level2[_nghost-%COMP%]:hover, .page-title kirby-page-actions.attention-level3[_nghost-%COMP%]:hover, .page-title kirby-page-actions .attention-level3[_nghost-%COMP%]:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.page-title kirby-page-actions.no-decoration[_nghost-%COMP%]:active, .page-title kirby-page-actions .no-decoration[_nghost-%COMP%]:active, .page-title kirby-page-actions.no-decoration.interaction-state-active[_nghost-%COMP%], .page-title kirby-page-actions .no-decoration.interaction-state-active[_nghost-%COMP%], .page-title kirby-page-actions.attention-level1[_nghost-%COMP%]:active, .page-title kirby-page-actions .attention-level1[_nghost-%COMP%]:active, .page-title kirby-page-actions.attention-level1.interaction-state-active[_nghost-%COMP%], .page-title kirby-page-actions .attention-level1.interaction-state-active[_nghost-%COMP%], .page-title kirby-page-actions.attention-level2[_nghost-%COMP%]:active, .page-title kirby-page-actions .attention-level2[_nghost-%COMP%]:active, .page-title kirby-page-actions.attention-level2.interaction-state-active[_nghost-%COMP%], .page-title kirby-page-actions .attention-level2.interaction-state-active[_nghost-%COMP%], .page-title kirby-page-actions.attention-level3[_nghost-%COMP%]:active, .page-title kirby-page-actions .attention-level3[_nghost-%COMP%]:active, .page-title kirby-page-actions.attention-level3.interaction-state-active[_nghost-%COMP%], .page-title kirby-page-actions .attention-level3.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}kirby-empty-state .content[_nghost-%COMP%], kirby-empty-state .content [_nghost-%COMP%]{font-size:16px;height:48px;min-width:220px}kirby-empty-state .content.icon-only[_nghost-%COMP%], kirby-empty-state .content .icon-only[_nghost-%COMP%]{width:48px;min-width:unset}kirby-toggle-button.success[_nghost-%COMP%], kirby-toggle-button .success[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-success);--kirby-button-color: var(--kirby-success-contrast)}@media (hover: hover){kirby-toggle-button.success[_nghost-%COMP%]:hover, kirby-toggle-button .success[_nghost-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}kirby-toggle-button.success[_nghost-%COMP%]:active, kirby-toggle-button .success[_nghost-%COMP%]:active, kirby-toggle-button.success.interaction-state-active[_nghost-%COMP%], kirby-toggle-button .success.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}kirby-toggle-button.warning[_nghost-%COMP%], kirby-toggle-button .warning[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-warning);--kirby-button-color: var(--kirby-warning-contrast)}@media (hover: hover){kirby-toggle-button.warning[_nghost-%COMP%]:hover, kirby-toggle-button .warning[_nghost-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}kirby-toggle-button.warning[_nghost-%COMP%]:active, kirby-toggle-button .warning[_nghost-%COMP%]:active, kirby-toggle-button.warning.interaction-state-active[_nghost-%COMP%], kirby-toggle-button .warning.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}kirby-toggle-button.danger[_nghost-%COMP%], kirby-toggle-button .danger[_nghost-%COMP%]{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}@media (hover: hover){kirby-toggle-button.danger[_nghost-%COMP%]:hover, kirby-toggle-button .danger[_nghost-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}kirby-toggle-button.danger[_nghost-%COMP%]:active, kirby-toggle-button .danger[_nghost-%COMP%]:active, kirby-toggle-button.danger.interaction-state-active[_nghost-%COMP%], kirby-toggle-button .danger.interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}kirby-page-actions[_nghost-%COMP%], kirby-page-actions [_nghost-%COMP%], kirby-action-group[_nghost-%COMP%], kirby-action-group [_nghost-%COMP%], .kirby-modal ion-header ion-toolbar ion-buttons[_nghost-%COMP%], .kirby-modal ion-header ion-toolbar ion-buttons [_nghost-%COMP%]{margin:0}kirby-modal-footer[_nghost-%COMP%], kirby-modal-footer [_nghost-%COMP%]{margin-top:0;margin-bottom:0}kirby-modal-footer[_nghost-%COMP%]:first-child, kirby-modal-footer [_nghost-%COMP%]:first-child{margin-left:0}kirby-modal-footer[_nghost-%COMP%]:last-child, kirby-modal-footer [_nghost-%COMP%]:last-child{margin-right:0}'],changeDetection:0})}return y})()},34100:(ft,Z,l)=>{"use strict";l.d(Z,{S:()=>to});var n=l(60177),i=l(54438),f=l(91490);function g(co,Oo){return+(0,f.a)(co)<+(0,f.a)(Oo)}function x(co,Oo){return+(0,f.a)(co)>+(0,f.a)(Oo)}var y=l(30226),w=l(7083),M=l(77530);function I(co,Oo,ln){const[Gn,go]=(0,M.x)(ln?.in,co,Oo);return Gn.getFullYear()===go.getFullYear()&&Gn.getMonth()===go.getMonth()}var H=l(85578),L=l(91298);var be=l(28034),Le=l(69831);function ye(co,Oo,ln){const[Gn,go]=(0,M.x)(ln?.in,co,Oo);return+(0,y.o)(Gn)==+(0,y.o)(go)}var ke=l(71479),De=l(53759);function Je(co,Oo,ln){const{years:Gn=0,months:go=0,weeks:Vo=0,days:yi=0,hours:ci=0,minutes:er=0,seconds:ei=0}=Oo,dr=(0,f.a)(co,ln?.in),Lr=go||Gn?(0,De.P)(dr,go+12*Gn):dr,Vr=yi||Vo?(0,ke.f)(Lr,yi+7*Vo):Lr,Qi=1e3*(ei+60*(er+60*ci));return(0,L.w)(ln?.in||co,+Vr+Qi)}function Mt(co,Oo){const ln=(0,f.a)(co,Oo?.in).getDay();return 0===ln||6===ln}var tt=l(9807),e=l(99130);const On={lessThanXSeconds:{one:"mindre end \xe9t sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"\xe9t halvt minut",lessThanXMinutes:{one:"mindre end \xe9t minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 m\xe5ned",other:"cirka {{count}} m\xe5neder"},xMonths:{one:"1 m\xe5ned",other:"{{count}} m\xe5neder"},aboutXYears:{one:"cirka 1 \xe5r",other:"cirka {{count}} \xe5r"},xYears:{one:"1 \xe5r",other:"{{count}} \xe5r"},overXYears:{one:"over 1 \xe5r",other:"over {{count}} \xe5r"},almostXYears:{one:"n\xe6sten 1 \xe5r",other:"n\xe6sten {{count}} \xe5r"}};var wt=l(13130);const It={date:(0,wt.k)({formats:{full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,wt.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,wt.k)({formats:{full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},tn={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i g\xe5r kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'p\xe5' eeee 'kl.' p",other:"P"};var En=l(34228);const pn={ordinalNumber:(co,Oo)=>Number(co)+".",era:(0,En.o)({values:{narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["f\xf8r vesterlandsk tidsregning","vesterlandsk tidsregning"]},defaultWidth:"wide"}),quarter:(0,En.o)({values:{narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:co=>co-1}),month:(0,En.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,En.o)({values:{narrow:["S","M","T","O","T","F","L"],short:["s\xf8","ma","ti","on","to","fr","l\xf8"],abbreviated:["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],wide:["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"]},defaultWidth:"wide"}),dayPeriod:(0,En.o)({values:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},defaultFormattingWidth:"wide"})};var Un=l(23990);const gi={code:"da",formatDistance:(co,Oo,ln)=>{let Gn;const go=On[co];return Gn="string"==typeof go?go:1===Oo?go.one:go.other.replace("{{count}}",String(Oo)),ln?.addSuffix?ln.comparison&&ln.comparison>0?"om "+Gn:Gn+" siden":Gn},formatLong:It,formatRelative:(co,Oo,ln,Gn)=>tn[co],localize:pn,match:{ordinalNumber:(0,l(8762).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:co=>parseInt(co,10)}),era:(0,Un.A)({matchPatterns:{narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|f\xf8r vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^(v|e)/i]},defaultParseWidth:"any"}),quarter:(0,Un.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:co=>co+1}),month:(0,Un.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,Un.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(s\xf8n.|man.|tir.|ons.|tor.|fre.|l\xf8r.)/i,abbreviated:/^(s\xf8n|man|tir|ons|tor|fre|l\xf8r)/i,wide:/^(s\xf8ndag|mandag|tirsdag|onsdag|torsdag|fredag|l\xf8rdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,Un.A)({matchPatterns:{narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var zo=l(98306),ri=l(80669),Yi=l(78157),xr=l(39225);const Gi={date:(0,wt.k)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,wt.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,wt.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},no={code:"en-GB",formatDistance:zo.B,formatLong:Gi,formatRelative:ri.o,localize:Yi.k,match:xr.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}};var mn=l(54238),ze=l(29081),at=l(47008),Ft=l(41727),In=l(53715),fo=l(35043),wn=l(13339);function dn(co,Oo){if(1&co&&(i.j41(0,"span",12),i.EFF(1),i.k0s()),2&co){const ln=i.XpG();i.R7$(),i.JRh(ln.activeYear)}}function $e(co,Oo){if(1&co){const ln=i.RV6();i.j41(0,"kirby-dropdown",13),i.bIt("change",function(go){i.eBV(ln);const Vo=i.XpG();return i.Njj(Vo._changeYear(go))}),i.k0s()}if(2&co){const ln=i.XpG();i.Y8G("usePopover",ln.usePopover)("selectedIndex",ln.navigatedYear)("items",ln.navigableYears),i.BMQ("aria-label",ln.translations.get("selectYear"))}}function We(co,Oo){if(1&co&&(i.j41(0,"th",14)(1,"span",15),i.EFF(2),i.k0s(),i.j41(3,"span",16),i.EFF(4),i.k0s()()),2&co){const ln=Oo.$implicit;i.R7$(2),i.JRh(ln.firstLetterCapitalized),i.R7$(2),i.JRh(ln.fullName)}}function ot(co,Oo){if(1&co){const ln=i.RV6();i.j41(0,"td")(1,"button",17),i.bIt("click",function(){const go=i.eBV(ln).$implicit,Vo=i.XpG(2);return i.Njj(Vo._onDateSelected(go))})("keydown",function(go){i.eBV(ln);const Vo=i.XpG(2);return i.Njj(Vo._onDateKeydown(go))}),i.EFF(2),i.k0s()()}if(2&co){const ln=Oo.$implicit;i.BMQ("aria-selected",!!ln.isSelected),i.R7$(),i.AVh("current-month",ln.isCurrentMonth)("weekend",ln.isWeekend)("today",ln.isToday)("selectable",ln.isSelectable)("selected",ln.isSelected)("focussed",ln.isFocussed)("past",ln.isPast),i.Y8G("noDecoration",!0)("disabled",!ln.isFocusable||null)("tabIndex",ln.isFocussed?0:-1),i.BMQ("aria-label",ln.ariaLabel)("aria-disabled",!ln.isSelectable||null),i.R7$(),i.SpI(" ",ln.date," ")}}function Wt(co,Oo){if(1&co&&(i.j41(0,"tr"),i.DNE(1,ot,3,21,"td",11),i.k0s()),2&co){const ln=Oo.$implicit;i.R7$(),i.Y8G("ngForOf",ln)}}var Dn=function(co){return co.years="years",co.months="months",co.weeks="weeks",co.days="days",co.hours="hours",co.minutes="minutes",co.seconds="seconds",co.milliseconds="milliseconds",co}(Dn||{});let to=(()=>{class co{set locales(ln){console.warn("Supplying additional locales to the Kirby Calendar Component via an input property is deprecated and should not be used. \n A future update will allow injecting additional locales via a provider instead.")}get selectedDate(){return this._selectedDate}set selectedDate(ln){const Gn=this.normalizeDate(ln);ln&&this.setActiveMonth(Gn),this.hasDateChanged(Gn,this._selectedDate)&&(this.onSelectedDateChange(Gn),this.focusDate(Gn),this._selectedDate=Gn)}get disabledDates(){return this._disabledDates}set disabledDates(ln){this._disabledDates=(ln||[]).map(Gn=>this.normalizeDate(Gn))}get enabledDates(){return this._enabledDates}set enabledDates(ln){this._enabledDates=(ln||[]).map(Gn=>this.normalizeDate(Gn))}get todayDate(){return this._todayDate}set todayDate(ln){this._todayDate=this.normalizeDate(ln)}get minDate(){return this._minDate}set minDate(ln){ln&&this.activeMonth&&g(this.activeMonth,ln)&&this.setActiveMonth(ln),this._minDate=this.normalizeDate(ln)}get maxDate(){return this._maxDate}set maxDate(ln){ln&&this.activeMonth&&x(this.activeMonth,ln)&&this.setActiveMonth(ln),this._maxDate=this.normalizeDate(ln)}get activeMonthName(){return(0,ze.Zr)(this.formatWithLocale(this.activeMonth,"MMMM"))}get activeYear(){return this.formatWithLocale(this.activeMonth,"yyyy")}get navigableYears(){const ln=this.minDate||this.getDateFromNavigableYear(this.yearNavigatorOptions.from),Gn=this.maxDate||this.getDateFromNavigableYear(this.yearNavigatorOptions.to);return this.getYearsBetweenDates(ln,Gn)}get navigatedYear(){return this.navigableYears.indexOf(this.activeYear)}get _hasYearNavigator(){return!!this.yearNavigatorOptions}getTodayDate(){return(0,y.o)(this.todayDate??new Date)}constructor(ln,Gn,go,Vo){this.elementRef=Gn,this.cdr=go,this.translations=Vo,this.dateChange=new i.bkB,this.dateSelect=new i.bkB,this.yearSelect=new i.bkB,this.previousMonthClicked=new i.bkB,this.nextMonthClicked=new i.bkB,this.timezone="local",this.disableWeekends=!1,this.disablePastDates=!1,this.disableFutureDates=!1,this.alwaysEnableToday=!1,this.customLocales={},this.usePopover=!1,this._tableMonthId=In.KA.scopedTo("kirby-calendar-month").next(),this._disabledDates=[],this._enabledDates=[],this.includedLocales={da:gi,enGB:no,enUS:mn.c},this.locale=this.mapLocale(ln),this.timeZoneName=Intl.DateTimeFormat().resolvedOptions().timeZone}formatWithLocale(ln,Gn){return(0,w.GP)(ln,Gn,{locale:this.locale})}mapLocale(ln){return"en"===ln&&(ln="enGB"),ln=ln.replace("-",""),{...this.includedLocales,...this.locales,...this.customLocales}[ln]||this.includedLocales.enGB}formatDateLabel(){const ln={da:"d. MMMM","en-GB":"d MMMM","en-US":"MMMM d"};return ln[this.locale.code]||ln["en-US"]}ngOnInit(){this.focussedDate=this.getTodayDate(),this._weekDays=this.getWeekDays(),this.setActiveMonth(this.selectedDate)}ngOnChanges(ln){this.activeMonth&&(ln.disableWeekends||ln.disablePastDates||ln.disableFutureDates||ln.disabledDates||ln.enabledDates||ln.minDate||ln.maxDate||ln.todayDate||ln.timezone)&&this.refreshActiveMonth()}setActiveMonth(ln=new Date){(!this.activeMonth||!I(this.activeMonth,ln))&&(this.activeMonth=(0,H.w)(ln),this.refreshActiveMonth())}normalizeDate(ln){if(ln)return(0,y.o)(ln).getTime()===ln.getTime()?ln:(0,y.o)((0,e.L_)(ln,this.timeZoneName)).getTime()===(0,e.L_)(ln,this.timeZoneName).getTime()?(0,e.L_)(ln,this.timeZoneName):(0,y.o)(ln)}getWeekDays(){const ln=new Date,Gn=function he(co,Oo){const{start:ln,end:Gn}=function K(co,Oo){const[ln,Gn]=(0,M.x)(co,Oo.start,Oo.end);return{start:ln,end:Gn}}(Oo?.in,co);let go=+ln>+Gn;const Vo=go?+ln:+Gn,yi=go?Gn:ln;yi.setHours(0,0,0,0);let ci=Oo?.step??1;if(!ci)return[];ci<0&&(ci=-ci,go=!go);const er=[];for(;+yi<=Vo;)er.push((0,L.w)(ln,yi)),yi.setDate(yi.getDate()+ci),yi.setHours(0,0,0,0);return go?er.reverse():er}({start:(0,be.k)(ln,{locale:this.locale}),end:(0,Le.$)(ln,{locale:this.locale})});return Gn.map(yi=>({firstLetterCapitalized:this.formatWithLocale(yi,"EEEEE"),fullName:this.formatWithLocale(yi,"EEEE")}))}hasDateChanged(ln,Gn){return!(!ln&&!Gn)&&(ln instanceof Date&&!Gn||!ye(ln,Gn))}isDisabledDate(ln){return this.disabledDates.some(Gn=>ye(Gn,ln))}isEnabledDate(ln){return 0===this._enabledDates.length||this.enabledDates.some(Gn=>ye(Gn,ln))}refreshActiveMonth(){if(!this.activeMonth)return;const ln=(0,H.w)(this.activeMonth),Gn=(0,be.k)(ln,{locale:this.locale}),Vo=Array.from(Array(42).keys()),yi=this.getTodayDate(),ci=Vo.map(er=>{const ei=Je(Gn,{[Dn.days]:er}),dr={date:ei.getDate(),monthIndex:ei.getMonth(),year:ei.getFullYear(),ariaLabel:this.formatWithLocale(ei,this.formatDateLabel()),...this.getCalendarDayMetadata(ei,yi,ln)};return dr.isSelected&&(this.selectedDay=dr),dr.isFocussed&&(this.focussedDay=dr),dr});this._month=this.chunk(ci,7)}getCalendarDayMetadata(ln,Gn,go){return{isToday:ye(Gn,ln),isPast:g(ln,Gn),isFuture:x(ln,Gn),isWeekend:Mt(ln),isCurrentMonth:I(ln,go),isSelectable:this.isSelectable(ln,Gn),isFocusable:this.isWithinAllowedRange(ln,Gn),isSelected:ye(this.selectedDate,ln),isFocussed:ye(this.focussedDate,ln)}}isSelectable(ln,Gn){return!(!this.alwaysEnableToday||!ye(Gn,ln))||!(!this.isWithinAllowedRange(ln,Gn)||this.isDisabledDate(ln)||!this.isEnabledDate(ln)||this.disableWeekends&&Mt(ln))}isWithinAllowedRange(ln,Gn){return!(this.disablePastDates&&g(ln,Gn)||this.disableFutureDates&&x(ln,Gn)||this.minDate&&g(ln,this.minDate)||this.maxDate&&x(ln,this.maxDate))}chunk(ln,Gn){const go=[];for(;ln.length;)go.push(ln.splice(0,Gn));return go}onSelectedDateChange(ln){this.selectedDay&&(this.selectedDay.isSelected=!1);const Gn=this.getDay(ln);Gn&&(Gn.isSelected=!0,this.selectedDay=Gn)}_onDateSelected(ln){if(!ln.isSelectable)return;let Gn=new Date(ln.year,ln.monthIndex,ln.date);"UTC"===this.timezone&&(Gn=(0,e.uk)(this.subtractTimezoneOffset(Gn),this.timeZoneName));const go=Gn;this.hasDateChanged(Gn,this._selectedDate)&&(this.setActiveMonth(Gn),this.onSelectedDateChange(Gn),this.selectedDate=Gn,this.dateChange.emit(go)),this.dateSelect.emit(go)}_changeMonth(ln){ln>0&&!this._canNavigateForward||ln<0&&!this._canNavigateBack||(this.changeActiveView(ln,Dn.months),ln>0?this.nextMonthClicked.emit(this.activeMonth):this.previousMonthClicked.emit(this.activeMonth))}_changeYear(ln){const Gn=Number(ln);this.changeActiveView(Gn-function et(co,Oo){return(0,f.a)(co,Oo?.in).getFullYear()}(this.activeMonth),Dn.years),this.yearSelect.emit(Gn)}changeActiveView(ln,Gn){0!==ln&&(this.activeMonth=Je(this.activeMonth,{[Gn]:ln}),this.focussedDate=Je(this.focussedDate,{[Gn]:ln}),this.refreshActiveMonth())}get _canNavigateBack(){const ln=this.getTodayDate(),Gn=this.disablePastDates&&I(this.activeMonth,ln),go=this.minDate&&(I(this.activeMonth,this.minDate)||g(this.activeMonth,this.minDate));return!Gn&&!go}get _canNavigateForward(){const ln=this.getTodayDate(),Gn=this.disableFutureDates&&I(this.activeMonth,ln),go=this.maxDate&&(I(this.activeMonth,this.maxDate)||x(this.activeMonth,this.maxDate));return!Gn&&!go}getDay(ln){let Gn=null;if(ln)for(const go of this._month)if(Gn=go.find(Vo=>Vo.isCurrentMonth&&Vo.date===ln.getDate()),Gn)break;return Gn}subtractTimezoneOffset(ln){const Gn=60*ln.getTimezoneOffset()*1e3;return new Date(ln.getTime()-Gn)}getDateFromNavigableYear(ln){return ln instanceof Date?ln:new Date((this.todayDate||new Date).getFullYear()+ln,0,1)}getYearsBetweenDates(ln,Gn){const[go,Vo]=[ln.getFullYear(),Gn.getFullYear()].sort();return Array.from({length:Vo-go+1},(ci,er)=>(go+er).toString())}setFocussedDay(ln){const Gn=this.getDay(ln);Gn&&(this.focussedDay&&(this.focussedDay.isFocussed=!1),Gn.isFocussed=!0,this.focussedDay=Gn)}focusDate(ln){if(!ln)return;ln=this.normalizeDate(ln),"UTC"===this.timezone&&(ln=(0,e.uk)(this.subtractTimezoneOffset(ln),this.timeZoneName));const Gn=this.getTodayDate();this.isWithinAllowedRange(ln,Gn)&&this.hasDateChanged(ln,this.focussedDate)&&(this.setActiveMonth(ln),this.setFocussedDay(ln),this.focussedDate=ln,this.cdr.detectChanges(),this.elementRef.nativeElement.querySelector(".focussed").focus())}_onDateKeydown(ln){const{key:Gn,shiftKey:go}=ln;let Vo;switch(Gn){case"ArrowUp":Vo=Je(this.focussedDate,{days:-7});break;case"ArrowDown":Vo=Je(this.focussedDate,{days:7});break;case"ArrowRight":Vo=Je(this.focussedDate,{days:1});break;case"ArrowLeft":Vo=Je(this.focussedDate,{days:-1});break;case"Home":Vo=(0,be.k)(this.focussedDate,{locale:this.locale});break;case"End":Vo=function Ct(co,Oo){const ln=(0,tt.q)(),Gn=Oo?.weekStartsOn??Oo?.locale?.options?.weekStartsOn??ln.weekStartsOn??ln.locale?.options?.weekStartsOn??0,go=(0,f.a)(co,Oo?.in),Vo=go.getDay(),yi=6+(Vo{"use strict";l.d(Z,{Dw:()=>K,ib:()=>I,lM:()=>M,qq:()=>R});var n=l(54438),i=l(60177),f=l(13339);const g=["*"];function s(L,he){if(1&L&&(n.j41(0,"h2"),n.EFF(1),n.k0s()),2&L){const pe=n.XpG();n.AVh("bold",pe.isTitleBold),n.R7$(),n.JRh(pe.title)}}function x(L,he){if(1&L&&(n.j41(0,"h4"),n.EFF(1),n.k0s()),2&L){const pe=n.XpG();n.R7$(),n.JRh(pe.subtitle)}}const _=[[["kirby-card-header"]],"*",[["kirby-card-footer"]]],y=["kirby-card-header","*","kirby-card-footer"];let M=(()=>{class L{constructor(){this.flagged=null,this.hasPadding=!0}get _cssClass(){return[this.flagged,this.flagged?"flagged":null]}static#e=this.\u0275fac=function(be){return new(be||L)};static#t=this.\u0275cmp=n.VBU({type:L,selectors:[["kirby-card-header"]],hostVars:4,hostBindings:function(be,Le){2&be&&(n.HbH(Le._cssClass),n.AVh("has-padding",Le.hasPadding))},inputs:{title:"title",subtitle:"subtitle",isTitleBold:"isTitleBold",flagged:"flagged",hasPadding:"hasPadding"},standalone:!1,ngContentSelectors:g,decls:4,vars:2,consts:[[3,"bold",4,"ngIf"],[4,"ngIf"]],template:function(be,Le){1&be&&(n.NAR(),n.j41(0,"header"),n.DNE(1,s,2,3,"h2",0)(2,x,2,1,"h4",1),n.SdG(3),n.k0s()),2&be&&(n.R7$(),n.Y8G("ngIf",Le.title),n.R7$(),n.Y8G("ngIf",Le.subtitle))},dependencies:[i.bT],styles:["[_nghost-%COMP%]{display:block;border-top-left-radius:16px;border-top-right-radius:16px;text-align:center;padding:0;color:var(--kirby-card-header-color);background-color:var(--kirby-card-header-background-color)}.has-padding[_nghost-%COMP%]{padding:var(--kirby-internal-card-header-padding, 16px)}h2[_ngcontent-%COMP%]{font-size:16px;font-weight:400;margin:0 0 var(--kirby-internal-card-header-margin-bottom, 8px);line-height:var(--kirby-internal-card-header-line-height, 28px)}h2.bold[_ngcontent-%COMP%]{font-weight:700}h4[_ngcontent-%COMP%]{font-size:14px;margin:0;font-weight:400}.success[_nghost-%COMP%]{--kirby-card-header-background-color: var(--kirby-decoration-color-green-30);--kirby-card-header-color: var(--kirby-black)}.warning[_nghost-%COMP%]{--kirby-card-header-background-color: var(--kirby-decoration-color-yellow-30);--kirby-card-header-color: var(--kirby-black)}.danger[_nghost-%COMP%]{--kirby-card-header-background-color: var(--kirby-decoration-color-red-30);--kirby-card-header-color: var(--kirby-black)}.info[_nghost-%COMP%]{--kirby-card-header-background-color: var(--kirby-semi-light);--kirby-card-header-color: var(--kirby-black)}.flagged[_nghost-%COMP%]{--kirby-internal-card-header-padding: 2px 8px}.flagged[_nghost-%COMP%] h2[_ngcontent-%COMP%]{--kirby-internal-card-header-line-height: 24px;--kirby-internal-card-header-margin-bottom: 0px}"],changeDetection:0})}return L})(),I=(()=>{class L{set backgroundImageUrl(pe){this._backgroundImage=`url('${pe}')`}set sizes(pe){"string"==typeof pe&&console.error('Sizes property cannot be a string. Please ensure the size property is bound as an expression:\n[sizes]="{...}"'),this.sizesSortedByBreakpoint=this.sortSizesByBreakpoint(pe)}constructor(pe,be,Le){this.elementRef=pe,this.resizeObserverService=be,this.renderer=Le,this.sizesSortedByBreakpoint=this.sortSizesByBreakpoint({small:360,medium:720,large:1024}),this.variant="elevated"}ngOnInit(){this.resizeObserverService.observe(this.elementRef,pe=>this.handleResize(pe))}ngOnDestroy(){this.resizeObserverService.unobserve(this.elementRef)}sortSizesByBreakpoint(pe){return Object.entries(pe).sort(this.compareSizesByBreakpoint)}compareSizesByBreakpoint(pe,be){return pe[1]>be[1]?1:be[1]>pe[1]?-1:0}handleResize(pe){pe.contentRect.width{pe.contentRect.width>=ke&&this.renderer.setAttribute(pe.target,"size",je)})}static#e=this.\u0275fac=function(be){return new(be||L)(n.rXU(n.aKT),n.rXU(f.ke),n.rXU(n.sFG))};static#t=this.\u0275cmp=n.VBU({type:L,selectors:[["kirby-card"]],hostVars:4,hostBindings:function(be,Le){2&be&&(n.HbH(Le.variant),n.xc7("--kirby-card-background-image",Le._backgroundImage))},inputs:{title:"title",subtitle:"subtitle",backgroundImageUrl:"backgroundImageUrl",hasPadding:"hasPadding",sizes:"sizes",variant:"variant"},standalone:!1,ngContentSelectors:y,decls:6,vars:2,consts:[["aria-hidden","true",1,"state-layer"],[1,"content-layer"],[1,"content-wrapper"]],template:function(be,Le){1&be&&(n.NAR(_),n.nrm(0,"div",0),n.j41(1,"div",1),n.SdG(2),n.j41(3,"div",2),n.SdG(4,1),n.k0s(),n.SdG(5,2),n.k0s()),2&be&&(n.R7$(3),n.AVh("padding",Le.hasPadding))},styles:['ion-item-option.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}[_nghost-%COMP%]{--kirby-card-main-background-color: var(--kirby-white);--kirby-card-main-color: var(--kirby-white-contrast);--kirby-card-footer-background-color: var(--kirby-white);--kirby-card-footer-color: var(--kirby-white-contrast);--kirby-inputs-background-color: var(--kirby-dark-overlay);--kirby-inputs-background-color-hover: var(--kirby-dark-overlay-10);--kirby-inputs-background-color-active: var(--kirby-dark-overlay-20);--kirby-inputs-color: var(--kirby-black);--kirby-inputs-indicator-background-color: var(--kirby-black);--kirby-inputs-indicator-color: var(--kirby-white);--kirby-inputs-placeholder-color: var(--kirby-semi-dark);--kirby-inputs-elevation: none;--kirby-divider-color: var(--kirby-background-color)}.kirby-color-brightness-light[_nghost-%COMP%]{--kirby-inputs-background-color: var(--kirby-white);--kirby-inputs-background-color-hover: var(--kirby-dark-overlay-10);--kirby-inputs-background-color-active: var(--kirby-dark-overlay-20);--kirby-inputs-color: var(--kirby-black);--kirby-inputs-indicator-background-color: var(--kirby-black);--kirby-inputs-indicator-color: var(--kirby-white);--kirby-inputs-placeholder-color: var(--kirby-semi-dark);--kirby-divider-color: var(--kirby-medium);--kirby-inputs-elevation: var(--kirby-elevation-2)}.kirby-color-brightness-dark[_nghost-%COMP%]{--kirby-inputs-background-color: var(--kirby-white-overlay);--kirby-inputs-background-color-hover: var(--kirby-white-overlay-30);--kirby-inputs-background-color-active: var(--kirby-white-overlay-40);--kirby-inputs-color: var(--kirby-white);--kirby-inputs-indicator-background-color: var(--kirby-white);--kirby-inputs-indicator-color: var(--kirby-black);--kirby-inputs-placeholder-color: var(--kirby-white-overlay-50);--kirby-inputs-elevation: none}@media (hover: hover){.kirby-color-brightness-dark[role=button][_nghost-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}.kirby-color-brightness-dark[role=button][_nghost-%COMP%]:active, .kirby-color-brightness-dark[role=button].interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast)}[_nghost-%COMP%] .content-layer[_ngcontent-%COMP%]{display:inherit;flex-direction:inherit;justify-content:inherit}[_nghost-%COMP%]{border-radius:16px;box-shadow:0 1px 24px #1c1c1c0a;color:var(--kirby-card-main-color);background-color:var(--kirby-card-main-background-color);background-image:var(--kirby-card-background-image);background-repeat:var(--kirby-card-background-repeat, no-repeat);background-position:var(--kirby-card-background-position, center);background-size:var(--kirby-card-background-size, cover);border:var(--kirby-card-border, none);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;z-index:1;width:var(--kirby-card-width, auto)}.flat[_nghost-%COMP%]{box-shadow:none}.outlined[_nghost-%COMP%]{background-color:transparent;border:var(--kirby-card-border, 1px solid var(--kirby-medium));box-shadow:none}.outlined[_nghost-%COMP%]:has(kirby-card-header.flagged){border:none}.outlined[_nghost-%COMP%]:has(kirby-card-header.flagged) .content-wrapper[_ngcontent-%COMP%]{border-block-end:var(--kirby-card-border, 1px solid var(--kirby-medium));border-inline-start:var(--kirby-card-border, 1px solid var(--kirby-medium));border-inline-end:var(--kirby-card-border, 1px solid var(--kirby-medium));border-bottom-left-radius:16px;border-bottom-right-radius:16px}[role=button][_nghost-%COMP%]{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}[role=button][_nghost-%COMP%] .content-layer[_ngcontent-%COMP%]{position:relative;z-index:var(--content-layer-z-index, 1)}[role=button][_nghost-%COMP%] .state-layer[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}[role=button][_nghost-%COMP%] .state-layer[_ngcontent-%COMP%]:before{transition:all 80ms linear 0ms;content:"";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}@media (hover: hover){[role=button][_nghost-%COMP%]:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}[role=button][_nghost-%COMP%]:active, [role=button].interaction-state-active[_nghost-%COMP%]{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}@media (hover: hover) and (pointer: fine){[role=button][_nghost-%COMP%]:focus{transition:all 80ms linear 0ms;box-shadow:0 1px 24px #1c1c1c0a,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}[role=button][_nghost-%COMP%]:focus:not(:focus-visible){box-shadow:0 1px 24px #1c1c1c0a,0 0 0 0 transparent}[role=button][_nghost-%COMP%]:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 1px 24px #1c1c1c0a,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}[role=button][_nghost-%COMP%]{outline:none}.content-wrapper.padding[_ngcontent-%COMP%]{padding-top:var(--kirby-card-padding-top, 16px);padding-bottom:var(--kirby-card-padding-bottom, 16px);padding-inline:16px}.content-layer[_ngcontent-%COMP%]{height:100%}.primary[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-primary);--kirby-card-main-color: var(--kirby-primary-contrast)}.secondary[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-secondary);--kirby-card-main-color: var(--kirby-secondary-contrast)}.tertiary[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-tertiary);--kirby-card-main-color: var(--kirby-tertiary-contrast)}.success[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-success);--kirby-card-main-color: var(--kirby-success-contrast)}.warning[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-warning);--kirby-card-main-color: var(--kirby-warning-contrast)}.danger[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-danger);--kirby-card-main-color: var(--kirby-danger-contrast)}.white-overlay[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-white-overlay);--kirby-card-main-color: var(--kirby-white-overlay-contrast)}.light[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-light);--kirby-card-main-color: var(--kirby-light-contrast)}.medium[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-medium);--kirby-card-main-color: var(--kirby-medium-contrast)}.dark[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-dark);--kirby-card-main-color: var(--kirby-dark-contrast)}.dark-overlay[_nghost-%COMP%]:not(.outlined){--kirby-card-main-background-color: var(--kirby-dark-overlay);--kirby-card-main-color: var(--kirby-dark-overlay-contrast)}']})}return L})(),R=(()=>{class L{constructor(pe,be){this.card=pe,this.clickableElement=be,this.role="button",this.tabindex=0,this._pressed=!1}_onKeydownHandler(pe){pe.currentTarget===pe.target&&(this._pressed=!0,this.clickableElement.nativeElement.click(pe),pe.preventDefault())}_onInactiveHandler(){this._pressed=!1}static#e=this.\u0275fac=function(be){return new(be||L)(n.rXU(I,8),n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:L,selectors:[["kirby-card","click",""]],hostVars:4,hostBindings:function(be,Le){1&be&&n.bIt("keydown.space",function(je){return Le._onKeydownHandler(je)})("keydown.enter",function(je){return Le._onKeydownHandler(je)})("keyup.space",function(){return Le._onInactiveHandler()})("keyup.enter",function(){return Le._onInactiveHandler()})("blur",function(){return Le._onInactiveHandler()}),2&be&&(n.BMQ("role",Le.role)("tabindex",Le.tabindex),n.AVh("interaction-state-active",Le._pressed))},standalone:!1})}return L})(),K=(()=>{class L{static#e=this.\u0275fac=function(be){return new(be||L)};static#t=this.\u0275mod=n.$C({type:L});static#n=this.\u0275inj=n.G2t({imports:[i.MD]})}return L})()},91022:(ft,Z,l)=>{"use strict";l.d(Z,{q0:()=>Lo,Qe:()=>ce,mM:()=>$t,_n:()=>bt,TL:()=>Sa});var n=l(54438),i=l(13339),f=l(44354),g=l(19402),s=l(53715),x=l(91490),_=l(33510),y=l(54238),w=l(83849),M=l(18648),I=l(91298),R=l(78590);class pe{subPriority=0;validate(j,X){return!0}}class be extends pe{constructor(j,X,me,ct,rn){super(),this.value=j,this.validateValue=X,this.setValue=me,this.priority=ct,rn&&(this.subPriority=rn)}validate(j,X){return this.validateValue(j,this.value,X)}set(j,X,me){return this.setValue(j,X,this.value,me)}}class Le extends pe{priority=10;subPriority=-1;constructor(j,X){super(),this.context=j||(me=>(0,I.w)(X,me))}set(j,X){return X.timestampIsSet?j:(0,I.w)(j,function H(G,j){const X=function K(G){return"function"==typeof G&&G.prototype?.constructor===G}(j)?new j(0):(0,I.w)(j,0);return X.setFullYear(G.getFullYear(),G.getMonth(),G.getDate()),X.setHours(G.getHours(),G.getMinutes(),G.getSeconds(),G.getMilliseconds()),X}(j,this.context))}}class ye{run(j,X,me,ct){const rn=this.parse(j,X,me,ct);return rn?{setter:new be(rn.value,this.validate,this.set,this.priority,this.subPriority),rest:rn.rest}:null}validate(j,X,me){return!0}}var ke=l(72162);const De_month=/^(1[0-2]|0?\d)/,De_date=/^(3[0-1]|[0-2]?\d)/,De_dayOfYear=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,De_week=/^(5[0-3]|[0-4]?\d)/,De_hour23h=/^(2[0-3]|[0-1]?\d)/,De_hour24h=/^(2[0-4]|[0-1]?\d)/,De_hour11h=/^(1[0-1]|0?\d)/,De_hour12h=/^(1[0-2]|0?\d)/,De_minute=/^[0-5]?\d/,De_second=/^[0-5]?\d/,De_singleDigit=/^\d/,De_twoDigits=/^\d{1,2}/,De_threeDigits=/^\d{1,3}/,De_fourDigits=/^\d{1,4}/,De_anyDigitsSigned=/^-?\d+/,De_singleDigitSigned=/^-?\d/,De_twoDigitsSigned=/^-?\d{1,2}/,De_threeDigitsSigned=/^-?\d{1,3}/,De_fourDigitsSigned=/^-?\d{1,4}/,Je_basicOptionalMinutes=/^([+-])(\d{2})(\d{2})?|Z/,Je_basic=/^([+-])(\d{2})(\d{2})|Z/,Je_basicOptionalSeconds=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Je_extended=/^([+-])(\d{2}):(\d{2})|Z/,Je_extendedOptionalSeconds=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function lt(G,j){return G&&{value:j(G.value),rest:G.rest}}function Mt(G,j){const X=j.match(G);return X?{value:parseInt(X[0],10),rest:j.slice(X[0].length)}:null}function Bt(G,j){const X=j.match(G);if(!X)return null;if("Z"===X[0])return{value:0,rest:j.slice(1)};const me="+"===X[1]?1:-1,ct=X[2]?parseInt(X[2],10):0,rn=X[3]?parseInt(X[3],10):0,Rn=X[5]?parseInt(X[5],10):0;return{value:me*(ct*ke.s0+rn*ke.Cg+Rn*ke._m),rest:j.slice(X[0].length)}}function et(G){return Mt(De_anyDigitsSigned,G)}function sn(G,j){switch(G){case 1:return Mt(De_singleDigit,j);case 2:return Mt(De_twoDigits,j);case 3:return Mt(De_threeDigits,j);case 4:return Mt(De_fourDigits,j);default:return Mt(new RegExp("^\\d{1,"+G+"}"),j)}}function tt(G,j){switch(G){case 1:return Mt(De_singleDigitSigned,j);case 2:return Mt(De_twoDigitsSigned,j);case 3:return Mt(De_threeDigitsSigned,j);case 4:return Mt(De_fourDigitsSigned,j);default:return Mt(new RegExp("^-?\\d{1,"+G+"}"),j)}}function Ct(G){switch(G){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Xe(G,j){const X=j>0,me=X?j:1-j;let ct;if(me<=50)ct=G||100;else{const rn=me+50;ct=G+100*Math.trunc(rn/100)-(G>=rn%100?100:0)}return X?ct:1-ct}function e(G){return G%400==0||G%4==0&&G%100!=0}var Pt=l(4110),wt=l(28034),we=l(31337),So=l(3719),cn=l(79865);const Zn=[31,28,31,30,31,30,31,31,30,31,30,31],Bn=[31,29,31,30,31,30,31,31,30,31,30,31];var Qt=l(9807),Nn=l(71479);function Qn(G,j,X){const me=(0,Qt.q)(),ct=X?.weekStartsOn??X?.locale?.options?.weekStartsOn??me.weekStartsOn??me.locale?.options?.weekStartsOn??0,rn=(0,x.a)(G,X?.in),Rn=rn.getDay(),Jo=7-ct;return(0,Nn.f)(rn,j<0||j>6?j-(Rn+Jo)%7:((j%7+7)%7+Jo)%7-(Rn+Jo)%7,X)}var mn=l(48833);const fo={G:new class je extends ye{priority=140;parse(j,X,me){switch(X){case"G":case"GG":case"GGG":return me.era(j,{width:"abbreviated"})||me.era(j,{width:"narrow"});case"GGGGG":return me.era(j,{width:"narrow"});default:return me.era(j,{width:"wide"})||me.era(j,{width:"abbreviated"})||me.era(j,{width:"narrow"})}}set(j,X,me){return X.era=me,j.setFullYear(me,0,1),j.setHours(0,0,0,0),j}incompatibleTokens=["R","u","t","T"]},y:new class On extends ye{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(j,X,me){const ct=rn=>({year:rn,isTwoDigitYear:"yy"===X});switch(X){case"y":return lt(sn(4,j),ct);case"yo":return lt(me.ordinalNumber(j,{unit:"year"}),ct);default:return lt(sn(X.length,j),ct)}}validate(j,X){return X.isTwoDigitYear||X.year>0}set(j,X,me){const ct=j.getFullYear();if(me.isTwoDigitYear){const Rn=Xe(me.year,ct);return j.setFullYear(Rn,0,1),j.setHours(0,0,0,0),j}return j.setFullYear("era"in X&&1!==X.era?1-me.year:me.year,0,1),j.setHours(0,0,0,0),j}},Y:new class At extends ye{priority=130;parse(j,X,me){const ct=rn=>({year:rn,isTwoDigitYear:"YY"===X});switch(X){case"Y":return lt(sn(4,j),ct);case"Yo":return lt(me.ordinalNumber(j,{unit:"year"}),ct);default:return lt(sn(X.length,j),ct)}}validate(j,X){return X.isTwoDigitYear||X.year>0}set(j,X,me,ct){const rn=(0,Pt.h)(j,ct);if(me.isTwoDigitYear){const lo=Xe(me.year,rn);return j.setFullYear(lo,0,ct.firstWeekContainsDate),j.setHours(0,0,0,0),(0,wt.k)(j,ct)}return j.setFullYear("era"in X&&1!==X.era?1-me.year:me.year,0,ct.firstWeekContainsDate),j.setHours(0,0,0,0),(0,wt.k)(j,ct)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class Ot extends ye{priority=130;parse(j,X){return tt("R"===X?4:X.length,j)}set(j,X,me){const ct=(0,I.w)(j,0);return ct.setFullYear(me,0,4),ct.setHours(0,0,0,0),(0,we.b)(ct)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class It extends ye{priority=130;parse(j,X){return tt("u"===X?4:X.length,j)}set(j,X,me){return j.setFullYear(me,0,1),j.setHours(0,0,0,0),j}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class tn extends ye{priority=120;parse(j,X,me){switch(X){case"Q":case"QQ":return sn(X.length,j);case"Qo":return me.ordinalNumber(j,{unit:"quarter"});case"QQQ":return me.quarter(j,{width:"abbreviated",context:"formatting"})||me.quarter(j,{width:"narrow",context:"formatting"});case"QQQQQ":return me.quarter(j,{width:"narrow",context:"formatting"});default:return me.quarter(j,{width:"wide",context:"formatting"})||me.quarter(j,{width:"abbreviated",context:"formatting"})||me.quarter(j,{width:"narrow",context:"formatting"})}}validate(j,X){return X>=1&&X<=4}set(j,X,me){return j.setMonth(3*(me-1),1),j.setHours(0,0,0,0),j}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class fn extends ye{priority=120;parse(j,X,me){switch(X){case"q":case"qq":return sn(X.length,j);case"qo":return me.ordinalNumber(j,{unit:"quarter"});case"qqq":return me.quarter(j,{width:"abbreviated",context:"standalone"})||me.quarter(j,{width:"narrow",context:"standalone"});case"qqqqq":return me.quarter(j,{width:"narrow",context:"standalone"});default:return me.quarter(j,{width:"wide",context:"standalone"})||me.quarter(j,{width:"abbreviated",context:"standalone"})||me.quarter(j,{width:"narrow",context:"standalone"})}}validate(j,X){return X>=1&&X<=4}set(j,X,me){return j.setMonth(3*(me-1),1),j.setHours(0,0,0,0),j}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class En extends ye{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(j,X,me){const ct=rn=>rn-1;switch(X){case"M":return lt(Mt(De_month,j),ct);case"MM":return lt(sn(2,j),ct);case"Mo":return lt(me.ordinalNumber(j,{unit:"month"}),ct);case"MMM":return me.month(j,{width:"abbreviated",context:"formatting"})||me.month(j,{width:"narrow",context:"formatting"});case"MMMMM":return me.month(j,{width:"narrow",context:"formatting"});default:return me.month(j,{width:"wide",context:"formatting"})||me.month(j,{width:"abbreviated",context:"formatting"})||me.month(j,{width:"narrow",context:"formatting"})}}validate(j,X){return X>=0&&X<=11}set(j,X,me){return j.setMonth(me,1),j.setHours(0,0,0,0),j}},L:new class jn extends ye{priority=110;parse(j,X,me){const ct=rn=>rn-1;switch(X){case"L":return lt(Mt(De_month,j),ct);case"LL":return lt(sn(2,j),ct);case"Lo":return lt(me.ordinalNumber(j,{unit:"month"}),ct);case"LLL":return me.month(j,{width:"abbreviated",context:"standalone"})||me.month(j,{width:"narrow",context:"standalone"});case"LLLLL":return me.month(j,{width:"narrow",context:"standalone"});default:return me.month(j,{width:"wide",context:"standalone"})||me.month(j,{width:"abbreviated",context:"standalone"})||me.month(j,{width:"narrow",context:"standalone"})}}validate(j,X){return X>=0&&X<=11}set(j,X,me){return j.setMonth(me,1),j.setHours(0,0,0,0),j}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class Vt extends ye{priority=100;parse(j,X,me){switch(X){case"w":return Mt(De_week,j);case"wo":return me.ordinalNumber(j,{unit:"week"});default:return sn(X.length,j)}}validate(j,X){return X>=1&&X<=53}set(j,X,me,ct){return(0,wt.k)(function pt(G,j,X){const me=(0,x.a)(G,X?.in),ct=(0,So.N)(me,X)-j;return me.setDate(me.getDate()-7*ct),(0,x.a)(me,X?.in)}(j,me,ct),ct)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class Un extends ye{priority=100;parse(j,X,me){switch(X){case"I":return Mt(De_week,j);case"Io":return me.ordinalNumber(j,{unit:"week"});default:return sn(X.length,j)}}validate(j,X){return X>=1&&X<=53}set(j,X,me){return(0,we.b)(function Fn(G,j,X){const me=(0,x.a)(G,X?.in),ct=(0,cn.s)(me,X)-j;return me.setDate(me.getDate()-7*ct),me}(j,me))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class _n extends ye{priority=90;subPriority=1;parse(j,X,me){switch(X){case"d":return Mt(De_date,j);case"do":return me.ordinalNumber(j,{unit:"date"});default:return sn(X.length,j)}}validate(j,X){const ct=e(j.getFullYear()),rn=j.getMonth();return ct?X>=1&&X<=Bn[rn]:X>=1&&X<=Zn[rn]}set(j,X,me){return j.setDate(me),j.setHours(0,0,0,0),j}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class Cn extends ye{priority=90;subpriority=1;parse(j,X,me){switch(X){case"D":case"DD":return Mt(De_dayOfYear,j);case"Do":return me.ordinalNumber(j,{unit:"date"});default:return sn(X.length,j)}}validate(j,X){return e(j.getFullYear())?X>=1&&X<=366:X>=1&&X<=365}set(j,X,me){return j.setMonth(0,me),j.setHours(0,0,0,0),j}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class vn extends ye{priority=90;parse(j,X,me){switch(X){case"E":case"EE":case"EEE":return me.day(j,{width:"abbreviated",context:"formatting"})||me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"});case"EEEEE":return me.day(j,{width:"narrow",context:"formatting"});case"EEEEEE":return me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"});default:return me.day(j,{width:"wide",context:"formatting"})||me.day(j,{width:"abbreviated",context:"formatting"})||me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"})}}validate(j,X){return X>=0&&X<=6}set(j,X,me,ct){return(j=Qn(j,me,ct)).setHours(0,0,0,0),j}incompatibleTokens=["D","i","e","c","t","T"]},e:new class hn extends ye{priority=90;parse(j,X,me,ct){const rn=Rn=>{const lo=7*Math.floor((Rn-1)/7);return(Rn+ct.weekStartsOn+6)%7+lo};switch(X){case"e":case"ee":return lt(sn(X.length,j),rn);case"eo":return lt(me.ordinalNumber(j,{unit:"day"}),rn);case"eee":return me.day(j,{width:"abbreviated",context:"formatting"})||me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"});case"eeeee":return me.day(j,{width:"narrow",context:"formatting"});case"eeeeee":return me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"});default:return me.day(j,{width:"wide",context:"formatting"})||me.day(j,{width:"abbreviated",context:"formatting"})||me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"})}}validate(j,X){return X>=0&&X<=6}set(j,X,me,ct){return(j=Qn(j,me,ct)).setHours(0,0,0,0),j}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class Tn extends ye{priority=90;parse(j,X,me,ct){const rn=Rn=>{const lo=7*Math.floor((Rn-1)/7);return(Rn+ct.weekStartsOn+6)%7+lo};switch(X){case"c":case"cc":return lt(sn(X.length,j),rn);case"co":return lt(me.ordinalNumber(j,{unit:"day"}),rn);case"ccc":return me.day(j,{width:"abbreviated",context:"standalone"})||me.day(j,{width:"short",context:"standalone"})||me.day(j,{width:"narrow",context:"standalone"});case"ccccc":return me.day(j,{width:"narrow",context:"standalone"});case"cccccc":return me.day(j,{width:"short",context:"standalone"})||me.day(j,{width:"narrow",context:"standalone"});default:return me.day(j,{width:"wide",context:"standalone"})||me.day(j,{width:"abbreviated",context:"standalone"})||me.day(j,{width:"short",context:"standalone"})||me.day(j,{width:"narrow",context:"standalone"})}}validate(j,X){return X>=0&&X<=6}set(j,X,me,ct){return(j=Qn(j,me,ct)).setHours(0,0,0,0),j}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class Go extends ye{priority=90;parse(j,X,me){const ct=rn=>0===rn?7:rn;switch(X){case"i":case"ii":return sn(X.length,j);case"io":return me.ordinalNumber(j,{unit:"day"});case"iii":return lt(me.day(j,{width:"abbreviated",context:"formatting"})||me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"}),ct);case"iiiii":return lt(me.day(j,{width:"narrow",context:"formatting"}),ct);case"iiiiii":return lt(me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"}),ct);default:return lt(me.day(j,{width:"wide",context:"formatting"})||me.day(j,{width:"abbreviated",context:"formatting"})||me.day(j,{width:"short",context:"formatting"})||me.day(j,{width:"narrow",context:"formatting"}),ct)}}validate(j,X){return X>=1&&X<=7}set(j,X,me){return(j=function _o(G,j,X){const me=(0,x.a)(G,X?.in),ct=function uo(G,j){const X=(0,x.a)(G,j?.in).getDay();return 0===X?7:X}(me,X);return(0,Nn.f)(me,j-ct,X)}(j,me)).setHours(0,0,0,0),j}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class zo extends ye{priority=80;parse(j,X,me){switch(X){case"a":case"aa":case"aaa":return me.dayPeriod(j,{width:"abbreviated",context:"formatting"})||me.dayPeriod(j,{width:"narrow",context:"formatting"});case"aaaaa":return me.dayPeriod(j,{width:"narrow",context:"formatting"});default:return me.dayPeriod(j,{width:"wide",context:"formatting"})||me.dayPeriod(j,{width:"abbreviated",context:"formatting"})||me.dayPeriod(j,{width:"narrow",context:"formatting"})}}set(j,X,me){return j.setHours(Ct(me),0,0,0),j}incompatibleTokens=["b","B","H","k","t","T"]},b:new class ri extends ye{priority=80;parse(j,X,me){switch(X){case"b":case"bb":case"bbb":return me.dayPeriod(j,{width:"abbreviated",context:"formatting"})||me.dayPeriod(j,{width:"narrow",context:"formatting"});case"bbbbb":return me.dayPeriod(j,{width:"narrow",context:"formatting"});default:return me.dayPeriod(j,{width:"wide",context:"formatting"})||me.dayPeriod(j,{width:"abbreviated",context:"formatting"})||me.dayPeriod(j,{width:"narrow",context:"formatting"})}}set(j,X,me){return j.setHours(Ct(me),0,0,0),j}incompatibleTokens=["a","B","H","k","t","T"]},B:new class Yi extends ye{priority=80;parse(j,X,me){switch(X){case"B":case"BB":case"BBB":return me.dayPeriod(j,{width:"abbreviated",context:"formatting"})||me.dayPeriod(j,{width:"narrow",context:"formatting"});case"BBBBB":return me.dayPeriod(j,{width:"narrow",context:"formatting"});default:return me.dayPeriod(j,{width:"wide",context:"formatting"})||me.dayPeriod(j,{width:"abbreviated",context:"formatting"})||me.dayPeriod(j,{width:"narrow",context:"formatting"})}}set(j,X,me){return j.setHours(Ct(me),0,0,0),j}incompatibleTokens=["a","b","t","T"]},h:new class xr extends ye{priority=70;parse(j,X,me){switch(X){case"h":return Mt(De_hour12h,j);case"ho":return me.ordinalNumber(j,{unit:"hour"});default:return sn(X.length,j)}}validate(j,X){return X>=1&&X<=12}set(j,X,me){const ct=j.getHours()>=12;return j.setHours(ct&&me<12?me+12:ct||12!==me?me:0,0,0,0),j}incompatibleTokens=["H","K","k","t","T"]},H:new class zi extends ye{priority=70;parse(j,X,me){switch(X){case"H":return Mt(De_hour23h,j);case"Ho":return me.ordinalNumber(j,{unit:"hour"});default:return sn(X.length,j)}}validate(j,X){return X>=0&&X<=23}set(j,X,me){return j.setHours(me,0,0,0),j}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class Ji extends ye{priority=70;parse(j,X,me){switch(X){case"K":return Mt(De_hour11h,j);case"Ko":return me.ordinalNumber(j,{unit:"hour"});default:return sn(X.length,j)}}validate(j,X){return X>=0&&X<=11}set(j,X,me){return j.getHours()>=12&&me<12?j.setHours(me+12,0,0,0):j.setHours(me,0,0,0),j}incompatibleTokens=["h","H","k","t","T"]},k:new class Pr extends ye{priority=70;parse(j,X,me){switch(X){case"k":return Mt(De_hour24h,j);case"ko":return me.ordinalNumber(j,{unit:"hour"});default:return sn(X.length,j)}}validate(j,X){return X>=1&&X<=24}set(j,X,me){return j.setHours(me<=24?me%24:me,0,0,0),j}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class Gi extends ye{priority=60;parse(j,X,me){switch(X){case"m":return Mt(De_minute,j);case"mo":return me.ordinalNumber(j,{unit:"minute"});default:return sn(X.length,j)}}validate(j,X){return X>=0&&X<=59}set(j,X,me){return j.setMinutes(me,0,0),j}incompatibleTokens=["t","T"]},s:new class no extends ye{priority=50;parse(j,X,me){switch(X){case"s":return Mt(De_second,j);case"so":return me.ordinalNumber(j,{unit:"second"});default:return sn(X.length,j)}}validate(j,X){return X>=0&&X<=59}set(j,X,me){return j.setSeconds(me,0),j}incompatibleTokens=["t","T"]},S:new class Vn extends ye{priority=30;parse(j,X){return lt(sn(X.length,j),ct=>Math.trunc(ct*Math.pow(10,3-X.length)))}set(j,X,me){return j.setMilliseconds(me),j}incompatibleTokens=["t","T"]},X:new class ze extends ye{priority=10;parse(j,X){switch(X){case"X":return Bt(Je_basicOptionalMinutes,j);case"XX":return Bt(Je_basic,j);case"XXXX":return Bt(Je_basicOptionalSeconds,j);case"XXXXX":return Bt(Je_extendedOptionalSeconds,j);default:return Bt(Je_extended,j)}}set(j,X,me){return X.timestampIsSet?j:(0,I.w)(j,j.getTime()-(0,mn.G)(j)-me)}incompatibleTokens=["t","T","x"]},x:new class at extends ye{priority=10;parse(j,X){switch(X){case"x":return Bt(Je_basicOptionalMinutes,j);case"xx":return Bt(Je_basic,j);case"xxxx":return Bt(Je_basicOptionalSeconds,j);case"xxxxx":return Bt(Je_extendedOptionalSeconds,j);default:return Bt(Je_extended,j)}}set(j,X,me){return X.timestampIsSet?j:(0,I.w)(j,j.getTime()-(0,mn.G)(j)-me)}incompatibleTokens=["t","T","X"]},t:new class Ft extends ye{priority=40;parse(j){return et(j)}set(j,X,me){return[(0,I.w)(j,1e3*me),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class In extends ye{priority=20;parse(j){return et(j)}set(j,X,me){return[(0,I.w)(j,me),{timestampIsSet:!0}]}incompatibleTokens="*"}},wn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$e=/^'([^]*?)'?$/,We=/''/g,ot=/\S/,Wt=/[a-zA-Z]/;function to(G){return G.match($e)[1].replace(We,"'")}const ln={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Gn=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,go=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Vo=/^([+-])(\d{2})(?::?(\d{2}))?$/;function ei(G){return G?parseInt(G):1}function Lr(G){return G&&parseFloat(G.replace(",","."))||0}const wr=[31,null,31,30,31,30,31,31,30,31,30,31];function Qi(G){return G%400==0||G%4==0&&G%100!=0}var Vi=l(6509),qi=l(7083);function ts(G,j,X){return(0,I.w)(X?.in||G,+(0,x.a)(G)+j)}var As=l(53759);function vs(G,j){return+(0,x.a)(G)-+(0,x.a)(j)}function Zr(G){return j=>{const me=(G?Math[G]:Math.trunc)(j);return 0===me?0:me}}var Ht=l(77530),Jn=l(81266);function so(G,j,X){const[me,ct]=(0,Ht.x)(X?.in,G,j),rn=To(me,ct),Rn=Math.abs((0,Jn.m)(me,ct));me.setDate(me.getDate()-rn*Rn);const No=rn*(Rn-+(To(me,ct)===-rn));return 0===No?0:No}function To(G,j){const X=G.getFullYear()-j.getFullYear()||G.getMonth()-j.getMonth()||G.getDate()-j.getDate()||G.getHours()-j.getHours()||G.getMinutes()-j.getMinutes()||G.getSeconds()-j.getSeconds()||G.getMilliseconds()-j.getMilliseconds();return X<0?-1:X>0?1:X}function Ao(G,j){const X=+(0,x.a)(G)-+(0,x.a)(j);return X<0?-1:X>0?1:X}function Ti(G,j){const X=(0,x.a)(G,j?.in);return X.setHours(23,59,59,999),X}function P(G,j){const X=(0,x.a)(G,j?.in),me=X.getMonth();return X.setFullYear(X.getFullYear(),me+1,0),X.setHours(23,59,59,999),X}function ne(G,j,X){const[me,ct,rn]=(0,Ht.x)(X?.in,G,G,j),Rn=Ao(ct,rn),lo=Math.abs(function fi(G,j,X){const[me,ct]=(0,Ht.x)(X?.in,G,j);return 12*(me.getFullYear()-ct.getFullYear())+(me.getMonth()-ct.getMonth())}(ct,rn));if(lo<1)return 0;1===ct.getMonth()&&ct.getDate()>27&&ct.setDate(30),ct.setMonth(ct.getMonth()-Rn*lo);let No=Ao(ct,rn)===-Rn;(function ie(G,j){const X=(0,x.a)(G,j?.in);return+Ti(X,j)==+P(X,j)})(me)&&1===lo&&1===Ao(me,rn)&&(No=!1);const Jo=Rn*(lo-+No);return 0===Jo?0:Jo}var Ho=l(30226),Oi=l(85578),ai=l(80167),Jr=l(69831);const Xi={datetime:"MMM d, yyyy, h:mm:ss aaaa",millisecond:"h:mm:ss.SSS aaaa",second:"h:mm:ss aaaa",minute:"h:mm aaaa",hour:"ha",day:"MMM d",week:"PP",month:"MMM yyyy",quarter:"qqq - yyyy",year:"yyyy"};_.ij._date.override({_id:"date-fns",formats:function(){return Xi},parse:function(G,j){if(null===G||typeof G>"u")return null;const X=typeof G;return"number"===X||G instanceof Date?G=(0,x.a)(G):"string"===X&&(G="string"==typeof j?function Dn(G,j,X,me){const ct=()=>(0,I.w)(me?.in||X,NaN),rn=(0,R.q)(),Rn=me?.locale??rn.locale??y.c,lo=me?.firstWeekContainsDate??me?.locale?.options?.firstWeekContainsDate??rn.firstWeekContainsDate??rn.locale?.options?.firstWeekContainsDate??1,No=me?.weekStartsOn??me?.locale?.options?.weekStartsOn??rn.weekStartsOn??rn.locale?.options?.weekStartsOn??0;if(!j)return G?ct():(0,x.a)(X,me?.in);const Jo={firstWeekContainsDate:lo,weekStartsOn:No,locale:Rn},Ui=[new Le(me?.in,X)],mr=j.match(dn).map(J=>{const Te=J[0];return Te in w.m?(0,w.m[Te])(J,Rn.formatLong):J}).join("").match(wn),Rr=[];for(let J of mr){!me?.useAdditionalWeekYearTokens&&(0,M.xM)(J)&&(0,M.Ss)(J,j,G),!me?.useAdditionalDayOfYearTokens&&(0,M.ef)(J)&&(0,M.Ss)(J,j,G);const Te=J[0],_t=fo[Te];if(_t){const{incompatibleTokens:jt}=_t;if(Array.isArray(jt)){const qn=Rr.find(ko=>jt.includes(ko.token)||ko.token===Te);if(qn)throw new RangeError(`The format string mustn't contain \`${qn.fullToken}\` and \`${J}\` at the same time`)}else if("*"===_t.incompatibleTokens&&Rr.length>0)throw new RangeError(`The format string mustn't contain \`${J}\` and any other token at the same time`);Rr.push({token:Te,fullToken:J});const kn=_t.run(G,J,Rn.match,Jo);if(!kn)return ct();Ui.push(kn.setter),G=kn.rest}else{if(Te.match(Wt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Te+"`");if("''"===J?J="'":"'"===Te&&(J=to(J)),0!==G.indexOf(J))return ct();G=G.slice(J.length)}}if(G.length>0&&ot.test(G))return ct();const le=Ui.map(J=>J.priority).sort((J,Te)=>Te-J).filter((J,Te,_t)=>_t.indexOf(J)===Te).map(J=>Ui.filter(Te=>Te.priority===J).sort((Te,_t)=>_t.subPriority-Te.subPriority)).map(J=>J[0]);let A=(0,x.a)(X,me?.in);if(isNaN(+A))return ct();const T={};for(const J of le){if(!J.validate(A,Jo))return ct();const Te=J.set(A,T,Jo);Array.isArray(Te)?(A=Te[0],Object.assign(T,Te[1])):A=Te}return A}(G,j,new Date,this.options):function Oo(G,j){const X=()=>(0,I.w)(j?.in,NaN),me=j?.additionalDigits??2,ct=function yi(G){const j={},X=G.split(ln.dateTimeDelimiter);let me;if(X.length>2)return j;if(/:/.test(X[0])?me=X[0]:(j.date=X[0],me=X[1],ln.timeZoneDelimiter.test(j.date)&&(j.date=G.split(ln.timeZoneDelimiter)[0],me=G.substr(j.date.length,G.length))),me){const ct=ln.timezone.exec(me);ct?(j.time=me.replace(ct[1],""),j.timezone=ct[1]):j.time=me}return j}(G);let rn;if(ct.date){const Jo=function ci(G,j){const X=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+j)+"})|(\\d{2}|[+-]\\d{"+(2+j)+"})$)"),me=G.match(X);if(!me)return{year:NaN,restDateString:""};const ct=me[1]?parseInt(me[1]):null,rn=me[2]?parseInt(me[2]):null;return{year:null===rn?ct:100*rn,restDateString:G.slice((me[1]||me[2]).length)}}(ct.date,me);rn=function er(G,j){if(null===j)return new Date(NaN);const X=G.match(Gn);if(!X)return new Date(NaN);const me=!!X[4],ct=ei(X[1]),rn=ei(X[2])-1,Rn=ei(X[3]),lo=ei(X[4]),No=ei(X[5])-1;if(me)return function po(G,j,X){return j>=1&&j<=53&&X>=0&&X<=6}(0,lo,No)?function Fr(G,j,X){const me=new Date(0);me.setUTCFullYear(G,0,4);const rn=7*(j-1)+X+1-(me.getUTCDay()||7);return me.setUTCDate(me.getUTCDate()+rn),me}(j,lo,No):new Date(NaN);{const Jo=new Date(0);return function is(G,j,X){return j>=0&&j<=11&&X>=1&&X<=(wr[j]||(Qi(G)?29:28))}(j,rn,Rn)&&function en(G,j){return j>=1&&j<=(Qi(G)?366:365)}(j,ct)?(Jo.setUTCFullYear(j,rn,Math.max(ct,Rn)),Jo):new Date(NaN)}}(Jo.restDateString,Jo.year)}if(!rn||isNaN(+rn))return X();const Rn=+rn;let No,lo=0;if(ct.time&&(lo=function dr(G){const j=G.match(go);if(!j)return NaN;const X=Lr(j[1]),me=Lr(j[2]),ct=Lr(j[3]);return function ni(G,j,X){return 24===G?0===j&&0===X:X>=0&&X<60&&j>=0&&j<60&&G>=0&&G<25}(X,me,ct)?X*ke.s0+me*ke.Cg+1e3*ct:NaN}(ct.time),isNaN(lo)))return X();if(!ct.timezone){const Jo=new Date(Rn+lo),Ui=(0,x.a)(0,j?.in);return Ui.setFullYear(Jo.getUTCFullYear(),Jo.getUTCMonth(),Jo.getUTCDate()),Ui.setHours(Jo.getUTCHours(),Jo.getUTCMinutes(),Jo.getUTCSeconds(),Jo.getUTCMilliseconds()),Ui}return No=function Vr(G){if("Z"===G)return 0;const j=G.match(Vo);if(!j)return 0;const X="+"===j[1]?-1:1,me=parseInt(j[2]),ct=j[3]&&parseInt(j[3])||0;return function Ci(G,j){return j>=0&&j<=59}(0,ct)?X*(me*ke.s0+ct*ke.Cg):NaN}(ct.timezone),isNaN(No)?X():(0,x.a)(Rn+lo+No,j?.in)}(G,this.options)),(0,Vi.f)(G)?G.getTime():null},format:function(G,j){return(0,qi.GP)(G,j,this.options)},add:function(G,j,X){switch(X){case"millisecond":return ts(G,j);case"second":return function sr(G,j,X){return ts(G,1e3*j,X)}(G,j);case"minute":return function rs(G,j,X){const me=(0,x.a)(G,X?.in);return me.setTime(me.getTime()+j*ke.Cg),me}(G,j);case"hour":return function fs(G,j,X){return ts(G,j*ke.s0,X)}(G,j);case"day":return(0,Nn.f)(G,j);case"week":return function ps(G,j,X){return(0,Nn.f)(G,7*j,X)}(G,j);case"month":return(0,As.P)(G,j);case"quarter":return function Ps(G,j,X){return(0,As.P)(G,3*j,X)}(G,j);case"year":return function Es(G,j,X){return(0,As.P)(G,12*j,X)}(G,j);default:return G}},diff:function(G,j,X){switch(X){case"millisecond":return vs(G,j);case"second":return function Wr(G,j,X){const me=vs(G,j)/1e3;return Zr(X?.roundingMethod)(me)}(G,j);case"minute":return function Or(G,j,X){const me=vs(G,j)/ke.Cg;return Zr(X?.roundingMethod)(me)}(G,j);case"hour":return function Dt(G,j,X){const[me,ct]=(0,Ht.x)(X?.in,G,j),rn=(+me-+ct)/ke.s0;return Zr(X?.roundingMethod)(rn)}(G,j);case"day":return so(G,j);case"week":return function hi(G,j,X){const me=so(G,j,X)/7;return Zr(X?.roundingMethod)(me)}(G,j);case"month":return ne(G,j);case"quarter":return function Ce(G,j,X){const me=ne(G,j,X)/3;return Zr(X?.roundingMethod)(me)}(G,j);case"year":return function Kt(G,j,X){const[me,ct]=(0,Ht.x)(X?.in,G,j),rn=Ao(me,ct),Rn=Math.abs(function st(G,j,X){const[me,ct]=(0,Ht.x)(X?.in,G,j);return me.getFullYear()-ct.getFullYear()}(me,ct));me.setFullYear(1584),ct.setFullYear(1584);const No=rn*(Rn-+(Ao(me,ct)===-rn));return 0===No?0:No}(G,j);default:return 0}},startOf:function(G,j,X){switch(j){case"second":return function Yt(G,j){const X=(0,x.a)(G,j?.in);return X.setMilliseconds(0),X}(G);case"minute":return function nn(G,j){const X=(0,x.a)(G,j?.in);return X.setSeconds(0,0),X}(G);case"hour":return function yo(G,j){const X=(0,x.a)(G,j?.in);return X.setMinutes(0,0,0),X}(G);case"day":return(0,Ho.o)(G);case"week":return(0,wt.k)(G);case"isoWeek":return(0,wt.k)(G,{weekStartsOn:+X});case"month":return(0,Oi.w)(G);case"quarter":return function ui(G,j){const X=(0,x.a)(G,j?.in),me=X.getMonth();return X.setMonth(me-me%3,1),X.setHours(0,0,0,0),X}(G);case"year":return(0,ai.D)(G);default:return G}},endOf:function(G,j){switch(j){case"second":return function di(G,j){const X=(0,x.a)(G,j?.in);return X.setMilliseconds(999),X}(G);case"minute":return function ki(G,j){const X=(0,x.a)(G,j?.in);return X.setSeconds(59,999),X}(G);case"hour":return function Mi(G,j){const X=(0,x.a)(G,j?.in);return X.setMinutes(59,59,999),X}(G);case"day":return Ti(G);case"week":return(0,Jr.$)(G);case"month":return P(G);case"quarter":return function Ii(G,j){const X=(0,x.a)(G,j?.in),me=X.getMonth();return X.setMonth(me-me%3+3,0),X.setHours(23,59,59,999),X}(G);case"year":return function zr(G,j){const X=(0,x.a)(G,j?.in),me=X.getFullYear();return X.setFullYear(me+1,0,0),X.setHours(23,59,59,999),X}(G);default:return G}}});var pi=l(40606);const m=["click","dblclick"],se=["enter","leave"],te=m.concat(se);function Ye(G,j,X){(0,pi.E2)(G,[j.$context,X])}function ut(G,j){let X=Number.POSITIVE_INFINITY;return G.filter(me=>me.options.display&&me.inRange(j.x,j.y)).reduce((me,ct)=>{const rn=ct.getCenterPoint(),Rn=(0,pi.Lt)(j,rn);return Rnme._index-ct._index).slice(0,1)[0]}function Gt(G,j,X,me){if((0,pi.MI)(j[X])&&!function Jt(G,j,X){return(0,pi.sw)(G[j])||(0,pi.sw)(G[X])}(G.options,X,me)){const ct=G[X]!==j[X];return G[X]=j[X],ct}}function z(G,j){for(const X of["scaleID","xScaleID","yScaleID"])G[X]&&!j[G[X]]&&Q(G,X)&&console.warn(`No scale found with id '${G[X]}' for annotation '${G.id}'`)}function Q(G,j){if("scaleID"===j)return!0;const X=j.charAt(0);for(const me of["Min","Max","Value"])if((0,pi.sw)(G[X+me]))return!0;return!1}function _e(G,j,X,me){for(const ct of X){const rn=G[ct];if((0,pi.sw)(rn)){const Rn=j.parse(rn);me.min=Math.min(me.min,Rn),me.max=Math.max(me.max,Rn)}}}const He=.001,nt=(G,j,X)=>Math.min(X,Math.max(j,G));function Ut(G,j,X){for(const me of Object.keys(G))G[me]=nt(G[me],j,X);return G}function on(G,j,{x:X,y:me,width:ct,height:rn},Rn){const lo=Rn/2;return G>=X-lo-He&&G<=X+ct+lo+He&&j>=me-lo-He&&j<=me+rn+lo+He}function Mn(G,j){const{x:X,y:me}=G.getProps(["x","y"],j);return{x:X,y:me}}const Xt=(G,j)=>j>G||G.length>j.length&&G.substr(0,j.length)===j,Fe=G=>"string"==typeof G&&G.endsWith("%"),Y=G=>nt(parseFloat(G)/100,0,1);function Pe(G,j){return"start"===j?0:"end"===j?G:Fe(j)?Y(j)*G:G/2}function Ue(G,j){return"number"==typeof j?j:Fe(j)?Y(j)*G:G}function ao(G){return(0,pi.Gv)(G)?{x:(0,pi.a4)(G.x,"center"),y:(0,pi.a4)(G.y,"center")}:{x:G=(0,pi.a4)(G,"center"),y:G}}function ro(G){return G&&((0,pi.sw)(G.xValue)||(0,pi.sw)(G.yValue))}const Bo=new Map;function Mo(G){if(G&&"object"==typeof G){const j=G.toString();return"[object HTMLImageElement]"===j||"[object HTMLCanvasElement]"===j}}function Di(G,j,X){if(X){const me=j.getCenterPoint();G.translate(me.x,me.y),G.rotate((0,pi.eh)(X)),G.translate(-me.x,-me.y)}}function Pi(G,j){if(j&&j.borderWidth)return G.lineCap=j.borderCapStyle,G.setLineDash(j.borderDash),G.lineDashOffset=j.borderDashOffset,G.lineJoin=j.borderJoinStyle,G.lineWidth=j.borderWidth,G.strokeStyle=j.borderColor,!0}function Dr(G,j){G.shadowColor=j.backgroundShadowColor,G.shadowBlur=j.shadowBlur,G.shadowOffsetX=j.shadowOffsetX,G.shadowOffsetY=j.shadowOffsetY}function ji(G,j){const X=j.content;if(Mo(X))return{width:Ue(X.width,j.width),height:Ue(X.height,j.height)};const me=(0,pi.di)(j.font),ct=j.textStrokeWidth,rn=(0,pi.cy)(X)?X:[X],Rn=rn.join()+me.string+ct+(G._measureText?"-spriting":"");if(!Bo.has(Rn)){G.save(),G.font=me.string;const lo=rn.length;let No=0;for(let Ui=0;Ui0)return G.lineJoin="round",G.miterLimit=2,G.lineWidth=j.textStrokeWidth,G.strokeStyle=j.textStrokeColor,!0}(G,X)&&ct.forEach((Jo,Ui)=>G.strokeText(Jo,lo,No+Ui*Rn)),G.fillStyle=X.color,ct.forEach((Jo,Ui)=>G.fillText(Jo,lo,No+Ui*Rn)),G.restore()}function Ne(G){const{x:j,y:X,width:me,height:ct}=G;return{x:j+me/2,y:X+ct/2}}function dt(G,j,X){const me=Math.cos(X),ct=Math.sin(X),rn=j.x,Rn=j.y;return{x:rn+me*(G.x-rn)-ct*(G.y-Rn),y:Rn+ct*(G.x-rn)+me*(G.y-Rn)}}function zt(G,j,X){return j="number"==typeof j?j:G.parse(j),(0,pi.MI)(j)?G.getPixelForValue(j):X}function gn(G,j){if(G){const X=zt(G,j.min,j.start),me=zt(G,j.max,j.end);return{start:Math.min(X,me),end:Math.max(X,me)}}return{start:j.start,end:j.end}}function xn(G,j){const{chartArea:X,scales:me}=G,ct=me[j.xScaleID],rn=me[j.yScaleID];let Rn=X.width/2,lo=X.height/2;return ct&&(Rn=zt(ct,j.xValue,Rn)),rn&&(lo=zt(rn,j.yValue,lo)),{x:Rn,y:lo}}function Yn(G,j){const X=G.scales[j.xScaleID],me=G.scales[j.yScaleID];let{top:ct,left:rn,bottom:Rn,right:lo}=G.chartArea;if(!X&&!me)return{};const No=gn(X,{min:j.xMin,max:j.xMax,start:rn,end:lo});rn=No.start,lo=No.end;const Jo=gn(me,{min:j.yMin,max:j.yMax,start:ct,end:Rn});return ct=Jo.start,Rn=Jo.end,{x:rn,y:ct,x2:lo,y2:Rn,width:lo-rn,height:Rn-ct}}function Uo(G,j){if(!ro(j)){const X=Yn(G,j),me=Ne(X);let ct=j.radius;return(!ct||isNaN(ct))&&(ct=Math.min(X.width,X.height)/2,j.radius=ct),{x:me.x+j.xAdjust,y:me.y+j.yAdjust,width:2*ct,height:2*ct}}return function Do(G,j){const X=xn(G,j);return{x:X.x+j.xAdjust,y:X.y+j.yAdjust,width:2*j.radius,height:2*j.radius}}(G,j)}class oi extends _.Hg{inRange(j,X,me){const{x:ct,y:rn}=dt({x:j,y:X},this.getCenterPoint(me),(0,pi.eh)(-this.options.rotation));return on(ct,rn,this.getProps(["x","y","width","height"],me),this.options.borderWidth)}getCenterPoint(j){return Ne(this.getProps(["x","y","width","height"],j))}draw(j){j.save(),Di(j,this,this.options.rotation),gr(j,this,this.options),j.restore()}drawLabel(j){const{x:X,y:me,width:ct,height:rn,options:Rn}=this,{label:lo,borderWidth:No}=Rn,Jo=No/2,Ui=ao(lo.position),mr=(0,pi.Lv)(lo.padding),Rr=ji(j,lo),le={x:Ni(this,Rr,Ui,mr),y:yr(this,Rr,Ui,mr),width:Rr.width,height:Rr.height};j.save(),Di(j,this,lo.rotation),j.beginPath(),j.rect(X+Jo+mr.left,me+Jo+mr.top,ct-No-mr.width,rn-No-mr.height),j.clip(),N(j,le,lo),j.restore()}resolveElementProperties(j,X){return Yn(j,X)}}function Ni(G,j,X,me){const{x:ct,x2:rn,width:Rn,options:lo}=G,{xAdjust:No,borderWidth:Jo}=lo.label;return ir({start:ct,end:rn,size:Rn},{position:X.x,padding:{start:me.left,end:me.right},adjust:No,borderWidth:Jo,size:j.width})}function yr(G,j,X,me){const{y:ct,y2:rn,height:Rn,options:lo}=G,{yAdjust:No,borderWidth:Jo}=lo.label;return ir({start:ct,end:rn,size:Rn},{position:X.y,padding:{start:me.top,end:me.bottom},adjust:No,borderWidth:Jo,size:j.height})}function ir(G,j){const{start:X,end:me}=G,{position:ct,padding:{start:rn,end:Rn},adjust:lo,borderWidth:No}=j;return X+No/2+lo+rn+Pe(me-No-X-rn-Rn-j.size,ct)}oi.id="boxAnnotation",oi.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:1,cornerRadius:void 0,display:!0,label:{borderWidth:void 0,color:"black",content:null,drawTime:void 0,enabled:!1,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,padding:6,position:"center",rotation:void 0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,xAdjust:0,yAdjust:0,width:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:"x",yMax:void 0,yMin:void 0,yScaleID:"y"},oi.defaultRoutes={borderColor:"color",backgroundColor:"color"},oi.descriptors={label:{_fallback:!0}};const bi=(G,j,X)=>({x:G.x+X*(j.x-G.x),y:G.y+X*(j.y-G.y)}),Rs=(G,j,X)=>bi(j,X,Math.abs((G-j.y)/(X.y-j.y))).x,Us=(G,j,X)=>bi(j,X,Math.abs((G-j.x)/(X.x-j.x))).y,_s=G=>G*G,ia=.001;function pa({x:G,y:j,x2:X,y2:me},{top:ct,right:rn,bottom:Rn,left:lo}){return!(Grn&&X>rn||jRn&&me>Rn)}function Ds({x:G,y:j},X,{top:me,right:ct,bottom:rn,left:Rn}){return Gct&&(j=Us(ct,{x:G,y:j},X),G=ct),jrn&&(G=Rs(rn,{x:G,y:j},X),j=rn),{x:G,y:j}}let ya=(()=>{class G extends _.Hg{intersects(X,me,ct=ia,rn){const{x:Rn,y:lo,x2:No,y2:Jo}=this.getProps(["x","y","x2","y2"],rn),Ui=No-Rn,mr=Jo-lo,Rr=_s(Ui)+_s(mr),le=0===Rr?-1:((X-Rn)*Ui+(me-lo)*mr)/Rr;let A,T;return le<0?(A=Rn,T=lo):le>1?(A=No,T=Jo):(A=Rn+le*Ui,T=lo+le*mr),_s(X-A)+_s(me-T)<=ct}labelIsVisible(X,me){const ct=this.options.label;return!(!ct||!ct.enabled)&&(!me||pa(this.getProps(["x","y","x2","y2"],X),me))}isOnLabel(X,me,ct){if(!this.labelIsVisible(ct))return!1;const{labelX:rn,labelY:Rn,labelWidth:lo,labelHeight:No,labelRotation:Jo}=this.getProps(["labelX","labelY","labelWidth","labelHeight","labelRotation"],ct),{x:Ui,y:mr}=dt({x:X,y:me},{x:rn,y:Rn},-Jo),Rr=this.options.label.borderWidth/2||0,le=lo/2+Rr,A=No/2+Rr;return Ui>=rn-le-ia&&Ui<=rn+le+ia&&mr>=Rn-A-ia&&mr<=Rn+A+ia}inRange(X,me,ct){const rn=_s(this.options.borderWidth/2);return this.intersects(X,me,rn,ct)||this.isOnLabel(X,me,ct)}getCenterPoint(){return{x:(this.x2+this.x)/2,y:(this.y2+this.y)/2}}draw(X){const{x:me,y:ct,x2:rn,y2:Rn,options:lo}=this;if(X.save(),!Pi(X,lo))return X.restore();Dr(X,lo);const No=Math.atan2(Rn-ct,rn-me),Jo=Math.sqrt(Math.pow(rn-me,2)+Math.pow(Rn-ct,2)),{startOpts:Ui,endOpts:mr,startAdjust:Rr,endAdjust:le}=function Ea(G){const j=G.options,X=j.arrowHeads&&j.arrowHeads.start,me=j.arrowHeads&&j.arrowHeads.end;return{startOpts:X,endOpts:me,startAdjust:qr(G,X),endAdjust:qr(G,me)}}(this);X.translate(me,ct),X.rotate(No),X.beginPath(),X.moveTo(0+Rr,0),X.lineTo(Jo-le,0),X.shadowColor=lo.borderShadowColor,X.stroke(),ms(X,0,Rr,Ui),ms(X,Jo,-le,mr),X.restore()}drawLabel(X,me){if(!this.labelIsVisible(!1,me))return;const{labelX:ct,labelY:rn,labelWidth:Rn,labelHeight:lo,labelRotation:No,labelPadding:Jo,labelTextSize:Ui,options:{label:mr}}=this;X.save(),X.translate(ct,rn),X.rotate(No),gr(X,{x:-Rn/2,y:-lo/2,width:Rn,height:lo},mr),N(X,{x:-Rn/2+Jo.left+mr.borderWidth/2,y:-lo/2+Jo.top+mr.borderWidth/2,width:Ui.width,height:Ui.height},mr),X.restore()}resolveElementProperties(X,me){const ct=X.scales[me.scaleID];let Jo,Ui,{top:rn,left:Rn,bottom:lo,right:No}=X.chartArea;if(ct)Jo=zt(ct,me.value,NaN),Ui=zt(ct,me.endValue,Jo),ct.isHorizontal()?(Rn=Jo,No=Ui):(rn=Jo,lo=Ui);else{const A=X.scales[me.xScaleID],T=X.scales[me.yScaleID];A&&(Rn=zt(A,me.xMin,Rn),No=zt(A,me.xMax,No)),T&&(rn=zt(T,me.yMin,rn),lo=zt(T,me.yMax,lo))}const Rr=pa({x:Rn,y:rn,x2:No,y2:lo},X.chartArea)?function qa(G,j,X){const{x:me,y:ct}=Ds(G,j,X),{x:rn,y:Rn}=Ds(j,G,X);return{x:me,y:ct,x2:rn,y2:Rn,width:Math.abs(rn-me),height:Math.abs(Rn-ct)}}({x:Rn,y:rn},{x:No,y:lo},X.chartArea):{x:Rn,y:rn,x2:No,y2:lo,width:Math.abs(No-Rn),height:Math.abs(lo-rn)},le=me.label;return le&&le.content?function Ys(G,j,X){const{padding:me,xPadding:ct,yPadding:rn,borderWidth:Rn}=X,lo=function Br(G,j,X){let me=G;return(j||X)&&(me={x:j||6,y:X||6}),(0,pi.Lv)(me)}(me,ct,rn),No=ji(j.ctx,X),mr=function Zo(G,j,X,me){const{width:ct,height:rn,padding:Rn}=X,{xAdjust:lo,yAdjust:No}=j,Jo={x:G.x,y:G.y},Ui={x:G.x2,y:G.y2},mr="auto"===j.rotation?function ja(G){const{x:j,y:X,x2:me,y2:ct}=G,rn=Math.atan2(ct-X,me-j);return rn>pi.PI/2?rn-pi.PI:rn0&&(ct.w/2+rn.left-me.x)/Rn,lo>0&&(ct.h/2+rn.top-me.y)/lo),0,.25)}function xs(G,j){const{size:X,min:me,max:ct,padding:rn}=j,Rn=X/2;return X>ct-me?(ct+me)/2:(me>=G-rn-Rn&&(G=me+rn+Rn),ct<=G+rn+Rn&&(G=ct-rn-Rn),G)}function qr(G,j){if(!j||!j.enabled)return 0;const{length:X,width:me}=j,ct=G.options.borderWidth/2;return Math.abs(Rs(0,{x:X,y:me+ct},{x:0,y:ct}))}function ms(G,j,X,me){if(!me||!me.enabled)return;const{length:ct,width:rn,fill:Rn,backgroundColor:lo,borderColor:No}=me,Jo=Math.abs(j-ct)+X;G.beginPath(),Dr(G,me),Pi(G,me),G.moveTo(Jo,-rn),G.lineTo(j+X,0),G.lineTo(Jo,rn),!0===Rn?(G.fillStyle=lo||No,G.closePath(),G.fill(),G.shadowColor="transparent"):G.shadowColor=me.borderShadowColor,G.stroke()}ya.defaults={adjustScaleRange:!0,arrowHeads:{enabled:!1,end:Object.assign({},Ua),fill:!1,length:12,start:Object.assign({},Ua),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:2,display:!0,endValue:void 0,label:{backgroundColor:"rgba(0,0,0,0.8)",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderColor:"black",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:6,borderShadowColor:"transparent",borderWidth:0,color:"#fff",content:null,cornerRadius:void 0,drawTime:void 0,enabled:!1,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xPadding:void 0,yAdjust:0,yPadding:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:"x",yMax:void 0,yMin:void 0,yScaleID:"y"},ya.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},ya.defaultRoutes={borderColor:"color"};class ra extends _.Hg{inRange(j,X,me){return function ar(G,j,X,me){const{width:ct,height:rn}=j,Rn=j.getCenterPoint(!0),lo=ct/2,No=rn/2;if(lo<=0||No<=0)return!1;const Jo=(0,pi.eh)(X||0),Ui=me/2||0,mr=Math.cos(Jo),Rr=Math.sin(Jo),le=Math.pow(mr*(G.x-Rn.x)+Rr*(G.y-Rn.y),2),A=Math.pow(Rr*(G.x-Rn.x)-mr*(G.y-Rn.y),2);return le/Math.pow(lo+Ui,2)+A/Math.pow(No+Ui,2)<=1.0001}({x:j,y:X},this.getProps(["width","height"],me),this.options.rotation,this.options.borderWidth)}getCenterPoint(j){return Ne(this.getProps(["x","y","width","height"],j))}draw(j){const{width:X,height:me,options:ct}=this,rn=this.getCenterPoint();j.save(),Di(j,this,ct.rotation),Dr(j,this.options),j.beginPath(),j.fillStyle=ct.backgroundColor;const Rn=Pi(j,ct);j.ellipse(rn.x,rn.y,me/2,X/2,pi.PI/2,0,2*pi.PI),j.fill(),Rn&&(j.shadowColor=ct.borderShadowColor,j.stroke()),j.restore()}resolveElementProperties(j,X){return Yn(j,X)}}ra.id="ellipseAnnotation",ra.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:"x",yMax:void 0,yMin:void 0,yScaleID:"y"},ra.defaultRoutes={borderColor:"color",backgroundColor:"color"};class ue extends _.Hg{inRange(j,X,me){const{x:ct,y:rn}=dt({x:j,y:X},this.getCenterPoint(me),(0,pi.eh)(-this.options.rotation));return on(ct,rn,this.getProps(["x","y","width","height"],me),this.options.borderWidth)}getCenterPoint(j){return Ne(this.getProps(["x","y","width","height"],j))}draw(j){if(!this.options.content)return;const{labelX:X,labelY:me,labelWidth:ct,labelHeight:rn,options:Rn}=this;j.save(),Di(j,this,Rn.rotation),function Ze(G,j){const{pointX:X,pointY:me,calloutPosition:ct,options:rn}=j;if(!ct||j.inRange(X,me))return;const Rn=rn.callout;if(G.save(),G.beginPath(),!Pi(G,Rn))return G.restore();const{separatorStart:No,separatorEnd:Jo}=function bn(G,j){const{x:X,y:me,width:ct,height:rn}=G,Rn=function Eo(G,j){const{width:X,height:me,options:ct}=G,rn=ct.callout.margin+ct.borderWidth/2;return"right"===j?X+rn:"bottom"===j?me+rn:-rn}(G,j);let lo,No;return"left"===j||"right"===j?(lo={x:X+Rn,y:me},No={x:lo.x,y:lo.y+rn}):(lo={x:X,y:me+Rn},No={x:lo.x+ct,y:lo.y}),{separatorStart:lo,separatorEnd:No}}(j,ct),{sideStart:Ui,sideEnd:mr}=function $o(G,j,X){const{y:me,width:ct,height:rn,options:Rn}=G,lo=Rn.callout.start,No=function Ai(G,j){const X=j.side;return"left"===G||"top"===G?-X:X}(j,Rn.callout);let Jo,Ui;return"left"===j||"right"===j?(Jo={x:X.x,y:me+Ue(rn,lo)},Ui={x:Jo.x+No,y:Jo.y}):(Jo={x:X.x+Ue(ct,lo),y:X.y},Ui={x:Jo.x,y:Jo.y+No}),{sideStart:Jo,sideEnd:Ui}}(j,ct,No);(Rn.margin>0||0===rn.borderWidth)&&(G.moveTo(No.x,No.y),G.lineTo(Jo.x,Jo.y)),G.moveTo(Ui.x,Ui.y),G.lineTo(mr.x,mr.y);const Rr=dt({x:X,y:me},j.getCenterPoint(),(0,pi.eh)(-rn.rotation));G.lineTo(Rr.x,Rr.y),G.stroke(),G.restore()}(j,this),gr(j,this,Rn),N(j,{x:X,y:me,width:ct,height:rn},Rn),j.restore()}resolveElementProperties(j,X){const me=ro(X)?xn(j,X):Ne(Yn(j,X)),ct=(0,pi.Lv)(X.padding),rn=ji(j.ctx,X),Rn=function gt(G,j,X,me){const ct=j.width+me.width+X.borderWidth,rn=j.height+me.height+X.borderWidth,Rn=ao(X.position);return{x:Oe(G.x,ct,X.xAdjust,Rn.x),y:Oe(G.y,rn,X.yAdjust,Rn.y),width:ct,height:rn}}(me,rn,X,ct),lo=X.borderWidth/2,No={pointX:me.x,pointY:me.y,...Rn,labelX:Rn.x+ct.left+lo,labelY:Rn.y+ct.top+lo,labelWidth:rn.width,labelHeight:rn.height};return No.calloutPosition=X.callout.enabled&&function Kr(G,j,X){const me=j.position;return"left"===me||"right"===me||"top"===me||"bottom"===me?me:function Ur(G,j,X){const{x:me,y:ct,width:rn,height:Rn,pointX:lo,pointY:No}=G,Jo={x:me+rn/2,y:ct+Rn/2},Ui=j.start,mr=Ue(rn,Ui),Rr=Ue(Rn,Ui),le=[me,me+mr,me+mr,me+rn],A=[ct+Rr,ct+Rn,ct,ct+Rr],T=[];for(let J=0;J<4;J++){const Te=dt({x:le[J],y:A[J]},Jo,(0,pi.eh)(X));T.push({position:Yr[J],distance:(0,pi.Lt)(Te,{x:lo,y:No})})}return T.sort((J,Te)=>J.distance-Te.distance)[0].position}(G,j,X)}(No,X.callout,X.rotation),No}}function Oe(G,j,X=0,me){return G-Pe(j,me)+X}ue.id="labelAnnotation",ue.defaults={adjustScaleRange:!0,backgroundColor:"transparent",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:0,callout:{borderCapStyle:"butt",borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:1,enabled:!1,margin:5,position:"auto",side:5,start:"50%"},color:"black",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:"x",xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:"y",yValue:void 0},ue.defaultRoutes={borderColor:"color"};const Yr=["left","bottom","top","right"];class _r extends _.Hg{inRange(j,X,me){const{width:ct}=this.getProps(["width"],me);return function an(G,j,X,me){if(!G||!j||X<=0)return!1;const ct=me/2||0;return Math.pow(G.x-j.x,2)+Math.pow(G.y-j.y,2)<=Math.pow(X+ct,2)}({x:j,y:X},this.getCenterPoint(me),ct/2,this.options.borderWidth)}getCenterPoint(j){return Mn(this,j)}draw(j){const X=this.options,me=X.borderWidth;if(X.radius<.1)return;j.save(),j.fillStyle=X.backgroundColor,Dr(j,X);const ct=Pi(j,X);X.borderWidth=0,(0,pi.DE)(j,X,this.x,this.y),ct&&!Mo(X.pointStyle)&&(j.shadowColor=X.borderShadowColor,j.stroke()),j.restore(),X.borderWidth=me}resolveElementProperties(j,X){return Uo(j,X)}}_r.id="pointAnnotation",_r.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,pointStyle:"circle",radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:"x",xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:"y",yValue:void 0},_r.defaultRoutes={borderColor:"color",backgroundColor:"color"};class pr extends _.Hg{inRange(j,X,me){return this.options.radius>=.1&&this.elements.length>1&&function ii(G,j,X,me){let ct=!1,rn=G[G.length-1].getProps(["bX","bY"],me);for(const Rn of G){const lo=Rn.getProps(["bX","bY"],me);lo.bY>X!=rn.bY>X&&j<(rn.bX-lo.bX)*(X-lo.bY)/(rn.bY-lo.bY)+lo.bX&&(ct=!ct),rn=lo}return ct}(this.elements,j,X,me)}getCenterPoint(j){return Mn(this,j)}draw(j){const{elements:X,options:me}=this;j.save(),j.beginPath(),j.fillStyle=me.backgroundColor,Dr(j,me);const ct=Pi(j,me);let rn=!0;for(const Rn of X)rn?(j.moveTo(Rn.x,Rn.y),rn=!1):j.lineTo(Rn.x,Rn.y);j.closePath(),j.fill(),ct&&(j.shadowColor=me.borderShadowColor,j.stroke()),j.restore()}resolveElementProperties(j,X){const{x:me,y:ct,width:rn,height:Rn}=Uo(j,X),{sides:lo,radius:No,rotation:Jo,borderWidth:Ui}=X,mr=Ui/2,Rr=[],le=2*pi.PI/lo;let A=Jo*pi.tn;for(let T=0;T{_.NT.describe(`elements.${Ar[G].id}`,{_fallback:"plugins.annotation"})});const Ss={update:Object.assign};function Qr(G="line"){return Ar[G]?G:(console.warn(`Unknown annotation type: '${G}', defaulting to 'line'`),"line")}function Vs(G){return isNaN(G.x)||isNaN(G.y)}function Hr(G,{elements:j,initProperties:X},me,ct){const rn=G.elements||(G.elements=[]);rn.length=j.length;for(let Rn=0;Rn{const lo=rn[Rn];(0,pi.Gv)(lo)&&(lo.id=Rn,ct.push(lo))}):(0,pi.cy)(rn)&&ct.push(...rn),function yt(G,j){for(const X of G)z(X,j)}(ct,G.scales)},afterDataLimits(G,j){const X=Pa.get(G);!function ht(G,j,X){const me=function Ee(G,j){const X=G.axis,me=G.id,ct=X+"ScaleID",rn={min:(0,pi.a4)(G.min,Number.NEGATIVE_INFINITY),max:(0,pi.a4)(G.max,Number.POSITIVE_INFINITY)};for(const Rn of j)Rn.scaleID===me?_e(Rn,G,["value","endValue"],rn):Rn[ct]===me&&_e(Rn,G,[X+"Min",X+"Max",X+"Value"],rn);return rn}(j,X);let ct=Gt(j,me,"min","suggestedMin");ct=Gt(j,me,"max","suggestedMax")||ct,ct&&"function"==typeof j.handleTickRangeOptions&&j.handleTickRangeOptions()}(0,j.scale,X.annotations.filter(me=>me.display&&me.adjustScaleRange))},afterUpdate(G,j,X){const me=Pa.get(G);(function ge(G,j,X){j.listened=!1,j.moveListened=!1,te.forEach(me=>{"function"==typeof X[me]?(j.listened=!0,j.listeners[me]=X[me]):(0,pi.sw)(j.listeners[me])&&delete j.listeners[me]}),se.forEach(me=>{"function"==typeof X[me]&&(j.moveListened=!0)}),(!j.listened||!j.moveListened)&&j.annotations.forEach(me=>{j.listened||m.forEach(ct=>{"function"==typeof me[ct]&&(j.listened=!0)}),j.moveListened||se.forEach(ct=>{"function"==typeof me[ct]&&(j.listened=!0,j.moveListened=!0)})})})(0,me,X),function la(G,j,X,me){const ct=function ns(G,j,X){return"reset"===X||"none"===X||"resize"===X?Ss:new _.Qw(G,j)}(G,X.animations,me),rn=j.annotations,Rn=function ca(G,j){const X=j.length,me=G.length;return meX&&G.splice(X,me-X),G}(j.elements,rn);for(let lo=0;lo!ct.skip&&ct.options.display)},beforeDatasetsDraw(G,j,X){ea(G,"beforeDatasetsDraw",X.clip)},afterDatasetsDraw(G,j,X){ea(G,"afterDatasetsDraw",X.clip)},beforeDraw(G,j,X){ea(G,"beforeDraw",X.clip)},afterDraw(G,j,X){ea(G,"afterDraw",X.clip)},beforeEvent(G,j,X){!function Be(G,j,X){if(G.listened)switch(j.type){case"mousemove":case"mouseout":!function Re(G,j){if(!G.moveListened)return;let X;"mousemove"===j.type&&(X=ut(G.elements,j));const me=G.hovered;G.hovered=X,function mt(G,j,X){const{previous:me,element:ct}=j;me&&me!==ct&&Ye(me.options.leave||G.listeners.leave,me,X),ct&&ct!==me&&Ye(ct.options.enter||G.listeners.enter,ct,X)}(G,{previous:me,element:X},j)}(G,j);break;case"click":!function qe(G,j,X){const me=G.listeners,ct=ut(G.elements,j);if(ct){const rn=ct.options,Rn=rn.dblclick||me.dblclick,lo=rn.click||me.click;ct.clickTimeout?(clearTimeout(ct.clickTimeout),delete ct.clickTimeout,Ye(Rn,ct,j)):Rn?ct.clickTimeout=setTimeout(()=>{delete ct.clickTimeout,Ye(lo,ct,j)},X.dblClickSpeed):Ye(lo,ct,j)}}(G,j,X)}}(Pa.get(G),j.event,X)},destroy(G){Pa.delete(G)},_getState:G=>Pa.get(G),defaults:{animations:{numbers:{properties:["x","y","x2","y2","width","height","pointX","pointY","labelX","labelY","labelWidth","labelHeight","radius"],type:"number"}},clip:!0,dblClickSpeed:350,drawTime:"afterDatasetsDraw",label:{drawTime:null}},descriptors:{_indexable:!1,_scriptable:G=>!te.includes(G),annotations:{_allKeys:!1,_fallback:(G,j)=>`elements.${Ar[Qr(j.type)].id}`}},additionalOptionScopes:[""]};function ea(G,j,X){const{ctx:me,chartArea:ct}=G,{visibleElements:rn}=Pa.get(G);X&&(0,pi.uv)(me,ct),Xa(me,rn,j),function ka(G,j,X){for(const me of j)(0,pi.cy)(me.elements)&&Xa(G,me.elements,X)}(me,rn,j),X&&(0,pi.$J)(me),rn.forEach(Rn=>{if(!("drawLabel"in Rn))return;const lo=Rn.options.label;lo&&lo.enabled&&lo.content&&(lo.drawTime||Rn.options.drawTime)===j&&Rn.drawLabel(me,ct)})}function Xa(G,j,X){for(const me of j)me.options.drawTime===X&&me.draw(G)}var Js=l(58258);const Fl=["chartCanvas"],dl=["*"],Va="[_nghost-%COMP%] div[_ngcontent-%COMP%]{height:var(--kirby-chart-height, 300px);position:relative}",{getThemeColorHexString:Dl}=f.A,sl=Dl("semi-dark"),ul=[6,3],Qa={line:{borderDash:ul,borderWidth:1,borderColor:sl},ellipse:{borderDash:ul,borderWidth:1,borderColor:sl,backgroundColor:"transparent"},box:{borderDash:ul,borderWidth:1,borderColor:sl,backgroundColor:"transparent"},point:{backgroundColor:"initial"}},hl={onHover:(G,j,X,me)=>{X.options.onClick&&(X.canvas.style.cursor=j[0]?"pointer":"default"),me&&me(G,j,X)}},{fontSize:Wa}=g.Q,{getThemeColorHexString:Ha,getThemeColorRgbString:kl}=f.A,O=G=>G.dataset.data[G.dataIndex],b={bar:{type:"bar",options:{datasets:{bar:{barPercentage:.6},line:{spanGaps:!0}},indexAxis:"y",scales:{y:{grid:{drawBorder:!1},ticks:{font:{size:parseInt(Wa("s"))}}}},elements:{point:{radius:0},line:{borderColor:Ha("medium")}}}},column:{type:"bar",options:{datasets:{bar:{barPercentage:.6},line:{spanGaps:!0}},indexAxis:"x",scales:{x:{grid:{drawBorder:!1},ticks:{font:{size:parseInt(Wa("xs"))}}}},elements:{line:{tension:.2,borderColor:Ha("medium")},point:{radius:0}}}},line:{type:"line",options:{backgroundColor:kl("semi-light",.5),scales:{x:{grid:{borderColor:Ha("medium"),borderWidth:1},ticks:{font:{size:parseInt(Wa("xs"))}}}},elements:{point:{radius:0}}}},stock:{type:"line",options:{responsive:!0,animation:{duration:0},layout:{padding:{left:20,right:20,top:30,bottom:0}},backgroundColor:kl("semi-light",.5),scales:{x:{grid:{lineWidth:0},ticks:{maxRotation:0,autoSkipPadding:120,font:{size:parseInt(Wa("xs"))}}},y:{position:"right",display:!0,grid:{drawBorder:!1},ticks:{display:!0,font:{size:parseInt(Wa("xs"))}}}},elements:{line:{tension:0,borderWidth:2},point:{hitRadius:20,radius:0,hoverRadius:0,hoverBorderWidth:0}},normalized:!0,plugins:{tooltip:{padding:10,enabled:!0,mode:"index",intersect:!1,backgroundColor:Ha("semi-light"),titleColor:Ha("semi-light-contrast"),bodyColor:Ha("semi-light-contrast"),caretSize:0,bodySpacing:5,titleSpacing:5,borderColor:"transparent",callbacks:{labelColor:G=>({backgroundColor:G.dataset.borderColor,borderColor:Ha("semi-light"),borderWidth:2})}},datalabels:{backgroundColor:G=>G.dataset.borderColor,color:Ha("white"),borderRadius:3,font:{lineHeight:1,size:parseInt(Wa("xs"))},padding:{top:6,left:5,right:5,bottom:5},offset:5,align:G=>O(G)?.datalabel.position,display:G=>!!O(G)?.datalabel,formatter:G=>G.datalabel.value}}}}};let h=(()=>{class G{getTypeConfig(X){return(0,s.A4)(b[X])}getAnnotationDefaults(X){return Qa[X]}chartTypeToChartJSType(X){return b[X].type}applyInteractionFunctionsExtensions(X){const me=hl;return Object.entries(me).forEach(([ct])=>{const rn=X[ct];X[ct]=(Rn,lo,No)=>{me[ct](Rn,lo,No,rn)}}),X}getStockChartOptions(X,me){return{locale:me,plugins:{tooltip:{callbacks:{title:ct=>{const rn=(0,x.a)(ct[0]?.raw?.x);if(rn.valueOf())return rn.toLocaleTimeString(me,{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit"})},label:ct=>" "+ct.formattedValue+(X.valueSuffix||"")}}},scales:{y:{ticks:{callback:ct=>ct+(X.valueSuffix||"")}}}}}static#e=this.\u0275fac=function(me){return new(me||G)};static#t=this.\u0275prov=n.jDH({token:G,factory:G.\u0275fac})}return G})();class k{constructor(j){this.chartConfigService=j}applyDefaultsToAnnotations(j){return j.map(X=>{const me=this.chartConfigService.getAnnotationDefaults(X.type);return(0,s.wF)(me,X)})}createAnnotationPluginOptionsObject(j){return{plugins:{annotation:{annotations:this.applyDefaultsToAnnotations(j)}}}}getExistingChartAnnotations(j){const X=j.options.plugins?.annotation?.annotations;return void 0!==X?Object.keys(X).map(me=>X[me]):[]}}const{getThemeColorHexString:E}=f.A,S=E("primary"),$=E("secondary");function q(G){const X=G.dataset?.kirbyOptions?.highlightedElements;return X&&X.includes(G.dataIndex)?S:$}const Ie={maintainAspectRatio:!1,color:E("black"),resizeDelay:10,elements:{bar:{backgroundColor:q,hoverBackgroundColor:function fe(G){if(G.chart.options.onClick)return S}},line:{borderColor:q,borderWidth:2,tension:.3}},scales:{linear:{display:!1,ticks:{display:!1}},category:{display:!0,grid:{display:!1}}},font:{family:"Roboto"},plugins:{legend:{display:!1},datalabels:{display:!1},tooltip:{enabled:!1}}},xt={line:{color:"black",width:1,dashPattern:[]},snap:{enabled:!1}},St=G=>G.data.datasets.some(j=>!!j?.kirbyOptions?.isStockChart),An=[_.PP,_.kc,_.UA],Wn=[_.E8,_.No,_.FN],Kn=[_.A6,_.ZT],wo=[ma,_.dN,Js.A,_.m_,{id:"marker",afterInit:function(G){if(!St(G))return;const j=G.config.options.scales.x.type;"linear"!==j&&"time"!==j&&"category"!==j&&"logarithmic"!==j||(void 0===G.options.plugins.marker&&(G.options.plugins.marker=xt),G.marker={enabled:!1,suppressUpdate:!1,x:null,originalData:[],originalXRange:{},dragStarted:!1,dragStartX:null,dragEndX:null,suppressTooltips:!1,ignoreNextEvents:0})},getOption:function(G,j,X){return(0,pi.a4)(G.options.plugins.marker[j]?G.options.plugins.marker[j][X]:void 0,xt[j][X])},getXScale:function(G){return G.data.datasets.length?G.scales[G.getDatasetMeta(0).xAxisID]:null},getYScale:function(G){return G.scales[G.getDatasetMeta(0).yAxisID]},afterEvent:function(G,j){if(!St(G)||0==G.config.options.scales.x.length)return;const X=j.event,me=G.config.options.scales.x.type;if("linear"!==me&&"time"!==me&&"category"!==me&&"logarithmic"!==me)return;const ct=this.getXScale(G);if(ct){if(G.marker.ignoreNextEvents>0)return void(G.marker.ignoreNextEvents-=1);if(G.marker.enabled="mouseout"!==X.type&&X.x>ct.getPixelForValue(ct.min)&&X.xct.getPixelForValue(ct.max)&&(G.marker.suppressUpdate=!0,G.update("none")),G.marker.dragStarted=!1,!1;G.marker.suppressUpdate=!1,G.marker.x=X.x,G.draw()}},doDraw:function(G){if(St(G)&&G.marker.enabled)return this.drawTraceLine(G),this.interpolateValues(G),this.drawTracePoints(G),!0},beforeDraw:function(G){return this.doDraw(G)},drawTraceLine:function(G){if(!St(G))return;const j=this.getYScale(G),X=this.getOption(G,"line","width"),me=this.getOption(G,"line","color"),ct=this.getOption(G,"line","dashPattern"),rn=this.getOption(G,"snap","enabled");let Rn=G.marker.x;rn&&G._active.length&&(Rn=G._active[0].element.x),G.ctx.beginPath(),G.ctx.setLineDash(ct),G.ctx.moveTo(Rn,j.getPixelForValue(j.max)),G.ctx.lineWidth=X,G.ctx.strokeStyle=me,G.ctx.lineTo(Rn,j.getPixelForValue(j.min)),G.ctx.stroke(),G.ctx.setLineDash([])},drawTracePoints:function(G){if(St(G))for(let j=0;j=rn}),No=Rn[lo-1],Jo=Rn[lo];X.interpolatedValue=G.data.datasets[j].steppedLine&&No?No.y:No&&Jo?No.y+(Jo.y-No.y)/(Jo.x-No.x)*(rn-No.x):NaN}}}].map(G=>G?.__esModule?G.default:G);_.t1.register(_.s$,...An,...Wn,...Kn,...wo);const Io=(0,s.wF)(_.t1.defaults,Ie);Object.entries(Ie).forEach(([G])=>{_.t1.defaults[G]=Io[G]});let Fo=(()=>{class G{constructor(X){this.chartConfigService=X,this.annotationsDelegate=new k(X)}renderChart(X){const{targetElement:me,type:ct,data:rn,labels:Rn,customOptions:lo,annotations:No,highlightedElements:Jo}=X;this.highlightedElements=Jo||null,this.chartType=ct;const Ui=this.createDatasets(rn),mr=this.createOptionsObject({customOptions:lo,annotations:No}),Rr=this.createConfigurationObject(ct,Ui,mr,Rn);this.initializeNewChart(me.nativeElement,Rr)}redrawChart(){this.chart.update()}destroyChart(){this.chart?.destroy()}updateData(X){const me=this.createDatasets(X);this.chart.data.datasets=me}updateLabels(X){this.chart.data.labels=X}updateType(X,me){"bar"===X||"column"===X?this.destructivelyUpdateType(X,me):this.nonDestructivelyUpdateType(X,me)}updateOptions(X,me){const ct=this.annotationsDelegate.getExistingChartAnnotations(this.chart);this.chartType=me,this.chart.options=this.createOptionsObject({customOptions:X,annotations:ct})}updateAnnotations(X){const me=this.annotationsDelegate.applyDefaultsToAnnotations(X);this.chart.options.plugins.annotation.annotations=me}updateHighlightedElements(X){this.highlightedElements=X;const me=this.chart.data.datasets;me.map(ct=>{ct?.kirbyOptions?.highlightedElements&&delete ct.kirbyOptions.highlightedElements}),this.chart.data.datasets=this.createDatasets(me)}createOptionsObject(X){const{customOptions:me,annotations:ct}=X,Rn=this.chartConfigService.getTypeConfig(this.chartType)?.options,lo=ct?this.annotationsDelegate.createAnnotationPluginOptionsObject(ct):{},No=(0,s.wF)(Rn,me,lo);return this.chartConfigService.applyInteractionFunctionsExtensions(No)}getDefaultLabels(X){const me=X.reduce((ct,rn)=>ct.data.length>rn.data.length?ct:rn);return Array(me.data.length).fill("")}createConfigurationObject(X,me,ct,rn){const Rn=this.chartConfigService.getTypeConfig(X),No=this.getLabelsToApply({labels:rn,datasets:me,type:X,indexAxis:Rn?.options?.indexAxis??"x"});return(0,s.wF)(Rn,{data:{labels:No,datasets:me},options:ct})}createDatasets(X){const me=function yl(G){return Array.isArray(G)&&G.every(j=>"number"==typeof j)}(X)?[{data:X}]:X;return this.highlightedElements&&this.addHighlightedElementsToDatasets(this.highlightedElements,me),me}destructivelyUpdateType(X,me){const ct=this.chart.data.datasets,rn=this.chart.data.labels,Rn=this.annotationsDelegate.getExistingChartAnnotations(this.chart);this.chartType=X;const lo=this.createOptionsObject({customOptions:me,annotations:Rn}),No=this.createConfigurationObject(X,ct,lo,rn),Jo=this.chart.canvas;this.chart.destroy(),this.initializeNewChart(Jo,No)}nonDestructivelyUpdateType(X,me){const ct=this.annotationsDelegate.getExistingChartAnnotations(this.chart);this.chartType=X;const rn=this.createOptionsObject({customOptions:me,annotations:ct});this.chart.options=rn,(0,s.bg)(this.chart.config)&&(this.chart.config.type=this.chartConfigService.chartTypeToChartJSType(X))}initializeNewChart(X,me){this.chart=new _.t1(X,me)}addHighlightedElementsToDatasets(X,me){X.forEach(([ct,rn])=>{const Rn=me[ct];Rn&&(Rn?.kirbyOptions?.highlightedElements?Rn.kirbyOptions.highlightedElements.push(rn):Rn.kirbyOptions={...Rn.kirbyOptions,highlightedElements:[rn]})})}getLabelsToApply(X){const{datasets:me,labels:ct,indexAxis:rn}=X,lo=void 0!==ct,No=me.some(({data:Jo})=>!!Jo?.some(Ui=>"object"==typeof Ui&&"string"==typeof Ui[rn]));return lo?ct:No?null:this.getDefaultLabels(me)}static#e=this.\u0275fac=function(me){return new(me||G)(n.KVO(h))};static#t=this.\u0275prov=n.jDH({token:G,factory:G.\u0275fac})}return G})(),V=(()=>{class G{set height(X){this._height="number"==typeof X?`${X}px`:X}constructor(X){this.chartJSService=X,this.chartHasBeenRendered=!1}ngAfterViewInit(){this.whenElementHasHeightAndWidth(this.canvasElement.nativeElement).then(()=>this.renderChart())}whenElementHasHeightAndWidth(X){const me=({width:ct,height:rn})=>rn>0&&ct>0;return new Promise(ct=>{const rn=X.getBoundingClientRect();me(rn)&&ct();const Rn=(new i.tN).create(([lo])=>{me(lo.contentRect)&&(Rn.unobserve(X),ct())});Rn.observe(X)})}ngOnChanges(X){if(this.chartHasBeenRendered){let me=!1;const ct={data:()=>this.updateData(),labels:()=>this.updateLabels(),type:()=>this.updateType(),customOptions:()=>this.updateCustomOptions(),annotations:()=>this.updateAnnotations(),highlightedElements:()=>this.updateHighlightedElements()};Object.entries(X).forEach(([rn])=>{X[rn].firstChange||!ct[rn]||(me=!0,ct[rn]())}),me&&this.redrawChart()}}renderChart(X){this.chartHasBeenRendered=!0,this.chartJSService.renderChart({targetElement:this.canvasElement,type:this.type,data:this.data,labels:this.labels,customOptions:this.customOptions,annotations:this.annotations,highlightedElements:this.highlightedElements,...X})}updateData(){this.chartJSService.updateData(this.data)}updateLabels(){this.chartJSService.updateLabels(this.labels)}updateType(){this.chartJSService.updateType(this.type,this.customOptions)}updateCustomOptions(){this.chartJSService.updateOptions(this.customOptions,this.type)}updateAnnotations(){this.chartJSService.updateAnnotations(this.annotations)}updateHighlightedElements(){this.chartJSService.updateHighlightedElements(this.highlightedElements)}redrawChart(){this.chartJSService.redrawChart()}ngOnDestroy(){this.chartJSService.destroyChart()}static#e=this.\u0275fac=function(me){return new(me||G)(n.rXU(Fo))};static#t=this.\u0275cmp=n.VBU({type:G,selectors:[["kirby-base-chart"]],viewQuery:function(me,ct){if(1&me&&n.GBs(Fl,5),2&me){let rn;n.mGM(rn=n.lsd())&&(ct.canvasElement=rn.first)}},hostVars:2,hostBindings:function(me,ct){2&me&&n.xc7("--kirby-chart-height",ct._height)},inputs:{type:"type",data:"data",labels:"labels",customOptions:"customOptions",annotations:"annotations",highlightedElements:"highlightedElements",height:"height"},standalone:!1,features:[n.OA$],ngContentSelectors:dl,decls:4,vars:0,consts:[["chartCanvas",""],[1,"chart-container"]],template:function(me,ct){1&me&&(n.NAR(),n.j41(0,"div",1)(1,"canvas",null,0),n.SdG(3),n.k0s()())},styles:["[_nghost-%COMP%] div[_ngcontent-%COMP%]{height:var(--kirby-chart-height, 300px);position:relative}"]})}return G})(),ce=(()=>{class G extends V{constructor(){super(...arguments),this.type="column"}static#e=this.\u0275fac=(()=>{let X;return function(ct){return(X||(X=n.xGo(G)))(ct||G)}})();static#t=this.\u0275cmp=n.VBU({type:G,selectors:[["kirby-chart"]],inputs:{type:"type"},standalone:!1,features:[n.Jv_([Fo]),n.Vt3],ngContentSelectors:dl,decls:4,vars:0,consts:[["chartCanvas",""],[1,"chart-container"]],template:function(me,ct){1&me&&(n.NAR(),n.j41(0,"div",1)(1,"canvas",null,0),n.SdG(3),n.k0s()())},styles:[Va]})}return G})(),Ae=(()=>{class G extends Fo{constructor(){super(...arguments),this.chartType="stock"}static#e=this.STOCK_CHART_LOCALE_DEFAULT="en-US";renderChart(X){const{dataLabelOptions:me,...ct}=X;this.dataLabelOptions=me||null,super.renderChart(ct)}get locale(){return this.dataLabelOptions?.locale||G.STOCK_CHART_LOCALE_DEFAULT}getDefaultLabels(X){return X.reduce((ct,rn)=>ct.data.length>rn.data.length?ct:rn).data.map(ct=>(0,x.a)(ct.x).toLocaleDateString(this.locale,{month:"short",day:"numeric"}))}createOptionsObject(X){const me=super.createOptionsObject(X),ct=this.chartConfigService.getStockChartOptions(this.dataLabelOptions,this.locale);return(0,s.wF)(ct,me)}createDatasets(X){let me=super.createDatasets(X);return(this.dataLabelOptions?.showCurrent||this.dataLabelOptions?.showMax||this.dataLabelOptions?.showMin)&&(me=this.addDataLabelsData(me)),me.map(ct=>({...ct,kirbyOptions:{...ct.kirbyOptions,isStockChart:!0}}))}addDataLabelsData(X){const me=(ct,rn,Rn,lo)=>{const{value:No,pointer:Jo}=this.locateValueIndexInDataset(ct,rn,Rn);ct.data[Jo]={...ct.data[Jo],datalabel:{value:No+(this.dataLabelOptions.valueSuffix||""),position:lo}}};return X.map(ct=>{this.dataLabelOptions.showMin&&me(ct,"y","low","bottom"),this.dataLabelOptions.showMax&&me(ct,"y","high","top"),this.dataLabelOptions.showCurrent&&me(ct,"x","high","right")}),X}locateValueIndexInDataset(X,me,ct){let rn,Rn;return X.data.forEach((lo,No)=>{"low"==ct&&(!Rn||lo[me]Rn)&&(Rn=lo.y,rn=No)}),{value:Rn,pointer:rn}}static#t=this.\u0275fac=(()=>{let X;return function(ct){return(X||(X=n.xGo(G)))(ct||G)}})();static#n=this.\u0275prov=n.jDH({token:G,factory:G.\u0275fac})}return G})(),bt=(()=>{class G extends V{constructor(){super(...arguments),this.type="stock"}renderChart(){super.renderChart({dataLabelOptions:this.dataLabelOptions})}static#e=this.\u0275fac=(()=>{let X;return function(ct){return(X||(X=n.xGo(G)))(ct||G)}})();static#t=this.\u0275cmp=n.VBU({type:G,selectors:[["kirby-stock-chart"]],inputs:{dataLabelOptions:"dataLabelOptions"},standalone:!1,features:[n.Jv_([{provide:Fo,useClass:Ae}]),n.Vt3],ngContentSelectors:dl,decls:4,vars:0,consts:[["chartCanvas",""],[1,"chart-container"]],template:function(me,ct){1&me&&(n.NAR(),n.j41(0,"div",1)(1,"canvas",null,0),n.SdG(3),n.k0s()())},styles:[Va]})}return G})(),$t=(()=>{class G{static#e=this.\u0275fac=function(me){return new(me||G)};static#t=this.\u0275mod=n.$C({type:G});static#n=this.\u0275inj=n.G2t({providers:[h]})}return G})(),io=(()=>{class G{static#e=this.registerPlugins=()=>{}}return G})();const{getThemeColorHexString:zn}=f.A;class Lo extends io{static#e=this.BAR_CHART_LOCALE_DEFAULT="en-US";static#t=this.baseConfig={type:"bar",data:{datasets:[]},options:{datasets:{bar:{barPercentage:.6},line:{spanGaps:!0}},indexAxis:"x",scales:{y:{grid:{drawBorder:!1}},x:{}},elements:{point:{radius:0},line:{borderColor:zn("medium")}}}}}const{getThemeColorHexString:Ei}=f.A,{fontSize:tr}=g.Q,Bi=(G,j)=>{const X=G.map(lo=>lo.y),me=Math.min(...X);if(j===X.indexOf(me))return"bottom";const rn=Math.max(...X);return j===X.indexOf(rn)?"top":null},as={backgroundColor:"#005c3c",color:Ei("white"),borderRadius:3,font:{lineHeight:1,size:parseInt(tr("xs"))},padding:{top:6,left:5,right:5,bottom:5},offset:5,align:G=>Bi(G.dataset.data,G.dataIndex),display:G=>function jr(G){const X=[...G.dataset.data].map(lo=>lo.y),me=Math.min(...X),ct=X.indexOf(me),rn=Math.max(...X),Rn=X.indexOf(rn);return G.dataIndex===Rn||G.dataIndex===ct}(G),formatter:G=>G.y.toString()},Hs="verticalLine",Qs={id:Hs,drawTime:"beforeDraw",defaults:{width:1,color:"black"},afterInit:G=>{G[Hs]={x:0,y:0}},afterEvent:(G,j)=>{const{inChartArea:X}=j,{x:me,y:ct}=j.event;G[Hs]={x:me,y:ct,draw:X},G.draw()},beforeDraw:(G,j,X)=>{const{ctx:me}=G,{top:ct,bottom:rn}=G.chartArea,{x:Rn,draw:lo}=G[Hs];lo&&(me.save(),me.beginPath(),me.lineWidth=X.width,me.strokeStyle=X.color,me.moveTo(Rn,rn),me.lineTo(Rn,ct),me.stroke(),me.restore())}},{getThemeColorHexString:Zs,getThemeColorRgbString:Za}=f.A,{fontSize:Gs}=g.Q;class Sa extends io{static#e=this.STOCK_CHART_LOCALE_DEFAULT="en-US";static#t=this.scales=[_.PP,_.kc,_.UA];static#n=this.elements=[_.E8,_.No,_.FN];static#o=this.controllers=[_.A6,_.ZT];static#i=this.plugins=[ma,_.dN,_.m_];static#r=this.registeredElements=[...this.scales,...this.controllers,...this.elements,...this.plugins];static#s=this.pluginsRegistered=!1;static registerPlugins(){Sa.pluginsRegistered||(this.registeredElements.forEach(j=>{_.t1.register(j)}),Sa.pluginsRegistered=!0)}static#a=this.baseConfig={type:"line",data:{datasets:[]},options:{responsive:!0,animation:{duration:0},layout:{padding:{left:20,right:20,top:30,bottom:0}},backgroundColor:Za("semi-light",.5),scales:{x:{adapters:{date:{locale:Sa.STOCK_CHART_LOCALE_DEFAULT}},grid:{lineWidth:0},ticks:{maxRotation:0,autoSkipPadding:120,font:{size:parseInt(Gs("xs"))},callback(j){const X=parseInt(this.getLabelForValue(parseInt(j+"")));return _l(X,Sa.STOCK_CHART_LOCALE_DEFAULT)}}},y:{position:"right",display:!0,grid:{drawBorder:!1},ticks:{display:!0,font:{size:parseInt(Gs("xs"))}}}},elements:{line:{tension:0,borderWidth:2},point:{hitRadius:20,radius:0,hoverRadius:0,hoverBorderWidth:0}},normalized:!0,plugins:{}}};static#l=this.tooltipPlugin={padding:10,enabled:!0,mode:"index",intersect:!1,backgroundColor:Zs("semi-light"),titleColor:Zs("semi-light-contrast"),bodyColor:Zs("semi-light-contrast"),caretSize:0,bodySpacing:5,titleSpacing:5,borderColor:"transparent",callbacks:{title:j=>{const X=parseInt(j[0].label);return xl(X,Sa.STOCK_CHART_LOCALE_DEFAULT)},label:j=>j.parsed.y.toString(),labelColor:j=>({backgroundColor:j.dataset.borderColor,borderColor:Zs("semi-light"),borderWidth:2})}};static#c=this.dataLabelsPluginConfig=as;static#d=this.verticalLinePluginConfig=Qs;static#u=this.getDataLabelPosition=Bi}const _l=(G,j)=>new Date(G).toLocaleDateString(j,{day:"numeric",month:"short"}),xl=(G,j)=>new Date(G).toLocaleDateString(j,{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit"})},11235:(ft,Z,l)=>{"use strict";l.d(Z,{P:()=>M});var n=l(60177),i=l(54438),f=l(84341),g=l(53715),s=l(51272),x=l(13339);const _=["*"];function y(I,R){if(1&I&&(i.j41(0,"span",4),i.EFF(1),i.k0s()),2&I){const H=i.XpG();i.R7$(),i.JRh(H._labelText)}}function w(I,R){if(1&I&&(i.j41(0,"span"),i.EFF(1),i.k0s()),2&I){const H=i.XpG();i.R7$(),i.JRh(H.text)}}let M=(()=>{class I{get _isDisabled(){return this.disabled?"disabled":null}get isAttentionLevel1(){return"1"===this.attentionLevel}get isAttentionLevel2(){return"2"===this.attentionLevel}constructor(H,K){this.element=H,this.ionicElementPartHelper=K,this.checked=!1,this.attentionLevel="2",this.size="md",this.hasError=!1,this.disabled=!1,this.checkedChange=new i.bkB,this._justify="start",this._labelPlacement="end",this._onChange=()=>{},this._onTouched=()=>{}}ngOnInit(){this._hasSlottedContent=this.element.nativeElement.querySelector(".default-content").hasChildNodes(),"end"===this.element.nativeElement.getAttribute("slot")&&this._hasSlottedContent&&(this._justify="space-between",this._labelPlacement="start")}ngAfterViewInit(){this.ionicElementPartHelper.setPart("label",this.ionCheckboxElement,".checkbox-wrapper"),this.ionicElementPartHelper.setPart("label-text-wrapper",this.ionCheckboxElement,".label-text-wrapper"),this.ionicElementPartHelper.setPart("native-wrapper",this.ionCheckboxElement,".native-wrapper")}ngAfterContentInit(){this._labelText=(0,x.s0)(this.element.nativeElement),!this.text&&!this._labelText&&!this._hasSlottedContent&&(this._labelText=(0,x.TD)(this.element.nativeElement))}onChecked(H){this.checked=H,this._onChange(this.checked),this.checkedChange.emit(this.checked)}onBlur(){this._onTouched()}writeValue(H){this.checked=H}registerOnChange(H){this._onChange=H}registerOnTouched(H){this._onTouched=H}setDisabledState(H){this.disabled=H}static#e=this.\u0275fac=function(K){return new(K||I)(i.rXU(i.aKT),i.rXU(g.cO))};static#t=this.\u0275cmp=i.VBU({type:I,selectors:[["kirby-checkbox"]],viewQuery:function(K,L){if(1&K&&i.GBs(s.eY,7,i.aKT),2&K){let he;i.mGM(he=i.lsd())&&(L.ionCheckboxElement=he.first)}},hostVars:11,hostBindings:function(K,L){2&K&&(i.BMQ("disabled",L._isDisabled),i.HbH(L.size),i.AVh("error",L.hasError)("attention-level1",L.isAttentionLevel1)("attention-level2",L.isAttentionLevel2)("has-hidden-label",L._labelText))},inputs:{checked:"checked",attentionLevel:"attentionLevel",text:"text",size:"size",hasError:"hasError",disabled:"disabled"},outputs:{checkedChange:"checkedChange"},features:[i.Jv_([g.cO,{provide:f.kq,useExisting:(0,i.Rfq)(()=>I),multi:!0}])],ngContentSelectors:_,decls:5,vars:6,consts:[["mode","md",3,"ionChange","ionBlur","checked","disabled","labelPlacement","justify"],["class","hidden-label",4,"ngIf"],[4,"ngIf"],[1,"default-content"],[1,"hidden-label"]],template:function(K,L){1&K&&(i.NAR(),i.j41(0,"ion-checkbox",0),i.bIt("ionChange",function(pe){return L.onChecked(pe.detail.checked)})("ionBlur",function(){return L.onBlur()}),i.DNE(1,y,2,1,"span",1)(2,w,2,1,"span",2),i.j41(3,"span",3),i.SdG(4),i.k0s()()),2&K&&(i.Y8G("checked",L.checked)("disabled",L.disabled)("labelPlacement",L._labelPlacement)("justify",L._justify),i.R7$(),i.Y8G("ngIf",L._labelText),i.R7$(),i.Y8G("ngIf",L.text))},dependencies:[n.MD,n.bT,s.eY],styles:["[_nghost-%COMP%]{display:flex}.attention-level1[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--checkmark-color: var(--kirby-black);--checkbox-background-checked: var(--kirby-success);--border-color-checked: var(--kirby-success)}@media (hover: hover){.attention-level1[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;--checkbox-background-checked: rgb(45.030660793, 192.689339207, 114.1474889868);--border-color-checked: rgb(45.030660793, 192.689339207, 114.1474889868)}}.attention-level1[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:active, .attention-level1[_nghost-%COMP%] ion-checkbox.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--checkbox-background-checked: rgb(40.7420264317, 174.3379735683, 103.2762995595);--border-color-checked: rgb(40.7420264317, 174.3379735683, 103.2762995595)}.attention-level2[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--checkmark-color: var(--kirby-white);--checkbox-background-checked: var(--kirby-black);--border-color-checked: var(--kirby-black)}@media (hover: hover){.attention-level2[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;--checkbox-background-checked: rgb(91.56, 91.56, 91.56);--border-color-checked: rgb(91.56, 91.56, 91.56)}}.attention-level2[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:active, .attention-level2[_nghost-%COMP%] ion-checkbox.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--checkmark-color: rgb(234.6, 234.6, 234.6);--checkbox-background-checked: rgb(109.72, 109.72, 109.72);--border-color-checked: rgb(109.72, 109.72, 109.72)}.error[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--border-color: var(--kirby-danger)}[disabled][_nghost-%COMP%]{color:var(--kirby-text-color-semi-dark)}[disabled][_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--checkmark-color: var(--kirby-semi-dark);--checkbox-background: var(--kirby-semi-light);--checkbox-background-checked: var(--kirby-semi-light);--border-color: var(--kirby-medium);--border-color-checked: var(--kirby-semi-light)}[disabled][_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]::part(label-text-wrapper){opacity:1}[disabled][_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]::part(native-wrapper){opacity:1}[_nghost-%COMP%]:has(ion-checkbox.in-item.checkbox-justify-space-between){width:100%}.xs[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:not(.in-item)::part(label){padding-block:4px}.sm[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:not(.in-item)::part(label){padding-block:10px}.md[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:not(.in-item)::part(label){padding-block:16px}.xs[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]::part(label){line-height:16px;font-size:14px}.xs[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--size: 16px;--border-radius: 4px}.xs[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]::part(container){padding:2px}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:focus-within::part(container){transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}@media (hover: hover){[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;--checkbox-background: rgb(234.6, 234.6, 234.6)}}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]:active, [_nghost-%COMP%] ion-checkbox.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--checkbox-background: rgb(224.4, 224.4, 224.4)}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--transition: 80ms;--size: 24px;--checkmark-width: 4px;--checkbox-background: var(--kirby-white);--border-width: 1px;--border-color: var(--kirby-semi-dark);--border-radius: 6px}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]::part(container){padding:4px}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]::part(label){align-items:start;padding-inline:16px 12px;line-height:24px}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:12px 0;white-space:pre-line}[_nghost-%COMP%] ion-checkbox.in-item[_ngcontent-%COMP%]::part(label){align-items:center;padding-inline:0}[_nghost-%COMP%] ion-checkbox.in-item[_ngcontent-%COMP%]::part(label-text-wrapper){margin-block:0}[_nghost-%COMP%] ion-checkbox.in-item.checkbox-label-placement-start[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:0 12px}[_nghost-%COMP%] ion-checkbox.in-item.checkbox-label-placement-end[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:12px 0}.has-hidden-label[_nghost-%COMP%]{position:initial}.has-hidden-label[slot=end][_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{margin-inline-start:12px}.has-hidden-label[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{position:initial}.has-hidden-label[_nghost-%COMP%] ion-checkbox.in-item.checkbox-label-placement-start[_ngcontent-%COMP%]::part(label-text-wrapper), .has-hidden-label[_nghost-%COMP%] ion-checkbox.in-item.checkbox-label-placement-end[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:0}.has-hidden-label[_nghost-%COMP%] .hidden-label[_ngcontent-%COMP%]{position:absolute;inset:0;opacity:0}[_nghost-%COMP%] kirby-item[_nghost-%COMP%], kirby-item [_nghost-%COMP%]{z-index:1}[_nghost-%COMP%] kirby-item[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%], kirby-item [_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] kirby-item[slot=start][_nghost-%COMP%], kirby-item [slot=start][_nghost-%COMP%]{margin-block:0;margin-inline-end:12px}"],changeDetection:0})}return I})()},11723:(ft,Z,l)=>{"use strict";l.d(Z,{K:()=>R});var n=l(54438),i=l(60177),f=l(35043);const g=["span"],s=["sortable",""],x=["*"];function _(K,L){1&K&&n.eu8(0)}function y(K,L){if(1&K&&(n.qex(0),n.DNE(1,_,1,0,"ng-container",4),n.bVm()),2&K){n.XpG();const he=n.sdS(4);n.R7$(),n.Y8G("ngTemplateOutlet",he)}}function w(K,L){1&K&&n.eu8(0)}function M(K,L){if(1&K&&(n.j41(0,"button",5)(1,"span",null,2),n.DNE(3,w,1,0,"ng-container",4),n.k0s(),n.nrm(4,"kirby-icon",6),n.k0s()),2&K){const he=n.XpG(),pe=n.sdS(4);n.Y8G("ngClass",he._getAlignmentClasses()),n.R7$(3),n.Y8G("ngTemplateOutlet",pe),n.R7$(),n.Y8G("name","asc"===he.sortDirection?"arrow-up-fill":"arrow-down-fill")}}function I(K,L){1&K&&n.SdG(0)}let R=(()=>{class K{constructor(he){this.renderer=he,this.sortable=!1,this.active=!1,this.sortDirection="asc",this.iconAlignment="end",this.alignment="start"}get isActive(){return this.sortable&&this.active}_getAlignmentClasses(){const he=[];return"start"===this.iconAlignment&&he.push("row-reverse"),he.push(`align-${this.alignment}`),he}ngAfterViewInit(){this.spanElement&&this.renderer.setAttribute(this.spanElement.nativeElement,"data-text",this.spanElement.nativeElement.textContent)}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.rXU(n.sFG))};static#t=this.\u0275cmp=n.VBU({type:K,selectors:[["th","sortable",""]],viewQuery:function(pe,be){if(1&pe&&n.GBs(g,5),2&pe){let Le;n.mGM(Le=n.lsd())&&(be.spanElement=Le.first)}},hostVars:4,hostBindings:function(pe,be){2&pe&&n.AVh("sortable",be.sortable)("active",be.isActive)},inputs:{sortable:"sortable",active:"active",sortDirection:"sortDirection",iconAlignment:"iconAlignment",alignment:"alignment"},attrs:s,ngContentSelectors:x,decls:5,vars:2,consts:[["sortableTemplate",""],["contentTemplate",""],["span",""],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"ngClass"],[3,"name"]],template:function(pe,be){if(1&pe&&(n.NAR(),n.DNE(0,y,2,1,"ng-container",3)(1,M,5,3,"ng-template",null,0,n.C5r)(3,I,1,0,"ng-template",null,1,n.C5r)),2&pe){const Le=n.sdS(2);n.Y8G("ngIf",!be.sortable)("ngIfElse",Le)}},dependencies:[i.MD,i.YU,i.bT,i.T3,f.op,f.Rl],encapsulation:2,changeDetection:0})}return K})()},32667:(ft,Z,l)=>{"use strict";l.d(Z,{h:()=>f});var n=l(60177),i=l(54438);let f=(()=>{class g{static#e=this.\u0275fac=function(_){return new(_||g)};static#t=this.\u0275cmp=i.VBU({type:g,selectors:[["kirby-divider"]],inputs:{hasMargin:"hasMargin"},decls:1,vars:2,template:function(_,y){1&_&&i.nrm(0,"hr"),2&_&&i.AVh("no-margin",!y.hasMargin)},dependencies:[n.MD],styles:["hr[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:8px;border:0;border-top:1px solid var(--kirby-divider-color, var(--kirby-medium))}hr.no-margin[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}"],changeDetection:0})}return g})()},41727:(ft,Z,l)=>{"use strict";l.d(Z,{Ps:()=>lt,Vl:()=>Je,kr:()=>Bt});var n=l(54438),i=l(84341),f=l(98990),g=l(19402),s=l(81365),x=l(29756),_=l(90351),y=l(47008),w=l(13339),M=l(35043),I=l(60177),R=l(56297);const H=(et,sn,tt,Ct)=>({$implicit:et,selected:sn,focused:tt,index:Ct});function K(et,sn){1&et&&n.eu8(0)}function L(et,sn){1&et&&n.eu8(0)}function he(et,sn){if(1&et){const tt=n.RV6();n.j41(0,"kirby-popover",7),n.bIt("click",function(){n.eBV(tt);const Xe=n.XpG();return n.Njj(Xe._onPopoverClick())})("willHide",function(){n.eBV(tt);const Xe=n.XpG();return n.Njj(Xe._onPopoverWillHide())}),n.DNE(1,L,1,0,"ng-container",6),n.k0s()}if(2&et){const tt=n.XpG(),Ct=n.sdS(8);n.Y8G("target",tt.buttonElement)("popout",tt.popout),n.R7$(),n.Y8G("ngTemplateOutlet",Ct)}}function pe(et,sn){1&et&&n.eu8(0)}function be(et,sn){if(1&et&&(n.qex(0),n.DNE(1,pe,1,0,"ng-container",9),n.bVm()),2&et){const tt=sn.$implicit,Ct=sn.index,Xe=n.XpG(2),e=n.sdS(10);n.R7$(),n.Y8G("ngTemplateOutlet",Xe.itemTemplate||e)("ngTemplateOutletContext",n.ziG(2,H,tt,Ct===Xe.selectedIndex,Ct===Xe.focusedIndex,Ct))}}function Le(et,sn){if(1&et&&(n.j41(0,"kirby-card"),n.DNE(1,be,2,7,"ng-container",8),n.k0s()),2&et){const tt=n.XpG();n.R7$(),n.Y8G("ngForOf",tt.items)}}function ye(et,sn){1&et&&n.nrm(0,"kirby-icon",13)}function je(et,sn){if(1&et){const tt=n.RV6();n.j41(0,"kirby-item",10),n.bIt("click",function(){const Xe=n.eBV(tt).index,e=n.XpG();return n.Njj(e.onItemSelect(Xe))}),n.j41(1,"p",11),n.EFF(2),n.k0s(),n.DNE(3,ye,1,0,"kirby-icon",12),n.k0s()}if(2&et){const tt=sn.$implicit,Ct=sn.selected,Xe=sn.focused,e=n.XpG();n.AVh("focused",Xe),n.Y8G("selectable",!0)("selected",Ct),n.R7$(2),n.JRh(e.getTextFromItem(tt)),n.R7$(),n.Y8G("ngIf",Ct)}}var ke=function(et){return et[et.closed=0]="closed",et[et.opening=1]="opening",et[et.open=2]="open",et}(ke||{}),De=function(et){return et[et.up=0]="up",et[et.down=1]="down",et}(De||{});let Je=(()=>{class et{handle(tt,Ct,Xe,e=!1){let On=-1;switch(tt.key){case"ArrowUp":case"ArrowLeft":On=0===Ct&&e?Xe:Ct-1;break;case"ArrowDown":case"ArrowRight":void 0===Ct||Ct===Xe&&e?On=0:Ct{class et{static#e=this.OPEN_DELAY_IN_MS=100;get items(){return this._items}set items(tt){this._items=tt,this._value=this.items[this.selectedIndex]||null}get selectedIndex(){return this._selectedIndex}set selectedIndex(tt){void 0!==tt&&this._selectedIndex!=tt&&(this._selectedIndex=tt,this.focusedIndex=this._selectedIndex,this._value=this.items[this.selectedIndex]||null)}get focusedIndex(){return this._focusedIndex}set focusedIndex(tt){this._focusedIndex!==tt&&(this._focusedIndex=tt,this.scrollItemIntoView(this._focusedIndex))}set popout(tt){this.horizontalDirection=tt||_.I.right}get popout(){return this.horizontalDirection}get _isDisabled(){return this.disabled?"disabled":null}get _tabindex(){return this.disabled?-1:this.tabindex}get _noBlurOnScroll(){return!0}get value(){return this._value}get selectedText(){return this.getTextFromItem(this.value)}get _isBlockLevel(){return"block"===this.expand}get _isOpening(){return this.state===ke.opening}get isOpen(){return this.state===ke.open}get _popoutLeft(){return this.horizontalDirection===_.I.left}get _popoutUp(){return this.verticalDirection===De.up}set kirbyItemsSlotted(tt){this.itemClickUnlisten?.length>0&&this.unlistenAllSlottedItems(),tt.forEach((Xe,e)=>{this.renderer.setAttribute(Xe.nativeElement,"role","option");const On=this.renderer.listen(Xe.nativeElement,"click",()=>{this.onItemSelect(e)});this.itemClickUnlisten.push(On)}),this._kirbyItemsSlotted=tt}get kirbyItemsSlotted(){return this._kirbyItemsSlotted}constructor(tt,Ct,Xe,e,On){this.renderer=tt,this.elementRef=Ct,this.changeDetectorRef=Xe,this.keyboardHandlerService=e,this.resizeObserverService=On,this.state=ke.closed,this.horizontalDirection=_.I.right,this.verticalDirection=De.down,this._items=[],this._selectedIndex=-1,this._focusedIndex=-1,this.itemTextProperty="text",this.placeholder="Please select:",this.attentionLevel="3",this.disabled=!1,this.size="md",this.tabindex=0,this.usePopover=!1,this.change=new n.bkB,this._value=null,this._role="listbox",this.clicked=!1,this.itemClickUnlisten=[],this._onChange=()=>{},this._onTouched=()=>{}}onToggle(tt){tt.stopPropagation(),this.clicked=!0,this.isOpen||this.elementRef.nativeElement.focus(),this.toggle()}toggle(){this.disabled||(this.isOpen?this.close():this.open())}onButtonMouseEvent(tt){tt.preventDefault()}setPopoverCardStyle(tt,Ct){this.usePopover&&this.renderer.setStyle(this.cardElement.nativeElement,tt,Ct,n.czy.DashCase)}ngAfterViewInit(){if(this.usePopover&&"block"===this.expand){const{width:tt}=this.elementRef.nativeElement.getBoundingClientRect();this.setPopoverCardStyle("max-width","initial"),this.setPopoverCardStyle("min-width","initial"),this.setPopoverCardStyle("--kirby-card-width",`${tt}px`),this.resizeObserverService.observe(this.elementRef,Ct=>{const Xe=Ct.contentRect.width;Xe>0&&this.setPopoverCardStyle("--kirby-card-width",`${Xe}px`)})}this.initializeAlignment()}initializeAlignment(){if(!this.usePopover&&!this.intersectionObserverRef){const Ct={rootMargin:g.Q.size("md"===this.size?"xl":"l")};this.intersectionObserverRef=new IntersectionObserver(e=>{if(this.state!==ke.opening)return;clearTimeout(this.showDropdownTimeoutId);const On=e[0];On.boundingClientRect.width>0&&On.intersectionRatio<1&&(this.setHorizontalDirection(On),this.setVerticalDirection(On)),this.showDropdown(),this.changeDetectorRef.detectChanges()},Ct),this.intersectionObserverRef.observe(this.cardElement.nativeElement)}}setHorizontalDirection(tt){this.horizontalDirection===_.I.right?tt.boundingClientRect.right>tt.rootBounds.right&&(this.horizontalDirection=_.I.left):tt.boundingClientRect.lefttt.rootBounds.bottom&&this.elementRef.nativeElement.getBoundingClientRect().top>tt.target.clientHeight+5&&(this.verticalDirection=De.up)}open(){this.disabled||this.isOpen||(this.state=ke.opening,this.showDropdownTimeoutId=setTimeout(()=>this.showDropdown(),et.OPEN_DELAY_IN_MS),this.focusedIndex=this.selectedIndex)}showDropdown(){this.state===ke.opening&&(this.state=ke.open,this.popover?.show(),this.scrollItemIntoView(this.selectedIndex),this.changeDetectorRef.markForCheck())}close(){this.disabled||this.isOpen&&(this.state=ke.closed,this.verticalDirection=De.down,this.popover?.hide())}onItemSelect(tt){this.selectItem(tt),this.close()}writeValue(tt){this._selectItemByValue(tt)}registerOnChange(tt){this._onChange=tt}registerOnTouched(tt){this._onTouched=tt}setDisabledState(tt){this.disabled=tt}selectItem(tt){tt!=this.selectedIndex&&(this.selectedIndex=tt,this.focusedIndex=tt,this.change.emit(this.value),this._onChange(this.value))}_selectItemByValue(tt){this.selectedIndex=this.items.indexOf(tt)}getTextFromItem(tt){return tt?"string"==typeof tt?tt:tt[this.itemTextProperty]:null}scrollItemIntoView(tt){const Ct=this.kirbyItemsSlotted&&this.kirbyItemsSlotted.length?this.kirbyItemsSlotted:this.kirbyItemsDefault;if(Ct&&Ct.length){const Xe=Ct.toArray()[tt];Xe&&Xe.nativeElement&&Xe.nativeElement.scrollIntoView({block:"nearest"})}}_onTab(tt){this.isOpen&&(tt.preventDefault(),this.close()),this.clicked&&(this.clicked=!1)}_onMouseDown(tt){this.disabled&&(tt.preventDefault(),tt.stopImmediatePropagation())}_onTouchStart(tt){this.isOpen&&tt.stopPropagation()}_onFocus(){this.disabled&&this.elementRef.nativeElement.blur()}_onPopoverWillHide(){this.state=ke.closed,this.elementRef.nativeElement.focus()}_onEnterOrEscape(){this.close(),this._onTouched()}_onPopoverClick(){this.close()}_onBlur(){this.usePopover||(this.close(),this._onTouched())}_onEnterOrSpace(tt){tt.preventDefault(),tt.stopPropagation(),this.isOpen&&this.selectItem(this.focusedIndex),this.toggle()}_onArrowKeys(tt){if(this.disabled||this.isOpen&&("ArrowLeft"===tt.key||"ArrowRight"===tt.key))return!1;if(!this.isOpen){if(tt.preventDefault(),this.open(),this.selectedIndex<0)switch(tt.key){case"ArrowUp":this.focusedIndex=this.items.length-1;break;case"ArrowDown":this.focusedIndex=0}return!1}const Ct=this.keyboardHandlerService.handle(tt,this.focusedIndex,this.items.length-1);return Ct>-1&&(this.focusedIndex=Ct),!1}_onHomeEndKeys(tt){if(this.disabled||!this.isOpen)return;const Ct=this.keyboardHandlerService.handle(tt,this.focusedIndex,this.items.length-1);return Ct>-1&&(this.focusedIndex=Ct),!1}unlistenAllSlottedItems(){let tt;for(;void 0!==(tt=this.itemClickUnlisten.pop());)tt()}ngOnDestroy(){this.unlistenAllSlottedItems(),this.resizeObserverService.unobserve(this.elementRef),this.intersectionObserverRef&&this.intersectionObserverRef.disconnect()}static#t=this.\u0275fac=function(Ct){return new(Ct||et)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(n.gRc),n.rXU(Je),n.rXU(w.ke))};static#n=this.\u0275cmp=n.VBU({type:et,selectors:[["kirby-dropdown"]],contentQueries:function(Ct,Xe,e){if(1&Ct&&(n.wni(e,x.bx,7,n.C4Q),n.wni(e,x.bx,4,n.aKT),n.wni(e,s.JA,4,n.aKT)),2&Ct){let On;n.mGM(On=n.lsd())&&(Xe.itemTemplate=On.first),n.mGM(On=n.lsd())&&(Xe.slottedItems=On),n.mGM(On=n.lsd())&&(Xe.kirbyItemsSlotted=On)}},viewQuery:function(Ct,Xe){if(1&Ct&&(n.GBs(f.ib,5,n.aKT),n.GBs(_.r,5),n.GBs(y.Q,7,n.aKT),n.GBs(s.JA,5,n.aKT)),2&Ct){let e;n.mGM(e=n.lsd())&&(Xe.cardElement=e.first),n.mGM(e=n.lsd())&&(Xe.popover=e.first),n.mGM(e=n.lsd())&&(Xe.buttonElement=e.first),n.mGM(e=n.lsd())&&(Xe.kirbyItemsDefault=e)}},hostVars:20,hostBindings:function(Ct,Xe){1&Ct&&n.bIt("keydown.tab",function(On){return Xe._onTab(On)})("mousedown",function(On){return Xe._onMouseDown(On)})("touchstart",function(On){return Xe._onTouchStart(On)})("focus",function(){return Xe._onFocus()})("keydown.enter",function(On){return Xe._onEnterOrSpace(On)})("keydown.escape",function(){return Xe._onEnterOrEscape()})("blur",function(On){return Xe._onBlur(On)})("keydown.space",function(On){return Xe._onEnterOrSpace(On)})("keydown.arrowup",function(On){return Xe._onArrowKeys(On)})("keydown.arrowdown",function(On){return Xe._onArrowKeys(On)})("keydown.arrowleft",function(On){return Xe._onArrowKeys(On)})("keydown.arrowright",function(On){return Xe._onArrowKeys(On)})("keydown.home",function(On){return Xe._onHomeEndKeys(On)})("keydown.end",function(On){return Xe._onHomeEndKeys(On)}),2&Ct&&(n.BMQ("disabled",Xe._isDisabled)("tabindex",Xe._tabindex)("no-blur",Xe._noBlurOnScroll)("role",Xe._role),n.AVh("error",Xe.hasError)("with-popover",Xe.usePopover)("expand",Xe._isBlockLevel)("is-opening",Xe._isOpening)("is-open",Xe.isOpen)("popout-left",Xe._popoutLeft)("popout-up",Xe._popoutUp)("clicked",Xe.clicked))},inputs:{items:"items",selectedIndex:"selectedIndex",focusedIndex:"focusedIndex",itemTextProperty:"itemTextProperty",placeholder:"placeholder",popout:"popout",attentionLevel:"attentionLevel",expand:"expand",disabled:"disabled",hasError:"hasError",size:"size",tabindex:"tabindex",usePopover:"usePopover"},outputs:{change:"change"},standalone:!1,features:[n.Jv_([{provide:i.kq,useExisting:(0,n.Rfq)(()=>et),multi:!0}])],decls:11,vars:6,consts:[["popoverTemplate",""],["itemWrapperTemplate",""],["defaultItemTemplate",""],["kirby-button","","tabindex","-1","type","button",3,"click","mousedown","size","attentionLevel","disabled"],[1,"text"],[3,"name"],[4,"ngTemplateOutlet"],[3,"click","willHide","target","popout"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","option",3,"click","selectable","selected"],["tabindex","0",1,"kirby-item-title"],["name","checkmark-selected","slot","end",4,"ngIf"],["name","checkmark-selected","slot","end"]],template:function(Ct,Xe){if(1&Ct){const e=n.RV6();n.j41(0,"button",3),n.bIt("click",function(Pt){return n.eBV(e),n.Njj(Xe.onToggle(Pt))})("mousedown",function(Pt){return n.eBV(e),n.Njj(Xe.onButtonMouseEvent(Pt))}),n.j41(1,"span",4),n.EFF(2),n.k0s(),n.nrm(3,"kirby-icon",5),n.k0s(),n.DNE(4,K,1,0,"ng-container",6)(5,he,2,3,"ng-template",null,0,n.C5r)(7,Le,2,1,"ng-template",null,1,n.C5r)(9,je,4,6,"ng-template",null,2,n.C5r)}if(2&Ct){const e=n.sdS(6),On=n.sdS(8);n.Y8G("size",Xe.size)("attentionLevel",Xe.attentionLevel)("disabled",Xe.disabled),n.R7$(2),n.JRh(Xe.selectedText||Xe.placeholder),n.R7$(),n.Y8G("name",Xe.isOpen?"arrow-up":"arrow-down"),n.R7$(),n.Y8G("ngTemplateOutlet",Xe.usePopover?e:On)}},dependencies:[f.ib,M.Rl,s.JA,_.r,y.Q,I.Sq,I.bT,I.T3],styles:["@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]{outline:none;border-radius:999px}[_nghost-%COMP%]:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}[_nghost-%COMP%]:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}[_nghost-%COMP%]:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}[_nghost-%COMP%]{display:inline-block;position:relative;max-width:calc(100vw - 32px)}.clicked[_nghost-%COMP%]{box-shadow:none}.expand[_nghost-%COMP%]{display:block}.expand[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{width:100%;min-width:initial;max-width:initial}.error[_nghost-%COMP%] > button[_ngcontent-%COMP%], .ng-touched.ng-invalid[_nghost-%COMP%] > button[_ngcontent-%COMP%]{border-color:var(--kirby-danger)}[_nghost-%COMP%] > button[_ngcontent-%COMP%]{position:relative;margin:0;outline:none;width:100%;min-width:0}[_nghost-%COMP%] > button.attention-level2[_ngcontent-%COMP%]{border:1px solid transparent}[_nghost-%COMP%] > button[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{display:none;opacity:0;position:absolute;z-index:800}.is-opening[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{display:block}.is-open[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{display:block;opacity:1}.is-open[_nghost-%COMP%] > button[_ngcontent-%COMP%]{box-shadow:0 0 5px #1c1c1c0a,0 10px 15px -10px #1c1c1c26}.popout-left[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{right:0}.popout-up[_nghost-%COMP%] kirby-card[_ngcontent-%COMP%]{top:0;margin-top:-4px;transform:translateY(-100%)}.popout-up.is-open[_nghost-%COMP%] > button[_ngcontent-%COMP%]{z-index:801}kirby-popover[_ngcontent-%COMP%]{--max-height: 352px}kirby-card[_ngcontent-%COMP%]{max-height:352px;margin-block:4px;overflow-y:auto;box-shadow:0 0 5px #1c1c1c0a,0 10px 15px -10px #1c1c1c26;max-width:calc(100vw - 32px);min-width:288px}@media (min-width: 321px){kirby-card[_ngcontent-%COMP%]{min-width:343px}}@media (hover: hover){kirby-calendar[_nghost-%COMP%] > button[_ngcontent-%COMP%]:hover, kirby-calendar [_nghost-%COMP%] > button[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}kirby-calendar[_nghost-%COMP%] > button[_ngcontent-%COMP%]:active, kirby-calendar [_nghost-%COMP%] > button[_ngcontent-%COMP%]:active, kirby-calendar[_nghost-%COMP%] > button.interaction-state-active[_ngcontent-%COMP%], kirby-calendar [_nghost-%COMP%] > button.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}kirby-calendar[_nghost-%COMP%] > button[_ngcontent-%COMP%], kirby-calendar [_nghost-%COMP%] > button[_ngcontent-%COMP%]{border-color:transparent;font-weight:700;font-size:initial}kirby-calendar.is-open[_nghost-%COMP%] > button[_ngcontent-%COMP%], kirby-calendar .is-open[_nghost-%COMP%] > button[_ngcontent-%COMP%]{box-shadow:none}"]})}return et})(),Bt=(()=>{class et{static#e=this.\u0275fac=function(Ct){return new(Ct||et)};static#t=this.\u0275mod=n.$C({type:et});static#n=this.\u0275inj=n.G2t({providers:[Je],imports:[f.Dw,M.op,s.kA,R.LT,_.r,y.Q,I.MD,x.HV]})}return et})()},49711:(ft,Z,l)=>{"use strict";l.d(Z,{b:()=>R,o:()=>M});var n=l(54438),i=l(47008),f=l(53715),g=l(35043),s=l(60177);const x=["*"];function _(H,K){if(1&H&&(n.j41(0,"div",4),n.nrm(1,"kirby-icon",5),n.k0s()),2&H){const L=n.XpG();n.R7$(),n.Y8G("name",L.iconName)}}function y(H,K){if(1&H&&(n.j41(0,"span",6),n.EFF(1),n.k0s()),2&H){const L=n.XpG();n.R7$(),n.JRh(L.title)}}function w(H,K){if(1&H&&(n.j41(0,"p",7),n.EFF(1),n.k0s()),2&H){const L=n.XpG();n.R7$(),n.JRh(L.subtitle)}}let M=(()=>{class H{set title(L){this._title=L,this.ionModalDialog&&this.renderer.setAttribute(this.ionModalDialog,"aria-label",L)}get title(){return this._title}constructor(L,he){this.elementRef=L,this.renderer=he}ngOnInit(){this.ionModalDialog=(0,f.ft)(this.elementRef.nativeElement),this.ionModalDialog&&this.renderer.setAttribute(this.ionModalDialog,"aria-label",this.title)}ngAfterContentInit(){this.enforceAttentionLevelRules(),this.slottedButtons.changes.subscribe(()=>{setTimeout(()=>this.enforceAttentionLevelRules())})}enforceAttentionLevelRules(){this.slottedButtons.forEach((L,he)=>{0===he&&(void 0===L.attentionLevel||"1"===L.attentionLevel)||"3"!==L.attentionLevel&&(L.attentionLevel="3")})}static#e=this.\u0275fac=function(he){return new(he||H)(n.rXU(n.aKT),n.rXU(n.sFG))};static#t=this.\u0275cmp=n.VBU({type:H,selectors:[["kirby-empty-state"]],contentQueries:function(he,pe,be){if(1&he&&n.wni(be,i.Q,4),2&he){let Le;n.mGM(Le=n.lsd())&&(pe.slottedButtons=Le)}},inputs:{iconName:"iconName",title:"title",subtitle:"subtitle"},standalone:!1,ngContentSelectors:x,decls:6,vars:3,consts:[["class","icon-outline",4,"ngIf"],["class","title kirby-text-medium",4,"ngIf"],["class","subtitle",4,"ngIf"],[1,"content"],[1,"icon-outline"],["size","lg",3,"name"],[1,"title","kirby-text-medium"],[1,"subtitle"]],template:function(he,pe){1&he&&(n.NAR(),n.j41(0,"article"),n.DNE(1,_,2,1,"div",0)(2,y,2,1,"span",1)(3,w,2,1,"p",2),n.j41(4,"div",3),n.SdG(5),n.k0s()()),2&he&&(n.R7$(),n.Y8G("ngIf",pe.iconName),n.R7$(),n.Y8G("ngIf",pe.title),n.R7$(),n.Y8G("ngIf",pe.subtitle))},dependencies:[g.Rl,s.bT],styles:["article[_ngcontent-%COMP%]{max-width:330px;margin:auto;display:flex;flex-direction:column;justify-content:center;text-align:center}.icon-outline[_ngcontent-%COMP%]{width:96px;height:96px;margin-left:auto;margin-right:auto;margin-bottom:24px;display:flex;flex-direction:column;justify-content:center;border:4px solid var(--kirby-medium);border-radius:50%}kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-medium)}.title[_ngcontent-%COMP%]{margin-bottom:8px}p.subtitle[_ngcontent-%COMP%]{margin-bottom:24px;white-space:pre-wrap}.primary[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-primary)}.primary[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-primary)}.secondary[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-secondary)}.secondary[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-secondary)}.tertiary[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-tertiary)}.tertiary[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-tertiary)}.success[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-success)}.success[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-success)}.warning[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-warning)}.warning[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-warning)}.danger[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-danger)}.danger[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-danger)}.white-overlay[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-white-overlay)}.white-overlay[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-white-overlay)}.light[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-light)}.light[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-light)}.medium[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-medium)}.medium[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-medium)}.dark[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-dark)}.dark[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-dark)}.dark-overlay[_nghost-%COMP%] .icon-outline[_ngcontent-%COMP%]{border-color:var(--kirby-dark-overlay)}.dark-overlay[_nghost-%COMP%] kirby-icon[_ngcontent-%COMP%]{color:var(--kirby-dark-overlay)}"],changeDetection:0})}return H})(),R=(()=>{class H{static#e=this.\u0275fac=function(he){return new(he||H)};static#t=this.\u0275mod=n.$C({type:H});static#n=this.\u0275inj=n.G2t({imports:[g.op,s.MD]})}return H})()},50589:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>y});var n=l(60177),i=l(54438),f=l(81443),g=l(51272);const s=[[["kirby-icon"]],[["kirby-action-sheet"]]],x=["kirby-icon","kirby-action-sheet"];function _(w,M){if(1&w){const I=i.RV6();i.j41(0,"ion-fab-list",3),i.bIt("click",function(){i.eBV(I);const H=i.XpG();return i.Njj(H.onFabListClick())}),i.SdG(1,1),i.k0s()}if(2&w){const I=i.XpG();i.HbH(I.horizontalAlignment)}}let y=(()=>{class w{get isFabSheetOpen(){return this._isFabSheetOpen}constructor(I,R,H){this.changeDetectorRef=I,this.renderer=R,this.document=H,this.disabled=!1,this.horizontalAlignment="right",this._isFabSheetOpen=!1}ngAfterContentInit(){this.actionSheet&&(this.actionSheet.hideCancel=!0)}ngAfterViewInit(){this.renderer.removeClass(this.document.body,"backdrop-no-scroll")}hideActions(){this.ionFab.close().then(()=>this.fabSheetStateChanged(!1))}onFabButtonClick(){setTimeout(()=>{this.fabSheetStateChanged(this.ionFab.activated)})}onFabListClick(){this.ionFab.close().then(()=>{this.fabSheetStateChanged(!1)})}fabSheetStateChanged(I){this._isFabSheetOpen=I,this.isFabSheetOpen?(this.renderer.addClass(this.document.body,"fab-sheet-active"),this.renderer.addClass(this.document.body,"backdrop-no-scroll")):(this.renderer.removeClass(this.document.body,"fab-sheet-active"),this.renderer.removeClass(this.document.body,"backdrop-no-scroll")),this.changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(R){return new(R||w)(i.rXU(i.gRc),i.rXU(i.sFG),i.rXU(n.qQ))};static#t=this.\u0275cmp=i.VBU({type:w,selectors:[["kirby-fab-sheet"]],contentQueries:function(R,H,K){if(1&R&&i.wni(K,f.vL,5),2&R){let L;i.mGM(L=i.lsd())&&(H.actionSheet=L.first)}},viewQuery:function(R,H){if(1&R&&(i.GBs(g.YW,7,i.aKT),i.GBs(g.Q8,7)),2&R){let K;i.mGM(K=i.lsd())&&(H.ionFabButton=K.first),i.mGM(K=i.lsd())&&(H.ionFab=K.first)}},hostVars:2,hostBindings:function(R,H){2&R&&i.AVh("is-open",H.isFabSheetOpen)},inputs:{disabled:"disabled",horizontalAlignment:"horizontalAlignment"},ngContentSelectors:x,decls:5,vars:6,consts:[[3,"ionBackdropTap","click","stopPropagation"],["tabindex","-1",3,"click","disabled"],["side","top",3,"class","click",4,"ngIf"],["side","top",3,"click"]],template:function(R,H){1&R&&(i.NAR(s),i.j41(0,"ion-backdrop",0),i.bIt("ionBackdropTap",function(){return H.hideActions()})("click",function(){return H.hideActions()}),i.k0s(),i.j41(1,"ion-fab")(2,"ion-fab-button",1),i.bIt("click",function(){return H.onFabButtonClick()}),i.SdG(3),i.k0s(),i.DNE(4,_,2,3,"ion-fab-list",2),i.k0s()),2&R&&(i.AVh("backdrop-visible",H.isFabSheetOpen),i.Y8G("stopPropagation",!1),i.R7$(2),i.Y8G("disabled",H.disabled),i.BMQ("disabled",!!H.disabled||null),i.R7$(2),i.Y8G("ngIf",H.actionSheet))},dependencies:[n.MD,n.bT,g.ZF,g.Q8,g.YW,g.OL],styles:["[_nghost-%COMP%]{--kirby-action-sheet-margin-horizontal: 16px}@media (hover: hover){ion-fab-button[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}ion-fab-button[_ngcontent-%COMP%]:active, ion-fab-button.ion-activated[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}ion-fab-button[_ngcontent-%COMP%]::part(native):after{transition:all 80ms linear 0ms}@media (hover: hover) and (pointer: fine){ion-fab-button[_ngcontent-%COMP%]{outline:none;border-radius:999px}ion-fab-button[_ngcontent-%COMP%]:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}ion-fab-button[_ngcontent-%COMP%]:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}ion-fab-button[_ngcontent-%COMP%]:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}ion-fab-button[_ngcontent-%COMP%]{--box-shadow: 0 0 5px 0 rgba(28, 28, 28, .04), 0 10px 15px -10px rgba(28, 28, 28, .15);width:64px;height:64px;-webkit-user-select:none;user-select:none}ion-fab-button[disabled][_ngcontent-%COMP%]{--background: var(--kirby-semi-light);--box-shadow: none;opacity:1}ion-fab[_ngcontent-%COMP%]{position:fixed;bottom:16px;right:16px}.fixed-content[_nghost-%COMP%] ion-fab[_ngcontent-%COMP%], .fixed-content [_nghost-%COMP%] ion-fab[_ngcontent-%COMP%]{position:absolute}ion-backdrop[_ngcontent-%COMP%]{visibility:hidden;opacity:0;transition:opacity .75s;position:fixed;z-index:999}ion-backdrop.backdrop-visible[_ngcontent-%COMP%]{visibility:visible;opacity:.4}@media (min-width: 768px){ion-backdrop.backdrop-visible[_ngcontent-%COMP%]{opacity:0}}ion-fab-list[_ngcontent-%COMP%]{margin-top:76px;margin-bottom:76px;right:0}"],changeDetection:0})}return w})()},8346:(ft,Z,l)=>{"use strict";l.d(Z,{q:()=>g});var n=l(60177),i=l(54438);const f=["*"];let g=(()=>{class s{constructor(){this.size="md",this.themeColor="transparent"}get _cssClass(){return[this.themeColor,this.size]}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["kirby-flag"]],hostVars:2,hostBindings:function(y,w){2&y&&i.HbH(w._cssClass)},inputs:{size:"size",themeColor:"themeColor"},ngContentSelectors:f,decls:1,vars:0,template:function(y,w){1&y&&(i.NAR(),i.SdG(0))},dependencies:[n.MD],styles:["[_nghost-%COMP%]{display:inline-block;background-color:var(--kirby-flag-background-color, transparent);color:var(--kirby-flag-color, var(--kirby-white-contrast));border:1px solid var(--kirby-flag-border-color, var(--kirby-medium));border-radius:4px;font-size:16px;padding:2px 8px;font-weight:500;line-height:1.375}.sm[_nghost-%COMP%]{font-size:14px;line-height:1.2857142857}.xs[_nghost-%COMP%]{font-size:12px;line-height:1.1666666667;padding-left:4px;padding-right:4px}.success[_nghost-%COMP%]{--kirby-flag-background-color: var(--kirby-decoration-color-green-30);--kirby-flag-color: var(--kirby-black);--kirby-flag-border-color: var(--kirby-flag-background-color)}.warning[_nghost-%COMP%]{--kirby-flag-background-color: var(--kirby-decoration-color-yellow-30);--kirby-flag-color: var(--kirby-black);--kirby-flag-border-color: var(--kirby-flag-background-color)}.danger[_nghost-%COMP%]{--kirby-flag-background-color: var(--kirby-decoration-color-red-30);--kirby-flag-color: var(--kirby-black);--kirby-flag-border-color: var(--kirby-flag-background-color)}.semi-light[_nghost-%COMP%]{--kirby-flag-background-color: var(--kirby-semi-light);--kirby-flag-color: var(--kirby-black);--kirby-flag-border-color: var(--kirby-flag-background-color)}"],changeDetection:0})}return s})()},56297:(ft,Z,l)=>{"use strict";l.d(Z,{ke:()=>so,Ry:()=>ti,KS:()=>fi,LT:()=>$i,Sj:()=>Ao,sP:()=>hi,YI:()=>si,QC:()=>eo});var n=l(54438),i=l(53715),f=l(19402),g=l(27037),s=l(13339),x=l(35519),_=l(60177);const y={AltGraph:18,ArrowDown:40,ArrowLeft:37,ArrowRight:39,ArrowUp:38,Backspace:8,BACKSPACE_SAFARI:127,CapsLock:20,Delete:46,End:35,Enter:13,Escape:27,Home:36,Insert:45,PageDown:34,PageUp:33,Space:32,Tab:9,c:67,x:88,z:90,Shift:16,Control:17,Alt:18,Pause:19,Meta_LEFT:91,Meta_RIGHT:92,ContextMenu:93,Process:229,Unidentified:229,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123},M=(Object.entries(y).reduce((P,[re,ie])=>(P[ie]=void 0===P[ie]?re:P[ie],P),{}),Object.entries(y).reduce((P,[re,ie])=>(P[re]="Space"===re?" ":re,P),{}));function H(P,re){var ie=(null!=P.alternation?P.mloc[K(P)]:P.locator).join("");if(""!==ie)for(;ie.length0&&(re=re.split(",")[0]),void 0!==re?re.toString():""}function L(P,re,ie){const B=this,ne=this.opts,de=this.maskset;if(void 0!==(re=re||ye.call(B,P).match).placeholder||!0===ie)return"function"==typeof re.placeholder?re.placeholder(ne):re.placeholder;if(!0===re.static){if(P>-1&&void 0===de.validPositions[P]){var st,Ce=ke.call(B,P),Ke=[];if(Ce.length>1+(""===Ce[Ce.length-1].match.def?1:0))for(var rt=0;rt1&&/[0-9a-bA-Z]/.test(Ke[0].match.def)))return ne.placeholder.charAt(P%ne.placeholder.length)}return re.def}return ne.placeholder.charAt(P%ne.placeholder.length)}function he(P,re,ie,B,ne){var de=this,Ce=this.opts,Ke=this.maskset,st=Ce.greedy;ne&&Ce.greedy&&(Ce.greedy=!1,de.maskset.tests={}),re=re||0;var Kt,Yt,$n,nn,rt=[],Et=0;do{if(!0===P&&Ke.validPositions[Et])Yt=($n=ne&&Ke.validPositions[Et].match.optionality&&void 0===Ke.validPositions[Et+1]&&(!0===Ke.validPositions[Et].generatedInput||Ke.validPositions[Et].input==Ce.skipOptionalPartCharacter&&Et>0)?be.call(de,Et,ke.call(de,Et,Kt,Et-1)):Ke.validPositions[Et]).match,Kt=$n.locator.slice(),rt.push(!0===ie?$n.input:!1===ie?Yt.nativeDef:L.call(de,Et,Yt));else{Yt=($n=pe.call(de,Et,Kt,Et-1)).match,Kt=$n.locator.slice();var mo=!0!==B&&(!1!==Ce.jitMasking?Ce.jitMasking:Yt.jit);(nn=(nn&&Yt.static&&Yt.def!==Ce.groupSeparator&&null===Yt.fn||Ke.validPositions[Et-1]&&Yt.static&&Yt.def!==Ce.groupSeparator&&null===Yt.fn)&&Ke.tests[Et])||!1===mo||void 0===mo||"number"==typeof mo&&isFinite(mo)&&mo>Et?rt.push(!1===ie?Yt.nativeDef:L.call(de,rt.length,Yt)):nn=!1}Et++}while(!0!==Yt.static||""!==Yt.def||re>Et);return""===rt[rt.length-1]&&rt.pop(),(!1!==ie||void 0===Ke.maskLength)&&(Ke.maskLength=Et-1),Ce.greedy=st,rt}function pe(P,re,ie){return this.maskset.validPositions[P]||be.call(this,P,ke.call(this,P,re&&re.slice(),ie))}function be(P,re){var st,rt,Kt,B=this.opts,ne=0,de=function Le(P,re){let ie=0,B=!1;return re.forEach(ne=>{ne.match.optionality&&(0!==ie&&ie!==ne.match.optionality&&(B=!0),(0===ie||ie>ne.match.optionality)&&(ie=ne.match.optionality))}),ie&&(0==P||1==re.length?ie=0:B||(ie=0)),ie}(P,re),Ke=H(ye.call(this,P=P>0?P-1:0));B.greedy&&re.length>1&&""===re[re.length-1].match.def&&(ne=1);for(var Et=0;Et0&&"master"===Kt.match.newBlockMarker&&(!Yt.match.optionality||Yt.match.optionality-de<1||!Yt.match.newBlockMarker)||Kt&&!B.greedy&&Kt.match.optionalQuantifier&&!Yt.match.optionalQuantifier)&&(rt=$n,Kt=Yt)}return Kt}function ye(P,re){var B=this.maskset;return B.validPositions[P]?B.validPositions[P]:(re||ke.call(this,P))[0]}function je(P,re,ie){function B(ne){for(var Ke,de=[],Ce=-1,st=0,rt=ne.length;stqe.alternation)for(var ht=qe.alternation;htP+Ce._maxTestPos)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+de.mask;if(rt===P&&void 0===Ii.matches){if(Et.push({match:Ii,locator:Nr.reverse(),cd:nn,mloc:{}}),!Ii.optionality||void 0!==zr||!(Ce.definitions&&Ce.definitions[Ii.nativeDef]&&Ce.definitions[Ii.nativeDef].optional||In.prototype.definitions[Ii.nativeDef]&&In.prototype.definitions[Ii.nativeDef].optional))return!0;Yt=!0,rt=P}else if(void 0!==Ii.matches){if(Ii.isGroup&&zr!==Ii)return function te(){if(Ii=Mi(di.matches[di.matches.indexOf(Ii)+1],Nr,zr))return!0}();if(Ii.isOptional)return function ge(){var mt=Ii,qe=Et.length;if(Ii=mo(Ii,Qo,Nr,zr),Et.length>0){if(Et.forEach(function(Ye,ut){ut>=qe&&(Ye.match.optionality=Ye.match.optionality?Ye.match.optionality+1:1)}),$n=Et[Et.length-1].match,void 0!==zr||!Li($n,mt))return Ii;Yt=!0,rt=P}}();if(Ii.isAlternator)return function Be(){B.hasAlternator=!0;var Ye,mt=Ii,qe=[],ut=Et.slice(),ht=Nr.length,yt=!1,Gt=Qo.length>0?Qo.shift():-1;if(-1===Gt||"string"==typeof Gt){var Ee,Jt=rt,z=Qo.slice(),Q=[];if("string"==typeof Gt)Q=Gt.split(",");else for(Ee=0;Ee=Ce.keepStatic)&&(Q=Q.slice(0,1));for(var an=0;anmt.matches[0].matches.length)break;Ye=Et.slice(),rt=Jt,Et=[];for(var Mn=0;Mn0,Ii=qe.length>0,Qo=z.slice()}else Ii=Mi(mt.matches[Gt]||di.matches[Gt],[Gt].concat(Nr),zr);if(Ii)return!0}();if(Ii.isQuantifier&&zr!==di.matches[di.matches.indexOf(Ii)-1])return function Re(){for(var mt=Ii,qe=!1,Ye=Qo.length>0?Qo.shift():0;Ye<(isNaN(mt.quantifier.max)?Ye+1:mt.quantifier.max)&&rt<=P;Ye++){var ut=di.matches[di.matches.indexOf(mt)-1];if(Ii=Mi(ut,[Ye].concat(Nr),ut)){if(Et.forEach(function(ht,yt){($n=yo(ut,ht.match)?ht.match:Et[Et.length-1].match).optionalQuantifier=Ye>=mt.quantifier.min,$n.jit=(Ye+1)*(ut.matches.indexOf($n)+1)>mt.quantifier.jit,$n.optionalQuantifier&&Li($n,ut)&&(Yt=!0,rt=P,Ce.greedy&&null==de.validPositions[P-1]&&Ye>mt.quantifier.min&&-1!=["*","+"].indexOf(mt.quantifier.max)&&(Et.pop(),nn=void 0),qe=!0,Ii=!1),!qe&&$n.jit&&(de.jitOffset[P]=ut.matches.length-ut.matches.indexOf($n))}),qe)break;return!0}}}();if(Ii=mo(Ii,Qo,Nr,zr))return!0}else rt++}for(var Cr=Qo.length>0?Qo.shift():0;CrP)break}}function yo(di,Qo){let ki=-1!=di.matches.indexOf(Qo);return ki||di.matches.forEach((li,Mi)=>{void 0!==li.matches&&!ki&&(ki=yo(li,Qo))}),ki}if(P>-1){if(void 0===re){for(var Oi,Ho=P-1;void 0===(Oi=de.validPositions[Ho]||de.tests[Ho])&&Ho>-1;)Ho--;void 0!==Oi&&Ho>-1&&(Kt=function Xo(di,Qo){let li,ki=[];return Array.isArray(Qo)||(Qo=[Qo]),Qo.length>0&&(void 0===Qo[0].alternation||!0===Ce.keepStatic?(ki=be.call(B,di,Qo.slice()).locator.slice(),0===ki.length&&(ki=Qo[0].locator.slice())):Qo.forEach(function(Mi){""!==Mi.def&&(0===ki.length?(li=Mi.alternation,ki=Mi.locator.slice()):Mi.locator[li]&&-1===ki[li].toString().indexOf(Mi.locator[li])&&(ki[li]+=","+Mi.locator[li]))})),ki}(Ho,Oi),nn=Kt.join(""),rt=Ho)}if(de.tests[P]&&de.tests[P][0].cd===nn)return de.tests[P];for(var ui=Kt.shift();uiP);ui++);}return(0===Et.length||Yt)&&Et.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:nn}),void 0!==re&&de.tests[P]?ai=ne.extend(!0,[],Et):(de.tests[P]=ne.extend(!0,[],Et),ai=de.tests[P]),Et.forEach(di=>{di.match.optionality=di.match.defOptionality||!1}),ai}const Je=!!(typeof window<"u"&&window.document&&window.document.createElement),lt=Je?window:{},Mt=lt.navigator&<.navigator.userAgent||"",Bt=Mt.indexOf("MSIE ")>0||Mt.indexOf("Trident/")>0,et=navigator.userAgentData&&navigator.userAgentData.mobile||lt.navigator&<.navigator.maxTouchPoints||"ontouchstart"in lt,sn=/iphone/i.test(Mt);function tt(P,re){const ie=P?P.inputmask:this,B=ie.opts;P.inputmask.refreshValue=!1,"function"==typeof B.onBeforeMask&&(re=B.onBeforeMask.call(ie,re,B)||re),Xe(P,!0,!1,re=(re||"").toString().split("")),ie.undoValue=ie._valueGet(!0),(B.clearMaskOnLostFocus||B.clearIncomplete)&&P.inputmask._valueGet()===Un.call(ie).join("")&&-1===Zn.call(ie)&&P.inputmask._valueSet("")}function Ct(P){const re=this;P.length=0;for(var B,ie=he.call(re,!0,0,!0,void 0,!0);void 0!==(B=ie.shift());)P.push(B);return P}function Xe(P,re,ie,B,ne){const de=P?P.inputmask:this,Ce=de.maskset,Ke=de.opts,st=de.dependencyLib;var rt=B.slice(),Kt="",Et=-1,Yt=void 0,$n=Ke.skipOptionalPartCharacter;Ke.skipOptionalPartCharacter="",_n.call(de),Ce.tests={},Et=Ke.radixPoint?Fn.call(de,{begin:0,end:0},!1,!1===Ke.__financeInput?"radixFocus":void 0).begin:0,Ce.p=Et,de.caretPos={begin:Et};var mo=[],yo=de.caretPos;if(rt.forEach(function(ai,di){if(void 0!==ai){var Qo=new st.Event("_checkval");Qo.key=ai,Kt+=ai;var ki=Zn.call(de,void 0,!0);!function nn(ai,di){for(var Qo=he.call(de,!0,0).slice(ai,Cn.call(de,ai,!1,!1)).join("").replace(/'/g,""),ki=Qo.indexOf(di);ki>0&&" "===Qo[ki-1];)ki--;var li=0===ki&&!Bn.call(de,ai)&&(ye.call(de,ai).match.nativeDef===di.charAt(0)||!0===ye.call(de,ai).match.static&&ye.call(de,ai).match.nativeDef==="'"+di.charAt(0)||" "===ye.call(de,ai).match.nativeDef&&(ye.call(de,ai+1).match.nativeDef===di.charAt(0)||!0===ye.call(de,ai+1).match.static&&ye.call(de,ai+1).match.nativeDef==="'"+di.charAt(0)));if(!li&&ki>0&&!Bn.call(de,ai,!1,!0)){var Mi=Cn.call(de,ai);de.caretPos.begin0){var Xo,Ho,Oi=Cn.call(de,-1,void 0,!1);if(!tn.call(de,pn.call(de))&&mo.length<=Oi||tn.call(de,pn.call(de))&&mo.length>0&&mo.length!==Oi&&0===mo[0])for(var ui=Oi;void 0!==(Xo=mo.shift());){var Ko=new st.Event("_checkval");if((Ho=Ce.validPositions[Xo]).generatedInput=!0,Ko.key=Ho.input,(Yt=wt.keypressEvent.call(de,Ko,!0,!1,ie,ui))&&void 0!==Yt.pos&&Yt.pos!==Xo&&Ce.validPositions[Yt.pos]&&!0===Ce.validPositions[Yt.pos].match.static)mo.push(Yt.pos);else if(!Yt)break;ui++}}re&&Pt.call(de,P,pn.call(de),Yt?Yt.forwardPosition:de.caretPos.begin,ne||new st.Event("checkval"),ne&&("input"===ne.type&&de.undoValue!==pn.call(de).join("")||"paste"===ne.type)),Ke.skipOptionalPartCharacter=$n}function e(P,re){const ie=P?P.inputmask:this;if(Bt){if(P.inputmask._valueGet()!==re&&(P.placeholder!==re||""===P.placeholder)){var B=pn.call(ie).slice(),ne=P.inputmask._valueGet();if(ne!==re){var de=Zn.call(ie);-1===de&&ne===Un.call(ie).join("")?B=[]:-1!==de&&Ct.call(ie,B),Pt(P,B)}}}else P.placeholder!==re&&(P.placeholder=re,""===P.placeholder&&P.removeAttribute("placeholder"))}function On(P){const re=P?P.inputmask:this,ie=re.opts,B=re.maskset;if(P){if(void 0===P.inputmask)return P.value;P.inputmask&&P.inputmask.refreshValue&&tt(P,P.inputmask._valueGet(!0))}var ne=[],de=B.validPositions;for(let st=0,rt=de.length;st=0&&Yt.end>0&&(P.preventDefault(),Vt.call(de,rt,Yt.begin,Yt.end))):(Yt.begin=Cn.call(de,Yt.begin,!0),Yt.end=Cn.call(de,Yt.begin,!0),Yt.end=yo.length?nn.length:yo.length,Oi=mo.length>=Xo.length?mo.length:Xo.length,ai="",di=[],Qo="~";nn.lengthde.end&&(Qo=de.end,ki=de.begin)),-1===Ko&&void 0===ne)$n=(Xo=ye.call(Ce,Yt=0)).alternation;else for(;Ko>=0;Ko--)if((yo=rt.validPositions[Ko])&&void 0!==yo.alternation){if(Ko<=(P||0)&&Xo&&Xo.locator[yo.alternation]!==yo.locator[yo.alternation])break;$n=rt.validPositions[Yt=Ko].alternation,Xo=yo}if(void 0!==$n){ui=parseInt(Yt),rt.excludes[ui]=rt.excludes[ui]||[],!0!==P&&rt.excludes[ui].push(K(Xo)+":"+Xo.alternation);var li=[],Mi=-1;for(Ho=ui;Ho=ki)&&li.push(Oi.input),delete rt.validPositions[Ho];for(-1===Mi&&void 0!==re&&(li.push(re),Mi=li.length-1);void 0!==rt.excludes[ui]&&rt.excludes[ui].length<10;){for(rt.tests={},_n.call(Ce,!0),nn=!0,Ho=0;Ho=pn.call(de).length&&rt>=ie.end&&(ie.end=rt+1),re===M.Backspace?ie.end-ie.begin<1&&(ie.begin=Qt.call(de,ie.begin)):re===M.Delete&&ie.begin===ie.end&&(ie.end=Bn.call(de,ie.end,!0,!0)?ie.end+1:Cn.call(de,ie.end)+1),!1!==(Kt=Nt.call(de,ie))){if(!0!==B&&!1!==Ke.keepStatic||null!==Ke.regex&&-1!==ye.call(de,ie.begin).match.def.indexOf("|")){var Et=At.call(de,!0);Et&&(void 0!==Et.caret||(Et.pos?Cn.call(de,Et.pos.begin?Et.pos.begin:Et.pos):Zn.call(de,-1,!0)))}!0!==B&&(Ce.p=re===M.Delete?ie.begin+Kt:ie.begin,Ce.p=Fn.call(de,{begin:Ce.p,end:Ce.p},!1,!1===Ke.insertMode&&re===M.Backspace?"none":void 0).begin)}}function tn(P){const re=this,ie=this.opts,B=this.maskset;if("function"==typeof ie.isComplete)return ie.isComplete(P,ie);if("*"!==ie.repeat){var ne=!1,de=cn.call(re,!0),Ce=Qt.call(re,de.l);if(void 0===de.def||de.def.newBlockMarker||de.def.optionality||de.def.optionalQuantifier){ne=!0;for(var Ke=0;Ke<=Ce;Ke++){var st=pe.call(re,Ke).match;if(!0!==st.static&&void 0===B.validPositions[Ke]&&!0!==st.optionality&&!0!==st.optionalQuantifier||!0===st.static&&P[Ke]!==L.call(re,Ke,st)){ne=!1;break}}}return ne}}function fn(P){const B=this.opts.insertMode?0:1;return this.isRTL?P.begin-P.end>B:P.end-P.begin>B}function En(P,re,ie,B,ne,de,Ce){const Ke=this,st=this.dependencyLib,rt=this.opts,Kt=Ke.maskset;ie=!0===ie;var Et=P;function Yt(Qo){if(void 0!==Qo){if(void 0!==Qo.remove&&(Array.isArray(Qo.remove)||(Qo.remove=[Qo.remove]),Qo.remove.sort(function(li,Mi){return Ke.isRTL?li.pos-Mi.pos:Mi.pos-li.pos}).forEach(function(li){Nt.call(Ke,{begin:li,end:li+1})}),Qo.remove=void 0),void 0!==Qo.insert&&(Array.isArray(Qo.insert)||(Qo.insert=[Qo.insert]),Qo.insert.sort(function(li,Mi){return Ke.isRTL?Mi.pos-li.pos:li.pos-Mi.pos}).forEach(function(li){""!==li.c&&En.call(Ke,li.pos,li.c,void 0===li.strict||li.strict,void 0!==li.fromIsValid?li.fromIsValid:B)}),Qo.insert=void 0),Qo.refreshFromBuffer&&Qo.buffer){var ki=Qo.refreshFromBuffer;So.call(Ke,!0===ki?ki:ki.start,ki.end,Qo.buffer),Qo.refreshFromBuffer=void 0}void 0!==Qo.rewritePosition&&(Et=Qo.rewritePosition,Qo=!0)}return Qo}function $n(Qo,ki,li){var Mi=!1;return ke.call(Ke,Qo).every(function(Cr,Jr){var Ii=Cr.match;if(pn.call(Ke,!0),!1!==(Mi=(!Ii.jit||void 0!==Kt.validPositions[Qt.call(Ke,Qo)])&&(null!=Ii.fn?Ii.fn.test(ki,Kt,Qo,li,rt,fn.call(Ke,P)):(ki===Ii.def||ki===rt.skipOptionalPartCharacter)&&""!==Ii.def&&{c:L.call(Ke,Qo,Ii,!0)||Ii.def,pos:Qo}))){var Nr=void 0!==Mi.c?Mi.c:ki,zr=Qo;return Nr=Nr===rt.skipOptionalPartCharacter&&!0===Ii.static?L.call(Ke,Qo,Ii,!0)||Ii.def:Nr,!0!==(Mi=Yt(Mi))&&void 0!==Mi.pos&&Mi.pos!==Qo&&(zr=Mi.pos),!0!==Mi&&void 0===Mi.pos&&void 0===Mi.c||!1===Nt.call(Ke,P,st.extend({},Cr,{input:we.call(Ke,Nr,Ii,zr)}),B,zr)&&(Mi=!1),!1}return!0}),Mi}void 0!==P.begin&&(Et=Ke.isRTL?P.end:P.begin);var nn=!0,mo=st.extend(!0,{},Kt.validPositions);if(!1===rt.keepStatic&&void 0!==Kt.excludes[Et]&&!0!==ne&&!0!==B)for(var yo=Et;yo<(Ke.isRTL?P.begin:P.end);yo++)void 0!==Kt.excludes[yo]&&(Kt.excludes[yo]=void 0,delete Kt.tests[yo]);if("function"==typeof rt.preValidation&&!0!==B&&!0!==de&&(nn=Yt(nn=rt.preValidation.call(Ke,pn.call(Ke),Et,re,fn.call(Ke,P),rt,Kt,P,ie||ne))),!0===nn){if(nn=$n(Et,re,ie),(!ie||!0===B)&&!1===nn&&!0!==de){var Xo=Kt.validPositions[Et];if(!Xo||!0!==Xo.match.static||Xo.match.def!==re&&re!==rt.skipOptionalPartCharacter){if(rt.insertMode||void 0===Kt.validPositions[Cn.call(Ke,Et)]||P.end>Et){var Ho=!1;if(Kt.jitOffset[Et]&&void 0===Kt.validPositions[Cn.call(Ke,Et)]&&!1!==(nn=En.call(Ke,Et+Kt.jitOffset[Et],re,!0,!0))&&(!0!==ne&&(nn.caret=Et),Ho=!0),P.end>Et&&(Kt.validPositions[Et]=void 0),!Ho&&!Bn.call(Ke,Et,rt.keepStatic&&0===Et))for(var Oi=Et+1,ui=Cn.call(Ke,Et,!1,0!==Et);Oi<=ui;Oi++)if(!1!==(nn=$n(Oi,re,ie))){nn=pt.call(Ke,Et,void 0!==nn.pos?nn.pos:Oi)||nn,Et=Oi;break}}}else nn={caret:Cn.call(Ke,Et)}}Ke.hasAlternator&&!0!==ne&&!ie&&(!1===nn&&rt.keepStatic&&(tn.call(Ke,pn.call(Ke))||0===Et)?nn=At.call(Ke,Et,re,ie,B,void 0,P):(fn.call(Ke,P)&&Kt.tests[Et]&&Kt.tests[Et].length>1&&rt.keepStatic||1==nn&&!0!==rt.numericInput&&Kt.tests[Et]&&Kt.tests[Et].length>1&&Zn.call(Ke,void 0,!0)>Et)&&(nn=At.call(Ke,!0))),!0===nn&&(nn={pos:Et})}if("function"==typeof rt.postValidation&&!0!==B&&!0!==de){var Ko=rt.postValidation.call(Ke,pn.call(Ke,!0),void 0!==P.begin?Ke.isRTL?P.end:P.begin:P,re,nn,rt,Kt,ie,Ce);void 0!==Ko&&(nn=!0===Ko?nn:Ko)}nn&&void 0===nn.pos&&(nn.pos=Et),!1===nn||!0===de?(_n.call(Ke,!0),Kt.validPositions=st.extend(!0,[],mo)):pt.call(Ke,void 0,Et,!0);var ai=Yt(nn);return void 0!==Ke.maxLength&&pn.call(Ke).length>Ke.maxLength&&!B&&(_n.call(Ke,!0),Kt.validPositions=st.extend(!0,[],mo),ai=!1),ai}function jn(P,re,ie){const B=this,ne=this.maskset;for(var de=!1,Ce=ke.call(B,P),Ke=0;Ke0&&!ne.validPositions[P];P--);for(var Ce=P;CeP.end&&(Kt=P.end,Et=P.begin),B=void 0!==B?B:Kt,void 0===ie&&(Kt!==Et||Ce.insertMode&&void 0!==de.validPositions[B]||void 0===re||re.match.optionalQuantifier||re.match.optionality)){var mo,$n=Ke.extend(!0,{},de.validPositions),nn=Zn.call(ne,void 0,!0);for(de.p=Kt,mo=nn;mo>=Kt;mo--)delete de.validPositions[mo],void 0===re&&delete de.tests[mo+1];var Ho,Oi,yo=B,Xo=yo;for(re&&(de.validPositions[B]=Ke.extend(!0,{},re),Xo++,yo++),mo=re?Et:Et-1;mo<=nn;mo++){if(void 0!==(Ho=$n[mo])&&!0!==Ho.generatedInput&&(mo>=Et||mo>=Kt&&(Qo={begin:Kt,end:Et},void 0,void 0!==(ki=(di=$n)[ai=mo])&&!0===ki.match.static&&!0!==ki.match.optionality&&(void 0===di[0]||void 0===di[0].alternation)&&(Qo.begin<=ai-1?di[ai-1]&&!0===di[ai-1].match.static&&di[ai-1]:di[ai-1])&&(Qo.end>ai+1?di[ai+1]&&!0===di[ai+1].match.static&&di[ai+1]:di[ai+1])))){for(;""!==ye.call(ne,Xo).match.def;){if(!1!==(Oi=jn.call(ne,Xo,Ho,Ce))||"+"===Ho.match.def){"+"===Ho.match.def&&pn.call(ne,!0);var Ko=En.call(ne,Xo,Ho.input,"+"!==Ho.match.def,!0);if(yo=(Ko.pos||Xo)+1,!(Yt=!1!==Ko)&&Oi)break}else Yt=!1;if(Yt){void 0===re&&Ho.match.static&&mo===P.begin&&rt++;break}if(!Yt&&pn.call(ne),Xo>de.maskLength)break;Xo++}""==ye.call(ne,Xo).match.def&&(Yt=!1),Xo=yo}if(!Yt)break}if(!Yt)return de.validPositions=Ke.extend(!0,[],$n),_n.call(ne,!0),!1}else re&&ye.call(ne,B).match.cd===re.match.cd&&(de.validPositions[B]=Ke.extend(!0,{},re));return _n.call(ne,!0),rt}function Vt(P,re,ie,B,ne){const de=this,Ce=this.opts;var Ke;if(void 0===re)return"selectionStart"in P&&"selectionEnd"in P?(re=P.selectionStart,ie=P.selectionEnd):window.getSelection?((Ke=window.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode===P||Ke.commonAncestorContainer===P)&&(re=Ke.startOffset,ie=Ke.endOffset):document.selection&&document.selection.createRange&&(ie=(re=0-(Ke=document.selection.createRange()).duplicate().moveStart("character",-P.inputmask._valueGet().length))+Ke.text.length),{begin:B?re:Nn.call(de,re),end:B?ie:Nn.call(de,ie)};if(Array.isArray(re)&&(ie=de.isRTL?re[0]:re[1],re=de.isRTL?re[1]:re[0]),void 0!==re.begin&&(ie=de.isRTL?re.begin:re.end,re=de.isRTL?re.end:re.begin),"number"==typeof re){re=B?re:Nn.call(de,re),ie="number"==typeof(ie=B?ie:Nn.call(de,ie))?ie:re;var st=parseInt(((P.ownerDocument.defaultView||window).getComputedStyle?(P.ownerDocument.defaultView||window).getComputedStyle(P,null):P.currentStyle).fontSize)*ie;if(P.scrollLeft=st>P.scrollWidth?st:0,P.inputmask.caretPos={begin:re,end:ie},Ce.insertModeVisual&&!1===Ce.insertMode&&re===ie&&(ne||ie++),P===(P.inputmask.shadowRoot||P.ownerDocument).activeElement)if("setSelectionRange"in P)P.setSelectionRange(re,ie);else if(window.getSelection){if(Ke=document.createRange(),null==P.firstChild){var rt=document.createTextNode("");P.appendChild(rt)}Ke.setStart(P.firstChild,reKe&&((Et=st[Ce]).match.optionality||Et.match.optionalQuantifier&&Et.match.newBlockMarker||Yt&&(Yt!==st[Ce].locator[rt.alternation]&&1!=Et.match.static||!0===Et.match.static&&Et.locator[rt.alternation]&&Ot.call(re,Et.locator[rt.alternation].toString().split(","),Yt.toString().split(","))&&""!==ke.call(re,Ce)[0].def))&&ne[Ce]===L.call(re,Ce,Et.match);Ce--)de--;return P?{l:de,def:st[de]?st[de].match:void 0}:de}function Fn(P,re,ie){const B=this,{maskset:ne,opts:de}=B;if(re&&(B.isRTL?P.end=P.begin:P.begin=P.end),P.begin===P.end){switch(ie=ie||de.positionCaretOnClick){case"none":break;case"select":P={begin:0,end:pn.call(B).length};break;case"ignore":P.end=P.begin=Cn.call(B,Zn.call(B));break;case"radixFocus":if(B.clicked>1&&0==ne.validPositions.length)break;if(function Ce(mo){if(""!==de.radixPoint&&0!==de.digits){var yo=ne.validPositions;if(void 0===yo[mo]||yo[mo].input===L.call(B,mo)){if(mo=nn||st===Kt)&&(Kt=nn)}P.end=P.begin=Kt}}return P}}function pn(P){const{maskset:ie}=this;return(void 0===ie.buffer||!0===P)&&(ie.buffer=he.call(this,!0,Zn.call(this),!0),void 0===ie._buffer&&(ie._buffer=ie.buffer.slice())),ie.buffer}function Un(){const re=this.maskset;return void 0===re._buffer&&(re._buffer=he.call(this,!1,1),void 0===re.buffer&&(re.buffer=re._buffer.slice())),re._buffer}function Zn(P,re,ie){var ne=-1,de=-1,Ce=ie||this.maskset.validPositions;void 0===P&&(P=-1);for(var Ke=0,st=Ce.length;Ke=P&&(de=Ke));return-1===ne||ne==P?de:-1==de||P-ne-1){if(ie){var Ce=ke.call(B,P);return Ce.length>1+(""===Ce[Ce.length-1].match.def?1:0)}var Ke=be.call(B,P,ke.call(B,P)),st=L.call(B,P,Ke.match);return Ke.match.def!==st}return!1}function _n(P){const re=this.maskset;re.buffer=void 0,!0!==P&&(re.validPositions=[],re.p=0)}function Cn(P,re,ie){const B=this;void 0===ie&&(ie=!0);for(var ne=P+1;""!==ye.call(B,ne).match.def&&(!0===re&&(!0!==ye.call(B,ne).match.newBlockMarker||!Bn.call(B,ne,void 0,!0))||!0!==re&&!Bn.call(B,ne,void 0,ie));)ne++;return ne}function Qt(P,re){const ie=this;var B=P-1;if(P<=0)return 0;for(;B>0&&(!0===re&&(!0!==ye.call(ie,B).match.newBlockMarker||!Bn.call(ie,B,void 0,!0))||!0!==re&&!Bn.call(ie,B,void 0,!0));)B--;return B}function Nn(P){const ie=this.opts;return this.isRTL&&"number"==typeof P&&(!ie.greedy||""!==ie.placeholder)&&this.el&&(P=this._valueGet().length-P)<0&&(P=0),P}var Qn_on=function(P,re,ie){const B=P.inputmask.dependencyLib;var ne=function(de){de.originalEvent&&(arguments[0]=de=de.originalEvent||de);var Ke,Ce=this,st=Ce.inputmask,rt=st?st.opts:void 0;if(void 0===st&&"FORM"!==this.nodeName){var Kt=B.data(Ce,"_inputmask_opts");B(Ce).off(),Kt&&new In(Kt).mask(Ce)}else{if(["submit","reset","setvalue"].includes(de.type)||"FORM"===this.nodeName||!(Ce.disabled||Ce.readOnly&&!("keydown"===de.type&&de.ctrlKey&&de.key===M.c||!1===rt.tabThrough&&de.key===M.Tab))){switch(de.type){case"input":if(!0===st.skipInputEvent)return st.skipInputEvent=!1,de.preventDefault();break;case"click":case"focus":return st.validationEvent?(st.validationEvent=!1,P.blur(),e(P,(st.isRTL?Un.call(st).slice().reverse():Un.call(st)).join("")),setTimeout(function(){P.focus()},rt.validationEventTimeOut),!1):(Ke=arguments,void setTimeout(function(){P.inputmask&&ie.apply(Ce,Ke)},0))}var Et=ie.apply(Ce,arguments);return!1===Et&&(de.preventDefault(),de.stopPropagation()),Et}de.preventDefault()}};["submit","reset"].includes(re)?(ne=ne.bind(P),null!==P.form&&B(P.form).on(re,ne)):B(P).on(re,ne),P.inputmask.events[re]=P.inputmask.events[re]||[],P.inputmask.events[re].push(ne)},Qn_off=function(P,re){if(P.inputmask&&P.inputmask.events){const ie=P.inputmask.dependencyLib;let B=P.inputmask.events;re&&(B=[],B[re]=P.inputmask.events[re]);for(let ne in B){let de=B[ne];for(;de.length>0;){let Ce=de.pop();["submit","reset"].includes(ne)?null!==P.form&&ie(P.form).off(ne,Ce):ie(P).off(ne,Ce)}delete P.inputmask.events[ne]}}};function Zt(){const P=this,re=this.opts,ie=this.el,B=this.dependencyLib;Qn_off(ie);var de=function ne(st,rt){"textarea"!==st.tagName.toLowerCase()&&rt.ignorables.push(M.Enter);var Et=st.getAttribute("type"),Yt="input"===st.tagName.toLowerCase()&&rt.supportsInputType.includes(Et)||st.isContentEditable||"textarea"===st.tagName.toLowerCase();if(!Yt)if("input"===st.tagName.toLowerCase()){var $n=document.createElement("input");$n.setAttribute("type",Et),Yt="text"===$n.type,$n=null}else Yt="partial";return!1!==Yt?function Kt(nn){var mo,yo;function Ho(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==Zn.call(P)||!0!==rt.nullable?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&rt.clearMaskOnLostFocus?(P.isRTL?Ct.call(P,pn.call(P).slice()).reverse():Ct.call(P,pn.call(P).slice())).join(""):mo.call(this):"":mo.call(this)}function Oi(ai){yo.call(this,ai),this.inputmask&&tt(this,ai)}if(!nn.inputmask.__valueGet){if(!0!==rt.noValuePatching){if(Object.getOwnPropertyDescriptor){var Ko=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(nn),"value"):void 0;Ko&&Ko.get&&Ko.set?(mo=Ko.get,yo=Ko.set,Object.defineProperty(nn,"value",{get:Ho,set:Oi,configurable:!0})):"input"!==nn.tagName.toLowerCase()&&(mo=function(){return this.textContent},yo=function(ai){this.textContent=ai},Object.defineProperty(nn,"value",{get:Ho,set:Oi,configurable:!0}))}else document.__lookupGetter__&&nn.__lookupGetter__("value")&&(mo=nn.__lookupGetter__("value"),yo=nn.__lookupSetter__("value"),nn.__defineGetter__("value",Ho),nn.__defineSetter__("value",Oi));nn.inputmask.__valueGet=mo,nn.inputmask.__valueSet=yo}nn.inputmask._valueGet=function(ai){return P.isRTL&&!0!==ai?mo.call(this.el).split("").reverse().join(""):mo.call(this.el)},nn.inputmask._valueSet=function(ai,di){yo.call(this.el,null==ai?"":!0!==di&&P.isRTL?ai.split("").reverse().join(""):ai)},void 0===mo&&(mo=function(){return this.value},yo=function(ai){this.value=ai},function Xo(ai){if(B.valHooks&&(void 0===B.valHooks[ai]||!0!==B.valHooks[ai].inputmaskpatch)){var di=B.valHooks[ai]&&B.valHooks[ai].get?B.valHooks[ai].get:function(ki){return ki.value},Qo=B.valHooks[ai]&&B.valHooks[ai].set?B.valHooks[ai].set:function(ki,li){return ki.value=li,ki};B.valHooks[ai]={get:function(ki){if(ki.inputmask){if(ki.inputmask.opts.autoUnmask)return ki.inputmask.unmaskedvalue();var li=di(ki);return-1!==Zn.call(P,void 0,void 0,ki.inputmask.maskset.validPositions)||!0!==rt.nullable?li:""}return di(ki)},set:function(ki,li){var Mi=Qo(ki,li);return ki.inputmask&&tt(ki,li),Mi},inputmaskpatch:!0}}}(nn.type),function ui(ai){Qn_on(ai,"mouseenter",function(){let di=this,Qo=di.inputmask._valueGet(!0);Qo!=(di.inputmask.isRTL?pn.call(di.inputmask).slice().reverse():pn.call(di.inputmask)).join("")&&tt(di,Qo)})}(nn))}}(st):st.inputmask=void 0,Yt}(ie,re);if(!1!==de){P.originalPlaceholder=ie.placeholder,P.maxLength=void 0!==ie?ie.maxLength:void 0,-1===P.maxLength&&(P.maxLength=void 0),"inputMode"in ie&&null===ie.getAttribute("inputmode")&&(ie.inputMode=re.inputmode,ie.setAttribute("inputmode",re.inputmode)),!0===de&&(re.showMaskOnFocus=re.showMaskOnFocus&&-1===["cc-number","cc-exp"].indexOf(ie.autocomplete),sn&&(re.insertModeVisual=!1,ie.setAttribute("autocorrect","off")),Qn_on(ie,"submit",wt.submitEvent),Qn_on(ie,"reset",wt.resetEvent),Qn_on(ie,"blur",wt.blurEvent),Qn_on(ie,"focus",wt.focusEvent),Qn_on(ie,"invalid",wt.invalidEvent),Qn_on(ie,"click",wt.clickEvent),Qn_on(ie,"mouseleave",wt.mouseleaveEvent),Qn_on(ie,"mouseenter",wt.mouseenterEvent),Qn_on(ie,"paste",wt.pasteEvent),Qn_on(ie,"cut",wt.cutEvent),Qn_on(ie,"complete",re.oncomplete),Qn_on(ie,"incomplete",re.onincomplete),Qn_on(ie,"cleared",re.oncleared),!0!==re.inputEventOnly&&Qn_on(ie,"keydown",wt.keyEvent),(et||re.inputEventOnly)&&ie.removeAttribute("maxLength"),Qn_on(ie,"input",wt.inputFallBackEvent)),Qn_on(ie,"setvalue",wt.setValueEvent),Un.call(P).join(""),P.undoValue=P._valueGet(!0);var Ce=(ie.inputmask.shadowRoot||ie.ownerDocument).activeElement;if(""!==ie.inputmask._valueGet(!0)||!1===re.clearMaskOnLostFocus||Ce===ie){tt(ie,ie.inputmask._valueGet(!0));var Ke=pn.call(P).slice();!1===tn.call(P,Ke)&&re.clearIncomplete&&_n.call(P),re.clearMaskOnLostFocus&&Ce!==ie&&(-1===Zn.call(P)?Ke=[]:Ct.call(P,Ke)),(!1===re.clearMaskOnLostFocus||re.showMaskOnFocus&&Ce===ie||""!==ie.inputmask._valueGet(!0))&&Pt(ie,Ke),Ce===ie&&Vt.call(P,ie,Cn.call(P,Zn.call(P)))}}}function vn(){let P,re,ie,B,ne,de,Ce=arguments[0]||{},Ke=1,st=arguments.length,rt=!1;for("boolean"==typeof Ce&&(rt=Ce,Ce=arguments[Ke]||{},Ke++),"object"!=typeof Ce&&"function"!=typeof Ce&&(Ce={});Ke{const[Ce,Ke="global"]=de.split(".");!function ie(de,Ce){ne.addEventListener?ne.addEventListener(de,re,!1):ne.attachEvent&&ne.attachEvent(`on${de}`,re),B[de]=B[de]||{},B[de][Ce]=B[de][Ce]||[],B[de][Ce].push(re)}(Ce,Ke)})}return this},off:function _o(P,re){var ie,B;return Tn(this[0])&&P&&(ie=this[0].eventRegistry,B=this[0],P.split(" ").forEach(Ce=>{const[Ke,st]=Ce.split(".");(function de(Ce,Ke){var rt,Kt,st=[];if(Ce.length>0)if(void 0===re)for(rt=0,Kt=ie[Ce][Ke].length;rt0?Ke:"global",handler:ie[Ce][Ke][rt]});else st.push({ev:Ce,namespace:Ke&&Ke.length>0?Ke:"global",handler:re});else if(Ke.length>0)for(var Et in ie)for(var Yt in ie[Et])if(Yt===Ke)if(void 0===re)for(rt=0,Kt=ie[Et][Yt].length;rt{!function ne(Ce,Ke,st){if(Ce in ie)if(B.removeEventListener?B.removeEventListener(Ce,st,!1):B.detachEvent&&B.detachEvent(`on${Ce}`,st),"global"===Ke)for(var rt in ie[Ce])ie[Ce][rt].splice(ie[Ce][rt].indexOf(st),1);else ie[Ce][Ke].splice(ie[Ce][Ke].indexOf(st),1)}(rt,Et,Kt)})})),this},trigger:function gi(P){if(Tn(this[0]))for(var re=this[0].eventRegistry,ie=this[0],B="string"==typeof P?P.split(" "):[P.type],ne=0;ne$n.apply(ie,arguments))}}return this}},zo.extend=vn,zo.data=function hn(P,re,ie){if(void 0===ie)return P.__data?P.__data[re]:null;P.__data=P.__data||{},P.__data[re]=ie},zo.Event=uo;const ri=zo;function Yi(P,re,ie,B){this.matches=[],this.openGroup=P||!1,this.alternatorGroup=!1,this.isGroup=P||!1,this.isOptional=re||!1,this.isQuantifier=ie||!1,this.isAlternator=B||!1,this.quantifier={min:1,max:1}}const xr=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim");function zi(P){return P.replace(xr,"\\$1")}function Ji(P,re){var ie;function ne(Ce,Ke,st){var Kt,Et,rt=!1;return(null===Ce||""===Ce)&&((rt=null!==st.regex)?Ce=(Ce=st.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(rt=!0,Ce=".*")),1===Ce.length&&!1===st.greedy&&0!==st.repeat&&(st.placeholder=""),Ce=function B(Ce,{repeat:Ke,groupmarker:st,quantifiermarker:rt,keepStatic:Kt}){if((Ke>0||"*"===Ke||"+"===Ke)&&(Ce=st[0]+Ce+st[1]+rt[0]+("*"===Ke?0:"+"===Ke?1:Ke)+","+Ke+rt[1]),!0===Kt){let $n=Ce.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));$n&&$n.forEach((nn,mo)=>{let[yo,Xo]=nn.split("[");Xo=Xo.replace("]",""),Ce=Ce.replace(new RegExp(`${zi(yo)}\\[${zi(Xo)}\\]`),yo.charAt(0)===Xo.charAt(0)?`(${yo}|${yo}${Xo})`:`${yo}[${Xo}]`)})}return Ce}(Ce,st),Et=rt?"regex_"+st.regex:st.numericInput?Ce.split("").reverse().join(""):Ce,null!==st.keepStatic&&(Et="ks_"+st.keepStatic+Et),void 0===In.prototype.masksCache[Et]||!0===re?(Kt={mask:Ce,maskToken:In.prototype.analyseMask(Ce,rt,st),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:Ke,maskLength:void 0,jitOffset:{}},!0!==re&&(In.prototype.masksCache[Et]=Kt,Kt=ri.extend(!0,{},In.prototype.masksCache[Et]))):Kt=ri.extend(!0,{},In.prototype.masksCache[Et]),Kt}if("function"==typeof P.mask&&(P.mask=P.mask(P)),Array.isArray(P.mask)){if(P.mask.length>1){null===P.keepStatic&&(P.keepStatic=!0);var de=P.groupmarker[0];return(P.isRTL?P.mask.reverse():P.mask).forEach(function(Ce){de.length>1&&(de+=P.alternatormarker),de+=void 0!==Ce.mask&&"function"!=typeof Ce.mask?Ce.mask:Ce}),ne(de+=P.groupmarker[1],P.mask,P)}P.mask=P.mask.pop()}return ie=ne(P.mask&&void 0!==P.mask.mask&&"function"!=typeof P.mask.mask?P.mask.mask:P.mask,P.mask,P),null===P.keepStatic&&(P.keepStatic=!1),ie}const Vn=lt.document,mn="_inputmask_opts";function ze(P,re,ie){if(Je){if(!(this instanceof ze))return new ze(P,re,ie);this.dependencyLib=ri,this.el=void 0,this.events={},this.maskset=void 0,!0!==ie&&("[object Object]"===Object.prototype.toString.call(P)?re=P:(re=re||{},P&&(re.alias=P)),this.opts=ri.extend(!0,{},this.defaults,re),this.noMasksCache=re&&void 0!==re.definitions,this.userOptions=re||{},at(this.opts.alias,re,this.opts)),this.refreshValue=!1,this.undoValue=void 0,this.$el=void 0,this.skipInputEvent=!1,this.validationEvent=!1,this.ignorable=!1,this.mouseEnter=!1,this.clicked=0,this.originalPlaceholder=void 0,this.isComposing=!1,this.hasAlternator=!1}}function at(P,re,ie){var B=ze.prototype.aliases[P];return B?(B.alias&&at(B.alias,void 0,ie),ri.extend(!0,ie,B),ri.extend(!0,ie,re),!0):(null===ie.mask&&(ie.mask=P),!1)}ze.prototype={dataAttribute:"data-inputmask",defaults:{_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:()=>{},onincomplete:()=>{},oncleared:()=>{},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:()=>{},onBeforeMask:null,onBeforePaste:function(P,re){return"function"==typeof re.onBeforeMask?re.onBeforeMask.call(this,P,re):P},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:()=>{},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[M.Backspace,M.Tab,M.Pause,M.Escape,M.PageUp,M.PageDown,M.End,M.Home,M.ArrowLeft,M.ArrowUp,M.ArrowRight,M.ArrowDown,M.Insert,M.Delete,M.ContextMenu,M.F1,M.F2,M.F3,M.F4,M.F5,M.F6,M.F7,M.F8,M.F9,M.F10,M.F11,M.F12,M.Process,M.Unidentified,M.Shift,M.Control,M.Alt,M.Tab,M.AltGraph,M.CapsLock],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3,substitutes:{}},definitions:{9:{validator:"[0-9\uff10-\uff19]",definitionSymbol:"*"},a:{validator:"[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",definitionSymbol:"*"},"*":{validator:"[0-9\uff10-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]"}},aliases:{},masksCache:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(P){var re=this;return"string"==typeof P&&(P=Vn.getElementById(P)||Vn.querySelectorAll(P)),(P=P.nodeName?[P]:Array.isArray(P)?P:[].slice.call(P)).forEach(function(ie,B){var ne=ri.extend(!0,{},re.opts);if(function Ft(P,re,ie,B){function ne(Kt,Et){null!==(Et=void 0!==Et?Et:P.getAttribute(""===B?Kt:B+"-"+Kt))&&("string"==typeof Et&&(0===Kt.indexOf("on")?Et=lt[Et]:"false"===Et?Et=!1:"true"===Et&&(Et=!0)),ie[Kt]=Et)}if(!0===re.importDataAttributes){var Ce,Ke,st,rt,de=P.getAttribute(B);if(de&&""!==de&&(de=de.replace(/'/g,'"'),Ke=JSON.parse("{"+de+"}")),Ke)for(rt in st=void 0,Ke)if("alias"===rt.toLowerCase()){st=Ke[rt];break}for(Ce in ne("alias",st),ie.alias&&at(ie.alias,ie,re),re){if(Ke)for(rt in st=void 0,Ke)if(rt.toLowerCase()===Ce.toLowerCase()){st=Ke[rt];break}ne(Ce,st)}}return ri.extend(!0,re,ie),("rtl"===P.dir||re.rightAlign)&&(P.style.textAlign="right"),("rtl"===P.dir||re.numericInput)&&(P.dir="ltr",P.removeAttribute("dir"),re.isRTL=!0),Object.keys(ie).length}(ie,ne,ri.extend(!0,{},re.userOptions),re.dataAttribute)){var de=Ji(ne,re.noMasksCache);void 0!==de&&(void 0!==ie.inputmask&&(ie.inputmask.opts.autoUnmask=!0,ie.inputmask.remove()),ie.inputmask=new ze(void 0,void 0,!0),ie.inputmask.opts=ne,ie.inputmask.noMasksCache=re.noMasksCache,ie.inputmask.userOptions=ri.extend(!0,{},re.userOptions),ie.inputmask.el=ie,ie.inputmask.$el=ri(ie),ie.inputmask.maskset=de,ri.data(ie,mn,re.userOptions),Zt.call(ie.inputmask))}}),P&&P[0]&&P[0].inputmask||this},option:function(P,re){return"string"==typeof P?this.opts[P]:"object"==typeof P?(ri.extend(this.userOptions,P),this.el&&!0!==re&&this.mask(this.el),this):void 0},unmaskedvalue:function(P){if(this.maskset=this.maskset||Ji(this.opts,this.noMasksCache),void 0===this.el||void 0!==P){var re=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,P,this.opts)||P).split("");Xe.call(this,void 0,!1,!1,re),"function"==typeof this.opts.onBeforeWrite&&this.opts.onBeforeWrite.call(this,void 0,pn.call(this),0,this.opts)}return On.call(this,this.el)},remove:function(){if(this.el){ri.data(this.el,mn,null);var P=this.opts.autoUnmask?On(this.el):this._valueGet(this.opts.autoUnmask);P!==Un.call(this).join("")?this._valueSet(P,this.opts.autoUnmask):this._valueSet(""),Qn_off(this.el),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value")&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0}):Vn.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet)),this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||Ji(this.opts,this.noMasksCache),(this.isRTL?Un.call(this).reverse():Un.call(this)).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||Ji(this.opts,this.noMasksCache),tn.call(this,pn.call(this))},getmetadata:function(){if(this.maskset=this.maskset||Ji(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var P=he.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach(function(re){return re.mask!==P||(P=re,!1)}),P}return this.maskset.metadata},isValid:function(P){if(this.maskset=this.maskset||Ji(this.opts,this.noMasksCache),P){var re=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,P,this.opts)||P).split("");Xe.call(this,void 0,!0,!1,re)}else P=this.isRTL?pn.call(this).slice().reverse().join(""):pn.call(this).join("");for(var ie=pn.call(this),B=cn.call(this),ne=ie.length-1;ne>B&&!Bn.call(this,ne);ne--);return ie.splice(B,ne+1-B),tn.call(this,ie)&&P===(this.isRTL?pn.call(this).slice().reverse().join(""):pn.call(this).join(""))},format:function(P,re){this.maskset=this.maskset||Ji(this.opts,this.noMasksCache);let ie=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,P,this.opts)||P).split("");Xe.call(this,void 0,!0,!1,ie);let B=this.isRTL?pn.call(this).slice().reverse().join(""):pn.call(this).join("");return re?{value:B,metadata:this.getmetadata()}:B},setValue:function(P){this.el&&ri(this.el).trigger("setvalue",[P])},analyseMask:function Pr(P,re,ie){const B=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,ne=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g;var Ke,st,Et,Yt,$n,nn,de=!1,Ce=new Yi,rt=[],Kt=[],mo=!1;function yo(Li,Xi,pi){var m=Li.matches[(pi=void 0!==pi?pi:Li.matches.length)-1];if(re){if(0===Xi.indexOf("[")||de&&/\\d|\\s|\\w|\\p/i.test(Xi)||"."===Xi){let te=ie.casing?"i":"";/^\\p\{.*}$/i.test(Xi)&&(te+="u"),Li.matches.splice(pi++,0,{fn:new RegExp(Xi,te),static:!1,optionality:!1,newBlockMarker:void 0===m?"master":m.def!==Xi,casing:null,def:Xi,placeholder:void 0,nativeDef:Xi})}else de&&(Xi=Xi[Xi.length-1]),Xi.split("").forEach(function(te,ge){m=Li.matches[pi-1],Li.matches.splice(pi++,0,{fn:/[a-z]/i.test(ie.staticDefinitionSymbol||te)?new RegExp("["+(ie.staticDefinitionSymbol||te)+"]",ie.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===m?"master":m.def!==te&&!0!==m.static,casing:null,def:ie.staticDefinitionSymbol||te,placeholder:void 0!==ie.staticDefinitionSymbol?te:void 0,nativeDef:(de?"'":"")+te})});de=!1}else{var se=ie.definitions&&ie.definitions[Xi]||ie.usePrototypeDefinitions&&In.prototype.definitions[Xi];se&&!de?Li.matches.splice(pi++,0,{fn:se.validator?"string"==typeof se.validator?new RegExp(se.validator,ie.casing?"i":""):new function(){this.test=se.validator}:new RegExp("."),static:se.static||!1,optionality:se.optional||!1,defOptionality:se.optional||!1,newBlockMarker:void 0===m||se.optional?"master":m.def!==(se.definitionSymbol||Xi),casing:se.casing,def:se.definitionSymbol||Xi,placeholder:se.placeholder,nativeDef:Xi,generated:se.generated}):(Li.matches.splice(pi++,0,{fn:/[a-z]/i.test(ie.staticDefinitionSymbol||Xi)?new RegExp("["+(ie.staticDefinitionSymbol||Xi)+"]",ie.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===m?"master":m.def!==Xi&&!0!==m.static,casing:null,def:ie.staticDefinitionSymbol||Xi,placeholder:void 0!==ie.staticDefinitionSymbol?Xi:void 0,nativeDef:(de?"'":"")+Xi}),de=!1)}}function Ho(){if(rt.length>0){if(yo(Yt=rt[rt.length-1],st),Yt.isAlternator){$n=rt.pop();for(var Li=0;Li<$n.matches.length;Li++)$n.matches[Li].isGroup&&($n.matches[Li].isGroup=!1);rt.length>0?(Yt=rt[rt.length-1]).matches.push($n):Ce.matches.push($n)}}else yo(Ce,st)}function ui(Li){var Xi=new Yi(!0);return Xi.openGroup=!1,Xi.matches=Li,Xi}function Ko(){if((Et=rt.pop()).openGroup=!1,void 0!==Et)if(rt.length>0){if((Yt=rt[rt.length-1]).matches.push(Et),Yt.isAlternator){let Xi=($n=rt.pop()).matches[0].matches?$n.matches[0].matches.length:1;for(var Li=0;Li<$n.matches.length;Li++)$n.matches[Li].isGroup=!1,$n.matches[Li].alternatorGroup=!1,null===ie.keepStatic&&Xi<($n.matches[Li].matches?$n.matches[Li].matches.length:1)&&(ie.keepStatic=!0),Xi=$n.matches[Li].matches?$n.matches[Li].matches.length:1;rt.length>0?(Yt=rt[rt.length-1]).matches.push($n):Ce.matches.push($n)}}else Ce.matches.push(Et);else Ho()}function ai(Li){var Xi=Li.pop();return Xi.isQuantifier&&(Xi=ui([Li.pop(),Xi])),Xi}for(re&&(ie.optionalmarker[0]=void 0,ie.optionalmarker[1]=void 0);Ke=re?ne.exec(P):B.exec(P);){if(st=Ke[0],re){switch(st.charAt(0)){case"?":st="{0,1}";break;case"+":case"*":st="{"+st+"}";break;case"|":if(0===rt.length){var di=ui(Ce.matches);di.openGroup=!0,rt.push(di),Ce.matches=[],mo=!0}}switch(st){case"\\d":st="[0-9]";break;case"\\p":st+=ne.exec(P)[0],st+=ne.exec(P)[0]}}if(de)Ho();else switch(st.charAt(0)){case"$":case"^":re||Ho();break;case ie.escapeChar:de=!0,re&&Ho();break;case ie.optionalmarker[1]:case ie.groupmarker[1]:Ko();break;case ie.optionalmarker[0]:rt.push(new Yi(!1,!0));break;case ie.groupmarker[0]:rt.push(new Yi(!0));break;case ie.quantifiermarker[0]:var Qo=new Yi(!1,!1,!0),ki=(st=st.replace(/[{}?]/g,"")).split("|"),li=ki[0].split(","),Mi=isNaN(li[0])?li[0]:parseInt(li[0]),Cr=1===li.length?Mi:isNaN(li[1])?li[1]:parseInt(li[1]),Jr=isNaN(ki[1])?ki[1]:parseInt(ki[1]);("*"===Mi||"+"===Mi)&&(Mi="*"===Cr?0:1),Qo.quantifier={min:Mi,max:Cr,jit:Jr};var Ii=rt.length>0?rt[rt.length-1].matches:Ce.matches;(Ke=Ii.pop()).isGroup||(Ke=ui([Ke])),Ii.push(Ke),Ii.push(Qo);break;case ie.alternatormarker:if(rt.length>0){var Nr=(Yt=rt[rt.length-1]).matches[Yt.matches.length-1];nn=Yt.openGroup&&(void 0===Nr.matches||!1===Nr.isGroup&&!1===Nr.isAlternator)?rt.pop():ai(Yt.matches)}else nn=ai(Ce.matches);if(nn.isAlternator)rt.push(nn);else if(nn.alternatorGroup?($n=rt.pop(),nn.alternatorGroup=!1):$n=new Yi(!1,!1,!1,!0),$n.matches.push(nn),rt.push($n),nn.openGroup){nn.openGroup=!1;var zr=new Yi(!0);zr.alternatorGroup=!0,rt.push(zr)}break;default:Ho()}}for(mo&&Ko();rt.length>0;)Et=rt.pop(),Ce.matches.push(Et);return Ce.matches.length>0&&(function Xo(Li){Li&&Li.matches&&Li.matches.forEach(function(Xi,pi){var m=Li.matches[pi+1];(void 0===m||void 0===m.matches||!1===m.isQuantifier)&&Xi&&Xi.isGroup&&(Xi.isGroup=!1,re||(yo(Xi,ie.groupmarker[0],0),!0!==Xi.openGroup&&yo(Xi,ie.groupmarker[1]))),Xo(Xi)})}(Ce),Kt.push(Ce)),(ie.numericInput||ie.isRTL)&&function Oi(Li){for(var pi in Li.matches=Li.matches.reverse(),Li.matches)if(Object.prototype.hasOwnProperty.call(Li.matches,pi)){var m=parseInt(pi);if(Li.matches[pi].isQuantifier&&Li.matches[m+1]&&Li.matches[m+1].isGroup){var se=Li.matches[pi];Li.matches.splice(pi,1),Li.matches.splice(m+1,0,se)}Li.matches[pi]=void 0!==Li.matches[pi].matches?Oi(Li.matches[pi]):((te=Li.matches[pi])===ie.optionalmarker[0]?te=ie.optionalmarker[1]:te===ie.optionalmarker[1]?te=ie.optionalmarker[0]:te===ie.groupmarker[0]?te=ie.groupmarker[1]:te===ie.groupmarker[1]&&(te=ie.groupmarker[0]),te)}var te;return Li}(Kt[0]),Kt}},ze.extendDefaults=function(P){ri.extend(!0,ze.prototype.defaults,P)},ze.extendDefinitions=function(P){ri.extend(!0,ze.prototype.definitions,P)},ze.extendAliases=function(P){ri.extend(!0,ze.prototype.aliases,P)},ze.format=function(P,re,ie){return ze(re).format(P,ie)},ze.unmask=function(P,re){return ze(re).unmaskedvalue(P)},ze.isValid=function(P,re){return ze(re).isValid(P)},ze.remove=function(P){"string"==typeof P&&(P=Vn.getElementById(P)||Vn.querySelectorAll(P)),(P=P.nodeName?[P]:P).forEach(function(re){re.inputmask&&re.inputmask.remove()})},ze.setValue=function(P,re){"string"==typeof P&&(P=Vn.getElementById(P)||Vn.querySelectorAll(P)),(P=P.nodeName?[P]:P).forEach(function(ie){ie.inputmask?ie.inputmask.setValue(re):ri(ie).trigger("setvalue",[re])})},ze.dependencyLib=ri,lt.Inputmask=ze;const In=ze,fo=In.dependencyLib;class wn{constructor(re,ie,B){this.mask=re,this.format=ie,this.opts=B,this._date=new Date(1,0,1),this.initDateObject(re,this.opts)}get date(){return void 0===this._date&&(this._date=new Date(1,0,1),this.initDateObject(void 0,this.opts)),this._date}initDateObject(re,ie){let B;for(Oo(ie).lastIndex=0;B=Oo(ie).exec(this.format);){let Ce,ne=new RegExp("\\d+$").exec(B[0]),de=ne?B[0][0]+"x":B[0];if(void 0!==re){if(ne){let Ke=Oo(ie).lastIndex,st=ei(B.index,ie);Oo(ie).lastIndex=Ke,Ce=re.slice(0,re.indexOf(st.nextMatch[0]))}else Ce=re.slice(0,We[de]&&We[de][4]||de.length);re=re.slice(Ce.length)}Object.prototype.hasOwnProperty.call(We,de)&&this.setValue(this,Ce,de,We[de][2],We[de][1])}}setValue(re,ie,B,ne,de){if(void 0!==ie&&(re[ne]="ampm"===ne?ie:ie.replace(/[^0-9]/g,"0"),re["raw"+ne]=ie.replace(/\s/g,"_")),void 0!==de){let Ce=re[ne];("day"===ne&&29===parseInt(Ce)||"month"===ne&&2===parseInt(Ce))&&29===parseInt(re.day)&&2===parseInt(re.month)&&(""===re.year||void 0===re.year)&&re._date.setFullYear(2012,1,29),"day"===ne&&($e=!0,0===parseInt(Ce)&&(Ce=1)),"month"===ne&&($e=!0),"year"===ne&&($e=!0,Ce.length<4&&(Ce=yi(Ce,4,!0))),""!==Ce&&!isNaN(Ce)&&de.call(re._date,Ce),"ampm"===ne&&de.call(re._date,Ce)}}reset(){this._date=new Date(1,0,1)}reInit(){this._date=void 0}}let dn=(new Date).getFullYear(),$e=!1,We={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return yi(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",function(P){let re=P?parseInt(P):0;return re>0&&re--,Date.prototype.setMonth.call(this,re)},"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",function(P){let re=P?parseInt(P):0;return re>0&&re--,Date.prototype.setMonth.call(this,re)},"month",function(){return yi(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return yi(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return yi(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return yi(Date.prototype.getHours.call(this),2)}],hx:[function(P){return`[0-9]{${P}}`},Date.prototype.setHours,"hours",function(P){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return yi(Date.prototype.getHours.call(this),2)}],Hx:[function(P){return`[0-9]{${P}}`},Date.prototype.setHours,"hours",function(P){return function(){return yi(Date.prototype.getHours.call(this),P)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return yi(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return yi(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return yi(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return yi(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",Wt,"ampm",Dn,1],tt:["[ap]m",Wt,"ampm",Dn,2],T:["[AP]",Wt,"ampm",Dn,1],TT:["[AP]M",Wt,"ampm",Dn,2],Z:[".*",void 0,"Z",function to(){let{1:re}=this.toString().match(/\((.+)\)/);return re.includes(" ")&&(re=re.replace("-"," ").toUpperCase(),re=re.split(" ").map(([ie])=>ie).join("")),re}],o:[""],S:[""]},ot={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function Wt(P){const re=this.getHours();P.toLowerCase().includes("p")?this.setHours(re+12):P.toLowerCase().includes("a")&&re>=12&&this.setHours(re-12)}function Dn(){let re=this.getHours();return re=re||12,re>=12?"PM":"AM"}function co(P){var re=new RegExp("\\d+$").exec(P[0]);if(re&&void 0!==re[0]){var ie=We[P[0][0]+"x"].slice("");return ie[0]=ie[0](re[0]),ie[3]=ie[3](re[0]),ie}if(We[P[0]])return We[P[0]]}function Oo(P){if(!P.tokenizer){var re=[],ie=[];for(var B in We)if(/\.*x$/.test(B)){var ne=B[0]+"\\d+";-1===ie.indexOf(ne)&&ie.push(ne)}else-1===re.indexOf(B[0])&&re.push(B[0]);P.tokenizer="("+(ie.length>0?ie.join("|")+"|":"")+re.join("+|")+")+?|.",P.tokenizer=new RegExp(P.tokenizer,"g")}return P.tokenizer}function Gn(P,re,ie){if(!$e)return!0;if(void 0===P.rawday||!isFinite(P.rawday)&&new Date(P.date.getFullYear(),isFinite(P.rawmonth)?P.month:P.date.getMonth()+1,0).getDate()>=P.day||"29"==P.day&&(!isFinite(P.rawyear)||void 0===P.rawyear||""===P.rawyear)||new Date(P.date.getFullYear(),isFinite(P.rawmonth)?P.month:P.date.getMonth()+1,0).getDate()>=P.day)return re;if("29"==P.day){var B=ei(re.pos,ie);if("yyyy"===B.targetMatch[0]&&re.pos-B.targetMatchIndex==2)return re.remove=re.pos+1,re}else if("02"==P.month&&"30"==P.day&&void 0!==re.c)return P.day="03",P.date.setDate(3),P.date.setMonth(1),re.insert=[{pos:re.pos,c:"0"},{pos:re.pos+1,c:re.c}],re.caret=Cn.call(this,re.pos+1),re;return!1}function Vo(P,re,ie,B){var de,Ce,ne="";for(Oo(ie).lastIndex=0;de=Oo(ie).exec(P);)if(void 0===re)if(Ce=co(de))ne+="("+Ce[0]+")";else switch(de[0]){case"[":ne+="(";break;case"]":ne+=")?";break;default:ne+=zi(de[0])}else(Ce=co(de))?ne+=!0!==B&&Ce[3]?Ce[3].call(re.date):Ce[2]?re["raw"+Ce[2]]:de[0]:ne+=de[0];return ne}function yi(P,re,ie){for(P=String(P),re=re||2;P.length=P+1){B=ne,ne=Oo(re).exec(re.inputFormat);break}}return{targetMatchIndex:ie-de,nextMatch:ne,targetMatch:B}}In.extendAliases({datetime:{mask:function(P){return P.numericInput=!1,We.S=P.i18n.ordinalSuffix.join("|"),P.inputFormat=ot[P.inputFormat]||P.inputFormat,P.displayFormat=ot[P.displayFormat]||P.displayFormat||P.inputFormat,P.outputFormat=ot[P.outputFormat]||P.outputFormat||P.inputFormat,P.placeholder=""!==P.placeholder?P.placeholder:P.inputFormat.replace(/[[\]]/,""),P.regex=Vo(P.inputFormat,void 0,P),P.min=ci(P.min,P.inputFormat,P),P.max=ci(P.max,P.inputFormat,P),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:null,outputFormat:null,min:null,max:null,skipOptionalPartCharacter:"",i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},preValidation:function(P,re,ie,B,ne,de,Ce,Ke){if(Ke)return!0;if(isNaN(ie)&&P[re]!==ie){var st=ei(re,ne);if(st.nextMatch&&st.nextMatch[0]===ie&&st.targetMatch[0].length>1&&new RegExp(We[st.targetMatch[0]][0]).test("0"+P[re-1]))return P[re]=P[re-1],P[re-1]="0",{fuzzy:!0,buffer:P,refreshFromBuffer:{start:re-1,end:re+1},pos:re+1}}return!0},postValidation:function(P,re,ie,B,ne,de,Ce,Ke){const st=this;if(Ce)return!0;var rt,Kt;if(!1===B&&(((rt=ei(re+1,ne)).targetMatch&&rt.targetMatchIndex===re&&rt.targetMatch[0].length>1&&void 0!==We[rt.targetMatch[0]]||(rt=ei(re+2,ne)).targetMatch&&rt.targetMatchIndex===re+1&&rt.targetMatch[0].length>1&&void 0!==We[rt.targetMatch[0]])&&(Kt=We[rt.targetMatch[0]][0]),void 0!==Kt&&(void 0!==de.validPositions[re+1]&&new RegExp(Kt).test(ie+"0")?(P[re]=ie,P[re+1]="0",B={pos:re+2,caret:re}):new RegExp(Kt).test("0"+ie)&&(P[re]="0",P[re+1]=ie,B={pos:re+2})),!1===B))return B;if(B.fuzzy&&(P=B.buffer,re=B.pos),(rt=ei(re,ne)).targetMatch&&rt.targetMatch[0]&&void 0!==We[rt.targetMatch[0]]){let mo=We[rt.targetMatch[0]];Kt=mo[0];var Et=P.slice(rt.targetMatchIndex,rt.targetMatchIndex+rt.targetMatch[0].length);if(!1===new RegExp(Kt).test(Et.join(""))&&2===rt.targetMatch[0].length&&de.validPositions[rt.targetMatchIndex]&&de.validPositions[rt.targetMatchIndex+1]&&(de.validPositions[rt.targetMatchIndex+1].input="0"),"year"==mo[2]){var Yt=he.call(st,!1,1,void 0,!0);for(let yo=re+1;yo=Ke.getTime())&&(P.date.setFullYear(dn),P.year=B,re.insert=[{pos:re.pos+1,c:Ce[0]},{pos:re.pos+2,c:Ce[1]}])}}return re}(nn,$n,ne)),$n=function go(P,re,ie,B){if(!re)return re;if(re&&ie.min&&!isNaN(ie.min.date.getTime())){let Et;for(P.reset(),Oo(ie).lastIndex=0;Et=Oo(ie).exec(ie.inputFormat);){var de;if((de=co(Et))&&de[3]){var Ce=de[1],Ke=P[de[2]],st=ie.min[de[2]],rt=ie.max?ie.max[de[2]]:st,Kt=[];let Yt=!1;for(let $n=0;$nst[$n]):(Kt[$n]=st[$n],"year"===de[2]&&Ke.length-1==$n&&st!=rt&&(Kt=(parseInt(Kt.join(""))+1).toString().split("")),"ampm"===de[2]&&st!=rt&&ie.min.date.getTime()>P.date.getTime()&&(Kt[$n]=rt[$n]));Ce.call(P._date,Kt.join(""))}}re=ie.min.date.getTime()<=P.date.getTime(),P.reInit()}return re&&ie.max&&(isNaN(ie.max.date.getTime())||(re=ie.max.date.getTime()>=P.date.getTime())),re}(nn,$n=Gn.call(st,nn,$n,ne),ne,de)),void 0!==re&&$n&&B.pos!==re?{buffer:Vo(ne.inputFormat,nn,ne).split(""),refreshFromBuffer:{start:re,end:B.pos},pos:B.caret||B.pos}:$n},onKeyDown:function(P,re,ie,B){P.ctrlKey&&P.key===M.ArrowRight&&(this.inputmask._valueSet(er(new Date,B)),fo(this).trigger("setvalue"))},onUnMask:function(P,re,ie){return re&&Vo(ie.outputFormat,ci(P,ie.inputFormat,ie),ie,!0)},casing:function(P,re,ie,B){return 0==re.nativeDef.indexOf("[ap]")?P.toLowerCase():0==re.nativeDef.indexOf("[AP]")?P.toUpperCase():P},onBeforeMask:function(P,re){return"[object Date]"===Object.prototype.toString.call(P)&&(P=er(P,re)),P},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}});var dr=l(35043),Lr=l(84341);const Vr=In.dependencyLib;function Fr(P,re){for(var ie="",B=0;B0&&re>0&&(!ie.digitsOptional||B)){var ne=P.indexOf(ie.radixPoint),de=!1;ie.negationSymbol.back===P[P.length-1]&&(de=!0,P.length--),-1===ne&&(P.push(ie.radixPoint),ne=P.length-1);for(var Ce=1;Ce<=re;Ce++)isFinite(P[ne+Ce])||(P[ne+Ce]="0")}return de&&P.push(ie.negationSymbol.back),P}function Qi(P,re){var ie=0;for(var B in"+"===P&&(ie=Cn.call(this,re.validPositions.length-1)),re.tests)if((B=parseInt(B))>=ie)for(var ne=0,de=re.tests[B].length;ne1&&(P.placeholder=P.placeholder.charAt(0)),"radixFocus"===P.positionCaretOnClick&&""===P.placeholder&&(P.positionCaretOnClick="lvp");var re="0",ie=P.radixPoint;!0===P.numericInput&&void 0===P.__financeInput?(re="1",P.positionCaretOnClick="radixFocus"===P.positionCaretOnClick?"lvp":P.positionCaretOnClick,P.digitsOptional=!1,isNaN(P.digits)&&(P.digits=2),P._radixDance=!1,ie=","===P.radixPoint?"?":"!",""!==P.radixPoint&&void 0===P.definitions[ie]&&(P.definitions[ie]={},P.definitions[ie].validator="["+P.radixPoint+"]",P.definitions[ie].placeholder=P.radixPoint,P.definitions[ie].static=!0,P.definitions[ie].generated=!0)):(P.__financeInput=!1,P.numericInput=!0);var ne,B="[+]";if(B+=Fr(P.prefix,P),""!==P.groupSeparator?(void 0===P.definitions[P.groupSeparator]&&(P.definitions[P.groupSeparator]={},P.definitions[P.groupSeparator].validator="["+P.groupSeparator+"]",P.definitions[P.groupSeparator].placeholder=P.groupSeparator,P.definitions[P.groupSeparator].static=!0,P.definitions[P.groupSeparator].generated=!0),B+=P._mask(P)):B+="9{+}",void 0!==P.digits&&0!==P.digits){var de=P.digits.toString().split(",");isFinite(de[0])&&de[1]&&isFinite(de[1])?B+=ie+re+"{"+P.digits+"}":(isNaN(P.digits)||parseInt(P.digits)>0)&&(P.digitsOptional||P.jitMasking?(ne=B+ie+re+"{0,"+P.digits+"}",P.keepStatic=!0):B+=ie+re+"{"+P.digits+"}")}else P.inputmode="numeric";return B+=Fr(P.suffix,P),B+="[-]",ne&&(B=[ne+Fr(P.suffix,P)+"[-]",B]),P.greedy=!1,function en(P){void 0===P.parseMinMaxOptions&&(null!==P.min&&(P.min=P.min.toString().replace(new RegExp(zi(P.groupSeparator),"g"),""),","===P.radixPoint&&(P.min=P.min.replace(P.radixPoint,".")),P.min=isFinite(P.min)?parseFloat(P.min):NaN,isNaN(P.min)&&(P.min=Number.MIN_VALUE)),null!==P.max&&(P.max=P.max.toString().replace(new RegExp(zi(P.groupSeparator),"g"),""),","===P.radixPoint&&(P.max=P.max.replace(P.radixPoint,".")),P.max=isFinite(P.max)?parseFloat(P.max):NaN,isNaN(P.max)&&(P.max=Number.MAX_VALUE)),P.parseMinMaxOptions="done")}(P),""!==P.radixPoint&&P.substituteRadixPoint&&(P.substitutes["."==P.radixPoint?",":"."]=P.radixPoint),B},_mask:function(P){return"("+P.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"decimal",shortcuts:{k:"1000",m:"1000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",usePrototypeDefinitions:!1,stripLeadingZeroes:!0,substituteRadixPoint:!0,definitions:{0:{validator:Ci},1:{validator:Ci,definitionSymbol:"9"},9:{validator:"[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]",definitionSymbol:"*"},"+":{validator:function(P,re,ie,B,ne){return ne.allowMinus&&("-"===P||P===ne.negationSymbol.front)}},"-":{validator:function(P,re,ie,B,ne){return ne.allowMinus&&P===ne.negationSymbol.back}}},preValidation:function(P,re,ie,B,ne,de,Ce,Ke){const st=this;if(!1!==ne.__financeInput&&ie===ne.radixPoint)return!1;var rt=P.indexOf(ne.radixPoint),Kt=re;if(re=function ni(P,re,ie,B,ne){return ne._radixDance&&ne.numericInput&&re!==ne.negationSymbol.back&&P<=ie&&(ie>0||re==ne.radixPoint)&&(void 0===B.validPositions[P-1]||B.validPositions[P-1].input!==ne.negationSymbol.back)&&(P-=1),P}(re,ie,rt,de,ne),"-"===ie||ie===ne.negationSymbol.front){if(!0!==ne.allowMinus)return!1;var Et=!1,Yt=is("+",de),$n=is("-",de);return-1!==Yt&&(Et=[Yt,$n]),!1!==Et?{remove:Et,caret:Kt-ne.negationSymbol.back.length}:{insert:[{pos:Qi.call(st,"+",de),c:ne.negationSymbol.front,fromIsValid:!0},{pos:Qi.call(st,"-",de),c:ne.negationSymbol.back,fromIsValid:void 0}],caret:Kt+ne.negationSymbol.back.length}}if(ie===ne.groupSeparator)return{caret:Kt};if(Ke)return!0;if(-1!==rt&&!0===ne._radixDance&&!1===B&&ie===ne.radixPoint&&void 0!==ne.digits&&(isNaN(ne.digits)||parseInt(ne.digits)>0)&&rt!==re)return{caret:ne._radixDance&&re===rt-1?rt+1:rt};if(!1===ne.__financeInput)if(B){if(ne.digitsOptional)return{rewritePosition:Ce.end};if(!ne.digitsOptional){if(Ce.begin>rt&&Ce.end<=rt)return ie===ne.radixPoint?{insert:{pos:rt+1,c:"0",fromIsValid:!0},rewritePosition:rt}:{rewritePosition:rt+1};if(Ce.begin0&&""===this.__valueGet.call(this.el))return{rewritePosition:rt};return{rewritePosition:re}},postValidation:function(P,re,ie,B,ne,de,Ce){if(!1===B)return B;if(Ce)return!0;if(null!==ne.min||null!==ne.max){var Ke=ne.onUnMask(P.slice().reverse().join(""),void 0,Vr.extend({},ne,{unmaskAsNumber:!0}));if(null!==ne.min&&Kene.min.toString().length||Ke<0))return!1;if(null!==ne.max&&Ke>ne.max)return!!ne.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:wr(ne.max.toString().replace(".",ne.radixPoint).split(""),ne.digits,ne).reverse()}}return B},onUnMask:function(P,re,ie){if(""===re&&!0===ie.nullable)return re;var B=P.replace(ie.prefix,"");return B=(B=B.replace(ie.suffix,"")).replace(new RegExp(zi(ie.groupSeparator),"g"),""),""!==ie.placeholder.charAt(0)&&(B=B.replace(new RegExp(ie.placeholder.charAt(0),"g"),"0")),ie.unmaskAsNumber?(""!==ie.radixPoint&&-1!==B.indexOf(ie.radixPoint)&&(B=B.replace(zi.call(this,ie.radixPoint),".")),B=(B=B.replace(new RegExp("^"+zi(ie.negationSymbol.front)),"-")).replace(new RegExp(zi(ie.negationSymbol.back)+"$"),""),Number(B)):B},isComplete:function(P,re){var ie=(re.numericInput?P.slice().reverse():P).join("");return ie=(ie=(ie=(ie=(ie=ie.replace(new RegExp("^"+zi(re.negationSymbol.front)),"-")).replace(new RegExp(zi(re.negationSymbol.back)+"$"),"")).replace(re.prefix,"")).replace(re.suffix,"")).replace(new RegExp(zi(re.groupSeparator)+"([0-9]{3})","g"),"$1"),","===re.radixPoint&&(ie=ie.replace(zi(re.radixPoint),".")),isFinite(ie)},onBeforeMask:function(P,re){var ie=re.radixPoint||",";isFinite(re.digits)&&(re.digits=parseInt(re.digits)),("number"==typeof P||"number"===re.inputType)&&""!==ie&&(P=P.toString().replace(".",ie));var B="-"===P.charAt(0)||P.charAt(0)===re.negationSymbol.front,ne=P.split(ie),de=ne[0].replace(/[^\-0-9]/g,""),Ce=ne.length>1?ne[1].replace(/[^0-9]/g,""):"",Ke=ne.length>1;P=de+(""!==Ce?ie+Ce:Ce);var st=0;if(""!==ie&&(st=re.digitsOptional?re.digitsre.max&&(P=re.max.toString().replace(".",ie))}return B&&"-"!==P.charAt(0)&&(P="-"+P),wr(P.toString().split(""),st,re,Ke).join("")},onBeforeWrite:function(P,re,ie,B){function ne(Yt,$n){if(!1!==B.__financeInput||$n){var nn=Yt.indexOf(B.radixPoint);-1!==nn&&Yt.splice(nn,1)}if(""!==B.groupSeparator)for(;-1!==(nn=Yt.indexOf(B.groupSeparator));)Yt.splice(nn,1);return Yt}let de,Ce;if(B.stripLeadingZeroes&&(Ce=function hr(P,re){var ie=new RegExp("(^"+(""!==re.negationSymbol.front?zi(re.negationSymbol.front)+"?":"")+zi(re.prefix)+")(.*)("+zi(re.suffix)+(""!=re.negationSymbol.back?zi(re.negationSymbol.back)+"?":"")+"$)").exec(P.slice().reverse().join("")),B=ie?ie[2]:"",ne=!1;return B&&(B=B.split(re.radixPoint.charAt(0))[0],ne=new RegExp("^[0"+re.groupSeparator+"]*").exec(B)),!(!ne||!(ne[0].length>1||ne[0].length>0&&ne[0].length0;nn--)delete this.maskset.validPositions[Yt+nn],delete re[Yt+nn]}if(P)switch(P.type){case"blur":case"checkval":if(null!==B.min){var Ke=B.onUnMask(re.slice().reverse().join(""),void 0,Vr.extend({},B,{unmaskAsNumber:!0}));if(null!==B.min&&Ke1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(Ce)),ne.trigger("setvalue"),!1;if(P.ctrlKey)switch(P.key){case M.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(B.step)),ne.trigger("setvalue"),!1;case M.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(B.step)),ne.trigger("setvalue"),!1}if(!P.shiftKey&&(P.key===M.Delete||P.key===M.Backspace||P.key===M.BACKSPACE_SAFARI)&&ie.begin!==re.length){if(re[P.key===M.Delete?ie.begin-1:ie.end]===B.negationSymbol.front)return de=re.slice().reverse(),""!==B.negationSymbol.front&&de.shift(),""!==B.negationSymbol.back&&de.pop(),ne.trigger("setvalue",[de.join(""),ie.begin]),!1;if(!0===B._radixDance){var st=re.indexOf(B.radixPoint);if(B.digitsOptional){if(0===st)return(de=re.slice().reverse()).pop(),ne.trigger("setvalue",[de.join(""),ie.begin>=de.length?de.length:ie.begin]),!1}else if(-1!==st&&(ie.begin=de.length?st+1:ie.begin]),!1}}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",inputmode:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(P){return"("+P.groupSeparator+"99){*|1}("+P.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}});const Vi=["*"],qi=["kirby-input",""],ts=["kirby-textarea",""];function Wi(P,re){1&P&&n.SdG(0,0,["*ngIf","!value"])}function sr(P,re){if(1&P&&(n.qex(0),n.EFF(1),n.bVm()),2&P){const ie=n.XpG();n.R7$(),n.JRh(ie.value)}}const Si=[[["kirby-input-counter"]],[["","kirby-affix","prefix"]],[["input","kirby-input",""]],[["textarea","kirby-textarea",""]],[["kirby-radio-group"]],[["","kirby-affix","suffix"]]],rs=["kirby-input-counter","[kirby-affix='prefix']","input[kirby-input]","textarea[kirby-textarea]","kirby-radio-group","[kirby-affix='suffix']"];function Ir(P,re){1&P&&n.eu8(0)}function fs(P,re){1&P&&n.eu8(0)}function Cs(P,re){1&P&&n.eu8(0)}function ps(P,re){if(1&P&&(n.qex(0),n.DNE(1,Cs,1,0,"ng-container",5),n.bVm()),2&P){n.XpG(2);const ie=n.sdS(4);n.R7$(),n.Y8G("ngTemplateOutlet",ie)}}function vi(P,re){if(1&P&&(n.j41(0,"label"),n.DNE(1,Ir,1,0,"ng-container",5)(2,fs,1,0,"ng-container",5)(3,ps,2,1,"ng-container",4),n.k0s()),2&P){const ie=n.XpG(),B=n.sdS(6),ne=n.sdS(8);n.R7$(),n.Y8G("ngTemplateOutlet",ne),n.R7$(),n.Y8G("ngTemplateOutlet",B),n.R7$(),n.Y8G("ngIf",ie._nestedInteractiveHasError)}}function As(P,re){1&P&&n.eu8(0)}function Ps(P,re){if(1&P&&(n.qex(0),n.DNE(1,As,1,0,"ng-container",5),n.bVm()),2&P){n.XpG();const ie=n.sdS(4);n.R7$(),n.Y8G("ngTemplateOutlet",ie)}}function ys(P,re){1&P&&n.eu8(0)}function Es(P,re){1&P&&n.eu8(0)}function gs(P,re){1&P&&n.eu8(0)}function vs(P,re){if(1&P&&(n.qex(0),n.DNE(1,ys,1,0,"ng-container",5)(2,Es,1,0,"ng-container",5)(3,gs,1,0,"ng-container",5),n.bVm()),2&P){n.XpG();const ie=n.sdS(4),B=n.sdS(6),ne=n.sdS(10);n.R7$(),n.Y8G("ngTemplateOutlet",ne),n.R7$(),n.Y8G("ngTemplateOutlet",B),n.R7$(),n.Y8G("ngTemplateOutlet",ie)}}function ks(P,re){if(1&P&&n.nrm(0,"kirby-form-field-message",10),2&P){const ie=n.XpG(3);n.Y8G("text",ie.message),n.BMQ("aria-live",ie._nestedInteractiveHasError?"polite":null)("id",ie._nestedInteractiveHasError?ie._errorMessageId:ie._messageId)}}function Zr(P,re){1&P&&(n.j41(0,"div",11),n.SdG(1),n.k0s())}function Wr(P,re){if(1&P&&(n.j41(0,"div",7),n.DNE(1,ks,1,3,"kirby-form-field-message",8)(2,Zr,2,0,"div",9),n.k0s()),2&P){const ie=n.XpG(2);n.R7$(),n.Y8G("ngIf",void 0!==ie.message),n.R7$(),n.Y8G("ngIf",ie.counter)}}function ws(P,re){if(1&P&&n.DNE(0,Wr,3,2,"div",6),2&P){const ie=n.XpG();n.Y8G("ngIf",void 0!==ie.message||ie.counter)}}function Or(P,re){1&P&&(n.qex(0),n.nrm(1,"kirby-icon",15),n.bVm())}function Rt(P,re){if(1&P&&(n.j41(0,"div",12)(1,"div",13),n.SdG(2,1),n.k0s(),n.SdG(3,2),n.SdG(4,3),n.SdG(5,4),n.j41(6,"div",14),n.SdG(7,5),n.DNE(8,Or,2,0,"ng-container",4),n.k0s()()),2&P){const ie=n.XpG();n.R7$(8),n.Y8G("ngIf",ie.showDefaultCalendarIcon)}}function Ht(P,re){if(1&P&&(n.qex(0),n.j41(1,"span",16),n.EFF(2),n.k0s(),n.bVm()),2&P){const ie=n.XpG(2);n.R7$(2),n.JRh(ie.label)}}function Dt(P,re){if(1&P&&n.DNE(0,Ht,3,1,"ng-container",4),2&P){const ie=n.XpG();n.Y8G("ngIf",ie.label)}}function un(P,re){if(1&P){const ie=n.RV6();n.qex(0),n.j41(1,"label",17),n.bIt("click",function(){n.eBV(ie);const ne=n.XpG(2);return n.Njj(ne.onLabelClick())}),n.EFF(2),n.k0s(),n.bVm()}if(2&P){const ie=n.XpG(2);n.R7$(),n.Y8G("id",ie._labelId),n.R7$(),n.JRh(ie.label)}}function Jn(P,re){if(1&P&&n.DNE(0,un,3,2,"ng-container",4),2&P){const ie=n.XpG();n.Y8G("ngIf",ie.label)}}let so=(()=>{class P{constructor(ie){this.el=ie}static#e=this.\u0275fac=function(B){return new(B||P)(n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:P,selectors:[["","kirby-affix",""]],inputs:{type:[0,"kirby-affix","type"]}})}return P})(),To=(()=>{class P{onInput(){this.isDateInput&&this.enableInputMask&&this.updateMask(this.elementRef.nativeElement.value)}constructor(ie,B,ne){this.elementRef=ie,this.renderer=B,this.locale=ne,this.prefillYear=!1,this.useNativeDatePicker=!1,this.isDateInput=!1,this.enableInputMask=!1,this.isDateInput="date"===this.elementRef.nativeElement.type,this.isDateInput&&this.elementRef.nativeElement.removeAttribute("type")}ngAfterViewInit(){this.isDateInput&&(this.enableInputMask=!this.useNativeDatePicker,this.enableInputMask&&this.initMask(),this.useNativeDatePicker&&this.elementRef.nativeElement.setAttribute("type","date"))}initMask(){const ie=this.getInputFormat(),B=this.getPlaceholder(ie);this.renderer.setAttribute(this.elementRef.nativeElement,"placeholder",B),new In("datetime",{inputFormat:ie,placeholder:B,prefillYear:this.prefillYear}).mask(this.elementRef.nativeElement),this.appendMaskingElement()}getInputFormat(){return(0,_.gq)(this.locale,_.Aq.Short).toLowerCase().replace(/d+/,"dd").replace(/m+/,"mm").replace(/y+/,"yyyy")}getPlaceholder(ie){return"da"===this.locale?ie.split("y").join("\xe5"):ie}appendMaskingElement(){const ie=this.wrapElement(this.elementRef.nativeElement);this.renderer.addClass(ie,"date-mask-wrapper"),this.maskingElement=this.renderer.createElement("div"),this.renderer.appendChild(ie,this.maskingElement),this.renderer.addClass(this.maskingElement,"date-mask")}wrapElement(ie){const B=this.renderer.createElement("div");return this.renderer.insertBefore(ie.parentElement,B,ie),this.renderer.appendChild(B,ie),B}updateMask(ie){if(!this.maskingElement)return;const B=ie.match(/.*?(\d)[^\d]*$/);this.maskingElement.innerHTML=ie?ie.slice(0,ie.lastIndexOf(B[1])+1):""}static#e=this.\u0275fac=function(B){return new(B||P)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(n.xe9))};static#t=this.\u0275dir=n.FsC({type:P,hostBindings:function(B,ne){1&B&&n.bIt("input",function(){return ne.onInput()})},inputs:{prefillYear:"prefillYear",useNativeDatePicker:"useNativeDatePicker"}})}return P})(),qo=(()=>{class P{constructor(){this.position="left"}static#e=this.\u0275fac=function(B){return new(B||P)};static#t=this.\u0275cmp=n.VBU({type:P,selectors:[["kirby-form-field-message"]],inputs:{text:"text",position:"position"},standalone:!1,ngContentSelectors:Vi,decls:2,vars:1,template:function(B,ne){1&B&&(n.NAR(),n.EFF(0),n.SdG(1)),2&B&&n.SpI("",ne.text,"\n")},styles:["[_nghost-%COMP%]{font-style:italic;font-size:12px;font-weight:400;font-stretch:normal;line-height:16px;min-height:16px;letter-spacing:normal;color:var(--kirby-text-color-black)}"],changeDetection:0})}return P})(),hi=(()=>{class P{get text(){if(void 0!==this.length)return`${this.length}${this.maxlength?`/${this.maxlength}`:""}`}ngOnInit(){this.listenTo&&(this.length=this.listenTo.value?this.listenTo.value.length:0,this.maxlength=this.listenTo.maxlength,this._inputChangeSubscription=this.listenTo.kirbyChange.subscribe(ie=>{this.length=ie.length}))}ngOnDestroy(){this._inputChangeSubscription&&this._inputChangeSubscription.unsubscribe()}static#e=this.\u0275fac=function(B){return new(B||P)};static#t=this.\u0275cmp=n.VBU({type:P,selectors:[["kirby-input-counter"]],inputs:{listenTo:"listenTo"},standalone:!1,decls:1,vars:1,consts:[[3,"text"]],template:function(B,ne){1&B&&n.nrm(0,"kirby-form-field-message",0),2&B&&n.Y8G("text",ne.text)},dependencies:[qo],encapsulation:2})}return P})();var si=function(P){return P.medium="md",P.large="lg",P}(si||{});let Ao=(()=>{class P{set type(ie){const B=P.typeToInputmodeMap[ie];B&&!this.inputmode&&(this.inputmode=B)}get hasError(){return this._hasError}set hasError(ie){this._hasError!==ie&&(this._hasError=ie,this.hasErrorChange.emit(this._hasError))}constructor(ie){this.elementRef=ie,this.kirbyChange=new n.bkB,this._hasError=!1,this.size=si.large,this.autocomplete="off",this.autocorrect="off",this.hasErrorChange=new n.bkB}ngOnInit(){setTimeout(()=>{const ie=this.elementRef.nativeElement.value;ie&&this.kirbyChange.emit(ie)})}ngOnChanges(ie){ie.value&&this.kirbyChange.emit(ie.value.currentValue)}static#e=this.typeToInputmodeMap={number:"decimal",search:"search"};_onKeyUp(ie){this.kirbyChange.emit(ie)}_onCutPaste(ie){setTimeout(()=>this.kirbyChange.emit(ie.value))}static#t=this.\u0275fac=function(B){return new(B||P)(n.rXU(n.aKT))};static#n=this.\u0275cmp=n.VBU({type:P,selectors:[["input","kirby-input",""]],hostVars:12,hostBindings:function(B,ne){1&B&&n.bIt("keyup",function(Ce){return ne._onKeyUp(Ce.target.value)})("paste",function(Ce){return ne._onCutPaste(Ce.target)})("cut",function(Ce){return ne._onCutPaste(Ce.target)}),2&B&&(n.BMQ("aria-invalid",ne.hasError)("autocomplete",ne.autocomplete)("autocorrect",ne.autocorrect)("value",ne.value)("maxlength",ne.maxlength)("inputmode",ne.inputmode),n.HbH(ne.size),n.AVh("borderless",ne.borderless)("error",ne.hasError))},inputs:{type:"type",size:"size",borderless:"borderless",hasError:"hasError",autocomplete:"autocomplete",autocorrect:"autocorrect",value:"value",maxlength:"maxlength",inputmode:"inputmode"},outputs:{hasErrorChange:"hasErrorChange"},features:[n.nM4([{directive:To,inputs:["prefillYear","prefillYear","useNativeDatePicker","useNativeDatePicker"]}]),n.OA$],attrs:qi,decls:0,vars:0,template:function(B,ne){},dependencies:[_.MD],styles:[".error[_nghost-%COMP%]{border:1px solid var(--kirby-danger);padding:calc(1em - 1px)}.cloned-input[_nghost-%COMP%]{pointer-events:none;position:absolute;top:0;left:0}label.cloned-input[_nghost-%COMP%], label .cloned-input[_nghost-%COMP%]{top:24px}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]:focus{transition:all 80ms linear 0ms;box-shadow:0 1px 24px #1c1c1c0a,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}[_nghost-%COMP%]:focus:not(:focus-visible){box-shadow:0 1px 24px #1c1c1c0a,0 0 0 0 transparent}[_nghost-%COMP%]:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 1px 24px #1c1c1c0a,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}[_nghost-%COMP%]{background-color:var(--kirby-inputs-background-color);color:var(--kirby-inputs-color);border:none;box-sizing:border-box;font-family:var(--kirby-font-family);font-size:1rem;line-height:1.5;outline:none;margin:0;-webkit-appearance:none;appearance:none;border-radius:16px;box-shadow:var(--kirby-inputs-elevation);padding:1em;width:100%}kirby-item[_nghost-%COMP%][_nghost-%COMP%], kirby-item [_nghost-%COMP%], .borderless[_nghost-%COMP%]{border-radius:0;box-shadow:none;padding-inline:0;width:auto}[_nghost-%COMP%]:disabled{background-color:var(--kirby-light-tint);color:var(--kirby-text-color-semi-dark);box-shadow:none}[_nghost-%COMP%]::placeholder{color:var(--kirby-inputs-placeholder-color)}@supports not (selector(::-webkit-date-and-time-value)){input[type=date][_nghost-%COMP%]::-webkit-date-and-time-value{min-height:1.5em;text-align:start}}@media (hover: hover){[_nghost-%COMP%]:not(:disabled):hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;background-color:var(--kirby-inputs-background-color-hover);cursor:text}}[_nghost-%COMP%]:not(:disabled):active, [_nghost-%COMP%]:not(:disabled).interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);background-color:var(--kirby-inputs-background-color-active)}[_nghost-%COMP%]:not(:disabled){transition:all 80ms linear 0ms;transition-property:background-color}[type=date][_nghost-%COMP%]{background-color:var(--date-input-background-color)}[type=number][_nghost-%COMP%]{-webkit-appearance:textfield;appearance:textfield}[_nghost-%COMP%]::-webkit-outer-spin-button, [_nghost-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.md[_nghost-%COMP%]{border-radius:24px;padding-block:.5em}.md.error[_nghost-%COMP%]{padding-block:calc(.5em - 1px)}kirby-item kirby-form-field[slot=end][type=number][_nghost-%COMP%], kirby-item kirby-form-field[slot=end] [type=number][_nghost-%COMP%]{font-weight:700}.date-mask-wrapper[_ngcontent-%COMP%]{position:relative}.date-mask-wrapper[_nghost-%COMP%], .date-mask-wrapper [_nghost-%COMP%]{color:var(--kirby-text-color-semi-dark)}.date-mask[_ngcontent-%COMP%]{font-family:var(--kirby-font-family);line-height:1.5;color:var(--kirby-white-contrast);position:absolute;top:0;left:0;padding:1em}.md[_nghost-%COMP%] + .date-mask[_ngcontent-%COMP%]{padding-block:.5em}"],changeDetection:0})}return P})(),eo=(()=>{class P{constructor(){this.kirbyChange=new n.bkB,this._hasError=!1,this.autocomplete="off",this.autocorrect="off",this.hasErrorChange=new n.bkB}get hasError(){return this._hasError}set hasError(ie){this._hasError!==ie&&(this._hasError=ie,this.hasErrorChange.emit(this._hasError))}ngOnChanges(ie){ie.value&&this.kirbyChange.emit(ie.value.currentValue)}_onKeyUp(ie){this.kirbyChange.emit(ie)}_onCutPaste(ie){setTimeout(()=>this.kirbyChange.emit(ie.value))}static#e=this.\u0275fac=function(B){return new(B||P)};static#t=this.\u0275cmp=n.VBU({type:P,selectors:[["textarea","kirby-textarea",""]],hostVars:8,hostBindings:function(B,ne){1&B&&n.bIt("keyup",function(Ce){return ne._onKeyUp(Ce.target.value)})("paste",function(Ce){return ne._onCutPaste(Ce.target)})("cut",function(Ce){return ne._onCutPaste(Ce.target)}),2&B&&(n.BMQ("aria-invalid",ne.hasError)("autocomplete",ne.autocomplete)("autocorrect",ne.autocorrect)("maxlength",ne.maxlength),n.AVh("borderless",ne.borderless)("error",ne.hasError))},inputs:{value:"value",borderless:"borderless",hasError:"hasError",autocomplete:"autocomplete",autocorrect:"autocorrect",maxlength:"maxlength"},outputs:{hasErrorChange:"hasErrorChange"},features:[n.OA$],attrs:ts,ngContentSelectors:Vi,decls:2,vars:2,consts:[[4,"ngIf"]],template:function(B,ne){1&B&&(n.NAR(),n.DNE(0,Wi,1,0,"ng-content",0)(1,sr,2,1,"ng-container",0)),2&B&&(n.Y8G("ngIf",!ne.value),n.R7$(),n.Y8G("ngIf",ne.value))},dependencies:[_.MD,_.bT],styles:[".error[_nghost-%COMP%]{border:1px solid var(--kirby-danger);padding:calc(1em - 1px)}.cloned-input[_nghost-%COMP%]{pointer-events:none;position:absolute;top:0;left:0}label.cloned-input[_nghost-%COMP%], label .cloned-input[_nghost-%COMP%]{top:24px}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]:focus{transition:all 80ms linear 0ms;box-shadow:0 1px 24px #1c1c1c0a,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}[_nghost-%COMP%]:focus:not(:focus-visible){box-shadow:0 1px 24px #1c1c1c0a,0 0 0 0 transparent}[_nghost-%COMP%]:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 1px 24px #1c1c1c0a,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}[_nghost-%COMP%]{background-color:var(--kirby-inputs-background-color);color:var(--kirby-inputs-color);border:none;box-sizing:border-box;font-family:var(--kirby-font-family);font-size:1rem;line-height:1.5;outline:none;margin:0;-webkit-appearance:none;appearance:none;border-radius:16px;box-shadow:var(--kirby-inputs-elevation);padding:1em;width:100%}kirby-item[_nghost-%COMP%][_nghost-%COMP%], kirby-item [_nghost-%COMP%], .borderless[_nghost-%COMP%]{border-radius:0;box-shadow:none;padding-inline:0;width:auto}[_nghost-%COMP%]:disabled{background-color:var(--kirby-light-tint);color:var(--kirby-text-color-semi-dark);box-shadow:none}[_nghost-%COMP%]::placeholder{color:var(--kirby-inputs-placeholder-color)}@supports not (selector(::-webkit-date-and-time-value)){input[type=date][_nghost-%COMP%]::-webkit-date-and-time-value{min-height:1.5em;text-align:start}}@media (hover: hover){[_nghost-%COMP%]:not(:disabled):hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;background-color:#f5f5f5;cursor:text}}[_nghost-%COMP%]:not(:disabled):active, [_nghost-%COMP%]:not(:disabled).interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);background-color:#ebebeb}[_nghost-%COMP%]:not(:disabled){transition:all 80ms linear 0ms;transition-property:background-color}[_nghost-%COMP%]{position:relative;font-family:var(--kirby-font-family);resize:none}@media (min-width: 768px){[_nghost-%COMP%]{resize:vertical}}"],changeDetection:0})}return P})(),fi=(()=>{class P{get message(){return this._message}set message(ie){this._message=ie,this.setNestedInteractiveElementAttributes()}constructor(ie,B,ne,de,Ce,Ke){this.platform=B,this.renderer=ne,this.windowRef=de,this.resizeObserverService=Ce,this.cdr=Ke,this.isRegistered=!1,this.showDefaultCalendarIcon=!1,this._labelId=i.KA.scopedTo("kirby-form-field-label").next(),this._errorMessageId=i.KA.scopedTo("kirby-form-field-message").next(),this._messageId=i.KA.scopedTo("kirby-form-field-message").next(),this.element=ie.nativeElement}get _wrapContentInLabel(){return!(!this.label||!this.input&&!this.textarea)}dispatchLoadEvent(){this.windowRef.nativeWindow.document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.element}))}_onRegisterFormField(){this.dispatchLoadEvent()}onLabelClick(){this.radioGroupComponent?.focus()}focus(){this.nestedInteractiveElement&&(this.input||this.textarea)&&setTimeout(()=>{if(this.isTouch){const ie=new TouchEvent("touchstart"),B=new TouchEvent("touchend");this.nestedInteractiveElement.dispatchEvent(ie),this.nestedInteractiveElement.dispatchEvent(B)}else this.nestedInteractiveElement.focus()})}ngOnInit(){this.isTouch=this.platform.isTouch()}ngAfterContentInit(){this.input&&this.affixElements.forEach(ie=>{this.resizeObserverService.observe(ie.el,B=>{const ne="prefix"===ie.type?"padding-left":"padding-right",de="date"===this.input.nativeElement.type?0:B.contentRect.width,Ce=parseInt(f.Q.size("s"));this.renderer.setStyle(this.input.nativeElement,`${ne}`,`${de+Ce}px`)})})}ngAfterContentChecked(){this.nestedInteractiveElement||this.registerNestedInteractive(),!this.isRegistered&&this.element.isConnected&&(this.input||this.textarea)&&(this.isRegistered=!0,this.dispatchLoadEvent()),this.showDefaultCalendarIcon=this.shouldShowDefaultCalendarIcon()}ngOnDestroy(){this.windowRef.nativeWindow.document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.element})),this.affixElements.forEach(ie=>{this.resizeObserverService.unobserve(ie.el)}),this.nestedInteractiveErrorSubscription.unsubscribe()}registerNestedInteractive(){this.getNestedInteractiveElement(),this.setNestedInteractiveElementAttributes(),this.subscribeToNestedInteractiveError()}getNestedInteractiveElement(){this.nestedInteractiveElement=this.input?.nativeElement||this.textarea?.nativeElement||this.radioGroupElement?.nativeElement.querySelector("ion-radio-group")}setNestedInteractiveElementAttributes(){this.nestedInteractiveElement&&(this.message&&(this.renderer.setAttribute(this.nestedInteractiveElement,"aria-describedby",this._messageId),this.renderer.setAttribute(this.nestedInteractiveElement,"aria-errormessage",this._errorMessageId)),this.label&&this.radioGroupElement&&this.renderer.setAttribute(this.nestedInteractiveElement,"aria-labelledby",this._labelId))}subscribeToNestedInteractiveError(){const ie=this.inputComponent||this.textareaComponent||this.radioGroupComponent;this._nestedInteractiveHasError=!!ie?.hasError,this.nestedInteractiveErrorSubscription=ie?.hasErrorChange.subscribe(B=>{this._nestedInteractiveHasError=B,this.cdr.markForCheck()})}shouldShowDefaultCalendarIcon(){return this.dateInput?.useNativeDatePicker&&!this.affixElements.some(ie=>"suffix"===ie.type)}static#e=this.\u0275fac=function(B){return new(B||P)(n.rXU(n.aKT),n.rXU(i.fP),n.rXU(n.sFG),n.rXU(x.W),n.rXU(s.ke),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:P,selectors:[["kirby-form-field"]],contentQueries:function(B,ne,de){if(1&B&&(n.wni(de,hi,5),n.wni(de,g.Y2,5),n.wni(de,Ao,5),n.wni(de,eo,5),n.wni(de,g.Y2,5,n.aKT),n.wni(de,Ao,5,n.aKT),n.wni(de,eo,5,n.aKT),n.wni(de,To,5),n.wni(de,so,4)),2&B){let Ce;n.mGM(Ce=n.lsd())&&(ne.counter=Ce.first),n.mGM(Ce=n.lsd())&&(ne.radioGroupComponent=Ce.first),n.mGM(Ce=n.lsd())&&(ne.inputComponent=Ce.first),n.mGM(Ce=n.lsd())&&(ne.textareaComponent=Ce.first),n.mGM(Ce=n.lsd())&&(ne.radioGroupElement=Ce.first),n.mGM(Ce=n.lsd())&&(ne.input=Ce.first),n.mGM(Ce=n.lsd())&&(ne.textarea=Ce.first),n.mGM(Ce=n.lsd())&&(ne.dateInput=Ce.first),n.mGM(Ce=n.lsd())&&(ne.affixElements=Ce)}},hostBindings:function(B,ne){1&B&&n.bIt("kirbyRegisterFormField",function(){return ne._onRegisterFormField()})},inputs:{label:"label",message:"message"},standalone:!1,ngContentSelectors:rs,decls:11,vars:3,consts:[["messageTemplate",""],["slottedInputTemplate",""],["labelTextTemplate",""],["labelTemplate",""],[4,"ngIf"],[4,"ngTemplateOutlet"],["class","texts",4,"ngIf"],[1,"texts"],["class","message",3,"text",4,"ngIf"],["class","counter","aria-hidden","true",4,"ngIf"],[1,"message",3,"text"],["aria-hidden","true",1,"counter"],[1,"affix-container"],[1,"prefix","vertical-align","semi-dark-text"],[1,"suffix","vertical-align","semi-dark-text"],["name","calendar"],[1,"text"],[1,"text",3,"click","id"]],template:function(B,ne){1&B&&(n.NAR(Si),n.DNE(0,vi,4,3,"label",4)(1,Ps,2,1,"ng-container",4)(2,vs,4,3,"ng-container",4)(3,ws,1,1,"ng-template",null,0,n.C5r)(5,Rt,9,1,"ng-template",null,1,n.C5r)(7,Dt,1,1,"ng-template",null,2,n.C5r)(9,Jn,1,1,"ng-template",null,3,n.C5r)),2&B&&(n.Y8G("ngIf",ne._wrapContentInLabel),n.R7$(),n.Y8G("ngIf",!ne._nestedInteractiveHasError&&ne._wrapContentInLabel),n.R7$(),n.Y8G("ngIf",!ne._wrapContentInLabel))},dependencies:[_.bT,_.T3,dr.Rl,qo],styles:["[_nghost-%COMP%]{display:block;position:relative;margin-bottom:16px}kirby-item[_nghost-%COMP%], kirby-item [_nghost-%COMP%]{margin-bottom:0}.texts[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:2px 16px 0}.texts[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{flex:75%}.texts[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]:only-child{flex-basis:auto}.texts[_ngcontent-%COMP%] .counter[_ngcontent-%COMP%]{flex:25%;text-align:right}label[_ngcontent-%COMP%]{display:block}.text[_ngcontent-%COMP%]{display:block;font-size:14px;font-weight:300;line-height:20px;margin-bottom:8px;padding:0 16px}.affix-container[_ngcontent-%COMP%]{position:relative}.affix-container[_ngcontent-%COMP%] .vertical-align[_ngcontent-%COMP%]{display:flex;align-items:center;position:absolute;top:0;bottom:0}.affix-container[_ngcontent-%COMP%] .prefix[_ngcontent-%COMP%]{left:12px}.affix-container[_ngcontent-%COMP%] .suffix[_ngcontent-%COMP%]{right:12px}.affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >span, .affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >h1, .affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >h2, .affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >h3, .affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >h4, .affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >h5, .affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >h6, .affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >p, .affix-container[_ngcontent-%COMP%] .semi-dark-text[_ngcontent-%COMP%] >data{color:var(--kirby-text-color-semi-dark)}.affix-container[_ngcontent-%COMP%]:has(input[type=date]){--date-input-background-color: var(--kirby-inputs-background-color)}@media (hover: hover){.affix-container[_ngcontent-%COMP%]:has(input[type=date]):hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;--date-input-background-color: #e0e0e0}}.affix-container[_ngcontent-%COMP%]:has(input[type=date]):active, .affix-container[_ngcontent-%COMP%]:has(input[type=date]).interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--date-input-background-color: #cbcbcb}.affix-container[_ngcontent-%COMP%]:has(input[type=date]) .suffix[_ngcontent-%COMP%]:not(:empty){top:8px;bottom:8px;padding-inline-start:12px;pointer-events:none;background-color:var(--date-input-background-color);transition:all 80ms linear 0ms;transition-property:background-color}"],changeDetection:0})}return P})(),ti=(()=>{class P{set allowMinus(ie){this._allowMinus=ie||(this.min||0)<0}set disableGroupSeperator(ie){this._groupSeperatorDisabled=""===String(ie)||"true"===String(ie)}set maxlength(ie){this._maxlength=ie;const B=parseInt("9".repeat(ie));this.max=this.getMax(B),this.min=this.getMin(B)}constructor(ie,B){this.elementRef=ie,this.locale=B,this.precision=2,this.setMaxOnOverflow=!1,this.alignment="right",this.groupSeparator=(0,_.a)(this.locale,_.gz.Group),this.radixPoint=(0,_.a)(this.locale,_.gz.Decimal),this._allowMinus=!1,this.onChange=ne=>{}}ngOnInit(){this.elementRef.nativeElement.setAttribute("type","text"),this.elementRef.nativeElement.removeAttribute("maxlength"),this.initMask()}writeValue(ie){if(!this.inputmask)return;const B=String(ie).replace(".",this.radixPoint);this.inputmask.setValue(B)}registerOnChange(ie){this.onChange=ie}registerOnTouched(ie){}setDisabledState(ie){this.elementRef.nativeElement.disabled=ie}initMask(){new In("decimal",{groupSeparator:this._groupSeperatorDisabled?"":this.groupSeparator,radixPoint:this.radixPoint,digits:this._maxlength?0:this.precision,min:this.min,max:this.max,allowMinus:this._allowMinus,negationSymbol:{front:(0,_.a)(this.locale,_.gz.MinusSign),back:""},SetMaxOnOverflow:this.setMaxOnOverflow,showMaskOnFocus:!1,showMaskOnHover:!1,placeholder:"",rightAlign:"right"===this.alignment,onBeforeWrite:()=>{if(!this.inputmask)return;const ie=this.inputmask.unmaskedvalue();this.onChange(ie.replace(this.radixPoint,"."))}}).mask(this.elementRef.nativeElement),this.inputmask=this.elementRef.nativeElement.inputmask}getMax(ie){return void 0===this.max?ie:Math.min(this.max,ie)}getMin(ie){if(this.allowMinus)return ie=-Math.abs(ie),void 0===this.min?ie:-Math.abs(Math.max(this.min,ie))}static#e=this.\u0275fac=function(B){return new(B||P)(n.rXU(n.aKT),n.rXU(n.xe9))};static#t=this.\u0275dir=n.FsC({type:P,selectors:[["","kirby-decimal-mask",""]],inputs:{min:"min",max:"max",precision:"precision",setMaxOnOverflow:"setMaxOnOverflow",alignment:"alignment",allowMinus:"allowMinus",disableGroupSeperator:"disableGroupSeperator",maxlength:"maxlength"},features:[n.Jv_([{provide:Lr.kq,multi:!0,useExisting:P}])]})}return P})(),$i=(()=>{class P{static#e=this.\u0275fac=function(B){return new(B||P)};static#t=this.\u0275mod=n.$C({type:P});static#n=this.\u0275inj=n.G2t({imports:[_.MD,dr.op]})}return P})()},52375:(ft,Z,l)=>{"use strict";l.d(Z,{GC:()=>Ot,eg:()=>e,lZ:()=>At,mx:()=>Pt,vg:()=>On,w0:()=>wt});var n=l(54438),i=l(21413),f=l(29660),g=l(28287),s=l(8346),x=l(72882),_=l(60177),y=l(13339);const w=["titleElement"],M=["actionsElement"],I=[[["kirby-avatar"],["kirby-progress-circle"]],[["kirby-flag"]]],R=["kirby-avatar,kirby-progress-circle","kirby-flag"],H=It=>({$implicit:It});function K(It,tn){1&It&&(n.j41(0,"div",13),n.SdG(1),n.k0s())}function L(It,tn){1&It&&(n.qex(0),n.SdG(1,1),n.bVm())}function he(It,tn){1&It&&n.eu8(0)}function pe(It,tn){if(1&It&&(n.qex(0),n.j41(1,"div",16),n.DNE(2,he,1,0,"ng-container",17),n.k0s(),n.bVm()),2&It){const fn=n.XpG(2);n.R7$(2),n.Y8G("ngTemplateOutlet",fn.customFlagTemplate)}}function be(It,tn){if(1&It&&(n.j41(0,"div",14),n.DNE(1,L,2,0,"ng-container",15)(2,pe,3,1,"ng-container",15),n.k0s()),2&It){const fn=n.XpG();n.R7$(),n.Y8G("ngIf",!!fn.flag),n.R7$(),n.Y8G("ngIf",!!fn.customFlagTemplate)}}function Le(It,tn){1&It&&n.eu8(0)}function ye(It,tn){if(1&It){const fn=n.RV6();n.j41(0,"h1",18,1),n.bIt("click",function(jn){n.eBV(fn);const So=n.XpG();return n.Njj(So.onTitleClick(jn))}),n.EFF(2),n.DNE(3,Le,1,0,"ng-container",17),n.k0s()}if(2&It){const fn=n.XpG();n.AVh("clickable",!1!==fn.hasInteractiveTitle&&fn.titleClick.observed)("has-icon",!!fn.titleActionIconTemplate),n.R7$(2),n.SpI(" ",fn.title," "),n.R7$(),n.Y8G("ngTemplateOutlet",fn.titleActionIconTemplate)}}function je(It,tn){if(1&It&&(n.j41(0,"h1",19,1),n.EFF(2),n.k0s()),2&It){const fn=n.XpG();n.Y8G("kirbyFitHeading",fn.fitHeadingConfig),n.R7$(2),n.SpI(" ",fn.title," ")}}function ke(It,tn){if(1&It&&(n.j41(0,"span",22),n.EFF(1),n.k0s()),2&It){const fn=n.XpG(2);n.R7$(),n.JRh(fn.valueUnit)}}function De(It,tn){if(1&It&&(n.j41(0,"h3",20),n.EFF(1),n.DNE(2,ke,2,1,"span",21),n.k0s()),2&It){const fn=n.XpG();n.Y8G("kirbyFitHeading",fn.fitHeadingConfig),n.R7$(),n.JRh(fn.value),n.R7$(),n.Y8G("ngIf",!!fn.valueUnit)}}function Je(It,tn){1&It&&n.eu8(0)}function lt(It,tn){1&It&&n.eu8(0)}function Mt(It,tn){1&It&&n.eu8(0)}function Bt(It,tn){if(1&It&&(n.j41(0,"div",23),n.DNE(1,Mt,1,0,"ng-container",17),n.k0s()),2&It){const fn=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",fn.customSectionTemplate)}}function et(It,tn){1&It&&n.eu8(0)}function sn(It,tn){if(1&It&&(n.j41(0,"div",24,2),n.DNE(2,et,1,0,"ng-container",25),n.k0s()),2&It){const fn=n.XpG();n.AVh("emphasize",fn.emphasizeActions),n.R7$(2),n.Y8G("ngTemplateOutlet",fn.actionsTemplate)("ngTemplateOutletInjector",fn._actionGroupInjector)}}function tt(It,tn){if(1&It&&(n.j41(0,"span"),n.EFF(1),n.k0s()),2&It){const fn=tn.$implicit;n.R7$(),n.JRh(fn)}}function Ct(It,tn){if(1&It&&(n.j41(0,"div",27),n.DNE(1,tt,2,1,"span",28),n.k0s()),2&It){const fn=n.XpG().$implicit;n.R7$(),n.Y8G("ngForOf",fn)}}function Xe(It,tn){1&It&&n.DNE(0,Ct,2,1,"div",26),2&It&&n.Y8G("ngIf",!!tn.$implicit)}let e=(()=>{class It{static#e=this.\u0275fac=function(En){return new(En||It)};static#t=this.\u0275dir=n.FsC({type:It,selectors:[["","kirbyHeaderActions",""]],standalone:!1})}return It})(),On=(()=>{class It{static#e=this.\u0275fac=function(En){return new(En||It)};static#t=this.\u0275dir=n.FsC({type:It,selectors:[["","kirbyHeaderCustomSection",""]],standalone:!1})}return It})(),Pt=(()=>{class It{static#e=this.\u0275fac=function(En){return new(En||It)};static#t=this.\u0275dir=n.FsC({type:It,selectors:[["","kirbyHeaderTitleActionIcon",""]],standalone:!1})}return It})(),wt=(()=>{class It{static#e=this.\u0275fac=function(En){return new(En||It)};static#t=this.\u0275dir=n.FsC({type:It,selectors:[["","kirbyHeaderCustomFlag",""]],standalone:!1})}return It})(),At=(()=>{class It{get _subtitles1(){return Array.isArray(this.subtitle1)?this.subtitle1:[this.subtitle1]}get _subtitles2(){return Array.isArray(this.subtitle2)?this.subtitle2:[this.subtitle2]}onTitleClick(fn){this.titleClick.emit(fn)}constructor(fn){this.injector=fn,this.emphasizeActions=!1,this.titleClick=new n.bkB,this.title$=new i.B}ngOnInit(){this.actionGroupConfig={defaultVisibleActions:this.emphasizeActions?void 0:1},this._actionGroupInjector=n.zZn.create({providers:[{provide:f.F,useValue:this.actionGroupConfig}],parent:this.injector}),this.titleMaxLines>0&&(this.fitHeadingConfig={maxLines:this.titleMaxLines})}ngAfterContentInit(){this.avatar&&void 0===this.centered&&(this.centered=!0),this.centered&&(this.actionGroupConfig.isCondensed=!0)}ngOnChanges(fn){fn.title&&this.title$.next(fn.title.currentValue)}static#e=this.\u0275fac=function(En){return new(En||It)(n.rXU(n.zZn))};static#t=this.\u0275cmp=n.VBU({type:It,selectors:[["kirby-header"]],contentQueries:function(En,jn,So){if(1&En&&(n.wni(So,g.f,5),n.wni(So,x.Z,5),n.wni(So,s.q,5),n.wni(So,e,5,n.C4Q),n.wni(So,On,5,n.C4Q),n.wni(So,wt,5,n.C4Q),n.wni(So,Pt,5,n.C4Q)),2&En){let pt;n.mGM(pt=n.lsd())&&(jn.avatar=pt.first),n.mGM(pt=n.lsd())&&(jn.progressCircle=pt.first),n.mGM(pt=n.lsd())&&(jn.flag=pt.first),n.mGM(pt=n.lsd())&&(jn.actionsTemplate=pt.first),n.mGM(pt=n.lsd())&&(jn.customSectionTemplate=pt.first),n.mGM(pt=n.lsd())&&(jn.customFlagTemplate=pt.first),n.mGM(pt=n.lsd())&&(jn.titleActionIconTemplate=pt.first)}},viewQuery:function(En,jn){if(1&En&&(n.GBs(w,5,n.aKT),n.GBs(M,5,n.aKT)),2&En){let So;n.mGM(So=n.lsd())&&(jn.titleElement=So.first),n.mGM(So=n.lsd())&&(jn.actionsElement=So.first)}},hostVars:2,hostBindings:function(En,jn){2&En&&n.AVh("centered",jn.centered)},inputs:{centered:"centered",titleMaxLines:"titleMaxLines",emphasizeActions:"emphasizeActions",title:"title",value:"value",valueUnit:"valueUnit",subtitle1:"subtitle1",subtitle2:"subtitle2",hasInteractiveTitle:"hasInteractiveTitle"},outputs:{titleClick:"titleClick"},standalone:!1,features:[n.OA$],ngContentSelectors:R,decls:13,vars:15,consts:[["subTitleTemplate",""],["titleElement",""],["actionsElement",""],["class","avatar",4,"ngIf"],["class","flag",4,"ngIf"],[1,"container"],["class","title kirby-text-medium",3,"clickable","has-icon","click",4,"ngIf"],[1,"title-container"],["class","title",3,"kirbyFitHeading",4,"ngIf"],["class","value kirby-text-display-3",3,"kirbyFitHeading",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","custom-section",4,"ngIf"],["class","actions",3,"emphasize",4,"ngIf"],[1,"avatar"],[1,"flag"],[4,"ngIf"],[1,"custom-flag"],[4,"ngTemplateOutlet"],[1,"title","kirby-text-medium",3,"click"],[1,"title",3,"kirbyFitHeading"],[1,"value","kirby-text-display-3",3,"kirbyFitHeading"],["class","value-unit semi-dark-text",4,"ngIf"],[1,"value-unit","semi-dark-text"],[1,"custom-section"],[1,"actions"],[4,"ngTemplateOutlet","ngTemplateOutletInjector"],["class","subtitle kirby-text-small",4,"ngIf"],[1,"subtitle","kirby-text-small"],[4,"ngFor","ngForOf"]],template:function(En,jn){if(1&En&&(n.NAR(I),n.DNE(0,K,2,0,"div",3)(1,be,3,2,"div",4),n.j41(2,"div",5),n.DNE(3,ye,4,6,"h1",6),n.j41(4,"div",7),n.DNE(5,je,3,2,"h1",8)(6,De,3,3,"h3",9)(7,Je,1,0,"ng-container",10)(8,lt,1,0,"ng-container",10)(9,Bt,2,1,"div",11),n.k0s(),n.DNE(10,sn,3,4,"div",12),n.k0s(),n.DNE(11,Xe,1,1,"ng-template",null,0,n.C5r)),2&En){const So=n.sdS(12);n.Y8G("ngIf",!!jn.avatar||!!jn.progressCircle),n.R7$(),n.Y8G("ngIf",!!jn.flag||!!jn.customFlagTemplate),n.R7$(2),n.Y8G("ngIf",!!jn.title&&!!jn.value),n.R7$(2),n.Y8G("ngIf",!!jn.title&&!jn.value),n.R7$(),n.Y8G("ngIf",!!jn.value),n.R7$(),n.Y8G("ngTemplateOutlet",So)("ngTemplateOutletContext",n.eq3(11,H,jn._subtitles1)),n.R7$(),n.Y8G("ngTemplateOutlet",So)("ngTemplateOutletContext",n.eq3(13,H,jn._subtitles2)),n.R7$(),n.Y8G("ngIf",!!jn.customSectionTemplate),n.R7$(),n.Y8G("ngIf",!!jn.actionsTemplate)}},dependencies:[_.Sq,_.bT,_.T3,y.r2],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;margin-top:16px;margin-bottom:32px}@media (max-width: 767px){[_nghost-%COMP%]:has( > .avatar[_ngcontent-%COMP%] ){margin-top:8px}}@media (min-width: 768px){[_nghost-%COMP%]{margin-top:24px}}.container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;max-width:100%}.container[_ngcontent-%COMP%] > h1.title[_ngcontent-%COMP%]{margin-bottom:0}@media (min-width: 768px){[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has(>.actions){display:grid;grid-template-columns:auto max-content;column-gap:24px}[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has(>.actions) .title-container[_ngcontent-%COMP%]{grid-column-start:1}}.centered[_nghost-%COMP%]{align-items:center}.centered[_nghost-%COMP%] .container[_ngcontent-%COMP%]{align-items:center}.centered[_nghost-%COMP%] .container[_ngcontent-%COMP%] > h1.title[_ngcontent-%COMP%]{text-align:center}.centered[_nghost-%COMP%] .container[_ngcontent-%COMP%] > h1.title.has-icon[_ngcontent-%COMP%]{justify-content:center}.centered[_nghost-%COMP%] .title-container[_ngcontent-%COMP%]{align-items:center;text-align:center}@media (min-width: 768px){.centered[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has(>.actions){grid-template-columns:minmax(0,1fr) minmax(0,4fr) minmax(0,1fr);align-self:stretch}.centered[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has(>.actions) .actions[_ngcontent-%COMP%]{align-self:flex-start}.centered[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has(>.actions) > h1.title[_ngcontent-%COMP%], .centered[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has(>.actions) .title-container[_ngcontent-%COMP%]{grid-column-start:2}}.actions[_ngcontent-%COMP%]{margin-top:24px;margin-inline:8px}@media (max-width: 767px){.actions[_ngcontent-%COMP%]:not(.emphasize){display:none}}@media (min-width: 768px){[_nghost-%COMP%]:not(.single-column) .actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:0}}.avatar[_ngcontent-%COMP%], .flag[_ngcontent-%COMP%], .title-container[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] > h1.title[_ngcontent-%COMP%]{margin-inline:16px}.title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow:hidden;max-width:calc(100% - 32px)}.avatar[_ngcontent-%COMP%]{margin-bottom:16px}.flag[_ngcontent-%COMP%]{margin-bottom:4px}.flag[_ngcontent-%COMP%] .custom-flag[_ngcontent-%COMP%]{margin-block:4px}.title[_ngcontent-%COMP%]{margin-bottom:2px}.title.clickable[_ngcontent-%COMP%]{cursor:pointer}.title.has-icon[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.value[_ngcontent-%COMP%]{max-width:100%;margin-bottom:4px}.value-unit[_ngcontent-%COMP%]{font-weight:initial;color:var(--kirby-text-color-semi-dark);margin-left:4px;font-size:50%}.subtitle[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;column-gap:.25em}.subtitle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.custom-section[_ngcontent-%COMP%]{margin-top:8px}"],changeDetection:0})}return It})(),Ot=(()=>{class It{static#e=this.\u0275fac=function(En){return new(En||It)};static#t=this.\u0275mod=n.$C({type:It});static#n=this.\u0275inj=n.G2t({imports:[_.MD]})}return It})()},53715:(ft,Z,l)=>{"use strict";l.d(Z,{A4:()=>R,KA:()=>L,O0:()=>x,We:()=>w,aD:()=>pe,bg:()=>I,cO:()=>Le,ez:()=>be,fP:()=>M,ft:()=>_,wF:()=>K});var n=l(10467),i=l(19402),f=l(54438),g=l(35519),s=l(90617);const x=(ye,je,ke)=>{switch(ye?.nodeName){case void 0:case ke?.toUpperCase():return!1;case je.toUpperCase():return!0;default:return x(ye.parentElement,je,ke)}};function _(ye){return ye.closest("ion-modal")?.shadowRoot?.querySelector('[role="dialog"]')}function w(ye,je){const ke=new MutationObserver(De=>{De.filter(lt=>!function y(ye){if("characterData"===ye.type&&ye.target instanceof Comment)return!0;if("childList"===ye.type){for(let je=0;je0&&je()});return ke.observe(ye,{characterData:!0,childList:!0,subtree:!0}),()=>{ke.disconnect()}}let M=(()=>{class ye{constructor(ke){this.windowRef=ke}isTouch(){return this.windowRef.nativeWindow.matchMedia("(pointer: coarse)").matches}isPhabletOrBigger(){return this.windowRef.nativeWindow.matchMedia(`(min-width: ${i.Q.breakpoints.medium})`).matches}static#e=this.\u0275fac=function(De){return new(De||ye)(f.KVO(g.W))};static#t=this.\u0275prov=f.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const I=ye=>"type"in ye;function R(ye){let je;return null===ye?je=ye:ye instanceof Date?je=new Date(ye.getTime()):Array.isArray(ye)?(je=[],ye.forEach(ke=>{je.push(ke)}),je=je.map(ke=>R(ke))):"object"==typeof ye?(je={...ye},Object.keys(je).forEach(ke=>{je[ke]=R(je[ke])})):je=ye,je}function H(ye,je,ke={mergeArrays:!1}){const De=Je=>Je&&"object"==typeof Je;return[ye,je].reduce((Je,lt)=>(Object.keys(lt).forEach(Mt=>{const Bt=Je[Mt],et=lt[Mt];Je[Mt]=Array.isArray(Bt)&&Array.isArray(et)?ke.mergeArrays?Bt.concat(et):et:De(Bt)&&De(et)?H(Bt,et):et}),Je),{})}function K(...ye){return ye.filter(ke=>void 0!==ke).reduce((ke,De)=>H(ke,De))}class L{static#e=this.registry=new Map;constructor(je){this.scope=je,this.id=0}static scopedTo(je){let ke=L.registry.get(je);return ke||(ke=new L(je),L.registry.set(je,ke)),ke}next(){return`${this.scope}-${this.id++}`}}const he=Object.freeze({className:"kirby-line-clamp",lineClamp:"--line-clamp",lineHeight:"--line-height"});let pe=(()=>{class ye{constructor(ke){this.renderer=ke}setMaxLines(ke,De){this.renderer.setStyle(ke,he.lineClamp,De,f.czy.DashCase),this.renderer.addClass(ke,he.className)}setLineHeight(ke,De){this.renderer.setStyle(ke,he.lineHeight,De,f.czy.DashCase)}removeLineClamp(ke){this.renderer.removeClass(ke,he.className),this.renderer.removeStyle(ke,he.lineClamp),this.renderer.removeStyle(ke,he.lineHeight)}static#e=this.\u0275fac=function(De){return new(De||ye)(f.KVO(f.sFG))};static#t=this.\u0275prov=f.jDH({token:ye,factory:ye.\u0275fac})}return ye})();var be;!function(ye){let je;var ke;(ke=je=ye.Duration||(ye.Duration={}))[ke.QUICK=parseInt(i.Q.transitionDuration("quick"))]="QUICK",ke[ke.SHORT=parseInt(i.Q.transitionDuration("short"))]="SHORT",ke[ke.LONG=parseInt(i.Q.transitionDuration("long"))]="LONG",ke[ke.EXTRA_LONG=parseInt(i.Q.transitionDuration("extraLong"))]="EXTRA_LONG",ye.Easing=i.Q.transitionEasings()}(be||(be={}));let Le=(()=>{class ye{constructor(ke){this.renderer=ke}setPart(ke,De,Je){var lt=this;return(0,n.A)(function*(){yield customElements.whenDefined(De.nativeElement.localName);const Bt=(yield new Promise(et=>{(0,s.K6)(De.nativeElement,sn=>et(sn))})).shadowRoot.querySelector(Je);Bt&<.renderer.setAttribute(Bt,"part",ke)})()}static#e=this.\u0275fac=function(De){return new(De||ye)(f.KVO(f.sFG))};static#t=this.\u0275prov=f.jDH({token:ye,factory:ye.\u0275fac})}return ye})()},35043:(ft,Z,l)=>{"use strict";l.d(Z,{Rl:()=>M,lK:()=>w,o$:()=>s,op:()=>I,uF:()=>y});var n=l(54438),i=l(51272);const g={icons:(()=>{const H=new Intl.Collator("en");return[{name:"accounts-outline",svg:"accounts-outline.svg"},{name:"accounts",svg:"accounts.svg"},{name:"add",svg:"add.svg"},{name:"remove",svg:"remove.svg"},{name:"unsubscribe",svg:"unsubscribe.svg"},{name:"arrow-back",svg:"arrow-back.svg"},{name:"arrow-down",svg:"arrow-down.svg"},{name:"arrow-more",svg:"arrow-more.svg"},{name:"arrow-up",svg:"arrow-up.svg"},{name:"attach",svg:"attach.svg"},{name:"backspace",svg:"backspace.svg"},{name:"calendar",svg:"calendar.svg"},{name:"camera",svg:"camera.svg"},{name:"car",svg:"car.svg"},{name:"checkbox-outline",svg:"checkbox-outline.svg"},{name:"checkbox",svg:"checkbox.svg"},{name:"checkmark-selected",svg:"checkmark-selected.svg"},{name:"close",svg:"close.svg"},{name:"cog",svg:"cog.svg"},{name:"coinstack",svg:"coinstack.svg"},{name:"contact",svg:"contact.svg"},{name:"copy",svg:"copy.svg"},{name:"flag",svg:"flag.svg"},{name:"edit",svg:"edit.svg"},{name:"filter",svg:"filter.svg"},{name:"flash-off",svg:"flash-off.svg"},{name:"flash",svg:"flash.svg"},{name:"moneybag",svg:"moneybag.svg"},{name:"help",svg:"help.svg"},{name:"home",svg:"home.svg"},{name:"inbox",svg:"inbox.svg"},{name:"inbox-outline",svg:"inbox-outline.svg"},{name:"information",svg:"information.svg"},{name:"insurance",svg:"insurance.svg"},{name:"investment",svg:"investment.svg"},{name:"kirby",svg:"kirby.svg"},{name:"link",svg:"link.svg"},{name:"log-out",svg:"log-out.svg"},{name:"menu-outline",svg:"menu-outline.svg"},{name:"menu",svg:"menu.svg"},{name:"menu-no-decoration",svg:"menu-no-decoration.svg"},{name:"misc",svg:"misc.svg"},{name:"more",svg:"more.svg"},{name:"move",svg:"move.svg"},{name:"payment-card",svg:"payment-card.svg"},{name:"pension",svg:"pension.svg"},{name:"person-outline",svg:"person-outline.svg"},{name:"person",svg:"person.svg"},{name:"qr",svg:"QR.svg"},{name:"recurring",svg:"recurring.svg"},{name:"salary",svg:"salary.svg"},{name:"search",svg:"search.svg"},{name:"share",svg:"share.svg"},{name:"sort",svg:"sort.svg"},{name:"support",svg:"support.svg"},{name:"swap",svg:"swap.svg"},{name:"trash",svg:"trash.svg"},{name:"foreign-payment",svg:"foreign-payment.svg"},{name:"clock",svg:"clock.svg"},{name:"verify",svg:"verify.svg"},{name:"warning",svg:"warning.svg"},{name:"write-message",svg:"write-message.svg"},{name:"reorder",svg:"reorder.svg"},{name:"accident",svg:"accident.svg"},{name:"health",svg:"health.svg"},{name:"illness",svg:"illness.svg"},{name:"incapacity",svg:"incapacity.svg"},{name:"life",svg:"life.svg"},{name:"help-decoration",svg:"help-decoration.svg"},{name:"information-decoration",svg:"information-decoration.svg"},{name:"notification",svg:"notification.svg"},{name:"transfer-ownership",svg:"transfer-ownership.svg"},{name:"update",svg:"update.svg"},{name:"user-blocked",svg:"user-blocked.svg"},{name:"add-bank",svg:"add-bank.svg"},{name:"participants",svg:"participants.svg"},{name:"download",svg:"download.svg"},{name:"globe-transfer",svg:"globe-transfer.svg"},{name:"banknotes",svg:"banknotes.svg"},{name:"air-balloon",svg:"air-balloon.svg"},{name:"piggybank",svg:"piggybank.svg"},{name:"business",svg:"business.svg"},{name:"navigation",svg:"navigation.svg"},{name:"phone-device",svg:"phone-device.svg"},{name:"upload",svg:"upload.svg"},{name:"document",svg:"document.svg"},{name:"chat",svg:"chat.svg"},{name:"feedback",svg:"feedback.svg"},{name:"keyboard",svg:"keyboard.svg"},{name:"lock",svg:"lock.svg"},{name:"see",svg:"see.svg"},{name:"overview",svg:"overview.svg"},{name:"overview-outline",svg:"overview-outline.svg"},{name:"arrow-down-fill",svg:"arrow-down-fill.svg"},{name:"arrow-up-fill",svg:"arrow-up-fill.svg"},{name:"calculator",svg:"calculator.svg"},{name:"grid",svg:"grid.svg"},{name:"list",svg:"list.svg"},{name:"adjust",svg:"adjust.svg"},{name:"bs-logo",svg:"bs-logo.svg"},{name:"company",svg:"company.svg"},{name:"budget",svg:"budget.svg"},{name:"history",svg:"history.svg"},{name:"dot",svg:"dot.svg"},{name:"agreement",svg:"agreement.svg"},{name:"sunshine",svg:"sunshine.svg"},{name:"revert",svg:"revert.svg"},{name:"fees",svg:"fees.svg"},{name:"crossedeye",svg:"crossedeye.svg"},{name:"common",svg:"common.svg"},{name:"calendar-start",svg:"calendar-start.svg"},{name:"calendar-end",svg:"calendar-end.svg"},{name:"expand",svg:"expand.svg"},{name:"contract",svg:"contract.svg"},{name:"house",svg:"house.svg"},{name:"tractor",svg:"tractor.svg"},{name:"flower",svg:"flower.svg"},{name:"basket",svg:"basket.svg"},{name:"drag-drop",svg:"drag-drop.svg"},{name:"notification-fill",svg:"notification-fill.svg"},{name:"expense",svg:"expense.svg"},{name:"income",svg:"income.svg"},{name:"signed-document",svg:"signed-document.svg"}].sort((K,L)=>H.compare(K.name,L.name))})()},s=g.icons.map(R=>R.name),x="assets/kirby/icons/svg/",_=new n.nKC("BUILT_IN_ICONS_URL",{factory:()=>x});let y=(()=>{class R{constructor(K){this.builtInIconsUrl=K,this.iconRegistry=new Map,this.addDefaultIcons()}addIcon(K,L){this.iconRegistry.has(K)?console.warn(`Icon with name: "${K}" already exists`):this.iconRegistry.set(K,L)}addIcons(K){K?K.forEach(L=>{this.addIcon(L.name,L.svg)}):console.error("Icons not defined")}addDefaultIcons(){const K=this.builtInIconsUrl??x,L=K.endsWith("/")?K:K+"/";g.icons.forEach(({name:he,svg:pe})=>{this.addIcon(he,L+pe)})}getIcons(){return[...this.iconRegistry].map(K=>({name:K[0],svg:K[1]}))}getIcon(K){const L=this.iconRegistry.get(K);return L?{name:K,svg:L}:void 0}static#e=this.\u0275fac=function(L){return new(L||R)(n.KVO(_))};static#t=this.\u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();var w=function(R){return R.XS="xs",R.SM="sm",R.MD="md",R.LG="lg",R}(w||{});let M=(()=>{class R{get icon(){return this._icon}set icon(K){K||!this.name||(this.warnAboutMissingIcon(),K=this.defaultIcon)?K&&(this._icon=K):console.warn("Default icon was not found.")}warnAboutMissingIcon(){console.warn(`Icon with name "${this.name}" was not found. \nDo you have a typo in 'name' for a built-in icon or\nforgot to configure the custom icon through the 'IconRegistryService'?`)}constructor(K,L,he){this.iconRegistryService=K,this.elementRef=L,this.renderer=he,this.defaultIcon=this.iconRegistryService.getIcon("cog"),this._icon=this.icon=this.defaultIcon,this.element=this.elementRef.nativeElement}ngOnChanges(K){K.name&&K.name.currentValue&&(this.icon=this.iconRegistryService.getIcon(K.name.currentValue),this.setAriaHiddenIfNoLabel())}setAriaHiddenIfNoLabel(){this.element.hasAttribute("aria-label")||this.renderer.setAttribute(this.element,"aria-hidden","true")}static#e=this.\u0275fac=function(L){return new(L||R)(n.rXU(y),n.rXU(n.aKT),n.rXU(n.sFG))};static#t=this.\u0275cmp=n.VBU({type:R,selectors:[["kirby-icon"]],hostVars:4,hostBindings:function(L,he){2&L&&(n.HbH(he.size),n.AVh("kirby-icon",!0))},inputs:{size:"size",name:"name"},standalone:!1,features:[n.OA$],decls:1,vars:1,consts:[[3,"src"]],template:function(L,he){1&L&&n.nrm(0,"ion-icon",0),2&L&&n.Y8G("src",null==he.icon?null:he.icon.svg)},dependencies:[i.iq],styles:["[_nghost-%COMP%]{display:inline-flex;align-items:center;justify-content:center;font-size:var(--kirby-icon-font-size, 24px);margin-left:var(--kirby-icon-margin-left, unset);margin-right:var(--kirby-icon-margin-right, unset)}[_nghost-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentcolor;stroke:currentcolor}.xs[_nghost-%COMP%]{--kirby-icon-font-size: 16px}.sm[_nghost-%COMP%]{--kirby-icon-font-size: 24px}.md[_nghost-%COMP%]{--kirby-icon-font-size: 32px}.lg[_nghost-%COMP%]{--kirby-icon-font-size: 56px}.primary[_nghost-%COMP%]{color:var(--kirby-primary)}.secondary[_nghost-%COMP%]{color:var(--kirby-secondary)}.tertiary[_nghost-%COMP%]{color:var(--kirby-tertiary)}.success[_nghost-%COMP%]{color:var(--kirby-success)}.warning[_nghost-%COMP%]{color:var(--kirby-warning)}.danger[_nghost-%COMP%]{color:var(--kirby-danger)}.white-overlay[_nghost-%COMP%]{color:var(--kirby-white-overlay)}.light[_nghost-%COMP%]{color:var(--kirby-light)}.medium[_nghost-%COMP%]{color:var(--kirby-medium)}.dark[_nghost-%COMP%]{color:var(--kirby-dark)}.dark-overlay[_nghost-%COMP%]{color:var(--kirby-dark-overlay)}kirby-item[slot=start][_nghost-%COMP%], kirby-item [slot=start][_nghost-%COMP%]{margin-inline-end:8px}kirby-item[slot=end][_nghost-%COMP%], kirby-item [slot=end][_nghost-%COMP%]{margin-inline-start:8px}ion-tab-button[_nghost-%COMP%], ion-tab-button [_nghost-%COMP%]{pointer-events:none}"],changeDetection:0})}return R})(),I=(()=>{class R{static#e=this.\u0275fac=function(L){return new(L||R)};static#t=this.\u0275mod=n.$C({type:R});static#n=this.\u0275inj=n.G2t({imports:[i.iq]})}return R})()},67155:(ft,Z,l)=>{"use strict";l.d(Z,{_:()=>g});var n=l(60177),i=l(54438);const f=["*"];let g=(()=>{class s{constructor(){this.role="group"}static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["kirby-item-group"]],hostVars:1,hostBindings:function(y,w){2&y&&i.BMQ("role",w.role)},ngContentSelectors:f,decls:1,vars:0,template:function(y,w){1&y&&(i.NAR(),i.SdG(0))},dependencies:[n.MD],styles:["[_nghost-%COMP%]{display:block}"]})}return s})()},84584:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>M});var n=l(60177),i=l(54438),f=l(35043),g=l(51272);const s=["*"];function x(I,R){if(1&I&&i.nrm(0,"kirby-icon",6),2&I){const H=i.XpG(2).$implicit;i.Y8G("name",H.icon)}}function _(I,R){if(1&I){const H=i.RV6();i.j41(0,"ion-item-option",4),i.bIt("click",function(){i.eBV(H);const L=i.XpG().$implicit,he=i.XpG(2);return i.Njj(he.onSwipeActionClick(L))}),i.DNE(1,x,1,1,"kirby-icon",5),i.j41(2,"ion-label"),i.EFF(3),i.k0s()()}if(2&I){const H=i.XpG().$implicit;i.Y8G("ngClass",H.type),i.R7$(),i.Y8G("ngIf",void 0!==H.icon),i.R7$(2),i.JRh(H.title)}}function y(I,R){if(1&I&&(i.qex(0),i.DNE(1,_,4,3,"ion-item-option",3),i.bVm()),2&I){const H=R.$implicit;i.R7$(),i.Y8G("ngIf",!H.isDisabled)}}function w(I,R){if(1&I&&(i.j41(0,"ion-item-options",1),i.DNE(1,y,2,1,"ng-container",2),i.k0s()),2&I){const H=i.XpG();i.Y8G("side",H._side),i.R7$(),i.Y8G("ngForOf",H.swipeActions)}}let M=(()=>{class I{constructor(){this._side="start"}set side(H){this._side="left"===H?"start":"end"}get _hasSwipeActions(){return this.swipeActions?.length>0}onSwipeActionClick(H){H.onSelected(),this.itemSliding.close()}static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275cmp=i.VBU({type:I,selectors:[["kirby-item-sliding"]],viewQuery:function(K,L){if(1&K&&i.GBs(g.A7,7),2&K){let he;i.mGM(he=i.lsd())&&(L.itemSliding=he.first)}},inputs:{swipeActions:"swipeActions",side:"side"},ngContentSelectors:s,decls:3,vars:1,consts:[[3,"side",4,"ngIf"],[3,"side"],[4,"ngFor","ngForOf"],[3,"ngClass","click",4,"ngIf"],[3,"click","ngClass"],["slot","top",3,"name",4,"ngIf"],["slot","top",3,"name"]],template:function(K,L){1&K&&(i.NAR(),i.j41(0,"ion-item-sliding"),i.SdG(1),i.DNE(2,w,2,2,"ion-item-options",0),i.k0s()),2&K&&(i.R7$(2),i.Y8G("ngIf",L._hasSwipeActions))},dependencies:[f.op,f.Rl,n.MD,n.YU,n.Sq,n.bT,g.A7,g.CE,g.LU,g.he],styles:["ion-item-option.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}[_nghost-%COMP%]{display:block}ion-item-option[_ngcontent-%COMP%]{min-width:92px}"]})}return I})()},81365:(ft,Z,l)=>{"use strict";l.d(Z,{JA:()=>K,UF:()=>L,kA:()=>pe});var n=l(54438),i=l(11235),f=l(27037),g=l(57808),s=l(35043),x=l(60177),_=l(51272);const y=[[["","slot","outside"]],"*"],w=["[slot='outside']","*"];function M(be,Le){1&be&&(n.j41(0,"ion-reorder",4),n.nrm(1,"kirby-icon",5),n.k0s())}function I(be,Le){if(1&be&&(n.j41(0,"span",6),n.nrm(1,"kirby-icon",7),n.k0s()),2&be){const ye=n.XpG();n.R7$(),n.AVh("rotate",ye.rotateIcon&&("arrow-down"===ye.disclosure||"arrow-up"===ye.disclosure)),n.FS9("name",ye.disclosure)}}const R=["*"];var H=function(be){return be.XS="xs",be.SM="sm",be.MD="md",be}(H||{});let K=(()=>{class be{constructor(){this.size=H.MD,this.rotateIcon=!1}onMouseDown(ye){ye.currentTarget instanceof HTMLElement&&ye.currentTarget.closest("kirby-dropdown")&&ye.preventDefault()}get _renderAsButton(){return this.selectable&&!(this.checkbox||this.radio||this.toggle)}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275cmp=n.VBU({type:be,selectors:[["kirby-item"]],contentQueries:function(je,ke,De){if(1&je&&(n.wni(De,i.P,5,n.aKT),n.wni(De,f.v2,5,n.aKT),n.wni(De,g.a,5,n.aKT)),2&je){let Je;n.mGM(Je=n.lsd())&&(ke.checkbox=Je.first),n.mGM(Je=n.lsd())&&(ke.radio=Je.first),n.mGM(Je=n.lsd())&&(ke.toggle=Je.first)}},hostVars:8,hostBindings:function(je,ke){2&je&&(n.HbH(ke.size),n.AVh("disabled",ke.disabled)("selected",ke.selected)("disclosure",ke.disclosure))},inputs:{disabled:"disabled",selected:"selected",disclosure:"disclosure",selectable:"selectable",reorderable:"reorderable",size:"size",rotateIcon:"rotateIcon"},standalone:!1,ngContentSelectors:w,decls:6,vars:5,consts:[["lines","none",3,"mousedown","detail"],["slot","start",1,"outside"],["slot","end",4,"ngIf"],["class","disclosure","slot","end",4,"ngIf"],["slot","end"],["name","reorder"],["slot","end",1,"disclosure"],[3,"name"]],template:function(je,ke){1&je&&(n.NAR(y),n.j41(0,"ion-item",0),n.bIt("mousedown",function(Je){return ke.onMouseDown(Je)}),n.j41(1,"div",1),n.SdG(2),n.k0s(),n.SdG(3,1),n.DNE(4,M,2,0,"ion-reorder",2)(5,I,2,3,"span",3),n.k0s()),2&je&&(n.Y8G("detail",!1),n.BMQ("disabled",ke.disabled)("button",!!ke._renderAsButton||null),n.R7$(4),n.Y8G("ngIf",ke.reorderable),n.R7$(),n.Y8G("ngIf",ke.disclosure))},dependencies:[s.Rl,x.bT,_.uz,_.UB],styles:["[_nghost-%COMP%]{display:block;position:relative}.sm[_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-card.menu-popover [_nghost-%COMP%]:not([size]) ion-item[_ngcontent-%COMP%]{--min-height: 44px}.xs[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--min-height: 32px}.xs[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]:not(:has(kirby-checkbox,kirby-radio)){--inner-padding-top: 4px;--inner-padding-bottom: 4px}[_nghost-%COMP%] .outside[_ngcontent-%COMP%]{left:4px;margin:0;position:absolute;width:16px;z-index:1}@media (hover: hover) and (pointer: fine){ion-item[_ngcontent-%COMP%]:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){ion-item[_ngcontent-%COMP%]:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}ion-item[_ngcontent-%COMP%]:active, ion-item.ion-activated[_ngcontent-%COMP%]{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}ion-item[_ngcontent-%COMP%]{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: 16px;--inner-padding-top: 8px;--inner-padding-bottom: 8px;--inner-padding-end: 16px;--background: var(--kirby-item-background, var(--kirby-white));--background-activated-opacity: .99;--background-focused: var( --kirby-item-background-focused, var(--kirby-background-color) );--background-focused-opacity: 1;font-size:16px}@media screen and (orientation: landscape){ion-item[_ngcontent-%COMP%]{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item[_ngcontent-%COMP%] >[slot=end]{text-align:end}ion-item[_ngcontent-%COMP%] >[slot=end] kirby-label{text-align:start}ion-item[_ngcontent-%COMP%] >time[slot=end]{margin-inline-start:12px}ion-item[_ngcontent-%COMP%] >data[slot=end], ion-item[_ngcontent-%COMP%] >[detail][slot=end], ion-item[_ngcontent-%COMP%] >ion-reorder[slot=end]{margin-inline-start:16px}ion-item[_ngcontent-%COMP%] >h1, ion-item[_ngcontent-%COMP%] >h2, ion-item[_ngcontent-%COMP%] >h3, ion-item[_ngcontent-%COMP%] >h4, ion-item[_ngcontent-%COMP%] >h5, ion-item[_ngcontent-%COMP%] >h6, ion-item[_ngcontent-%COMP%] >data, ion-item[_ngcontent-%COMP%] >p{color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item[_ngcontent-%COMP%] >:where(p){font-size:14px;line-height:20px}ion-item[_ngcontent-%COMP%] >:where(.kirby-item-title), ion-item[_ngcontent-%COMP%] >:where(h1), ion-item[_ngcontent-%COMP%] >:where(h2), ion-item[_ngcontent-%COMP%] >:where(h3), ion-item[_ngcontent-%COMP%] >:where(h4), ion-item[_ngcontent-%COMP%] >:where(h5), ion-item[_ngcontent-%COMP%] >:where(h6), ion-item[_ngcontent-%COMP%] >:where(data){font-size:16px;line-height:24px;font-weight:400}ion-item[_ngcontent-%COMP%] >[subtitle], ion-item[_ngcontent-%COMP%] >[detail], ion-item[_ngcontent-%COMP%] >.kirby-item-subtitle, ion-item[_ngcontent-%COMP%] >.kirby-item-detail{font-size:12px;line-height:16px}ion-item[_ngcontent-%COMP%] >[subtitle]:not(:last-child), ion-item[_ngcontent-%COMP%] >.kirby-item-subtitle:not(:last-child){margin-bottom:4px}ion-item[_ngcontent-%COMP%] >[detail], ion-item[_ngcontent-%COMP%] >.kirby-item-detail{color:var(--kirby-text-color-semi-dark)}ion-item[_ngcontent-%COMP%] >[wrap], ion-item[_ngcontent-%COMP%] >.kirby-item-wrap{white-space:normal}ion-item[_ngcontent-%COMP%] >:not([slot]){width:100%}ion-item[_ngcontent-%COMP%] >input[slot=end], ion-item[_ngcontent-%COMP%] >kirby-form-field[slot=end] input{margin-inline-start:16px;width:auto;text-align:end}ion-item[_ngcontent-%COMP%]{--transition: background-color 80ms linear 0ms}ion-item[_ngcontent-%COMP%]:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item[_ngcontent-%COMP%]:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}.disclosure[_ngcontent-%COMP%]{padding-left:4px;color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure[_ngcontent-%COMP%] kirby-icon[_ngcontent-%COMP%]{transition:transform .2s}.disclosure[_ngcontent-%COMP%] kirby-icon.rotate[_ngcontent-%COMP%]{transform:rotate(180deg)}kirby-dropdown[_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-dropdown [_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-menu[_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-menu [_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-popover[_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-popover [_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--min-height: 44px}kirby-dropdown .focused[_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-dropdown .focused [_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-popover .focused[_nghost-%COMP%] ion-item[_ngcontent-%COMP%], kirby-popover .focused [_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--background: rgb(244.8, 244.8, 244.8)}.disabled[_nghost-%COMP%], [disabled][_nghost-%COMP%]{pointer-events:none}.selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h1, .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h2, .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h3, .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h4, .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h5, .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h6, .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >p, .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >data, kirby-list .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h1, kirby-list .selected [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h1, kirby-list .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h2, kirby-list .selected [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h2, kirby-list .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h3, kirby-list .selected [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h3, kirby-list .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h4, kirby-list .selected [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h4, kirby-list .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h5, kirby-list .selected [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h5, kirby-list .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h6, kirby-list .selected [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h6, kirby-list .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >p, kirby-list .selected [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >p, kirby-list .selected[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >data, kirby-list .selected [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >data{font-weight:700}.disclosure[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--inner-padding-end: 8px}.shape-rounded .is-single[_nghost-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded .is-single [_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--border-radius: 16px}.has-header .is-single[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]::part(native), .has-header .is-single [_nghost-%COMP%] ion-item[_ngcontent-%COMP%]::part(native){border-top-left-radius:0;border-top-right-radius:0}.has-footer .is-single[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]::part(native), .has-footer .is-single [_nghost-%COMP%] ion-item[_ngcontent-%COMP%]::part(native){border-bottom-left-radius:0;border-bottom-right-radius:0}.shape-rounded.has-sections .list-items kirby-list-item:first-of-type[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]::part(native), .shape-rounded.has-sections .list-items kirby-list-item:first-of-type [_nghost-%COMP%] ion-item[_ngcontent-%COMP%]::part(native){border-top-left-radius:16px;border-top-right-radius:16px}"],changeDetection:0})}return be})(),L=(()=>{class be{constructor(){this.direction="vertical"}get _direction(){return"horizontal"===this.direction}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275cmp=n.VBU({type:be,selectors:[["kirby-label"]],hostVars:2,hostBindings:function(je,ke){2&je&&n.AVh("horizontal",ke._direction)},inputs:{direction:"direction"},standalone:!1,ngContentSelectors:R,decls:2,vars:0,template:function(je,ke){1&je&&(n.NAR(),n.j41(0,"ion-label"),n.SdG(1),n.k0s())},dependencies:[_.he],styles:[".horizontal[_nghost-%COMP%] ion-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.horizontal[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >:not(:first-child){margin-left:12px}kirby-item[_nghost-%COMP%] ion-label >h1, kirby-item [_nghost-%COMP%] ion-label >h1, kirby-item[_nghost-%COMP%] ion-label >h2, kirby-item [_nghost-%COMP%] ion-label >h2, kirby-item[_nghost-%COMP%] ion-label >h3, kirby-item [_nghost-%COMP%] ion-label >h3, kirby-item[_nghost-%COMP%] ion-label >h4, kirby-item [_nghost-%COMP%] ion-label >h4, kirby-item[_nghost-%COMP%] ion-label >h5, kirby-item [_nghost-%COMP%] ion-label >h5, kirby-item[_nghost-%COMP%] ion-label >h6, kirby-item [_nghost-%COMP%] ion-label >h6, kirby-item[_nghost-%COMP%] ion-label >data, kirby-item [_nghost-%COMP%] ion-label >data, kirby-item[_nghost-%COMP%] ion-label >p, kirby-item [_nghost-%COMP%] ion-label >p{color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}kirby-item[_nghost-%COMP%] ion-label >:where(p), kirby-item [_nghost-%COMP%] ion-label >:where(p){font-size:14px;line-height:20px}kirby-item[_nghost-%COMP%] ion-label >:where(.kirby-item-title), kirby-item [_nghost-%COMP%] ion-label >:where(.kirby-item-title), kirby-item[_nghost-%COMP%] ion-label >:where(h1), kirby-item [_nghost-%COMP%] ion-label >:where(h1), kirby-item[_nghost-%COMP%] ion-label >:where(h2), kirby-item [_nghost-%COMP%] ion-label >:where(h2), kirby-item[_nghost-%COMP%] ion-label >:where(h3), kirby-item [_nghost-%COMP%] ion-label >:where(h3), kirby-item[_nghost-%COMP%] ion-label >:where(h4), kirby-item [_nghost-%COMP%] ion-label >:where(h4), kirby-item[_nghost-%COMP%] ion-label >:where(h5), kirby-item [_nghost-%COMP%] ion-label >:where(h5), kirby-item[_nghost-%COMP%] ion-label >:where(h6), kirby-item [_nghost-%COMP%] ion-label >:where(h6), kirby-item[_nghost-%COMP%] ion-label >:where(data), kirby-item [_nghost-%COMP%] ion-label >:where(data){font-size:16px;line-height:24px;font-weight:400}kirby-item[_nghost-%COMP%] ion-label >[subtitle], kirby-item [_nghost-%COMP%] ion-label >[subtitle], kirby-item[_nghost-%COMP%] ion-label >[detail], kirby-item [_nghost-%COMP%] ion-label >[detail], kirby-item[_nghost-%COMP%] ion-label >.kirby-item-subtitle, kirby-item [_nghost-%COMP%] ion-label >.kirby-item-subtitle, kirby-item[_nghost-%COMP%] ion-label >.kirby-item-detail, kirby-item [_nghost-%COMP%] ion-label >.kirby-item-detail{font-size:12px;line-height:16px}kirby-item[_nghost-%COMP%] ion-label >[subtitle]:not(:last-child), kirby-item [_nghost-%COMP%] ion-label >[subtitle]:not(:last-child), kirby-item[_nghost-%COMP%] ion-label >.kirby-item-subtitle:not(:last-child), kirby-item [_nghost-%COMP%] ion-label >.kirby-item-subtitle:not(:last-child){margin-bottom:4px}kirby-item[_nghost-%COMP%] ion-label >[detail], kirby-item [_nghost-%COMP%] ion-label >[detail], kirby-item[_nghost-%COMP%] ion-label >.kirby-item-detail, kirby-item [_nghost-%COMP%] ion-label >.kirby-item-detail{color:var(--kirby-text-color-semi-dark)}kirby-item[_nghost-%COMP%] ion-label >[wrap], kirby-item [_nghost-%COMP%] ion-label >[wrap], kirby-item[_nghost-%COMP%] ion-label >.kirby-item-wrap, kirby-item [_nghost-%COMP%] ion-label >.kirby-item-wrap{white-space:normal}kirby-section-header[_nghost-%COMP%] ion-label[_ngcontent-%COMP%], kirby-section-header [_nghost-%COMP%] ion-label[_ngcontent-%COMP%]{--padding-end: 16px;--padding-start: 16px}kirby-section-header[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[heading], kirby-section-header [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[heading]{font-weight:700;font-size:18px;line-height:24px;color:var(--kirby-section-header-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}kirby-section-header[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[detail], kirby-section-header [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[detail], kirby-section-header[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[label], kirby-section-header [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[label]{font-weight:300;font-size:14px;line-height:20px;color:var(--kirby-section-header-color);margin:4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}kirby-section-header[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[wrap], kirby-section-header [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[wrap]{white-space:normal}[slot=end][_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data, [slot=end][_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[detail]{margin-inline-start:16px}kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h1, kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h1, kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h2, kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h2, kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h3, kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h3, kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h4, kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h4, kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h5, kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h5, kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h6, kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h6, kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p:not([detail]):not(.kirby-item-detail), kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p:not([detail]):not(.kirby-item-detail), kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data:not([detail]):not(.kirby-item-detail), kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data:not([detail]):not(.kirby-item-detail){font-weight:700}"]})}return be})(),pe=(()=>{class be{static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275mod=n.$C({type:be});static#n=this.\u0275inj=n.G2t({imports:[s.op,x.MD,_.uz,_.UB,_.he]})}return be})()},19539:(ft,Z,l)=>{"use strict";l.d(Z,{J:()=>_,Z:()=>x});var n=l(54438),i=l(51272),f=l(90617),g=l(60177);const s=["*"];let x=(()=>{class y{ngAfterContentInit(){(0,f.K6)(this.ionAppElement.nativeElement,()=>{this.registerInputs()})}registerInputs(){setTimeout(()=>{document.querySelectorAll("kirby-form-field").forEach(I=>{I.dispatchEvent(new CustomEvent("kirbyRegisterFormField"))})},250)}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=n.VBU({type:y,selectors:[["kirby-app"]],viewQuery:function(I,R){if(1&I&&n.GBs(i.U1,7,n.aKT),2&I){let H;n.mGM(H=n.lsd())&&(R.ionAppElement=H.first)}},standalone:!1,ngContentSelectors:s,decls:2,vars:0,template:function(I,R){1&I&&(n.NAR(),n.j41(0,"ion-app"),n.SdG(1),n.k0s())},dependencies:[i.U1],styles:["[_nghost-%COMP%]{inset:0;position:absolute;contain:size layout style;z-index:0;overflow:hidden}"],changeDetection:0})}return y})(),_=(()=>{class y{static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275mod=n.$C({type:y});static#n=this.\u0275inj=n.G2t({imports:[g.MD,i.U1]})}return y})()},64317:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>_});var n=l(54438),i=l(45531),f=l(51272);const x={mode:"ios",...!(0,i.a)("hybrid")&&{navAnimation:()=>(new f.Hx).create()}};let _=(()=>{class y{static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275mod=n.$C({type:y});static#n=this.\u0275inj=n.G2t({providers:[(0,f._H)(x)]})}return y})()},29756:(ft,Z,l)=>{"use strict";l.d(Z,{HO:()=>_n,HV:()=>Qn,L9:()=>Zn,Pt:()=>Fn,Wi:()=>pn,bx:()=>Un,px:()=>cn,qN:()=>Vt,sB:()=>Cn,yr:()=>Bn});var n=l(54438),i=l(35519),f=l(21413),g=l(33726),s=l(56977),x=l(70152),_=l(5964),y=l(96354),w=l(51272),M=l(53715),I=l(60177),R=l(35043),H=l(90599);const K=[[["","outside",""]],"*"],L=["[outside]","*"],he=["*"],pe=Zt=>({$implicit:Zt});function be(Zt,vn){1&Zt&&n.eu8(0)}function Le(Zt,vn){1&Zt&&n.eu8(0)}function ye(Zt,vn){if(1&Zt&&n.nrm(0,"kirby-icon",10),2&Zt){const hn=n.XpG().$implicit,Tn=n.XpG(2).$implicit,uo=n.XpG();n.Y8G("name",uo._getSwipeActionIcon(hn,Tn))}}function je(Zt,vn){if(1&Zt){const hn=n.RV6();n.qex(0),n.j41(1,"ion-item-option",7),n.bIt("click",function(uo){const bo=n.eBV(hn).$implicit,_o=n.XpG(2).$implicit,gi=n.XpG();return n.Njj(gi._onSwipeActionSelect(bo,_o,uo))}),n.j41(2,"div",8),n.DNE(3,ye,1,1,"kirby-icon",9),n.j41(4,"ion-label"),n.EFF(5),n.k0s()()(),n.bVm()}if(2&Zt){const hn=vn.$implicit,Tn=n.XpG(2).$implicit,uo=n.XpG();n.R7$(),n.Y8G("ngClass",uo._getSwipeActionType(hn,Tn)),n.R7$(2),n.Y8G("ngIf",uo._getSwipeActionIcon(hn,Tn)),n.R7$(2),n.SpI(" ",uo._getSwipeActionTitle(hn,Tn)," ")}}function ke(Zt,vn){if(1&Zt&&(n.j41(0,"ion-item-options",4)(1,"div",5),n.DNE(2,je,6,3,"ng-container",6),n.k0s()()),2&Zt){const hn=n.XpG().$implicit,Tn=n.XpG();n.Y8G("side",Tn._getSwipeActionEnd(hn)),n.R7$(2),n.Y8G("ngForOf",Tn._getSwipeActions(hn))}}function De(Zt,vn){if(1&Zt&&n.DNE(0,ke,3,2,"ion-item-options",3),2&Zt){const hn=vn.$implicit,Tn=n.XpG();n.Y8G("ngIf",Tn._hasSwipeActions(hn))}}const Je=["list"];function lt(Zt,vn){1&Zt&&n.eu8(0)}function Mt(Zt,vn){if(1&Zt&&(n.j41(0,"ion-list-header"),n.DNE(1,lt,1,0,"ng-container",10),n.k0s()),2&Zt){const hn=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",hn.headerTemplate)}}function Bt(Zt,vn){1&Zt&&n.eu8(0)}function et(Zt,vn){1&Zt&&n.eu8(0)}function sn(Zt,vn){if(1&Zt&&(n.j41(0,"div",11),n.DNE(1,et,1,0,"ng-container",10),n.k0s()),2&Zt){const hn=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",hn.footerTemplate)}}function tt(Zt,vn){if(1&Zt&&(n.j41(0,"p",12),n.EFF(1),n.k0s()),2&Zt){const hn=n.XpG();n.R7$(),n.SpI(" ",hn.noMoreItemsText,"\n")}}function Ct(Zt,vn){1&Zt&&(n.j41(0,"div",13),n.nrm(1,"kirby-spinner"),n.k0s())}function Xe(Zt,vn){1&Zt&&n.eu8(0)}function e(Zt,vn){if(1&Zt&&(n.j41(0,"ion-item-divider"),n.DNE(1,Xe,1,0,"ng-container",6),n.k0s()),2&Zt){const hn=n.XpG().$implicit,Tn=n.XpG(2);n.R7$(),n.Y8G("ngTemplateOutlet",Tn.sectionHeaderTemplate)("ngTemplateOutletContext",n.eq3(2,pe,hn.name))}}function On(Zt,vn){1&Zt&&n.eu8(0)}function Pt(Zt,vn){if(1&Zt&&(n.j41(0,"div",18),n.DNE(1,On,1,0,"ng-container",6),n.k0s()),2&Zt){const hn=vn.$implicit,Tn=n.XpG(4),uo=n.sdS(10);n.Y8G("ngClass",Tn.standAloneClass()),n.R7$(),n.Y8G("ngTemplateOutlet",uo)("ngTemplateOutletContext",n.eq3(3,pe,hn))}}function wt(Zt,vn){if(1&Zt&&(n.qex(0),n.DNE(1,Pt,2,5,"div",17),n.bVm()),2&Zt){const hn=n.XpG().$implicit;n.R7$(),n.Y8G("ngForOf",hn.lists)}}function At(Zt,vn){1&Zt&&n.eu8(0)}function we(Zt,vn){if(1&Zt&&(n.j41(0,"div",18),n.DNE(1,At,1,0,"ng-container",6),n.k0s()),2&Zt){const hn=n.XpG().$implicit,Tn=n.XpG(2),uo=n.sdS(10);n.Y8G("ngClass",Tn.standAloneClass()),n.R7$(),n.Y8G("ngTemplateOutlet",uo)("ngTemplateOutletContext",n.eq3(3,pe,hn.items))}}function Ot(Zt,vn){if(1&Zt&&(n.j41(0,"ion-item-group",15),n.DNE(1,e,2,4,"ion-item-divider",5)(2,wt,2,1,"ng-container",16)(3,we,2,5,"ng-template",null,3,n.C5r),n.k0s()),2&Zt){const hn=n.sdS(4),Tn=n.XpG(2);n.Y8G("ngClass",Tn.standAloneClass()),n.R7$(),n.Y8G("ngIf",Tn._isSectionsEnabled),n.R7$(),n.Y8G("ngIf",Tn._isSectionsEnabled&&Tn._isStandAloneEnabled)("ngIfElse",hn)}}function It(Zt,vn){if(1&Zt&&n.DNE(0,Ot,5,4,"ion-item-group",14),2&Zt){const hn=n.XpG();n.Y8G("ngForOf",hn._groupedItems)("ngForTrackBy",hn.sectionTrackBy)}}function tn(Zt,vn){if(1&Zt){const hn=n.RV6();n.j41(0,"kirby-list-item",20),n.bIt("itemSelect",function(uo){n.eBV(hn);const bo=n.XpG(2);return n.Njj(bo.onItemSelect(uo))})("swipeActionSelect",function(uo){n.eBV(hn);const bo=n.XpG(2);return n.Njj(bo.onSwipeActionSelect(uo))}),n.k0s()}if(2&Zt){const hn=vn.$implicit,Tn=vn.index,uo=n.XpG().$implicit,bo=n.XpG();n.AVh("is-single",1===uo.length),n.Y8G("item",hn)("itemTemplate",bo.itemTemplate)("swipeActions",bo.swipeActions)("boundaryClass",bo._getBoundaryClass(Tn,uo))("isSelectable",bo._isSelectable)("getItemColor",bo.getItemColor)("isSelected",bo._isSelectable&&hn===bo._selectedItem)}}function fn(Zt,vn){if(1&Zt&&n.DNE(0,tn,1,9,"kirby-list-item",19),2&Zt){const hn=vn.$implicit,Tn=n.XpG();n.Y8G("ngForOf",hn)("ngForTrackBy",Tn.trackBy||Tn.defaultTrackBy)}}let So=(()=>{class Zt{constructor(hn,Tn,uo){this.elementRef=hn,this.windowRef=Tn,this.zone=uo,this.scrollEnd=new n.bkB,this.disabled=!1,this.scroll$=new f.B,this.ngUnsubscribe$=new f.B,this.offset=.8}ngAfterViewInit(){this.scroll$.pipe((0,s.Q)(this.ngUnsubscribe$),(0,x.B)(100),(0,_.p)(()=>!this.disabled),(0,_.p)(hn=>hn.elementHeight*(1-this.offset)>=hn.distanceToViewBottom-hn.viewHeight)).subscribe(()=>{this.scrollEnd.emit()}),setTimeout(()=>{const hn=this.elementRef.nativeElement.closest("ion-content");hn&&this.zone.runOutsideAngular(()=>{(0,g.R)(hn,"ionScroll").pipe((0,s.Q)(this.ngUnsubscribe$),(0,x.B)(100),(0,_.p)(()=>!this.disabled),(0,y.T)(()=>this.getScroll()),(0,_.p)(Tn=>Tn.elementHeight*(1-this.offset)>=Tn.distanceToViewBottom-Tn.viewHeight)).subscribe(()=>{this.zone.run(()=>this.scrollEnd.emit())})})})}onScroll(){if(this.disabled)return;const hn=this.getScroll();this.scroll$.next(hn)}ngOnDestroy(){this.ngUnsubscribe$.next(),this.ngUnsubscribe$.complete()}getScroll(){const Tn=this.elementRef.nativeElement.getBoundingClientRect();return{distanceToViewBottom:Tn.bottom,elementHeight:Tn.height,viewHeight:this.windowRef.nativeWindow.innerHeight}}static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)(n.rXU(n.aKT),n.rXU(i.W),n.rXU(n.SKi))};static#t=this.\u0275dir=n.FsC({type:Zt,selectors:[["","kirbyInfiniteScroll",""]],hostBindings:function(Tn,uo){1&Tn&&n.bIt("scroll",function(){return uo.onScroll()},!1,n.tSv)},inputs:{disabled:"disabled"},outputs:{scrollEnd:"scrollEnd"},standalone:!1})}return Zt})(),pt=(()=>{class Zt{ngOnChanges(){this.color=this.getColor()}getColor(){return this.kirbyListItemColor&&this.item?this.kirbyListItemColor(this.item):void 0}static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275dir=n.FsC({type:Zt,selectors:[["","kirbyListItemColor",""]],hostVars:2,hostBindings:function(Tn,uo){2&Tn&&n.HbH(uo.color)},inputs:{kirbyListItemColor:"kirbyListItemColor",item:"item"},standalone:!1,features:[n.OA$]})}return Zt})(),Nt=(()=>{class Zt{onLoadOnDemand(hn){hn.isLoadOnDemandEnabled&&!hn._isLoading&&(hn._isLoading=!0,hn.loadOnDemand.emit({complete:Tn=>{hn.isLoadOnDemandEnabled=!Tn,hn._isLoading=!1}}))}groupSections(hn,Tn){const uo=new Map;return hn.forEach(bo=>{const _o=Tn(bo),gi=uo.get(_o);gi?gi.push(bo):uo.set(_o,[bo])}),Array.from(uo).sort(([bo],[_o])=>bo.localeCompare(_o)).map(([bo,_o])=>({name:bo,items:_o}))}groupStandAloneItems(hn,Tn){return hn.reduce((bo,_o)=>{const gi=bo[bo.length-1],Go=gi[gi.length-1];return Go&&(_o[Tn]||Go[Tn])?bo.push([_o]):gi.push(_o),bo},[[]]).map(bo=>({items:bo}))}groupSectionsWithStandAloneItems(hn,Tn,uo){const bo=new Map;return hn.forEach(_o=>{const gi=Tn(_o);if(bo.has(gi)){const Go=bo.get(gi),zo=Go[Go.length-1];_o[uo]||zo[zo.length-1][uo]?Go.push([_o]):zo.push(_o)}else bo.set(gi,[[_o]])}),Array.from(bo).sort(([_o],[gi])=>_o.localeCompare(gi)).map(([_o,gi])=>({name:_o,lists:gi}))}static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275prov=n.jDH({token:Zt,factory:Zt.\u0275fac})}return Zt})(),Vt=(()=>{class Zt{closeAllSlidingItems(hn){(0,M.O0)(hn.target,"ion-item-option","ion-list")&&this.list.closeSlidingItems()}static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275cmp=n.VBU({type:Zt,selectors:[["kirby-list-experimental"]],viewQuery:function(Tn,uo){if(1&Tn&&n.GBs(w.nf,7),2&Tn){let bo;n.mGM(bo=n.lsd())&&(uo.list=bo.first)}},hostBindings:function(Tn,uo){1&Tn&&n.bIt("click",function(_o){return uo.closeAllSlidingItems(_o)})},standalone:!1,ngContentSelectors:L,decls:3,vars:0,consts:[[1,"rounded","shadow","first-item-padding","last-item-padding"]],template:function(Tn,uo){1&Tn&&(n.NAR(K),n.SdG(0),n.j41(1,"div",0),n.SdG(2,1),n.k0s())},styles:[".rounded[_ngcontent-%COMP%]{border-radius:16px;overflow:hidden}.shadow[_ngcontent-%COMP%]{box-shadow:0 1px 24px #1c1c1c0a}.first-item-padding[_ngcontent-%COMP%] > :first-child{--item-padding-top: 8px}.last-item-padding[_ngcontent-%COMP%] > :last-child{--item-padding-bottom: 8px}.first-item[_ngcontent-%COMP%]{border-top-left-radius:16px;border-top-right-radius:16px;overflow:hidden}.first-item[_ngcontent-%COMP%] > :first-child{--item-padding-top: 8px}.last-item[_ngcontent-%COMP%]{border-bottom-left-radius:16px;border-bottom-right-radius:16px;overflow:hidden}.last-item[_ngcontent-%COMP%] > :last-child{--item-padding-bottom: 8px}[_nghost-%COMP%]{display:block}"],changeDetection:0})}return Zt})(),cn=(()=>{class Zt{constructor(){}static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275cmp=n.VBU({type:Zt,selectors:[["kirby-list-header"]],standalone:!1,ngContentSelectors:he,decls:1,vars:0,template:function(Tn,uo){1&Tn&&(n.NAR(),n.SdG(0))},styles:["[_nghost-%COMP%]{background-color:transparent;display:flex;flex-direction:row;justify-content:space-between;width:100%;padding:24px}"],changeDetection:0})}return Zt})(),Fn=(()=>{class Zt{constructor(hn){this.platform=hn,this._isSwipingEnabled=!1,this.swipeActions=[],this.itemSelect=new n.bkB,this.swipeActionSelect=new n.bkB,this.initializeSwipeActions()}_onItemSelect(hn){this.isSelectable&&this.itemSelect.emit(hn)}_onSwipeActionSelect(hn,Tn,uo){this.swipeActionSelect.emit({swipeAction:hn,item:Tn,event:uo})}ngOnInit(){this.initializeSwipeActions()}ngAfterViewInit(){this.itemTemplate||console.warn("No item template was provided.")}_hasSwipeActions(hn){return!!Array.isArray(this.swipeActions)&&this.swipeActions.some(Tn=>!(Tn.isDisabled instanceof Function&&Tn.isDisabled(hn)||!0===Tn.isDisabled||"left"!==Tn.position&&"right"!==Tn.position))}_getSwipeActions(hn,Tn){return Array.isArray(this.swipeActions)?this.swipeActions.filter(uo=>!(this.isSwipeActionDisabled(uo,hn)||Tn&&uo.position!==Tn)):[]}isSwipeActionDisabled(hn,Tn){return!!(hn.isDisabled instanceof Function&&hn.isDisabled(Tn))||!0===hn.isDisabled}_getSwipeActionEnd(hn){return this._getSwipeActions(hn,"left").length?"start":"end"}_getSwipeActionIcon(hn,Tn){if(hn.icon)return hn.icon instanceof Function?hn.icon(Tn):hn.icon}_getSwipeActionTitle(hn,Tn){return hn.title instanceof Function?hn.title(Tn):hn.title}_getSwipeActionType(hn,Tn){return hn.type instanceof Function?hn.type(Tn):hn.type}initializeSwipeActions(){this.swipeActions&&this.swipeActions.length&&(this._isSwipingEnabled=this.platform.isTouch())}static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)(n.rXU(M.fP))};static#t=this.\u0275cmp=n.VBU({type:Zt,selectors:[["kirby-list-item"]],viewQuery:function(Tn,uo){if(1&Tn&&n.GBs(w.A7,5),2&Tn){let bo;n.mGM(bo=n.lsd())&&(uo.ionItemSliding=bo.first)}},inputs:{item:"item",boundaryClass:"boundaryClass",swipeActions:"swipeActions",itemTemplate:"itemTemplate",isSelected:"isSelected",isSelectable:"isSelectable",getItemColor:"getItemColor"},outputs:{itemSelect:"itemSelect",swipeActionSelect:"swipeActionSelect"},standalone:!1,decls:5,vars:14,consts:[["swipeActionsTemplate",""],["keyHandler","",3,"click","kirbyListItemColor","item","disabled","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"side",4,"ngIf"],[3,"side"],[1,"swipe-action"],[4,"ngFor","ngForOf"],[3,"click","ngClass"],[1,"item-content"],["size","sm",3,"name",4,"ngIf"],["size","sm",3,"name"]],template:function(Tn,uo){if(1&Tn){const bo=n.RV6();n.j41(0,"ion-item-sliding",1),n.bIt("click",function(){return n.eBV(bo),n.Njj(uo._onItemSelect(uo.item))}),n.DNE(1,be,1,0,"ng-container",2)(2,Le,1,0,"ng-container",2),n.k0s(),n.DNE(3,De,1,1,"ng-template",null,0,n.C5r)}if(2&Tn){const bo=n.sdS(4);n.AVh("selected",uo.isSelected),n.Y8G("kirbyListItemColor",uo.getItemColor)("item",uo.item)("disabled",!uo._isSwipingEnabled||null)("ngClass",uo.boundaryClass),n.R7$(),n.Y8G("ngTemplateOutlet",bo)("ngTemplateOutletContext",n.eq3(10,pe,uo.item)),n.R7$(),n.Y8G("ngTemplateOutlet",uo.itemTemplate)("ngTemplateOutletContext",n.eq3(12,pe,uo.item))}},dependencies:[I.YU,I.Sq,I.bT,I.T3,R.Rl,w.CE,w.A7,w.he,pt],styles:["ion-item-option.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}[_nghost-%COMP%]{display:block}.list[_ngcontent-%COMP%]{box-shadow:0 1px 24px #1c1c1c0a;background:transparent;contain:inherit;padding:0}ion-list-header[_ngcontent-%COMP%]{background-color:var(--kirby-white);border-bottom:1px solid var(--kirby-background-color);padding:0;text-transform:inherit;letter-spacing:inherit;font-weight:inherit;font-size:inherit;min-height:0;overflow:inherit}ion-item[_ngcontent-%COMP%]{--background: var(--kirby-white);--background-activated: var(--kirby-white-shade);--background-hover: var(--kirby-background-color);--background-focused: var(--kirby-background-color);--inner-border-width: 0;--ion-safe-area-right: 0;--min-height: 56px;--padding-bottom: 8px;--padding-end: 16px;--padding-start: 16px;--padding-top: 8px;display:flex;font-size:14px;min-height:56px;overflow:visible;width:100%}ion-item-sliding.item-sliding-active-slide[_ngcontent-%COMP%]{backface-visibility:hidden;transform:translateZ(0)}ion-item-sliding.light[_ngcontent-%COMP%]{--kirby-item-background: var(--kirby-light);--kirby-item-background-activated: var(--kirby-light-shade);--kirby-item-background-focused: var(--kirby-light-shade);--kirby-item-background-hover: var(--kirby-light-tint)}ion-item-sliding.light[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%]{--background: var(--kirby-light);--color: var(--kirby-light-contrast);--background-activated: var(--kirby-light-shade);--background-focused: var(--kirby-light-shade);--background-hover: var(--kirby-light-tint)}ion-item-group[_ngcontent-%COMP%]{margin-bottom:24px}ion-item-group[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}ion-item-divider[_ngcontent-%COMP%]{--inner-padding-end: 0;--color: unset;background-color:transparent;border-color:transparent;min-height:0;padding:0 16px 8px;font-weight:inherit}.footer[_ngcontent-%COMP%]{--kirby-inputs-background-color: var(--kirby-dark-overlay);--kirby-inputs-background-color-hover: var(--kirby-dark-overlay-10);--kirby-inputs-background-color-active: var(--kirby-dark-overlay-20);--kirby-inputs-color: var(--kirby-black);--kirby-inputs-indicator-background-color: var(--kirby-black);--kirby-inputs-indicator-color: var(--kirby-white);--kirby-inputs-placeholder-color: var(--kirby-semi-dark);--kirby-inputs-elevation: none;--kirby-divider-color: var(--kirby-background-color);background-color:var(--kirby-white);border-top:1px solid var(--kirby-background-color);display:flex;align-items:center;justify-content:space-between;width:100%}.no-more-items[_ngcontent-%COMP%], .loading[_ngcontent-%COMP%]{width:100%;padding:24px 0;text-align:center}.swipe-action[_ngcontent-%COMP%]{display:flex;color:var(--kirby-black);background-color:transparent}.swipe-action[_ngcontent-%COMP%] ion-item-option[_ngcontent-%COMP%]{height:100%;display:inline-block;text-align:center}.swipe-action[_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]{display:inline-grid;min-width:70px;flex-direction:column}.swipe-action[_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{--background: unset;--color: unset}ion-item-options[side=end][_ngcontent-%COMP%]{border-bottom-width:0}.has-sections[_nghost-%COMP%] .list[_ngcontent-%COMP%], .has-sections [_nghost-%COMP%] .list[_ngcontent-%COMP%], .has-stand-alone[_nghost-%COMP%] .list[_ngcontent-%COMP%], .has-stand-alone [_nghost-%COMP%] .list[_ngcontent-%COMP%]{box-shadow:none}.has-sections[_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .has-sections [_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .has-stand-alone[_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .has-stand-alone [_nghost-%COMP%] .list-items[_ngcontent-%COMP%]{box-shadow:0 1px 24px #1c1c1c0a;border-radius:16px}.has-sections[_nghost-%COMP%] .footer[_ngcontent-%COMP%], .has-sections [_nghost-%COMP%] .footer[_ngcontent-%COMP%], .has-stand-alone[_nghost-%COMP%] .footer[_ngcontent-%COMP%], .has-stand-alone [_nghost-%COMP%] .footer[_ngcontent-%COMP%]{background-color:transparent;border-top:none}.has-sections[_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%], .has-sections [_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%], .has-stand-alone[_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%], .has-stand-alone [_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%]{background-color:transparent;border-bottom:none}.shape-rounded[_nghost-%COMP%] .list[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] .list[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] .list-items[_ngcontent-%COMP%]{border-radius:16px}.shape-rounded[_nghost-%COMP%] ion-item.first[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item.first[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] ion-item-sliding.first[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item-sliding.first[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%]{border-top-left-radius:16px;border-top-right-radius:16px;-webkit-mask-image:radial-gradient(#fff,#000);mask-image:radial-gradient(#fff,#000)}.shape-rounded[_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%]:not(.has-sections) .has-header[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%]:not(.has-sections) .has-header[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%]:not(.has-sections) .has-header[_ngcontent-%COMP%] ion-item-sliding[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%]:not(.has-sections) .has-header[_ngcontent-%COMP%] ion-item-sliding[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.shape-rounded[_nghost-%COMP%] ion-item.last[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item.last[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] ion-item-sliding.last[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item-sliding.last[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] .footer[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] .footer[_ngcontent-%COMP%]{border-bottom-left-radius:16px;border-bottom-right-radius:16px;-webkit-mask-image:radial-gradient(#fff,#000);mask-image:radial-gradient(#fff,#000)}.shape-rounded[_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%]:not(.has-sections) .has-footer[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%]:not(.has-sections) .has-footer[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%]:not(.has-sections) .has-footer[_ngcontent-%COMP%] ion-item-sliding[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%]:not(.has-sections) .has-footer[_ngcontent-%COMP%] ion-item-sliding[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.shape-none[_nghost-%COMP%] .list[_ngcontent-%COMP%], .shape-none [_nghost-%COMP%] .list[_ngcontent-%COMP%], .shape-none[_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .shape-none [_nghost-%COMP%] .list-items[_ngcontent-%COMP%]{box-shadow:none;border-radius:unset;--kirby-item-background: transparent;--kirby-list-item-border-color: var(--kirby-medium)}kirby-card[_nghost-%COMP%], kirby-card [_nghost-%COMP%]{--kirby-list-item-border-color: var(--kirby-background-color)}.item-spacing[_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%], .item-spacing [_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%]{margin-bottom:16px}.item-spacing[_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .item-spacing [_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .item-spacing[_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%]:last-child, .item-spacing [_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.stand-alone-bottom-margin-xxxxxl[_ngcontent-%COMP%]{margin-bottom:72px}.stand-alone-bottom-margin-xxxxl[_ngcontent-%COMP%]{margin-bottom:64px}.stand-alone-bottom-margin-xxxl[_ngcontent-%COMP%]{margin-bottom:56px}.stand-alone-bottom-margin-xxl[_ngcontent-%COMP%]{margin-bottom:48px}.stand-alone-bottom-margin-xl[_ngcontent-%COMP%]{margin-bottom:40px}.stand-alone-bottom-margin-l[_ngcontent-%COMP%]{margin-bottom:32px}.stand-alone-bottom-margin-m[_ngcontent-%COMP%]{margin-bottom:24px}.stand-alone-bottom-margin-s[_ngcontent-%COMP%]{margin-bottom:16px}.stand-alone-bottom-margin-xs[_ngcontent-%COMP%]{margin-bottom:12px}.stand-alone-bottom-margin-xxs[_ngcontent-%COMP%]{margin-bottom:8px}.stand-alone-bottom-margin-xxxs[_ngcontent-%COMP%]{margin-bottom:4px}.stand-alone-bottom-margin-xxxxs[_ngcontent-%COMP%]{margin-bottom:2px}","[_nghost-%COMP%]{overflow:hidden}.has-divider[_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%]:not(.last), .has-divider [_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%]:not(.last){border-bottom:1px solid var(--kirby-list-item-border-color, var(--kirby-background-color))}"]})}return Zt})(),pn=(()=>{class Zt{static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275cmp=n.VBU({type:Zt,selectors:[["kirby-list-section-header"]],inputs:{title:"title"},standalone:!1,decls:3,vars:1,consts:[[1,"header"],[1,"kirby-text-small"]],template:function(Tn,uo){1&Tn&&(n.j41(0,"div",0)(1,"span",1),n.EFF(2),n.k0s()()),2&Tn&&(n.R7$(2),n.JRh(uo.title))},encapsulation:2,changeDetection:0})}return Zt})(),Un=(()=>{class Zt{static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275dir=n.FsC({type:Zt,selectors:[["","kirbyListItemTemplate",""]],standalone:!1})}return Zt})(),Zn=(()=>{class Zt{static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275dir=n.FsC({type:Zt,selectors:[["","kirbyListHeader",""],["","kirbyListHeaderTemplate",""]],standalone:!1})}return Zt})(),Bn=(()=>{class Zt{static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275dir=n.FsC({type:Zt,selectors:[["","kirbyListSectionHeader",""],["","kirbyListSectionHeaderTemplate",""]],standalone:!1})}return Zt})(),_n=(()=>{class Zt{static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275dir=n.FsC({type:Zt,selectors:[["","kirbyListFooter",""],["","kirbyListFooterTemplate",""]],standalone:!1})}return Zt})(),Cn=(()=>{class Zt{get isShapeRounded(){return"rounded"===this.shape}get isShapeNone(){return"none"===this.shape}constructor(hn){this.listHelper=hn,this.items=[],this.standAloneSpacing="xxs",this.showDivider=!0,this.markSelectedRow=!1,this.shape="rounded",this.loadOnDemand=new n.bkB,this.swipeActions=[],this.itemSelect=new n.bkB,this.disableSelectionHighlight=!1}ngOnInit(){this._isSelectable=this.itemSelect.observers.length>0,void 0===this.isLoadOnDemandEnabled&&(this.isLoadOnDemandEnabled=this.loadOnDemand.observers.length>0)}ngOnChanges(){this._isSectionsEnabled=!!this.getSectionName,this._isStandAloneEnabled=!!this.getStandAloneByProperty,this._isSectionsEnabled&&this._isStandAloneEnabled?this._groupedItems=this.listHelper.groupSectionsWithStandAloneItems(this.items,this.getSectionName,this.getStandAloneByProperty):this._isSectionsEnabled?this._groupedItems=this.listHelper.groupSections(this.items,this.getSectionName):this._isStandAloneEnabled&&(this._groupedItems=this.listHelper.groupStandAloneItems(this.items,this.getStandAloneByProperty))}_onLoadOnDemand(){this.listHelper.onLoadOnDemand(this)}defaultTrackBy(hn){return hn}sectionTrackBy(hn,Tn){return Tn.name}onItemSelect(hn){this.disableSelectionHighlight||(this._selectedItem=hn),this.itemSelect.emit(hn)}onSwipeActionSelect(hn){hn.swipeAction.onSelected(hn.item),this.list.closeSlidingItems(),hn.event.stopPropagation()}_getBoundaryClass(hn,Tn){return 0===hn?this.headerTemplate?null:1===Tn.length?["first","last"]:"first":hn===Tn.length-1?this.footerTemplate?null:"last":null}standAloneClass(){return this._isStandAloneEnabled?`stand-alone-bottom-margin-${this.standAloneSpacing}`:""}static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)(n.rXU(Nt))};static#t=this.\u0275cmp=n.VBU({type:Zt,selectors:[["kirby-list"]],contentQueries:function(Tn,uo,bo){if(1&Tn&&(n.wni(bo,Zn,5,n.C4Q),n.wni(bo,Bn,5,n.C4Q),n.wni(bo,_n,5,n.C4Q),n.wni(bo,Un,7,n.C4Q)),2&Tn){let _o;n.mGM(_o=n.lsd())&&(uo.headerTemplate=_o.first),n.mGM(_o=n.lsd())&&(uo.sectionHeaderTemplate=_o.first),n.mGM(_o=n.lsd())&&(uo.footerTemplate=_o.first),n.mGM(_o=n.lsd())&&(uo.itemTemplate=_o.first)}},viewQuery:function(Tn,uo){if(1&Tn&&(n.GBs(Je,7),n.GBs(So,5)),2&Tn){let bo;n.mGM(bo=n.lsd())&&(uo.list=bo.first),n.mGM(bo=n.lsd())&&(uo.scrollDirective=bo.first)}},hostVars:10,hostBindings:function(Tn,uo){2&Tn&&n.AVh("shape-rounded",uo.isShapeRounded)("shape-none",uo.isShapeNone)("item-spacing",uo.hasItemSpacing)("has-sections",uo._isSectionsEnabled)("has-stand-alone",uo._isStandAloneEnabled)},inputs:{items:"items",getItemColor:"getItemColor",getSectionName:"getSectionName",trackBy:"trackBy",getStandAloneByProperty:"getStandAloneByProperty",standAloneSpacing:"standAloneSpacing",noMoreItemsText:"noMoreItemsText",showDivider:"showDivider",markSelectedRow:"markSelectedRow",shape:"shape",hasItemSpacing:"hasItemSpacing",isLoadOnDemandEnabled:"isLoadOnDemandEnabled",swipeActions:"swipeActions",disableSelectionHighlight:"disableSelectionHighlight"},outputs:{loadOnDemand:"loadOnDemand",itemSelect:"itemSelect"},standalone:!1,features:[n.Jv_([Nt]),n.OA$],decls:11,vars:15,consts:[["list",""],["groupedListTemplate",""],["itemsTemplate",""],["groupedFlatList",""],["kirbyInfiniteScroll","",1,"list",3,"scrollEnd","disabled"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","footer",4,"ngIf"],["class","no-more-items",4,"ngIf"],["class","loading",4,"ngIf"],[4,"ngTemplateOutlet"],[1,"footer"],[1,"no-more-items"],[1,"loading"],[3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngClass"],[4,"ngIf","ngIfElse"],["class","list-items",3,"ngClass",4,"ngFor","ngForOf"],[1,"list-items",3,"ngClass"],[3,"item","itemTemplate","swipeActions","boundaryClass","isSelectable","getItemColor","isSelected","is-single","itemSelect","swipeActionSelect",4,"ngFor","ngForOf","ngForTrackBy"],[3,"itemSelect","swipeActionSelect","item","itemTemplate","swipeActions","boundaryClass","isSelectable","getItemColor","isSelected"]],template:function(Tn,uo){if(1&Tn){const bo=n.RV6();n.j41(0,"ion-list",4,0),n.bIt("scrollEnd",function(){return n.eBV(bo),n.Njj(uo._onLoadOnDemand())}),n.DNE(2,Mt,2,1,"ion-list-header",5)(3,Bt,1,0,"ng-container",6)(4,sn,2,1,"div",7),n.k0s(),n.DNE(5,tt,2,1,"p",8)(6,Ct,2,0,"div",9)(7,It,1,2,"ng-template",null,1,n.C5r)(9,fn,1,2,"ng-template",null,2,n.C5r)}if(2&Tn){const bo=n.sdS(8),_o=n.sdS(10);n.AVh("has-header",uo.headerTemplate)("has-footer",uo.footerTemplate)("has-divider",uo.showDivider),n.Y8G("disabled",!uo.isLoadOnDemandEnabled),n.R7$(2),n.Y8G("ngIf",uo.headerTemplate),n.R7$(),n.Y8G("ngTemplateOutlet",uo._isSectionsEnabled||uo._isStandAloneEnabled?bo:_o)("ngTemplateOutletContext",n.eq3(13,pe,uo.items)),n.R7$(),n.Y8G("ngIf",uo.footerTemplate),n.R7$(),n.Y8G("ngIf",!uo.isLoadOnDemandEnabled&&uo.noMoreItemsText),n.R7$(),n.Y8G("ngIf",uo._isLoading)}},dependencies:[I.YU,I.Sq,I.bT,I.T3,H.t,w.Dg,w.jh,w.nf,w.AF,Fn,So],styles:["ion-item-option.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}[_nghost-%COMP%]{display:block}.list[_ngcontent-%COMP%]{box-shadow:0 1px 24px #1c1c1c0a;background:transparent;contain:inherit;padding:0}ion-list-header[_ngcontent-%COMP%]{background-color:var(--kirby-white);border-bottom:1px solid var(--kirby-background-color);padding:0;text-transform:inherit;letter-spacing:inherit;font-weight:inherit;font-size:inherit;min-height:0;overflow:inherit}ion-item[_ngcontent-%COMP%]{--background: var(--kirby-white);--background-activated: var(--kirby-white-shade);--background-hover: var(--kirby-background-color);--background-focused: var(--kirby-background-color);--inner-border-width: 0;--ion-safe-area-right: 0;--min-height: 56px;--padding-bottom: 8px;--padding-end: 16px;--padding-start: 16px;--padding-top: 8px;display:flex;font-size:14px;min-height:56px;overflow:visible;width:100%}ion-item-sliding.item-sliding-active-slide[_ngcontent-%COMP%]{backface-visibility:hidden;transform:translateZ(0)}ion-item-sliding.light[_ngcontent-%COMP%]{--kirby-item-background: var(--kirby-light);--kirby-item-background-activated: var(--kirby-light-shade);--kirby-item-background-focused: var(--kirby-light-shade);--kirby-item-background-hover: var(--kirby-light-tint)}ion-item-sliding.light[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%]{--background: var(--kirby-light);--color: var(--kirby-light-contrast);--background-activated: var(--kirby-light-shade);--background-focused: var(--kirby-light-shade);--background-hover: var(--kirby-light-tint)}ion-item-group[_ngcontent-%COMP%]{margin-bottom:24px}ion-item-group[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}ion-item-divider[_ngcontent-%COMP%]{--inner-padding-end: 0;--color: unset;background-color:transparent;border-color:transparent;min-height:0;padding:0 16px 8px;font-weight:inherit}.footer[_ngcontent-%COMP%]{--kirby-inputs-background-color: var(--kirby-dark-overlay);--kirby-inputs-background-color-hover: var(--kirby-dark-overlay-10);--kirby-inputs-background-color-active: var(--kirby-dark-overlay-20);--kirby-inputs-color: var(--kirby-black);--kirby-inputs-indicator-background-color: var(--kirby-black);--kirby-inputs-indicator-color: var(--kirby-white);--kirby-inputs-placeholder-color: var(--kirby-semi-dark);--kirby-inputs-elevation: none;--kirby-divider-color: var(--kirby-background-color);background-color:var(--kirby-white);border-top:1px solid var(--kirby-background-color);display:flex;align-items:center;justify-content:space-between;width:100%}.no-more-items[_ngcontent-%COMP%], .loading[_ngcontent-%COMP%]{width:100%;padding:24px 0;text-align:center}.swipe-action[_ngcontent-%COMP%]{display:flex;color:var(--kirby-black);background-color:transparent}.swipe-action[_ngcontent-%COMP%] ion-item-option[_ngcontent-%COMP%]{height:100%;display:inline-block;text-align:center}.swipe-action[_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]{display:inline-grid;min-width:70px;flex-direction:column}.swipe-action[_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{--background: unset;--color: unset}ion-item-options[side=end][_ngcontent-%COMP%]{border-bottom-width:0}.has-sections[_nghost-%COMP%] .list[_ngcontent-%COMP%], .has-sections [_nghost-%COMP%] .list[_ngcontent-%COMP%], .has-stand-alone[_nghost-%COMP%] .list[_ngcontent-%COMP%], .has-stand-alone [_nghost-%COMP%] .list[_ngcontent-%COMP%]{box-shadow:none}.has-sections[_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .has-sections [_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .has-stand-alone[_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .has-stand-alone [_nghost-%COMP%] .list-items[_ngcontent-%COMP%]{box-shadow:0 1px 24px #1c1c1c0a;border-radius:16px}.has-sections[_nghost-%COMP%] .footer[_ngcontent-%COMP%], .has-sections [_nghost-%COMP%] .footer[_ngcontent-%COMP%], .has-stand-alone[_nghost-%COMP%] .footer[_ngcontent-%COMP%], .has-stand-alone [_nghost-%COMP%] .footer[_ngcontent-%COMP%]{background-color:transparent;border-top:none}.has-sections[_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%], .has-sections [_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%], .has-stand-alone[_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%], .has-stand-alone [_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%]{background-color:transparent;border-bottom:none}.shape-rounded[_nghost-%COMP%] .list[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] .list[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] .list-items[_ngcontent-%COMP%]{border-radius:16px}.shape-rounded[_nghost-%COMP%] ion-item.first[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item.first[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] ion-item-sliding.first[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item-sliding.first[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-list-header[_ngcontent-%COMP%]{border-top-left-radius:16px;border-top-right-radius:16px;-webkit-mask-image:radial-gradient(#fff,#000);mask-image:radial-gradient(#fff,#000)}.shape-rounded[_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%]:not(.has-sections) .has-header[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%]:not(.has-sections) .has-header[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%]:not(.has-sections) .has-header[_ngcontent-%COMP%] ion-item-sliding[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%]:not(.has-sections) .has-header[_ngcontent-%COMP%] ion-item-sliding[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.shape-rounded[_nghost-%COMP%] ion-item.last[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item.last[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] ion-item-sliding.last[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item-sliding.last[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%] .footer[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] .footer[_ngcontent-%COMP%]{border-bottom-left-radius:16px;border-bottom-right-radius:16px;-webkit-mask-image:radial-gradient(#fff,#000);mask-image:radial-gradient(#fff,#000)}.shape-rounded[_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%] ion-item-sliding[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%]:not(.has-sections) .has-footer[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%]:not(.has-sections) .has-footer[_ngcontent-%COMP%] ion-item[_ngcontent-%COMP%], .shape-rounded[_nghost-%COMP%]:not(.has-sections) .has-footer[_ngcontent-%COMP%] ion-item-sliding[_ngcontent-%COMP%], .shape-rounded [_nghost-%COMP%]:not(.has-sections) .has-footer[_ngcontent-%COMP%] ion-item-sliding[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.shape-none[_nghost-%COMP%] .list[_ngcontent-%COMP%], .shape-none [_nghost-%COMP%] .list[_ngcontent-%COMP%], .shape-none[_nghost-%COMP%] .list-items[_ngcontent-%COMP%], .shape-none [_nghost-%COMP%] .list-items[_ngcontent-%COMP%]{box-shadow:none;border-radius:unset;--kirby-item-background: transparent;--kirby-list-item-border-color: var(--kirby-medium)}kirby-card[_nghost-%COMP%], kirby-card [_nghost-%COMP%]{--kirby-list-item-border-color: var(--kirby-background-color)}.item-spacing[_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%], .item-spacing [_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%]{margin-bottom:16px}.item-spacing[_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .item-spacing [_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%] > ion-item[_ngcontent-%COMP%], .item-spacing[_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%]:last-child, .item-spacing [_nghost-%COMP%] .list[_ngcontent-%COMP%] kirby-list-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.stand-alone-bottom-margin-xxxxxl[_ngcontent-%COMP%]{margin-bottom:72px}.stand-alone-bottom-margin-xxxxl[_ngcontent-%COMP%]{margin-bottom:64px}.stand-alone-bottom-margin-xxxl[_ngcontent-%COMP%]{margin-bottom:56px}.stand-alone-bottom-margin-xxl[_ngcontent-%COMP%]{margin-bottom:48px}.stand-alone-bottom-margin-xl[_ngcontent-%COMP%]{margin-bottom:40px}.stand-alone-bottom-margin-l[_ngcontent-%COMP%]{margin-bottom:32px}.stand-alone-bottom-margin-m[_ngcontent-%COMP%]{margin-bottom:24px}.stand-alone-bottom-margin-s[_ngcontent-%COMP%]{margin-bottom:16px}.stand-alone-bottom-margin-xs[_ngcontent-%COMP%]{margin-bottom:12px}.stand-alone-bottom-margin-xxs[_ngcontent-%COMP%]{margin-bottom:8px}.stand-alone-bottom-margin-xxxs[_ngcontent-%COMP%]{margin-bottom:4px}.stand-alone-bottom-margin-xxxxs[_ngcontent-%COMP%]{margin-bottom:2px}"]})}return Zt})(),Qn=(()=>{class Zt{static#e=this.\u0275fac=function(Tn){return new(Tn||Zt)};static#t=this.\u0275mod=n.$C({type:Zt});static#n=this.\u0275inj=n.G2t({imports:[I.MD,R.op,H.O,w.Dg,w.jh,w.CE,w.A7,w.he,w.nf,w.AF]})}return Zt})()},36667:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>w,q:()=>M});var n=l(10467),i=l(54438),f=l(51272),g=l(90599),s=l(60177);const x=["*"],_=(I,R)=>({backdrop:I,"hide-content":R});function y(I,R){if(1&I&&(i.j41(0,"div",3),i.nrm(1,"kirby-spinner",4),i.k0s()),2&I){const H=i.XpG();i.Y8G("ngClass",i.l_i(1,_,H.showBackdrop&&!H.hideContent,H.hideContent))}}let w=(()=>{class I{constructor(H,K,L){this.loadingController=H,this.componentFactoryResolver=K,this.injector=L,this.ionLoading=null}showLoadingOverlay(H=!0,K=!1){var L=this;return(0,n.A)(function*(){if(!L.ionLoading){const he=["kirby-loading-overlay"];K&&he.push("kirby-loading-hide-content"),L.ionLoading=yield L.loadingController.create({cssClass:he,duration:0,message:null,showBackdrop:H||K,spinner:null});const pe=L.ionLoading.querySelector(".loading-wrapper"),be=document.createElement("kirby-spinner");L.componentFactoryResolver.resolveComponentFactory(g.t).create(L.injector,[],be),pe.appendChild(be),yield L.ionLoading.present()}})()}hideLoadingOverlay(){var H=this;return(0,n.A)(function*(){H.ionLoading&&(yield H.ionLoading.dismiss(),H.ionLoading=null)})()}static#e=this.\u0275fac=function(K){return new(K||I)(i.KVO(f.Xi),i.KVO(i.OM3),i.KVO(i.zZn))};static#t=this.\u0275prov=i.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})(),M=(()=>{class I{constructor(){this.isLoading=!0,this.showBackdrop=!0,this.hideContent=!1}static#e=this.\u0275fac=function(K){return new(K||I)};static#t=this.\u0275cmp=i.VBU({type:I,selectors:[["kirby-loading-overlay"]],inputs:{isLoading:"isLoading",showBackdrop:"showBackdrop",hideContent:"hideContent"},ngContentSelectors:x,decls:4,vars:1,consts:[[1,"overlay-wrapper"],["class","spinner-wrapper",3,"ngClass",4,"ngIf"],[1,"content-wrapper"],[1,"spinner-wrapper",3,"ngClass"],[1,"spinner"]],template:function(K,L){1&K&&(i.NAR(),i.j41(0,"div",0),i.DNE(1,y,2,4,"div",1),i.j41(2,"div",2),i.SdG(3),i.k0s()()),2&K&&(i.R7$(),i.Y8G("ngIf",L.isLoading))},dependencies:[g.O,g.t,s.MD,s.YU,s.bT],styles:["[_nghost-%COMP%]{display:block;min-height:32px}.overlay-wrapper[_ngcontent-%COMP%]{min-height:inherit;height:100%;width:100%;position:relative}.overlay-wrapper[_ngcontent-%COMP%] .spinner-wrapper[_ngcontent-%COMP%]{height:100%;width:100%;position:absolute;z-index:1001;display:flex;background:transparent;justify-content:center;place-items:center}.overlay-wrapper[_ngcontent-%COMP%] .spinner-wrapper.backdrop[_ngcontent-%COMP%]{background-color:#f6f6f6cc}.overlay-wrapper[_ngcontent-%COMP%] .spinner-wrapper.hide-content[_ngcontent-%COMP%]{background-color:#f6f6f6}.overlay-wrapper[_ngcontent-%COMP%] .spinner-wrapper[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{width:32px;height:32px}"],changeDetection:0})}return I})()},92585:(ft,Z,l)=>{"use strict";l.d(Z,{Z:()=>K});var n=l(60177),i=l(54438),f=l(81365),g=l(98990),s=l(35043),x=l(47008),_=l(65762),y=l(53715);const w=["buttonContainer"],M=["defaultButton"],I=[[["button","kirby-button",""]],[["kirby-item"]]],R=["button[kirby-button]","kirby-item"];function H(L,he){if(1&L&&(i.qex(0),i.j41(1,"button",5,1),i.nrm(3,"kirby-icon",6),i.k0s(),i.bVm()),2&L){const pe=i.XpG();i.R7$(),i.Y8G("id",pe.triggerButtonId)("size",pe.buttonSize)("disabled",pe.isDisabled)("attentionLevel",pe.attentionLevel),i.BMQ("aria-controls",pe.menuId),i.R7$(2),i.Y8G("name","more")}}let K=(()=>{class L{constructor(pe,be,Le,ye){this.cdr=pe,this.elementRef=be,this.zone=Le,this.renderer=ye,this.menuId=y.KA.scopedTo("kirby-menu").next(),this.triggerButtonId=y.KA.scopedTo("kirby-menu-trigger-button").next(),this.isDisabled=!1,this.buttonSize=x.M.MD,this.placement="bottom-start",this.attentionLevel="3",this.triggers=["click"],this.DOMPortalOutlet=this.elementRef.nativeElement.ownerDocument.body,this.autoPlacement=!1,this.closeOnSelect=!0,this.closeOnEscapeKey=!0,this.closeOnBackdrop=!0,this.shift=!0,this.floatingMenuIsShown=!1,this.FloatingOffset=_.sj,this.focusedIndex=-1}_onKeydown(pe){0!==this.kirbyItems.length?this.floatingMenuIsShown?this.handleKeyDownForOpenedMenu(pe):this.handleKeyDownForClosedMenu(pe):console.warn("[Kirby] No items found within menu")}preventDefaultAndStopImmediatePropagation(pe){pe.stopImmediatePropagation(),pe.preventDefault()}getFirstInteractiveElement(pe){return pe.querySelector("ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled])")}handleKeyDownForClosedMenu(pe){switch(pe.key){case" ":case"Enter":case"ArrowDown":this.preventDefaultAndStopImmediatePropagation(pe),this.focusedIndex=0,this.floatingMenu.show(),this.focusItem();break;case"ArrowUp":this.preventDefaultAndStopImmediatePropagation(pe),this.focusedIndex=this.kirbyItems.length-1,this.floatingMenu.show(),this.focusItem()}}isPrintableCharacter(pe){return 1===pe.length&&pe.match(/\S/)}handleKeyDownForOpenedMenu(pe){const be=pe.key;switch(be){case"ArrowDown":this.preventDefaultAndStopImmediatePropagation(pe),this.focusedIndex===this.kirbyItems.length-1?this.focusedIndex=0:this.focusedIndex++,this.focusItem();break;case"ArrowUp":this.preventDefaultAndStopImmediatePropagation(pe),0===this.focusedIndex?this.focusedIndex=this.kirbyItems.length-1:this.focusedIndex--,this.focusItem();break;case"Home":this.preventDefaultAndStopImmediatePropagation(pe),this.focusedIndex>0&&(this.focusedIndex=0,this.focusItem());break;case"End":this.preventDefaultAndStopImmediatePropagation(pe),this.focusedIndex-1&&(this.focusedIndex=Le,this.focusItem())}}}getIndexOfItemByFirstCharacter(pe){return this.getIndexByFirstMatchingStartString(pe,this.kirbyItems.map(be=>be.nativeElement.innerText),this.focusedIndex+1)}getIndexByFirstMatchingStartString(pe,be,Le){pe=pe.toLowerCase();const ye=be.map((De,Je)=>({word:De.toLowerCase(),index:Je})).filter(De=>De.word.startsWith(pe));if(0===ye.length)return-1;const je=ye[0];return ye.find(De=>De.index>=Le)?.index??je.index}focusItem(){const be=this.kirbyItems.get(this.focusedIndex).nativeElement.querySelector("ion-item"),Le=this.getFirstInteractiveElement(be);"function"==typeof Le?.setFocus?Le.setFocus():this.focusSelectableItem(be)}focusSelectableItem(pe){pe.shadowRoot.querySelector("button:not([disabled])")?.focus()}getTriggerButton(){return(this.userProvidedButton??this.defaultButtonElement).nativeElement}ngAfterViewInit(){this.cdr.detectChanges(),this.zone.runOutsideAngular(()=>{this.scrollListenerDisposeFn=this.renderer.listen(document,"ionScroll",()=>{this.floatingMenu.hide()})})}ngAfterContentInit(){this.setRoleAttributeForAllItems(),this.setUserProvidedButtonAriaAttributes(),this.ensureSelectableOnItems()}ensureSelectableOnItems(){this.kirbyItemComponents.forEach(pe=>{void 0===pe.selectable&&(pe.selectable=!0)})}setRoleAttributeForAllItems(){this.kirbyItems.forEach(pe=>{this.setRoleAttributeForItem(pe.nativeElement)})}setRoleAttributeForItem(pe){let be="menuitem";pe.matches(":has(kirby-toggle, kirby-checkbox)")?be="menuitemcheckbox":pe.matches(":has(kirby-radio)")&&(be="menuitemradio"),this.renderer.setAttribute(pe,"role",be)}menuVisibilityChanged(pe){this.floatingMenuIsShown=pe,this.renderer.setAttribute(this.getTriggerButton(),"aria-expanded",pe.toString()),pe||(this.focusedIndex=-1,this.getTriggerButton().focus())}setUserProvidedButtonAriaAttributes(){if(!this.userProvidedButton)return;const pe=this.userProvidedButton.nativeElement;pe.id?this.triggerButtonId=pe.id:this.renderer.setAttribute(pe,"id",this.triggerButtonId),pe.getAttribute("aria-controls")||this.renderer.setAttribute(pe,"aria-controls",this.menuId),pe.getAttribute("aria-haspopup")||this.renderer.setAttribute(pe,"aria-haspopup","true")}ngOnDestroy(){this.scrollListenerDisposeFn?.()}static#e=this.\u0275fac=function(be){return new(be||L)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(i.sFG))};static#t=this.\u0275cmp=i.VBU({type:L,selectors:[["kirby-menu"]],contentQueries:function(be,Le,ye){if(1&be&&(i.wni(ye,x.Q,5,i.aKT),i.wni(ye,f.JA,4,i.aKT),i.wni(ye,f.JA,4)),2&be){let je;i.mGM(je=i.lsd())&&(Le.userProvidedButton=je.first),i.mGM(je=i.lsd())&&(Le.kirbyItems=je),i.mGM(je=i.lsd())&&(Le.kirbyItemComponents=je)}},viewQuery:function(be,Le){if(1&be&&(i.GBs(w,5,i.aKT),i.GBs(M,5,i.aKT),i.GBs(_.G0,5)),2&be){let ye;i.mGM(ye=i.lsd())&&(Le.buttonContainerElement=ye.first),i.mGM(ye=i.lsd())&&(Le.defaultButtonElement=ye.first),i.mGM(ye=i.lsd())&&(Le.floatingMenu=ye.first)}},hostBindings:function(be,Le){1&be&&i.bIt("keydown",function(je){return Le._onKeydown(je)})},inputs:{isDisabled:"isDisabled",buttonSize:"buttonSize",placement:"placement",attentionLevel:"attentionLevel",triggers:"triggers",DOMPortalOutlet:"DOMPortalOutlet",portalOutletConfig:"portalOutletConfig",autoPlacement:"autoPlacement",closeOnSelect:"closeOnSelect",closeOnEscapeKey:"closeOnEscapeKey",closeOnBackdrop:"closeOnBackdrop",shift:"shift",minWidth:"minWidth"},ngContentSelectors:R,decls:6,vars:17,consts:[["buttonContainer",""],["defaultButton",""],[1,"button-container"],[4,"ngIf"],["kirbyFloating","","role","menu",1,"menu-popover",3,"keydown","displayChanged","id","strategy","reference","isDisabled","triggers","placement","DOMPortalOutlet","portalOutletConfig","closeOnBackdrop","closeOnEscapeKey","closeOnSelect","autoPlacement","shift"],["kirby-button","","type","button","aria-haspopup","true","aria-expanded","false",3,"id","size","disabled","attentionLevel"],[3,"name"]],template:function(be,Le){if(1&be){const ye=i.RV6();i.NAR(I),i.j41(0,"div",2,0),i.SdG(2),i.DNE(3,H,4,6,"ng-container",3),i.k0s(),i.j41(4,"kirby-card",4),i.bIt("keydown",function(ke){return i.eBV(ye),i.Njj(Le._onKeydown(ke))})("displayChanged",function(ke){return i.eBV(ye),i.Njj(Le.menuVisibilityChanged(ke))}),i.SdG(5,1),i.k0s()}2&be&&(i.R7$(3),i.Y8G("ngIf",!Le.userProvidedButton),i.R7$(),i.xc7("min-width",Le.minWidth?Le.minWidth+"px":null),i.Y8G("id",Le.menuId)("strategy","fixed")("reference",Le.buttonContainerElement)("isDisabled",Le.isDisabled)("triggers",Le.triggers)("placement",Le.placement)("DOMPortalOutlet",Le.DOMPortalOutlet)("portalOutletConfig",Le.portalOutletConfig)("closeOnBackdrop",Le.closeOnBackdrop)("closeOnEscapeKey",Le.closeOnEscapeKey)("closeOnSelect",Le.closeOnSelect)("autoPlacement",Le.autoPlacement)("shift",Le.shift),i.BMQ("aria-labelledby",Le.triggerButtonId))},dependencies:[x.Q,n.MD,n.bT,_.G0,s.op,s.Rl,g.Dw,g.ib,f.kA],styles:["[_nghost-%COMP%]{position:relative}.button-container[_ngcontent-%COMP%]{display:inline-block}kirby-card[_ngcontent-%COMP%]{max-height:352px;overflow-y:auto;box-shadow:0 0 5px #1c1c1c0a,0 10px 15px -10px #1c1c1c26;min-width:240px;max-width:460px}"],changeDetection:0})}return L})()},81443:(ft,Z,l)=>{"use strict";l.d(Z,{vL:()=>Cn,_T:()=>Qt,Cy:()=>Nn,l4:()=>Qn,vr:()=>bo,PI:()=>uo,fz:()=>Pr,aF:()=>Zt,Fo:()=>Yi,zf:()=>Gi,W3:()=>Ji,v3:()=>Tn,mr:()=>vn,cG:()=>hn,s$:()=>no,Sl:()=>zi,zk:()=>_n,WY:()=>zo});var n=l(10467),i=l(54438),f=l(47868),g=l(9350),s=l(47707);function x(Vn,mn){const ze="object"==typeof mn;return new Promise((at,Ft)=>{const In=new s.Ms({next:fo=>{at(fo),In.unsubscribe()},error:Ft,complete:()=>{ze?at(mn.defaultValue):Ft(new g.G)}});Vn.subscribe(In)})}var _=l(983),y=l(7673),w=l(21413),M=l(26365),I=l(58750),R=l(9326),H=l(86648),L=l(5964),he=l(99172),pe=l(96354),be=l(13946),Le=l(39974),ye=l(54360),je=l(85343),De=l(56977),Je=l(70152),lt=l(61594),Mt=l(51272),Bt=l(90555),et=l(60177),sn=l(47008),tt=l(98990),Ct=l(35519),Xe=l(35043),e=l(13339),On=l(49711),Pt=l(53715),wt=l(19402),At=l(64317);function we(Vn,mn){if(1&Vn&&i.nrm(0,"kirby-card-header",3),2&Vn){const ze=i.XpG();i.Y8G("title",ze.header)("isTitleBold",!0)("subtitle",ze.subheader)}}function Ot(Vn,mn){if(1&Vn){const ze=i.RV6();i.j41(0,"button",4),i.bIt("click",function(){const Ft=i.eBV(ze).$implicit,In=i.XpG();return i.Njj(In.onItemSelect(Ft))}),i.EFF(1),i.k0s()}if(2&Vn){const ze=mn.$implicit;i.Y8G("noDecoration",!0),i.R7$(),i.SpI(" ",ze.text," ")}}function It(Vn,mn){if(1&Vn){const ze=i.RV6();i.j41(0,"button",5),i.bIt("click",function(){i.eBV(ze);const Ft=i.XpG();return i.Njj(Ft.onCancel())}),i.EFF(1),i.k0s()}if(2&Vn){const ze=i.XpG();i.R7$(),i.SpI(" ",ze.cancelButtonText,"\n")}}const tn=["alertWrapper"];function fn(Vn,mn){if(1&Vn){const ze=i.RV6();i.j41(0,"button",5),i.bIt("click",function(){i.eBV(ze);const Ft=i.XpG();return i.Njj(Ft.onCancel())}),i.EFF(1),i.k0s()}if(2&Vn){const ze=i.XpG();i.R7$(),i.SpI(" ",ze.cancelBtn," ")}}const En=["contentTitle"];function jn(Vn,mn){if(1&Vn){const ze=i.RV6();i.j41(0,"ion-buttons",11)(1,"button",12),i.bIt("click",function(Ft){i.eBV(ze);const In=i.XpG();return i.Njj(In.config.drawerSupplementaryAction.action(Ft))}),i.nrm(2,"kirby-icon",13),i.k0s()()}if(2&Vn){const ze=i.XpG();i.R7$(2),i.Y8G("name",ze.config.drawerSupplementaryAction.iconName)}}function So(Vn,mn){1&Vn&&(i.j41(0,"ion-header",14)(1,"ion-toolbar"),i.nrm(2,"span",15,0),i.k0s()())}function pt(Vn,mn){1&Vn&&i.eu8(0)}function Nt(Vn,mn){1&Vn&&i.eu8(0)}function Vt(Vn,mn){1&Vn&&i.eu8(0)}function cn(Vn,mn){1&Vn&&i.eu8(0)}const Fn=(Vn,mn)=>[Vn,mn];function pn(Vn,mn){if(1&Vn&&i.nrm(0,"kirby-modal-compact-wrapper",3),2&Vn){const ze=i.XpG(2);i.Y8G("config",ze._config)("content",ze.template)}}function Un(Vn,mn){if(1&Vn&&i.DNE(0,pn,1,2,"kirby-modal-compact-wrapper",2),2&Vn){const ze=i.XpG(),at=i.sdS(3);i.Y8G("ngIf","compact"===ze.flavor)("ngIfElse",at)}}function Zn(Vn,mn){if(1&Vn&&i.nrm(0,"kirby-modal-wrapper",4),2&Vn){const ze=i.XpG();i.Y8G("config",ze._config)("content",ze.template)("scrollDisabled",ze.scrollDisabled)}}const Bn=["*"];let _n=(()=>{class Vn{constructor(ze,at){this.router=ze,this.route=at,this.navigationEndListener$=this.router.events.pipe((0,L.p)(Ft=>Ft instanceof f.wF))}isModalRoute(ze){return ze.includes("(modal:")}getCurrentActivatedRoute(){let ze=this.route.root;for(;ze.firstChild;)ze=ze.firstChild;return ze}getModalRoutes(ze,at){var Ft=this;return(0,n.A)(function*(){const In=[].concat(...ze);let fo=[];const wn=yield Ft.getModuleRootPath(In,at);return wn&&(fo=Ft.getModalRoutePaths(In,wn)),fo})()}getModuleRootPath(ze,at){var Ft=this;return(0,n.A)(function*(){if(at){const wn=at.trim().split("/").filter($e=>!!$e);return[""].concat(wn)}const In=yield Ft.getCurrentRoutePaths();return Ft.getRoutePathsWithoutChildSegments(In,ze)})()}getCurrentRoutePaths(){var ze=this;return(0,n.A)(function*(){const at=[""],Ft=ze.router.getCurrentNavigation();if(!ze.router.navigated&&!Ft)return at;Ft&&(yield x(ze.navigationEndListener$));let In=ze.route.snapshot.root;for(;In.firstChild;)In=In.firstChild;const fo=In.pathFromRoot.filter(wn=>"modal"!==wn.outlet);return at.concat(...fo.map(wn=>wn.url.filter(dn=>!!dn.path).map(dn=>dn.path)))})()}getRoutePathsWithoutChildSegments(ze,at){if(!ze.length)return ze;const Ft=this.findChildRouteForUrl(ze.join("/"),at);if(!Ft)return ze;const wn=Ft.replace(/^\//,"").split("/").length;return ze.slice(0,-wn)}findChildRouteForUrl(ze,at){const Ft=this.getRoutePaths(at,[""]).sort().reverse();let In=Ft.find(fo=>ze.endsWith(fo));return In||(In=Ft.find(wn=>wn.includes("/:")&&this.pathContainsChildRouteWithUrlParams(ze,wn,!1))),In}pathContainsChildRouteWithUrlParams(ze,at,Ft){const In=ze.split("/");let wn=at;Ft||(wn=at.replace(/^\//,""));const $e=wn.split("/").reverse().every(We=>{const ot=In.pop();return We.startsWith(":")||We===ot});return Ft?0===In.length&&$e:$e}getRoutePaths(ze,at){return Array.isArray(ze)?[].concat(...ze.map(Ft=>this.getRoutePath(Ft,at))):[]}getRoutePath(ze,at){const Ft=[];if(ze.outlet)return Ft;const In=[...at];return ze.path&&(In.push(ze.path),Ft.push(In.join("/"))),Ft.concat(this.getRoutePaths(ze.children,In))}getModalRoutePath(ze,at){if(ze.path&&"modal"===ze.outlet){const fo=`(modal:${ze.path})`;return[[...at,fo].join("/")]}const In=[...at];return ze.path&&In.push(ze.path),[].concat(...this.getModalRoutePaths(ze.children,In))}getModalRoutePaths(ze,at){return Array.isArray(ze)?[].concat(...ze.map(Ft=>this.getModalRoutePath(Ft,at))):[]}isNewModalWindow(ze){const at=this.router.getCurrentNavigation();if(!at||!at.previousNavigation)return!0;const Ft=(at.previousNavigation.finalUrl||at.previousNavigation.extractedUrl).toString(),In=this.isModalRoute(Ft),fo=this.isModalRoute(ze.urlAfterRedirects);if(!In&&fo)return!0;const wn=ze.urlAfterRedirects.split("/(modal:")[0];return Ft.split("/(modal:")[0]!==wn}waitForCurrentThenGetNavigationEndStream(){var ze=this;return(0,n.A)(function*(){if(ze.router.getCurrentNavigation()){const at=yield x(ze.navigationEndListener$);return ze.navigationEndListener$.pipe((0,he.Z)(at))}return ze.navigationEndListener$})()}modalRouteActivatedFor(ze,at,Ft){return ze.pipe((0,L.p)(In=>this.modalRouteSetContainsPath(at,In,Ft)),(0,pe.T)(In=>({route:this.getCurrentActivatedRoute(),isNewModal:this.isNewModalWindow(In)})))}modalRouteDeactivatedFor(ze,at,Ft){return ze.pipe((0,be.J)(),(0,L.p)(([In,fo])=>this.modalRouteSetContainsPath(at,In,Ft)),(0,pe.T)(([In,fo])=>!this.isModalRoute(fo.urlAfterRedirects)||this.isNewModalWindow(fo)),(0,L.p)(In=>In))}modalRouteSetContainsPath(ze,at,Ft){const In=at.urlAfterRedirects.split("?")[0];let fo=ze.has(In);if(!fo&&Ft)for(const wn of ze)if(this.pathContainsChildRouteWithUrlParams(In,wn,!0)){fo=!0;break}return fo}getModalNavigation(ze,at){var Ft=this;return(0,n.A)(function*(){if(Array.isArray(ze)){const In=yield Ft.waitForCurrentThenGetNavigationEndStream(),fo=yield Ft.getModalRoutes(ze,at);if(fo.length>0){const dn=fo.some(Wt=>Wt.includes("/:")),$e=new Set(fo);return{activated$:Ft.modalRouteActivatedFor(In,$e,dn),deactivated$:Ft.modalRouteDeactivatedFor(In,$e,dn)}}}return{activated$:_.w,deactivated$:_.w}})()}navigateToModal(ze,at){var Ft=this;return(0,n.A)(function*(){const In=Array.isArray(ze)?[...ze]:ze.split("/"),fo=In.pop();return yield Ft.router.navigate([...In,{outlets:{modal:[fo]}}],{queryParams:at,relativeTo:Ft.getCurrentActivatedRoute()})})()}navigateWithinModal(ze,at){var Ft=this;return(0,n.A)(function*(){return Ft.router.navigate([ze],{queryParams:at,relativeTo:Ft.getCurrentActivatedRoute()})})()}navigateOutOfModalOutlet(){var ze=this;return(0,n.A)(function*(){const at=ze.getCurrentActivatedRoute(),Ft=ze.router.getCurrentNavigation()?.finalUrl?.toString(),In=Ft&&!ze.isModalRoute(Ft);if("modal"!==at.outlet||In)return Promise.resolve(!0);const fo=ze.getBackdropRoute(at);return ze.router.navigate(["./"],{relativeTo:fo})})()}getBackdropRoute(ze){let at=ze.parent;for(;at&&!at.component&&at.parent;)at=at.parent;return at}handleBrowserBackButton(ze){const at=this.router.events.pipe((0,L.p)(In=>In instanceof f.Z&&"popstate"===In.navigationTrigger));this.router.events.pipe((0,L.p)(In=>In instanceof f.wF)).pipe(function ke(Vn){return(0,Le.N)((mn,ze)=>{let at=!1;const Ft=(0,ye._)(ze,()=>{Ft?.unsubscribe(),at=!0},je.l);(0,I.Tg)(Vn).subscribe(Ft),mn.subscribe((0,ye._)(ze,In=>at&&ze.next(In)))})}(at),(0,De.Q)(ze.onWillDismiss())).subscribe(()=>{ze.dismiss()})}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.KVO(f.Ix),i.KVO(f.nX))};static#t=this.\u0275prov=i.jDH({token:Vn,factory:Vn.\u0275fac,providedIn:"root"})}return Vn})(),Cn=(()=>{class Vn{constructor(){this.cancelButtonText="Cancel",this.hideCancel=!1,this.disabled=!1,this.cancel=new i.bkB,this.itemSelect=new i.bkB}onItemSelect(ze){this.itemSelect.emit(ze)}onCancel(){this.cancel.emit()}static#e=this.\u0275fac=function(at){return new(at||Vn)};static#t=this.\u0275cmp=i.VBU({type:Vn,selectors:[["kirby-action-sheet"]],inputs:{cancelButtonText:"cancelButtonText",hideCancel:"hideCancel",disabled:"disabled",header:"header",subheader:"subheader",items:"items"},outputs:{cancel:"cancel",itemSelect:"itemSelect"},decls:4,vars:3,consts:[[3,"title","isTitleBold","subtitle",4,"ngIf"],["kirby-button","","expand","block","size","lg",3,"noDecoration","click",4,"ngFor","ngForOf"],["kirby-button","","class","cancel-btn","size","lg","attentionLevel","3",3,"click",4,"ngIf"],[3,"title","isTitleBold","subtitle"],["kirby-button","","expand","block","size","lg",3,"click","noDecoration"],["kirby-button","","size","lg","attentionLevel","3",1,"cancel-btn",3,"click"]],template:function(at,Ft){1&at&&(i.j41(0,"kirby-card"),i.DNE(1,we,1,3,"kirby-card-header",0)(2,Ot,2,2,"button",1),i.k0s(),i.DNE(3,It,2,1,"button",2)),2&at&&(i.R7$(),i.Y8G("ngIf",Ft.header),i.R7$(),i.Y8G("ngForOf",Ft.items),i.R7$(),i.Y8G("ngIf",!Ft.hideCancel))},dependencies:[tt.Dw,tt.ib,tt.lM,sn.Q,et.MD,et.Sq,et.bT],styles:["[_nghost-%COMP%]{--kirby-internal-margin-horizontal-default: 32px}@media (max-width: 320px){[_nghost-%COMP%]{--kirby-internal-margin-horizontal-default: 16px}}[_nghost-%COMP%]{--kirby-internal-margin-horizontal-total: calc( 2 * var(--kirby-action-sheet-margin-horizontal, var(--kirby-internal-margin-horizontal-default)) );display:flex;flex-direction:column;align-items:center;justify-content:flex-end;margin:0 auto;width:calc(100vw - var(--kirby-internal-margin-horizontal-total));max-width:calc(375px - var(--kirby-internal-margin-horizontal-total))}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%] button[kirby-button].no-decoration[_ngcontent-%COMP%]:focus-visible{box-shadow:none;--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}}kirby-card[_ngcontent-%COMP%]{align-self:stretch;pointer-events:auto;box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}kirby-card[_ngcontent-%COMP%] button[kirby-button][_ngcontent-%COMP%]{margin:0;border-radius:0}kirby-card[_ngcontent-%COMP%] button[kirby-button][_ngcontent-%COMP%]:not(:focus){border-top:1px solid var(--kirby-background-color)}@media (hover: hover) and (pointer: fine){.cancel-btn[_ngcontent-%COMP%]:focus{transition:all 80ms linear 0ms;box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}.cancel-btn[_ngcontent-%COMP%]:focus:not(:focus-visible){box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14,0 0 0 0 transparent}.cancel-btn[_ngcontent-%COMP%]:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}.cancel-btn[_ngcontent-%COMP%]{font-weight:700;margin-top:16px;margin-bottom:24px;pointer-events:auto}"]})}return Vn})(),Qt=(()=>{class Vn{constructor(ze){this.ionicModalController=ze}showActionSheet(ze){var at=this;return(0,n.A)(function*(){const Ft=new i.bkB,In=new i.bkB,fo=yield at.ionicModalController.create({component:Cn,cssClass:["kirby-overlay","kirby-action-sheet"],componentProps:{...ze,cancel:Ft,itemSelect:In},backdropDismiss:!0});fo.shadowRoot.querySelector(".modal-shadow").remove();const wn=Ft.subscribe(()=>fo.dismiss()),dn=In.subscribe(We=>fo.dismiss(We));return fo.onDidDismiss().then(()=>{wn.unsubscribe(),dn.unsubscribe()}),yield fo.present(),{dismiss:fo.dismiss.bind(fo),onWillDismiss:fo.onWillDismiss(),onDidDismiss:fo.onDidDismiss()}})()}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.KVO(Mt.W3))};static#t=this.\u0275prov=i.jDH({token:Vn,factory:Vn.\u0275fac})}return Vn})(),Nn=(()=>{class Vn{set title(ze){this.title$="string"==typeof ze?(0,y.of)(ze):ze}set message(ze){this.message$="string"==typeof ze?(0,y.of)(ze):ze}constructor(ze,at){this.elementRef=ze,this.windowRef=at,this.BLUR_WRAPPER_DELAY_IN_MS=50,this.scrollY=Math.abs(this.windowRef.nativeWindow.scrollY)}ngAfterViewInit(){setTimeout(()=>{this.alertWrapper.nativeElement.focus(),this.alertWrapper.nativeElement.blur()},this.BLUR_WRAPPER_DELAY_IN_MS)}onFocusChange(){this.windowRef.nativeWindow.scrollTo({top:this.scrollY})}onCancel(){this.elementRef.nativeElement.closest("ion-modal")?.dismiss(!1)}onOk(){this.elementRef.nativeElement.closest("ion-modal")?.dismiss(!0)}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.rXU(i.aKT),i.rXU(Ct.W))};static#t=this.\u0275cmp=i.VBU({type:Vn,selectors:[["kirby-alert"]],viewQuery:function(at,Ft){if(1&at&&i.GBs(tn,7),2&at){let In;i.mGM(In=i.lsd())&&(Ft.alertWrapper=In.first)}},hostVars:2,hostBindings:function(at,Ft){2&at&&i.AVh("ion-page",!1)},inputs:{title:"title",message:"message",iconName:"iconName",iconThemeColor:"iconThemeColor",okBtn:"okBtn",okBtnIsDestructive:"okBtnIsDestructive",cancelBtn:"cancelBtn"},decls:9,vars:13,consts:[["alertWrapper",""],[3,"iconName","themeColor","title","subtitle"],[1,"buttongroup"],["kirby-button","","attentionLevel","3","class","cancel-btn",3,"click",4,"ngIf"],["kirby-button","","attentionLevel","1",1,"ok-btn",3,"click","size"],["kirby-button","","attentionLevel","3",1,"cancel-btn",3,"click"]],template:function(at,Ft){if(1&at){const In=i.RV6();i.j41(0,"article",null,0),i.nrm(2,"kirby-empty-state",1),i.nI1(3,"async"),i.nI1(4,"async"),i.j41(5,"div",2),i.DNE(6,fn,2,1,"button",3),i.j41(7,"button",4),i.bIt("click",function(){return i.eBV(In),i.Njj(Ft.onOk())}),i.EFF(8),i.k0s()()()}2&at&&(i.R7$(2),i.Y8G("iconName",Ft.iconName)("themeColor",Ft.iconThemeColor)("title",i.bMT(3,9,Ft.title$))("subtitle",i.bMT(4,11,Ft.message$)),i.R7$(4),i.Y8G("ngIf",Ft.cancelBtn),i.R7$(),i.AVh("destructive",Ft.okBtnIsDestructive),i.Y8G("size",Ft.cancelBtn?null:"lg"),i.R7$(),i.SpI(" ",Ft.okBtn," "))},dependencies:[Xe.op,e.Cd,On.b,On.o,sn.Q,et.MD,et.bT,et.Jj],styles:["article[_ngcontent-%COMP%]{overflow:hidden;padding:24px 16px 16px}@media (max-width: 320px){article[_ngcontent-%COMP%]{padding:8px}}.buttongroup[_ngcontent-%COMP%]{display:flex;justify-content:center;column-gap:8px}.buttongroup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex:1 1 50%;margin-inline:0}.buttongroup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:only-child{flex-grow:0}"],changeDetection:0})}return Vn})(),Qn=(()=>{class Vn{constructor(ze){this.ionicModalController=ze}showAlert(ze){var at=this;return(0,n.A)(function*(){const Ft=yield at.ionicModalController.create({component:Nn,componentProps:at.getComponentProps(ze),cssClass:["kirby-overlay","kirby-alert"],mode:"ios",backdropDismiss:!1});return yield Ft.present(),{dismiss:Ft.dismiss.bind(Ft),onWillDismiss:Ft.onWillDismiss(),onDidDismiss:Ft.onDidDismiss()}})()}getComponentProps(ze){return{...ze,okBtn:this.getOkBtn(ze),cancelBtn:ze.cancelBtn,okBtnIsDestructive:this.getOkBtnIsDestructive(ze),iconName:ze.icon&&ze.icon.name,iconThemeColor:ze.icon&&ze.icon.themeColor}}getOkBtn(ze){let at;return ze.okBtn&&(at="string"==typeof ze.okBtn?ze.okBtn:ze.okBtn.text),at}getOkBtnIsDestructive(ze){return"object"==typeof ze.okBtn?ze.okBtn.isDestructive:void 0}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.KVO(Mt.W3))};static#t=this.\u0275prov=i.jDH({token:Vn,factory:Vn.\u0275fac})}return Vn})();class Zt{}var vn=function(Vn){return Vn[Vn.PAGE_PROGRESS=0]="PAGE_PROGRESS",Vn[Vn.FOOTER=1]="FOOTER",Vn[Vn.TITLE=2]="TITLE",Vn}(vn||{});class hn{}let Tn=(()=>{class Vn{get isContainedInModal(){return null!==this.modalElementsAdvertiser}constructor(ze,at,Ft){this.modalElementType=ze,this.elementRef=at,this.modalElementsAdvertiser=Ft}ngAfterViewInit(){this.isContainedInModal&&this.modalElementsAdvertiser.addModalElement(this.modalElementType,this.elementRef)}ngOnDestroy(){this.isContainedInModal&&this.modalElementsAdvertiser.removeModalElement(this.modalElementType,this.elementRef)}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.rXU(vn),i.rXU(i.aKT),i.rXU(hn,8))};static#t=this.\u0275cmp=i.VBU({type:Vn,selectors:[["ng-component"]],standalone:!1,decls:0,vars:0,template:function(at,Ft){},encapsulation:2})}return Vn})(),uo=(()=>{class Vn{constructor(ze){this.alertHelper=ze}getCanDismissCallback(ze){var at=this;return(0,n.A)(function*(){const Ft=yield ze();return"boolean"==typeof Ft?Ft:yield at.showAlert(Ft)})}showAlert(ze){var at=this;return(0,n.A)(function*(){return(yield(yield at.alertHelper.showAlert(ze)).onWillDismiss).data})()}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.KVO(Qn))};static#t=this.\u0275prov=i.jDH({token:Vn,factory:Vn.\u0275fac})}return Vn})();const bo=new i.nKC("componentProps");class _o{constructor(mn,ze){this.renderer=mn,this.elementRef=ze}addFooter(mn){this.moveChild(mn,this.elementRef)}removeFooter(mn){this.removeChild(mn)}addPageProgress(mn,ze){this.moveChild(mn,ze)}removePageProgress(mn){this.removeChild(mn)}addTitle(mn,ze,at,Ft){if(this.moveChild(mn,Ft),at){const In=mn.nativeElement.cloneNode(!0);this.moveChild(new i.aKT(In),ze)}}removeTitle(mn,ze,at){if(this.removeChild(mn),ze){const Ft=at.nativeElement.querySelector("kirby-page-title");this.removeChild(new i.aKT(Ft))}}moveChild(mn,ze){const at=mn.nativeElement,Ft=ze.nativeElement;this.renderer.removeChild(at.parentElement,at),this.renderer.appendChild(Ft,at)}removeChild(mn,ze){const at=mn.nativeElement;at&&this.renderer.removeChild(ze||at.parentElement,at)}}let zo=(()=>{class Vn{get _hasCollapsibleTitle(){return!!this.config?.collapseTitle}static#e=this.KEYBOARD_HIDE_DELAY_IN_MS=100;set scrollDisabled(ze){this.ionContent.scrollY=!ze}set canDismiss(ze){this.ionModalElement.canDismiss=this.canDismissHelper.getCanDismissCallback(ze)}get contentTitleElement(){return!this._contentTitleElement&&this._hasCollapsibleTitle&&this.changeDetector.detectChanges(),this._contentTitleElement}get intersectionObserver(){return this._intersectionObserver||(this._intersectionObserver=this.createModalWrapperIntersectionObserver()),this._intersectionObserver}get _isDrawer(){return"drawer"===this.config.flavor}constructor(ze,at,Ft,In,fo,wn,dn,$e,We,ot,Wt){this.changeDetector=ze,this.injector=at,this.elementRef=Ft,this.renderer=In,this.zone=fo,this.resizeObserverService=wn,this.windowRef=dn,this.platform=$e,this.canDismissHelper=We,this.environmentInjector=ot,this.translations=Wt,this.scrollY=Math.abs(this.windowRef.nativeWindow.scrollY),this.VIEWPORT_RESIZE_DEBOUNCE_TIME=100,this.keyboardVisible=!1,this.toolbarButtons=[],this.delayedClose=()=>{},this.viewportResized=!1,this.ionModalDidPresent=new w.B,this.didPresent=x(this.ionModalDidPresent),this.ionModalWillDismiss=new w.B,this.willClose=x(this.ionModalWillDismiss),this.viewportResize=new w.B,this.viewportResize$=this.viewportResize.asObservable().pipe((0,Je.B)(this.VIEWPORT_RESIZE_DEBOUNCE_TIME)),this.destroy$=new w.B,this.willClose$=this.ionModalWillDismiss.pipe((0,lt.$)()),this._currentFooter=null,this.setAriaLabelFromTitleContent=()=>{const Dn=this.ionTitleElement?.nativeElement.textContent;this.ionModalDialog&&Dn&&this.renderer.setAttribute(this.ionModalDialog,"aria-label",Dn)},this.setViewportHeight(),this.observeViewportResize(),this.modalElementsMoverDelegate=new _o(In,Ft)}ngOnInit(){this.ionModalElement=this.elementRef.nativeElement.closest("ion-modal"),this.ionModalDialog=(0,Pt.ft)(this.elementRef.nativeElement),this.initializeSizing(),this.initializeModalRoute(),this.listenForIonModalDidPresent(),this.listenForIonModalWillDismiss(),this.listenForScroll(),this.initializeResizeModalToModalWrapper(),this.componentPropsInjector=i.zZn.create({providers:[{provide:bo,useValue:this.config.componentProps}],parent:this.injector}),this.modalWrapperInjector=i.zZn.create({providers:[{provide:hn,useExisting:Vn}],parent:this.injector})}ngAfterViewInit(){this.toolbarButtonsQuery&&(this.toolbarButtons=this.toolbarButtonsQuery.map(ze=>ze.nativeElement)),this.setAriaLabel()}set currentFooter(ze){null!==ze&&this.resizeObserverService.observe(ze,at=>{const[Ft,In]=["--footer-height",`${Math.floor(at.contentRect.height)}px`];this.setCssVar(this.elementRef.nativeElement,Ft,In)}),this._currentFooter=ze}get currentFooter(){return this._currentFooter}addModalElement(ze,at){(0,{[vn.FOOTER]:()=>{this.modalElementsMoverDelegate.addFooter(at),this.currentFooter=at.nativeElement},[vn.TITLE]:()=>this.modalElementsMoverDelegate.addTitle(at,this.contentTitleElement,this._hasCollapsibleTitle,this.ionTitleElement),[vn.PAGE_PROGRESS]:()=>this.modalElementsMoverDelegate.addPageProgress(at,this.ionToolbarElement)}[ze])()}removeModalElement(ze,at){(0,{[vn.FOOTER]:()=>{this.modalElementsMoverDelegate.removeFooter(at),this.currentFooter=null},[vn.TITLE]:()=>this.modalElementsMoverDelegate.removeTitle(at,this._hasCollapsibleTitle,this.contentTitleElement),[vn.PAGE_PROGRESS]:()=>this.modalElementsMoverDelegate.removePageProgress(at)}[ze])()}initializeResizeModalToModalWrapper(){"drawer"===this.config.flavor&&this.config.interactWithBackground&&function K(...Vn){const mn=(0,R.lI)(Vn),ze=(0,R.R0)(Vn,1/0),at=Vn;return at.length?1===at.length?(0,I.Tg)(at[0]):(0,M.U)(ze)((0,H.H)(at,mn)):_.w}(this.ionModalDidPresent,this.viewportResize$).pipe((0,De.Q)(this.destroy$)).subscribe(()=>{setTimeout(()=>{const ze=this.elementRef.nativeElement.getBoundingClientRect(),Ft=this.windowRef.nativeWindow.document.documentElement.clientWidth-ze.right;this.renderer.setStyle(this.ionModalElement,"top",`${ze.top}px`),this.renderer.setStyle(this.ionModalElement,"left",`${ze.left}px`),this.renderer.setStyle(this.ionModalElement,"right",`${Ft}px`)})})}initializeSizing(){"full-height"!==this.config.size&&(this.patchScrollElementSize(),this.observeHeaderResize(),this.observeModalFullHeight())}initializeModalRoute(){this.config.modalRoute&&(this.onSiblingModalRouteActivated(this.config.siblingModalRouteActivated$),this.routerOutlet.activateWith(this.config.modalRoute,this.environmentInjector))}onSiblingModalRouteActivated(ze){ze&&ze.pipe((0,De.Q)(this.willClose$)).subscribe(at=>{this.routerOutlet.isActivated&&this.routerOutlet.deactivate(),this.routerOutlet.activateWith(at,this.environmentInjector)})}patchScrollElementSize(){"part"in HTMLElement.prototype||this.ionContent.getScrollElement().then(at=>{this.renderer.setStyle(at,"height","100%"),this.renderer.setStyle(at,"position","relative"),"drawer"===this.config.flavor&&this.renderer.setStyle(at,"transition","padding-bottom "+wt.Q.softKeyboardTransitionLeave)})}observeModalFullHeight(){const ze=this.getIonModalWrapperElement();ze&&this.didPresent.then(()=>{this.intersectionObserver.observe(ze)})}getIonModalWrapperElement(){return this.ionModalElement.shadowRoot.querySelector(".modal-wrapper")}observeHeaderResize(){this.resizeObserverService.observe(this.ionHeaderElement.nativeElement,ze=>{const[at,Ft]=["--header-height",`${ze.contentRect.height}px`];this.setCssVar(this.elementRef.nativeElement,at,Ft)})}listenForIonModalDidPresent(){this.ionModalElement&&this.ionModalElement.addEventListener("ionModalDidPresent",()=>{this.ionModalDidPresent.next(),this.ionModalDidPresent.complete()})}listenForIonModalWillDismiss(){this.ionModalElement&&this.ionModalElement.addEventListener("ionModalWillDismiss",()=>{this.ionModalWillDismiss.next(),this.ionModalWillDismiss.complete()})}listenForScroll(){const at=this.windowRef.nativeWindow.matchMedia(`(min-width: ${wt.Q.breakpoints.medium})`),Ft=In=>{this.scrollEventsEnabled=!In.matches};Ft(at),at.onchange=Ft,this.zone.runOutsideAngular(()=>{this.ionContent.ionScroll.pipe((0,Je.B)(10),(0,pe.T)(In=>In.detail),(0,De.Q)(this.destroy$)).subscribe(In=>{const fo=In.scrollTop>4;fo!==this.isContentScrolled&&(this.isContentScrolled=fo,this.changeDetector.detectChanges())})})}observeTitleContentChanges(){this.mutationObserverUnobserveFn=(0,Pt.We)(this.ionTitleElement.nativeElement,this.setAriaLabelFromTitleContent)}setAriaLabel(){const ze=this.config.htmlAttributes?.["aria-label"],at=(0,Pt.ft)(this.ionModalElement);at&&ze?this.renderer.setAttribute(at,"aria-label",ze):(this.setAriaLabelFromTitleContent(),this.observeTitleContentChanges())}scrollToTop(ze){this.ionContent.scrollToTop(ze||0)}scrollToBottom(ze){this.ionContent.scrollToBottom(ze||0)}close(ze){var at=this;return(0,n.A)(function*(){if(at.ionModalElement)return at.keyboardVisible&&at.viewportResized?(at.blurActiveElement(),new Promise(Ft=>{at.delayedClose=(0,n.A)(function*(){yield at.ionModalElement.dismiss(ze),Ft()}),at.delayedCloseTimeoutId=setTimeout(at.delayedClose,Vn.KEYBOARD_HIDE_DELAY_IN_MS)})):(clearTimeout(at.delayedCloseTimeoutId),void(yield at.ionModalElement.dismiss(ze)))})()}onFocusChange(){this.windowRef.nativeWindow.scrollTo({top:this.scrollY})}_onKeyboardShow(ze){this.setKeyboardVisibility(ze)}_onKeyboardHide(){this.setKeyboardVisibility(0)}toggleContentMaxHeight(ze){if("modal"!==this.config.flavor||!this.platform.isPhabletOrBigger())return;const Ft="max-height",In=this.ionContentElement.nativeElement;this.zone.run(()=>{ze?this.renderer.setStyle(In,Ft,`${In.offsetHeight}px`):this.renderer.removeStyle(In,Ft)})}setKeyboardVisibility(ze){ze>0&&this.keyboardVisible||0===ze&&!this.keyboardVisible||(this.keyboardVisible=ze>0,this.toggleContentMaxHeight(this.keyboardVisible),this.setKeyboardOverlap(ze))}getKeyboardOverlap(ze,at){if(ze<=0||!at)return 0;const Ft=Math.floor(this.windowRef.nativeWindow.innerHeight-at.getBoundingClientRect().bottom);return Math.max(ze-Ft,0)}setCssVar(ze,at,Ft){this.zone.run(()=>this.renderer.setStyle(ze,at,Ft,i.czy.DashCase))}toggleCssClass(ze,at,Ft){this.zone.run(()=>Ft?this.renderer.addClass(ze,at):this.renderer.removeClass(ze,at))}setKeyboardOverlap(ze){this.toggleCssClass(this.elementRef.nativeElement,"keyboard-visible",ze>0);const at=this.getKeyboardOverlap(ze,this.elementRef.nativeElement);let Ft=!1;const In=this.currentFooter;In&&(this.setCssVar(In,"--keyboard-offset",`${at}px`),Ft=In.classList.contains("snap-to-keyboard"));const fo=this.ionContentElement.nativeElement,wn=Ft?at:this.getKeyboardOverlap(ze,fo);this.setCssVar(fo,"--keyboard-offset",`${wn}px`)}onHeaderTouchStart(ze){this.keyboardVisible&&(this.toolbarButtons.some(Ft=>ze.target instanceof HTMLElement&&(ze.target===Ft||Ft.contains(ze.target)))||this.blurActiveElement())}_onWindowResize(){this.setViewportHeight()}setViewportHeight(){const ze=(.01*this.windowRef.nativeWindow.innerHeight).toFixed(2);this.setCssVar(this.elementRef.nativeElement,"--vh",`${ze}px`)}observeViewportResize(){this.resizeObserverService.observe(this.windowRef.nativeWindow.document.body,ze=>this.onViewportResize(ze))}onViewportResize(ze){this.initialViewportHeight?(this.viewportResized=ze.contentRect.height!==this.initialViewportHeight,this.viewportResized||this.delayedCloseTimeoutId&&(clearTimeout(this.delayedCloseTimeoutId),this.delayedClose()),this.viewportResize.next()):this.initialViewportHeight=ze.contentRect.height}blurActiveElement(){this.keyboardVisible&&document.activeElement instanceof HTMLElement&&document.activeElement.matches("input, textarea")&&document.activeElement.blur()}createModalWrapperIntersectionObserver(){return new IntersectionObserver(In=>{In[0].intersectionRatio<1?this.ionModalElement.classList.add("full-height"):this.ionModalElement.classList.remove("full-height")},{rootMargin:"0px 0px -1px 0px",root:this.windowRef.nativeWindow.frameElement?this.windowRef.nativeWindow.document:void 0,threshold:[.99,1]})}ngOnDestroy(){this.routerOutlet.isActivated&&this.routerOutlet.deactivate(),this.mutationObserverUnobserveFn?.(),this.intersectionObserver.disconnect(),delete this._intersectionObserver,this.resizeObserverService&&(this.resizeObserverService.unobserve(this.windowRef.nativeWindow.document.body),this.resizeObserverService.unobserve(this.ionHeaderElement.nativeElement),this.resizeObserverService.unobserve(this.currentFooter)),this.destroy$.next(),this.destroy$.complete()}static#t=this.\u0275fac=function(at){return new(at||Vn)(i.rXU(i.gRc),i.rXU(i.zZn),i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(i.SKi),i.rXU(e.ke),i.rXU(Ct.W),i.rXU(Pt.fP),i.rXU(uo),i.rXU(i.uvJ),i.rXU(e.L0))};static#n=this.\u0275cmp=i.VBU({type:Vn,selectors:[["kirby-modal-wrapper"]],contentQueries:function(at,Ft,In){if(1&at&&i.wni(In,i.C4Q,5),2&at){let fo;i.mGM(fo=i.lsd())&&(Ft.templateRef=fo.first)}},viewQuery:function(at,Ft){if(1&at&&(i.GBs(Mt.W9,7),i.GBs(Mt.W9,7,i.aKT),i.GBs(Mt.eU,7,i.aKT),i.GBs(Mt.ai,7,i.aKT),i.GBs(Mt.BC,7,i.aKT),i.GBs(f.n3,7),i.GBs(En,5,i.aKT),i.GBs(sn.Q,5,i.aKT)),2&at){let In;i.mGM(In=i.lsd())&&(Ft.ionContent=In.first),i.mGM(In=i.lsd())&&(Ft.ionContentElement=In.first),i.mGM(In=i.lsd())&&(Ft.ionHeaderElement=In.first),i.mGM(In=i.lsd())&&(Ft.ionToolbarElement=In.first),i.mGM(In=i.lsd())&&(Ft.ionTitleElement=In.first),i.mGM(In=i.lsd())&&(Ft.routerOutlet=In.first),i.mGM(In=i.lsd())&&(Ft._contentTitleElement=In.first),i.mGM(In=i.lsd())&&(Ft.toolbarButtonsQuery=In)}},hostVars:4,hostBindings:function(at,Ft){1&at&&i.bIt("focus",function(){return Ft.onFocusChange()},!1,i.tSv)("focusout",function(){return Ft.onFocusChange()},!1,i.tSv)("ionKeyboardDidShow",function(fo){return Ft._onKeyboardShow(fo.detail.keyboardHeight)},!1,i.tSv)("keyboardWillShow",function(fo){return Ft._onKeyboardShow(fo.keyboardHeight)},!1,i.tSv)("ionKeyboardDidHide",function(){return Ft._onKeyboardHide()},!1,i.tSv)("keyboardWillHide",function(){return Ft._onKeyboardHide()},!1,i.tSv)("resize",function(){return Ft._onWindowResize()},!1,i.tSv),2&at&&i.AVh("collapsible-title",Ft._hasCollapsibleTitle)("drawer",Ft._isDrawer)},inputs:{scrollDisabled:"scrollDisabled",config:"config",content:"content"},features:[i.Jv_([{provide:Zt,useExisting:Vn},{provide:hn,useExisting:Vn}])],decls:12,vars:13,consts:[["contentTitle",""],[3,"touchstart"],["slot","secondary",4,"ngIf"],["slot","primary"],["kirby-button","","attentionLevel","3","size","md",3,"click","noDecoration"],["name","close"],[3,"scrollEvents"],["collapse","condense",4,"ngIf"],[4,"ngComponentOutlet","ngComponentOutletInjector"],[4,"ngTemplateOutlet","ngTemplateOutletInjector"],["name","kirbyModalWrapperOutlet"],["slot","secondary"],["kirby-button","","attentionLevel","3","size","md",3,"click"],[3,"name"],["collapse","condense"],[1,"kirby-text-xlarge"]],template:function(at,Ft){1&at&&(i.j41(0,"ion-header",1),i.bIt("touchstart",function(fo){return Ft.onHeaderTouchStart(fo)}),i.j41(1,"ion-toolbar"),i.nrm(2,"ion-title"),i.DNE(3,jn,3,1,"ion-buttons",2),i.j41(4,"ion-buttons",3)(5,"button",4),i.bIt("click",function(){return Ft.close()}),i.nrm(6,"kirby-icon",5),i.k0s()()()(),i.j41(7,"ion-content",6),i.DNE(8,So,4,0,"ion-header",7)(9,pt,1,0,"ng-container",8)(10,Nt,1,0,"ng-container",9),i.nrm(11,"router-outlet",10),i.k0s()),2&at&&(i.AVh("content-scrolled",Ft.isContentScrolled),i.R7$(3),i.Y8G("ngIf","drawer"===Ft.config.flavor&&Ft.config.drawerSupplementaryAction),i.R7$(2),i.Y8G("noDecoration",Ft.config.interactWithBackground),i.BMQ("aria-label",Ft.translations.get("close")),i.R7$(2),i.Y8G("scrollEvents",Ft.scrollEventsEnabled),i.R7$(),i.Y8G("ngIf",Ft._hasCollapsibleTitle),i.R7$(),i.Y8G("ngComponentOutlet",Ft.config.component)("ngComponentOutletInjector",Ft.componentPropsInjector),i.R7$(),i.Y8G("ngTemplateOutlet",Ft.content)("ngTemplateOutletInjector",Ft.modalWrapperInjector),i.R7$(),i.xc7("visibility",Ft.config.modalRoute?"visible":"hidden"))},dependencies:[f.iI,f.n3,sn.Q,Xe.op,Xe.Rl,et.MD,et.OI,et.bT,et.T3,Mt.eU,Mt.ai,Mt.BC,Mt.QW,Mt.W9],styles:['ion-header[_ngcontent-%COMP%]{box-sizing:border-box}ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{--padding-start: 8px;--padding-end: 8px;--padding-bottom: 7px;--padding-top: 8px;--border-width: 0;--background: transparent;--color: var(--kirby-modal-color, var(--kirby-black));border-bottom:1px solid transparent;transition:border-color .2s linear}@media (min-width: 768px){ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{--padding-start: 24px;--padding-end: 24px;--padding-bottom: 23px;--padding-top: 24px;padding-inline:0}}ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--color)}[_nghost-%COMP%]{--vh100: var(--vh, 1vh) * 100;--header-height: 0px;--footer-height: 0px}@media (max-width: 767px){.drawer[_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{--padding-top: 16px}.drawer[_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]:first-of-type{padding-top:0}}@media (min-width: 768px){ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{border-bottom-color:var(--kirby-medium)}}ion-header.content-scrolled[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{border-bottom-color:var(--kirby-medium)}ion-modal.no-header-area-border[_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%], ion-modal.no-header-area-border [_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{border-bottom-color:transparent}@media (max-width: 767px){ion-modal.kirby-drawer:not(.kirby-modal-full-height)[_nghost-%COMP%], ion-modal.kirby-drawer:not(.kirby-modal-full-height) [_nghost-%COMP%]{padding-top:0;position:relative;contain:inherit;min-height:min(var(--min-height),var(--vh100) - var(--kirby-modal-padding-top, 0px))}ion-modal.kirby-drawer:not(.kirby-modal-full-height)[_nghost-%COMP%] ion-content[_ngcontent-%COMP%], ion-modal.kirby-drawer:not(.kirby-modal-full-height) [_nghost-%COMP%] ion-content[_ngcontent-%COMP%]{contain:content;max-height:calc(var(--vh100) - var(--kirby-modal-padding-top, 0px) - var(--header-height) - var(--footer-height))}ion-modal.kirby-drawer:not(.kirby-modal-full-height)[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll), ion-modal.kirby-drawer:not(.kirby-modal-full-height) [_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll){height:"100%";position:relative}ion-modal.kirby-drawer:not(.kirby-modal-full-height).drawer[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll), ion-modal.kirby-drawer:not(.kirby-modal-full-height) .drawer[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll){transition:padding-bottom .15s ease-out}ion-modal.kirby-drawer:not(.kirby-modal-full-height).drawer.keyboard-visible[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll), ion-modal.kirby-drawer:not(.kirby-modal-full-height) .drawer.keyboard-visible[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll){transition:padding-bottom .25s ease-out 1ms}}ion-modal.kirby-drawer.interact-with-background[_nghost-%COMP%], ion-modal.kirby-drawer.interact-with-background [_nghost-%COMP%]{padding-top:0;position:relative;contain:inherit;min-height:min(var(--min-height),var(--vh100) - var(--kirby-modal-padding-top, 0px))}ion-modal.kirby-drawer.interact-with-background[_nghost-%COMP%] ion-content[_ngcontent-%COMP%], ion-modal.kirby-drawer.interact-with-background [_nghost-%COMP%] ion-content[_ngcontent-%COMP%]{contain:content;max-height:calc(var(--vh100) - var(--kirby-modal-padding-top, 0px) - var(--header-height) - var(--footer-height))}ion-modal.kirby-drawer.interact-with-background[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll), ion-modal.kirby-drawer.interact-with-background [_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll){height:"100%";position:relative}ion-modal.kirby-drawer.interact-with-background.drawer[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll), ion-modal.kirby-drawer.interact-with-background .drawer[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll){transition:padding-bottom .15s ease-out}ion-modal.kirby-drawer.interact-with-background.drawer.keyboard-visible[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll), ion-modal.kirby-drawer.interact-with-background .drawer.keyboard-visible[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]::part(scroll){transition:padding-bottom .25s ease-out 1ms}ion-modal.kirby-drawer.interact-with-background[_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%], ion-modal.kirby-drawer.interact-with-background [_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{border-bottom-color:transparent}ion-modal.modal-card:not(.kirby-drawer)[_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]:first-of-type, ion-modal.modal-card:not(.kirby-drawer) [_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]:first-of-type{padding-top:var(--kirby-safe-area-top, 0)}@media (min-width: 768px){ion-modal.modal-card:not(.kirby-drawer)[_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]:first-of-type, ion-modal.modal-card:not(.kirby-drawer) [_nghost-%COMP%] ion-header[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]:first-of-type{--padding-start: 24px;--padding-end: 24px;--padding-bottom: 23px;--padding-top: 24px;padding-inline:0}}ion-title[_ngcontent-%COMP%]{box-sizing:border-box;padding-inline:calc(48px + var(--padding-start)) calc(48px + var(--padding-end));font-size:16px;font-weight:700}ion-content[_ngcontent-%COMP%]{--background: transparent;--color: var(--kirby-modal-color, var(--kirby-black));--padding-top: 24px;--padding-bottom: 24px;--padding-start: 16px;--padding-end: 16px;display:flex;flex-direction:column;height:calc(var(--height) - var(--header-height) - var(--footer-height));max-height:calc(var(--max-height) - var(--header-height) - var(--footer-height))}ion-content[_ngcontent-%COMP%] >*{box-sizing:border-box;display:block}@media (min-width: 768px){ion-content[_ngcontent-%COMP%]{--padding-start: 48px;--padding-end: 48px}}.collapsible-title[_nghost-%COMP%] ion-content[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]:first-of-type{--padding-top: 0px;--padding-bottom: 32px;--padding-start: 8px;--padding-end: 8px;border:none}@media (min-width: 768px){.collapsible-title[_nghost-%COMP%] ion-content[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]:first-of-type{--padding-start: 16px;--padding-end: 16px}}']})}return Vn})(),Yi=(()=>{class Vn{constructor(ze,at,Ft,In,fo){this.injector=ze,this.elementRef=at,this.windowRef=Ft,this.canDismissHelper=In,this.renderer=fo,this.scrollY=Math.abs(this.windowRef.nativeWindow.scrollY),this.scrollDisabled=!1,this.ionModalDidPresent=new w.B,this.ionModalWillDismiss=new w.B,this.didPresent=x(this.ionModalDidPresent),this.willClose=x(this.ionModalWillDismiss)}ngOnInit(){this.ionModalElement=this.elementRef.nativeElement.closest("ion-modal"),this.setAriaLabel(),this.listenForIonModalDidPresent(),this.listenForIonModalWillDismiss(),this.componentPropsInjector=i.zZn.create({providers:[{provide:bo,useValue:this.config.componentProps}],parent:this.injector})}listenForIonModalDidPresent(){this.ionModalElement&&this.ionModalElement.addEventListener("ionModalDidPresent",()=>{this.ionModalDidPresent.next(),this.ionModalDidPresent.complete()})}listenForIonModalWillDismiss(){this.ionModalElement&&this.ionModalElement.addEventListener("ionModalWillDismiss",()=>{this.ionModalWillDismiss.next(),this.ionModalWillDismiss.complete()})}setAriaLabel(){const ze=(0,Pt.ft)(this.ionModalElement),at=this.config.htmlAttributes?.["aria-label"];ze&&at&&this.renderer.setAttribute(ze,"aria-label",at)}close(ze){var at=this;return(0,n.A)(function*(){at.ionModalElement&&(yield at.ionModalElement.dismiss(ze))})()}set canDismiss(ze){this.ionModalElement.canDismiss=this.canDismissHelper.getCanDismissCallback(ze)}onFocusChange(){this.windowRef.nativeWindow.scrollTo({top:this.scrollY})}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.rXU(i.zZn),i.rXU(i.aKT),i.rXU(Ct.W),i.rXU(uo),i.rXU(i.sFG))};static#t=this.\u0275cmp=i.VBU({type:Vn,selectors:[["kirby-modal-compact-wrapper"]],hostVars:2,hostBindings:function(at,Ft){1&at&&i.bIt("focus",function(){return Ft.onFocusChange()},!1,i.tSv)("focusout",function(){return Ft.onFocusChange()},!1,i.tSv),2&at&&i.AVh("ion-page",!1)},inputs:{config:"config",content:"content"},features:[i.Jv_([{provide:Zt,useExisting:Vn}])],decls:2,vars:3,consts:[[4,"ngComponentOutlet","ngComponentOutletInjector"],[4,"ngTemplateOutlet"]],template:function(at,Ft){1&at&&i.DNE(0,Vt,1,0,"ng-container",0)(1,cn,1,0,"ng-container",1),2&at&&(i.Y8G("ngComponentOutlet",Ft.config.component)("ngComponentOutletInjector",Ft.componentPropsInjector),i.R7$(),i.Y8G("ngTemplateOutlet",Ft.content))},dependencies:[et.MD,et.OI,et.T3],styles:["[_nghost-%COMP%]{display:block;padding:24px 16px}"]})}return Vn})(),xr=(()=>{class Vn{constructor(ze){this.platform=ze,this.easingEnter=Pt.ez.Easing.modal.enter,this.easingLeave=Pt.ez.Easing.modal.exit,this.duration=Pt.ez.Duration.LONG,this.SwipeToCloseDefaults={MIN_PRESENTING_SCALE:.93},this.createEnterAnimation=()=>({backdropAnimation:(0,Bt.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,Bt.c)().fromTo("transform","translateY(100vh)","translateY(0vh)")}),this.createLeaveAnimation=()=>({backdropAnimation:(0,Bt.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,Bt.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")}),this.getElementRoot=(at,Ft=at)=>at.shadowRoot||Ft}enterAnimation(ze){return(at,Ft)=>{const{presentingEl:In}=Ft,fo=this.getElementRoot(at),{wrapperAnimation:wn,backdropAnimation:dn}=this.createEnterAnimation();dn.addElement(fo.querySelector("ion-backdrop")),wn.addElement(fo.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const $e=(0,Bt.c)("entering-base").addElement(at).easing(this.easingEnter).duration(this.duration).addAnimation(wn);let We;if(ze&&(We=(0,Bt.c)().addElement(ze).fromTo("opacity","var(--backdrop-opacity)",.01)),In){const ot=!this.platform.isPhabletOrBigger(),Wt="ION-MODAL"===In.tagName&&void 0!==In.presentingElement,Dn=this.getElementRoot(In),to=(0,Bt.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),co=document.body;if(ot){const Oo=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",go=`translateY(${Wt?"-10px":Oo}) scale(${this.SwipeToCloseDefaults.MIN_PRESENTING_SCALE})`;to.afterStyles({transform:go}).beforeAddWrite(()=>co.style.setProperty("background-color","black")).addElement(In).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:go,borderRadius:"10px 10px 0 0"}]),$e.addAnimation(to)}else if($e.addAnimation(dn),We&&$e.addAnimation(We),Wt){const ln=`translateY(-10px) scale(${Wt?this.SwipeToCloseDefaults.MIN_PRESENTING_SCALE:1})`;to.afterStyles({transform:ln}).addElement(Dn.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:ln}]);const Gn=(0,Bt.c)().afterStyles({transform:ln}).addElement(Dn.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:ln}]);$e.addAnimation([to,Gn])}else wn.fromTo("opacity","0","1")}else $e.addAnimation(dn),We&&$e.addAnimation(We);return $e}}leaveAnimation(ze){return(at,Ft,In=this.duration)=>{const{presentingEl:fo}=Ft,wn=this.getElementRoot(at),{wrapperAnimation:dn,backdropAnimation:$e}=this.createLeaveAnimation();$e.addElement(wn.querySelector("ion-backdrop")),dn.addElement(wn.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const We=(0,Bt.c)("leaving-base").addElement(at).easing(this.easingLeave).duration(In).addAnimation(dn);let ot;if(ze&&(ot=(0,Bt.c)().addElement(ze).fromTo("opacity",.01,"var(--backdrop-opacity)").afterStyles({opacity:"var(--backdrop-opacity)"})),fo){const Wt=!this.platform.isPhabletOrBigger(),Dn="ION-MODAL"===fo.tagName&&void 0!==fo.presentingElement,to=this.getElementRoot(fo),co=(0,Bt.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(ln=>{1===ln&&(fo.style.setProperty("overflow",""),Array.from(Oo.querySelectorAll("ion-modal")).filter(go=>void 0!==go.presentingElement).length<=1&&Oo.style.setProperty("background-color",""))}),Oo=document.body;if(Wt){const ln=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",Vo=`translateY(${Dn?"-10px":ln}) scale(${this.SwipeToCloseDefaults.MIN_PRESENTING_SCALE})`;co.addElement(fo).keyframes([{offset:0,filter:"contrast(0.85)",transform:Vo,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),We.addAnimation(co)}else if(We.addAnimation($e),ot&&We.addAnimation(ot),Dn){const Gn=`translateY(-10px) scale(${Dn?this.SwipeToCloseDefaults.MIN_PRESENTING_SCALE:1})`;co.addElement(to.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:Gn},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const go=(0,Bt.c)().addElement(to.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:Gn},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);We.addAnimation([co,go])}else dn.fromTo("opacity","1","0")}else We.addAnimation($e),ot&&We.addAnimation(ot);return We}}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.KVO(Pt.fP))};static#t=this.\u0275prov=i.jDH({token:Vn,factory:Vn.\u0275fac,providedIn:"root"})}return Vn})(),zi=(()=>{class Vn{constructor(ze,at,Ft,In,fo){this.ionicModalController=ze,this.modalAnimationBuilder=at,this.modalNavigationService=Ft,this.windowRef=In,this.canDismissHelper=fo,this.isModalOpening=!1}showModalWindow(ze){var at=this;return(0,n.A)(function*(){if(at.isModalOpening)return;let Ft;ze.flavor=ze.flavor||"modal";const In=yield at.ionicModalController.getTop();In&&(Ft=In.shadowRoot.querySelector("ion-backdrop"));const fo=at.modalAnimationBuilder.enterAnimation(Ft),wn=at.modalAnimationBuilder.leaveAnimation(Ft),$e=ze.size||(ze.interactWithBackground?null:"medium"),We="allow-background-scroll";let ot=[];ze.cssClass&&(ot=Array.isArray(ze.cssClass)?ze.cssClass:[ze.cssClass]),ze.interactWithBackground&&at.windowRef.nativeWindow.document.body.classList.add(We);let Wt=!0;ze.canDismiss&&(Wt=at.canDismissHelper.getCanDismissCallback(ze.canDismiss)),at.isModalOpening=!0;const Dn=yield at.ionicModalController.create({component:"compact"===ze.flavor?Yi:zo,cssClass:["kirby-overlay","kirby-modal",$e?`kirby-modal-${$e}`:null,"drawer"===ze.flavor?"kirby-drawer":null,"compact"===ze.flavor?"kirby-modal-compact":null,ze.interactWithBackground?"interact-with-background":null,...ot],backdropDismiss:!("compact"===ze.flavor||ze.interactWithBackground),showBackdrop:!ze.interactWithBackground,componentProps:{config:ze},htmlAttributes:{...ze.htmlAttributes},keyboardClose:!1,canDismiss:Wt,enterAnimation:fo,leaveAnimation:wn});ze.interactWithBackground&&Dn.onDidDismiss().then(()=>{at.windowRef.nativeWindow.document.body.classList.remove(We)}),ze.customHeight&&Dn.style.setProperty("--kirby-modal-height",ze.customHeight);const to=Dn.onWillDismiss(),co={dismiss:Dn.dismiss.bind(Dn),onWillDismiss:to,onDidDismiss:Dn.onDidDismiss(),isDismissing:!1};return to.then(()=>{co.isDismissing=!0}),yield Dn.present(),Dn.contains(document.activeElement)||Dn.focus(),ze.modalRoute||at.modalNavigationService.handleBrowserBackButton(Dn),at.isModalOpening=!1,co})()}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.KVO(Mt.W3),i.KVO(xr),i.KVO(_n),i.KVO(Ct.W),i.KVO(uo))};static#t=this.\u0275prov=i.jDH({token:Vn,factory:Vn.\u0275fac})}return Vn})(),Ji=(()=>{class Vn{constructor(ze,at,Ft,In,fo){this.modalHelper=ze,this.actionSheetHelper=at,this.alertHelper=Ft,this.modalNavigationService=In,this.routeConfig=fo,this.overlays=[],this.noOverlayRegisteredErrorMessage="No modal overlays are currently registered",this.destroy$=new w.B}initialize(ze){var at=this;return(0,n.A)(function*(){const Ft=yield at.modalNavigationService.getModalNavigation(at.routeConfig,ze);at.onModalRouteActivated(Ft.activated$),at.onModalRouteDeactivated(Ft.deactivated$)})()}onModalRouteActivated(ze){var at=this;const Ft=()=>{this.modalNavigationService.navigateOutOfModalOutlet()},In=ze.pipe((0,L.p)(fo=>!fo.isNewModal),(0,pe.T)(fo=>fo.route));ze.pipe((0,De.Q)(this.destroy$),(0,L.p)(()=>0===this.overlays.length)).subscribe(function(){var fo=(0,n.A)(function*(wn){wn.isNewModal&&(yield at.showModalRoute(wn.route,In,Ft))});return function(wn){return fo.apply(this,arguments)}}())}onModalRouteDeactivated(ze){var at=this;ze.pipe((0,De.Q)(this.destroy$),(0,L.p)(()=>this.overlays.some(Ft=>!0!==Ft.isDismissing))).subscribe((0,n.A)(function*(){yield at.hideAll()}))}showModal(ze,at){var Ft=this;return(0,n.A)(function*(){yield Ft.showAndRegisterOverlay(()=>Ft.modalHelper.showModalWindow(ze),at)})()}navigateToModal(ze,at){var Ft=this;return(0,n.A)(function*(){return Ft.modalNavigationService.navigateToModal(ze,at)})()}navigateWithinModal(ze,at){var Ft=this;return(0,n.A)(function*(){return Ft.modalNavigationService.navigateWithinModal(ze,at)})()}showModalRoute(ze,at,Ft){var In=this;return(0,n.A)(function*(){const fo={...ze.snapshot.data.modalConfig,component:null,modalRoute:ze,siblingModalRouteActivated$:at};yield In.showAndRegisterOverlay(()=>In.modalHelper.showModalWindow(fo),null,Ft)})()}showActionSheet(ze,at){var Ft=this;return(0,n.A)(function*(){yield Ft.showAndRegisterOverlay(()=>Ft.actionSheetHelper.showActionSheet(ze),at)})()}showAlert(ze,at){var Ft=this;return(0,n.A)(function*(){yield Ft.showAndRegisterOverlay(()=>Ft.alertHelper.showAlert(ze),at)})()}showAndRegisterOverlay(ze,at,Ft){var In=this;return(0,n.A)(function*(){const fo=yield ze();fo&&(In.overlays.push(fo),"function"==typeof Ft&&fo.onWillDismiss.then(wn=>Ft(wn.data)),fo.onDidDismiss.then(wn=>{In.overlays.pop(),"function"==typeof at&&at(wn.data)}))})()}hideTopmost(ze){var at=this;return(0,n.A)(function*(){const Ft=at.overlays[at.overlays.length-1];if(!Ft)throw new Error(at.noOverlayRegisteredErrorMessage);return Ft.dismiss(ze)})()}hideAll(){var ze=this;return(0,n.A)(function*(){yield Promise.all(ze.overlays.filter(at=>!0!==at.isDismissing).map(function(){var at=(0,n.A)(function*(Ft){yield Ft.dismiss()});return function(Ft){return at.apply(this,arguments)}}()))})()}getTopMost(){return this.overlays[this.overlays.length-1]}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.KVO(zi),i.KVO(Qt),i.KVO(Qn),i.KVO(_n),i.KVO(f.bw,8))};static#t=this.\u0275prov=i.jDH({token:Vn,factory:Vn.\u0275fac})}return Vn})();const Pr=function(){var Vn=(0,n.A)(function*(mn,ze,at,Ft){const In=(0,i.WQX)(_n),fo=In.isModalRoute(at.url),wn=In.isModalRoute(Ft.url);if(fo&&wn)return!0;const We=(0,i.WQX)(Ji).getTopMost();if(We)return!!We.isDismissing||We.dismiss();{const Wt=yield(0,i.WQX)(Mt.W3).getTop();if(Wt)return Wt.dismiss()}return!0});return function(ze,at,Ft,In){return Vn.apply(this,arguments)}}();let Gi=(()=>{class Vn{set canDismiss(ze){this._canDismiss="boolean"==typeof ze?ze:this.canDismissHelper.getCanDismissCallback(ze)}constructor(ze,at,Ft,In){this.canDismissHelper=ze,this.modalNavigationService=at,this.windowRef=Ft,this.elementRef=In,this.isOpen=!1,this.size="medium",this.scrollDisabled=!1,this.collapseTitle=!1,this.customHeight=void 0,this.flavor="modal",this.drawerSupplementaryAction=void 0,this.interactWithBackground=!1,this.willPresent=new i.bkB,this.didPresent=new i.bkB,this.didDismiss=new i.bkB,this.willDismiss=new i.bkB,this._config={collapseTitle:this.collapseTitle,customHeight:this.customHeight,flavor:this.flavor,drawerSupplementaryAction:this.drawerSupplementaryAction,interactWithBackground:this.interactWithBackground},this._canDismiss=!0}ngOnInit(){this.forwardAriaLabel()}ngOnChanges(ze){this.updateModalConfigOnChange(ze)}scrollToTop(ze){this.ionContent.scrollToTop(ze)}scrollToBottom(ze){this.ionContent.scrollToBottom(ze)}_onWillPresent(ze){this.willPresent.emit(ze),this.interactWithBackground&&this.windowRef.nativeWindow.document.body.classList.add("allow-background-scroll")}_onDidPresent(ze){this.modalNavigationService.handleBrowserBackButton(this.modalElement.nativeElement),this.didPresent.emit(ze)}_onWillDismiss(ze){this.interactWithBackground&&this.windowRef.nativeWindow.document.body.classList.remove("allow-background-scroll"),this.willDismiss.emit(ze)}_onDidDismiss(ze){this.didDismiss.emit(ze)}updateModalConfigOnChange(ze){Object.entries(ze).forEach(([at])=>{at in this._config&&(this._config[at]=ze[at].currentValue)})}forwardAriaLabel(){this._config.htmlAttributes={"aria-label":(0,e.s0)(this.elementRef.nativeElement)}}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.rXU(uo),i.rXU(_n),i.rXU(Ct.W),i.rXU(i.aKT))};static#t=this.\u0275cmp=i.VBU({type:Vn,selectors:[["kirby-modal"]],contentQueries:function(at,Ft,In){if(1&at&&i.wni(In,i.C4Q,7),2&at){let fo;i.mGM(fo=i.lsd())&&(Ft.template=fo.first)}},viewQuery:function(at,Ft){if(1&at&&(i.GBs(Mt.Sb,7,i.aKT),i.GBs(Mt.W9,5)),2&at){let In;i.mGM(In=i.lsd())&&(Ft.modalElement=In.first),i.mGM(In=i.lsd())&&(Ft.ionContent=In.first)}},inputs:{isOpen:"isOpen",trigger:"trigger",size:"size",scrollDisabled:"scrollDisabled",canDismiss:"canDismiss",collapseTitle:"collapseTitle",customHeight:"customHeight",flavor:"flavor",drawerSupplementaryAction:"drawerSupplementaryAction",interactWithBackground:"interactWithBackground"},outputs:{willPresent:"willPresent",didPresent:"didPresent",didDismiss:"didDismiss",willDismiss:"willDismiss"},features:[i.OA$],decls:4,vars:13,consts:[["modalWrapper",""],[3,"willPresent","didPresent","willDismiss","didDismiss","ngClass","isOpen","trigger","canDismiss","showBackdrop"],[3,"config","content",4,"ngIf","ngIfElse"],[3,"config","content"],[1,"ion-page",3,"config","content","scrollDisabled"]],template:function(at,Ft){if(1&at){const In=i.RV6();i.j41(0,"ion-modal",1),i.bIt("willPresent",function(wn){return i.eBV(In),i.Njj(Ft._onWillPresent(wn))})("didPresent",function(wn){return i.eBV(In),i.Njj(Ft._onDidPresent(wn))})("willDismiss",function(wn){return i.eBV(In),i.Njj(Ft._onWillDismiss(wn))})("didDismiss",function(wn){return i.eBV(In),i.Njj(Ft._onDidDismiss(wn))}),i.DNE(1,Un,1,2,"ng-template"),i.k0s(),i.DNE(2,Zn,1,3,"ng-template",null,0,i.C5r)}2&at&&(i.ZvI("kirby-modal kirby-overlay kirby-modal-",Ft.size,""),i.xc7("--kirby-modal-height",Ft.customHeight),i.Y8G("ngClass",i.l_i(10,Fn,"compact"===Ft.flavor?"kirby-modal-compact":"kirby-"+Ft.flavor,Ft.interactWithBackground?"interact-with-background":""))("isOpen",Ft.isOpen)("trigger",Ft.trigger)("canDismiss",Ft._canDismiss)("showBackdrop",!Ft.interactWithBackground))},dependencies:[et.MD,et.YU,et.bT,At.U,Xe.op,Mt.Sb,zo,Yi],encapsulation:2,changeDetection:0})}return Vn})(),no=(()=>{class Vn extends Tn{get _cssClass(){return[this.themeColor,this.type].filter(ze=>!!ze)}constructor(ze,at){super(vn.FOOTER,ze,at),this.snapToKeyboard=!1,this.type="fixed",this.themeColor="white"}static#e=this.\u0275fac=function(at){return new(at||Vn)(i.rXU(i.aKT),i.rXU(hn,8))};static#t=this.\u0275cmp=i.VBU({type:Vn,selectors:[["kirby-modal-footer"]],hostVars:4,hostBindings:function(at,Ft){2&at&&(i.HbH(Ft._cssClass),i.AVh("snap-to-keyboard",Ft.snapToKeyboard))},inputs:{snapToKeyboard:"snapToKeyboard",type:"type",themeColor:"themeColor"},features:[i.Vt3],ngContentSelectors:Bn,decls:2,vars:0,template:function(at,Ft){1&at&&(i.NAR(),i.j41(0,"ion-footer"),i.SdG(1),i.k0s())},dependencies:[et.MD,Mt.M0],styles:["ion-item-option.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}ion-footer[_ngcontent-%COMP%]{--kirby-inputs-background-color: var(--kirby-dark-overlay);--kirby-inputs-background-color-hover: var(--kirby-dark-overlay-10);--kirby-inputs-background-color-active: var(--kirby-dark-overlay-20);--kirby-inputs-color: var(--kirby-black);--kirby-inputs-indicator-background-color: var(--kirby-black);--kirby-inputs-indicator-color: var(--kirby-white);--kirby-inputs-placeholder-color: var(--kirby-semi-dark);--kirby-inputs-elevation: none;--kirby-divider-color: var(--kirby-background-color);box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14;box-sizing:inherit;display:flex;justify-content:var(--kirby-modal-footer-justify-content, center);align-items:center;background-color:var(--kirby-modal-footer-background, var(--kirby-white));color:var(--kirby-modal-footer-color, var(--kirby-white-contrast));padding:16px;padding-bottom:calc(12px + var(--kirby-modal-footer-safe-area-bottom, 0px))}@media (min-width: 768px){ion-footer[_ngcontent-%COMP%]{padding:24px}}@media (max-width: 767px){[_nghost-%COMP%]{--kirby-modal-footer-safe-area-bottom: var(--kirby-safe-area-bottom)}}[_nghost-%COMP%]{box-sizing:border-box;display:block}.snap-to-keyboard[_nghost-%COMP%] ion-footer[_ngcontent-%COMP%]{transition:transform .15s ease-out}.light[_nghost-%COMP%] ion-footer[_ngcontent-%COMP%]{--kirby-inputs-background-color: var(--kirby-white);--kirby-inputs-background-color-hover: var(--kirby-dark-overlay-10);--kirby-inputs-background-color-active: var(--kirby-dark-overlay-20);--kirby-inputs-color: var(--kirby-black);--kirby-inputs-indicator-background-color: var(--kirby-black);--kirby-inputs-indicator-color: var(--kirby-white);--kirby-inputs-placeholder-color: var(--kirby-semi-dark);--kirby-divider-color: var(--kirby-medium);--kirby-inputs-elevation: var(--kirby-elevation-2);background-color:var(--kirby-background-color)}.inline[_nghost-%COMP%] ion-footer[_ngcontent-%COMP%]{--kirby-inputs-background-color: var(--kirby-white);--kirby-inputs-background-color-hover: var(--kirby-dark-overlay-10);--kirby-inputs-background-color-active: var(--kirby-dark-overlay-20);--kirby-inputs-color: var(--kirby-black);--kirby-inputs-indicator-background-color: var(--kirby-black);--kirby-inputs-indicator-color: var(--kirby-white);--kirby-inputs-placeholder-color: var(--kirby-semi-dark);--kirby-divider-color: var(--kirby-medium);--kirby-inputs-elevation: var(--kirby-elevation-2);background:transparent;box-shadow:none}.keyboard-visible.snap-to-keyboard[_nghost-%COMP%] ion-footer[_ngcontent-%COMP%], .keyboard-visible .snap-to-keyboard[_nghost-%COMP%] ion-footer[_ngcontent-%COMP%]{transition:transform .25s ease-out 1ms;transform:translateY(calc((var(--keyboard-offset, 0px) - var(--kirby-modal-footer-safe-area-bottom, 0px)) * -1))}.modal-wrapper.full-height[_nghost-%COMP%], .modal-wrapper.full-height [_nghost-%COMP%]{--kirby-modal-footer-safe-area-bottom: var(--kirby-safe-area-bottom)}"],changeDetection:0})}return Vn})()},91365:(ft,Z,l)=>{"use strict";l.d(Z,{AB:()=>ri,Bk:()=>uo,H1:()=>Ji,HE:()=>bo,Im:()=>_o,Uu:()=>xr,cr:()=>zi,dJ:()=>zo,eR:()=>gi,jg:()=>Yi,oX:()=>Pr,wH:()=>Go,wq:()=>Gi});var n=l(54438),i=l(47868),f=l(51272),g=l(70600),s=l(90617),x=l(35348),_=l(21413),y=l(5964),w=l(56977),M=l(70152),I=l(96354),R=l(29660),H=l(52375),K=l(53715),L=l(81443),he=l(13339),pe=l(60177),be=l(90599);const Le=["*"],ye=[[["button","kirby-button",""]]],je=["button[kirby-button]"],ke=["pageTitle"],De=["stickyContentContainer"],Je=["simpleTitleTemplate"],lt=["simpleToolbarTitleTemplate"],Mt=[[["kirby-page-footer"]],[["kirby-header"]],[["kirby-page-actions"]],[["kirby-page-content"]]],Bt=["kirby-page-footer","kirby-header","kirby-page-actions","kirby-page-content"],et=(no,Vn)=>({"text-center":no,"text-right":Vn});function sn(no,Vn){1&no&&n.eu8(0)}function tt(no,Vn){if(1&no&&(n.qex(0),n.DNE(1,sn,1,0,"ng-container",21),n.bVm()),2&no){const mn=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",mn.toolbarTitleTemplate)}}function Ct(no,Vn){1&no&&n.eu8(0)}function Xe(no,Vn){1&no&&n.eu8(0)}function e(no,Vn){if(1&no){const mn=n.RV6();n.j41(0,"span",23),n.bIt("click",function(at){n.eBV(mn);const Ft=n.XpG();return n.Njj(Ft.onTitleClick(at))}),n.j41(1,"span"),n.DNE(2,Ct,1,0,"ng-container",21),n.k0s(),n.DNE(3,Xe,1,0,"ng-container",21),n.k0s()}if(2&no){const mn=n.XpG();n.AVh("clickable",mn.hasInteractiveTitle)("has-icon",!!mn.titleActionIconTemplate),n.R7$(2),n.Y8G("ngTemplateOutlet",mn.toolbarTitleTemplate),n.R7$(),n.Y8G("ngTemplateOutlet",mn.titleActionIconTemplate)}}function On(no,Vn){1&no&&n.eu8(0)}function Pt(no,Vn){if(1&no&&(n.j41(0,"ion-buttons",24),n.DNE(1,On,1,0,"ng-container",25),n.k0s()),2&no){const mn=n.XpG();n.AVh("fade-in",mn.toolbarActionsVisible),n.R7$(),n.Y8G("ngTemplateOutlet",mn.headerActionsTemplate)("ngTemplateOutletInjector",mn.toolbarActionGroupInjector)}}function wt(no,Vn){1&no&&n.eu8(0)}function At(no,Vn){if(1&no&&(n.j41(0,"ion-buttons",26),n.DNE(1,wt,1,0,"ng-container",21),n.k0s()),2&no){const mn=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",mn.stickyActionsTemplate)}}function we(no,Vn){1&no&&n.eu8(0)}function Ot(no,Vn){if(1&no&&(n.j41(0,"ion-buttons",27),n.DNE(1,we,1,0,"ng-container",21),n.k0s()),2&no){const mn=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",mn.fixedActionsTemplate)}}function It(no,Vn){if(1&no){const mn=n.RV6();n.j41(0,"ion-refresher",28),n.bIt("ionRefresh",function(at){n.eBV(mn);const Ft=n.XpG();return n.Njj(Ft.delegateRefreshEvent(at))}),n.nrm(1,"kirby-spinner"),n.k0s()}}function tn(no,Vn){1&no&&n.eu8(0)}function fn(no,Vn){1&no&&n.eu8(0)}function En(no,Vn){1&no&&n.eu8(0)}function jn(no,Vn){if(1&no&&(n.j41(0,"div",33),n.DNE(1,En,1,0,"ng-container",21),n.k0s()),2&no){const mn=n.XpG(2),ze=n.sdS(24);n.R7$(),n.Y8G("ngTemplateOutlet",mn.customSubtitleTemplate||ze)}}function So(no,Vn){if(1&no&&(n.j41(0,"div",29)(1,"div",30)(2,"div",31,7),n.DNE(4,tn,1,0,"ng-container",21)(5,fn,1,0,"ng-container",21),n.k0s(),n.DNE(6,jn,2,1,"div",32),n.k0s()()),2&no){const mn=n.XpG(),ze=n.sdS(22),at=n.sdS(26);n.R7$(),n.Y8G("ngClass",n.l_i(6,et,"center"===mn.titleAlignment,"right"===mn.titleAlignment)),n.R7$(),n.AVh("has-actions",!!mn.pageActionsTemplate),n.R7$(2),n.Y8G("ngTemplateOutlet",mn.customTitleTemplate||ze),n.R7$(),n.Y8G("ngTemplateOutlet",mn.pageActionsTemplate||at),n.R7$(),n.Y8G("ngIf",mn.hasPageSubtitle)}}function pt(no,Vn){1&no&&(n.j41(0,"div",29),n.SdG(1,1),n.k0s())}function Nt(no,Vn){1&no&&n.eu8(0)}function Vt(no,Vn){if(1&no&&(n.qex(0),n.j41(1,"div",34,8)(3,"div"),n.DNE(4,Nt,1,0,"ng-container",21),n.k0s()(),n.bVm()),2&no){const mn=n.XpG();n.R7$(),n.AVh("content-pinned",mn.isStickyContentPinned),n.R7$(3),n.Y8G("ngTemplateOutlet",mn.stickyContentTemplate)}}function cn(no,Vn){1&no&&n.eu8(0)}function Fn(no,Vn){1&no&&n.eu8(0)}function pn(no,Vn){if(1&no&&(n.j41(0,"div",35)(1,"div",20),n.DNE(2,Fn,1,0,"ng-container",21),n.k0s()()),2&no){const mn=n.XpG();n.R7$(2),n.Y8G("ngTemplateOutlet",mn.fixedContentTemplate)}}function Un(no,Vn){1&no&&n.eu8(0)}function Zn(no,Vn){if(1&no&&(n.j41(0,"h1",36),n.DNE(1,Un,1,0,"ng-container",21),n.k0s()),2&no){const mn=n.XpG(),ze=n.sdS(30);n.Y8G("kirbyFitHeading",mn.fitHeadingConfig),n.R7$(),n.Y8G("ngTemplateOutlet",ze)}}function Bn(no,Vn){1&no&&n.eu8(0)}function _n(no,Vn){if(1&no&&n.DNE(0,Bn,1,0,"ng-container",21),2&no){n.XpG();const mn=n.sdS(32);n.Y8G("ngTemplateOutlet",mn)}}function Cn(no,Vn){1&no&&n.SdG(0,2)}function Qt(no,Vn){1&no&&n.SdG(0,3)}function Nn(no,Vn){if(1&no&&n.EFF(0),2&no){const mn=n.XpG();n.JRh(mn.title)}}function Qn(no,Vn){if(1&no&&n.EFF(0),2&no){const mn=n.XpG();n.JRh(mn.subtitle)}}function Zt(no,Vn){if(1&no&&n.EFF(0),2&no){const mn=n.XpG();n.JRh(mn.toolbarTitle)}}const Tn=new n.nKC("page-back-button-override");let uo=(()=>{class no{static#e=this.\u0275fac=function(ze){return new(ze||no)};static#t=this.\u0275dir=n.FsC({type:no,selectors:[["","kirbyPageTitle",""]],standalone:!1})}return no})(),bo=(()=>{class no{static#e=this.\u0275fac=function(ze){return new(ze||no)};static#t=this.\u0275dir=n.FsC({type:no,selectors:[["","kirbyPageSubtitle",""]],standalone:!1})}return no})(),_o=(()=>{class no{static#e=this.\u0275fac=function(ze){return new(ze||no)};static#t=this.\u0275dir=n.FsC({type:no,selectors:[["","kirbyPageToolbarTitle",""]],standalone:!1})}return no})(),gi=(()=>{class no{constructor(mn){this.template=mn,this.stickyDefault=!0,this.fixedDefault=!1,console.warn("Defining Page Actions via *kirbyPageActions is deprecated and will be removed in Kirby v11. A Kirby Header with Actions should be used instead, as it has an improved API with better support for responsive layouts.")}get isSticky(){return this.config?this.config.sticky:this.stickyDefault}get isFixed(){return this.config?this.config.fixed:this.fixedDefault}static#e=this.\u0275fac=function(ze){return new(ze||no)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:no,selectors:[["","kirbyPageActions",""]],inputs:{config:[0,"kirbyPageActions","config"]},standalone:!1})}return no})(),Go=(()=>{class no{constructor(mn){this.template=mn}get isFixed(){return this.config&&this.config.fixed}static#e=this.\u0275fac=function(ze){return new(ze||no)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:no,selectors:[["","kirbyPageContent",""]],inputs:{config:[0,"kirbyPageContent","config"]},standalone:!1})}return no})(),zo=(()=>{class no{static#e=this.\u0275fac=function(ze){return new(ze||no)};static#t=this.\u0275dir=n.FsC({type:no,selectors:[["","kirbyPageStickyContent",""]],standalone:!1})}return no})(),ri=(()=>{class no extends L.v3{constructor(mn,ze){super(L.mr.PAGE_PROGRESS,ze,mn),this.slot="start"}static#e=this.\u0275fac=function(ze){return new(ze||no)(n.rXU(L.cG,8),n.rXU(n.aKT))};static#t=this.\u0275cmp=n.VBU({type:no,selectors:[["kirby-page-progress"]],hostVars:1,hostBindings:function(ze,at){2&ze&&n.BMQ("slot",at.slot)},standalone:!1,features:[n.Vt3],ngContentSelectors:Le,decls:1,vars:0,template:function(ze,at){1&ze&&(n.NAR(),n.SdG(0))},styles:["[_nghost-%COMP%]{display:flex;margin-inline-end:4px}"]})}return no})(),Yi=(()=>{class no extends L.v3{constructor(mn,ze){super(L.mr.TITLE,mn,ze)}static#e=this.\u0275fac=function(ze){return new(ze||no)(n.rXU(n.aKT),n.rXU(L.cG,8))};static#t=this.\u0275cmp=n.VBU({type:no,selectors:[["kirby-page-title"]],standalone:!1,features:[n.Vt3],ngContentSelectors:Le,decls:1,vars:0,template:function(ze,at){1&ze&&(n.NAR(),n.SdG(0))},encapsulation:2})}return no})(),xr=(()=>{class no{static#e=this.\u0275fac=function(ze){return new(ze||no)};static#t=this.\u0275cmp=n.VBU({type:no,selectors:[["kirby-page-content"]],standalone:!1,ngContentSelectors:Le,decls:1,vars:0,template:function(ze,at){1&ze&&(n.NAR(),n.SdG(0))},encapsulation:2})}return no})(),zi=(()=>{class no{static#e=this.\u0275fac=function(ze){return new(ze||no)};static#t=this.\u0275cmp=n.VBU({type:no,selectors:[["kirby-page-actions"]],standalone:!1,ngContentSelectors:je,decls:1,vars:0,template:function(ze,at){1&ze&&(n.NAR(ye),n.SdG(0))},styles:["[_nghost-%COMP%]{display:inline-flex;column-gap:8px}"]})}return no})(),Ji=(()=>{class no{set maxWidth(mn){this._maxWidth=mn}get maxWidth(){return this._maxWidth}get tabBarBottomHidden(){return this._tabBarBottomHidden}set tabBarBottomHidden(mn){this.tabsComponent&&setTimeout(()=>{this.tabsComponent.tabBarBottomHidden=mn,this.changeDetectorRef.markForCheck()}),this._tabBarBottomHidden=mn}constructor(mn,ze,at,Ft,In,fo,wn,dn,$e,We,ot,Wt,Dn,to){this.elementRef=mn,this.injector=ze,this.renderer=at,this.router=Ft,this.changeDetectorRef=In,this.zone=fo,this.modalNavigationService=wn,this.resizeObserverService=dn,this.tabsComponent=$e,this.backButtonOverride=We,this.routerOutlet=ot,this.navCtrl=Wt,this.ionicElementPartHelper=Dn,this.translations=to,this.titleAlignment="left",this._maxWidth="default",this.enter=new n.bkB,this.leave=new n.bkB,this.refresh=new n.bkB,this.backButtonClick=new n.bkB,this.toolbarTitleClick=new n.bkB,this.isStickyContentPinned=!1,this.isObservingTitle=!1,this.isObservingActions=!1,this.ngOnDestroy$=new _.B,this.navigationStart$=this.router.events.pipe((0,y.p)(co=>co instanceof i.Z),(0,w.Q)(this.ngOnDestroy$)),this.navigationEnd$=this.router.events.pipe((0,y.p)(co=>co instanceof i.wF),(0,w.Q)(this.ngOnDestroy$))}whenContentReady(){return this.contentReadyPromise||(this.contentReadyPromise=new Promise(mn=>{this.resizeObserverService.observe(this.ionContentElement,ze=>{ze.contentRect.height>0&&(this.resizeObserverService.unobserve(this.ionContentElement),mn())})})),this.contentReadyPromise}ngOnInit(){this.removeWrapper(),this.ionicElementPartHelper.setPart("background",this.ionToolbarElement,".toolbar-background"),this.toolbarActionGroupInjector=n.zZn.create({providers:[{provide:R.F,useValue:{isCondensed:!0,maxVisibleActions:1}}],parent:this.injector})}ngOnChanges(mn){mn.titleMaxLines&&(this.fitHeadingConfig={maxLines:mn.titleMaxLines.currentValue}),mn.subtitle&&!mn.subtitle.isFirstChange&&(this.subtitle=mn.title.currentValue,this.hasPageSubtitle=void 0!==this.subtitle)}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{this.contentScrolled$=this.content.ionScroll.pipe((0,M.B)(10),(0,I.T)(mn=>mn.detail),(0,w.Q)(this.ngOnDestroy$)),this.contentScrolled$.subscribe(mn=>{mn.scrollTop>4!==this.isContentScrolled&&(this.isContentScrolled=!this.isContentScrolled,this.changeDetectorRef.detectChanges())})}),this.url=this.router.url,this.onEnter(),this.navigationStart$.subscribe(mn=>{this.getPathname(mn.url)!==this.getPathname(this.url)&&!this.modalNavigationService.isModalRoute(this.url)&&!this.modalNavigationService.isModalRoute(mn.url)&&this.onLeave()}),this.navigationEnd$.subscribe(mn=>{this.getPathname(mn.urlAfterRedirects)===this.getPathname(this.url)&&this.onEnter()}),this.interceptBackButtonClicksSetup(),this.initializeStickyIntersectionObserver(),this.setActionButtonsWidth()}ngAfterContentChecked(){this.initializeHeader(),this.initializeTitle(),this.initializeActions(),this.initializeContent(),this.initializeStickyContent(),this.changeDetectorRef.detectChanges()}ngOnDestroy(){this.ngOnDestroy$.next(),this.ngOnDestroy$.complete(),this.titleIntersectionObserver?.disconnect(),this.stickyActionsIntersectionObserver?.disconnect(),this.stickyContentIntersectionObserver?.disconnect()}delegateRefreshEvent(mn){this.refresh.emit({complete:mn.target.complete.bind(mn.target)})}getMaxWidthClasses(){return this.maxWidth&&"default"!==this.maxWidth?`max-width-${this.maxWidth}`:""}onTitleClick(mn){this.toolbarTitleClick.observed?this.toolbarTitleClick.emit(mn):this.header?.titleClick.emit(mn)}removeWrapper(){const mn=this.elementRef.nativeElement.parentNode;this.renderer.removeChild(mn,this.elementRef.nativeElement),this.renderer.appendChild(mn,this.ionHeaderElement.nativeElement),this.renderer.appendChild(mn,this.ionContentElement.nativeElement),this.renderer.appendChild(mn,this.ionFooterElement.nativeElement)}onEnter(){this.isActive||(this.isActive=!0,this.enter.emit(),this.observeTitle(),this.observeActions())}onLeave(){this.isActive&&(this.isActive=!1,this.leave.emit(),this.unobserveTitle(),this.unobserveActions(),this.tabBarBottomHidden&&this.tabsComponent&&(this.tabsComponent.tabBarBottomHidden=!1))}interceptBackButtonClicksSetup(){this.backButtonOverride&&(this.backButton.onClick=mn=>{mn.preventDefault(),this.backButtonOverride.navigateBack(this.routerOutlet,this.navCtrl,this.defaultBackHref)}),0===this.backButtonClick.observers.length&&this.backButtonClick.pipe((0,w.Q)(this.ngOnDestroy$)).subscribe(this.backButton.onClick.bind(this.backButton)),this.backButton.onClick=mn=>{this.backButtonClick.emit(mn)}}initializeStickyIntersectionObserver(){this.stickyContentTemplate&&(this.stickyContentIntersectionObserver||(this.stickyContentIntersectionObserver=this.createStickyContentIntersectionObserver()),setTimeout(()=>{this.stickyContentIntersectionObserver.observe(this.stickyContentContainer.nativeElement)}))}initializeHeader(){void 0===this.hasHeader&&this.header&&(this.hasHeader=!0,this.titleActionIconTemplate=this.header.titleActionIconTemplate,this.header.titleClick.observed&&void 0===this.hasInteractiveTitle&&(this.hasInteractiveTitle=!0))}initializeTitle(){this.hasHeader&&this.isObservingTitle&&!this.header?.titleElement&&(this.isObservingTitle=!1),this.hasPageTitle?!this.isObservingTitle&&this.header?.titleElement&&this.observeTitle():(this.hasPageTitle=void 0!==this.title||!!this.customTitleTemplate||!!this.header?.title,this.toolbarTitleVisible=!this.hasPageTitle,this.hasPageSubtitle=void 0!==this.subtitle||!!this.customSubtitleTemplate,this.header?.title&&!this.toolbarTitle&&(this.toolbarTitle=this.header.title,this.header.title$.pipe((0,w.Q)(this.ngOnDestroy$)).subscribe(ze=>{this.toolbarTitle=ze})),this.observeTitle(),this.toolbarTitleTemplate=this.customToolbarTitleTemplate?this.customToolbarTitleTemplate:"string"==typeof this.toolbarTitle?this.simpleToolbarTitleTemplate:this.customTitleTemplate||this.simpleTitleTemplate,this.toolbarTitleClick.observed&&void 0===this.hasInteractiveTitle&&(this.hasInteractiveTitle=!0))}observeTitle(){this.hasPageTitle&&(this.isObservingTitle||(this.isObservingTitle=!0,this.titleIntersectionObserver||(this.titleIntersectionObserver=new IntersectionObserver(mn=>{const ze=mn[mn.length-1];if(ze){const at=!ze.isIntersecting;at!==this.toolbarTitleVisible&&(this.toolbarTitleVisible=at,this.changeDetectorRef.detectChanges())}},{root:this.ionContentElement.nativeElement})),this.zone.runOutsideAngular(()=>{this.whenContentReady().then(()=>{const mn=this.pageTitle||this.header?.titleElement;mn?.nativeElement&&this.titleIntersectionObserver.observe(mn.nativeElement)})})))}unobserveTitle(){const mn=this.pageTitle||this.header?.titleElement;mn&&this.titleIntersectionObserver?.unobserve(mn.nativeElement),this.isObservingTitle=!1}initializeActions(){void 0===this.headerActionsTemplate&&this.header&&(this.headerActionsTemplate=this.header.actionsTemplate),this.hasHeader&&this.isObservingActions&&!this.header?.actionsElement&&(this.isObservingActions=!1),this.observeActions(),this.customActions.forEach(mn=>{mn.isFixed?this.fixedActionsTemplate=mn.template:mn.isSticky?this.stickyActionsTemplate=mn.template:this.pageActionsTemplate=mn.template})}observeActions(){this.header?.actionsElement&&(this.isObservingActions||(this.isObservingActions=!0,this.stickyActionsIntersectionObserver||(this.stickyActionsIntersectionObserver=new IntersectionObserver(mn=>{const ze=mn[mn.length-1];if(ze){const at=!ze.isIntersecting;at!==this.toolbarActionsVisible&&(this.toolbarActionsVisible=at,this.changeDetectorRef.detectChanges())}},{root:this.ionContentElement.nativeElement})),this.zone.runOutsideAngular(()=>{this.whenContentReady().then(()=>{this.header?.actionsElement?.nativeElement&&this.stickyActionsIntersectionObserver.observe(this.header.actionsElement.nativeElement)})})))}unobserveActions(){this.header?.actionsElement&&this.stickyActionsIntersectionObserver?.unobserve(this.header.actionsElement.nativeElement),this.isObservingActions=!1}setActionButtonsWidth(){this.ionToolbarButtonsElement&&customElements.whenDefined(this.ionToolbarElement.nativeElement.localName).then(()=>{(0,s.K6)(this.ionToolbarElement.nativeElement,mn=>{let ze=0,at=0;this.ionToolbarButtonsElement.map(In=>In.nativeElement).forEach(In=>{const fo=getComputedStyle(In),wn=parseInt(fo.marginLeft)+parseInt(fo.marginRight);"start"===In.getAttribute("slot")?ze+=In.offsetWidth+wn:at+=In.offsetWidth+wn});const Ft=Math.max(ze,at);this.renderer.setStyle(mn,"--action-buttons-width",`${Ft}px`,n.czy.DashCase)})})}initializeContent(){this.customContent.forEach(mn=>{mn.isFixed?this.fixedContentTemplate=mn.template:this.customContentTemplate=mn.template})}initializeStickyContent(){this.stickyContentTemplate=this.stickyContentRef}createStickyContentIntersectionObserver(){return new IntersectionObserver(at=>{this.isStickyContentPinned!==!at[0].isIntersecting&&(this.isStickyContentPinned=!this.isStickyContentPinned,this.changeDetectorRef.detectChanges())},{root:this.ionContentElement.nativeElement,threshold:1})}getPathname(mn){return mn.split("?")[0]}_onKeyboardWillShow(mn){mn&&mn.keyboardHeight&&this.ionContentElement.nativeElement.style.setProperty("--keyboard-offset",`${mn.keyboardHeight}px`)}_onKeyboardWillHide(){this.ionContentElement.nativeElement.style.setProperty("--keyboard-offset","0px")}_onSelectedTabClick(){this.content&&this.content.scrollToTop(K.ez.Duration.LONG)}static#e=this.\u0275fac=function(ze){return new(ze||no)(n.rXU(n.aKT),n.rXU(n.zZn),n.rXU(n.sFG),n.rXU(i.Ix),n.rXU(n.gRc),n.rXU(n.SKi),n.rXU(L.zk),n.rXU(he.ke),n.rXU(x.OW,12),n.rXU(Tn,8),n.rXU(f.Rg,8),n.rXU(g.q9,8),n.rXU(K.cO),n.rXU(he.L0))};static#t=this.\u0275cmp=n.VBU({type:no,selectors:[["kirby-page"]],contentQueries:function(ze,at,Ft){if(1&ze&&(n.wni(Ft,_o,5,n.C4Q),n.wni(Ft,uo,5,n.C4Q),n.wni(Ft,bo,5,n.C4Q),n.wni(Ft,zo,5,n.C4Q),n.wni(Ft,H.lZ,5),n.wni(Ft,gi,4),n.wni(Ft,Go,4)),2&ze){let In;n.mGM(In=n.lsd())&&(at.customToolbarTitleTemplate=In.first),n.mGM(In=n.lsd())&&(at.customTitleTemplate=In.first),n.mGM(In=n.lsd())&&(at.customSubtitleTemplate=In.first),n.mGM(In=n.lsd())&&(at.stickyContentRef=In.first),n.mGM(In=n.lsd())&&(at.header=In.first),n.mGM(In=n.lsd())&&(at.customActions=In),n.mGM(In=n.lsd())&&(at.customContent=In)}},viewQuery:function(ze,at){if(1&ze&&(n.GBs(f.W9,7),n.GBs(f.W9,7,n.aKT),n.GBs(f.eU,7,n.aKT),n.GBs(f.M0,7,n.aKT),n.GBs(f.ai,7,n.aKT),n.GBs(f.el,5),n.GBs(ke,5,n.aKT),n.GBs(De,5,n.aKT),n.GBs(Je,7,n.C4Q),n.GBs(lt,7,n.C4Q),n.GBs(f.QW,5,n.aKT)),2&ze){let Ft;n.mGM(Ft=n.lsd())&&(at.content=Ft.first),n.mGM(Ft=n.lsd())&&(at.ionContentElement=Ft.first),n.mGM(Ft=n.lsd())&&(at.ionHeaderElement=Ft.first),n.mGM(Ft=n.lsd())&&(at.ionFooterElement=Ft.first),n.mGM(Ft=n.lsd())&&(at.ionToolbarElement=Ft.first),n.mGM(Ft=n.lsd())&&(at.backButton=Ft.first),n.mGM(Ft=n.lsd())&&(at.pageTitle=Ft.first),n.mGM(Ft=n.lsd())&&(at.stickyContentContainer=Ft.first),n.mGM(Ft=n.lsd())&&(at.simpleTitleTemplate=Ft.first),n.mGM(Ft=n.lsd())&&(at.simpleToolbarTitleTemplate=Ft.first),n.mGM(Ft=n.lsd())&&(at.ionToolbarButtonsElement=Ft)}},hostBindings:function(ze,at){1&ze&&n.bIt("keyboardWillShow",function(In){return at._onKeyboardWillShow(In)},!1,n.tSv)("keyboardWillHide",function(){return at._onKeyboardWillHide()},!1,n.tSv)("kirbySelectedTabClick",function(){return at._onSelectedTabClick()},!1,n.tSv)},inputs:{title:"title",subtitle:"subtitle",toolbarTitle:"toolbarTitle",titleAlignment:"titleAlignment",defaultBackHref:"defaultBackHref",hideBackButton:"hideBackButton",titleMaxLines:"titleMaxLines",hasInteractiveTitle:"hasInteractiveTitle",maxWidth:"maxWidth",tabBarBottomHidden:"tabBarBottomHidden"},outputs:{enter:"enter",leave:"leave",refresh:"refresh",backButtonClick:"backButtonClick",toolbarTitleClick:"toolbarTitleClick"},standalone:!1,features:[n.Jv_([K.cO]),n.OA$],ngContentSelectors:Bt,decls:35,vars:25,consts:[["defaultPageTitleTemplate",""],["defaultPageSubtitleTemplate",""],["defaultPageActionsTemplate",""],["defaultContentTemplate",""],["simpleTitleTemplate",""],["simpleSubtitleTemplate",""],["simpleToolbarTitleTemplate",""],["pageTitle",""],["stickyContentContainer",""],["slot","start"],["text","","icon","assets/kirby/icons/svg/arrow-back.svg",3,"defaultHref"],[1,"toolbar-title"],[4,"ngIf"],[3,"clickable","has-icon","click",4,"ngIf"],["class","hide","slot","primary",3,"fade-in",4,"ngIf"],["class","legacy-actions","slot","primary",4,"ngIf"],["class","legacy-actions","slot","secondary",4,"ngIf"],["scrollEvents","true","forceOverscroll","false"],["slot","fixed",3,"ionRefresh",4,"ngIf"],["class","page-header-container",4,"ngIf"],[1,"content-inner"],[4,"ngTemplateOutlet"],["slot","fixed","class","fixed-content",4,"ngIf"],[3,"click"],["slot","primary",1,"hide"],[4,"ngTemplateOutlet","ngTemplateOutletInjector"],["slot","primary",1,"legacy-actions"],["slot","secondary",1,"legacy-actions"],["slot","fixed",3,"ionRefresh"],[1,"page-header-container"],[1,"page-header",3,"ngClass"],[1,"page-title"],["class","page-subtitle",4,"ngIf"],[1,"page-subtitle"],[1,"sticky-content-container"],["slot","fixed",1,"fixed-content"],[3,"kirbyFitHeading"]],template:function(ze,at){if(1&ze&&(n.NAR(Mt),n.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",9),n.nrm(3,"ion-back-button",10),n.k0s(),n.j41(4,"ion-title")(5,"div",11),n.DNE(6,tt,2,1,"ng-container",12)(7,e,4,6,"span",13),n.k0s()(),n.DNE(8,Pt,2,4,"ion-buttons",14)(9,At,2,1,"ion-buttons",15)(10,Ot,2,1,"ion-buttons",16),n.k0s()(),n.j41(11,"ion-content",17),n.DNE(12,It,2,0,"ion-refresher",18)(13,So,7,9,"div",19)(14,pt,2,0,"div",19)(15,Vt,5,3,"ng-container",12),n.j41(16,"div",20),n.DNE(17,cn,1,0,"ng-container",21),n.k0s(),n.DNE(18,pn,3,1,"div",22),n.k0s(),n.j41(19,"ion-footer"),n.SdG(20),n.k0s(),n.DNE(21,Zn,2,2,"ng-template",null,0,n.C5r)(23,_n,1,1,"ng-template",null,1,n.C5r)(25,Cn,1,0,"ng-template",null,2,n.C5r)(27,Qt,1,0,"ng-template",null,3,n.C5r)(29,Nn,1,1,"ng-template",null,4,n.C5r)(31,Qn,1,1,"ng-template",null,5,n.C5r)(33,Zt,1,1,"ng-template",null,6,n.C5r)),2&ze){const Ft=n.sdS(28);n.R7$(),n.AVh("content-scrolled",at.isContentScrolled)("content-pinned",at.isStickyContentPinned),n.R7$(2),n.xc7("visibility",at.hideBackButton?"hidden":null),n.Y8G("defaultHref",at.defaultBackHref),n.BMQ("aria-label",at.translations.get("back")),n.R7$(),n.AVh("slide-and-fade-in",at.toolbarTitleVisible),n.R7$(2),n.Y8G("ngIf",!at.titleActionIconTemplate&&!at.hasInteractiveTitle),n.R7$(),n.Y8G("ngIf",!!at.titleActionIconTemplate||at.hasInteractiveTitle),n.R7$(),n.Y8G("ngIf",!!at.headerActionsTemplate),n.R7$(),n.Y8G("ngIf",!!at.stickyActionsTemplate),n.R7$(),n.Y8G("ngIf",!!at.fixedActionsTemplate),n.R7$(),n.HbH(at.getMaxWidthClasses()),n.AVh("has-header",at.hasHeader),n.R7$(),n.Y8G("ngIf",at.refresh.observers.length>0),n.R7$(),n.Y8G("ngIf",at.hasPageTitle&&!at.hasHeader),n.R7$(),n.Y8G("ngIf",at.hasHeader),n.R7$(),n.Y8G("ngIf",at.stickyContentTemplate),n.R7$(2),n.Y8G("ngTemplateOutlet",at.customContentTemplate||Ft),n.R7$(),n.Y8G("ngIf",at.fixedContentTemplate)}},dependencies:[pe.YU,pe.bT,pe.T3,he.r2,be.t,f.eU,f.ai,f.QW,f.el,f.W9,f.BC,f.To,f.M0],styles:['ion-header[_ngcontent-%COMP%], ion-toolbar[_ngcontent-%COMP%]{--background: var(--kirby-background-color);margin:0 auto}ion-toolbar[_ngcontent-%COMP%]{--border-width: 0 !important;--padding-start: 16px;--padding-end: 16px;--padding-top: 0;--padding-bottom: 0;--ion-toolbar-color: var(--kirby-black);--min-height: 56px}@media (min-width: 768px){ion-toolbar[_ngcontent-%COMP%]{--padding-start: 24px;--padding-end: 24px;--min-height: 72px}}ion-toolbar[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px}ion-toolbar[_ngcontent-%COMP%]:before, ion-toolbar[_ngcontent-%COMP%]::part(background){transition:background-color 50ms linear}ion-toolbar.content-scrolled[_ngcontent-%COMP%]{--background: rgb(243.294, 243.294, 243.294)}ion-toolbar.content-scrolled[_ngcontent-%COMP%]:before, ion-toolbar.content-scrolled[_ngcontent-%COMP%]::part(background){transition-duration:.2s}ion-toolbar.content-scrolled[_ngcontent-%COMP%]:not(.content-pinned):before{background-color:var(--kirby-medium)}ion-toolbar.content-pinned[_ngcontent-%COMP%]:before{transition:none}ion-toolbar[_ngcontent-%COMP%] ion-buttons[slot=start][_ngcontent-%COMP%]{margin-right:8px}ion-toolbar[_ngcontent-%COMP%] ion-buttons[slot=primary][_ngcontent-%COMP%], ion-toolbar[_ngcontent-%COMP%] ion-buttons[slot=secondary][_ngcontent-%COMP%]{margin-left:8px}ion-toolbar[_ngcontent-%COMP%] ion-buttons[slot=secondary][_ngcontent-%COMP%]{order:6}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%]{visibility:hidden;opacity:0;transform:translateY(10px);transition-property:opacity,transform;transition-duration:.15s;transition-timing-function:ease;padding-inline:calc(var(--action-buttons-width, 48px) + var(--padding-start))}ion-toolbar[_ngcontent-%COMP%] ion-title.slide-and-fade-in[_ngcontent-%COMP%]{visibility:visible;opacity:1;transform:translateY(0)}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%] .toolbar-title[_ngcontent-%COMP%], ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%] .toolbar-title[_ngcontent-%COMP%] > span.has-icon[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;overflow:hidden}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%] .toolbar-title[_ngcontent-%COMP%]{font-weight:700}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%] .toolbar-title[_ngcontent-%COMP%] span.clickable[_ngcontent-%COMP%]{cursor:pointer}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%] .toolbar-title[_ngcontent-%COMP%] span.has-icon[_ngcontent-%COMP%]{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;max-width:100%}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%] .toolbar-title[_ngcontent-%COMP%] >*{text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;overflow:hidden}.hide[_ngcontent-%COMP%]{visibility:hidden;opacity:0;transition:opacity .1s linear}.hide.fade-in[_ngcontent-%COMP%]{visibility:inherit;opacity:1}ion-title[_ngcontent-%COMP%]{box-sizing:border-box;font-size:16px;font-weight:400}@media (hover: hover){ion-back-button[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}ion-back-button[_ngcontent-%COMP%]:active, ion-back-button.ion-activated[_ngcontent-%COMP%]{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}ion-back-button[_ngcontent-%COMP%]{--color: var(--kirby-black);--background: var(--kirby-white);--icon-font-size: 24px;height:40px;width:40px;opacity:1}ion-back-button[_ngcontent-%COMP%]::part(icon){margin-inline:0}ion-back-button[_ngcontent-%COMP%]::part(native){opacity:1;border-radius:999px;overflow:hidden}ion-back-button[_ngcontent-%COMP%]::part(native):after{transition:all 80ms linear 0ms}.page-header-container[_ngcontent-%COMP%]{max-width:var(--page-content-max-width, 792px);margin:0 auto}.page-header[_ngcontent-%COMP%]{margin-left:16px;margin-top:8px;margin-bottom:var(--kirby-page-title-margin-bottom, 40px)}.page-header[_ngcontent-%COMP%] .page-title.has-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start}.page-header[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .page-header[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .page-header[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .page-header[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .page-header[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .page-header[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{margin:0}.page-header[_ngcontent-%COMP%] .page-subtitle[_ngcontent-%COMP%]{margin-top:8px}.page-header.text-center[_ngcontent-%COMP%]{text-align:center;margin-left:0}.page-header.text-right[_ngcontent-%COMP%]{text-align:right}ion-content[_ngcontent-%COMP%]{--padding-top: 12px;--padding-start: var(--page-content-padding-start, 16px);--padding-end: var(--page-content-padding-end, 16px);--background: var(--kirby-background-color);--color: var(--kirby-black)}@media (min-width: 768px){ion-content[_ngcontent-%COMP%]{--padding-start: var(--page-content-padding-start, 48px);--padding-end: var(--page-content-padding-end, 48px)}}ion-content.has-header[_ngcontent-%COMP%]{--padding-top: 0}ion-content.max-width-lg[_ngcontent-%COMP%]{--page-content-max-width: 1092px}ion-content.max-width-xl[_ngcontent-%COMP%]{--page-content-max-width: 1392px}ion-content.max-width-full[_ngcontent-%COMP%]{--page-content-max-width: 100%}ion-content[_ngcontent-%COMP%]::part(scroll){scrollbar-gutter:stable}ion-content[_ngcontent-%COMP%] .content-inner[_ngcontent-%COMP%]{max-width:var(--page-content-max-width, 792px);margin:0 auto;padding-bottom:40px}ion-content[_ngcontent-%COMP%] .fixed-content[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:0;transform:initial}ion-content[_ngcontent-%COMP%] .fixed-content[_ngcontent-%COMP%] .content-inner[_ngcontent-%COMP%]{position:relative}.sticky-content-container[_ngcontent-%COMP%]{position:sticky;top:-13px;left:0;right:0;padding-top:1px;margin-block-end:24px;z-index:10}.sticky-content-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{max-width:var(--page-content-max-width, 792px);margin:0 auto}.sticky-content-container[_ngcontent-%COMP%]:before, .sticky-content-container[_ngcontent-%COMP%]:after{content:"";position:absolute;left:calc(-1 * var(--padding-start));right:calc(-1 * var(--padding-end));bottom:0}.sticky-content-container[_ngcontent-%COMP%]:before{top:0;background-color:var(--background)}.sticky-content-container[_ngcontent-%COMP%]:after{height:1px}.sticky-content-container.content-pinned[_ngcontent-%COMP%]:before{background-color:#f3f3f3}.sticky-content-container.content-pinned[_ngcontent-%COMP%]:after{background-color:var(--kirby-medium)}'],changeDetection:0})}return no})(),Pr=(()=>{class no{constructor(mn,ze,at){if(this.pageComponent=mn,this.hostElement=ze,this.renderer=at,this.hasPadding=!0,!mn)throw new Error("Page footer must reside inside of a Kirby page")}close(){this.pageComponent.tabBarBottomHidden=!1,this.renderer.removeChild(this.hostElement.nativeElement.parentElement,this.hostElement.nativeElement,!0)}ngOnDestroy(){this.pageComponent.tabBarBottomHidden=!1}static#e=this.\u0275fac=function(ze){return new(ze||no)(n.rXU(Ji,12),n.rXU(n.aKT),n.rXU(n.sFG))};static#t=this.\u0275cmp=n.VBU({type:no,selectors:[["kirby-page-footer"]],inputs:{hasPadding:"hasPadding"},standalone:!1,ngContentSelectors:Le,decls:2,vars:2,consts:[[1,"wrapper"]],template:function(ze,at){1&ze&&(n.NAR(),n.j41(0,"div",0),n.SdG(1),n.k0s()),2&ze&&n.AVh("padding",at.hasPadding)},styles:["ion-item-option.primary[_ngcontent-%COMP%]{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary[_ngcontent-%COMP%]{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary[_ngcontent-%COMP%]{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success[_ngcontent-%COMP%]{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning[_ngcontent-%COMP%]{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger[_ngcontent-%COMP%]{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light[_ngcontent-%COMP%]{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium[_ngcontent-%COMP%]{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark[_ngcontent-%COMP%]{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay[_ngcontent-%COMP%]{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}[_nghost-%COMP%]{display:block;background-color:var(--kirby-white);--kirby-inputs-background-color: var(--kirby-dark-overlay);--kirby-inputs-background-color-hover: var(--kirby-dark-overlay-10);--kirby-inputs-background-color-active: var(--kirby-dark-overlay-20);--kirby-inputs-color: var(--kirby-black);--kirby-inputs-indicator-background-color: var(--kirby-black);--kirby-inputs-indicator-color: var(--kirby-white);--kirby-inputs-placeholder-color: var(--kirby-semi-dark);--kirby-inputs-elevation: none;--kirby-divider-color: var(--kirby-background-color)}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{position:relative;max-width:var(--page-content-max-width, 792px);margin:0 auto;padding-bottom:var(--kirby-page-footer-safe-area-bottom, var(--kirby-safe-area-bottom))}[_nghost-%COMP%] .wrapper.padding[_ngcontent-%COMP%]{padding:8px 16px;padding-bottom:calc(8px + var(--kirby-page-footer-safe-area-bottom, var(--kirby-safe-area-bottom)))}"],changeDetection:0})}return no})(),Gi=(()=>{class no{static#e=this.\u0275fac=function(ze){return new(ze||no)};static#t=this.\u0275mod=n.$C({type:no});static#n=this.\u0275inj=n.G2t({imports:[pe.MD,be.O,H.GC,f.eU,f.ai,f.QW,f.el,f.W9,f.BC,f.To,f.M0]})}return no})()},90351:(ft,Z,l)=>{"use strict";l.d(Z,{I:()=>x,r:()=>_});var n=l(60177),i=l(54438),f=l(19402);const g=["wrapper"],s=["*"];var x=function(y){return y.right="right",y.left="left",y}(x||{});let _=(()=>{class y{get targetElement(){return this.target instanceof i.aKT?this.target.nativeElement:this.target}_onWindowResize(){this.hide()}constructor(M,I){this.elementRef=M,this.renderer=I,this.preventScrollEventListenerOptions={passive:!1},this.POPOVER_BODY_PADDING=12,this.isShowing=!1,this.popout=x.right,this.willHide=new i.bkB,this.document=M.nativeElement.ownerDocument}ngAfterViewInit(){this.placePopoverAboveClosestModal(),this.renderer.removeChild(this.elementRef.nativeElement.parentElement,this.elementRef.nativeElement)}ngOnDestroy(){this.hide()}placePopoverAboveClosestModal(){const M=this.elementRef.nativeElement.closest("ion-modal");M?(this.zIndex=parseInt(M.style.zIndex)+1,this.elementRef.nativeElement.style.zIndex=`${this.zIndex}`):this.zIndex=parseInt(f.Q.zLayer("popover"))}static preventEventOutsidePopover(M){M.target instanceof HTMLElement&&(M.target.closest("kirby-popover")||M.preventDefault())}preventScroll(){this.isFirstToLockScroll=!this.document.body.classList.contains("backdrop-no-scroll"),this.isFirstToLockScroll&&this.renderer.addClass(this.document.body,"backdrop-no-scroll"),this.document.addEventListener("touchmove",y.preventEventOutsidePopover,this.preventScrollEventListenerOptions)}releaseScroll(){this.isFirstToLockScroll&&this.renderer.removeClass(this.document.body,"backdrop-no-scroll"),this.document.removeEventListener("touchmove",y.preventEventOutsidePopover,this.preventScrollEventListenerOptions)}show(){this.renderer.addClass(this.elementRef.nativeElement,"is-opening"),this.renderer.appendChild(this.document.body,this.elementRef.nativeElement),this.preventScroll(),this.positionWrapper(),this.renderer.addClass(this.elementRef.nativeElement,"is-open"),this.renderer.removeClass(this.elementRef.nativeElement,"is-opening"),this.isShowing=!0}hide(){this.isShowing&&(this.willHide.emit(),this.renderer.removeChild(this.elementRef.nativeElement.parentElement,this.elementRef.nativeElement),this.releaseScroll(),this.renderer.removeStyle(this.targetElement,"z-index"),this.renderer.removeStyle(this.targetElement,"pointer-events"),this.isShowing=!1)}positionWrapper(){const M=this.targetElement.getBoundingClientRect();this.renderer.appendChild(this.document.body,this.elementRef.nativeElement);const I=this.wrapperElement.nativeElement,R=I.getBoundingClientRect(),H=I.ownerDocument.defaultView;this.positionHorizontally(H,I,M,R),this.positionVertically(H,I,M,R)}positionHorizontally(M,I,R,H){const K=M.innerWidth,he=K-R.left,Le=he>=H.width+this.POPOVER_BODY_PADDING||he>=R.right,[ye,je]=this.popout!==x.left&&Le?["right","left"]:["left","right"],ke="left"===ye?K-R.right:R.left;this.renderer.removeStyle(I,ye),this.renderer.setStyle(I,je,`${ke}px`)}positionVertically(M,I,R,H){const K=M.innerHeight,he=K-R.bottom,Le=he>=H.height+this.POPOVER_BODY_PADDING||he>=R.top,[ye,je]=Le?["bottom","top"]:["top","bottom"],ke="bottom"===ye?R.bottom:K-R.top;this.renderer.removeStyle(I,ye),this.renderer.setStyle(I,je,`${ke}px`),"top"===ye&&(this.renderer.setStyle(this.targetElement,"z-index",`${this.zIndex+1}`),this.renderer.setStyle(this.targetElement,"pointer-events","none"))}static#e=this.\u0275fac=function(I){return new(I||y)(i.rXU(i.aKT),i.rXU(i.sFG))};static#t=this.\u0275cmp=i.VBU({type:y,selectors:[["kirby-popover"]],viewQuery:function(I,R){if(1&I&&i.GBs(g,7,i.aKT),2&I){let H;i.mGM(H=i.lsd())&&(R.wrapperElement=H.first)}},hostBindings:function(I,R){1&I&&i.bIt("resize",function(){return R._onWindowResize()},!1,i.tSv)},inputs:{popout:"popout",target:"target"},outputs:{willHide:"willHide"},ngContentSelectors:s,decls:3,vars:0,consts:[["wrapper",""],[1,"wrapper"]],template:function(I,R){1&I&&(i.NAR(),i.j41(0,"div",1,0),i.SdG(2),i.k0s())},dependencies:[n.MD],styles:["[_nghost-%COMP%]{display:none;position:fixed;inset:0;z-index:850}.is-opening[_nghost-%COMP%]{display:block;visibility:hidden}.is-open[_nghost-%COMP%]{display:block}.wrapper[_ngcontent-%COMP%]{position:fixed;margin-top:4px;margin-bottom:4px}"]})}return y})()},72882:(ft,Z,l)=>{"use strict";l.d(Z,{Z:()=>_,b:()=>x});var n=l(60177),i=l(54438),f=l(13339);const g=(y,w)=>[y,w],s=["*"];let x=(()=>{class y{constructor(){this.value=0,this.themeColor="success"}ngAfterViewInit(){this.viewInitialized=!0}get _diameter(){return 2*this.radius}get _centerRadius(){return this.radius-this.strokeWidth/2}get _centerCircumference(){return 2*this._centerRadius*Math.PI}get _progress(){return this._centerCircumference*((this.value99?this.value:this.upperBound)/100)}get _remainder(){return this._centerCircumference-this._progress}get _progressStrokeWidth(){return 0===this._progress?0:this.strokeWidth}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=i.VBU({type:y,selectors:[["kirby-progress-circle-ring"]],hostVars:6,hostBindings:function(I,R){2&I&&(i.xc7("width",R._diameter,"px")("height",R._diameter,"px"),i.AVh("view-initialized",R.viewInitialized))},inputs:{radius:"radius",value:"value",themeColor:"themeColor",strokeWidth:"strokeWidth",upperBound:"upperBound"},decls:3,vars:14,consts:[["shape-rendering","geometricPrecision","fill","transparent",1,"circle"],["shape-rendering","geometricPrecision","fill","transparent","stroke-linecap","round",1,"progress"]],template:function(I,R){1&I&&(i.qSk(),i.j41(0,"svg"),i.nrm(1,"circle",0)(2,"circle",1),i.k0s()),2&I&&(i.BMQ("width",R._diameter)("height",R._diameter),i.R7$(),i.BMQ("stroke-width",R.strokeWidth)("r",R._centerRadius)("cx",R.radius)("cy",R.radius),i.R7$(),i.BMQ("stroke-width",R._progressStrokeWidth)("r",R._centerRadius)("cx",R.radius)("cy",R.radius)("stroke-dasharray",i.l_i(11,g,R._progress,R._remainder)))},dependencies:[n.MD],styles:["svg[_ngcontent-%COMP%]{rotate:-90deg}.circle[_ngcontent-%COMP%]{stroke:var(--kirby-semi-light)}.success[_nghost-%COMP%]{--kirby-progress-circle-stroke-color: var(--kirby-success)}.warning[_nghost-%COMP%]{--kirby-progress-circle-stroke-color: var(--kirby-warning)}.danger[_nghost-%COMP%]{--kirby-progress-circle-stroke-color: var(--kirby-danger)}.view-initialized[_nghost-%COMP%] .progress[_ngcontent-%COMP%]{transition-property:stroke-dasharray,stroke;transition-duration:1s;transition-timing-function:ease;transform-origin:50% 50%;stroke:var(--kirby-progress-circle-stroke-color, var(--kirby-success))}"],changeDetection:0})}return y})(),_=(()=>{class y{get _cssSize(){return this.size}constructor(M,I){this.elementRef=M,this.changeDetectorRef=I,this.SIZE_CONFIG={sm:{diameter:40,strokeWidth:3,upperBound:95},md:{diameter:56,strokeWidth:4,upperBound:96},lg:{diameter:96,strokeWidth:6,upperBound:97}},this.value=0,this.size="md",this.themeColor="success",this.onIntersectionChange=R=>{this.hasElementBeenVisible=R&&R.some(H=>H.isIntersecting),this.hasElementBeenVisible&&(this.unobserve(),this.changeDetectorRef.markForCheck())}}ngAfterViewInit(){this.observer||(this.observer=new IntersectionObserver(this.onIntersectionChange,{threshold:.5}),this.observer.observe(this.elementRef.nativeElement))}ngOnDestroy(){this.unobserve()}unobserve(){this.observer&&(this.observer.unobserve(this.elementRef.nativeElement),"function"==typeof this.observer.disconnect&&this.observer.disconnect())}get _diameter(){return this.SIZE_CONFIG[this.size].diameter}get _shownValue(){return this.hasElementBeenVisible?this.value:0}get _radius(){return this._diameter/2}get _strokeWidth(){return this.SIZE_CONFIG[this.size].strokeWidth}get _upperBound(){return this.SIZE_CONFIG[this.size].upperBound}static#e=this.\u0275fac=function(I){return new(I||y)(i.rXU(i.aKT),i.rXU(i.gRc))};static#t=this.\u0275cmp=i.VBU({type:y,selectors:[["kirby-progress-circle"]],hostVars:6,hostBindings:function(I,R){2&I&&(i.HbH(R._cssSize),i.xc7("width",R._diameter,"px")("height",R._diameter,"px"))},inputs:{value:"value",size:"size",themeColor:"themeColor"},ngContentSelectors:s,decls:3,vars:5,consts:[[1,"transcluded-content"],[3,"themeColor","value","radius","strokeWidth","upperBound"]],template:function(I,R){1&I&&(i.NAR(),i.j41(0,"div",0),i.SdG(1),i.k0s(),i.nrm(2,"kirby-progress-circle-ring",1)),2&I&&(i.R7$(2),i.Y8G("themeColor",R.themeColor)("value",R._shownValue)("radius",R._radius)("strokeWidth",R._strokeWidth)("upperBound",R._upperBound))},dependencies:[x,n.MD,f.Cd],styles:["[_nghost-%COMP%]{display:inline-block;position:relative}.transcluded-content[_ngcontent-%COMP%], kirby-progress-circle-ring[_ngcontent-%COMP%]{position:absolute;top:0;left:0}kirby-progress-circle-ring[_ngcontent-%COMP%]{z-index:2}.transcluded-content[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:1;border-radius:50%;overflow:hidden}"],changeDetection:0})}return y})()},27037:(ft,Z,l)=>{"use strict";l.d(Z,{Y2:()=>Le,s7:()=>je,v2:()=>be});var n=l(54438),i=l(51272),f=l(53715),g=l(13339),s=l(60177),x=l(84341),_=l(29756);const y=["*"];function w(ke,De){if(1&ke&&(n.j41(0,"span",4),n.EFF(1),n.k0s()),2&ke){const Je=n.XpG();n.R7$(),n.JRh(Je._labelText)}}function M(ke,De){if(1&ke&&(n.j41(0,"span"),n.EFF(1),n.k0s()),2&ke){const Je=n.XpG();n.R7$(),n.JRh(Je.text)}}const I=(ke,De,Je)=>({$implicit:ke,selected:De,index:Je});function R(ke,De){1&ke&&(n.qex(0),n.SdG(1),n.bVm())}function H(ke,De){if(1&ke){const Je=n.RV6();n.j41(0,"ion-radio-group",3),n.bIt("ionChange",function(Mt){n.eBV(Je);const Bt=n.XpG();return n.Njj(Bt._onChange(Mt.detail.value))}),n.DNE(1,R,2,0,"ng-container",4),n.k0s()}if(2&ke){const Je=n.XpG(),lt=n.sdS(2);n.Y8G("value",Je.value),n.BMQ("aria-invalid",Je.hasError),n.R7$(),n.Y8G("ngIf",!Je.items||!Je.items.length)("ngIfElse",lt)}}function K(ke,De){1&ke&&n.eu8(0)}function L(ke,De){if(1&ke&&(n.qex(0),n.DNE(1,K,1,0,"ng-container",6),n.bVm()),2&ke){const Je=De.$implicit,lt=De.index,Mt=n.XpG(2),Bt=n.sdS(4);n.R7$(),n.Y8G("ngTemplateOutlet",Mt._customItemTemplate||Bt)("ngTemplateOutletContext",n.sMw(2,I,Je,lt===Mt.selectedIndex,lt))}}function he(ke,De){if(1&ke&&n.DNE(0,L,2,6,"ng-container",5),2&ke){const Je=n.XpG();n.Y8G("ngForOf",Je.items)}}function pe(ke,De){if(1&ke&&n.nrm(0,"kirby-radio",7),2&ke){const Je=De.$implicit,lt=n.XpG();n.Y8G("value",Je)("disabled",lt.disabled||lt._getDisabledStateFromItem(Je))("text",lt._getTextFromItem(Je))}}let be=(()=>{class ke{get _isDisabled(){return this.disabled?"disabled":null}get buttonTabIndex(){return this.ionRadioElement?this.ionRadioElement.nativeElement.tabIndex:-1}constructor(Je,lt){this.element=Je,this.ionicElementPartHelper=lt,this.size="md",this._justify="start",this._labelPlacement="end"}ngOnInit(){this._hasSlottedContent=this.element.nativeElement.querySelector(".default-content").hasChildNodes(),"end"===this.element.nativeElement.getAttribute("slot")&&this._hasSlottedContent&&(this._justify="space-between",this._labelPlacement="start")}ngAfterViewInit(){this.ionicElementPartHelper.setPart("label",this.ionRadioElement,".radio-wrapper"),this.ionicElementPartHelper.setPart("label-text-wrapper",this.ionRadioElement,".label-text-wrapper"),this.ionicElementPartHelper.setPart("native-wrapper",this.ionRadioElement,".native-wrapper")}ngAfterContentInit(){this._labelText=(0,g.s0)(this.element.nativeElement),!this.text&&!this._labelText&&!this._hasSlottedContent&&(this._labelText=(0,g.TD)(this.element.nativeElement))}focus(){this.ionRadioElement?.nativeElement.focus()}static#e=this.\u0275fac=function(lt){return new(lt||ke)(n.rXU(n.aKT),n.rXU(f.cO))};static#t=this.\u0275cmp=n.VBU({type:ke,selectors:[["kirby-radio"]],viewQuery:function(lt,Mt){if(1<&&n.GBs(i.KO,7,n.aKT),2<){let Bt;n.mGM(Bt=n.lsd())&&(Mt.ionRadioElement=Bt.first)}},hostVars:5,hostBindings:function(lt,Mt){2<&&(n.BMQ("disabled",Mt._isDisabled),n.HbH(Mt.size),n.AVh("has-hidden-label",Mt._labelText))},inputs:{value:"value",text:"text",size:"size",disabled:"disabled"},standalone:!1,features:[n.Jv_([f.cO])],ngContentSelectors:y,decls:5,vars:6,consts:[["mode","md",3,"value","disabled","labelPlacement","justify"],["class","hidden-label",4,"ngIf"],[4,"ngIf"],[1,"default-content"],[1,"hidden-label"]],template:function(lt,Mt){1<&&(n.NAR(),n.j41(0,"ion-radio",0),n.DNE(1,w,2,1,"span",1)(2,M,2,1,"span",2),n.j41(3,"span",3),n.SdG(4),n.k0s()()),2<&&(n.Y8G("value",Mt.value)("disabled",Mt.disabled)("labelPlacement",Mt._labelPlacement)("justify",Mt._justify),n.R7$(),n.Y8G("ngIf",Mt._labelText),n.R7$(),n.Y8G("ngIf",Mt.text))},dependencies:[s.bT,i.KO],styles:["[_nghost-%COMP%]{display:flex}[disabled][_nghost-%COMP%]{color:var(--kirby-text-color-semi-dark)}[disabled][_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]{--color: var(--kirby-medium);--color-checked: var(--kirby-medium)}[disabled][_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]::part(container){background-color:var(--kirby-semi-light)}[disabled][_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]::part(label-text-wrapper){opacity:1}[disabled][_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]::part(native-wrapper){opacity:1}[_nghost-%COMP%]:has(ion-radio.in-item.radio-justify-space-between){width:100%}.has-hidden-label[_nghost-%COMP%]{position:initial}.has-hidden-label[slot=end][_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]{margin-inline-start:12px}.has-hidden-label[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]{position:initial}.has-hidden-label[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]::part(label){position:initial}.has-hidden-label[_nghost-%COMP%] ion-radio.in-item.radio-label-placement-start[_ngcontent-%COMP%]::part(label-text-wrapper), .has-hidden-label[_nghost-%COMP%] ion-radio.in-item.radio-label-placement-end[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:0}.has-hidden-label[_nghost-%COMP%] .hidden-label[_ngcontent-%COMP%]{position:absolute;inset:0;opacity:0}.xs[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]:not(.in-item)::part(label){padding-block:4px}.sm[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]:not(.in-item)::part(label){padding-block:10px}.md[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]:not(.in-item)::part(label){padding-block:16px}@media (hover: hover) and (pointer: fine){ion-radio[_ngcontent-%COMP%]:focus-within::part(container){transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}ion-radio[_ngcontent-%COMP%]{box-sizing:border-box;--border-width: 1px;--color: var(--kirby-semi-dark);--color-checked: var(--kirby-success)}@media (hover: hover){ion-radio[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}ion-radio[_ngcontent-%COMP%]:hover::part(container){background-color:#ebebeb}}ion-radio[_ngcontent-%COMP%]:active, ion-radio.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--color: transparent;--color-checked: rgb(52.6486343612, 207.7113656388, 125.2311894273)}ion-radio[_ngcontent-%COMP%]:active::part(container), ion-radio.interaction-state-active[_ngcontent-%COMP%]::part(container){background-color:#e0e0e0}ion-radio[_ngcontent-%COMP%]::part(container){transition:all 80ms linear 0ms;transition-property:background-color;background-color:var(--kirby-white);margin:2px}ion-radio[_ngcontent-%COMP%]::part(mark){width:60%;height:60%}ion-radio[_ngcontent-%COMP%]::part(label){align-items:start;padding-inline:16px 12px;line-height:24px}ion-radio[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:12px 0;white-space:pre-line}ion-radio.in-item[_ngcontent-%COMP%]::part(label){align-items:center;padding-inline:0}ion-radio.in-item[_ngcontent-%COMP%]::part(label-text-wrapper){margin-block:0}ion-radio.in-item.radio-label-placement-start[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:0 8px}ion-radio.in-item.radio-label-placement-end[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:8px 0}ion-radio kirby-radio-group.error[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%], kirby-radio-group.error [_nghost-%COMP%] ion-radio[_ngcontent-%COMP%], ion-radio kirby-radio-group.error[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]:active, kirby-radio-group.error [_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]:active, ion-radio kirby-radio-group.ng-touched.ng-invalid[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%], kirby-radio-group.ng-touched.ng-invalid [_nghost-%COMP%] ion-radio[_ngcontent-%COMP%], ion-radio kirby-radio-group.ng-touched.ng-invalid[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]:active, kirby-radio-group.ng-touched.ng-invalid [_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]:active{--color: var(--kirby-danger)}ion-radio.radio-checked[_ngcontent-%COMP%]{--border-width: 0px}ion-radio.radio-checked[_ngcontent-%COMP%]:not(:focus,.radio-disabled)::part(container){box-shadow:0 0 5px #1c1c1c0a,0 10px 15px -10px #1c1c1c26}kirby-item[_nghost-%COMP%], kirby-item [_nghost-%COMP%]{z-index:1}kirby-item[_nghost-%COMP%] ion-radio[_ngcontent-%COMP%], kirby-item [_nghost-%COMP%] ion-radio[_ngcontent-%COMP%]{margin:0}kirby-item[slot=start][_nghost-%COMP%], kirby-item [slot=start][_nghost-%COMP%]{margin-block:0;margin-inline-end:12px}"],changeDetection:0})}return ke})(),Le=(()=>{class ke{constructor(Je){this.changeDetectionRef=Je,this._hasError=!1,this.hasErrorChange=new n.bkB,this.itemTextProperty="text",this.itemDisabledProperty="disabled",this.valueChange=new n.bkB,this._disabled=!1,this._items=[],this._onChangeCallback=()=>{},this._onTouched=()=>{},this._selectedIndex=-1,this._value=null}get disabled(){return this._disabled}set disabled(Je){this._disabled=Je,this.setProjectedRadiosDisabledState(Je)}get hasError(){return this._hasError}set hasError(Je){this._hasError!==Je&&(this._hasError=Je,this.hasErrorChange.emit(this._hasError))}get items(){return this._items||[]}set items(Je){(!Je||!Je.length)&&!this.items.length||(this._items=Je,this.refreshSelectionState())}get selectedIndex(){return this._selectedIndex}set selectedIndex(Je){"string"==typeof Je&&(Je=parseInt(Je)),(null==Je||Number.isNaN(Je))&&(Je=-1),Je!==this.selectedIndex&&(this._selectedIndex=Je,this._value=this.getValueFromSelectedIndex()||null)}get value(){return this._value}set value(Je){this.setSelectedItem(Je)}get hasValue(){return null!=this.value}get hasItemsFromContentProjection(){return!this.items.length&&!this._customItemTemplate&&this.projectedRadioButtons&&this.projectedRadioButtons.length>0}focus(){const Je=Mt=>Mt&&Mt.find(Bt=>!isNaN(Bt.buttonTabIndex)&&-1!==Bt.buttonTabIndex);(Je(this.radioButtons)||Je(this.projectedRadioButtons))?.focus()}ngAfterContentInit(){this.initSelectionStateFromProjectedContent(),this.listenForProjectedRadiosChange()}registerOnChange(Je){this._onChangeCallback=Je}registerOnTouched(Je){this._onTouched=Je}setDisabledState(Je){this.disabled=Je,this.changeDetectionRef.markForCheck()}writeValue(Je){this.value=Je,this.changeDetectionRef.markForCheck()}_getTextFromItem(Je){return Je?"string"==typeof Je?Je:Je[this.itemTextProperty]:null}_getDisabledStateFromItem(Je){if(Je)return"string"==typeof Je?void 0:Je[this.itemDisabledProperty]}get _hasItems(){return this.items.length>0||this.hasItemsFromContentProjection}_onChange(Je){Je!==this._value&&(this.setSelectedItem(Je),this.valueChange.emit(Je),this._onChangeCallback(Je))}_onRadioBlur(){this._onTouched()}getIndexOfSelectedValue(){return this.hasValue?this.hasItemsFromContentProjection?this.getIndexOfProjectedRadio(this.value):this.items.indexOf(this.value):-1}getIndexOfProjectedRadio(Je){let lt=-1;return this.projectedRadioButtons?.find((Mt,Bt)=>{const et=Mt.value===Je;return et&&(lt=Bt),et}),lt}getValueFromSelectedIndex(){if(-1!==this.selectedIndex)return this.hasItemsFromContentProjection?this.getValueFromProjectedRadios(this.selectedIndex):this.items[this.selectedIndex]}getValueFromProjectedRadios(Je){const lt=this.projectedRadioButtons&&this.projectedRadioButtons.find((Mt,Bt)=>Bt===Je);return lt&<.value}initSelectionStateFromProjectedContent(){this.hasItemsFromContentProjection&&this.refreshSelectionState()}listenForProjectedRadiosChange(){this.projectedRadioButtons.changes.subscribe(()=>{this.refreshStateFromProjectedContent(),this.disabled&&setTimeout(()=>this.setProjectedRadiosDisabledState(this.disabled))})}refreshSelectionState(){this.hasValue&&(this._selectedIndex=this.getIndexOfSelectedValue());const Je=this.getValueFromSelectedIndex();this._value=void 0!==Je?Je:null}refreshStateFromProjectedContent(){this._customItemTemplate||(this.changeDetectionRef.markForCheck(),this.refreshSelectionState())}setSelectedItem(Je){Je!==this._value&&(this._value=Je,this._selectedIndex=this.getIndexOfSelectedValue())}setProjectedRadiosDisabledState(Je){!this.projectedRadioButtons||!this.projectedRadioButtons.length||this.projectedRadioButtons.forEach((lt,Mt)=>{lt.disabled=Je||this._getDisabledStateFromItem(this.items[Mt])})}static#e=this.\u0275fac=function(lt){return new(lt||ke)(n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:ke,selectors:[["kirby-radio-group"]],contentQueries:function(lt,Mt,Bt){if(1<&&(n.wni(Bt,_.bx,5,n.C4Q),n.wni(Bt,be,5)),2<){let et;n.mGM(et=n.lsd())&&(Mt._customItemTemplate=et.first),n.mGM(et=n.lsd())&&(Mt.projectedRadioButtons=et)}},viewQuery:function(lt,Mt){if(1<&&n.GBs(be,5),2<){let Bt;n.mGM(Bt=n.lsd())&&(Mt.radioButtons=Bt)}},hostVars:2,hostBindings:function(lt,Mt){1<&&n.bIt("ionBlur",function(){return Mt._onRadioBlur()}),2<&&n.AVh("error",Mt.hasError)},inputs:{disabled:"disabled",hasError:"hasError",items:"items",itemTextProperty:"itemTextProperty",itemDisabledProperty:"itemDisabledProperty",selectedIndex:"selectedIndex",value:"value"},outputs:{hasErrorChange:"hasErrorChange",valueChange:"valueChange"},standalone:!1,features:[n.Jv_([{provide:x.kq,useExisting:ke,multi:!0}])],ngContentSelectors:y,decls:5,vars:1,consts:[["itemsTemplate",""],["defaultItemTemplate",""],[3,"value","ionChange",4,"ngIf"],[3,"ionChange","value"],[4,"ngIf","ngIfElse"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"value","disabled","text"]],template:function(lt,Mt){1<&&(n.NAR(),n.DNE(0,H,2,4,"ion-radio-group",2)(1,he,1,1,"ng-template",null,0,n.C5r)(3,pe,1,3,"ng-template",null,1,n.C5r)),2<&&n.Y8G("ngIf",Mt._hasItems)},dependencies:[s.Sq,s.bT,s.T3,i.f0,be],styles:["ion-radio-group[_ngcontent-%COMP%]{display:inherit;flex-wrap:inherit}"],changeDetection:0})}return ke})(),je=(()=>{class ke{static#e=this.\u0275fac=function(lt){return new(lt||ke)};static#t=this.\u0275mod=n.$C({type:ke});static#n=this.\u0275inj=n.G2t({imports:[s.MD,i.KO,i.f0]})}return ke})()},35987:(ft,Z,l)=>{"use strict";l.d(Z,{V:()=>_});var n=l(60177),i=l(54438),f=l(84341),g=l(51272);function s(y,w){if(1&y&&(i.j41(0,"label",3),i.EFF(1),i.k0s()),2&y){const M=i.XpG();i.R7$(),i.JRh(M.minLabel)}}function x(y,w){if(1&y&&(i.j41(0,"label",4),i.EFF(1),i.k0s()),2&y){const M=i.XpG();i.R7$(),i.JRh(M.maxLabel)}}let _=(()=>{class y{constructor(){this.step=1,this.disabled=!1,this.pinFormatter=this.defaultPinFormatter,this.change=new i.bkB,this.move=new i.bkB,this.onTouched=()=>{},this.propagateChange=M=>{}}set value(M){M!==this.currentValue&&(this.currentValue=M,this.propagateChange(this.currentValue))}get value(){return this.currentValue}ngOnInit(){this.initializeMoveEventEmitter()}ngOnChanges(){this.ticks&&((this.max-this.min)/this.step>9&&(this.step=(this.max-this.min)/9),this.value=this.getTicks().reduce((I,R)=>Math.abs(R-this.value){this._onRangeKnobMove(M)})}defaultPinFormatter(M){return M}setDisabledState(M){this.disabled=M}_onRangeValueChange(M){this.writeValue(M.detail.value),this.change.emit(this.currentValue)}_onRangeKnobMove(M){this.writeValue(M.detail.value),this.move.emit(this.currentValue)}writeValue(M){void 0!==M&&(this.value=M)}registerOnTouched(M){this.onTouched=M}registerOnChange(M){this.propagateChange=M}static#e=this.\u0275fac=function(I){return new(I||y)};static#t=this.\u0275cmp=i.VBU({type:y,selectors:[["kirby-range"]],viewQuery:function(I,R){if(1&I&&i.GBs(g.Ob,7),2&I){let H;i.mGM(H=i.lsd())&&(R.ionRange=H.first)}},inputs:{minLabel:"minLabel",maxLabel:"maxLabel",debounce:"debounce",max:"max",min:"min",pin:"pin",step:"step",ticks:"ticks",disabled:"disabled",pinFormatter:"pinFormatter",value:"value"},outputs:{change:"change",move:"move"},features:[i.Jv_([{provide:f.kq,multi:!0,useExisting:(0,i.Rfq)(()=>y)}]),i.OA$],decls:3,vars:12,consts:[[3,"ionChange","min","max","step","value","pin","pinFormatter","snaps","ticks","debounce","disabled"],["class","min-label",4,"ngIf"],["class","max-label",4,"ngIf"],[1,"min-label"],[1,"max-label"]],template:function(I,R){1&I&&(i.j41(0,"ion-range",0),i.bIt("ionChange",function(K){return R._onRangeValueChange(K)}),i.k0s(),i.DNE(1,s,2,1,"label",1)(2,x,2,1,"label",2)),2&I&&(i.Y8G("min",R.min)("max",R.max)("step",R.step)("value",R.value)("pin",R.pin)("pinFormatter",R.pinFormatter)("snaps",R.ticks)("ticks",R.ticks)("debounce",R.debounce)("disabled",R.disabled),i.R7$(),i.Y8G("ngIf",R.minLabel),i.R7$(),i.Y8G("ngIf",R.maxLabel))},dependencies:[n.MD,n.bT,g.Ob],styles:['[_nghost-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap}@media (hover: hover) and (pointer: fine){ion-range[_ngcontent-%COMP%]:focus-within::part(knob){transition:all 80ms linear 0ms;box-shadow:0 5px 10px #1c1c1c4d,0 0 5px #1c1c1c14,0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}@media (hover: hover){ion-range[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;--knob-background: rgb(234.6, 234.6, 234.6)}}ion-range[_ngcontent-%COMP%]:active, ion-range.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--knob-background: rgb(214.2, 214.2, 214.2)}ion-range[_ngcontent-%COMP%]{--knob-background: var(--kirby-white);--knob-box-shadow: 0 5px 10px 0 rgba(28, 28, 28, .3), 0 0 5px 0 rgba(28, 28, 28, .08);--knob-size: 24px;--pin-color: var(--kirby-text-color-black);--pin-background: var(--kirby-semi-light);--bar-background: var(--kirby-medium);--bar-background-active: var(--kirby-dark);--bar-border-radius: 4px;--bar-height: 2px;flex:1 1 100%;padding:0}ion-range.range-disabled[_ngcontent-%COMP%]{--knob-background: var(--kirby-medium);--knob-box-shadow: none;--bar-background: var(--kirby-semi-light);--bar-background-active: var(--kirby-medium)}ion-range.range-disabled[_ngcontent-%COMP%]::part(tick){background:var(--kirby-semi-light)}ion-range.range-has-pin[_ngcontent-%COMP%]{padding:0 3px}ion-range[_ngcontent-%COMP%]::part(knob){transition:all 80ms linear 0ms;transition-property:background}ion-range[_ngcontent-%COMP%]::part(pin){font-size:12px;color:var(--pin-color);background-color:var(--pin-background);padding:2px 4px;border-radius:4px;min-width:40px;position:relative}ion-range[_ngcontent-%COMP%]::part(pin):before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);display:block;border:solid transparent 6px;border-top-color:var(--pin-background)}ion-range[_ngcontent-%COMP%]::part(tick), ion-range[_ngcontent-%COMP%]::part(tick-active){border-radius:50%;width:6px;height:6px;margin-top:1px;z-index:1;margin-inline-start:-3px}ion-range[_ngcontent-%COMP%]::part(tick){background:var(--kirby-medium)}label[_ngcontent-%COMP%]{font-size:12px;line-height:16px;color:var(--kirby-text-color-semi-dark);margin-top:-4px}'],changeDetection:0})}return y})()},12090:(ft,Z,l)=>{"use strict";l.d(Z,{N:()=>be});var n=l(60177),i=l(54438),f=l(98990),g=l(81365),s=l(29756),x=l(51272);const _=["reorderGroupContainer"],y=Le=>({$implicit:Le}),w=Le=>({$implicit:Le,isSubItem:!0});function M(Le,ye){1&Le&&i.nrm(0,"ion-backdrop",5),2&Le&&i.Y8G("tappable",!1)("visible",!0)("stopPropagation",!1)}function I(Le,ye){1&Le&&i.eu8(0)}function R(Le,ye){1&Le&&i.eu8(0)}function H(Le,ye){if(1&Le&&(i.j41(0,"div"),i.DNE(1,R,1,0,"ng-container",6),i.k0s()),2&Le){const je=ye.$implicit,ke=i.XpG(3),De=i.sdS(4);i.R7$(),i.Y8G("ngTemplateOutlet",ke.itemTemplate||De)("ngTemplateOutletContext",i.eq3(2,w,je))}}function K(Le,ye){if(1&Le){const je=i.RV6();i.j41(0,"div",null,1)(2,"ion-reorder-group",3),i.bIt("ionItemReorder",function(De){i.eBV(je);const Je=i.XpG().$implicit,lt=i.XpG();return i.Njj(lt.doSubReorder(De,Je))}),i.DNE(3,H,2,4,"div",4),i.k0s()()}if(2&Le){const je=i.XpG().$implicit,ke=i.XpG();i.R7$(3),i.Y8G("ngForOf",je[ke.subItemsName])}}function L(Le,ye){if(1&Le&&(i.j41(0,"div")(1,"kirby-card"),i.DNE(2,I,1,0,"ng-container",6)(3,K,4,1,"div",7),i.k0s()()),2&Le){const je=ye.$implicit,ke=i.XpG(),De=i.sdS(4);i.R7$(2),i.Y8G("ngTemplateOutlet",ke.itemTemplate||De)("ngTemplateOutletContext",i.eq3(3,y,je)),i.R7$(),i.Y8G("ngIf",je[ke.subItemsName])}}function he(Le,ye){if(1&Le&&(i.j41(0,"kirby-item",8)(1,"p",9),i.EFF(2),i.k0s()()),2&Le){const je=ye.$implicit,ke=i.XpG();i.Y8G("reorderable",!0),i.R7$(2),i.JRh(ke.getItemTextDefault(je))}}class pe{constructor(ye,je){this.origEvent=ye,this.parent=je,this.origEvent.cancelBubble=!0}complete(ye){return this.origEvent.detail.complete(ye)}get parentItem(){return this.parent}}let be=(()=>{class Le{constructor(je){this.cdr=je,this.itemReorder=new i.bkB,this.subItemReorder=new i.bkB,this.reorderActive=!1}ngOnChanges(){this.items&&this.items.length>0&&setTimeout(()=>{this.setupDomListener()})}setupDomListener(){this.observer=new MutationObserver(ke=>{for(const De of ke)De.oldValue!==De.target.className&&(this.reorderActive=De.target.className.includes("reorder-list-active"));this.cdr.detectChanges()}),this.reorderGroupContainer.forEach(ke=>{this.observer.observe(ke.nativeElement,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0,childList:!1,subtree:!0})})}doReorder(je){this.itemReorder.emit(new pe(je))}doSubReorder(je,ke){this.subItemReorder.emit(new pe(je,ke))}ngOnDestroy(){this.observer?.disconnect(),delete this.observer}static#e=this.\u0275fac=function(ke){return new(ke||Le)(i.rXU(i.gRc))};static#t=this.\u0275cmp=i.VBU({type:Le,selectors:[["kirby-reorder-list"]],contentQueries:function(ke,De,Je){if(1&ke&&i.wni(Je,s.bx,7,i.C4Q),2&ke){let lt;i.mGM(lt=i.lsd())&&(De.itemTemplate=lt.first)}},viewQuery:function(ke,De){if(1&ke&&i.GBs(_,5),2&ke){let Je;i.mGM(Je=i.lsd())&&(De.reorderGroupContainer=Je)}},inputs:{items:"items",subItemsName:"subItemsName",getItemTextDefault:"getItemTextDefault"},outputs:{itemReorder:"itemReorder",subItemReorder:"subItemReorder"},features:[i.OA$],decls:5,vars:2,consts:[["defaultItemTemplate",""],["reorderGroupContainer",""],[3,"tappable","visible","stopPropagation",4,"ngIf"],["disabled","false",3,"ionItemReorder"],[4,"ngFor","ngForOf"],[3,"tappable","visible","stopPropagation"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[3,"reorderable"],[1,"kirby-item-title"]],template:function(ke,De){if(1&ke){const Je=i.RV6();i.DNE(0,M,1,3,"ion-backdrop",2),i.j41(1,"ion-reorder-group",3),i.bIt("ionItemReorder",function(Mt){return i.eBV(Je),i.Njj(De.doReorder(Mt))}),i.DNE(2,L,4,5,"div",4),i.k0s(),i.DNE(3,he,3,2,"ng-template",null,0,i.C5r)}2&ke&&(i.Y8G("ngIf",De.reorderActive),i.R7$(2),i.Y8G("ngForOf",De.items))},dependencies:[f.Dw,f.ib,g.kA,g.JA,n.MD,n.Sq,n.bT,n.T3,x.ZF,x.p$],styles:["ion-backdrop[_ngcontent-%COMP%]{opacity:.3;z-index:101;position:fixed}.reorder-selected[_ngcontent-%COMP%]{box-shadow:none;opacity:1;z-index:104}.reorder-selected[_ngcontent-%COMP%] kirby-card[_ngcontent-%COMP%]{transform:scale(1.05)}.reorder-selected[_ngcontent-%COMP%] kirby-card[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{border-top:1px solid var(--kirby-background-color)}.reorder-selected[_ngcontent-%COMP%] >kirby-item{box-shadow:0 0 10px #0006;transform:scale(1.05);border-radius:16px;overflow:hidden}.reorder-list-active[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:relative;z-index:103}.reorder-list-active[_ngcontent-%COMP%] > .reorder-selected[_ngcontent-%COMP%]{z-index:104}.reorder-list-active[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{border-top:none}.reorder-list-active[_ngcontent-%COMP%] >div:last-child kirby-item{border-bottom-left-radius:16px;border-bottom-right-radius:16px;overflow:hidden}.reorder-list-active[_ngcontent-%COMP%] .reorder-selected[_ngcontent-%COMP%] >kirby-item{box-shadow:0 0 10px #0006;transform:scale(1.05);border-radius:16px;overflow:hidden}[_nghost-%COMP%] > ion-reorder-group[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-bottom:20px transparent solid}[_nghost-%COMP%] > ion-reorder-group[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{border-bottom-width:0}kirby-card[_ngcontent-%COMP%]{overflow:inherit;z-index:auto}kirby-card[_ngcontent-%COMP%] >div:last-child ion-reorder-group div:last-child>kirby-item{border-bottom-left-radius:16px;border-bottom-right-radius:16px;overflow:hidden}kirby-card[_ngcontent-%COMP%] >div kirby-item{z-index:1}kirby-card[_ngcontent-%COMP%] >.content-layer>div:first-child>kirby-item{border-radius:16px;overflow:hidden}kirby-card[_ngcontent-%COMP%] >div .reorder-list-active kirby-item{z-index:103}kirby-card[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{border-top:1px solid var(--kirby-background-color)}"]})}return Le})()},15739:(ft,Z,l)=>{"use strict";l.d(Z,{Cs:()=>_,x8:()=>y});var n=l(54438),i=l(51272),f=l(45531),g=l(60177);function s(w,M){if(1&w&&(n.qex(0),n.nrm(1,"ion-router-outlet",1),n.bVm()),2&w){const I=n.XpG();n.R7$(),n.Y8G("animated",I._animated)}}function x(w,M){if(1&w&&(n.qex(0),n.nrm(1,"ion-router-outlet",2),n.bVm()),2&w){const I=n.XpG();n.R7$(),n.Y8G("animated",I._animated)}}let _=(()=>{class w{constructor(){this._animated=(0,f.a)("hybrid")}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=n.VBU({type:w,selectors:[["kirby-router-outlet"]],inputs:{main:"main"},standalone:!1,decls:2,vars:2,consts:[[4,"ngIf"],["main","",3,"animated"],[3,"animated"]],template:function(R,H){1&R&&n.DNE(0,s,2,1,"ng-container",0)(1,x,2,1,"ng-container",0),2&R&&(n.Y8G("ngIf",H.main),n.R7$(),n.Y8G("ngIf",!H.main))},dependencies:[g.bT,i.Rg],styles:["[_nghost-%COMP%]{inset:0;position:absolute;contain:size layout style;z-index:0;overflow:hidden;background-color:var(--kirby-background-color)}"],changeDetection:0})}return w})(),y=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=n.$C({type:w});static#n=this.\u0275inj=n.G2t({imports:[g.MD,i.Rg]})}return w})()},18713:(ft,Z,l)=>{"use strict";l.d(Z,{U:()=>s});var n=l(60177),i=l(54438),f=l(51272);const g=["*"];let s=(()=>{class x{static#e=this.\u0275fac=function(w){return new(w||x)};static#t=this.\u0275cmp=i.VBU({type:x,selectors:[["kirby-section-header"]],ngContentSelectors:g,decls:2,vars:0,template:function(w,M){1&w&&(i.NAR(),i.j41(0,"ion-item-divider"),i.SdG(1),i.k0s())},dependencies:[n.MD,f.Dg],styles:["[_nghost-%COMP%]{--kirby-section-header-color: var(--kirby-text-color-black)}[_nghost-%COMP%] ion-item-divider[_ngcontent-%COMP%]{--inner-padding-end: 0;--background: transparent;font-weight:inherit;min-height:0;z-index:initial;--padding-end: 16px;--padding-start: 16px}[_nghost-%COMP%] ion-item-divider[_ngcontent-%COMP%] >[heading]{font-weight:700;font-size:18px;line-height:24px;color:var(--kirby-section-header-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] ion-item-divider[_ngcontent-%COMP%] >[detail], [_nghost-%COMP%] ion-item-divider[_ngcontent-%COMP%] >[label]{font-weight:300;font-size:14px;line-height:20px;color:var(--kirby-section-header-color);margin:4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0})}return x})()},65762:(ft,Z,l)=>{"use strict";l.d(Z,{G0:()=>Or,sj:()=>Wr,h8:()=>ws});var n=l(54438),i=l(10467);const g=["start","end"],s=["top","right","bottom","left"].reduce((Rt,Ht)=>Rt.concat(Ht,Ht+"-"+g[0],Ht+"-"+g[1]),[]),x=Math.min,_=Math.max,y=Math.round,w=Math.floor,M=Rt=>({x:Rt,y:Rt}),I={left:"right",right:"left",bottom:"top",top:"bottom"},R={start:"end",end:"start"};function H(Rt,Ht,Dt){return _(Rt,x(Ht,Dt))}function K(Rt,Ht){return"function"==typeof Rt?Rt(Ht):Rt}function L(Rt){return Rt.split("-")[0]}function he(Rt){return Rt.split("-")[1]}function pe(Rt){return"x"===Rt?"y":"x"}function be(Rt){return"y"===Rt?"height":"width"}function Le(Rt){return["top","bottom"].includes(L(Rt))?"y":"x"}function ye(Rt){return pe(Le(Rt))}function je(Rt,Ht,Dt){void 0===Dt&&(Dt=!1);const un=he(Rt),Jn=ye(Rt),so=be(Jn);let To="x"===Jn?un===(Dt?"end":"start")?"right":"left":"start"===un?"bottom":"top";return Ht.reference[so]>Ht.floating[so]&&(To=Mt(To)),[To,Mt(To)]}function De(Rt){return Rt.replace(/start|end/g,Ht=>R[Ht])}function Mt(Rt){return Rt.replace(/left|right|bottom|top/g,Ht=>I[Ht])}function sn(Rt){const{x:Ht,y:Dt,width:un,height:Jn}=Rt;return{width:un,height:Jn,top:Dt,left:Ht,right:Ht+un,bottom:Dt+Jn,x:Ht,y:Dt}}function tt(Rt,Ht,Dt){let{reference:un,floating:Jn}=Rt;const so=Le(Ht),To=ye(Ht),qo=be(To),hi=L(Ht),si="y"===so,Ao=un.x+un.width/2-Jn.width/2,eo=un.y+un.height/2-Jn.height/2,fi=un[qo]/2-Jn[qo]/2;let ti;switch(hi){case"top":ti={x:Ao,y:un.y-Jn.height};break;case"bottom":ti={x:Ao,y:un.y+un.height};break;case"right":ti={x:un.x+un.width,y:eo};break;case"left":ti={x:un.x-Jn.width,y:eo};break;default:ti={x:un.x,y:un.y}}switch(he(Ht)){case"start":ti[To]-=fi*(Dt&&si?-1:1);break;case"end":ti[To]+=fi*(Dt&&si?-1:1)}return ti}const Ct=function(){var Rt=(0,i.A)(function*(Ht,Dt,un){const{placement:Jn="bottom",strategy:so="absolute",middleware:To=[],platform:qo}=un,hi=To.filter(Boolean),si=yield null==qo.isRTL?void 0:qo.isRTL(Dt);let Ao=yield qo.getElementRects({reference:Ht,floating:Dt,strategy:so}),{x:eo,y:fi}=tt(Ao,Jn,si),ti=Jn,Ti={},$i=0;for(let P=0;P"u")&&(Rt instanceof ShadowRoot||Rt instanceof Un(Rt).ShadowRoot)}function Nn(Rt){const{overflow:Ht,overflowX:Dt,overflowY:un,display:Jn}=bo(Rt);return/auto|scroll|overlay|hidden|clip/.test(Ht+un+Dt)&&!["inline","contents"].includes(Jn)}function Qn(Rt){return["table","td","th"].includes(pn(Rt))}function Zt(Rt){return[":popover-open",":modal"].some(Ht=>{try{return Rt.matches(Ht)}catch{return!1}})}function vn(Rt){const Ht=Tn(),Dt=_n(Rt)?bo(Rt):Rt;return["transform","translate","scale","rotate","perspective"].some(un=>!!Dt[un]&&"none"!==Dt[un])||!!Dt.containerType&&"normal"!==Dt.containerType||!Ht&&!!Dt.backdropFilter&&"none"!==Dt.backdropFilter||!Ht&&!!Dt.filter&&"none"!==Dt.filter||["transform","translate","scale","rotate","perspective","filter"].some(un=>(Dt.willChange||"").includes(un))||["paint","layout","strict","content"].some(un=>(Dt.contain||"").includes(un))}function Tn(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function uo(Rt){return["html","body","#document"].includes(pn(Rt))}function bo(Rt){return Un(Rt).getComputedStyle(Rt)}function _o(Rt){return _n(Rt)?{scrollLeft:Rt.scrollLeft,scrollTop:Rt.scrollTop}:{scrollLeft:Rt.scrollX,scrollTop:Rt.scrollY}}function gi(Rt){if("html"===pn(Rt))return Rt;const Ht=Rt.assignedSlot||Rt.parentNode||Qt(Rt)&&Rt.host||Zn(Rt);return Qt(Ht)?Ht.host:Ht}function Go(Rt){const Ht=gi(Rt);return uo(Ht)?Rt.ownerDocument?Rt.ownerDocument.body:Rt.body:Cn(Ht)&&Nn(Ht)?Ht:Go(Ht)}function zo(Rt,Ht,Dt){var un;void 0===Ht&&(Ht=[]),void 0===Dt&&(Dt=!0);const Jn=Go(Rt),so=Jn===(null==(un=Rt.ownerDocument)?void 0:un.body),To=Un(Jn);if(so){const qo=ri(To);return Ht.concat(To,To.visualViewport||[],Nn(Jn)?Jn:[],qo&&Dt?zo(qo):[])}return Ht.concat(Jn,zo(Jn,[],Dt))}function ri(Rt){return Rt.parent&&Object.getPrototypeOf(Rt.parent)?Rt.frameElement:null}function Yi(Rt){const Ht=bo(Rt);let Dt=parseFloat(Ht.width)||0,un=parseFloat(Ht.height)||0;const Jn=Cn(Rt),so=Jn?Rt.offsetWidth:Dt,To=Jn?Rt.offsetHeight:un,qo=y(Dt)!==so||y(un)!==To;return qo&&(Dt=so,un=To),{width:Dt,height:un,$:qo}}function xr(Rt){return _n(Rt)?Rt:Rt.contextElement}function zi(Rt){const Ht=xr(Rt);if(!Cn(Ht))return M(1);const Dt=Ht.getBoundingClientRect(),{width:un,height:Jn,$:so}=Yi(Ht);let To=(so?y(Dt.width):Dt.width)/un,qo=(so?y(Dt.height):Dt.height)/Jn;return(!To||!Number.isFinite(To))&&(To=1),(!qo||!Number.isFinite(qo))&&(qo=1),{x:To,y:qo}}const Ji=M(0);function Pr(Rt){const Ht=Un(Rt);return Tn()&&Ht.visualViewport?{x:Ht.visualViewport.offsetLeft,y:Ht.visualViewport.offsetTop}:Ji}function no(Rt,Ht,Dt,un){void 0===Ht&&(Ht=!1),void 0===Dt&&(Dt=!1);const Jn=Rt.getBoundingClientRect(),so=xr(Rt);let To=M(1);Ht&&(un?_n(un)&&(To=zi(un)):To=zi(Rt));const qo=function Gi(Rt,Ht,Dt){return void 0===Ht&&(Ht=!1),!(!Dt||Ht&&Dt!==Un(Rt))&&Ht}(so,Dt,un)?Pr(so):M(0);let hi=(Jn.left+qo.x)/To.x,si=(Jn.top+qo.y)/To.y,Ao=Jn.width/To.x,eo=Jn.height/To.y;if(so){const fi=Un(so),ti=un&&_n(un)?Un(un):un;let Ti=fi,$i=ri(Ti);for(;$i&&un&&ti!==Ti;){const P=zi($i),re=$i.getBoundingClientRect(),ie=bo($i),B=re.left+($i.clientLeft+parseFloat(ie.paddingLeft))*P.x,ne=re.top+($i.clientTop+parseFloat(ie.paddingTop))*P.y;hi*=P.x,si*=P.y,Ao*=P.x,eo*=P.y,hi+=B,si+=ne,Ti=Un($i),$i=ri(Ti)}}return sn({width:Ao,height:eo,x:hi,y:si})}function Vn(Rt,Ht){const Dt=_o(Rt).scrollLeft;return Ht?Ht.left+Dt:no(Zn(Rt)).left+Dt}function mn(Rt,Ht,Dt){void 0===Dt&&(Dt=!1);const un=Rt.getBoundingClientRect();return{x:un.left+Ht.scrollLeft-(Dt?0:Vn(Rt,un)),y:un.top+Ht.scrollTop}}function wn(Rt,Ht,Dt){let un;if("viewport"===Ht)un=function In(Rt,Ht){const Dt=Un(Rt),un=Zn(Rt),Jn=Dt.visualViewport;let so=un.clientWidth,To=un.clientHeight,qo=0,hi=0;if(Jn){so=Jn.width,To=Jn.height;const si=Tn();(!si||si&&"fixed"===Ht)&&(qo=Jn.offsetLeft,hi=Jn.offsetTop)}return{width:so,height:To,x:qo,y:hi}}(Rt,Dt);else if("document"===Ht)un=function Ft(Rt){const Ht=Zn(Rt),Dt=_o(Rt),un=Rt.ownerDocument.body,Jn=_(Ht.scrollWidth,Ht.clientWidth,un.scrollWidth,un.clientWidth),so=_(Ht.scrollHeight,Ht.clientHeight,un.scrollHeight,un.clientHeight);let To=-Dt.scrollLeft+Vn(Rt);const qo=-Dt.scrollTop;return"rtl"===bo(un).direction&&(To+=_(Ht.clientWidth,un.clientWidth)-Jn),{width:Jn,height:so,x:To,y:qo}}(Zn(Rt));else if(_n(Ht))un=function fo(Rt,Ht){const Dt=no(Rt,!0,"fixed"===Ht),un=Dt.top+Rt.clientTop,Jn=Dt.left+Rt.clientLeft,so=Cn(Rt)?zi(Rt):M(1);return{width:Rt.clientWidth*so.x,height:Rt.clientHeight*so.y,x:Jn*so.x,y:un*so.y}}(Ht,Dt);else{const Jn=Pr(Rt);un={x:Ht.x-Jn.x,y:Ht.y-Jn.y,width:Ht.width,height:Ht.height}}return sn(un)}function dn(Rt,Ht){const Dt=gi(Rt);return!(Dt===Ht||!_n(Dt)||uo(Dt))&&("fixed"===bo(Dt).position||dn(Dt,Ht))}function $e(Rt,Ht){const Dt=Ht.get(Rt);if(Dt)return Dt;let un=zo(Rt,[],!1).filter(qo=>_n(qo)&&"body"!==pn(qo)),Jn=null;const so="fixed"===bo(Rt).position;let To=so?gi(Rt):Rt;for(;_n(To)&&!uo(To);){const qo=bo(To),hi=vn(To);!hi&&"fixed"===qo.position&&(Jn=null),(so?!hi&&!Jn:!hi&&"static"===qo.position&&Jn&&["absolute","fixed"].includes(Jn.position)||Nn(To)&&!hi&&dn(Rt,To))?un=un.filter(Ao=>Ao!==To):Jn=qo,To=gi(To)}return Ht.set(Rt,un),un}function Wt(Rt,Ht,Dt){const un=Cn(Ht),Jn=Zn(Ht),so="fixed"===Dt,To=no(Rt,!0,so,Ht);let qo={scrollLeft:0,scrollTop:0};const hi=M(0);if(un||!un&&!so)if(("body"!==pn(Ht)||Nn(Jn))&&(qo=_o(Ht)),un){const fi=no(Ht,!0,so,Ht);hi.x=fi.x+Ht.clientLeft,hi.y=fi.y+Ht.clientTop}else Jn&&(hi.x=Vn(Jn));const si=!Jn||un||so?M(0):mn(Jn,qo);return{x:To.left+qo.scrollLeft-hi.x-si.x,y:To.top+qo.scrollTop-hi.y-si.y,width:To.width,height:To.height}}function Dn(Rt){return"static"===bo(Rt).position}function to(Rt,Ht){if(!Cn(Rt)||"fixed"===bo(Rt).position)return null;if(Ht)return Ht(Rt);let Dt=Rt.offsetParent;return Zn(Rt)===Dt&&(Dt=Dt.ownerDocument.body),Dt}function co(Rt,Ht){const Dt=Un(Rt);if(Zt(Rt))return Dt;if(!Cn(Rt)){let Jn=gi(Rt);for(;Jn&&!uo(Jn);){if(_n(Jn)&&!Dn(Jn))return Jn;Jn=gi(Jn)}return Dt}let un=to(Rt,Ht);for(;un&&Qn(un)&&Dn(un);)un=to(un,Ht);return un&&uo(un)&&Dn(un)&&!vn(un)?Dt:un||function hn(Rt){let Ht=gi(Rt);for(;Cn(Ht)&&!uo(Ht);){if(vn(Ht))return Ht;if(Zt(Ht))return null;Ht=gi(Ht)}return null}(Rt)||Dt}const Gn={convertOffsetParentRelativeRectToViewportRelativeRect:function ze(Rt){let{elements:Ht,rect:Dt,offsetParent:un,strategy:Jn}=Rt;const so="fixed"===Jn,To=Zn(un),qo=!!Ht&&Zt(Ht.floating);if(un===To||qo&&so)return Dt;let hi={scrollLeft:0,scrollTop:0},si=M(1);const Ao=M(0),eo=Cn(un);if((eo||!eo&&!so)&&(("body"!==pn(un)||Nn(To))&&(hi=_o(un)),Cn(un))){const ti=no(un);si=zi(un),Ao.x=ti.x+un.clientLeft,Ao.y=ti.y+un.clientTop}const fi=!To||eo||so?M(0):mn(To,hi,!0);return{width:Dt.width*si.x,height:Dt.height*si.y,x:Dt.x*si.x-hi.scrollLeft*si.x+Ao.x+fi.x,y:Dt.y*si.y-hi.scrollTop*si.y+Ao.y+fi.y}},getDocumentElement:Zn,getClippingRect:function We(Rt){let{element:Ht,boundary:Dt,rootBoundary:un,strategy:Jn}=Rt;const To=[..."clippingAncestors"===Dt?Zt(Ht)?[]:$e(Ht,this._c):[].concat(Dt),un],hi=To.reduce((si,Ao)=>{const eo=wn(Ht,Ao,Jn);return si.top=_(eo.top,si.top),si.right=x(eo.right,si.right),si.bottom=x(eo.bottom,si.bottom),si.left=_(eo.left,si.left),si},wn(Ht,To[0],Jn));return{width:hi.right-hi.left,height:hi.bottom-hi.top,x:hi.left,y:hi.top}},getOffsetParent:co,getElementRects:function(){var Rt=(0,i.A)(function*(Ht){const Dt=this.getOffsetParent||co,un=this.getDimensions,Jn=yield un(Ht.floating);return{reference:Wt(Ht.reference,yield Dt(Ht.floating),Ht.strategy),floating:{x:0,y:0,width:Jn.width,height:Jn.height}}});return function(Dt){return Rt.apply(this,arguments)}}(),getClientRects:function at(Rt){return Array.from(Rt.getClientRects())},getDimensions:function ot(Rt){const{width:Ht,height:Dt}=Yi(Rt);return{width:Ht,height:Dt}},getScale:zi,isElement:_n,isRTL:function ln(Rt){return"rtl"===bo(Rt).direction}};function go(Rt,Ht){return Rt.x===Ht.x&&Rt.y===Ht.y&&Rt.width===Ht.width&&Rt.height===Ht.height}var po=l(19402),ni=l(86648),Ci=l(60177);class Si{_attachedHost;attach(Ht){return this._attachedHost=Ht,Ht.attach(this)}detach(){let Ht=this._attachedHost;null!=Ht&&(this._attachedHost=null,Ht.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ht){this._attachedHost=Ht}}class rs extends Si{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(Ht,Dt,un,Jn,so){super(),this.component=Ht,this.viewContainerRef=Dt,this.injector=un,this.projectableNodes=so}}class Ir extends Si{templateRef;viewContainerRef;context;injector;constructor(Ht,Dt,un,Jn){super(),this.templateRef=Ht,this.viewContainerRef=Dt,this.context=un,this.injector=Jn}get origin(){return this.templateRef.elementRef}attach(Ht,Dt=this.context){return this.context=Dt,super.attach(Ht)}detach(){return this.context=void 0,super.detach()}}class fs extends Si{element;constructor(Ht){super(),this.element=Ht instanceof n.aKT?Ht.nativeElement:Ht}}class Cs{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(Ht){return Ht instanceof rs?(this._attachedPortal=Ht,this.attachComponentPortal(Ht)):Ht instanceof Ir?(this._attachedPortal=Ht,this.attachTemplatePortal(Ht)):this.attachDomPortal&&Ht instanceof fs?(this._attachedPortal=Ht,this.attachDomPortal(Ht)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Ht){this._disposeFn=Ht}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}let Es=(()=>{class Rt extends Cs{_moduleRef=(0,n.WQX)(n.Vns,{optional:!0});_document=(0,n.WQX)(Ci.qQ);_viewContainerRef=(0,n.WQX)(n.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(Dt){this.hasAttached()&&!Dt&&!this._isInitialized||(this.hasAttached()&&super.detach(),Dt&&super.attach(Dt),this._attachedPortal=Dt||null)}attached=new n.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Dt){Dt.setAttachedHost(this);const un=null!=Dt.viewContainerRef?Dt.viewContainerRef:this._viewContainerRef,Jn=un.createComponent(Dt.component,{index:un.length,injector:Dt.injector||un.injector,projectableNodes:Dt.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return un!==this._viewContainerRef&&this._getRootNode().appendChild(Jn.hostView.rootNodes[0]),super.setDisposeFn(()=>Jn.destroy()),this._attachedPortal=Dt,this._attachedRef=Jn,this.attached.emit(Jn),Jn}attachTemplatePortal(Dt){Dt.setAttachedHost(this);const un=this._viewContainerRef.createEmbeddedView(Dt.templateRef,Dt.context,{injector:Dt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Dt,this._attachedRef=un,this.attached.emit(un),un}attachDomPortal=Dt=>{const un=Dt.element,Jn=this._document.createComment("dom-portal");Dt.setAttachedHost(this),un.parentNode.insertBefore(Jn,un),this._getRootNode().appendChild(un),this._attachedPortal=Dt,super.setDisposeFn(()=>{Jn.parentNode&&Jn.parentNode.replaceChild(un,Jn)})};_getRootNode(){const Dt=this._viewContainerRef.element.nativeElement;return Dt.nodeType===Dt.ELEMENT_NODE?Dt:Dt.parentNode}static \u0275fac=function(un){return new(un||Rt)};static \u0275dir=n.FsC({type:Rt,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.Vt3]})}return Rt})(),Zr=(()=>{class Rt extends Es{set outlet(Dt){this._outlet=Dt,this.outlet&&(this.portal=new fs(this.elementRef))}get outlet(){return this._outlet}set portal(Dt){if(!(Dt instanceof fs))throw Error(`Portal type ${Dt} is not supported`);super.portal=Dt}constructor(Dt,un,Jn){super(un,Jn),this.elementRef=Dt,this.componentFactoryResolver=un,this.viewContainerRef=Jn,this.attachDomPortal=so=>{if(!this.outlet)throw Error("Outlet must be defined!");const{element:To}=so;if(!To.parentNode)throw Error("DOM portal content must be attached to a parent node.");const qo=document.createComment("dom-portal");so.setAttachedHost(this),To.parentNode.insertBefore(qo,To),this.outlet.appendChild(To),this._attachedPortal=so,super.setDisposeFn(()=>{qo.parentNode&&qo.parentNode.replaceChild(To,qo)})}}static#e=this.\u0275fac=function(un){return new(un||Rt)(n.rXU(n.aKT),n.rXU(n.OM3),n.rXU(n.c1b))};static#t=this.\u0275dir=n.FsC({type:Rt,selectors:[["","kirbyPortal",""]],inputs:{outlet:"outlet"},features:[n.Vt3]})}return Rt})();var Wr=function(Rt){return Rt[Rt.none=0]="none",Rt[Rt.small=4]="small",Rt[Rt.medium=8]="medium",Rt}(Wr||{}),ws=function(Rt){return Rt.tag="tag",Rt.id="id",Rt.class="class",Rt.name="name",Rt}(ws||{});let Or=(()=>{class Rt{set reference(Dt){this.tearDownReferenceElementEventHandling(),this._reference=Dt,this.setupEventHandling(),this.isShown&&this.autoUpdatePosition()}get reference(){return this._reference}set placement(Dt){this._placement=Dt,this.isShown&&this.updateHostElementPosition()}get placement(){return this._placement}set strategy(Dt){this._strategy=Dt,this.isShown&&this.updateHostElementPosition()}get strategy(){return this._strategy}set triggers(Dt){this._triggers=Dt,this.tearDownReferenceElementEventHandling(),this.setupEventHandling()}get triggers(){return this._triggers}set DOMPortalOutlet(Dt){this._providedPortalOutlet=Dt,this.portalDirective.outlet=this.DOMPortalOutlet??this.getOutletElement(this.portalOutletConfig)}get DOMPortalOutlet(){return this._providedPortalOutlet}set portalOutletConfig(Dt){this._portalOutletConfig=Dt,this.DOMPortalOutlet||(this.portalDirective.outlet=this.getOutletElement(Dt))}get portalOutletConfig(){return this._portalOutletConfig}onEscapeKeyPressed(){this.closeOnEscapeKey&&this.hide()}constructor(Dt,un,Jn){this.elementRef=Dt,this.renderer=un,this.portalDirective=Jn,this.isDisabled=!1,this.offset=Wr.none,this.shift=!1,this.autoPlacement=!1,this.closeOnSelect=!0,this.closeOnEscapeKey=!0,this.closeOnBackdrop=!0,this.displayChanged=new n.bkB,this._placement="bottom-start",this._strategy="absolute",this._triggers=["click"],this.isShown=!1,this.referenceEventListenerDisposeFns=[],this.triggerEventMap=new Map([["click",[{event:"click",method:this.toggleShow.bind(this)}]],["hover",[{event:"mouseenter",method:this.show.bind(this)},{event:"mouseleave",method:this.hide.bind(this)}]],["focus",[{event:"focus",method:this.show.bind(this)},{event:"blur",method:this.hide.bind(this)}]]]),this.HTMLElements={id:so=>Array.of(document.getElementById(so)),class:so=>Array.from(document.getElementsByClassName(so)),name:so=>Array.from(document.getElementsByName(so)),tag:so=>Array.from(document.getElementsByTagName(so)),default:()=>null}}ngOnInit(){this.addFloatStylingToHostElement()}show(){this.isDisabled||(this.attachDocumentClickEventHandler(),this.attachHostClickEventHandler(),this.renderer.setStyle(this.elementRef.nativeElement,"display","block"),this.isShown=!0,this.autoUpdatePosition(),this.displayChanged.emit(this.isShown))}hide(){this.isDisabled||!this.isShown||(this.removeAutoUpdaterRef(),this.tearDownDocumentClickEventHandling(),this.renderer.setStyle(this.elementRef.nativeElement,"display","none"),this.isShown=!1,this.displayChanged.emit(this.isShown))}toggleShow(){this.isShown?this.hide():this.show()}addFloatStylingToHostElement(){this.renderer.setStyle(this.elementRef.nativeElement,"left","0px"),this.renderer.setStyle(this.elementRef.nativeElement,"top","0px"),this.renderer.setStyle(this.elementRef.nativeElement,"position",this.strategy),this.renderer.setStyle(this.elementRef.nativeElement,"z-index",po.Q.zLayer("popover")),this.setDisplayStyling()}setDisplayStyling(){this.renderer.setStyle(this.elementRef.nativeElement,"display",this.isShown?"block":"none")}updateHostElementPosition(){if(!this.reference)return;const Dt={placement:this.placement,middleware:this.getMiddlewareConfig(),strategy:this.strategy};(0,ni.H)(((Rt,Ht,Dt)=>{const Jn={platform:Gn,...Dt},so={...Jn.platform,_c:new Map};return Ct(Rt,Ht,{...Jn,platform:so})})(this.reference?.nativeElement,this.elementRef.nativeElement,Dt)).subscribe(({x:un,y:Jn})=>this.setPositionStylingOnHostElement(un,Jn))}getMiddlewareConfig(){const Dt=[];return Dt.push(function(Rt){return void 0===Rt&&(Rt=0),{name:"offset",options:Rt,fn:Ht=>(0,i.A)(function*(){var Dt,un;const{x:Jn,y:so,placement:To,middlewareData:qo}=Ht,hi=yield function jn(Rt,Ht){return So.apply(this,arguments)}(Ht,Rt);return To===(null==(Dt=qo.offset)?void 0:Dt.placement)&&null!=(un=qo.arrow)&&un.alignmentOffset?{}:{x:Jn+hi.x,y:so+hi.y,data:{...hi,placement:To}}})()}}(this.offset)),Dt.push(function(Rt){return void 0===Rt&&(Rt={}),{name:"flip",options:Rt,fn:Ht=>(0,i.A)(function*(){var Dt,un;const{placement:Jn,middlewareData:so,rects:To,initialPlacement:qo,platform:hi,elements:si}=Ht,{mainAxis:Ao=!0,crossAxis:eo=!0,fallbackPlacements:fi,fallbackStrategy:ti="bestFit",fallbackAxisSideDirection:Ti="none",flipAlignment:$i=!0,...P}=K(Rt,Ht);if(null!=(Dt=so.arrow)&&Dt.alignmentOffset)return{};const re=L(Jn),ie=Le(qo),B=L(qo)===qo,ne=yield null==hi.isRTL?void 0:hi.isRTL(si.floating),de=fi||(B||!$i?[Mt(qo)]:function ke(Rt){const Ht=Mt(Rt);return[De(Rt),Ht,De(Ht)]}(qo)),Ce="none"!==Ti;!fi&&Ce&&de.push(...function lt(Rt,Ht,Dt,un){const Jn=he(Rt);let so=function Je(Rt,Ht,Dt){const un=["left","right"],Jn=["right","left"],so=["top","bottom"],To=["bottom","top"];switch(Rt){case"top":case"bottom":return Dt?Ht?Jn:un:Ht?un:Jn;case"left":case"right":return Ht?so:To;default:return[]}}(L(Rt),"start"===Dt,un);return Jn&&(so=so.map(To=>To+"-"+Jn),Ht&&(so=so.concat(so.map(De)))),so}(qo,$i,Ti,ne));const Ke=[qo,...de],st=yield Xe(Ht,P),rt=[];let Kt=(null==(un=so.flip)?void 0:un.overflows)||[];if(Ao&&rt.push(st[re]),eo){const nn=je(Jn,To,ne);rt.push(st[nn[0]],st[nn[1]])}if(Kt=[...Kt,{placement:Jn,overflows:rt}],!rt.every(nn=>nn<=0)){var Et,Yt;const nn=((null==(Et=so.flip)?void 0:Et.index)||0)+1,mo=Ke[nn];if(mo)return{data:{index:nn,overflows:Kt},reset:{placement:mo}};let yo=null==(Yt=Kt.filter(Xo=>Xo.overflows[0]<=0).sort((Xo,Ho)=>Xo.overflows[1]-Ho.overflows[1])[0])?void 0:Yt.placement;if(!yo)switch(ti){case"bestFit":{var $n;const Xo=null==($n=Kt.filter(Ho=>{if(Ce){const Oi=Le(Ho.placement);return Oi===ie||"y"===Oi}return!0}).map(Ho=>[Ho.placement,Ho.overflows.filter(Oi=>Oi>0).reduce((Oi,ui)=>Oi+ui,0)]).sort((Ho,Oi)=>Ho[1]-Oi[1])[0])?void 0:$n[0];Xo&&(yo=Xo);break}case"initialPlacement":yo=qo}if(Jn!==yo)return{reset:{placement:yo}}}return{}})()}}()),this.shift&&Dt.push(function(Rt){return void 0===Rt&&(Rt={}),{name:"shift",options:Rt,fn:Ht=>(0,i.A)(function*(){const{x:Dt,y:un,placement:Jn}=Ht,{mainAxis:so=!0,crossAxis:To=!1,limiter:qo={fn:P=>{let{x:re,y:ie}=P;return{x:re,y:ie}}},...hi}=K(Rt,Ht),si={x:Dt,y:un},Ao=yield Xe(Ht,hi),eo=Le(L(Jn)),fi=pe(eo);let ti=si[fi],Ti=si[eo];so&&(ti=H(ti+Ao["y"===fi?"top":"left"],ti,ti-Ao["y"===fi?"bottom":"right"])),To&&(Ti=H(Ti+Ao["y"===eo?"top":"left"],Ti,Ti-Ao["y"===eo?"bottom":"right"]));const $i=qo.fn({...Ht,[fi]:ti,[eo]:Ti});return{...$i,data:{x:$i.x-Dt,y:$i.y-un,enabled:{[fi]:so,[eo]:To}}}})()}}({padding:parseInt(po.Q.size("s"))})),this.autoPlacement&&Dt.push(function(Rt){return void 0===Rt&&(Rt={}),{name:"autoPlacement",options:Rt,fn:Ht=>(0,i.A)(function*(){var Dt,un,Jn;const{rects:so,middlewareData:To,placement:qo,platform:hi,elements:si}=Ht,{crossAxis:Ao=!1,alignment:eo,allowedPlacements:fi=s,autoAlignment:ti=!0,...Ti}=K(Rt,Ht),$i=void 0!==eo||fi===s?function Pt(Rt,Ht,Dt){return(Rt?[...Dt.filter(Jn=>he(Jn)===Rt),...Dt.filter(Jn=>he(Jn)!==Rt)]:Dt.filter(Jn=>L(Jn)===Jn)).filter(Jn=>!Rt||he(Jn)===Rt||!!Ht&&De(Jn)!==Jn)}(eo||null,ti,fi):fi,P=yield Xe(Ht,Ti),re=(null==(Dt=To.autoPlacement)?void 0:Dt.index)||0,ie=$i[re];if(null==ie)return{};const B=je(ie,so,yield null==hi.isRTL?void 0:hi.isRTL(si.floating));if(qo!==ie)return{reset:{placement:$i[0]}};const ne=[P[L(ie)],P[B[0]],P[B[1]]],de=[...(null==(un=To.autoPlacement)?void 0:un.overflows)||[],{placement:ie,overflows:ne}],Ce=$i[re+1];if(Ce)return{data:{index:re+1,overflows:de},reset:{placement:Ce}};const Ke=de.map(Kt=>{const Et=he(Kt.placement);return[Kt.placement,Et&&Ao?Kt.overflows.slice(0,2).reduce((Yt,$n)=>Yt+$n,0):Kt.overflows[0],Kt.overflows]}).sort((Kt,Et)=>Kt[1]-Et[1]),rt=(null==(Jn=Ke.filter(Kt=>Kt[2].slice(0,he(Kt[0])?2:3).every(Et=>Et<=0))[0])?void 0:Jn[0])||Ke[0][0];return rt!==qo?{data:{index:re+1,overflows:de},reset:{placement:rt}}:{}})()}}()),Dt}autoUpdatePosition(){this.removeAutoUpdaterRef(),this.reference&&(this.autoUpdaterRef=function yi(Rt,Ht,Dt,un){void 0===un&&(un={});const{ancestorScroll:Jn=!0,ancestorResize:so=!0,elementResize:To="function"==typeof ResizeObserver,layoutShift:qo="function"==typeof IntersectionObserver,animationFrame:hi=!1}=un,si=xr(Rt),Ao=Jn||so?[...si?zo(si):[],...zo(Ht)]:[];Ao.forEach(re=>{Jn&&re.addEventListener("scroll",Dt,{passive:!0}),so&&re.addEventListener("resize",Dt)});const eo=si&&qo?function Vo(Rt,Ht){let un,Dt=null;const Jn=Zn(Rt);function so(){var qo;clearTimeout(un),null==(qo=Dt)||qo.disconnect(),Dt=null}return function To(qo,hi){void 0===qo&&(qo=!1),void 0===hi&&(hi=1),so();const si=Rt.getBoundingClientRect(),{left:Ao,top:eo,width:fi,height:ti}=si;if(qo||Ht(),!fi||!ti)return;const B={rootMargin:-w(eo)+"px "+-w(Jn.clientWidth-(Ao+fi))+"px "+-w(Jn.clientHeight-(eo+ti))+"px "+-w(Ao)+"px",threshold:_(0,x(1,hi))||1};let ne=!0;function de(Ce){const Ke=Ce[0].intersectionRatio;if(Ke!==hi){if(!ne)return To();Ke?To(!1,Ke):un=setTimeout(()=>{To(!1,1e-7)},1e3)}1===Ke&&!go(si,Rt.getBoundingClientRect())&&To(),ne=!1}try{Dt=new IntersectionObserver(de,{...B,root:Jn.ownerDocument})}catch{Dt=new IntersectionObserver(de,B)}Dt.observe(Rt)}(!0),so}(si,Dt):null;let fi=-1,ti=null;To&&(ti=new ResizeObserver(re=>{let[ie]=re;ie&&ie.target===si&&ti&&(ti.unobserve(Ht),cancelAnimationFrame(fi),fi=requestAnimationFrame(()=>{var B;null==(B=ti)||B.observe(Ht)})),Dt()}),si&&!hi&&ti.observe(si),ti.observe(Ht));let Ti,$i=hi?no(Rt):null;return hi&&function P(){const re=no(Rt);$i&&!go($i,re)&&Dt(),$i=re,Ti=requestAnimationFrame(P)}(),Dt(),()=>{var re;Ao.forEach(ie=>{Jn&&ie.removeEventListener("scroll",Dt),so&&ie.removeEventListener("resize",Dt)}),eo?.(),null==(re=ti)||re.disconnect(),ti=null,hi&&cancelAnimationFrame(Ti)}}(this.reference?.nativeElement,this.elementRef.nativeElement,this.updateHostElementPosition.bind(this)))}setPositionStylingOnHostElement(Dt,un){this.renderer.setStyle(this.elementRef.nativeElement,"left",`${Dt}px`),this.renderer.setStyle(this.elementRef.nativeElement,"top",`${un}px`),this.setDisplayStyling()}setupEventHandling(){!this.reference||!this.triggers||this.triggers.forEach(Dt=>this.attachTriggerEventToReferenceElement(Dt))}attachDocumentClickEventHandler(){this.documentClickEventListenerDisposeFn||(this.documentClickEventListenerDisposeFn=this.renderer.listen("document","mousedown",Dt=>this.handleClickOutsideHostElement(Dt)))}attachHostClickEventHandler(){this.hostClickEventListenerDisposeFn||!this.closeOnSelect||(this.hostClickEventListenerDisposeFn=this.renderer.listen(this.elementRef.nativeElement,"click",()=>this.handleClickInsideHostElement()))}attachTriggerEventToReferenceElement(Dt){const un=this.triggerEventMap.get(Dt);if(!un)throw new Error(`${Dt} is missing event definition(s)`);un.forEach(Jn=>{const so=this.renderer.listen(this.reference?.nativeElement,Jn.event,Jn.method);this.referenceEventListenerDisposeFns.push(so)})}handleClickInsideHostElement(){this.closeOnSelect&&this.hide()}handleClickOutsideHostElement(Dt){if(Dt.target instanceof Node){if(this.elementRef.nativeElement.contains(Dt.target))return;const Jn=this.reference?.nativeElement.contains(Dt.target)&&this.triggers.includes("click");this.closeOnBackdrop&&!Jn&&this.hide()}}getOutletElement(Dt){if(!Dt||!Dt.selector||!Dt.value)return null;const un=this.getHTMLElements(Dt);if(!un||0===un.length)throw Error(`Could not locate HTMLElement for ${Dt.selector}. Did you misspell it?`);if(un.length>1)throw Error(`Multiple HTMLElements found for ${Dt.selector}.\n This can lead to unintended behaviours. Provide an unique outlet`);return un[0]}getHTMLElements(Dt){return this.HTMLElements[Dt.selector](Dt.value)||this.HTMLElements.default(Dt.value)}tearDownReferenceElementEventHandling(){this.referenceEventListenerDisposeFns.forEach(Dt=>{Dt?.()}),this.referenceEventListenerDisposeFns=[]}tearDownDocumentClickEventHandling(){this.documentClickEventListenerDisposeFn&&(this.documentClickEventListenerDisposeFn(),this.documentClickEventListenerDisposeFn=null),this.hostClickEventListenerDisposeFn&&(this.hostClickEventListenerDisposeFn(),this.hostClickEventListenerDisposeFn=null)}removeAutoUpdaterRef(){this.autoUpdaterRef&&this.autoUpdaterRef()}ngOnDestroy(){this.tearDownDocumentClickEventHandling(),this.tearDownReferenceElementEventHandling(),this.removeAutoUpdaterRef()}static#e=this.\u0275fac=function(un){return new(un||Rt)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(Zr))};static#t=this.\u0275dir=n.FsC({type:Rt,selectors:[["","kirbyFloating",""]],hostBindings:function(un,Jn){1&un&&n.bIt("keydown.escape",function(To){return Jn.onEscapeKeyPressed(To)},!1,n.EBC)},inputs:{reference:"reference",placement:"placement",strategy:"strategy",triggers:"triggers",DOMPortalOutlet:"DOMPortalOutlet",portalOutletConfig:"portalOutletConfig",isDisabled:"isDisabled",offset:"offset",shift:"shift",autoPlacement:"autoPlacement",closeOnSelect:"closeOnSelect",closeOnEscapeKey:"closeOnEscapeKey",closeOnBackdrop:"closeOnBackdrop"},outputs:{displayChanged:"displayChanged"},features:[n.Jv_([Zr]),n.nM4([Zr])]})}return Rt})()},13339:(ft,Z,l)=>{"use strict";l.d(Z,{Cd:()=>_,Iz:()=>y,L0:()=>pe,TD:()=>H,ke:()=>x,r2:()=>I,s0:()=>K,tN:()=>s});var n=l(54438),i=l(53715),f=l(44354),g=l(19402);let s=(()=>{class be{create(ye){return typeof ResizeObserver>"u"?null:new ResizeObserver(ye)}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275prov=n.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})(),x=(()=>{class be{constructor(ye){this._resizeObserverFactory=ye,this.observedElements=new WeakMap,this.observer=this._resizeObserverFactory.create(je=>this.handleResize(je))}observe(ye,je){const ke=ye instanceof n.aKT?ye.nativeElement:ye;this.observedElements.has(ke)||(this.observer&&this.observer.observe(ke),this.observedElements.set(ke,je))}ngOnDestroy(){this.observer&&this.observer.disconnect(),this.observedElements=null}unobserve(ye){const je=ye instanceof n.aKT?ye.nativeElement:ye;this.observedElements.has(je)&&(this.observer&&this.observer.unobserve(je),this.observedElements.delete(je))}handleResize(ye){ye.forEach(je=>{const ke=this.observedElements.get(je.target);ke&&ke(je)})}static#e=this.\u0275fac=function(je){return new(je||be)(n.KVO(s))};static#t=this.\u0275prov=n.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})(),_=(()=>{class be{constructor(){this._isDefault=!0}get isDefault(){return this._isDefault}get isPrimary(){return this._isPrimary}get isSecondary(){return this._isSecondary}get isTertiary(){return this._isTertiary}get isSuccess(){return this._isSuccess}get isWarning(){return this._isWarning}get isDanger(){return this._isDanger}get isLight(){return this._isLight}get isMedium(){return this._isMedium}get isDark(){return this._isDark}get isWhite(){return this._isWhite}get isBrightnessWhite(){return this._isBrightnessWhite}get isBrightnessLight(){return this._isBrightnessLight}get isBrightnessDark(){return this._isBrightnessDark}set themeColor(ye){this._isDefault=!ye,this._isPrimary="primary"===ye,this._isSecondary="secondary"===ye,this._isTertiary="tertiary"===ye,this._isSuccess="success"===ye,this._isWarning="warning"===ye,this._isDanger="danger"===ye,this._isLight="light"===ye,this._isMedium="medium"===ye,this._isDark="dark"===ye,this._isWhite="white"===ye;const je=f.A.getColorBrightness(ye);this._isBrightnessWhite="white"===je,this._isBrightnessLight="light"===je,this._isBrightnessDark="dark"===je}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275dir=n.FsC({type:be,selectors:[["kirby-avatar","themeColor",""],["kirby-card","themeColor",""],["kirby-icon","themeColor",""],["kirby-progress-circle-ring","themeColor",""],["kirby-modal-footer","themeColor",""],["kirby-empty-state","themeColor",""]],hostVars:28,hostBindings:function(je,ke){2&je&&n.AVh("default",ke.isDefault)("primary",ke.isPrimary)("secondary",ke.isSecondary)("tertiary",ke.isTertiary)("success",ke.isSuccess)("warning",ke.isWarning)("danger",ke.isDanger)("light",ke.isLight)("medium",ke.isMedium)("dark",ke.isDark)("white",ke.isWhite)("kirby-color-brightness-white",ke.isBrightnessWhite)("kirby-color-brightness-light",ke.isBrightnessLight)("kirby-color-brightness-dark",ke.isBrightnessDark)},inputs:{themeColor:"themeColor"}})}return be})(),y=(()=>{class be{constructor(ye,je,ke){this.componentFactoryResolver=ye,this.viewContainerRef=je,this.renderer=ke}ngOnInit(){this.loadCard()}loadCard(){const ye=this.componentFactoryResolver.resolveComponentFactory(this.configuration.component);this.viewContainerRef.clear();const je=this.viewContainerRef.createComponent(ye);je&&je.location&&je.location.nativeElement&&this.renderer.addClass(je.location.nativeElement,this.cssClass),je.instance.data=this.configuration.data}static#e=this.\u0275fac=function(je){return new(je||be)(n.rXU(n.OM3),n.rXU(n.c1b),n.rXU(n.sFG))};static#t=this.\u0275dir=n.FsC({type:be,selectors:[["","kirbyLoadComponent",""]],inputs:{configuration:[0,"kirbyLoadComponent","configuration"],cssClass:"cssClass"}})}return be})();const w=g.Q.fontSize,M=g.Q.lineHeight;let I=(()=>{class be{constructor(ye,je,ke,De){this.elementRef=ye,this.renderer=je,this.resizeObserverService=ke,this.lineClampHelper=De,this.headingSizes=[{name:"h1",fontSize:w("xl"),lineHeight:M("xl")},{name:"h2",fontSize:w("l"),lineHeight:M("l")},{name:"h3",fontSize:w("m"),lineHeight:M("m")}]}ngOnInit(){this.config&&this.config.maxLines&&(this.lineClampHelper.setMaxLines(this.elementRef.nativeElement,this.config.maxLines),this.observeResize(),this.isObservingHostElement=!0)}ngOnDestroy(){this.isObservingHostElement&&(this.resizeObserverService.unobserve(this.elementRef),this.hostElementClone&&this.renderer.removeChild(this.elementRef.nativeElement,this.hostElementClone))}observeResize(){this.resizeObserverService.observe(this.elementRef,()=>{setTimeout(()=>{this.scaleHeader()},0)})}scaleHeader(){if(this.isScalingHeader)return;this.isScalingHeader=!0,this.hostElementClone||(this.hostElementClone=this.generateHostElementClone(),this.renderer.appendChild(this.elementRef.nativeElement,this.hostElementClone)),this.renderer.setStyle(this.hostElementClone,"width",`${this.elementRef.nativeElement.clientWidth}px`);const ye=this.headingSizes[this.headingSizes.length-1],je=this.headingSizes.find(this.canFitHeading.bind(this))||ye;this.setSize(this.elementRef.nativeElement,je),this.lineClampHelper.setLineHeight(this.elementRef.nativeElement,je.lineHeight),this.isScalingHeader=!1}canFitHeading(ye){return this.setSize(this.hostElementClone,ye),this.hostElementClone.clientHeight/parseInt(ye.lineHeight)<=this.config.maxLines}generateHostElementClone(){const ye=this.elementRef.nativeElement.cloneNode(!0);return this.renderer.setStyle(ye,"position","absolute"),this.renderer.setStyle(ye,"visibility","hidden"),this.lineClampHelper.removeLineClamp(ye),ye}setSize(ye,je){this.renderer.setStyle(ye,"font-size",je.fontSize),this.renderer.setStyle(ye,"line-height",je.lineHeight)}static#e=this.\u0275fac=function(je){return new(je||be)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(x),n.rXU(i.aD))};static#t=this.\u0275dir=n.FsC({type:be,selectors:[["h1","kirbyFitHeading",""],["h2","kirbyFitHeading",""],["h3","kirbyFitHeading",""]],inputs:{config:[0,"kirbyFitHeading","config"]},features:[n.Jv_([i.aD])]})}return be})();function H(be){const Le=function R(be){const Le=be.closest("kirby-item");return Le?Le.querySelector("kirby-label"):null}(be);if(Le)return Le.setAttribute("aria-hidden","true"),Le.textContent}function K(be){const Le="aria-label";if(be.hasAttribute(Le)){const ye=be.getAttribute(Le);return be.removeAttribute(Le),ye}}const L={$code:"da",back:"Tilbage",close:"Luk",nextMonth:"N\xe6ste m\xe5ned",nextSlide:"N\xe6ste slide",previousMonth:"Forrige m\xe5ned",previousSlide:"Forrige slide",selectYear:"V\xe6lg \xe5r"},he={$code:"en",back:"Back",close:"Close",nextMonth:"Next month",nextSlide:"Next slide",previousMonth:"Previous month",previousSlide:"Previous slide",selectYear:"Select year"};let pe=(()=>{class be{constructor(ye){this.localeId=ye,this.activeTranslation=he,this.translations={da:L,en:he},this.setActiveTranslation(ye)}setActiveTranslation(ye){const je=ye.split("-")[0],ke=this.translations[je];ke?this.activeTranslation=ke:console.warn(`[Kirby] Internal component translations were not found for locale "${this.localeId}", falling back to ${this.get("$code")}`)}get(ye){return this.activeTranslation[ye]}static#e=this.\u0275fac=function(je){return new(je||be)(n.KVO(n.xe9))};static#t=this.\u0275prov=n.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})()},26396:(ft,Z,l)=>{"use strict";l.d(Z,{V:()=>g});var n=l(60177),i=l(54438);const f=s=>({"slide-done":s});let g=(()=>{class s{get value(){return this._value}set value(_){this._value=_,this.calculatePctInTens()}calculatePctInTens(){this.pctInTens=10*Math.ceil(this.value/10)}resetStep(){this.step=1}get step(){return this._step}set step(_){this._step=_}constructor(_){this.changeDetectionRef=_,this.text="",this.slideDone=new i.bkB,this.slidingPercentageChanged=new i.bkB,this.slideDoneFadeTime=500,this.slideResetTime=100,this.isSlideDone=!1,this.pctInTens=0,this._value=0,this._step=1}ngOnDestroy(){this.resetSliderIntervalTimer&&clearInterval(this.resetSliderIntervalTimer)}onSliderMouseup(){this.resetStep(),100==this.value?this.handleSlideDone():this.resetSliderIntervalTimer=setInterval(()=>{this.value>0?this.value-=2:clearInterval(this.resetSliderIntervalTimer),this.changeDetectionRef.markForCheck()},1)}onSliderValueChange(_){this.value=+_,this.slidingPercentageChanged.emit(this.value)}onKeyDownEvents(){clearInterval(this.resetSliderIntervalTimer),this.step=10}onSliderMousedown(){clearInterval(this.resetSliderIntervalTimer)}handleSlideDone(){this.slideDone.emit(),this.isSlideDone=!0}static#e=this.\u0275fac=function(y){return new(y||s)(i.rXU(i.gRc))};static#t=this.\u0275cmp=i.VBU({type:s,selectors:[["kirby-slide-button"]],hostBindings:function(y,w){1&y&&i.bIt("keyup.arrowup",function(I){return w.onSliderMouseup(I)})("keyup.arrowdown",function(I){return w.onSliderMouseup(I)})("keyup.arrowleft",function(I){return w.onSliderMouseup(I)})("keyup.arrowright",function(I){return w.onSliderMouseup(I)})("keyup.pageup",function(I){return w.onSliderMouseup(I)})("keyup.pagedown",function(I){return w.onSliderMouseup(I)})("keyup.home",function(I){return w.onSliderMouseup(I)})("keyup.end",function(I){return w.onSliderMouseup(I)})("keydown.arrowup",function(I){return w.onKeyDownEvents(I)})("keydown.arrowdown",function(I){return w.onKeyDownEvents(I)})("keydown.arrowleft",function(I){return w.onKeyDownEvents(I)})("keydown.arrowright",function(I){return w.onKeyDownEvents(I)})("keydown.pageup",function(I){return w.onSliderMousedown(I)})("keydown.pagedown",function(I){return w.onSliderMousedown(I)})("keydown.home",function(I){return w.onSliderMousedown(I)})("keydown.end",function(I){return w.onSliderMousedown(I)})},inputs:{text:"text",expand:"expand"},outputs:{slideDone:"slideDone",slidingPercentageChanged:"slidingPercentageChanged"},decls:4,vars:10,consts:[[1,"slide-button-container",3,"ngClass","inert"],["type","range","max","100",1,"slide-button",3,"mouseup","touchend","input","mousedown","touchstart","value","step"]],template:function(y,w){1&y&&(i.j41(0,"div",0)(1,"input",1),i.bIt("mouseup",function(){return w.onSliderMouseup()})("touchend",function(){return w.onSliderMouseup()})("input",function(I){return w.onSliderValueChange(I.target.value)})("mousedown",function(){return w.onSliderMousedown()})("touchstart",function(){return w.onSliderMousedown()}),i.k0s(),i.j41(2,"p"),i.EFF(3),i.k0s()()),2&y&&(i.Y8G("ngClass",i.eq3(8,f,w.isSlideDone))("inert",w.isSlideDone),i.R7$(),i.Y8G("value",w.value)("step",w.step),i.R7$(),i.ZvI("slide-button-text slide-",w.pctInTens,"-pct"),i.R7$(),i.JRh(w.text))},dependencies:[n.MD,n.YU],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;width:256px;-webkit-user-select:none;user-select:none}[expand=block][_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] .slide-button-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;align-items:center;color:var(--kirby-primary-contrast);background-color:var(--kirby-primary);height:56px;border-radius:26px}[_nghost-%COMP%] .slide-10-pct[_ngcontent-%COMP%]{opacity:.9}[_nghost-%COMP%] .slide-20-pct[_ngcontent-%COMP%]{opacity:.8}[_nghost-%COMP%] .slide-30-pct[_ngcontent-%COMP%]{opacity:.7}[_nghost-%COMP%] .slide-40-pct[_ngcontent-%COMP%]{opacity:.6}[_nghost-%COMP%] .slide-50-pct[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .slide-60-pct[_ngcontent-%COMP%]{opacity:.4}[_nghost-%COMP%] .slide-70-pct[_ngcontent-%COMP%]{opacity:.3}[_nghost-%COMP%] .slide-80-pct[_ngcontent-%COMP%]{opacity:.2}[_nghost-%COMP%] .slide-90-pct[_ngcontent-%COMP%]{opacity:.1}[_nghost-%COMP%] .slide-100-pct[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .slide-button-text[_ngcontent-%COMP%]{position:absolute;font-size:16px;margin:0;line-height:1;z-index:1;width:100%;text-align:center;padding:0 26px 0 56px;pointer-events:none}[_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]{outline:none;width:100%;height:100%;-webkit-appearance:none;appearance:none;background:transparent;z-index:2;pointer-events:none}@media (hover: hover){[_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]::-webkit-slider-thumb:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;background-color:#ebebeb}}[_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]::-webkit-slider-thumb:active, [_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]::-webkit-slider-thumb .interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);background-color:#e0e0e0}[_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]::-webkit-slider-thumb{transition:all 80ms linear 0ms;-webkit-appearance:none;appearance:none;border-radius:50%;background-color:var(--kirby-white);background-image:url(/assets/kirby/icons/svg/arrow-more.svg);background-repeat:no-repeat;background-position:center;background-size:24px;width:52px;height:52px;border:none;pointer-events:all}@media (hover: hover){[_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]::-moz-range-thumb:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;background-color:#ebebeb}}[_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]::-moz-range-thumb:active, [_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]::-moz-range-thumb .interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);background-color:#e0e0e0}[_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]::-moz-range-thumb{transition:all 80ms linear 0ms;-webkit-appearance:none;appearance:none;border-radius:50%;background-color:var(--kirby-white);background-image:url(/assets/kirby/icons/svg/arrow-more.svg);background-repeat:no-repeat;background-position:center;background-size:24px;width:52px;height:52px;border:none;pointer-events:all}[_nghost-%COMP%] .slide-button[_ngcontent-%COMP%]:focus-visible::-webkit-slider-thumb{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}[_nghost-%COMP%] .slide-done[_ngcontent-%COMP%]{transition:all .3s ease-in-out;opacity:0;height:0;transform:scale(0);pointer-events:none}"],changeDetection:0})}return s})()},16564:(ft,Z,l)=>{"use strict";l.d(Z,{F7:()=>Nr,O9:()=>pi,xM:()=>Li,yb:()=>zr});var n=l(54438);function i(m){return null!==m&&"object"==typeof m&&"constructor"in m&&m.constructor===Object}function f(m={},se={}){Object.keys(se).forEach(te=>{typeof m[te]>"u"?m[te]=se[te]:i(se[te])&&i(m[te])&&Object.keys(se[te]).length>0&&f(m[te],se[te])})}const g={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function s(){const m=typeof document<"u"?document:{};return f(m,g),m}const x={document:g,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:m=>typeof setTimeout>"u"?(m(),null):setTimeout(m,0),cancelAnimationFrame(m){typeof setTimeout>"u"||clearTimeout(m)}};function _(){const m=typeof window<"u"?window:{};return f(m,x),m}function w(m,se=0){return setTimeout(m,se)}function M(){return Date.now()}function R(m,se="x"){const te=_();let ge,Be,Re;const mt=function I(m){const se=_();let te;return se.getComputedStyle&&(te=se.getComputedStyle(m,null)),!te&&m.currentStyle&&(te=m.currentStyle),te||(te=m.style),te}(m);return te.WebKitCSSMatrix?(Be=mt.transform||mt.webkitTransform,Be.split(",").length>6&&(Be=Be.split(", ").map(qe=>qe.replace(",",".")).join(", ")),Re=new te.WebKitCSSMatrix("none"===Be?"":Be)):(Re=mt.MozTransform||mt.OTransform||mt.MsTransform||mt.msTransform||mt.transform||mt.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),ge=Re.toString().split(",")),"x"===se&&(Be=te.WebKitCSSMatrix?Re.m41:16===ge.length?parseFloat(ge[12]):parseFloat(ge[4])),"y"===se&&(Be=te.WebKitCSSMatrix?Re.m42:16===ge.length?parseFloat(ge[13]):parseFloat(ge[5])),Be||0}function H(m){return"object"==typeof m&&null!==m&&m.constructor&&"Object"===Object.prototype.toString.call(m).slice(8,-1)}function K(m){return typeof window<"u"&&typeof window.HTMLElement<"u"?m instanceof HTMLElement:m&&(1===m.nodeType||11===m.nodeType)}function L(...m){const se=Object(m[0]),te=["__proto__","constructor","prototype"];for(let ge=1;gete.indexOf(mt)<0);for(let mt=0,qe=Re.length;mtBe?"next":"prev",ut=(yt,Gt)=>"next"===Ye&&yt>=Gt||"prev"===Ye&&yt<=Gt,ht=()=>{mt=(new Date).getTime(),null===Re&&(Re=mt);const yt=Math.max(Math.min((mt-Re)/qe,1),0),Gt=.5-Math.cos(yt*Math.PI)/2;let Jt=Be+Gt*(se-Be);if(ut(Jt,se)&&(Jt=se),m.wrapperEl.scrollTo({[te]:Jt}),ut(Jt,se))return m.wrapperEl.style.overflow="hidden",m.wrapperEl.style.scrollSnapType="",setTimeout(()=>{m.wrapperEl.style.overflow="",m.wrapperEl.scrollTo({[te]:Jt})}),void ge.cancelAnimationFrame(m.cssModeFrameID);m.cssModeFrameID=ge.requestAnimationFrame(ht)};ht()}function be(m){return m.querySelector(".swiper-slide-transform")||m.shadowEl&&m.shadowEl.querySelector(".swiper-slide-transform")||m}function ye(m,se=""){return[...m.children].filter(te=>te.matches(se))}function je(m,se=[]){const te=document.createElement(m);return te.classList.add(...Array.isArray(se)?se:[se]),te}function ke(m){const se=_(),te=s(),ge=m.getBoundingClientRect(),Be=te.body;return{top:ge.top+(m===se?se.scrollY:m.scrollTop)-(m.clientTop||Be.clientTop||0),left:ge.left+(m===se?se.scrollX:m.scrollLeft)-(m.clientLeft||Be.clientLeft||0)}}function lt(m,se){return _().getComputedStyle(m,null).getPropertyValue(se)}function Mt(m){let te,se=m;if(se){for(te=0;null!==(se=se.previousSibling);)1===se.nodeType&&(te+=1);return te}}function Bt(m,se){const te=[];let ge=m.parentElement;for(;ge;)se?ge.matches(se)&&te.push(ge):te.push(ge),ge=ge.parentElement;return te}function et(m,se){se&&m.addEventListener("transitionend",function te(ge){ge.target===m&&(se.call(m,ge),m.removeEventListener("transitionend",te))})}function sn(m,se,te){const ge=_();return te?m["width"===se?"offsetWidth":"offsetHeight"]+parseFloat(ge.getComputedStyle(m,null).getPropertyValue("width"===se?"margin-right":"margin-top"))+parseFloat(ge.getComputedStyle(m,null).getPropertyValue("width"===se?"margin-left":"margin-bottom")):m.offsetWidth}let tt,e,wt;function Xe(){return tt||(tt=function Ct(){const m=_(),se=s();return{smoothScroll:se.documentElement&&se.documentElement.style&&"scrollBehavior"in se.documentElement.style,touch:!!("ontouchstart"in m||m.DocumentTouch&&se instanceof m.DocumentTouch)}}()),tt}const cn=(m,se)=>{if(!m||m.destroyed||!m.params)return;const ge=se.closest(m.isElement?"swiper-slide":`.${m.params.slideClass}`);if(ge){const Be=ge.querySelector(`.${m.params.lazyPreloaderClass}`);Be&&Be.remove()}},Fn=(m,se)=>{if(!m.slides[se])return;const te=m.slides[se].querySelector('[loading="lazy"]');te&&te.removeAttribute("loading")},pn=m=>{if(!m||m.destroyed||!m.params)return;let se=m.params.lazyPreloadPrevNext;const te=m.slides.length;if(!te||!se||se<0)return;se=Math.min(se,te);const ge="auto"===m.params.slidesPerView?m.slidesPerViewDynamic():Math.ceil(m.params.slidesPerView),Be=m.activeIndex;if(m.params.grid&&m.params.grid.rows>1){const mt=Be,qe=[mt-se];return qe.push(...Array.from({length:se}).map((Ye,ut)=>mt+ge+ut)),void m.slides.forEach((Ye,ut)=>{qe.includes(Ye.column)&&Fn(m,ut)})}const Re=Be+ge-1;if(m.params.rewind||m.params.loop)for(let mt=Be-se;mt<=Re+se;mt+=1){const qe=(mt%te+te)%te;(qeRe)&&Fn(m,qe)}else for(let mt=Math.max(Be-se,0);mt<=Math.min(Re+se,te-1);mt+=1)mt!==Be&&(mt>Re||mtRe?"next":Be0||Be.isTouched&&Be.isMoved)return;const ht=!!Re.noSwipingClass&&""!==Re.noSwipingClass,yt=m.composedPath?m.composedPath():m.path;ht&&Ye.target&&Ye.target.shadowRoot&&yt&&(ut=yt[0]);const Gt=Re.noSwipingSelector?Re.noSwipingSelector:`.${Re.noSwipingClass}`;if(Re.noSwiping&&(Ye.target&&Ye.target.shadowRoot?function Ft(m,se=this){return function te(ge){if(!ge||ge===s()||ge===_())return null;ge.assignedSlot&&(ge=ge.assignedSlot);const Be=ge.closest(m);return Be||ge.getRootNode?Be||te(ge.getRootNode().host):null}(se)}(Gt,ut):ut.closest(Gt)))return void(se.allowClick=!0);if(Re.swipeHandler&&!ut.closest(Re.swipeHandler))return;mt.currentX=Ye.pageX,mt.currentY=Ye.pageY;const z=mt.currentX,Q=mt.currentY,Ee=Re.edgeSwipeDetection||Re.iOSEdgeSwipeDetection,_e=Re.edgeSwipeThreshold||Re.iOSEdgeSwipeThreshold;if(Ee&&(z<=_e||z>=ge.innerWidth-_e)){if("prevent"!==Ee)return;m.preventDefault()}Object.assign(Be,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),mt.startX=z,mt.startY=Q,Be.touchStartTime=M(),se.allowClick=!0,se.updateSize(),se.swipeDirection=void 0,Re.threshold>0&&(Be.allowThresholdMove=!1);let He=!0;ut.matches(Be.focusableElements)&&(He=!1,"SELECT"===ut.nodeName&&(Be.isTouched=!1)),te.activeElement&&te.activeElement.matches(Be.focusableElements)&&te.activeElement!==ut&&te.activeElement.blur(),(Re.touchStartForcePreventDefault||He&&se.allowTouchMove&&Re.touchStartPreventDefault)&&!ut.isContentEditable&&Ye.preventDefault(),Re.freeMode&&Re.freeMode.enabled&&se.freeMode&&se.animating&&!Re.cssMode&&se.freeMode.onTouchStart(),se.emit("touchStart",Ye)}function fo(m){const se=s(),te=this,ge=te.touchEventsData,{params:Be,touches:Re,rtlTranslate:mt,enabled:qe}=te;if(!qe||!Be.simulateTouch&&"mouse"===m.pointerType)return;let Ye=m;if(Ye.originalEvent&&(Ye=Ye.originalEvent),!ge.isTouched)return void(ge.startMoving&&ge.isScrolling&&te.emit("touchMoveOpposite",Ye));const ut=ge.evCache.findIndex(on=>on.pointerId===Ye.pointerId);ut>=0&&(ge.evCache[ut]=Ye);const ht=ge.evCache.length>1?ge.evCache[0]:Ye,yt=ht.pageX,Gt=ht.pageY;if(Ye.preventedByNestedSwiper)return Re.startX=yt,void(Re.startY=Gt);if(!te.allowTouchMove)return Ye.target.matches(ge.focusableElements)||(te.allowClick=!1),void(ge.isTouched&&(Object.assign(Re,{startX:yt,startY:Gt,prevX:te.touches.currentX,prevY:te.touches.currentY,currentX:yt,currentY:Gt}),ge.touchStartTime=M()));if(Be.touchReleaseOnEdges&&!Be.loop)if(te.isVertical()){if(GtRe.startY&&te.translate>=te.minTranslate())return ge.isTouched=!1,void(ge.isMoved=!1)}else if(ytRe.startX&&te.translate>=te.minTranslate())return;if(se.activeElement&&Ye.target===se.activeElement&&Ye.target.matches(ge.focusableElements))return ge.isMoved=!0,void(te.allowClick=!1);if(ge.allowTouchCallbacks&&te.emit("touchMove",Ye),Ye.targetTouches&&Ye.targetTouches.length>1)return;Re.currentX=yt,Re.currentY=Gt;const Jt=Re.currentX-Re.startX,z=Re.currentY-Re.startY;if(te.params.threshold&&Math.sqrt(Jt**2+z**2)"u"){let on;te.isHorizontal()&&Re.currentY===Re.startY||te.isVertical()&&Re.currentX===Re.startX?ge.isScrolling=!1:Jt*Jt+z*z>=25&&(on=180*Math.atan2(Math.abs(z),Math.abs(Jt))/Math.PI,ge.isScrolling=te.isHorizontal()?on>Be.touchAngle:90-on>Be.touchAngle)}if(ge.isScrolling&&te.emit("touchMoveOpposite",Ye),typeof ge.startMoving>"u"&&(Re.currentX!==Re.startX||Re.currentY!==Re.startY)&&(ge.startMoving=!0),ge.isScrolling||te.zoom&&te.params.zoom&&te.params.zoom.enabled&&ge.evCache.length>1)return void(ge.isTouched=!1);if(!ge.startMoving)return;te.allowClick=!1,!Be.cssMode&&Ye.cancelable&&Ye.preventDefault(),Be.touchMoveStopPropagation&&!Be.nested&&Ye.stopPropagation();let Q=te.isHorizontal()?Jt:z,Ee=te.isHorizontal()?Re.currentX-Re.previousX:Re.currentY-Re.previousY;Be.oneWayMovement&&(Q=Math.abs(Q)*(mt?1:-1),Ee=Math.abs(Ee)*(mt?1:-1)),Re.diff=Q,Q*=Be.touchRatio,mt&&(Q=-Q,Ee=-Ee);const _e=te.touchesDirection;te.swipeDirection=Q>0?"prev":"next",te.touchesDirection=Ee>0?"prev":"next";const He=te.params.loop&&!Be.cssMode;if(!ge.isMoved){if(He&&te.loopFix({direction:te.swipeDirection}),ge.startTranslate=te.getTranslate(),te.setTransition(0),te.animating){const on=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});te.wrapperEl.dispatchEvent(on)}ge.allowMomentumBounce=!1,Be.grabCursor&&(!0===te.allowSlideNext||!0===te.allowSlidePrev)&&te.setGrabCursor(!0),te.emit("sliderFirstMove",Ye)}let nt;ge.isMoved&&_e!==te.touchesDirection&&He&&Math.abs(Q)>=1&&(te.loopFix({direction:te.swipeDirection,setTranslate:!0}),nt=!0),te.emit("sliderMove",Ye),ge.isMoved=!0,ge.currentTranslate=Q+ge.startTranslate;let Ut=!0,an=Be.resistanceRatio;if(Be.touchReleaseOnEdges&&(an=0),Q>0?(He&&!nt&&ge.currentTranslate>(Be.centeredSlides?te.minTranslate()-te.size/2:te.minTranslate())&&te.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),ge.currentTranslate>te.minTranslate()&&(Ut=!1,Be.resistance&&(ge.currentTranslate=te.minTranslate()-1+(-te.minTranslate()+ge.startTranslate+Q)**an))):Q<0&&(He&&!nt&&ge.currentTranslate<(Be.centeredSlides?te.maxTranslate()+te.size/2:te.maxTranslate())&&te.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:te.slides.length-("auto"===Be.slidesPerView?te.slidesPerViewDynamic():Math.ceil(parseFloat(Be.slidesPerView,10)))}),ge.currentTranslatege.startTranslate&&(ge.currentTranslate=ge.startTranslate),!te.allowSlidePrev&&!te.allowSlideNext&&(ge.currentTranslate=ge.startTranslate),Be.threshold>0){if(!(Math.abs(Q)>Be.threshold||ge.allowThresholdMove))return void(ge.currentTranslate=ge.startTranslate);if(!ge.allowThresholdMove)return ge.allowThresholdMove=!0,Re.startX=Re.currentX,Re.startY=Re.currentY,ge.currentTranslate=ge.startTranslate,void(Re.diff=te.isHorizontal()?Re.currentX-Re.startX:Re.currentY-Re.startY)}!Be.followFinger||Be.cssMode||((Be.freeMode&&Be.freeMode.enabled&&te.freeMode||Be.watchSlidesProgress)&&(te.updateActiveIndex(),te.updateSlidesClasses()),Be.freeMode&&Be.freeMode.enabled&&te.freeMode&&te.freeMode.onTouchMove(),te.updateProgress(ge.currentTranslate),te.setTranslate(ge.currentTranslate))}function wn(m){const se=this,te=se.touchEventsData,ge=te.evCache.findIndex(nt=>nt.pointerId===m.pointerId);if(ge>=0&&te.evCache.splice(ge,1),["pointercancel","pointerout","pointerleave"].includes(m.type)&&("pointercancel"!==m.type||!se.browser.isSafari&&!se.browser.isWebView))return;const{params:Be,touches:Re,rtlTranslate:mt,slidesGrid:qe,enabled:Ye}=se;if(!Ye||!Be.simulateTouch&&"mouse"===m.pointerType)return;let ut=m;if(ut.originalEvent&&(ut=ut.originalEvent),te.allowTouchCallbacks&&se.emit("touchEnd",ut),te.allowTouchCallbacks=!1,!te.isTouched)return te.isMoved&&Be.grabCursor&&se.setGrabCursor(!1),te.isMoved=!1,void(te.startMoving=!1);Be.grabCursor&&te.isMoved&&te.isTouched&&(!0===se.allowSlideNext||!0===se.allowSlidePrev)&&se.setGrabCursor(!1);const ht=M(),yt=ht-te.touchStartTime;if(se.allowClick){const nt=ut.path||ut.composedPath&&ut.composedPath();se.updateClickedSlide(nt&&nt[0]||ut.target),se.emit("tap click",ut),yt<300&&ht-te.lastClickTime<300&&se.emit("doubleTap doubleClick",ut)}if(te.lastClickTime=M(),w(()=>{se.destroyed||(se.allowClick=!0)}),!te.isTouched||!te.isMoved||!se.swipeDirection||0===Re.diff||te.currentTranslate===te.startTranslate)return te.isTouched=!1,te.isMoved=!1,void(te.startMoving=!1);let Gt;if(te.isTouched=!1,te.isMoved=!1,te.startMoving=!1,Gt=Be.followFinger?mt?se.translate:-se.translate:-te.currentTranslate,Be.cssMode)return;if(Be.freeMode&&Be.freeMode.enabled)return void se.freeMode.onTouchEnd({currentPos:Gt});let Jt=0,z=se.slidesSizesGrid[0];for(let nt=0;nt=qe[nt]&&Gt=qe[nt]&&(Jt=nt,z=qe[qe.length-1]-qe[qe.length-2])}let Q=null,Ee=null;Be.rewind&&(se.isBeginning?Ee=Be.virtual&&Be.virtual.enabled&&se.virtual?se.virtual.slides.length-1:se.slides.length-1:se.isEnd&&(Q=0));const _e=(Gt-qe[Jt])/z,He=JtBe.longSwipesMs){if(!Be.longSwipes)return void se.slideTo(se.activeIndex);"next"===se.swipeDirection&&se.slideTo(_e>=Be.longSwipesRatio?Be.rewind&&se.isEnd?Q:Jt+He:Jt),"prev"===se.swipeDirection&&(_e>1-Be.longSwipesRatio?se.slideTo(Jt+He):null!==Ee&&_e<0&&Math.abs(_e)>Be.longSwipesRatio?se.slideTo(Ee):se.slideTo(Jt))}else{if(!Be.shortSwipes)return void se.slideTo(se.activeIndex);!se.navigation||ut.target!==se.navigation.nextEl&&ut.target!==se.navigation.prevEl?("next"===se.swipeDirection&&se.slideTo(null!==Q?Q:Jt+He),"prev"===se.swipeDirection&&se.slideTo(null!==Ee?Ee:Jt)):se.slideTo(ut.target===se.navigation.nextEl?Jt+He:Jt)}}function dn(){const m=this,{params:se,el:te}=m;if(te&&0===te.offsetWidth)return;se.breakpoints&&m.setBreakpoint();const{allowSlideNext:ge,allowSlidePrev:Be,snapGrid:Re}=m,mt=m.virtual&&m.params.virtual.enabled;m.allowSlideNext=!0,m.allowSlidePrev=!0,m.updateSize(),m.updateSlides(),m.updateSlidesClasses(),!("auto"===se.slidesPerView||se.slidesPerView>1)||!m.isEnd||m.isBeginning||m.params.centeredSlides||mt&&se.loop?m.params.loop&&!mt?m.slideToLoop(m.realIndex,0,!1,!0):m.slideTo(m.activeIndex,0,!1,!0):m.slideTo(m.slides.length-1,0,!1,!0),m.autoplay&&m.autoplay.running&&m.autoplay.paused&&(clearTimeout(m.autoplay.resizeTimeout),m.autoplay.resizeTimeout=setTimeout(()=>{m.autoplay&&m.autoplay.running&&m.autoplay.paused&&m.autoplay.resume()},500)),m.allowSlidePrev=Be,m.allowSlideNext=ge,m.params.watchOverflow&&Re!==m.snapGrid&&m.checkOverflow()}function $e(m){const se=this;se.enabled&&(se.allowClick||(se.params.preventClicks&&m.preventDefault(),se.params.preventClicksPropagation&&se.animating&&(m.stopPropagation(),m.stopImmediatePropagation())))}function We(){const m=this,{wrapperEl:se,rtlTranslate:te,enabled:ge}=m;if(!ge)return;let Be;m.previousTranslate=m.translate,m.translate=m.isHorizontal()?-se.scrollLeft:-se.scrollTop,0===m.translate&&(m.translate=0),m.updateActiveIndex(),m.updateSlidesClasses();const Re=m.maxTranslate()-m.minTranslate();Be=0===Re?0:(m.translate-m.minTranslate())/Re,Be!==m.progress&&m.updateProgress(te?-m.translate:m.translate),m.emit("setTranslate",m.translate,!1)}function ot(m){const se=this;cn(se,m.target),!se.params.cssMode&&("auto"===se.params.slidesPerView||se.params.autoHeight)&&se.update()}let Wt=!1;function Dn(){}const to=(m,se)=>{const te=s(),{params:ge,el:Be,wrapperEl:Re,device:mt}=m,qe=!!ge.nested,Ye="on"===se?"addEventListener":"removeEventListener",ut=se;Be[Ye]("pointerdown",m.onTouchStart,{passive:!1}),te[Ye]("pointermove",m.onTouchMove,{passive:!1,capture:qe}),te[Ye]("pointerup",m.onTouchEnd,{passive:!0}),te[Ye]("pointercancel",m.onTouchEnd,{passive:!0}),te[Ye]("pointerout",m.onTouchEnd,{passive:!0}),te[Ye]("pointerleave",m.onTouchEnd,{passive:!0}),(ge.preventClicks||ge.preventClicksPropagation)&&Be[Ye]("click",m.onClick,!0),ge.cssMode&&Re[Ye]("scroll",m.onScroll),m[ut](ge.updateOnWindowResize?mt.ios||mt.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",dn,!0),Be[Ye]("load",m.onLoad,{capture:!0})},Gn=(m,se)=>m.grid&&se.grid&&se.grid.rows>1,Fr={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function wr(m,se){return function(ge={}){const Be=Object.keys(ge)[0],Re=ge[Be];"object"==typeof Re&&null!==Re?(["navigation","pagination","scrollbar"].indexOf(Be)>=0&&!0===m[Be]&&(m[Be]={auto:!0}),Be in m&&"enabled"in Re?(!0===m[Be]&&(m[Be]={enabled:!0}),"object"==typeof m[Be]&&!("enabled"in m[Be])&&(m[Be].enabled=!0),m[Be]||(m[Be]={enabled:!1}),L(se,ge)):L(se,ge)):L(se,ge)}}const Qi={eventsEmitter:{on(m,se,te){const ge=this;if(!ge.eventsListeners||ge.destroyed||"function"!=typeof se)return ge;const Be=te?"unshift":"push";return m.split(" ").forEach(Re=>{ge.eventsListeners[Re]||(ge.eventsListeners[Re]=[]),ge.eventsListeners[Re][Be](se)}),ge},once(m,se,te){const ge=this;if(!ge.eventsListeners||ge.destroyed||"function"!=typeof se)return ge;function Be(...Re){ge.off(m,Be),Be.__emitterProxy&&delete Be.__emitterProxy,se.apply(ge,Re)}return Be.__emitterProxy=se,ge.on(m,Be,te)},onAny(m,se){const te=this;if(!te.eventsListeners||te.destroyed||"function"!=typeof m)return te;const ge=se?"unshift":"push";return te.eventsAnyListeners.indexOf(m)<0&&te.eventsAnyListeners[ge](m),te},offAny(m){const se=this;if(!se.eventsListeners||se.destroyed||!se.eventsAnyListeners)return se;const te=se.eventsAnyListeners.indexOf(m);return te>=0&&se.eventsAnyListeners.splice(te,1),se},off(m,se){const te=this;return!te.eventsListeners||te.destroyed||!te.eventsListeners||m.split(" ").forEach(ge=>{typeof se>"u"?te.eventsListeners[ge]=[]:te.eventsListeners[ge]&&te.eventsListeners[ge].forEach((Be,Re)=>{(Be===se||Be.__emitterProxy&&Be.__emitterProxy===se)&&te.eventsListeners[ge].splice(Re,1)})}),te},emit(...m){const se=this;if(!se.eventsListeners||se.destroyed||!se.eventsListeners)return se;let te,ge,Be;return"string"==typeof m[0]||Array.isArray(m[0])?(te=m[0],ge=m.slice(1,m.length),Be=se):(te=m[0].events,ge=m[0].data,Be=m[0].context||se),ge.unshift(Be),(Array.isArray(te)?te:te.split(" ")).forEach(mt=>{se.eventsAnyListeners&&se.eventsAnyListeners.length&&se.eventsAnyListeners.forEach(qe=>{qe.apply(Be,[mt,...ge])}),se.eventsListeners&&se.eventsListeners[mt]&&se.eventsListeners[mt].forEach(qe=>{qe.apply(Be,ge)})}),se}},update:{updateSize:function fn(){const m=this;let se,te;const ge=m.el;se=typeof m.params.width<"u"&&null!==m.params.width?m.params.width:ge.clientWidth,te=typeof m.params.height<"u"&&null!==m.params.height?m.params.height:ge.clientHeight,!(0===se&&m.isHorizontal()||0===te&&m.isVertical())&&(se=se-parseInt(lt(ge,"padding-left")||0,10)-parseInt(lt(ge,"padding-right")||0,10),te=te-parseInt(lt(ge,"padding-top")||0,10)-parseInt(lt(ge,"padding-bottom")||0,10),Number.isNaN(se)&&(se=0),Number.isNaN(te)&&(te=0),Object.assign(m,{width:se,height:te,size:m.isHorizontal()?se:te}))},updateSlides:function En(){const m=this;function se(Y){return m.isHorizontal()?Y:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[Y]}function te(Y,Pe){return parseFloat(Y.getPropertyValue(se(Pe))||0)}const ge=m.params,{wrapperEl:Be,slidesEl:Re,size:mt,rtlTranslate:qe,wrongRTL:Ye}=m,ut=m.virtual&&ge.virtual.enabled,ht=ut?m.virtual.slides.length:m.slides.length,yt=ye(Re,`.${m.params.slideClass}, swiper-slide`),Gt=ut?m.virtual.slides.length:yt.length;let Jt=[];const z=[],Q=[];let Ee=ge.slidesOffsetBefore;"function"==typeof Ee&&(Ee=ge.slidesOffsetBefore.call(m));let _e=ge.slidesOffsetAfter;"function"==typeof _e&&(_e=ge.slidesOffsetAfter.call(m));const He=m.snapGrid.length,nt=m.slidesGrid.length;let Ut=ge.spaceBetween,an=-Ee,on=0,Mn=0;if(typeof mt>"u")return;"string"==typeof Ut&&Ut.indexOf("%")>=0?Ut=parseFloat(Ut.replace("%",""))/100*mt:"string"==typeof Ut&&(Ut=parseFloat(Ut)),m.virtualSize=-Ut,yt.forEach(Y=>{qe?Y.style.marginLeft="":Y.style.marginRight="",Y.style.marginBottom="",Y.style.marginTop=""}),ge.centeredSlides&&ge.cssMode&&(he(Be,"--swiper-centered-offset-before",""),he(Be,"--swiper-centered-offset-after",""));const Xt=ge.grid&&ge.grid.rows>1&&m.grid;let ve;Xt&&m.grid.initSlides(Gt);const Fe="auto"===ge.slidesPerView&&ge.breakpoints&&Object.keys(ge.breakpoints).filter(Y=>typeof ge.breakpoints[Y].slidesPerView<"u").length>0;for(let Y=0;Y1&&Jt.push(m.virtualSize-mt)}if(ut&&ge.loop){const Y=Q[0]+Ut;if(ge.slidesPerGroup>1){const Pe=Math.ceil((m.virtual.slidesBefore+m.virtual.slidesAfter)/ge.slidesPerGroup),Ue=Y*ge.slidesPerGroup;for(let Pn=0;Pn!(ge.cssMode&&!ge.loop)||Ue!==yt.length-1).forEach(Pe=>{Pe.style[Y]=`${Ut}px`})}if(ge.centeredSlides&&ge.centeredSlidesBounds){let Y=0;Q.forEach(Ue=>{Y+=Ue+(Ut||0)}),Y-=Ut;const Pe=Y-mt;Jt=Jt.map(Ue=>Ue<=0?-Ee:Ue>Pe?Pe+_e:Ue)}if(ge.centerInsufficientSlides){let Y=0;if(Q.forEach(Pe=>{Y+=Pe+(Ut||0)}),Y-=Ut,Y{Jt[Pn]=Ue-Pe}),z.forEach((Ue,Pn)=>{z[Pn]=Ue+Pe})}}if(Object.assign(m,{slides:yt,snapGrid:Jt,slidesGrid:z,slidesSizesGrid:Q}),ge.centeredSlides&&ge.cssMode&&!ge.centeredSlidesBounds){he(Be,"--swiper-centered-offset-before",-Jt[0]+"px"),he(Be,"--swiper-centered-offset-after",m.size/2-Q[Q.length-1]/2+"px");const Y=-m.snapGrid[0],Pe=-m.slidesGrid[0];m.snapGrid=m.snapGrid.map(Ue=>Ue+Y),m.slidesGrid=m.slidesGrid.map(Ue=>Ue+Pe)}if(Gt!==ht&&m.emit("slidesLengthChange"),Jt.length!==He&&(m.params.watchOverflow&&m.checkOverflow(),m.emit("snapGridLengthChange")),z.length!==nt&&m.emit("slidesGridLengthChange"),ge.watchSlidesProgress&&m.updateSlidesOffset(),!(ut||ge.cssMode||"slide"!==ge.effect&&"fade"!==ge.effect)){const Y=`${ge.containerModifierClass}backface-hidden`,Pe=m.el.classList.contains(Y);Gt<=ge.maxBackfaceHiddenSlides?Pe||m.el.classList.add(Y):Pe&&m.el.classList.remove(Y)}},updateAutoHeight:function jn(m){const se=this,te=[],ge=se.virtual&&se.params.virtual.enabled;let Re,Be=0;"number"==typeof m?se.setTransition(m):!0===m&&se.setTransition(se.params.speed);const mt=qe=>ge?se.slides[se.getSlideIndexByData(qe)]:se.slides[qe];if("auto"!==se.params.slidesPerView&&se.params.slidesPerView>1)if(se.params.centeredSlides)(se.visibleSlides||[]).forEach(qe=>{te.push(qe)});else for(Re=0;Rese.slides.length&&!ge)break;te.push(mt(qe))}else te.push(mt(se.activeIndex));for(Re=0;ReBe?qe:Be}(Be||0===Be)&&(se.wrapperEl.style.height=`${Be}px`)},updateSlidesOffset:function So(){const m=this,se=m.slides,te=m.isElement?m.isHorizontal()?m.wrapperEl.offsetLeft:m.wrapperEl.offsetTop:0;for(let ge=0;ge"u"&&se.updateSlidesOffset();let mt=-m;Be&&(mt=m),ge.forEach(Ye=>{Ye.classList.remove(te.slideVisibleClass)}),se.visibleSlidesIndexes=[],se.visibleSlides=[];let qe=te.spaceBetween;"string"==typeof qe&&qe.indexOf("%")>=0?qe=parseFloat(qe.replace("%",""))/100*se.size:"string"==typeof qe&&(qe=parseFloat(qe));for(let Ye=0;Ye=0&&Jt1&&z<=se.size||Jt<=0&&z>=se.size)&&(se.visibleSlides.push(ut),se.visibleSlidesIndexes.push(Ye),ge[Ye].classList.add(te.slideVisibleClass)),ut.progress=Be?-yt:yt,ut.originalProgress=Be?-Gt:Gt}},updateProgress:function Nt(m){const se=this;typeof m>"u"&&(m=se&&se.translate&&se.translate*(se.rtlTranslate?-1:1)||0);const te=se.params,ge=se.maxTranslate()-se.minTranslate();let{progress:Be,isBeginning:Re,isEnd:mt,progressLoop:qe}=se;const Ye=Re,ut=mt;if(0===ge)Be=0,Re=!0,mt=!0;else{Be=(m-se.minTranslate())/ge;const ht=Math.abs(m-se.minTranslate())<1,yt=Math.abs(m-se.maxTranslate())<1;Re=ht||Be<=0,mt=yt||Be>=1,ht&&(Be=0),yt&&(Be=1)}if(te.loop){const ht=se.getSlideIndexByData(0),yt=se.getSlideIndexByData(se.slides.length-1),Gt=se.slidesGrid[ht],Jt=se.slidesGrid[yt],z=se.slidesGrid[se.slidesGrid.length-1],Q=Math.abs(m);qe=Q>=Gt?(Q-Gt)/z:(Q+z-Jt)/z,qe>1&&(qe-=1)}Object.assign(se,{progress:Be,progressLoop:qe,isBeginning:Re,isEnd:mt}),(te.watchSlidesProgress||te.centeredSlides&&te.autoHeight)&&se.updateSlidesProgress(m),Re&&!Ye&&se.emit("reachBeginning toEdge"),mt&&!ut&&se.emit("reachEnd toEdge"),(Ye&&!Re||ut&&!mt)&&se.emit("fromEdge"),se.emit("progress",Be)},updateSlidesClasses:function Vt(){const m=this,{slides:se,params:te,slidesEl:ge,activeIndex:Be}=m,Re=m.virtual&&te.virtual.enabled,mt=Ye=>ye(ge,`.${te.slideClass}${Ye}, swiper-slide${Ye}`)[0];let qe;if(se.forEach(Ye=>{Ye.classList.remove(te.slideActiveClass,te.slideNextClass,te.slidePrevClass)}),Re)if(te.loop){let Ye=Be-m.virtual.slidesBefore;Ye<0&&(Ye=m.virtual.slides.length+Ye),Ye>=m.virtual.slides.length&&(Ye-=m.virtual.slides.length),qe=mt(`[data-swiper-slide-index="${Ye}"]`)}else qe=mt(`[data-swiper-slide-index="${Be}"]`);else qe=se[Be];if(qe){qe.classList.add(te.slideActiveClass);let Ye=function Je(m,se){const te=[];for(;m.nextElementSibling;){const ge=m.nextElementSibling;se?ge.matches(se)&&te.push(ge):te.push(ge),m=ge}return te}(qe,`.${te.slideClass}, swiper-slide`)[0];te.loop&&!Ye&&(Ye=se[0]),Ye&&Ye.classList.add(te.slideNextClass);let ut=function De(m,se){const te=[];for(;m.previousElementSibling;){const ge=m.previousElementSibling;se?ge.matches(se)&&te.push(ge):te.push(ge),m=ge}return te}(qe,`.${te.slideClass}, swiper-slide`)[0];te.loop&&0===!ut&&(ut=se[se.length-1]),ut&&ut.classList.add(te.slidePrevClass)}m.emitSlidesClasses()},updateActiveIndex:function Zn(m){const se=this,te=se.rtlTranslate?se.translate:-se.translate,{snapGrid:ge,params:Be,activeIndex:Re,realIndex:mt,snapIndex:qe}=se;let ut,Ye=m;const ht=Gt=>{let Jt=Gt-se.virtual.slidesBefore;return Jt<0&&(Jt=se.virtual.slides.length+Jt),Jt>=se.virtual.slides.length&&(Jt-=se.virtual.slides.length),Jt};if(typeof Ye>"u"&&(Ye=function Un(m){const{slidesGrid:se,params:te}=m,ge=m.rtlTranslate?m.translate:-m.translate;let Be;for(let Re=0;Re=se[Re]&&ge=se[Re]&&ge=se[Re]&&(Be=Re);return te.normalizeSlideIndex&&(Be<0||typeof Be>"u")&&(Be=0),Be}(se)),ge.indexOf(te)>=0)ut=ge.indexOf(te);else{const Gt=Math.min(Be.slidesPerGroupSkip,Ye);ut=Gt+Math.floor((Ye-Gt)/Be.slidesPerGroup)}if(ut>=ge.length&&(ut=ge.length-1),Ye===Re)return ut!==qe&&(se.snapIndex=ut,se.emit("snapIndexChange")),void(se.params.loop&&se.virtual&&se.params.virtual.enabled&&(se.realIndex=ht(Ye)));let yt;yt=se.virtual&&Be.virtual.enabled&&Be.loop?ht(Ye):se.slides[Ye]?parseInt(se.slides[Ye].getAttribute("data-swiper-slide-index")||Ye,10):Ye,Object.assign(se,{previousSnapIndex:qe,snapIndex:ut,previousRealIndex:mt,realIndex:yt,previousIndex:Re,activeIndex:Ye}),se.initialized&&pn(se),se.emit("activeIndexChange"),se.emit("snapIndexChange"),mt!==yt&&se.emit("realIndexChange"),(se.initialized||se.params.runCallbacksOnInit)&&se.emit("slideChange")},updateClickedSlide:function Bn(m){const se=this,te=se.params,ge=m.closest(`.${te.slideClass}, swiper-slide`);let Re,Be=!1;if(ge)for(let mt=0;mtYe?Ye:ge&&m=Ye.length&&(Ee=Ye.length-1);const _e=-Ye[Ee];if(qe.normalizeSlideIndex)for(let nt=0;nt=an&&Ut=an&&Ut=an&&(mt=nt)}if(Re.initialized&&mt!==yt&&(!Re.allowSlideNext&&(Gt?_e>Re.translate&&_e>Re.minTranslate():_eRe.translate&&_e>Re.maxTranslate()&&(yt||0)!==mt))return!1;let He;if(mt!==(ht||0)&&te&&Re.emit("beforeSlideChangeStart"),Re.updateProgress(_e),He=mt>yt?"next":mt0?(Re._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{Jt[nt?"scrollLeft":"scrollTop"]=Ut})):Jt[nt?"scrollLeft":"scrollTop"]=Ut,an&&requestAnimationFrame(()=>{Re.wrapperEl.style.scrollSnapType="",Re._immediateVirtual=!1})}else{if(!Re.support.smoothScroll)return pe({swiper:Re,targetPosition:Ut,side:nt?"left":"top"}),!0;Jt.scrollTo({[nt?"left":"top"]:Ut,behavior:"smooth"})}return!0}return Re.setTransition(se),Re.setTranslate(_e),Re.updateActiveIndex(mt),Re.updateSlidesClasses(),Re.emit("beforeTransitionStart",se,ge),Re.transitionStart(te,He),0===se?Re.transitionEnd(te,He):Re.animating||(Re.animating=!0,Re.onSlideToWrapperTransitionEnd||(Re.onSlideToWrapperTransitionEnd=function(Ut){!Re||Re.destroyed||Ut.target===this&&(Re.wrapperEl.removeEventListener("transitionend",Re.onSlideToWrapperTransitionEnd),Re.onSlideToWrapperTransitionEnd=null,delete Re.onSlideToWrapperTransitionEnd,Re.transitionEnd(te,He))}),Re.wrapperEl.addEventListener("transitionend",Re.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function Go(m=0,se=this.params.speed,te=!0,ge){"string"==typeof m&&(m=parseInt(m,10));const Be=this;let Re=m;return Be.params.loop&&(Be.virtual&&Be.params.virtual.enabled?Re+=Be.virtual.slidesBefore:Re=Be.getSlideIndexByData(Re)),Be.slideTo(Re,se,te,ge)},slideNext:function zo(m=this.params.speed,se=!0,te){const ge=this,{enabled:Be,params:Re,animating:mt}=ge;if(!Be)return ge;let qe=Re.slidesPerGroup;"auto"===Re.slidesPerView&&1===Re.slidesPerGroup&&Re.slidesPerGroupAuto&&(qe=Math.max(ge.slidesPerViewDynamic("current",!0),1));const Ye=ge.activeIndexGt(_e));let Q=Re[z.indexOf(Jt)-1];if(typeof Q>"u"&&Be.cssMode){let _e;Re.forEach((He,nt)=>{Jt>=He&&(_e=nt)}),typeof _e<"u"&&(Q=Re[_e>0?_e-1:_e])}let Ee=0;return typeof Q<"u"&&(Ee=mt.indexOf(Q),Ee<0&&(Ee=ge.activeIndex-1),"auto"===Be.slidesPerView&&1===Be.slidesPerGroup&&Be.slidesPerGroupAuto&&(Ee=Ee-ge.slidesPerViewDynamic("previous",!0)+1,Ee=Math.max(Ee,0))),ge.slideTo(Be.rewind&&ge.isBeginning?ge.params.virtual&&ge.params.virtual.enabled&&ge.virtual?ge.virtual.slides.length-1:ge.slides.length-1:Ee,m,se,te)},slideReset:function Yi(m=this.params.speed,se=!0,te){return this.slideTo(this.activeIndex,m,se,te)},slideToClosest:function xr(m=this.params.speed,se=!0,te,ge=.5){const Be=this;let Re=Be.activeIndex;const mt=Math.min(Be.params.slidesPerGroupSkip,Re),qe=mt+Math.floor((Re-mt)/Be.params.slidesPerGroup),Ye=Be.rtlTranslate?Be.translate:-Be.translate;if(Ye>=Be.snapGrid[qe]){const ut=Be.snapGrid[qe];Ye-ut>(Be.snapGrid[qe+1]-ut)*ge&&(Re+=Be.params.slidesPerGroup)}else{const ut=Be.snapGrid[qe-1];Ye-ut<=(Be.snapGrid[qe]-ut)*ge&&(Re-=Be.params.slidesPerGroup)}return Re=Math.max(Re,0),Re=Math.min(Re,Be.slidesGrid.length-1),Be.slideTo(Re,m,se,te)},slideToClickedSlide:function zi(){const m=this,{params:se,slidesEl:te}=m,ge="auto"===se.slidesPerView?m.slidesPerViewDynamic():se.slidesPerView;let Re,Be=m.clickedIndex;const mt=m.isElement?"swiper-slide":`.${se.slideClass}`;if(se.loop){if(m.animating)return;Re=parseInt(m.clickedSlide.getAttribute("data-swiper-slide-index"),10),se.centeredSlides?Bem.slides.length-m.loopedSlides+ge/2?(m.loopFix(),Be=m.getSlideIndex(ye(te,`${mt}[data-swiper-slide-index="${Re}"]`)[0]),w(()=>{m.slideTo(Be)})):m.slideTo(Be):Be>m.slides.length-ge?(m.loopFix(),Be=m.getSlideIndex(ye(te,`${mt}[data-swiper-slide-index="${Re}"]`)[0]),w(()=>{m.slideTo(Be)})):m.slideTo(Be)}else m.slideTo(Be)}},loop:{loopCreate:function Pr(m){const{params:te,slidesEl:ge}=this;!te.loop||this.virtual&&this.params.virtual.enabled||(ye(ge,`.${te.slideClass}, swiper-slide`).forEach((Re,mt)=>{Re.setAttribute("data-swiper-slide-index",mt)}),this.loopFix({slideRealIndex:m,direction:te.centeredSlides?void 0:"next"}))},loopFix:function Gi({slideRealIndex:m,slideTo:se=!0,direction:te,setTranslate:ge,activeSlideIndex:Be,byController:Re,byMousewheel:mt}={}){const qe=this;if(!qe.params.loop)return;qe.emit("beforeLoopFix");const{slides:Ye,allowSlidePrev:ut,allowSlideNext:ht,slidesEl:yt,params:Gt}=qe;if(qe.allowSlidePrev=!0,qe.allowSlideNext=!0,qe.virtual&&Gt.virtual.enabled)return se&&(Gt.centeredSlides||0!==qe.snapIndex?Gt.centeredSlides&&qe.snapIndex"u"?Be=qe.getSlideIndex(qe.slides.filter(on=>on.classList.contains(Gt.slideActiveClass))[0]):_e=Be;const He="next"===te||!te,nt="prev"===te||!te;let Ut=0,an=0;if(Beqe.slides.length-2*z){an=Math.max(Be-(qe.slides.length-2*z),Gt.slidesPerGroup);for(let on=0;on{qe.slides[on].swiperLoopMoveDOM=!0,yt.prepend(qe.slides[on]),qe.slides[on].swiperLoopMoveDOM=!1}),He&&Ee.forEach(on=>{qe.slides[on].swiperLoopMoveDOM=!0,yt.append(qe.slides[on]),qe.slides[on].swiperLoopMoveDOM=!1}),qe.recalcSlides(),"auto"===Gt.slidesPerView&&qe.updateSlides(),Gt.watchSlidesProgress&&qe.updateSlidesOffset(),se)if(Q.length>0&&nt)if(typeof m>"u"){const Xt=qe.slidesGrid[_e+Ut]-qe.slidesGrid[_e];mt?qe.setTranslate(qe.translate-Xt):(qe.slideTo(_e+Ut,0,!1,!0),ge&&(qe.touches[qe.isHorizontal()?"startX":"startY"]+=Xt))}else ge&&qe.slideToLoop(m,0,!1,!0);else if(Ee.length>0&&He)if(typeof m>"u"){const Xt=qe.slidesGrid[_e-an]-qe.slidesGrid[_e];mt?qe.setTranslate(qe.translate-Xt):(qe.slideTo(_e-an,0,!1,!0),ge&&(qe.touches[qe.isHorizontal()?"startX":"startY"]+=Xt))}else qe.slideToLoop(m,0,!1,!0);if(qe.allowSlidePrev=ut,qe.allowSlideNext=ht,qe.controller&&qe.controller.control&&!Re){const on={slideRealIndex:m,slideTo:!1,direction:te,setTranslate:ge,activeSlideIndex:Be,byController:!0};Array.isArray(qe.controller.control)?qe.controller.control.forEach(Mn=>{!Mn.destroyed&&Mn.params.loop&&Mn.loopFix(on)}):qe.controller.control instanceof qe.constructor&&qe.controller.control.params.loop&&qe.controller.control.loopFix(on)}qe.emit("loopFix")},loopDestroy:function no(){const m=this,{params:se,slidesEl:te}=m;if(!se.loop||m.virtual&&m.params.virtual.enabled)return;m.recalcSlides();const ge=[];m.slides.forEach(Be=>{const Re=typeof Be.swiperSlideIndex>"u"?1*Be.getAttribute("data-swiper-slide-index"):Be.swiperSlideIndex;ge[Re]=Be}),m.slides.forEach(Be=>{Be.removeAttribute("data-swiper-slide-index")}),ge.forEach(Be=>{te.append(Be)}),m.recalcSlides(),m.slideTo(m.realIndex,0)}},grabCursor:{setGrabCursor:function mn(m){const se=this;if(!se.params.simulateTouch||se.params.watchOverflow&&se.isLocked||se.params.cssMode)return;const te="container"===se.params.touchEventsTarget?se.el:se.wrapperEl;se.isElement&&(se.__preventObserver__=!0),te.style.cursor="move",te.style.cursor=m?"grabbing":"grab",se.isElement&&requestAnimationFrame(()=>{se.__preventObserver__=!1})},unsetGrabCursor:function ze(){const m=this;m.params.watchOverflow&&m.isLocked||m.params.cssMode||(m.isElement&&(m.__preventObserver__=!0),m["container"===m.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",m.isElement&&requestAnimationFrame(()=>{m.__preventObserver__=!1}))}},events:{attachEvents:function co(){const m=this,se=s(),{params:te}=m;m.onTouchStart=In.bind(m),m.onTouchMove=fo.bind(m),m.onTouchEnd=wn.bind(m),te.cssMode&&(m.onScroll=We.bind(m)),m.onClick=$e.bind(m),m.onLoad=ot.bind(m),Wt||(se.addEventListener("touchstart",Dn),Wt=!0),to(m,"on")},detachEvents:function Oo(){to(this,"off")}},breakpoints:{setBreakpoint:function go(){const m=this,{realIndex:se,initialized:te,params:ge,el:Be}=m,Re=ge.breakpoints;if(!Re||Re&&0===Object.keys(Re).length)return;const mt=m.getBreakpoint(Re,m.params.breakpointsBase,m.el);if(!mt||m.currentBreakpoint===mt)return;const Ye=(mt in Re?Re[mt]:void 0)||m.originalParams,ut=Gn(m,ge),ht=Gn(m,Ye),yt=ge.enabled;ut&&!ht?(Be.classList.remove(`${ge.containerModifierClass}grid`,`${ge.containerModifierClass}grid-column`),m.emitContainerClasses()):!ut&&ht&&(Be.classList.add(`${ge.containerModifierClass}grid`),(Ye.grid.fill&&"column"===Ye.grid.fill||!Ye.grid.fill&&"column"===ge.grid.fill)&&Be.classList.add(`${ge.containerModifierClass}grid-column`),m.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(Q=>{if(typeof Ye[Q]>"u")return;const Ee=ge[Q]&&ge[Q].enabled,_e=Ye[Q]&&Ye[Q].enabled;Ee&&!_e&&m[Q].disable(),!Ee&&_e&&m[Q].enable()});const Gt=Ye.direction&&Ye.direction!==ge.direction,Jt=ge.loop&&(Ye.slidesPerView!==ge.slidesPerView||Gt);Gt&&te&&m.changeDirection(),L(m.params,Ye);const z=m.params.enabled;Object.assign(m,{allowTouchMove:m.params.allowTouchMove,allowSlideNext:m.params.allowSlideNext,allowSlidePrev:m.params.allowSlidePrev}),yt&&!z?m.disable():!yt&&z&&m.enable(),m.currentBreakpoint=mt,m.emit("_beforeBreakpoint",Ye),Jt&&te&&(m.loopDestroy(),m.loopCreate(se),m.updateSlides()),m.emit("breakpoint",Ye)},getBreakpoint:function Vo(m,se="window",te){if(!m||"container"===se&&!te)return;let ge=!1;const Be=_(),Re="window"===se?Be.innerHeight:te.clientHeight,mt=Object.keys(m).map(qe=>{if("string"==typeof qe&&0===qe.indexOf("@")){const Ye=parseFloat(qe.substr(1));return{value:Re*Ye,point:qe}}return{value:qe,point:qe}});mt.sort((qe,Ye)=>parseInt(qe.value,10)-parseInt(Ye.value,10));for(let qe=0;qem.slidesGrid[Be]+m.slidesSizesGrid[Be]+2*ge}else m.isLocked=1===m.snapGrid.length;!0===te.allowSlideNext&&(m.allowSlideNext=!m.isLocked),!0===te.allowSlidePrev&&(m.allowSlidePrev=!m.isLocked),se&&se!==m.isLocked&&(m.isEnd=!1),se!==m.isLocked&&m.emit(m.isLocked?"lock":"unlock")}},classes:{addClasses:function er(){const m=this,{classNames:se,params:te,rtl:ge,el:Be,device:Re}=m,mt=function ci(m,se){const te=[];return m.forEach(ge=>{"object"==typeof ge?Object.keys(ge).forEach(Be=>{ge[Be]&&te.push(se+Be)}):"string"==typeof ge&&te.push(se+ge)}),te}(["initialized",te.direction,{"free-mode":m.params.freeMode&&te.freeMode.enabled},{autoheight:te.autoHeight},{rtl:ge},{grid:te.grid&&te.grid.rows>1},{"grid-column":te.grid&&te.grid.rows>1&&"column"===te.grid.fill},{android:Re.android},{ios:Re.ios},{"css-mode":te.cssMode},{centered:te.cssMode&&te.centeredSlides},{"watch-progress":te.watchSlidesProgress}],te.containerModifierClass);se.push(...mt),Be.classList.add(...se),m.emitContainerClasses()},removeClasses:function ei(){const{el:se,classNames:te}=this;se.classList.remove(...te),this.emitContainerClasses()}}},is={};class en{constructor(...se){let te,ge;1===se.length&&se[0].constructor&&"Object"===Object.prototype.toString.call(se[0]).slice(8,-1)?ge=se[0]:[te,ge]=se,ge||(ge={}),ge=L({},ge),te&&!ge.el&&(ge.el=te);const Be=s();if(ge.el&&"string"==typeof ge.el&&Be.querySelectorAll(ge.el).length>1){const Ye=[];return Be.querySelectorAll(ge.el).forEach(ut=>{const ht=L({},ge,{el:ut});Ye.push(new en(ht))}),Ye}const Re=this;Re.__swiper__=!0,Re.support=Xe(),Re.device=function Pt(m={}){return e||(e=function On({userAgent:m}={}){const se=Xe(),te=_(),ge=te.navigator.platform,Be=m||te.navigator.userAgent,Re={ios:!1,android:!1},mt=te.screen.width,qe=te.screen.height,Ye=Be.match(/(Android);?[\s\/]+([\d.]+)?/);let ut=Be.match(/(iPad).*OS\s([\d_]+)/);const ht=Be.match(/(iPod)(.*OS\s([\d_]+))?/),yt=!ut&&Be.match(/(iPhone\sOS|iOS)\s([\d_]+)/),Gt="Win32"===ge;let Jt="MacIntel"===ge;return!ut&&Jt&&se.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${mt}x${qe}`)>=0&&(ut=Be.match(/(Version)\/([\d.]+)/),ut||(ut=[0,1,"13_0_0"]),Jt=!1),Ye&&!Gt&&(Re.os="android",Re.android=!0),(ut||yt||ht)&&(Re.os="ios",Re.ios=!0),Re}(m)),e}({userAgent:ge.userAgent}),Re.browser=function we(){return wt||(wt=function At(){const m=_();let se=!1;function te(){const ge=m.navigator.userAgent.toLowerCase();return ge.indexOf("safari")>=0&&ge.indexOf("chrome")<0&&ge.indexOf("android")<0}if(te()){const ge=String(m.navigator.userAgent);if(ge.includes("Version/")){const[Be,Re]=ge.split("Version/")[1].split(" ")[0].split(".").map(mt=>Number(mt));se=Be<16||16===Be&&Re<2}}return{isSafari:se||te(),needPerspectiveFix:se,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(m.navigator.userAgent)}}()),wt}(),Re.eventsListeners={},Re.eventsAnyListeners=[],Re.modules=[...Re.__modules__],ge.modules&&Array.isArray(ge.modules)&&Re.modules.push(...ge.modules);const mt={};Re.modules.forEach(Ye=>{Ye({params:ge,swiper:Re,extendParams:wr(ge,mt),on:Re.on.bind(Re),once:Re.once.bind(Re),off:Re.off.bind(Re),emit:Re.emit.bind(Re)})});const qe=L({},Fr,mt);return Re.params=L({},qe,is,ge),Re.originalParams=L({},Re.params),Re.passedParams=L({},ge),Re.params&&Re.params.on&&Object.keys(Re.params.on).forEach(Ye=>{Re.on(Ye,Re.params.on[Ye])}),Re.params&&Re.params.onAny&&Re.onAny(Re.params.onAny),Object.assign(Re,{enabled:Re.params.enabled,el:te,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===Re.params.direction,isVertical:()=>"vertical"===Re.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:Re.params.allowSlideNext,allowSlidePrev:Re.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:Re.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:Re.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),Re.emit("_swiper"),Re.params.init&&Re.init(),Re}getSlideIndex(se){const{slidesEl:te,params:ge}=this,Re=Mt(ye(te,`.${ge.slideClass}, swiper-slide`)[0]);return Mt(se)-Re}getSlideIndexByData(se){return this.getSlideIndex(this.slides.filter(te=>1*te.getAttribute("data-swiper-slide-index")===se)[0])}recalcSlides(){const{slidesEl:te,params:ge}=this;this.slides=ye(te,`.${ge.slideClass}, swiper-slide`)}enable(){const se=this;se.enabled||(se.enabled=!0,se.params.grabCursor&&se.setGrabCursor(),se.emit("enable"))}disable(){const se=this;se.enabled&&(se.enabled=!1,se.params.grabCursor&&se.unsetGrabCursor(),se.emit("disable"))}setProgress(se,te){const ge=this;se=Math.min(Math.max(se,0),1);const Be=ge.minTranslate(),mt=(ge.maxTranslate()-Be)*se+Be;ge.translateTo(mt,typeof te>"u"?0:te),ge.updateActiveIndex(),ge.updateSlidesClasses()}emitContainerClasses(){const se=this;if(!se.params._emitClasses||!se.el)return;const te=se.el.className.split(" ").filter(ge=>0===ge.indexOf("swiper")||0===ge.indexOf(se.params.containerModifierClass));se.emit("_containerClasses",te.join(" "))}getSlideClasses(se){const te=this;return te.destroyed?"":se.className.split(" ").filter(ge=>0===ge.indexOf("swiper-slide")||0===ge.indexOf(te.params.slideClass)).join(" ")}emitSlidesClasses(){const se=this;if(!se.params._emitClasses||!se.el)return;const te=[];se.slides.forEach(ge=>{const Be=se.getSlideClasses(ge);te.push({slideEl:ge,classNames:Be}),se.emit("_slideClass",ge,Be)}),se.emit("_slideClasses",te)}slidesPerViewDynamic(se="current",te=!1){const{params:Be,slides:Re,slidesGrid:mt,slidesSizesGrid:qe,size:Ye,activeIndex:ut}=this;let ht=1;if(Be.centeredSlides){let Gt,yt=Re[ut]?Re[ut].swiperSlideSize:0;for(let Jt=ut+1;JtYe&&(Gt=!0));for(let Jt=ut-1;Jt>=0;Jt-=1)Re[Jt]&&!Gt&&(yt+=Re[Jt].swiperSlideSize,ht+=1,yt>Ye&&(Gt=!0))}else if("current"===se)for(let yt=ut+1;yt=0;yt-=1)mt[ut]-mt[yt]{mt.complete&&cn(se,mt)}),se.updateSize(),se.updateSlides(),se.updateProgress(),se.updateSlidesClasses(),ge.freeMode&&ge.freeMode.enabled&&!ge.cssMode?(Be(),ge.autoHeight&&se.updateAutoHeight()):(Re=se.slideTo(("auto"===ge.slidesPerView||ge.slidesPerView>1)&&se.isEnd&&!ge.centeredSlides?(se.virtual&&ge.virtual.enabled?se.virtual.slides:se.slides).length-1:se.activeIndex,0,!1,!0),Re||Be()),ge.watchOverflow&&te!==se.snapGrid&&se.checkOverflow(),se.emit("update")}changeDirection(se,te=!0){const ge=this,Be=ge.params.direction;return se||(se="horizontal"===Be?"vertical":"horizontal"),se===Be||"horizontal"!==se&&"vertical"!==se||(ge.el.classList.remove(`${ge.params.containerModifierClass}${Be}`),ge.el.classList.add(`${ge.params.containerModifierClass}${se}`),ge.emitContainerClasses(),ge.params.direction=se,ge.slides.forEach(Re=>{"vertical"===se?Re.style.width="":Re.style.height=""}),ge.emit("changeDirection"),te&&ge.update()),ge}changeLanguageDirection(se){const te=this;te.rtl&&"rtl"===se||!te.rtl&&"ltr"===se||(te.rtl="rtl"===se,te.rtlTranslate="horizontal"===te.params.direction&&te.rtl,te.rtl?(te.el.classList.add(`${te.params.containerModifierClass}rtl`),te.el.dir="rtl"):(te.el.classList.remove(`${te.params.containerModifierClass}rtl`),te.el.dir="ltr"),te.update())}mount(se){const te=this;if(te.mounted)return!0;let ge=se||te.params.el;if("string"==typeof ge&&(ge=document.querySelector(ge)),!ge)return!1;ge.swiper=te,ge.shadowEl&&(te.isElement=!0);const Be=()=>`.${(te.params.wrapperClass||"").trim().split(" ").join(".")}`;let mt=ge&&ge.shadowRoot&&ge.shadowRoot.querySelector?ge.shadowRoot.querySelector(Be()):ye(ge,Be())[0];return!mt&&te.params.createElements&&(mt=je("div",te.params.wrapperClass),ge.append(mt),ye(ge,`.${te.params.slideClass}`).forEach(qe=>{mt.append(qe)})),Object.assign(te,{el:ge,wrapperEl:mt,slidesEl:te.isElement?ge:mt,mounted:!0,rtl:"rtl"===ge.dir.toLowerCase()||"rtl"===lt(ge,"direction"),rtlTranslate:"horizontal"===te.params.direction&&("rtl"===ge.dir.toLowerCase()||"rtl"===lt(ge,"direction")),wrongRTL:"-webkit-box"===lt(mt,"display")}),!0}init(se){const te=this;return te.initialized||!1===te.mount(se)||(te.emit("beforeInit"),te.params.breakpoints&&te.setBreakpoint(),te.addClasses(),te.updateSize(),te.updateSlides(),te.params.watchOverflow&&te.checkOverflow(),te.params.grabCursor&&te.enabled&&te.setGrabCursor(),te.slideTo(te.params.loop&&te.virtual&&te.params.virtual.enabled?te.params.initialSlide+te.virtual.slidesBefore:te.params.initialSlide,0,te.params.runCallbacksOnInit,!1,!0),te.params.loop&&te.loopCreate(),te.attachEvents(),[...te.el.querySelectorAll('[loading="lazy"]')].forEach(Be=>{Be.complete?cn(te,Be):Be.addEventListener("load",Re=>{cn(te,Re.target)})}),pn(te),te.initialized=!0,pn(te),te.emit("init"),te.emit("afterInit")),te}destroy(se=!0,te=!0){const ge=this,{params:Be,el:Re,wrapperEl:mt,slides:qe}=ge;return typeof ge.params>"u"||ge.destroyed||(ge.emit("beforeDestroy"),ge.initialized=!1,ge.detachEvents(),Be.loop&&ge.loopDestroy(),te&&(ge.removeClasses(),Re.removeAttribute("style"),mt.removeAttribute("style"),qe&&qe.length&&qe.forEach(Ye=>{Ye.classList.remove(Be.slideVisibleClass,Be.slideActiveClass,Be.slideNextClass,Be.slidePrevClass),Ye.removeAttribute("style"),Ye.removeAttribute("data-swiper-slide-index")})),ge.emit("destroy"),Object.keys(ge.eventsListeners).forEach(Ye=>{ge.off(Ye)}),!1!==se&&(ge.el.swiper=null,function y(m){const se=m;Object.keys(se).forEach(te=>{try{se[te]=null}catch{}try{delete se[te]}catch{}})}(ge)),ge.destroyed=!0),null}static extendDefaults(se){L(is,se)}static get extendedDefaults(){return is}static get defaults(){return Fr}static installModule(se){en.prototype.__modules__||(en.prototype.__modules__=[]);const te=en.prototype.__modules__;"function"==typeof se&&te.indexOf(se)<0&&te.push(se)}static use(se){return Array.isArray(se)?(se.forEach(te=>en.installModule(te)),en):(en.installModule(se),en)}}Object.keys(Qi).forEach(m=>{Object.keys(Qi[m]).forEach(se=>{en.prototype[se]=Qi[m][se]})}),en.use([function Ot({swiper:m,on:se,emit:te}){const ge=_();let Be=null,Re=null;const mt=()=>{!m||m.destroyed||!m.initialized||(te("beforeResize"),te("resize"))},ut=()=>{!m||m.destroyed||!m.initialized||te("orientationchange")};se("init",()=>{m.params.resizeObserver&&typeof ge.ResizeObserver<"u"?!m||m.destroyed||!m.initialized||(Be=new ResizeObserver(ht=>{Re=ge.requestAnimationFrame(()=>{const{width:yt,height:Gt}=m;let Jt=yt,z=Gt;ht.forEach(({contentBoxSize:Q,contentRect:Ee,target:_e})=>{_e&&_e!==m.el||(Jt=Ee?Ee.width:(Q[0]||Q).inlineSize,z=Ee?Ee.height:(Q[0]||Q).blockSize)}),(Jt!==yt||z!==Gt)&&mt()})}),Be.observe(m.el)):(ge.addEventListener("resize",mt),ge.addEventListener("orientationchange",ut))}),se("destroy",()=>{Re&&ge.cancelAnimationFrame(Re),Be&&Be.unobserve&&m.el&&(Be.unobserve(m.el),Be=null),ge.removeEventListener("resize",mt),ge.removeEventListener("orientationchange",ut)})},function It({swiper:m,extendParams:se,on:te,emit:ge}){const Be=[],Re=_(),mt=(ut,ht={})=>{const Gt=new(Re.MutationObserver||Re.WebkitMutationObserver)(Jt=>{if(m.__preventObserver__)return;if(1===Jt.length)return void ge("observerUpdate",Jt[0]);const z=function(){ge("observerUpdate",Jt[0])};Re.requestAnimationFrame?Re.requestAnimationFrame(z):Re.setTimeout(z,0)});Gt.observe(ut,{attributes:typeof ht.attributes>"u"||ht.attributes,childList:typeof ht.childList>"u"||ht.childList,characterData:typeof ht.characterData>"u"||ht.characterData}),Be.push(Gt)};se({observer:!1,observeParents:!1,observeSlideChildren:!1}),te("init",()=>{if(m.params.observer){if(m.params.observeParents){const ut=Bt(m.el);for(let ht=0;ht{Be.forEach(ut=>{ut.disconnect()}),Be.splice(0,Be.length)})}]);const po=en;function Vi(m,se,te,ge){return m.params.createElements&&Object.keys(ge).forEach(Be=>{if(!te[Be]&&!0===te.auto){let Re=ye(m.el,`.${ge[Be]}`)[0];Re||(Re=je("div",ge[Be]),Re.className=ge[Be],m.el.append(Re)),te[Be]=Re,se[Be]=Re}}),te}function ts(m=""){return`.${m.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Es(m){const se=this,{params:te,slidesEl:ge}=se;te.loop&&se.loopDestroy();const Be=Re=>{if("string"==typeof Re){const mt=document.createElement("div");mt.innerHTML=Re,ge.append(mt.children[0]),mt.innerHTML=""}else ge.append(Re)};if("object"==typeof m&&"length"in m)for(let Re=0;Re{if("string"==typeof qe){const Ye=document.createElement("div");Ye.innerHTML=qe,Be.prepend(Ye.children[0]),Ye.innerHTML=""}else Be.prepend(qe)};if("object"==typeof m&&"length"in m){for(let qe=0;qe=qe)return void te.appendSlide(se);let Ye=mt>m?mt+1:mt;const ut=[];for(let ht=qe-1;ht>=m;ht-=1){const yt=te.slides[ht];yt.remove(),ut.unshift(yt)}if("object"==typeof se&&"length"in se){for(let ht=0;htm?mt+se.length:mt}else Re.append(se);for(let ht=0;ht{if(te.params.effect!==se)return;te.classNames.push(`${te.params.containerModifierClass}${se}`),qe&&qe()&&te.classNames.push(`${te.params.containerModifierClass}3d`);const yt=mt?mt():{};Object.assign(te.params,yt),Object.assign(te.originalParams,yt)}),ge("setTranslate",()=>{te.params.effect===se&&Be()}),ge("setTransition",(yt,Gt)=>{te.params.effect===se&&Re(Gt)}),ge("transitionEnd",()=>{if(te.params.effect===se&&Ye){if(!ut||!ut().slideShadows)return;te.slides.forEach(yt=>{yt.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(Gt=>Gt.remove())}),Ye()}}),ge("virtualUpdate",()=>{te.params.effect===se&&(te.slides.length||(ht=!0),requestAnimationFrame(()=>{ht&&te.slides&&te.slides.length&&(Be(),ht=!1)}))})}function Or(m,se){const te=be(se);return te!==se&&(te.style.backfaceVisibility="hidden",te.style["-webkit-backface-visibility"]="hidden"),te}function Rt({swiper:m,duration:se,transformElements:te,allSlides:ge}){const{activeIndex:Be}=m;if(m.params.virtualTranslate&&0!==se){let qe,mt=!1;qe=ge?te:te.filter(Ye=>{const ut=Ye.classList.contains("swiper-slide-transform")?(mt=>mt.parentElement?mt.parentElement:m.slides.filter(Ye=>Ye.shadowEl&&Ye.shadowEl===mt.parentNode)[0])(Ye):Ye;return m.getSlideIndex(ut)===Be}),qe.forEach(Ye=>{et(Ye,()=>{if(mt||!m||m.destroyed)return;mt=!0,m.animating=!1;const ut=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});m.wrapperEl.dispatchEvent(ut)})})}}function un(m,se,te){const ge="swiper-slide-shadow"+(te?`-${te}`:""),Be=be(se);let Re=Be.querySelector(`.${ge}`);return Re||(Re=je("div","swiper-slide-shadow"+(te?`-${te}`:"")),Be.append(Re)),Re}po.use([function ni({swiper:m,extendParams:se,on:te,emit:ge}){let Be;se({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const Re=s();m.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const mt=Re.createElement("div");function qe(Jt,z){const Q=m.params.virtual;if(Q.cache&&m.virtual.cache[z])return m.virtual.cache[z];let Ee;return Q.renderSlide?(Ee=Q.renderSlide.call(m,Jt,z),"string"==typeof Ee&&(mt.innerHTML=Ee,Ee=mt.children[0])):Ee=m.isElement?je("swiper-slide"):je("div",m.params.slideClass),Ee.setAttribute("data-swiper-slide-index",z),Q.renderSlide||(Ee.innerHTML=Jt),Q.cache&&(m.virtual.cache[z]=Ee),Ee}function Ye(Jt){const{slidesPerView:z,slidesPerGroup:Q,centeredSlides:Ee,loop:_e}=m.params,{addSlidesBefore:He,addSlidesAfter:nt}=m.params.virtual,{from:Ut,to:an,slides:on,slidesGrid:Mn,offset:Xt}=m.virtual;m.params.cssMode||m.updateActiveIndex();const ve=m.activeIndex||0;let Fe,Y,Pe;Fe=m.rtlTranslate?"right":m.isHorizontal()?"left":"top",Ee?(Y=Math.floor(z/2)+Q+nt,Pe=Math.floor(z/2)+Q+He):(Y=z+(Q-1)+nt,Pe=(_e?z:Q)+He);let Ue=ve-Pe,Pn=ve+Y;_e||(Ue=Math.max(Ue,0),Pn=Math.min(Pn,on.length-1));let ao=(m.slidesGrid[Ue]||0)-(m.slidesGrid[0]||0);function ro(){m.updateSlides(),m.updateProgress(),m.updateSlidesClasses(),ge("virtualUpdate")}if(_e&&ve>=Pe?(Ue-=Pe,Ee||(ao+=m.slidesGrid[0])):_e&&ve{ji.style[Fe]=ao-Math.abs(m.cssOverflowAdjustment())+"px"}),m.updateProgress(),void ge("virtualUpdate");if(m.params.virtual.renderExternal)return m.params.virtual.renderExternal.call(m,{offset:ao,from:Ue,to:Pn,slides:function(){const gr=[];for(let N=Ue;N<=Pn;N+=1)gr.push(on[N]);return gr}()}),void(m.params.virtual.renderExternalUpdate?ro():ge("virtualUpdate"));const Bo=[],Mo=[],Di=ji=>{let gr=ji;return ji<0?gr=on.length+ji:gr>=on.length&&(gr-=on.length),gr};if(Jt)m.slidesEl.querySelectorAll(`.${m.params.slideClass}, swiper-slide`).forEach(ji=>{ji.remove()});else for(let ji=Ut;ji<=an;ji+=1)if(jiPn){const gr=Di(ji);m.slidesEl.querySelectorAll(`.${m.params.slideClass}[data-swiper-slide-index="${gr}"], swiper-slide[data-swiper-slide-index="${gr}"]`).forEach(N=>{N.remove()})}const Dr=_e?2*on.length:on.length;for(let ji=_e?-on.length:0;ji=Ue&&ji<=Pn){const gr=Di(ji);typeof an>"u"||Jt?Mo.push(gr):(ji>an&&Mo.push(gr),ji{m.slidesEl.append(qe(on[ji],ji))}),_e)for(let ji=Bo.length-1;ji>=0;ji-=1){const gr=Bo[ji];m.slidesEl.prepend(qe(on[gr],gr))}else Bo.sort((ji,gr)=>gr-ji),Bo.forEach(ji=>{m.slidesEl.prepend(qe(on[ji],ji))});ye(m.slidesEl,".swiper-slide, swiper-slide").forEach(ji=>{ji.style[Fe]=ao-Math.abs(m.cssOverflowAdjustment())+"px"}),ro()}te("beforeInit",()=>{if(!m.params.virtual.enabled)return;let Jt;if(typeof m.passedParams.virtual.slides>"u"){const z=[...m.slidesEl.children].filter(Q=>Q.matches(`.${m.params.slideClass}, swiper-slide`));z&&z.length&&(m.virtual.slides=[...z],Jt=!0,z.forEach((Q,Ee)=>{Q.setAttribute("data-swiper-slide-index",Ee),m.virtual.cache[Ee]=Q,Q.remove()}))}Jt||(m.virtual.slides=m.params.virtual.slides),m.classNames.push(`${m.params.containerModifierClass}virtual`),m.params.watchSlidesProgress=!0,m.originalParams.watchSlidesProgress=!0,m.params.initialSlide||Ye()}),te("setTranslate",()=>{m.params.virtual.enabled&&(m.params.cssMode&&!m._immediateVirtual?(clearTimeout(Be),Be=setTimeout(()=>{Ye()},100)):Ye())}),te("init update resize",()=>{m.params.virtual.enabled&&m.params.cssMode&&he(m.wrapperEl,"--swiper-virtual-size",`${m.virtualSize}px`)}),Object.assign(m.virtual,{appendSlide:function ut(Jt){if("object"==typeof Jt&&"length"in Jt)for(let z=0;z{const Ut=_e[nt],an=Ut.getAttribute("data-swiper-slide-index");an&&Ut.setAttribute("data-swiper-slide-index",parseInt(an,10)+Ee),He[parseInt(nt,10)+Ee]=Ut}),m.virtual.cache=He}Ye(!0),m.slideTo(Q,0)},removeSlide:function yt(Jt){if(typeof Jt>"u"||null===Jt)return;let z=m.activeIndex;if(Array.isArray(Jt))for(let Q=Jt.length-1;Q>=0;Q-=1)m.virtual.slides.splice(Jt[Q],1),m.params.virtual.cache&&delete m.virtual.cache[Jt[Q]],Jt[Q]0&&0===Bt(m.el,`.${m.params.slideActiveClass}`).length)return;const an=m.el,on=an.clientWidth,Mn=an.clientHeight,Xt=Re.innerWidth,ve=Re.innerHeight,Fe=ke(an);ht&&(Fe.left-=an.scrollLeft);const Y=[[Fe.left,Fe.top],[Fe.left+on,Fe.top],[Fe.left,Fe.top+Mn],[Fe.left+on,Fe.top+Mn]];for(let Pe=0;Pe=0&&Ue[0]<=Xt&&Ue[1]>=0&&Ue[1]<=ve){if(0===Ue[0]&&0===Ue[1])continue;Ut=!0}}if(!Ut)return}m.isHorizontal()?((z||Q||Ee||_e)&&(yt.preventDefault?yt.preventDefault():yt.returnValue=!1),((Q||_e)&&!ht||(z||Ee)&&ht)&&m.slideNext(),((z||Ee)&&!ht||(Q||_e)&&ht)&&m.slidePrev()):((z||Q||He||nt)&&(yt.preventDefault?yt.preventDefault():yt.returnValue=!1),(Q||nt)&&m.slideNext(),(z||He)&&m.slidePrev()),ge("keyPress",Gt)}}function qe(){m.keyboard.enabled||(Be.addEventListener("keydown",mt),m.keyboard.enabled=!0)}function Ye(){m.keyboard.enabled&&(Be.removeEventListener("keydown",mt),m.keyboard.enabled=!1)}m.keyboard={enabled:!1},se({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),te("init",()=>{m.params.keyboard.enabled&&qe()}),te("destroy",()=>{m.keyboard.enabled&&Ye()}),Object.assign(m.keyboard,{enable:qe,disable:Ye})},function hr({swiper:m,extendParams:se,on:te,emit:ge}){const Be=_();se({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),m.mousewheel={enabled:!1};let Re,qe,mt=M();const Ye=[];function ht(){m.enabled&&(m.mouseEntered=!0)}function yt(){m.enabled&&(m.mouseEntered=!1)}function Gt(He){return!(m.params.mousewheel.thresholdDelta&&He.delta=6&&M()-mt<60||(He.direction<0?(!m.isEnd||m.params.loop)&&!m.animating&&(m.slideNext(),ge("scroll",He.raw)):(!m.isBeginning||m.params.loop)&&!m.animating&&(m.slidePrev(),ge("scroll",He.raw)),mt=(new Be.Date).getTime(),!1))}function z(He){let nt=He,Ut=!0;if(!m.enabled||He.target.closest(`.${m.params.mousewheel.noMousewheelClass}`))return;const an=m.params.mousewheel;m.params.cssMode&&nt.preventDefault();let on=m.el;"container"!==m.params.mousewheel.eventsTarget&&(on=document.querySelector(m.params.mousewheel.eventsTarget));const Mn=on&&on.contains(nt.target);if(!m.mouseEntered&&!Mn&&!an.releaseOnEdges)return!0;nt.originalEvent&&(nt=nt.originalEvent);let Xt=0;const ve=m.rtlTranslate?-1:1,Fe=function ut(He){let on=0,Mn=0,Xt=0,ve=0;return"detail"in He&&(Mn=He.detail),"wheelDelta"in He&&(Mn=-He.wheelDelta/120),"wheelDeltaY"in He&&(Mn=-He.wheelDeltaY/120),"wheelDeltaX"in He&&(on=-He.wheelDeltaX/120),"axis"in He&&He.axis===He.HORIZONTAL_AXIS&&(on=Mn,Mn=0),Xt=10*on,ve=10*Mn,"deltaY"in He&&(ve=He.deltaY),"deltaX"in He&&(Xt=He.deltaX),He.shiftKey&&!Xt&&(Xt=ve,ve=0),(Xt||ve)&&He.deltaMode&&(1===He.deltaMode?(Xt*=40,ve*=40):(Xt*=800,ve*=800)),Xt&&!on&&(on=Xt<1?-1:1),ve&&!Mn&&(Mn=ve<1?-1:1),{spinX:on,spinY:Mn,pixelX:Xt,pixelY:ve}}(nt);if(an.forceToAxis)if(m.isHorizontal()){if(!(Math.abs(Fe.pixelX)>Math.abs(Fe.pixelY)))return!0;Xt=-Fe.pixelX*ve}else{if(!(Math.abs(Fe.pixelY)>Math.abs(Fe.pixelX)))return!0;Xt=-Fe.pixelY}else Xt=Math.abs(Fe.pixelX)>Math.abs(Fe.pixelY)?-Fe.pixelX*ve:-Fe.pixelY;if(0===Xt)return!0;an.invert&&(Xt=-Xt);let Y=m.getTranslate()+Xt*an.sensitivity;if(Y>=m.minTranslate()&&(Y=m.minTranslate()),Y<=m.maxTranslate()&&(Y=m.maxTranslate()),Ut=!!m.params.loop||!(Y===m.minTranslate()||Y===m.maxTranslate()),Ut&&m.params.nested&&nt.stopPropagation(),m.params.freeMode&&m.params.freeMode.enabled){const Pe={time:M(),delta:Math.abs(Xt),direction:Math.sign(Xt)},Ue=qe&&Pe.time=m.minTranslate()&&(Pn=m.minTranslate()),Pn<=m.maxTranslate()&&(Pn=m.maxTranslate()),m.setTransition(0),m.setTranslate(Pn),m.updateProgress(),m.updateActiveIndex(),m.updateSlidesClasses(),(!ao&&m.isBeginning||!ro&&m.isEnd)&&m.updateSlidesClasses(),m.params.loop&&m.loopFix({direction:Pe.direction<0?"next":"prev",byMousewheel:!0}),m.params.freeMode.sticky){clearTimeout(Re),Re=void 0,Ye.length>=15&&Ye.shift();const Bo=Ye.length?Ye[Ye.length-1]:void 0,Mo=Ye[0];if(Ye.push(Pe),Bo&&(Pe.delta>Bo.delta||Pe.direction!==Bo.direction))Ye.splice(0);else if(Ye.length>=15&&Pe.time-Mo.time<500&&Mo.delta-Pe.delta>=1&&Pe.delta<=6){const Di=Xt>0?.8:.2;qe=Pe,Ye.splice(0),Re=w(()=>{m.slideToClosest(m.params.speed,!0,void 0,Di)},0)}Re||(Re=w(()=>{qe=Pe,Ye.splice(0),m.slideToClosest(m.params.speed,!0,void 0,.5)},500))}if(Ue||ge("scroll",nt),m.params.autoplay&&m.params.autoplayDisableOnInteraction&&m.autoplay.stop(),Pn===m.minTranslate()||Pn===m.maxTranslate())return!0}}else{const Pe={time:M(),delta:Math.abs(Xt),direction:Math.sign(Xt),raw:He};Ye.length>=2&&Ye.shift();const Ue=Ye.length?Ye[Ye.length-1]:void 0;if(Ye.push(Pe),Ue?(Pe.direction!==Ue.direction||Pe.delta>Ue.delta||Pe.time>Ue.time+150)&&Gt(Pe):Gt(Pe),function Jt(He){const nt=m.params.mousewheel;if(He.direction<0){if(m.isEnd&&!m.params.loop&&nt.releaseOnEdges)return!0}else if(m.isBeginning&&!m.params.loop&&nt.releaseOnEdges)return!0;return!1}(Pe))return!0}return nt.preventDefault?nt.preventDefault():nt.returnValue=!1,!1}function Q(He){let nt=m.el;"container"!==m.params.mousewheel.eventsTarget&&(nt=document.querySelector(m.params.mousewheel.eventsTarget)),nt[He]("mouseenter",ht),nt[He]("mouseleave",yt),nt[He]("wheel",z)}function Ee(){return m.params.cssMode?(m.wrapperEl.removeEventListener("wheel",z),!0):!m.mousewheel.enabled&&(Q("addEventListener"),m.mousewheel.enabled=!0,!0)}function _e(){return m.params.cssMode?(m.wrapperEl.addEventListener(event,z),!0):!!m.mousewheel.enabled&&(Q("removeEventListener"),m.mousewheel.enabled=!1,!0)}te("init",()=>{!m.params.mousewheel.enabled&&m.params.cssMode&&_e(),m.params.mousewheel.enabled&&Ee()}),te("destroy",()=>{m.params.cssMode&&Ee(),m.mousewheel.enabled&&_e()}),Object.assign(m.mousewheel,{enable:Ee,disable:_e})},function qi({swiper:m,extendParams:se,on:te,emit:ge}){se({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),m.navigation={nextEl:null,prevEl:null};const Be=z=>(Array.isArray(z)||(z=[z].filter(Q=>!!Q)),z);function Re(z){let Q;return z&&"string"==typeof z&&m.isElement&&(Q=m.el.shadowRoot.querySelector(z),Q)?Q:(z&&("string"==typeof z&&(Q=[...document.querySelectorAll(z)]),m.params.uniqueNavElements&&"string"==typeof z&&Q.length>1&&1===m.el.querySelectorAll(z).length&&(Q=m.el.querySelector(z))),z&&!Q?z:Q)}function mt(z,Q){const Ee=m.params.navigation;(z=Be(z)).forEach(_e=>{_e&&(_e.classList[Q?"add":"remove"](...Ee.disabledClass.split(" ")),"BUTTON"===_e.tagName&&(_e.disabled=Q),m.params.watchOverflow&&m.enabled&&_e.classList[m.isLocked?"add":"remove"](Ee.lockClass))})}function qe(){const{nextEl:z,prevEl:Q}=m.navigation;if(m.params.loop)return mt(Q,!1),void mt(z,!1);mt(Q,m.isBeginning&&!m.params.rewind),mt(z,m.isEnd&&!m.params.rewind)}function Ye(z){z.preventDefault(),(!m.isBeginning||m.params.loop||m.params.rewind)&&(m.slidePrev(),ge("navigationPrev"))}function ut(z){z.preventDefault(),(!m.isEnd||m.params.loop||m.params.rewind)&&(m.slideNext(),ge("navigationNext"))}function ht(){const z=m.params.navigation;if(m.params.navigation=Vi(m,m.originalParams.navigation,m.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!z.nextEl&&!z.prevEl)return;let Q=Re(z.nextEl),Ee=Re(z.prevEl);Object.assign(m.navigation,{nextEl:Q,prevEl:Ee}),Q=Be(Q),Ee=Be(Ee);const _e=(He,nt)=>{He&&He.addEventListener("click","next"===nt?ut:Ye),!m.enabled&&He&&He.classList.add(...z.lockClass.split(" "))};Q.forEach(He=>_e(He,"next")),Ee.forEach(He=>_e(He,"prev"))}function yt(){let{nextEl:z,prevEl:Q}=m.navigation;z=Be(z),Q=Be(Q);const Ee=(_e,He)=>{_e.removeEventListener("click","next"===He?ut:Ye),_e.classList.remove(...m.params.navigation.disabledClass.split(" "))};z.forEach(_e=>Ee(_e,"next")),Q.forEach(_e=>Ee(_e,"prev"))}te("init",()=>{!1===m.params.navigation.enabled?Jt():(ht(),qe())}),te("toEdge fromEdge lock unlock",()=>{qe()}),te("destroy",()=>{yt()}),te("enable disable",()=>{let{nextEl:z,prevEl:Q}=m.navigation;z=Be(z),Q=Be(Q),[...z,...Q].filter(Ee=>!!Ee).forEach(Ee=>Ee.classList[m.enabled?"remove":"add"](m.params.navigation.lockClass))}),te("click",(z,Q)=>{let{nextEl:Ee,prevEl:_e}=m.navigation;Ee=Be(Ee),_e=Be(_e);const He=Q.target;if(m.params.navigation.hideOnClick&&!_e.includes(He)&&!Ee.includes(He)){if(m.pagination&&m.params.pagination&&m.params.pagination.clickable&&(m.pagination.el===He||m.pagination.el.contains(He)))return;let nt;Ee.length?nt=Ee[0].classList.contains(m.params.navigation.hiddenClass):_e.length&&(nt=_e[0].classList.contains(m.params.navigation.hiddenClass)),ge(!0===nt?"navigationShow":"navigationHide"),[...Ee,..._e].filter(Ut=>!!Ut).forEach(Ut=>Ut.classList.toggle(m.params.navigation.hiddenClass))}});const Jt=()=>{m.el.classList.add(...m.params.navigation.navigationDisabledClass.split(" ")),yt()};Object.assign(m.navigation,{enable:()=>{m.el.classList.remove(...m.params.navigation.navigationDisabledClass.split(" ")),ht(),qe()},disable:Jt,update:qe,init:ht,destroy:yt})},function Wi({swiper:m,extendParams:se,on:te,emit:ge}){const Be="swiper-pagination";se({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:_e=>_e,formatFractionTotal:_e=>_e,bulletClass:`${Be}-bullet`,bulletActiveClass:`${Be}-bullet-active`,modifierClass:`${Be}-`,currentClass:`${Be}-current`,totalClass:`${Be}-total`,hiddenClass:`${Be}-hidden`,progressbarFillClass:`${Be}-progressbar-fill`,progressbarOppositeClass:`${Be}-progressbar-opposite`,clickableClass:`${Be}-clickable`,lockClass:`${Be}-lock`,horizontalClass:`${Be}-horizontal`,verticalClass:`${Be}-vertical`,paginationDisabledClass:`${Be}-disabled`}}),m.pagination={el:null,bullets:[]};let Re,mt=0;const qe=_e=>(Array.isArray(_e)||(_e=[_e].filter(He=>!!He)),_e);function Ye(){return!m.params.pagination.el||!m.pagination.el||Array.isArray(m.pagination.el)&&0===m.pagination.el.length}function ut(_e,He){const{bulletActiveClass:nt}=m.params.pagination;_e&&(_e=_e[("prev"===He?"previous":"next")+"ElementSibling"])&&(_e.classList.add(`${nt}-${He}`),(_e=_e[("prev"===He?"previous":"next")+"ElementSibling"])&&_e.classList.add(`${nt}-${He}-${He}`))}function ht(_e){const He=_e.target.closest(ts(m.params.pagination.bulletClass));if(!He)return;_e.preventDefault();const nt=Mt(He)*m.params.slidesPerGroup;if(m.params.loop){if(m.realIndex===nt)return;const Ut=m.getSlideIndexByData(nt),an=m.getSlideIndexByData(m.realIndex);Ut>m.slides.length-m.loopedSlides&&m.loopFix({direction:Ut>an?"next":"prev",activeSlideIndex:Ut,slideTo:!1}),m.slideToLoop(nt)}else m.slideTo(nt)}function yt(){const _e=m.rtl,He=m.params.pagination;if(Ye())return;let Ut,an,nt=m.pagination.el;nt=qe(nt);const Mn=m.params.loop?Math.ceil((m.virtual&&m.params.virtual.enabled?m.virtual.slides.length:m.slides.length)/m.params.slidesPerGroup):m.snapGrid.length;if(m.params.loop?(an=m.previousRealIndex||0,Ut=m.params.slidesPerGroup>1?Math.floor(m.realIndex/m.params.slidesPerGroup):m.realIndex):typeof m.snapIndex<"u"?(Ut=m.snapIndex,an=m.previousSnapIndex):(an=m.previousIndex||0,Ut=m.activeIndex||0),"bullets"===He.type&&m.pagination.bullets&&m.pagination.bullets.length>0){const Xt=m.pagination.bullets;let ve,Fe,Y;if(He.dynamicBullets&&(Re=sn(Xt[0],m.isHorizontal()?"width":"height",!0),nt.forEach(Pe=>{Pe.style[m.isHorizontal()?"width":"height"]=Re*(He.dynamicMainBullets+4)+"px"}),He.dynamicMainBullets>1&&void 0!==an&&(mt+=Ut-(an||0),mt>He.dynamicMainBullets-1?mt=He.dynamicMainBullets-1:mt<0&&(mt=0)),ve=Math.max(Ut-mt,0),Fe=ve+(Math.min(Xt.length,He.dynamicMainBullets)-1),Y=(Fe+ve)/2),Xt.forEach(Pe=>{const Ue=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(Pn=>`${He.bulletActiveClass}${Pn}`)].map(Pn=>"string"==typeof Pn&&Pn.includes(" ")?Pn.split(" "):Pn).flat();Pe.classList.remove(...Ue)}),nt.length>1)Xt.forEach(Pe=>{const Ue=Mt(Pe);Ue===Ut?Pe.classList.add(...He.bulletActiveClass.split(" ")):m.isElement&&Pe.setAttribute("part","bullet"),He.dynamicBullets&&(Ue>=ve&&Ue<=Fe&&Pe.classList.add(...`${He.bulletActiveClass}-main`.split(" ")),Ue===ve&&ut(Pe,"prev"),Ue===Fe&&ut(Pe,"next"))});else{const Pe=Xt[Ut];if(Pe&&Pe.classList.add(...He.bulletActiveClass.split(" ")),m.isElement&&Xt.forEach((Ue,Pn)=>{Ue.setAttribute("part",Pn===Ut?"bullet-active":"bullet")}),He.dynamicBullets){const Ue=Xt[ve],Pn=Xt[Fe];for(let ao=ve;ao<=Fe;ao+=1)Xt[ao]&&Xt[ao].classList.add(...`${He.bulletActiveClass}-main`.split(" "));ut(Ue,"prev"),ut(Pn,"next")}}if(He.dynamicBullets){const Pe=Math.min(Xt.length,He.dynamicMainBullets+4),Ue=(Re*Pe-Re)/2-Y*Re,Pn=_e?"right":"left";Xt.forEach(ao=>{ao.style[m.isHorizontal()?Pn:"top"]=`${Ue}px`})}}nt.forEach((Xt,ve)=>{if("fraction"===He.type&&(Xt.querySelectorAll(ts(He.currentClass)).forEach(Fe=>{Fe.textContent=He.formatFractionCurrent(Ut+1)}),Xt.querySelectorAll(ts(He.totalClass)).forEach(Fe=>{Fe.textContent=He.formatFractionTotal(Mn)})),"progressbar"===He.type){let Fe;Fe=He.progressbarOpposite?m.isHorizontal()?"vertical":"horizontal":m.isHorizontal()?"horizontal":"vertical";const Y=(Ut+1)/Mn;let Pe=1,Ue=1;"horizontal"===Fe?Pe=Y:Ue=Y,Xt.querySelectorAll(ts(He.progressbarFillClass)).forEach(Pn=>{Pn.style.transform=`translate3d(0,0,0) scaleX(${Pe}) scaleY(${Ue})`,Pn.style.transitionDuration=`${m.params.speed}ms`})}"custom"===He.type&&He.renderCustom?(Xt.innerHTML=He.renderCustom(m,Ut+1,Mn),0===ve&&ge("paginationRender",Xt)):(0===ve&&ge("paginationRender",Xt),ge("paginationUpdate",Xt)),m.params.watchOverflow&&m.enabled&&Xt.classList[m.isLocked?"add":"remove"](He.lockClass)})}function Gt(){const _e=m.params.pagination;if(Ye())return;const He=m.virtual&&m.params.virtual.enabled?m.virtual.slides.length:m.slides.length;let nt=m.pagination.el;nt=qe(nt);let Ut="";if("bullets"===_e.type){let an=m.params.loop?Math.ceil(He/m.params.slidesPerGroup):m.snapGrid.length;m.params.freeMode&&m.params.freeMode.enabled&&an>He&&(an=He);for(let on=0;on`}"fraction"===_e.type&&(Ut=_e.renderFraction?_e.renderFraction.call(m,_e.currentClass,_e.totalClass):` / `),"progressbar"===_e.type&&(Ut=_e.renderProgressbar?_e.renderProgressbar.call(m,_e.progressbarFillClass):``),m.pagination.bullets=[],nt.forEach(an=>{"custom"!==_e.type&&(an.innerHTML=Ut||""),"bullets"===_e.type&&m.pagination.bullets.push(...an.querySelectorAll(ts(_e.bulletClass)))}),"custom"!==_e.type&&ge("paginationRender",nt[0])}function Jt(){m.params.pagination=Vi(m,m.originalParams.pagination,m.params.pagination,{el:"swiper-pagination"});const _e=m.params.pagination;if(!_e.el)return;let He;"string"==typeof _e.el&&m.isElement&&(He=m.el.shadowRoot.querySelector(_e.el)),!He&&"string"==typeof _e.el&&(He=[...document.querySelectorAll(_e.el)]),He||(He=_e.el),He&&0!==He.length&&(m.params.uniqueNavElements&&"string"==typeof _e.el&&Array.isArray(He)&&He.length>1&&(He=[...m.el.querySelectorAll(_e.el)],He.length>1&&(He=He.filter(nt=>Bt(nt,".swiper")[0]===m.el)[0])),Array.isArray(He)&&1===He.length&&(He=He[0]),Object.assign(m.pagination,{el:He}),He=qe(He),He.forEach(nt=>{"bullets"===_e.type&&_e.clickable&&nt.classList.add(_e.clickableClass),nt.classList.add(_e.modifierClass+_e.type),nt.classList.add(m.isHorizontal()?_e.horizontalClass:_e.verticalClass),"bullets"===_e.type&&_e.dynamicBullets&&(nt.classList.add(`${_e.modifierClass}${_e.type}-dynamic`),mt=0,_e.dynamicMainBullets<1&&(_e.dynamicMainBullets=1)),"progressbar"===_e.type&&_e.progressbarOpposite&&nt.classList.add(_e.progressbarOppositeClass),_e.clickable&&nt.addEventListener("click",ht),m.enabled||nt.classList.add(_e.lockClass)}))}function z(){const _e=m.params.pagination;if(Ye())return;let He=m.pagination.el;He&&(He=qe(He),He.forEach(nt=>{nt.classList.remove(_e.hiddenClass),nt.classList.remove(_e.modifierClass+_e.type),nt.classList.remove(m.isHorizontal()?_e.horizontalClass:_e.verticalClass),_e.clickable&&nt.removeEventListener("click",ht)})),m.pagination.bullets&&m.pagination.bullets.forEach(nt=>nt.classList.remove(..._e.bulletActiveClass.split(" ")))}te("changeDirection",()=>{if(!m.pagination||!m.pagination.el)return;const _e=m.params.pagination;let{el:He}=m.pagination;He=qe(He),He.forEach(nt=>{nt.classList.remove(_e.horizontalClass,_e.verticalClass),nt.classList.add(m.isHorizontal()?_e.horizontalClass:_e.verticalClass)})}),te("init",()=>{!1===m.params.pagination.enabled?Ee():(Jt(),Gt(),yt())}),te("activeIndexChange",()=>{typeof m.snapIndex>"u"&&yt()}),te("snapIndexChange",()=>{yt()}),te("snapGridLengthChange",()=>{Gt(),yt()}),te("destroy",()=>{z()}),te("enable disable",()=>{let{el:_e}=m.pagination;_e&&(_e=qe(_e),_e.forEach(He=>He.classList[m.enabled?"remove":"add"](m.params.pagination.lockClass)))}),te("lock unlock",()=>{yt()}),te("click",(_e,He)=>{const nt=He.target;let{el:Ut}=m.pagination;if(Array.isArray(Ut)||(Ut=[Ut].filter(an=>!!an)),m.params.pagination.el&&m.params.pagination.hideOnClick&&Ut&&Ut.length>0&&!nt.classList.contains(m.params.pagination.bulletClass)){if(m.navigation&&(m.navigation.nextEl&&nt===m.navigation.nextEl||m.navigation.prevEl&&nt===m.navigation.prevEl))return;const an=Ut[0].classList.contains(m.params.pagination.hiddenClass);ge(!0===an?"paginationShow":"paginationHide"),Ut.forEach(on=>on.classList.toggle(m.params.pagination.hiddenClass))}});const Ee=()=>{m.el.classList.add(m.params.pagination.paginationDisabledClass);let{el:_e}=m.pagination;_e&&(_e=qe(_e),_e.forEach(He=>He.classList.add(m.params.pagination.paginationDisabledClass))),z()};Object.assign(m.pagination,{enable:()=>{m.el.classList.remove(m.params.pagination.paginationDisabledClass);let{el:_e}=m.pagination;_e&&(_e=qe(_e),_e.forEach(He=>He.classList.remove(m.params.pagination.paginationDisabledClass))),Jt(),Gt(),yt()},disable:Ee,render:Gt,update:yt,init:Jt,destroy:z})},function sr({swiper:m,extendParams:se,on:te,emit:ge}){const Be=s();let Ye,ut,ht,yt,Re=!1,mt=null,qe=null;function Gt(){if(!m.params.scrollbar.el||!m.scrollbar.el)return;const{scrollbar:Y,rtlTranslate:Pe}=m,{dragEl:Ue,el:Pn}=Y,ao=m.params.scrollbar;let Bo=ut,Mo=(ht-ut)*(m.params.loop?m.progressLoop:m.progress);Pe?(Mo=-Mo,Mo>0?(Bo=ut-Mo,Mo=0):-Mo+ut>ht&&(Bo=ht+Mo)):Mo<0?(Bo=ut+Mo,Mo=0):Mo+ut>ht&&(Bo=ht-Mo),m.isHorizontal()?(Ue.style.transform=`translate3d(${Mo}px, 0, 0)`,Ue.style.width=`${Bo}px`):(Ue.style.transform=`translate3d(0px, ${Mo}px, 0)`,Ue.style.height=`${Bo}px`),ao.hide&&(clearTimeout(mt),Pn.style.opacity=1,mt=setTimeout(()=>{Pn.style.opacity=0,Pn.style.transitionDuration="400ms"},1e3))}function z(){if(!m.params.scrollbar.el||!m.scrollbar.el)return;const{scrollbar:Y}=m,{dragEl:Pe,el:Ue}=Y;Pe.style.width="",Pe.style.height="",ht=m.isHorizontal()?Ue.offsetWidth:Ue.offsetHeight,yt=m.size/(m.virtualSize+m.params.slidesOffsetBefore-(m.params.centeredSlides?m.snapGrid[0]:0)),ut="auto"===m.params.scrollbar.dragSize?ht*yt:parseInt(m.params.scrollbar.dragSize,10),m.isHorizontal()?Pe.style.width=`${ut}px`:Pe.style.height=`${ut}px`,Ue.style.display=yt>=1?"none":"",m.params.scrollbar.hide&&(Ue.style.opacity=0),m.params.watchOverflow&&m.enabled&&Y.el.classList[m.isLocked?"add":"remove"](m.params.scrollbar.lockClass)}function Q(Y){return m.isHorizontal()?Y.clientX:Y.clientY}function Ee(Y){const{scrollbar:Pe,rtlTranslate:Ue}=m,{el:Pn}=Pe;let ao;ao=(Q(Y)-ke(Pn)[m.isHorizontal()?"left":"top"]-(null!==Ye?Ye:ut/2))/(ht-ut),ao=Math.max(Math.min(ao,1),0),Ue&&(ao=1-ao);const ro=m.minTranslate()+(m.maxTranslate()-m.minTranslate())*ao;m.updateProgress(ro),m.setTranslate(ro),m.updateActiveIndex(),m.updateSlidesClasses()}function _e(Y){const Pe=m.params.scrollbar,{scrollbar:Ue,wrapperEl:Pn}=m,{el:ao,dragEl:ro}=Ue;Re=!0,Ye=Y.target===ro?Q(Y)-Y.target.getBoundingClientRect()[m.isHorizontal()?"left":"top"]:null,Y.preventDefault(),Y.stopPropagation(),Pn.style.transitionDuration="100ms",ro.style.transitionDuration="100ms",Ee(Y),clearTimeout(qe),ao.style.transitionDuration="0ms",Pe.hide&&(ao.style.opacity=1),m.params.cssMode&&(m.wrapperEl.style["scroll-snap-type"]="none"),ge("scrollbarDragStart",Y)}function He(Y){const{scrollbar:Pe,wrapperEl:Ue}=m,{el:Pn,dragEl:ao}=Pe;Re&&(Y.preventDefault?Y.preventDefault():Y.returnValue=!1,Ee(Y),Ue.style.transitionDuration="0ms",Pn.style.transitionDuration="0ms",ao.style.transitionDuration="0ms",ge("scrollbarDragMove",Y))}function nt(Y){const Pe=m.params.scrollbar,{scrollbar:Ue,wrapperEl:Pn}=m,{el:ao}=Ue;Re&&(Re=!1,m.params.cssMode&&(m.wrapperEl.style["scroll-snap-type"]="",Pn.style.transitionDuration=""),Pe.hide&&(clearTimeout(qe),qe=w(()=>{ao.style.opacity=0,ao.style.transitionDuration="400ms"},1e3)),ge("scrollbarDragEnd",Y),Pe.snapOnRelease&&m.slideToClosest())}function Ut(Y){const{scrollbar:Pe,params:Ue}=m,Pn=Pe.el;if(!Pn)return;const ro=!!Ue.passiveListeners&&{passive:!1,capture:!1},Bo=!!Ue.passiveListeners&&{passive:!0,capture:!1};if(!Pn)return;const Mo="on"===Y?"addEventListener":"removeEventListener";Pn[Mo]("pointerdown",_e,ro),Be[Mo]("pointermove",He,ro),Be[Mo]("pointerup",nt,Bo)}function Mn(){const{scrollbar:Y,el:Pe}=m;m.params.scrollbar=Vi(m,m.originalParams.scrollbar,m.params.scrollbar,{el:"swiper-scrollbar"});const Ue=m.params.scrollbar;if(!Ue.el)return;let Pn,ao;"string"==typeof Ue.el&&m.isElement&&(Pn=m.el.shadowRoot.querySelector(Ue.el)),Pn||"string"!=typeof Ue.el?Pn||(Pn=Ue.el):Pn=Be.querySelectorAll(Ue.el),m.params.uniqueNavElements&&"string"==typeof Ue.el&&Pn.length>1&&1===Pe.querySelectorAll(Ue.el).length&&(Pn=Pe.querySelector(Ue.el)),Pn.length>0&&(Pn=Pn[0]),Pn.classList.add(m.isHorizontal()?Ue.horizontalClass:Ue.verticalClass),Pn&&(ao=Pn.querySelector(`.${m.params.scrollbar.dragClass}`),ao||(ao=je("div",m.params.scrollbar.dragClass),Pn.append(ao))),Object.assign(Y,{el:Pn,dragEl:ao}),Ue.draggable&&function an(){!m.params.scrollbar.el||!m.scrollbar.el||Ut("on")}(),Pn&&Pn.classList[m.enabled?"remove":"add"](m.params.scrollbar.lockClass)}function Xt(){const Y=m.params.scrollbar,Pe=m.scrollbar.el;Pe&&Pe.classList.remove(m.isHorizontal()?Y.horizontalClass:Y.verticalClass),function on(){!m.params.scrollbar.el||!m.scrollbar.el||Ut("off")}()}se({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),m.scrollbar={el:null,dragEl:null},te("init",()=>{!1===m.params.scrollbar.enabled?Fe():(Mn(),z(),Gt())}),te("update resize observerUpdate lock unlock",()=>{z()}),te("setTranslate",()=>{Gt()}),te("setTransition",(Y,Pe)=>{!function Jt(Y){!m.params.scrollbar.el||!m.scrollbar.el||(m.scrollbar.dragEl.style.transitionDuration=`${Y}ms`)}(Pe)}),te("enable disable",()=>{const{el:Y}=m.scrollbar;Y&&Y.classList[m.enabled?"remove":"add"](m.params.scrollbar.lockClass)}),te("destroy",()=>{Xt()});const Fe=()=>{m.el.classList.add(m.params.scrollbar.scrollbarDisabledClass),m.scrollbar.el&&m.scrollbar.el.classList.add(m.params.scrollbar.scrollbarDisabledClass),Xt()};Object.assign(m.scrollbar,{enable:()=>{m.el.classList.remove(m.params.scrollbar.scrollbarDisabledClass),m.scrollbar.el&&m.scrollbar.el.classList.remove(m.params.scrollbar.scrollbarDisabledClass),Mn(),z(),Gt()},disable:Fe,updateSize:z,setTranslate:Gt,init:Mn,destroy:Xt})},function Si({swiper:m,extendParams:se,on:te}){se({parallax:{enabled:!1}});const ge=(mt,qe)=>{const{rtl:Ye}=m,ut=Ye?-1:1,ht=mt.getAttribute("data-swiper-parallax")||"0";let yt=mt.getAttribute("data-swiper-parallax-x"),Gt=mt.getAttribute("data-swiper-parallax-y");const Jt=mt.getAttribute("data-swiper-parallax-scale"),z=mt.getAttribute("data-swiper-parallax-opacity"),Q=mt.getAttribute("data-swiper-parallax-rotate");if(yt||Gt?(yt=yt||"0",Gt=Gt||"0"):m.isHorizontal()?(yt=ht,Gt="0"):(Gt=ht,yt="0"),yt=yt.indexOf("%")>=0?parseInt(yt,10)*qe*ut+"%":yt*qe*ut+"px",Gt=Gt.indexOf("%")>=0?parseInt(Gt,10)*qe+"%":Gt*qe+"px",typeof z<"u"&&null!==z){const _e=z-(z-1)*(1-Math.abs(qe));mt.style.opacity=_e}let Ee=`translate3d(${yt}, ${Gt}, 0px)`;typeof Jt<"u"&&null!==Jt&&(Ee+=` scale(${Jt-(Jt-1)*(1-Math.abs(qe))})`),Q&&typeof Q<"u"&&null!==Q&&(Ee+=` rotate(${Q*qe*-1}deg)`),mt.style.transform=Ee},Be=()=>{const{el:mt,slides:qe,progress:Ye,snapGrid:ut}=m;ye(mt,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach(ht=>{ge(ht,Ye)}),qe.forEach((ht,yt)=>{let Gt=ht.progress;m.params.slidesPerGroup>1&&"auto"!==m.params.slidesPerView&&(Gt+=Math.ceil(yt/2)-Ye*(ut.length-1)),Gt=Math.min(Math.max(Gt,-1),1),ht.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale], [data-swiper-parallax-rotate]").forEach(Jt=>{ge(Jt,Gt)})})};te("beforeInit",()=>{m.params.parallax.enabled&&(m.params.watchSlidesProgress=!0,m.originalParams.watchSlidesProgress=!0)}),te("init",()=>{m.params.parallax.enabled&&Be()}),te("setTranslate",()=>{m.params.parallax.enabled&&Be()}),te("setTransition",(mt,qe)=>{m.params.parallax.enabled&&((mt=m.params.speed)=>{const{el:qe}=m;qe.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach(Ye=>{let ut=parseInt(Ye.getAttribute("data-swiper-parallax-duration"),10)||mt;0===mt&&(ut=0),Ye.style.transitionDuration=`${ut}ms`})})(qe)})},function rs({swiper:m,extendParams:se,on:te,emit:ge}){const Be=_();se({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),m.zoom={enabled:!1};let qe,Ye,Re=1,mt=!1;const ut=[],ht={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},yt={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},Gt={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let Jt=1;function z(){return ut.length<2?1:Math.sqrt((ut[1].pageX-ut[0].pageX)**2+(ut[1].pageY-ut[0].pageY)**2)}function _e(ro){const Bo=function Ee(){return m.isElement?"swiper-slide":`.${m.params.slideClass}`}();return!!(ro.target.matches(Bo)||m.slides.filter(Mo=>Mo.contains(ro.target)).length>0)}function nt(ro){if("mouse"===ro.pointerType&&ut.splice(0,ut.length),!_e(ro))return;const Bo=m.params.zoom;if(qe=!1,Ye=!1,ut.push(ro),!(ut.length<2)){if(qe=!0,ht.scaleStart=z(),!ht.slideEl){ht.slideEl=ro.target.closest(`.${m.params.slideClass}, swiper-slide`),ht.slideEl||(ht.slideEl=m.slides[m.activeIndex]);let Mo=ht.slideEl.querySelector(`.${Bo.containerClass}`);if(Mo&&(Mo=Mo.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),ht.imageEl=Mo,ht.imageWrapEl=Mo?Bt(ht.imageEl,`.${Bo.containerClass}`)[0]:void 0,!ht.imageWrapEl)return void(ht.imageEl=void 0);ht.maxRatio=ht.imageWrapEl.getAttribute("data-swiper-zoom")||Bo.maxRatio}if(ht.imageEl){const[Mo,Di]=function Q(){if(ut.length<2)return{x:null,y:null};const ro=ht.imageEl.getBoundingClientRect();return[(ut[0].pageX+(ut[1].pageX-ut[0].pageX)/2-ro.x)/Re,(ut[0].pageY+(ut[1].pageY-ut[0].pageY)/2-ro.y)/Re]}();ht.originX=Mo,ht.originY=Di,ht.imageEl.style.transitionDuration="0ms"}mt=!0}}function Ut(ro){if(!_e(ro))return;const Bo=m.params.zoom,Mo=m.zoom,Di=ut.findIndex(Pi=>Pi.pointerId===ro.pointerId);Di>=0&&(ut[Di]=ro),!(ut.length<2)&&(Ye=!0,ht.scaleMove=z(),ht.imageEl&&(Mo.scale=ht.scaleMove/ht.scaleStart*Re,Mo.scale>ht.maxRatio&&(Mo.scale=ht.maxRatio-1+(Mo.scale-ht.maxRatio+1)**.5),Mo.scalePi.pointerId===ro.pointerId);Di>=0&&ut.splice(Di,1),qe&&Ye&&(qe=!1,Ye=!1,ht.imageEl&&(Mo.scale=Math.max(Math.min(Mo.scale,ht.maxRatio),Bo.minRatio),ht.imageEl.style.transitionDuration=`${m.params.speed}ms`,ht.imageEl.style.transform=`translate3d(0,0,0) scale(${Mo.scale})`,Re=Mo.scale,mt=!1,Mo.scale>1&&ht.slideEl?ht.slideEl.classList.add(`${Bo.zoomedSlideClass}`):Mo.scale<=1&&ht.slideEl&&ht.slideEl.classList.remove(`${Bo.zoomedSlideClass}`),1===Mo.scale&&(ht.originX=0,ht.originY=0,ht.slideEl=void 0)))}function Mn(ro){if(!_e(ro)||!function He(ro){const Bo=`.${m.params.zoom.containerClass}`;return!!(ro.target.matches(Bo)||[...m.el.querySelectorAll(Bo)].filter(Mo=>Mo.contains(ro.target)).length>0)}(ro))return;const Bo=m.zoom;if(!ht.imageEl||!yt.isTouched||!ht.slideEl)return;yt.isMoved||(yt.width=ht.imageEl.offsetWidth,yt.height=ht.imageEl.offsetHeight,yt.startX=R(ht.imageWrapEl,"x")||0,yt.startY=R(ht.imageWrapEl,"y")||0,ht.slideWidth=ht.slideEl.offsetWidth,ht.slideHeight=ht.slideEl.offsetHeight,ht.imageWrapEl.style.transitionDuration="0ms");const Mo=yt.width*Bo.scale,Di=yt.height*Bo.scale;if(Mo0?ut[0].pageX:ro.pageX,yt.touchesCurrent.y=ut.length>0?ut[0].pageY:ro.pageY,Math.max(Math.abs(yt.touchesCurrent.x-yt.touchesStart.x),Math.abs(yt.touchesCurrent.y-yt.touchesStart.y))>5&&(m.allowClick=!1),!yt.isMoved&&!mt){if(m.isHorizontal()&&(Math.floor(yt.minX)===Math.floor(yt.startX)&&yt.touchesCurrent.xyt.touchesStart.x))return void(yt.isTouched=!1);if(!m.isHorizontal()&&(Math.floor(yt.minY)===Math.floor(yt.startY)&&yt.touchesCurrent.yyt.touchesStart.y))return void(yt.isTouched=!1)}ro.cancelable&&ro.preventDefault(),ro.stopPropagation(),yt.isMoved=!0;const Dr=(Bo.scale-Re)/(ht.maxRatio-m.params.zoom.minRatio),{originX:ji,originY:gr}=ht;yt.currentX=yt.touchesCurrent.x-yt.touchesStart.x+yt.startX+Dr*(yt.width-2*ji),yt.currentY=yt.touchesCurrent.y-yt.touchesStart.y+yt.startY+Dr*(yt.height-2*gr),yt.currentXyt.maxX&&(yt.currentX=yt.maxX-1+(yt.currentX-yt.maxX+1)**.8),yt.currentYyt.maxY&&(yt.currentY=yt.maxY-1+(yt.currentY-yt.maxY+1)**.8),Gt.prevPositionX||(Gt.prevPositionX=yt.touchesCurrent.x),Gt.prevPositionY||(Gt.prevPositionY=yt.touchesCurrent.y),Gt.prevTime||(Gt.prevTime=Date.now()),Gt.x=(yt.touchesCurrent.x-Gt.prevPositionX)/(Date.now()-Gt.prevTime)/2,Gt.y=(yt.touchesCurrent.y-Gt.prevPositionY)/(Date.now()-Gt.prevTime)/2,Math.abs(yt.touchesCurrent.x-Gt.prevPositionX)<2&&(Gt.x=0),Math.abs(yt.touchesCurrent.y-Gt.prevPositionY)<2&&(Gt.y=0),Gt.prevPositionX=yt.touchesCurrent.x,Gt.prevPositionY=yt.touchesCurrent.y,Gt.prevTime=Date.now(),ht.imageWrapEl.style.transform=`translate3d(${yt.currentX}px, ${yt.currentY}px,0)`}function ve(){const ro=m.zoom;ht.slideEl&&m.activeIndex!==m.slides.indexOf(ht.slideEl)&&(ht.imageEl&&(ht.imageEl.style.transform="translate3d(0,0,0) scale(1)"),ht.imageWrapEl&&(ht.imageWrapEl.style.transform="translate3d(0,0,0)"),ht.slideEl.classList.remove(`${m.params.zoom.zoomedSlideClass}`),ro.scale=1,Re=1,ht.slideEl=void 0,ht.imageEl=void 0,ht.imageWrapEl=void 0,ht.originX=0,ht.originY=0)}function Fe(ro){const Bo=m.zoom,Mo=m.params.zoom;if(!ht.slideEl){ro&&ro.target&&(ht.slideEl=ro.target.closest(`.${m.params.slideClass}, swiper-slide`)),ht.slideEl||(ht.slideEl=m.params.virtual&&m.params.virtual.enabled&&m.virtual?ye(m.slidesEl,`.${m.params.slideActiveClass}`)[0]:m.slides[m.activeIndex]);let bi=ht.slideEl.querySelector(`.${Mo.containerClass}`);bi&&(bi=bi.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),ht.imageEl=bi,ht.imageWrapEl=bi?Bt(ht.imageEl,`.${Mo.containerClass}`)[0]:void 0}if(!ht.imageEl||!ht.imageWrapEl)return;let Di,Pi,Dr,ji,gr,N,xe,Ne,dt,zt,gn,xn,Yn,Do,Uo,oi,Ni,yr;m.params.cssMode&&(m.wrapperEl.style.overflow="hidden",m.wrapperEl.style.touchAction="none"),ht.slideEl.classList.add(`${Mo.zoomedSlideClass}`),typeof yt.touchesStart.x>"u"&&ro?(Di=ro.pageX,Pi=ro.pageY):(Di=yt.touchesStart.x,Pi=yt.touchesStart.y);const ir="number"==typeof ro?ro:null;1===Re&&ir&&(Di=void 0,Pi=void 0),Bo.scale=ir||ht.imageWrapEl.getAttribute("data-swiper-zoom")||Mo.maxRatio,Re=ir||ht.imageWrapEl.getAttribute("data-swiper-zoom")||Mo.maxRatio,!ro||1===Re&&ir?(xe=0,Ne=0):(Ni=ht.slideEl.offsetWidth,yr=ht.slideEl.offsetHeight,Dr=ke(ht.slideEl).left+Be.scrollX,ji=ke(ht.slideEl).top+Be.scrollY,gr=Dr+Ni/2-Di,N=ji+yr/2-Pi,dt=ht.imageEl.offsetWidth,zt=ht.imageEl.offsetHeight,gn=dt*Bo.scale,xn=zt*Bo.scale,Yn=Math.min(Ni/2-gn/2,0),Do=Math.min(yr/2-xn/2,0),Uo=-Yn,oi=-Do,xe=gr*Bo.scale,Ne=N*Bo.scale,xeUo&&(xe=Uo),Neoi&&(Ne=oi)),ir&&1===Bo.scale&&(ht.originX=0,ht.originY=0),ht.imageWrapEl.style.transitionDuration="300ms",ht.imageWrapEl.style.transform=`translate3d(${xe}px, ${Ne}px,0)`,ht.imageEl.style.transitionDuration="300ms",ht.imageEl.style.transform=`translate3d(0,0,0) scale(${Bo.scale})`}function Y(){const ro=m.zoom,Bo=m.params.zoom;if(!ht.slideEl){ht.slideEl=m.params.virtual&&m.params.virtual.enabled&&m.virtual?ye(m.slidesEl,`.${m.params.slideActiveClass}`)[0]:m.slides[m.activeIndex];let Mo=ht.slideEl.querySelector(`.${Bo.containerClass}`);Mo&&(Mo=Mo.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),ht.imageEl=Mo,ht.imageWrapEl=Mo?Bt(ht.imageEl,`.${Bo.containerClass}`)[0]:void 0}!ht.imageEl||!ht.imageWrapEl||(m.params.cssMode&&(m.wrapperEl.style.overflow="",m.wrapperEl.style.touchAction=""),ro.scale=1,Re=1,ht.imageWrapEl.style.transitionDuration="300ms",ht.imageWrapEl.style.transform="translate3d(0,0,0)",ht.imageEl.style.transitionDuration="300ms",ht.imageEl.style.transform="translate3d(0,0,0) scale(1)",ht.slideEl.classList.remove(`${Bo.zoomedSlideClass}`),ht.slideEl=void 0,ht.originX=0,ht.originY=0)}function Pe(ro){const Bo=m.zoom;Bo.scale&&1!==Bo.scale?Y():Fe(ro)}function Ue(){return{passiveListener:!!m.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!m.params.passiveListeners||{passive:!1,capture:!0}}}function Pn(){const ro=m.zoom;if(ro.enabled)return;ro.enabled=!0;const{passiveListener:Bo,activeListenerWithCapture:Mo}=Ue();m.wrapperEl.addEventListener("pointerdown",nt,Bo),m.wrapperEl.addEventListener("pointermove",Ut,Mo),["pointerup","pointercancel","pointerout"].forEach(Di=>{m.wrapperEl.addEventListener(Di,an,Bo)}),m.wrapperEl.addEventListener("pointermove",Mn,Mo)}function ao(){const ro=m.zoom;if(!ro.enabled)return;ro.enabled=!1;const{passiveListener:Bo,activeListenerWithCapture:Mo}=Ue();m.wrapperEl.removeEventListener("pointerdown",nt,Bo),m.wrapperEl.removeEventListener("pointermove",Ut,Mo),["pointerup","pointercancel","pointerout"].forEach(Di=>{m.wrapperEl.removeEventListener(Di,an,Bo)}),m.wrapperEl.removeEventListener("pointermove",Mn,Mo)}Object.defineProperty(m.zoom,"scale",{get:()=>Jt,set(ro){Jt!==ro&&ge("zoomChange",ro,ht.imageEl,ht.slideEl),Jt=ro}}),te("init",()=>{m.params.zoom.enabled&&Pn()}),te("destroy",()=>{ao()}),te("touchStart",(ro,Bo)=>{m.zoom.enabled&&function on(ro){if(!ht.imageEl||yt.isTouched)return;m.device.android&&ro.cancelable&&ro.preventDefault(),yt.isTouched=!0;const Mo=ut.length>0?ut[0]:ro;yt.touchesStart.x=Mo.pageX,yt.touchesStart.y=Mo.pageY}(Bo)}),te("touchEnd",(ro,Bo)=>{m.zoom.enabled&&function Xt(){const ro=m.zoom;if(!ht.imageEl)return;if(!yt.isTouched||!yt.isMoved)return yt.isTouched=!1,void(yt.isMoved=!1);yt.isTouched=!1,yt.isMoved=!1;let Bo=300,Mo=300;const Pi=yt.currentX+Gt.x*Bo,ji=yt.currentY+Gt.y*Mo;0!==Gt.x&&(Bo=Math.abs((Pi-yt.currentX)/Gt.x)),0!==Gt.y&&(Mo=Math.abs((ji-yt.currentY)/Gt.y));const gr=Math.max(Bo,Mo);yt.currentX=Pi,yt.currentY=ji;const xe=yt.height*ro.scale;yt.minX=Math.min(ht.slideWidth/2-yt.width*ro.scale/2,0),yt.maxX=-yt.minX,yt.minY=Math.min(ht.slideHeight/2-xe/2,0),yt.maxY=-yt.minY,yt.currentX=Math.max(Math.min(yt.currentX,yt.maxX),yt.minX),yt.currentY=Math.max(Math.min(yt.currentY,yt.maxY),yt.minY),ht.imageWrapEl.style.transitionDuration=`${gr}ms`,ht.imageWrapEl.style.transform=`translate3d(${yt.currentX}px, ${yt.currentY}px,0)`}()}),te("doubleTap",(ro,Bo)=>{!m.animating&&m.params.zoom.enabled&&m.zoom.enabled&&m.params.zoom.toggle&&Pe(Bo)}),te("transitionEnd",()=>{m.zoom.enabled&&m.params.zoom.enabled&&ve()}),te("slideChange",()=>{m.zoom.enabled&&m.params.zoom.enabled&&m.params.cssMode&&ve()}),Object.assign(m.zoom,{enable:Pn,disable:ao,in:Fe,out:Y,toggle:Pe})},function Ir({swiper:m,extendParams:se,on:te}){function ge(Ye,ut){const ht=function(){let z,Q,Ee;return(_e,He)=>{for(Q=-1,z=_e.length;z-Q>1;)Ee=z+Q>>1,_e[Ee]<=He?Q=Ee:z=Ee;return z}}();let yt,Gt;return this.x=Ye,this.y=ut,this.lastIndex=Ye.length-1,this.interpolate=function(z){return z?(Gt=ht(this.x,z),yt=Gt-1,(z-this.x[yt])*(this.y[Gt]-this.y[yt])/(this.x[Gt]-this.x[yt])+this.y[yt]):0},this}function qe(){m.controller.control&&m.controller.spline&&(m.controller.spline=void 0,delete m.controller.spline)}se({controller:{control:void 0,inverse:!1,by:"slide"}}),m.controller={control:void 0},te("beforeInit",()=>{if(typeof window<"u"&&("string"==typeof m.params.controller.control||m.params.controller.control instanceof HTMLElement)){const Ye=document.querySelector(m.params.controller.control);if(Ye&&Ye.swiper)m.controller.control=Ye.swiper;else if(Ye){const ut=ht=>{m.controller.control=ht.detail[0],m.update(),Ye.removeEventListener("init",ut)};Ye.addEventListener("init",ut)}}else m.controller.control=m.params.controller.control}),te("update",()=>{qe()}),te("resize",()=>{qe()}),te("observerUpdate",()=>{qe()}),te("setTranslate",(Ye,ut,ht)=>{!m.controller.control||m.controller.control.destroyed||m.controller.setTranslate(ut,ht)}),te("setTransition",(Ye,ut,ht)=>{!m.controller.control||m.controller.control.destroyed||m.controller.setTransition(ut,ht)}),Object.assign(m.controller,{setTranslate:function Re(Ye,ut){const ht=m.controller.control;let yt,Gt;const Jt=m.constructor;function z(Q){if(Q.destroyed)return;const Ee=m.rtlTranslate?-m.translate:m.translate;"slide"===m.params.controller.by&&(function Be(Ye){m.controller.spline=m.params.loop?new ge(m.slidesGrid,Ye.slidesGrid):new ge(m.snapGrid,Ye.snapGrid)}(Q),Gt=-m.controller.spline.interpolate(-Ee)),(!Gt||"container"===m.params.controller.by)&&(yt=(Q.maxTranslate()-Q.minTranslate())/(m.maxTranslate()-m.minTranslate()),(Number.isNaN(yt)||!Number.isFinite(yt))&&(yt=1),Gt=(Ee-m.minTranslate())*yt+Q.minTranslate()),m.params.controller.inverse&&(Gt=Q.maxTranslate()-Gt),Q.updateProgress(Gt),Q.setTranslate(Gt,m),Q.updateActiveIndex(),Q.updateSlidesClasses()}if(Array.isArray(ht))for(let Q=0;Q{z.updateAutoHeight()}),et(z.wrapperEl,()=>{yt&&z.transitionEnd()})))}if(Array.isArray(yt))for(Gt=0;Gt(Array.isArray(Ue)||(Ue=[Ue].filter(Pn=>!!Pn)),Ue);function qe(Ue){(Ue=Re(Ue)).forEach(Pn=>{Pn.setAttribute("tabIndex","0")})}function Ye(Ue){(Ue=Re(Ue)).forEach(Pn=>{Pn.setAttribute("tabIndex","-1")})}function ut(Ue,Pn){(Ue=Re(Ue)).forEach(ao=>{ao.setAttribute("role",Pn)})}function ht(Ue,Pn){(Ue=Re(Ue)).forEach(ao=>{ao.setAttribute("aria-roledescription",Pn)})}function Gt(Ue,Pn){(Ue=Re(Ue)).forEach(ao=>{ao.setAttribute("aria-label",Pn)})}function Q(Ue){(Ue=Re(Ue)).forEach(Pn=>{Pn.setAttribute("aria-disabled",!0)})}function Ee(Ue){(Ue=Re(Ue)).forEach(Pn=>{Pn.setAttribute("aria-disabled",!1)})}function _e(Ue){if(13!==Ue.keyCode&&32!==Ue.keyCode)return;const Pn=m.params.a11y,ao=Ue.target;m.pagination&&m.pagination.el&&(ao===m.pagination.el||m.pagination.el.contains(Ue.target))&&!Ue.target.matches(ts(m.params.pagination.bulletClass))||(m.navigation&&m.navigation.nextEl&&ao===m.navigation.nextEl&&(m.isEnd&&!m.params.loop||m.slideNext(),Be(m.isEnd?Pn.lastSlideMessage:Pn.nextSlideMessage)),m.navigation&&m.navigation.prevEl&&ao===m.navigation.prevEl&&(m.isBeginning&&!m.params.loop||m.slidePrev(),Be(m.isBeginning?Pn.firstSlideMessage:Pn.prevSlideMessage)),m.pagination&&ao.matches(ts(m.params.pagination.bulletClass))&&ao.click())}function nt(){return m.pagination&&m.pagination.bullets&&m.pagination.bullets.length}function Ut(){return nt()&&m.params.pagination.clickable}const on=(Ue,Pn,ao)=>{qe(Ue),"BUTTON"!==Ue.tagName&&(ut(Ue,"button"),Ue.addEventListener("keydown",_e)),Gt(Ue,ao),function yt(Ue,Pn){(Ue=Re(Ue)).forEach(ao=>{ao.setAttribute("aria-controls",Pn)})}(Ue,Pn)},Mn=()=>{m.a11y.clicked=!0},Xt=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{m.destroyed||(m.a11y.clicked=!1)})})},ve=Ue=>{if(m.a11y.clicked)return;const Pn=Ue.target.closest(`.${m.params.slideClass}, swiper-slide`);if(!Pn||!m.slides.includes(Pn))return;const ao=m.slides.indexOf(Pn)===m.activeIndex,ro=m.params.watchSlidesProgress&&m.visibleSlides&&m.visibleSlides.includes(Pn);ao||ro||Ue.sourceCapabilities&&Ue.sourceCapabilities.firesTouchEvents||(m.isHorizontal()?m.el.scrollLeft=0:m.el.scrollTop=0,m.slideTo(m.slides.indexOf(Pn),0))},Fe=()=>{const Ue=m.params.a11y;Ue.itemRoleDescriptionMessage&&ht(m.slides,Ue.itemRoleDescriptionMessage),Ue.slideRole&&ut(m.slides,Ue.slideRole);const Pn=m.slides.length;Ue.slideLabelMessage&&m.slides.forEach((ao,ro)=>{const Bo=m.params.loop?parseInt(ao.getAttribute("data-swiper-slide-index"),10):ro;Gt(ao,Ue.slideLabelMessage.replace(/\{\{index\}\}/,Bo+1).replace(/\{\{slidesLength\}\}/,Pn))})};te("beforeInit",()=>{ge=je("span",m.params.a11y.notificationClass),ge.setAttribute("aria-live","assertive"),ge.setAttribute("aria-atomic","true")}),te("afterInit",()=>{m.params.a11y.enabled&&(()=>{const Ue=m.params.a11y;m.isElement?m.el.shadowEl.append(ge):m.el.append(ge);const Pn=m.el;Ue.containerRoleDescriptionMessage&&ht(Pn,Ue.containerRoleDescriptionMessage),Ue.containerMessage&&Gt(Pn,Ue.containerMessage);const ao=m.wrapperEl,ro=Ue.id||ao.getAttribute("id")||`swiper-wrapper-${function mt(Ue=16){return"x".repeat(Ue).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`,Bo=m.params.autoplay&&m.params.autoplay.enabled?"off":"polite";(function Jt(Ue,Pn){(Ue=Re(Ue)).forEach(ao=>{ao.setAttribute("id",Pn)})})(ao,ro),function z(Ue,Pn){(Ue=Re(Ue)).forEach(ao=>{ao.setAttribute("aria-live",Pn)})}(ao,Bo),Fe();let{nextEl:Mo,prevEl:Di}=m.navigation?m.navigation:{};Mo=Re(Mo),Di=Re(Di),Mo&&Mo.forEach(Pi=>on(Pi,ro,Ue.nextSlideMessage)),Di&&Di.forEach(Pi=>on(Pi,ro,Ue.prevSlideMessage)),Ut()&&(Array.isArray(m.pagination.el)?m.pagination.el:[m.pagination.el]).forEach(Dr=>{Dr.addEventListener("keydown",_e)}),m.el.addEventListener("focus",ve,!0),m.el.addEventListener("pointerdown",Mn,!0),m.el.addEventListener("pointerup",Xt,!0)})()}),te("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{m.params.a11y.enabled&&Fe()}),te("fromEdge toEdge afterInit lock unlock",()=>{m.params.a11y.enabled&&function He(){if(m.params.loop||m.params.rewind||!m.navigation)return;const{nextEl:Ue,prevEl:Pn}=m.navigation;Pn&&(m.isBeginning?(Q(Pn),Ye(Pn)):(Ee(Pn),qe(Pn))),Ue&&(m.isEnd?(Q(Ue),Ye(Ue)):(Ee(Ue),qe(Ue)))}()}),te("paginationUpdate",()=>{m.params.a11y.enabled&&function an(){const Ue=m.params.a11y;nt()&&m.pagination.bullets.forEach(Pn=>{m.params.pagination.clickable&&(qe(Pn),m.params.pagination.renderBullet||(ut(Pn,"button"),Gt(Pn,Ue.paginationBulletMessage.replace(/\{\{index\}\}/,Mt(Pn)+1)))),Pn.matches(ts(m.params.pagination.bulletActiveClass))?Pn.setAttribute("aria-current","true"):Pn.removeAttribute("aria-current")})}()}),te("destroy",()=>{m.params.a11y.enabled&&function Pe(){ge&&ge.remove();let{nextEl:Ue,prevEl:Pn}=m.navigation?m.navigation:{};Ue=Re(Ue),Pn=Re(Pn),Ue&&Ue.forEach(ao=>ao.removeEventListener("keydown",_e)),Pn&&Pn.forEach(ao=>ao.removeEventListener("keydown",_e)),Ut()&&(Array.isArray(m.pagination.el)?m.pagination.el:[m.pagination.el]).forEach(ro=>{ro.removeEventListener("keydown",_e)}),m.el.removeEventListener("focus",ve,!0),m.el.removeEventListener("pointerdown",Mn,!0),m.el.removeEventListener("pointerup",Xt,!0)}()})},function Cs({swiper:m,extendParams:se,on:te}){se({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let ge=!1,Be={};const Re=Gt=>Gt.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),mt=Gt=>{const Jt=_();let z;z=Gt?new URL(Gt):Jt.location;const Q=z.pathname.slice(1).split("/").filter(nt=>""!==nt),Ee=Q.length;return{key:Q[Ee-2],value:Q[Ee-1]}},qe=(Gt,Jt)=>{const z=_();if(!ge||!m.params.history.enabled)return;let Q;Q=m.params.url?new URL(m.params.url):z.location;let _e=Re(m.slides[Jt].getAttribute("data-history"));if(m.params.history.root.length>0){let nt=m.params.history.root;"/"===nt[nt.length-1]&&(nt=nt.slice(0,nt.length-1)),_e=`${nt}/${Gt?`${Gt}/`:""}${_e}`}else Q.pathname.includes(Gt)||(_e=`${Gt?`${Gt}/`:""}${_e}`);m.params.history.keepQuery&&(_e+=Q.search);const He=z.history.state;He&&He.value===_e||(m.params.history.replaceState?z.history.replaceState({value:_e},null,_e):z.history.pushState({value:_e},null,_e))},Ye=(Gt,Jt,z)=>{if(Jt)for(let Q=0,Ee=m.slides.length;Q{Be=mt(m.params.url),Ye(m.params.speed,Be.value,!1)};te("init",()=>{m.params.history.enabled&&(()=>{const Gt=_();if(m.params.history){if(!Gt.history||!Gt.history.pushState)return m.params.history.enabled=!1,void(m.params.hashNavigation.enabled=!0);if(ge=!0,Be=mt(m.params.url),!Be.key&&!Be.value)return void(m.params.history.replaceState||Gt.addEventListener("popstate",ut));Ye(0,Be.value,m.params.runCallbacksOnInit),m.params.history.replaceState||Gt.addEventListener("popstate",ut)}})()}),te("destroy",()=>{m.params.history.enabled&&(()=>{const Gt=_();m.params.history.replaceState||Gt.removeEventListener("popstate",ut)})()}),te("transitionEnd _freeModeNoMomentumRelease",()=>{ge&&qe(m.params.history.key,m.activeIndex)}),te("slideChange",()=>{ge&&m.params.cssMode&&qe(m.params.history.key,m.activeIndex)})},function ps({swiper:m,extendParams:se,emit:te,on:ge}){let Be=!1;const Re=s(),mt=_();se({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(yt,Gt){if(m.virtual&&m.params.virtual.enabled){const Jt=m.slides.filter(Q=>Q.getAttribute("data-hash")===Gt)[0];return Jt?parseInt(Jt.getAttribute("data-swiper-slide-index"),10):0}return m.getSlideIndex(ye(m.slidesEl,`.${m.params.slideClass}[data-hash="${Gt}"], swiper-slide[data-hash="${Gt}"]`)[0])}}});const qe=()=>{te("hashChange");const yt=Re.location.hash.replace("#",""),Gt=m.virtual&&m.params.virtual.enabled?m.slidesEl.querySelector(`[data-swiper-slide-index="${m.activeIndex}"]`):m.slides[m.activeIndex];if(yt!==(Gt?Gt.getAttribute("data-hash"):"")){const z=m.params.hashNavigation.getSlideIndex(m,yt);if(typeof z>"u"||Number.isNaN(z))return;m.slideTo(z)}},Ye=()=>{if(!Be||!m.params.hashNavigation.enabled)return;const yt=m.virtual&&m.params.virtual.enabled?m.slidesEl.querySelector(`[data-swiper-slide-index="${m.activeIndex}"]`):m.slides[m.activeIndex],Gt=yt?yt.getAttribute("data-hash")||yt.getAttribute("data-history"):"";m.params.hashNavigation.replaceState&&mt.history&&mt.history.replaceState?(mt.history.replaceState(null,null,`#${Gt}`||""),te("hashSet")):(Re.location.hash=Gt||"",te("hashSet"))};ge("init",()=>{m.params.hashNavigation.enabled&&(()=>{if(!m.params.hashNavigation.enabled||m.params.history&&m.params.history.enabled)return;Be=!0;const yt=Re.location.hash.replace("#","");if(yt){const Jt=m.params.hashNavigation.getSlideIndex(m,yt);m.slideTo(Jt||0,0,m.params.runCallbacksOnInit,!0)}m.params.hashNavigation.watchState&&mt.addEventListener("hashchange",qe)})()}),ge("destroy",()=>{m.params.hashNavigation.enabled&&m.params.hashNavigation.watchState&&mt.removeEventListener("hashchange",qe)}),ge("transitionEnd _freeModeNoMomentumRelease",()=>{Be&&Ye()}),ge("slideChange",()=>{Be&&m.params.cssMode&&Ye()})},function vi({swiper:m,extendParams:se,on:te,emit:ge,params:Be}){m.autoplay={running:!1,paused:!1,timeLeft:0},se({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let Re,mt,ut,yt,Gt,Jt,z,Q,Ee,qe=Be&&Be.autoplay?Be.autoplay.delay:3e3,Ye=Be&&Be.autoplay?Be.autoplay.delay:3e3,ht=(new Date).getTime;function _e(ro){!m||m.destroyed||!m.wrapperEl||ro.target===m.wrapperEl&&(m.wrapperEl.removeEventListener("transitionend",_e),Xt())}const He=()=>{if(m.destroyed||!m.autoplay.running)return;m.autoplay.paused?yt=!0:yt&&(Ye=ut,yt=!1);const ro=m.autoplay.paused?ut:ht+Ye-(new Date).getTime();m.autoplay.timeLeft=ro,ge("autoplayTimeLeft",ro,ro/qe),mt=requestAnimationFrame(()=>{He()})},Ut=ro=>{if(m.destroyed||!m.autoplay.running)return;cancelAnimationFrame(mt),He();let Bo=typeof ro>"u"?m.params.autoplay.delay:ro;qe=m.params.autoplay.delay,Ye=m.params.autoplay.delay;const Mo=(()=>{let ro;return ro=m.virtual&&m.params.virtual.enabled?m.slides.filter(Mo=>Mo.classList.contains("swiper-slide-active"))[0]:m.slides[m.activeIndex],ro?parseInt(ro.getAttribute("data-swiper-autoplay"),10):void 0})();!Number.isNaN(Mo)&&Mo>0&&typeof ro>"u"&&(Bo=Mo,qe=Mo,Ye=Mo),ut=Bo;const Di=m.params.speed,Pi=()=>{!m||m.destroyed||(m.params.autoplay.reverseDirection?!m.isBeginning||m.params.loop||m.params.rewind?(m.slidePrev(Di,!0,!0),ge("autoplay")):m.params.autoplay.stopOnLastSlide||(m.slideTo(m.slides.length-1,Di,!0,!0),ge("autoplay")):!m.isEnd||m.params.loop||m.params.rewind?(m.slideNext(Di,!0,!0),ge("autoplay")):m.params.autoplay.stopOnLastSlide||(m.slideTo(0,Di,!0,!0),ge("autoplay")),m.params.cssMode&&(ht=(new Date).getTime(),requestAnimationFrame(()=>{Ut()})))};return Bo>0?(clearTimeout(Re),Re=setTimeout(()=>{Pi()},Bo)):requestAnimationFrame(()=>{Pi()}),Bo},an=()=>{m.autoplay.running=!0,Ut(),ge("autoplayStart")},on=()=>{m.autoplay.running=!1,clearTimeout(Re),cancelAnimationFrame(mt),ge("autoplayStop")},Mn=(ro,Bo)=>{if(m.destroyed||!m.autoplay.running)return;clearTimeout(Re),ro||(Ee=!0);const Mo=()=>{ge("autoplayPause"),m.params.autoplay.waitForTransition?m.wrapperEl.addEventListener("transitionend",_e):Xt()};if(m.autoplay.paused=!0,Bo)return Q&&(ut=m.params.autoplay.delay),Q=!1,void Mo();ut=(ut||m.params.autoplay.delay)-((new Date).getTime()-ht),(!(m.isEnd&&ut<0)||m.params.loop)&&(ut<0&&(ut=0),Mo())},Xt=()=>{m.isEnd&&ut<0&&!m.params.loop||m.destroyed||!m.autoplay.running||(ht=(new Date).getTime(),Ee?(Ee=!1,Ut(ut)):Ut(),m.autoplay.paused=!1,ge("autoplayResume"))},ve=()=>{if(m.destroyed||!m.autoplay.running)return;const ro=s();"hidden"===ro.visibilityState&&(Ee=!0,Mn(!0)),"visible"===ro.visibilityState&&Xt()},Fe=ro=>{"mouse"===ro.pointerType&&(Ee=!0,Mn(!0))},Y=ro=>{"mouse"===ro.pointerType&&m.autoplay.paused&&Xt()};te("init",()=>{m.params.autoplay.enabled&&(m.params.autoplay.pauseOnMouseEnter&&(m.el.addEventListener("pointerenter",Fe),m.el.addEventListener("pointerleave",Y)),s().addEventListener("visibilitychange",ve),ht=(new Date).getTime(),an())}),te("destroy",()=>{m.el.removeEventListener("pointerenter",Fe),m.el.removeEventListener("pointerleave",Y),s().removeEventListener("visibilitychange",ve),m.autoplay.running&&on()}),te("beforeTransitionStart",(ro,Bo,Mo)=>{m.destroyed||!m.autoplay.running||(Mo||!m.params.autoplay.disableOnInteraction?Mn(!0,!0):on())}),te("sliderFirstMove",()=>{if(!m.destroyed&&m.autoplay.running){if(m.params.autoplay.disableOnInteraction)return void on();Gt=!0,Jt=!1,Ee=!1,z=setTimeout(()=>{Ee=!0,Jt=!0,Mn(!0)},200)}}),te("touchEnd",()=>{if(!m.destroyed&&m.autoplay.running&&Gt){if(clearTimeout(z),clearTimeout(Re),m.params.autoplay.disableOnInteraction)return Jt=!1,void(Gt=!1);Jt&&m.params.cssMode&&Xt(),Jt=!1,Gt=!1}}),te("slideChange",()=>{m.destroyed||!m.autoplay.running||(Q=!0)}),Object.assign(m.autoplay,{start:an,stop:on,pause:Mn,resume:Xt})},function As({swiper:m,extendParams:se,on:te}){se({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let ge=!1,Be=!1;function Re(){const Ye=m.thumbs.swiper;if(!Ye||Ye.destroyed)return;const ut=Ye.clickedIndex,ht=Ye.clickedSlide;if(ht&&ht.classList.contains(m.params.thumbs.slideThumbActiveClass)||typeof ut>"u"||null===ut)return;let yt;yt=Ye.params.loop?parseInt(Ye.clickedSlide.getAttribute("data-swiper-slide-index"),10):ut,m.params.loop?m.slideToLoop(yt):m.slideTo(yt)}function mt(){const{thumbs:Ye}=m.params;if(ge)return!1;ge=!0;const ut=m.constructor;if(Ye.swiper instanceof ut)m.thumbs.swiper=Ye.swiper,Object.assign(m.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(m.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),m.thumbs.swiper.update();else if(H(Ye.swiper)){const ht=Object.assign({},Ye.swiper);Object.assign(ht,{watchSlidesProgress:!0,slideToClickedSlide:!1}),m.thumbs.swiper=new ut(ht),Be=!0}return m.thumbs.swiper.el.classList.add(m.params.thumbs.thumbsContainerClass),m.thumbs.swiper.on("tap",Re),!0}function qe(Ye){const ut=m.thumbs.swiper;if(!ut||ut.destroyed)return;const ht="auto"===ut.params.slidesPerView?ut.slidesPerViewDynamic():ut.params.slidesPerView;let yt=1;const Gt=m.params.thumbs.slideThumbActiveClass;if(m.params.slidesPerView>1&&!m.params.centeredSlides&&(yt=m.params.slidesPerView),m.params.thumbs.multipleActiveThumbs||(yt=1),yt=Math.floor(yt),ut.slides.forEach(Q=>Q.classList.remove(Gt)),ut.params.loop||ut.params.virtual&&ut.params.virtual.enabled)for(let Q=0;Q{Ee.classList.add(Gt)});else for(let Q=0;Qnt.getAttribute("data-swiper-slide-index")===`${m.realIndex}`)[0];Ee=ut.slides.indexOf(He),_e=m.activeIndex>m.previousIndex?"next":"prev"}else Ee=m.realIndex,_e=Ee>m.previousIndex?"next":"prev";z&&(Ee+="next"===_e?Jt:-1*Jt),ut.visibleSlidesIndexes&&ut.visibleSlidesIndexes.indexOf(Ee)<0&&(ut.params.centeredSlides&&(Ee=Ee>Q?Ee-Math.floor(ht/2)+1:Ee+Math.floor(ht/2)-1),ut.slideTo(Ee,Ye?0:void 0))}}m.thumbs={swiper:null},te("beforeInit",()=>{const{thumbs:Ye}=m.params;if(Ye&&Ye.swiper)if("string"==typeof Ye.swiper||Ye.swiper instanceof HTMLElement){const ut=s(),ht=()=>{const Gt="string"==typeof Ye.swiper?ut.querySelector(Ye.swiper):Ye.swiper;if(Gt&&Gt.swiper)Ye.swiper=Gt.swiper,mt(),qe(!0);else if(Gt){const Jt=z=>{Ye.swiper=z.detail[0],Gt.removeEventListener("init",Jt),mt(),qe(!0),Ye.swiper.update(),m.update()};Gt.addEventListener("init",Jt)}return Gt},yt=()=>{m.destroyed||ht()||requestAnimationFrame(yt)};requestAnimationFrame(yt)}else mt(),qe(!0)}),te("slideChange update resize observerUpdate",()=>{qe()}),te("setTransition",(Ye,ut)=>{const ht=m.thumbs.swiper;!ht||ht.destroyed||ht.setTransition(ut)}),te("beforeDestroy",()=>{const Ye=m.thumbs.swiper;!Ye||Ye.destroyed||Be&&Ye.destroy()}),Object.assign(m.thumbs,{init:mt,update:qe})},function Ps({swiper:m,extendParams:se,emit:te,once:ge}){se({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(m,{freeMode:{onTouchStart:function Be(){if(m.params.cssMode)return;const qe=m.getTranslate();m.setTranslate(qe),m.setTransition(0),m.touchEventsData.velocities.length=0,m.freeMode.onTouchEnd({currentPos:m.rtl?m.translate:-m.translate})},onTouchMove:function Re(){if(m.params.cssMode)return;const{touchEventsData:qe,touches:Ye}=m;0===qe.velocities.length&&qe.velocities.push({position:Ye[m.isHorizontal()?"startX":"startY"],time:qe.touchStartTime}),qe.velocities.push({position:Ye[m.isHorizontal()?"currentX":"currentY"],time:M()})},onTouchEnd:function mt({currentPos:qe}){if(m.params.cssMode)return;const{params:Ye,wrapperEl:ut,rtlTranslate:ht,snapGrid:yt,touchEventsData:Gt}=m,z=M()-Gt.touchStartTime;if(qe<-m.minTranslate())m.slideTo(m.activeIndex);else if(qe>-m.maxTranslate())m.slideTo(m.slides.length1){const on=Gt.velocities.pop(),Mn=Gt.velocities.pop(),ve=on.time-Mn.time;m.velocity=(on.position-Mn.position)/ve,m.velocity/=2,Math.abs(m.velocity)150||M()-on.time>300)&&(m.velocity=0)}else m.velocity=0;m.velocity*=Ye.freeMode.momentumVelocityRatio,Gt.velocities.length=0;let Q=1e3*Ye.freeMode.momentumRatio,_e=m.translate+m.velocity*Q;ht&&(_e=-_e);let nt,He=!1;const Ut=20*Math.abs(m.velocity)*Ye.freeMode.momentumBounceRatio;let an;if(_em.minTranslate())Ye.freeMode.momentumBounce?(_e-m.minTranslate()>Ut&&(_e=m.minTranslate()+Ut),nt=m.minTranslate(),He=!0,Gt.allowMomentumBounce=!0):_e=m.minTranslate(),Ye.loop&&Ye.centeredSlides&&(an=!0);else if(Ye.freeMode.sticky){let on;for(let Mn=0;Mn-_e){on=Mn;break}_e=Math.abs(yt[on]-_e){m.loopFix()}),0!==m.velocity){if(Q=ht?Math.abs((-_e-m.translate)/m.velocity):Math.abs((_e-m.translate)/m.velocity),Ye.freeMode.sticky){const on=Math.abs((ht?-_e:_e)-m.translate),Mn=m.slidesSizesGrid[m.activeIndex];Q=on{!m||m.destroyed||!Gt.allowMomentumBounce||(te("momentumBounce"),m.setTransition(Ye.speed),setTimeout(()=>{m.setTranslate(nt),et(ut,()=>{!m||m.destroyed||m.transitionEnd()})},0))})):m.velocity?(te("_freeModeNoMomentumRelease"),m.updateProgress(_e),m.setTransition(Q),m.setTranslate(_e),m.transitionStart(!0,m.swipeDirection),m.animating||(m.animating=!0,et(ut,()=>{!m||m.destroyed||m.transitionEnd()}))):m.updateProgress(_e),m.updateActiveIndex(),m.updateSlidesClasses()}else{if(Ye.freeMode.sticky)return void m.slideToClosest();Ye.freeMode&&te("_freeModeNoMomentumRelease")}(!Ye.freeMode.momentum||z>=Ye.longSwipesMs)&&(m.updateProgress(),m.updateActiveIndex(),m.updateSlidesClasses())}}}})},function ys({swiper:m,extendParams:se}){let te,ge,Be;se({grid:{rows:1,fill:"column"}});const Re=()=>{let ut=m.params.spaceBetween;return"string"==typeof ut&&ut.indexOf("%")>=0?ut=parseFloat(ut.replace("%",""))/100*m.size:"string"==typeof ut&&(ut=parseFloat(ut)),ut};m.grid={initSlides:ut=>{const{slidesPerView:ht}=m.params,{rows:yt,fill:Gt}=m.params.grid;Be=Math.floor(ut/yt),te=Math.floor(ut/yt)===ut/yt?ut:Math.ceil(ut/yt)*yt,"auto"!==ht&&"row"===Gt&&(te=Math.max(te,ht*yt)),ge=te/yt},updateSlide:(ut,ht,yt,Gt)=>{const{slidesPerGroup:Jt}=m.params,z=Re(),{rows:Q,fill:Ee}=m.params.grid;let _e,He,nt;if("row"===Ee&&Jt>1){const Ut=Math.floor(ut/(Jt*Q)),an=ut-Q*Jt*Ut,on=0===Ut?Jt:Math.min(Math.ceil((yt-Ut*Q*Jt)/Q),Jt);nt=Math.floor(an/on),He=an-nt*on+Ut*Jt,_e=He+nt*te/Q,ht.style.order=_e}else"column"===Ee?(He=Math.floor(ut/Q),nt=ut-He*Q,(He>Be||He===Be&&nt===Q-1)&&(nt+=1,nt>=Q&&(nt=0,He+=1))):(nt=Math.floor(ut/ge),He=ut-nt*ge);ht.row=nt,ht.column=He,ht.style[Gt("margin-top")]=0!==nt?z&&`${z}px`:""},updateWrapperSize:(ut,ht,yt)=>{const{centeredSlides:Gt,roundLengths:Jt}=m.params,z=Re(),{rows:Q}=m.params.grid;if(m.virtualSize=(ut+z)*te,m.virtualSize=Math.ceil(m.virtualSize/Q)-z,m.wrapperEl.style[yt("width")]=`${m.virtualSize+z}px`,Gt){const Ee=[];for(let _e=0;_e{const{slides:Re}=m;for(let qe=0;qe{const mt=m.slides.map(qe=>be(qe));mt.forEach(qe=>{qe.style.transitionDuration=`${Re}ms`}),Rt({swiper:m,duration:Re,transformElements:mt,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!m.params.cssMode})})},function Dt({swiper:m,extendParams:se,on:te}){se({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const ge=(qe,Ye,ut)=>{let ht=qe.querySelector(ut?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),yt=qe.querySelector(ut?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");ht||(ht=je("div","swiper-slide-shadow-"+(ut?"left":"top")),qe.append(ht)),yt||(yt=je("div","swiper-slide-shadow-"+(ut?"right":"bottom")),qe.append(yt)),ht&&(ht.style.opacity=Math.max(-Ye,0)),yt&&(yt.style.opacity=Math.max(Ye,0))};ws({effect:"cube",swiper:m,on:te,setTranslate:()=>{const{el:qe,wrapperEl:Ye,slides:ut,width:ht,height:yt,rtlTranslate:Gt,size:Jt,browser:z}=m,Q=m.params.cubeEffect,Ee=m.isHorizontal(),_e=m.virtual&&m.params.virtual.enabled;let nt,He=0;Q.shadow&&(Ee?(nt=m.slidesEl.querySelector(".swiper-cube-shadow"),nt||(nt=je("div","swiper-cube-shadow"),m.slidesEl.append(nt)),nt.style.height=`${ht}px`):(nt=qe.querySelector(".swiper-cube-shadow"),nt||(nt=je("div","swiper-cube-shadow"),qe.append(nt))));for(let an=0;an-1&&(He=90*Mn+90*Fe,Gt&&(He=90*-Mn-90*Fe)),on.style.transform=`rotateX(${Ee?0:-Xt}deg) rotateY(${Ee?Xt:0}deg) translate3d(${Y}px, ${Pe}px, ${Ue}px)`,Q.slideShadows&&ge(on,Fe,Ee)}if(Ye.style.transformOrigin=`50% 50% -${Jt/2}px`,Ye.style["-webkit-transform-origin"]=`50% 50% -${Jt/2}px`,Q.shadow)if(Ee)nt.style.transform=`translate3d(0px, ${ht/2+Q.shadowOffset}px, ${-ht/2}px) rotateX(90deg) rotateZ(0deg) scale(${Q.shadowScale})`;else{const an=Math.abs(He)-90*Math.floor(Math.abs(He)/90),on=1.5-(Math.sin(2*an*Math.PI/360)/2+Math.cos(2*an*Math.PI/360)/2),Xt=Q.shadowScale/on;nt.style.transform=`scale3d(${Q.shadowScale}, 1, ${Xt}) translate3d(0px, ${yt/2+Q.shadowOffset}px, ${-yt/2/Xt}px) rotateX(-90deg)`}const Ut=(z.isSafari||z.isWebView)&&z.needPerspectiveFix?-Jt/2:0;Ye.style.transform=`translate3d(0px,0,${Ut}px) rotateX(${m.isHorizontal()?0:He}deg) rotateY(${m.isHorizontal()?-He:0}deg)`,Ye.style.setProperty("--swiper-cube-translate-z",`${Ut}px`)},setTransition:qe=>{const{el:Ye,slides:ut}=m;if(ut.forEach(ht=>{ht.style.transitionDuration=`${qe}ms`,ht.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(yt=>{yt.style.transitionDuration=`${qe}ms`})}),m.params.cubeEffect.shadow&&!m.isHorizontal()){const ht=Ye.querySelector(".swiper-cube-shadow");ht&&(ht.style.transitionDuration=`${qe}ms`)}},recreateShadows:()=>{const qe=m.isHorizontal();m.slides.forEach(Ye=>{const ut=Math.max(Math.min(Ye.progress,1),-1);ge(Ye,ut,qe)})},getEffectParams:()=>m.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function Jn({swiper:m,extendParams:se,on:te}){se({flipEffect:{slideShadows:!0,limitRotation:!0}});const ge=(qe,Ye,ut)=>{let ht=m.isHorizontal()?qe.querySelector(".swiper-slide-shadow-left"):qe.querySelector(".swiper-slide-shadow-top"),yt=m.isHorizontal()?qe.querySelector(".swiper-slide-shadow-right"):qe.querySelector(".swiper-slide-shadow-bottom");ht||(ht=un(0,qe,m.isHorizontal()?"left":"top")),yt||(yt=un(0,qe,m.isHorizontal()?"right":"bottom")),ht&&(ht.style.opacity=Math.max(-Ye,0)),yt&&(yt.style.opacity=Math.max(Ye,0))};ws({effect:"flip",swiper:m,on:te,setTranslate:()=>{const{slides:qe,rtlTranslate:Ye}=m,ut=m.params.flipEffect;for(let ht=0;ht{const Ye=m.slides.map(ut=>be(ut));Ye.forEach(ut=>{ut.style.transitionDuration=`${qe}ms`,ut.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(ht=>{ht.style.transitionDuration=`${qe}ms`})}),Rt({swiper:m,duration:qe,transformElements:Ye})},recreateShadows:()=>{m.slides.forEach(Ye=>{let ut=Ye.progress;m.params.flipEffect.limitRotation&&(ut=Math.max(Math.min(Ye.progress,1),-1)),ge(Ye,ut)})},getEffectParams:()=>m.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!m.params.cssMode})})},function so({swiper:m,extendParams:se,on:te}){se({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ws({effect:"coverflow",swiper:m,on:te,setTranslate:()=>{const{width:Re,height:mt,slides:qe,slidesSizesGrid:Ye}=m,ut=m.params.coverflowEffect,ht=m.isHorizontal(),yt=m.translate,Gt=ht?Re/2-yt:mt/2-yt,Jt=ht?ut.rotate:-ut.rotate,z=ut.depth;for(let Q=0,Ee=qe.length;Q0?an:0),ro&&(ro.style.opacity=-an>0?-an:0)}}},setTransition:Re=>{m.slides.map(qe=>be(qe)).forEach(qe=>{qe.style.transitionDuration=`${Re}ms`,qe.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(Ye=>{Ye.style.transitionDuration=`${Re}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function To({swiper:m,extendParams:se,on:te}){se({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const ge=mt=>"string"==typeof mt?mt:`${mt}px`;ws({effect:"creative",swiper:m,on:te,setTranslate:()=>{const{slides:mt,wrapperEl:qe,slidesSizesGrid:Ye}=m,ut=m.params.creativeEffect,{progressMultiplier:ht}=ut,yt=m.params.centeredSlides;yt&&(qe.style.transform=`translateX(calc(50% - ${Ye[0]/2-m.params.slidesOffsetBefore||0}px))`);for(let Gt=0;Gt0&&(an=ut.prev,Ut=!0),He.forEach((Pe,Ue)=>{He[Ue]=`calc(${Pe}px + (${ge(an.translate[Ue])} * ${Math.abs(Q*ht)}))`}),nt.forEach((Pe,Ue)=>{nt[Ue]=an.rotate[Ue]*Math.abs(Q*ht)}),Jt.style.zIndex=-Math.abs(Math.round(z))+mt.length;const on=He.join(", "),ve=Ee<0?1+(1-an.opacity)*Ee*ht:1-(1-an.opacity)*Ee*ht,Fe=`translate3d(${on}) rotateX(${nt[0]}deg) rotateY(${nt[1]}deg) rotateZ(${nt[2]}deg) ${Ee<0?`scale(${1+(1-an.scale)*Ee*ht})`:`scale(${1-(1-an.scale)*Ee*ht})`}`;if(Ut&&an.shadow||!Ut){let Pe=Jt.querySelector(".swiper-slide-shadow");!Pe&&an.shadow&&(Pe=un(0,Jt)),Pe&&(Pe.style.opacity=Math.min(Math.max(Math.abs(ut.shadowPerProgress?Q*(1/ut.limitProgress):Q),0),1))}const Y=Or(0,Jt);Y.style.transform=Fe,Y.style.opacity=ve,an.origin&&(Y.style.transformOrigin=an.origin)}},setTransition:mt=>{const qe=m.slides.map(Ye=>be(Ye));qe.forEach(Ye=>{Ye.style.transitionDuration=`${mt}ms`,Ye.querySelectorAll(".swiper-slide-shadow").forEach(ut=>{ut.style.transitionDuration=`${mt}ms`})}),Rt({swiper:m,duration:mt,transformElements:qe,allSlides:!0})},perspective:()=>m.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!m.params.cssMode})})},function qo({swiper:m,extendParams:se,on:te}){se({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ws({effect:"cards",swiper:m,on:te,setTranslate:()=>{const{slides:Re,activeIndex:mt,rtlTranslate:qe}=m,Ye=m.params.cardsEffect,{startTranslate:ut,isTouched:ht}=m.touchEventsData,yt=qe?-m.translate:m.translate;for(let Gt=0;Gt0&&Q<1&&(ht||m.params.cssMode)&&yt-1&&(ht||m.params.cssMode)&&yt>ut){const Ue=(1-Math.abs((Math.abs(Q)-.5)/.5))**.5;an+=-28*Q*Ue,Ut+=-.5*Ue,on+=96*Ue,He=-25*Ue*Math.abs(Q)+"%"}if(_e=Q<0?`calc(${_e}px ${qe?"-":"+"} (${on*Math.abs(Q)}%))`:Q>0?`calc(${_e}px ${qe?"-":"+"} (-${on*Math.abs(Q)}%))`:`${_e}px`,!m.isHorizontal()){const Ue=He;He=_e,_e=Ue}const Y=`\n translate3d(${_e}, ${He}, ${nt}px)\n rotateZ(${Ye.rotate?qe?-an:an:0}deg)\n scale(${Q<0?""+(1+(1-Ut)*Q):""+(1-(1-Ut)*Q)})\n `;if(Ye.slideShadows){let Ue=Jt.querySelector(".swiper-slide-shadow");Ue||(Ue=un(0,Jt)),Ue&&(Ue.style.opacity=Math.min(Math.max((Math.abs(Q)-.5)/.5,0),1))}Jt.style.zIndex=-Math.abs(Math.round(z))+Re.length,Or(0,Jt).style.transform=Y}},setTransition:Re=>{const mt=m.slides.map(qe=>be(qe));mt.forEach(qe=>{qe.style.transitionDuration=`${Re}ms`,qe.querySelectorAll(".swiper-slide-shadow").forEach(Ye=>{Ye.style.transitionDuration=`${Re}ms`})}),Rt({swiper:m,duration:Re,transformElements:mt})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!m.params.cssMode})})}]);const si=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ao(m){return"object"==typeof m&&null!==m&&m.constructor&&"Object"===Object.prototype.toString.call(m).slice(8,-1)}function eo(m,se){const te=["__proto__","constructor","prototype"];Object.keys(se).filter(ge=>te.indexOf(ge)<0).forEach(ge=>{typeof m[ge]>"u"?m[ge]=se[ge]:Ao(se[ge])&&Ao(m[ge])&&Object.keys(se[ge]).length>0?se[ge].__swiper__?m[ge]=se[ge]:eo(m[ge],se[ge]):m[ge]=se[ge]})}function P(m=""){return m.replace(/-[a-z]/g,se=>se.toUpperCase().replace("-",""))}const ie=m=>parseFloat(m)===Number(m)?Number(m):"true"===m||""===m||"false"!==m&&("null"===m?null:"undefined"!==m?m:void 0),B=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function ne(m,se,te){const ge={},Be={};eo(ge,Fr);const Re=[...si,"on"],mt=Re.map(Ye=>Ye.replace(/_/,""));Re.forEach(Ye=>{Ye=Ye.replace("_",""),typeof m[Ye]<"u"&&(Be[Ye]=m[Ye])});const qe=[...m.attributes];return"string"==typeof se&&typeof te<"u"&&qe.push({name:se,value:te}),qe.forEach(Ye=>{const ut=B.filter(ht=>0===Ye.name.indexOf(`${ht}-`))[0];if(ut){const ht=P(ut),yt=P(Ye.name.split(`${ut}-`)[1]);typeof Be[ht]>"u"&&(Be[ht]={}),!0===Be[ht]&&(Be[ht]={enabled:!0}),Be[ht][yt]=ie(Ye.value)}else{const ht=P(Ye.name);if(!mt.includes(ht))return;const yt=ie(Ye.value);Be[ht]&&B.includes(Ye.name)?(Be[ht].constructor!==Object&&(Be[ht]={}),Be[ht].enabled=yt):Be[ht]=yt}}),eo(ge,Be),ge.navigation?ge.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==ge.navigation?ge.navigation:{}}:!1===ge.navigation&&delete ge.navigation,ge.scrollbar?ge.scrollbar={el:".swiper-scrollbar",...!0!==ge.scrollbar?ge.scrollbar:{}}:!1===ge.scrollbar&&delete ge.scrollbar,ge.pagination?ge.pagination={el:".swiper-pagination",...!0!==ge.pagination?ge.pagination:{}}:!1===ge.pagination&&delete ge.pagination,{params:ge,passedParams:Be}}const Ce="@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}";let st=!0;const rt=(m,se)=>{let te=document.querySelector("style#swiper-element-styles");const ge=te&&te.preInit&&!m;!m&&se&&se.cssLinks().forEach(Be=>{const Re=document.createElement("link");Re.rel="stylesheet",Re.href=Be,document.head.prepend(Re)}),(!te||ge)&&(te=te||document.createElement("style"),te.textContent=[Ce,se?se.cssStyles():""].join("\n"),te.id="swiper-element-styles",te.preInit=m,document.head.prepend(te))},Et=typeof window>"u"||typeof HTMLElement>"u"?class Kt{}:HTMLElement;class Yt extends Et{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}cssStyles(){return[st?":root{--swiper-theme-color:#007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}:host(.swiper-vertical)>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight swiper-slide{height:auto}:host(.swiper-autoheight) .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}:host(.swiper-3d.swiper-css-mode) .swiper-wrapper{perspective:1200px}:host(.swiper-3d) .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d swiper-slide{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}:host(.swiper-css-mode)>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}:host(.swiper-css-mode)>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>swiper-slide{scroll-snap-align:start start}:host(.swiper-horizontal.swiper-css-mode)>.swiper-wrapper{scroll-snap-type:x mandatory}:host(.swiper-vertical.swiper-css-mode)>.swiper-wrapper{scroll-snap-type:y mandatory}:host(.swiper-css-mode.swiper-free-mode)>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>swiper-slide{scroll-snap-align:none}:host(.swiper-centered)>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered>swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}:host(.swiper-centered.swiper-horizontal)>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}:host(.swiper-centered.swiper-vertical)>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}:host(.swiper-virtual.swiper-css-mode) .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}:host(.swiper-virtual.swiper-css-mode.swiper-horizontal) .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}:host(.swiper-virtual.swiper-css-mode.swiper-vertical) .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,:host(.swiper-rtl) .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-prev:after,:host(.swiper-rtl) .swiper-button-next:after{content:'prev'}.swiper-button-next,:host(.swiper-rtl) .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,:host(.swiper-rtl) .swiper-button-prev:after{content:'next'}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}:host(.swiper-rtl) .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;-ms-touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification,swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}:host(.swiper-free-mode)>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}:host(.swiper-grid)>.swiper-wrapper{flex-wrap:wrap}:host(.swiper-grid-column)>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode swiper-slide{transition-timing-function:ease-out}.swiper-fade swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade swiper-slide swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube swiper-slide swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev,.swiper-cube swiper-slide-next+swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip swiper-slide swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}":"",...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}render(){if(this.rendered)return;st&&rt(!1,this);const se=this.cssStyles();se.length&&(this.stylesEl=document.createElement("style"),this.stylesEl.textContent=se,this.shadowEl.appendChild(this.stylesEl)),this.cssLinks().forEach(te=>{if(this.shadowEl.querySelector(`link[href="${te}"]`))return;const Be=document.createElement("link");Be.rel="stylesheet",Be.href=te,this.shadowEl.appendChild(Be)}),this.tempDiv.innerHTML=`\n \n
      \n \n
      \n \n ${function fi(m={}){return m.navigation&&typeof m.navigation.nextEl>"u"&&typeof m.navigation.prevEl>"u"}(this.passedParams)?'\n
      \n
      \n ':""}\n ${function ti(m={}){return m.pagination&&typeof m.pagination.el>"u"}(this.passedParams)?'\n
      \n ':""}\n ${function Ti(m={}){return m.scrollbar&&typeof m.scrollbar.el>"u"}(this.passedParams)?'\n
      \n ':""}\n `,[...this.tempDiv.children].forEach(te=>{this.shadowEl.appendChild(te)}),this.rendered=!0}initialize(){if(this.initialized)return;this.initialized=!0;const{params:se,passedParams:te}=ne(this);this.swiperParams=se,this.passedParams=te,delete this.swiperParams.init,this.render(),this.swiper=new po(this,{...se,touchEventsTarget:"container",...se.virtual?{}:{observer:!0},onAny:(ge,...Be)=>{const Re=se.eventsPrefix?`${se.eventsPrefix}${ge.toLowerCase()}`:ge.toLowerCase(),mt=new CustomEvent(Re,{detail:Be,bubbles:!0,cancelable:!0});this.dispatchEvent(mt)}})}connectedCallback(){if(!(this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM)){if(!1===this.init||"false"===this.getAttribute("init"))return void rt(!0,this);this.initialize()}}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(se,te){const{params:ge,passedParams:Be}=ne(this,se,te);this.passedParams=Be,this.swiperParams=ge,function de({swiper:m,slides:se,passedParams:te,changedParams:ge,nextEl:Be,prevEl:Re,scrollbarEl:mt,paginationEl:qe}){const Ye=ge.filter(Xt=>"children"!==Xt&&"direction"!==Xt&&"wrapperClass"!==Xt),{params:ut,pagination:ht,navigation:yt,scrollbar:Gt,virtual:Jt,thumbs:z}=m;let Q,Ee,_e,He,nt,Ut,an,on;ge.includes("thumbs")&&te.thumbs&&te.thumbs.swiper&&ut.thumbs&&!ut.thumbs.swiper&&(Q=!0),ge.includes("controller")&&te.controller&&te.controller.control&&ut.controller&&!ut.controller.control&&(Ee=!0),ge.includes("pagination")&&te.pagination&&(te.pagination.el||qe)&&(ut.pagination||!1===ut.pagination)&&ht&&!ht.el&&(_e=!0),ge.includes("scrollbar")&&te.scrollbar&&(te.scrollbar.el||mt)&&(ut.scrollbar||!1===ut.scrollbar)&&Gt&&!Gt.el&&(He=!0),ge.includes("navigation")&&te.navigation&&(te.navigation.prevEl||Re)&&(te.navigation.nextEl||Be)&&(ut.navigation||!1===ut.navigation)&&yt&&!yt.prevEl&&!yt.nextEl&&(nt=!0);const Mn=Xt=>{m[Xt]&&(m[Xt].destroy(),"navigation"===Xt?(m.isElement&&(m[Xt].prevEl.remove(),m[Xt].nextEl.remove()),ut[Xt].prevEl=void 0,ut[Xt].nextEl=void 0,m[Xt].prevEl=void 0,m[Xt].nextEl=void 0):(m.isElement&&m[Xt].el.remove(),ut[Xt].el=void 0,m[Xt].el=void 0))};ge.includes("loop")&&m.isElement&&(ut.loop&&!te.loop?Ut=!0:!ut.loop&&te.loop?an=!0:on=!0),Ye.forEach(Xt=>{if(Ao(ut[Xt])&&Ao(te[Xt]))eo(ut[Xt],te[Xt]),("navigation"===Xt||"pagination"===Xt||"scrollbar"===Xt)&&"enabled"in te[Xt]&&!te[Xt].enabled&&Mn(Xt);else{const ve=te[Xt];!0!==ve&&!1!==ve||"navigation"!==Xt&&"pagination"!==Xt&&"scrollbar"!==Xt?ut[Xt]=te[Xt]:!1===ve&&Mn(Xt)}}),Ye.includes("controller")&&!Ee&&m.controller&&m.controller.control&&ut.controller&&ut.controller.control&&(m.controller.control=ut.controller.control),ge.includes("children")&&se&&Jt&&ut.virtual.enabled&&(Jt.slides=se,Jt.update(!0)),ge.includes("children")&&se&&ut.loop&&(on=!0),Q&&z.init()&&z.update(!0),Ee&&(m.controller.control=ut.controller.control),_e&&(m.isElement&&(!qe||"string"==typeof qe)&&((qe=document.createElement("div")).classList.add("swiper-pagination"),m.el.shadowEl.appendChild(qe)),qe&&(ut.pagination.el=qe),ht.init(),ht.render(),ht.update()),He&&(m.isElement&&(!mt||"string"==typeof mt)&&((mt=document.createElement("div")).classList.add("swiper-scrollbar"),m.el.shadowEl.appendChild(mt)),mt&&(ut.scrollbar.el=mt),Gt.init(),Gt.updateSize(),Gt.setTranslate()),nt&&(m.isElement&&((!Be||"string"==typeof Be)&&((Be=document.createElement("div")).classList.add("swiper-button-next"),m.el.shadowEl.appendChild(Be)),(!Re||"string"==typeof Re)&&((Re=document.createElement("div")).classList.add("swiper-button-prev"),m.el.shadowEl.appendChild(Re))),Be&&(ut.navigation.nextEl=Be),Re&&(ut.navigation.prevEl=Re),yt.init(),yt.update()),ge.includes("allowSlideNext")&&(m.allowSlideNext=te.allowSlideNext),ge.includes("allowSlidePrev")&&(m.allowSlidePrev=te.allowSlidePrev),ge.includes("direction")&&m.changeDirection(te.direction,!1),(Ut||on)&&m.loopDestroy(),(an||on)&&m.loopCreate(),m.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[P(se)],..."navigation"===se&&Be[se]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===se&&Be[se]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===se&&Be[se]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(se,te,ge){this.initialized&&("true"===te&&null===ge&&(ge=!1),this.updateSwiperOnPropChange(se,ge))}static get observedAttributes(){return si.filter(te=>te.includes("_")).map(te=>te.replace(/[A-Z]/g,ge=>`-${ge}`).replace("_","").toLowerCase())}}si.forEach(m=>{"init"!==m&&(m=m.replace("_",""),Object.defineProperty(Yt.prototype,m,{configurable:!0,get(){return(this.passedParams||{})[m]},set(se){this.passedParams||(this.passedParams={}),this.passedParams[m]=se,this.initialized&&this.updateSwiperOnPropChange(m)}}))});class $n extends Et{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}render(){const se=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(this.tempDiv.innerHTML="",[...this.tempDiv.children].forEach(te=>{this.shadowEl.appendChild(te)}),se){const te=document.createElement("div");te.classList.add("swiper-lazy-preloader"),this.appendChild(te)}}initialize(){this.render()}connectedCallback(){this.initialize()}}typeof window<"u"&&(window.SwiperElementRegisterParams=m=>{si.push(...m)});var mo=l(53715),yo=l(19402),Xo=l(13339),Ho=l(60177),Oi=l(47008),ui=l(35043);const Ko=["swiperContainer"],ai=[[["button","kirby-button",""]]],di=["button[kirby-button]"],Qo=(m,se)=>({$implicit:m,index:se});function ki(m,se){if(1&m&&n.nrm(0,"div",10),2&m){const te=n.XpG(3);n.Y8G("ngClass",te._paginationId)}}function li(m,se){if(1&m&&(n.j41(0,"div",11)(1,"button",12),n.nrm(2,"kirby-icon",13),n.k0s(),n.j41(3,"button",14),n.nrm(4,"kirby-icon",15),n.k0s(),n.SdG(5),n.k0s()),2&m){const te=n.XpG(3);n.R7$(),n.Y8G("ngClass",te._prevButtonId),n.R7$(2),n.Y8G("ngClass",te._nextButtonId)}}function Mi(m,se){if(1&m&&(n.j41(0,"div",7),n.DNE(1,ki,1,1,"div",8)(2,li,6,2,"div",9),n.k0s()),2&m){const te=n.XpG(2);n.R7$(),n.Y8G("ngIf",!te.slidesOptions||void 0===(null==te.slidesOptions?null:te.slidesOptions.pagination)),n.R7$(),n.Y8G("ngIf",!(te._isTouch||te.slidesOptions&&void 0!==(null==te.slidesOptions?null:te.slidesOptions.navigation)))}}function Cr(m,se){if(1&m&&(n.j41(0,"div",4)(1,"span",5),n.EFF(2),n.k0s(),n.DNE(3,Mi,3,2,"div",6),n.k0s()),2&m){const te=n.XpG();n.R7$(2),n.JRh(te.title),n.R7$(),n.Y8G("ngIf",te.showNavigation&&(!te.slidesOptions||void 0===(null==te.slidesOptions?null:te.slidesOptions.navigation)||void 0===(null==te.slidesOptions?null:te.slidesOptions.pagination)))}}function Jr(m,se){1&m&&n.eu8(0)}function Ii(m,se){if(1&m&&(n.j41(0,"swiper-slide"),n.DNE(1,Jr,1,0,"ng-container",16),n.k0s()),2&m){const te=se.$implicit,ge=se.index,Be=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",Be.slideTemplate)("ngTemplateOutletContext",n.l_i(2,Qo,te,ge))}}let Nr=(()=>{class m{static#e=this.\u0275fac=function(ge){return new(ge||m)};static#t=this.\u0275dir=n.FsC({type:m,selectors:[["","kirbySlide",""]],standalone:!1})}return m})();((m=!0)=>{typeof window>"u"||(m||(st=!1),st&&rt(!0),window.customElements.get("swiper-container")||window.customElements.define("swiper-container",Yt),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",$n))})();let zr=(()=>{class m{constructor(te,ge,Be){this.platform=te,this.cdr=ge,this.translations=Be,this.showNavigation=!0,this.slideChange=new n.bkB,this._paginationId=mo.KA.scopedTo("pagination").next(),this._prevButtonId=mo.KA.scopedTo("swiper-button-prev").next(),this._nextButtonId=mo.KA.scopedTo("swiper-button-next").next()}ngOnInit(){this._isTouch=this.platform.isTouch()}ngAfterViewInit(){const ge={...this.showNavigation?this.getDefaultConfig():this.getNoControlsConfig(),...this.slidesOptions};Object.assign(this.swiperContainer.nativeElement,ge),this.swiperContainer.nativeElement.initialize()}slideTo(te){this.swiperContainer.nativeElement.swiper.slideTo(te)}ngOnChanges(te){!1===te.slides?.firstChange&&(this.cdr.detectChanges(),this.swiperContainer.nativeElement.swiper.updateSlides())}getDefaultConfig(){const te=parseInt(yo.Q.breakpoints.medium),ge=parseInt(yo.Q.size("s")),Be=parseInt(yo.Q.transitionDuration("long"));return{centeredSlides:!0,centeredSlidesBounds:!0,slidesPerView:1.2,slidesPerGroup:1,breakpoints:{[te]:{centeredSlides:!1,slidesPerView:3,slidesPerGroup:3}},spaceBetween:ge,speed:Be,pagination:{el:`.${this._paginationId}`,type:"bullets"},navigation:{nextEl:`.${this._nextButtonId}`,prevEl:`.${this._prevButtonId}`},on:{slideChange:Re=>{this.slideChange.emit({slide:this.slides[Re.activeIndex],index:Re.activeIndex})}},a11y:{prevSlideMessage:this.translations.get("previousSlide"),nextSlideMessage:this.translations.get("nextSlide")}}}getNoControlsConfig(){return{...this.getDefaultConfig(),pagination:!1,navigation:!1}}static#e=this.\u0275fac=function(ge){return new(ge||m)(n.rXU(mo.fP),n.rXU(n.gRc),n.rXU(Xo.L0))};static#t=this.\u0275cmp=n.VBU({type:m,selectors:[["kirby-slides"]],contentQueries:function(ge,Be,Re){if(1&ge&&n.wni(Re,Nr,7,n.C4Q),2&ge){let mt;n.mGM(mt=n.lsd())&&(Be.slideTemplate=mt.first)}},viewQuery:function(ge,Be){if(1&ge&&n.GBs(Ko,5),2&ge){let Re;n.mGM(Re=n.lsd())&&(Be.swiperContainer=Re.first)}},inputs:{slidesOptions:"slidesOptions",title:"title",slides:"slides",showNavigation:"showNavigation"},outputs:{slideChange:"slideChange"},standalone:!1,features:[n.OA$],ngContentSelectors:di,decls:4,vars:2,consts:[["swiperContainer",""],["class","navigation",4,"ngIf"],["init","false"],[4,"ngFor","ngForOf"],[1,"navigation"],[1,"kirby-text-medium"],["class","navigation-inner",4,"ngIf"],[1,"navigation-inner"],["class","pagination",3,"ngClass",4,"ngIf"],["class","buttons",4,"ngIf"],[1,"pagination",3,"ngClass"],[1,"buttons"],["kirby-button","","attentionLevel","3","size","xs",1,"nav-prev","swiper-button-prev",3,"ngClass"],["name","arrow-back"],["kirby-button","","attentionLevel","3","size","xs",1,"nav-next","swiper-button-next",3,"ngClass"],["name","arrow-more"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(ge,Be){1&ge&&(n.NAR(ai),n.DNE(0,Cr,4,2,"div",1),n.j41(1,"swiper-container",2,0),n.DNE(3,Ii,2,5,"swiper-slide",3),n.k0s()),2&ge&&(n.Y8G("ngIf",Be.showNavigation||void 0!==Be.title),n.R7$(3),n.Y8G("ngForOf",Be.slides))},dependencies:[Ho.YU,Ho.Sq,Ho.bT,Ho.T3,Oi.Q,ui.Rl],styles:["[_nghost-%COMP%]{--swiper-navigation-sides-offset: 0;--swiper-pagination-bullet-width: 10px;--swiper-pagination-bullet-height: 6px;--swiper-pagination-bullet-border-radius: 3px;--swiper-pagination-bullet-horizontal-gap: 4px;--swiper-pagination-color: var(--kirby-black);--swiper-pagination-bullet-inactive-color: var(--kirby-black);--swiper-pagination-bullet-inactive-opacity: .2}[_nghost-%COMP%] .navigation[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-block:0 16px;margin-inline:16px}[_nghost-%COMP%] .navigation-inner[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .pagination[_ngcontent-%COMP%]{display:flex;align-items:center;width:auto;margin-inline-end:16px}[_nghost-%COMP%] .pagination[_ngcontent-%COMP%] .swiper-pagination-bullet:last-of-type{margin-inline-end:0}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{display:none;z-index:2}@media (min-width: 768px){[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{display:block}}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%]{margin-block:0;margin-inline-start:0}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%]{margin-block:0;margin-inline-end:0}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] >button[kirby-button]{margin-inline:8px 0}[_nghost-%COMP%] .swiper-button-lock[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] swiper-container[_ngcontent-%COMP%]{padding-block:24px;margin-block:-24px}@media (max-width: 767px){[_nghost-%COMP%] swiper-container[_ngcontent-%COMP%]{padding-inline:16px;margin-inline:calc(-1 * var(--padding-start)) calc(-1 * var(--padding-end))}[_nghost-%COMP%] .navigation[_ngcontent-%COMP%], [_nghost-%COMP%] .pagination[_ngcontent-%COMP%]{margin-inline-end:0}}[_nghost-%COMP%] .swiper-button-next.swiper-button-disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .swiper-button-prev.swiper-button-disabled[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] swiper-slide[_ngcontent-%COMP%]:has([slideStretchHeight]){height:auto}"],changeDetection:0})}return m})(),Li=(()=>{class m{constructor(te,ge){this.elementRef=te,this.renderer=ge,this.renderer.setStyle(this.elementRef.nativeElement,"height","100%")}static#e=this.\u0275fac=function(ge){return new(ge||m)(n.rXU(n.aKT),n.rXU(n.sFG))};static#t=this.\u0275dir=n.FsC({type:m,selectors:[["","slideStretchHeight",""]],standalone:!1})}return m})(),pi=(()=>{class m{static#e=this.\u0275fac=function(ge){return new(ge||m)};static#t=this.\u0275mod=n.$C({type:m});static#n=this.\u0275inj=n.G2t({imports:[Ho.MD,Oi.Q,ui.op]})}return m})()},90599:(ft,Z,l)=>{"use strict";l.d(Z,{O:()=>g,t:()=>f});var n=l(54438),i=l(60177);let f=(()=>{class s{static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275cmp=n.VBU({type:s,selectors:[["kirby-spinner"]],standalone:!1,decls:3,vars:0,consts:[[1,"spinner"],[1,"inner-circle"],[1,"outer-circle"]],template:function(y,w){1&y&&(n.j41(0,"div",0),n.nrm(1,"div",1)(2,"div",2),n.k0s())},styles:[".spinner[_ngcontent-%COMP%]{overflow:hidden;width:32px;height:32px;position:relative;margin:0 auto}.inner-circle[_ngcontent-%COMP%], .outer-circle[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:var(--kirby-primary);opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-bounce 2s infinite ease-in-out}.outer-circle[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"],changeDetection:0})}return s})(),g=(()=>{class s{static#e=this.\u0275fac=function(y){return new(y||s)};static#t=this.\u0275mod=n.$C({type:s});static#n=this.\u0275inj=n.G2t({imports:[i.MD]})}return s})()},6260:(ft,Z,l)=>{"use strict";l.d(Z,{FK:()=>y,mt:()=>w,uE:()=>_});var n=l(54438),i=l(35519),f=l(41727),g=l(60177);const s=["*"],x=["tabBar"];let _=(()=>{class M{constructor(){this.label="",this.truncate=!0}static#e=this.\u0275fac=function(H){return new(H||M)};static#t=this.\u0275cmp=n.VBU({type:M,selectors:[["kirby-tab-navigation-item"]],inputs:{label:"label",truncate:"truncate"},standalone:!1,ngContentSelectors:s,decls:5,vars:4,consts:[["tabButton",""],["role","tab"]],template:function(H,K){1&H&&(n.NAR(),n.j41(0,"button",1,0)(2,"span"),n.EFF(3),n.k0s(),n.SdG(4),n.k0s()),2&H&&(n.R7$(2),n.AVh("truncate",K.truncate),n.BMQ("data-text",K.label),n.R7$(),n.JRh(K.label))},styles:['[_nghost-%COMP%]{position:relative;padding-bottom:2px}[_nghost-%COMP%] button[role=tab][_ngcontent-%COMP%]{background:transparent;color:inherit;font:inherit;cursor:pointer;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;vertical-align:middle;white-space:nowrap;-webkit-user-select:none;user-select:none;text-decoration:none;margin:0;width:auto;border:none;outline:none;color:var(--kirby-black);box-sizing:border-box;padding:16px;font-size:16px;line-height:24px;gap:4px}[_nghost-%COMP%] button[role=tab][_ngcontent-%COMP%]:focus, [_nghost-%COMP%] button[role=tab][_ngcontent-%COMP%]:hover{font-weight:700}[_nghost-%COMP%] button[role=tab][aria-selected=true][_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] button[role=tab][aria-selected=true][_ngcontent-%COMP%]:before{content:"";width:100%;background-color:var(--kirby-dark);position:absolute;border-radius:1px;height:2px;bottom:0;z-index:2}span[data-text].truncate[_ngcontent-%COMP%]{max-width:100px;overflow:hidden;text-overflow:ellipsis}span[data-text][_ngcontent-%COMP%]:before{display:block;content:attr(data-text);font-weight:700;height:0;overflow:hidden;visibility:hidden}'],changeDetection:0})}return M})(),y=(()=>{class M{get selectedIndex(){return this._selectedIndex}set selectedIndex(R){R!==this._selectedIndex&&-1!==R&&(this._selectedIndex=R,this.focusIndex=R,this.selectTab(this.selectedIndex),this.selectedIndexChange.emit(this.selectedIndex))}get focusIndex(){return this._focusIndex}set focusIndex(R){R!==this._focusIndex&&(this._focusIndex=R,this.scrollToTab(this.focusIndex),this.focusTab(this.focusIndex))}constructor(R,H){this.window=R,this.keyboardHandlerService=H,this.DEBOUNCE_TIME_MS=250,this.tabElements=new Array,this.tabButtonElements=new Array,this._selectedIndex=-1,this._focusIndex=-1,this.selectedIndexChange=new n.bkB}ngAfterViewInit(){this.tabBarElement=this.tabBar.nativeElement,this.setTabElements(),this.updateTabElementsOnChanges()}onItemSelect(R){if(R.target!==this.tabBarElement){const H=R.target.closest("button");this.selectedIndex=this.tabButtonElements.indexOf(H)}}onKeydown(R){R.preventDefault(),this.focusIndex=this.keyboardHandlerService.handle(R,this.focusIndex,this.tabElements.length-1,!0)}selectTab(R){this.tabButtonElements.forEach((H,K)=>{H.setAttribute("aria-selected",K===R?"true":"false")})}focusTab(R){this.tabButtonElements.forEach((H,K)=>{H.setAttribute("tabindex",K===R?"0":"-1")}),0<=R&&R{this.tabBarElement?.scrollTo({behavior:"smooth",left:Math.max(0,L-(he-K)/2)})})}}setTabElements(){this.tabs.forEach(R=>{this.tabElements.push(R.nativeElement)}),this.tabElements.forEach(R=>this.tabButtonElements.push(R.querySelector('[role="tab"]'))),this.selectTab(this.selectedIndex),this.focusTab(this.focusIndex),setTimeout(()=>{this.scrollToTab(this.focusIndex)},this.DEBOUNCE_TIME_MS)}updateTabElementsOnChanges(){this.tabs.changes.subscribe(()=>{this.tabElements=[],this.tabButtonElements=[],this.setTabElements()})}static#e=this.\u0275fac=function(H){return new(H||M)(n.rXU(i.W),n.rXU(f.Vl))};static#t=this.\u0275cmp=n.VBU({type:M,selectors:[["kirby-tab-navigation"]],contentQueries:function(H,K,L){if(1&H&&n.wni(L,_,4,n.aKT),2&H){let he;n.mGM(he=n.lsd())&&(K.tabs=he)}},viewQuery:function(H,K){if(1&H&&n.GBs(x,5),2&H){let L;n.mGM(L=n.lsd())&&(K.tabBar=L.first)}},hostBindings:function(H,K){1&H&&n.bIt("click",function(he){return K.onItemSelect(he)})("keydown.enter",function(he){return K.onItemSelect(he)})("keydown.home",function(he){return K.onKeydown(he)})("keydown.end",function(he){return K.onKeydown(he)})("keydown.arrowright",function(he){return K.onKeydown(he)})("keydown.arrowleft",function(he){return K.onKeydown(he)})},inputs:{selectedIndex:"selectedIndex"},outputs:{selectedIndexChange:"selectedIndexChange"},standalone:!1,ngContentSelectors:s,decls:3,vars:0,consts:[["tabBar",""],["role","tablist"]],template:function(H,K){1&H&&(n.NAR(),n.j41(0,"div",1,0),n.SdG(2),n.k0s())},styles:['[_nghost-%COMP%]{display:block;position:relative}@media (max-width: 767px){[_nghost-%COMP%]{inline-size:100dvi;margin-inline:calc(-1 * var(--padding-start)) calc(-1 * var(--padding-end))}}[_nghost-%COMP%]:before{content:"";background-color:var(--kirby-medium);position:absolute;height:1px;bottom:0;z-index:1;left:0;width:100%}div[role=tablist][_ngcontent-%COMP%]{position:relative;margin:0 auto;display:flex;align-items:center;justify-content:left;flex-wrap:nowrap;overflow-x:scroll;column-gap:12px;-webkit-overflow-scrolling:auto;scrollbar-width:none}div[role=tablist][_ngcontent-%COMP%]::-webkit-scrollbar{display:none}@media (max-width: 767px){div[role=tablist][_ngcontent-%COMP%]{padding-inline:var(--padding-start) var(--padding-end)}}'],changeDetection:0})}return M})(),w=(()=>{class M{static#e=this.\u0275fac=function(H){return new(H||M)};static#t=this.\u0275mod=n.$C({type:M});static#n=this.\u0275inj=n.G2t({imports:[g.MD]})}return M})()},35348:(ft,Z,l)=>{"use strict";l.d(Z,{OW:()=>R,RN:()=>K,jr:()=>L});var n=l(54438),i=l(51272),f=l(92771),g=l(35043),s=l(60177);const x=["*"],_=["*",[["kirby-badge"]],[["kirby-icon",3,"selected-tab",""]],[["kirby-icon","selected-tab",""]]],y=["*","kirby-badge","kirby-icon:not([selected-tab])","kirby-icon[selected-tab]"];function w(he,pe){1&he&&n.SdG(0,2,["*ngIf","icons.length === 1 || !ionTabButton.selected"])}function M(he,pe){1&he&&n.SdG(0,3,["*ngIf","ionTabButton.selected"])}let I=(()=>{class he{constructor(){this.outletSubject$=new f.m(1),this.outlet$=this.outletSubject$.asObservable()}setOutlet(be){this.outletSubject$.next(be)}resetOutlet(){this.outletSubject$.next(null)}static#e=this.\u0275fac=function(Le){return new(Le||he)};static#t=this.\u0275prov=n.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),R=(()=>{class he{constructor(be){this.tabsService=be,this.tabBarBottomHidden=!1}ngAfterViewInit(){this.tabsService.setOutlet(this.tabs.outlet)}ngOnDestroy(){this.tabsService.resetOutlet()}static#e=this.\u0275fac=function(Le){return new(Le||he)(n.rXU(I))};static#t=this.\u0275cmp=n.VBU({type:he,selectors:[["kirby-tab-bar"]],viewQuery:function(Le,ye){if(1&Le&&n.GBs(i.p4,7),2&Le){let je;n.mGM(je=n.lsd())&&(ye.tabs=je.first)}},hostVars:2,hostBindings:function(Le,ye){2&Le&&n.AVh("tab-bar-bottom-hidden",ye.tabBarBottomHidden)},standalone:!1,ngContentSelectors:x,decls:3,vars:2,template:function(Le,ye){1&Le&&(n.NAR(),n.j41(0,"ion-tabs")(1,"ion-tab-bar"),n.SdG(2),n.k0s()()),2&Le&&(n.R7$(),n.AVh("bottom-hidden",ye.tabBarBottomHidden))},dependencies:[i.p4,i.Jq],styles:["[_nghost-%COMP%]:not(.tab-bar-bottom-hidden){--kirby-page-footer-safe-area-bottom: 0px}ion-tabs[_ngcontent-%COMP%] ion-tab-bar[_ngcontent-%COMP%]{--background: rgba(var(--kirby-white-rgb), .94);--border: 1px solid var(--kirby-light);--color: var(--kirby-black);display:flex;max-width:var(--kirby-tab-bar-max-width, none);justify-content:center;height:var(--kirby-tab-bar-height);padding-left:calc((100vw - var(--kirby-tab-bar-max-width, none)) / 2);padding-right:calc((100vw - var(--kirby-tab-bar-max-width, none)) / 2);width:100%}ion-tabs[_ngcontent-%COMP%] ion-tab-bar.bottom-hidden[_ngcontent-%COMP%]{display:none}@media (min-width: 768px){ion-tabs[_ngcontent-%COMP%]{--kirby-tab-bar-height: 70px}ion-tabs[_ngcontent-%COMP%] ion-tab-bar[_ngcontent-%COMP%]{column-gap:24px}}@media (min-width: 992px) and (hover: hover) and (pointer: fine){ion-tabs[_ngcontent-%COMP%]{flex-direction:column-reverse;--kirby-page-footer-safe-area-bottom: initial}ion-tabs[_ngcontent-%COMP%] ion-tab-bar[_ngcontent-%COMP%]{margin:0 auto;justify-content:flex-end;column-gap:initial}ion-tabs[_ngcontent-%COMP%] ion-tab-bar.bottom-hidden[_ngcontent-%COMP%]{display:flex}}"]})}return he})(),K=(()=>{class he{constructor(){this.click=new n.bkB}onClick(be,Le){if(this.click.emit(be),Le){const ye=new CustomEvent("kirbySelectedTabClick");dispatchEvent(ye)}}static#e=this.\u0275fac=function(Le){return new(Le||he)};static#t=this.\u0275cmp=n.VBU({type:he,selectors:[["kirby-tab-button"]],contentQueries:function(Le,ye,je){if(1&Le&&n.wni(je,g.Rl,4),2&Le){let ke;n.mGM(ke=n.lsd())&&(ye.icons=ke)}},inputs:{tab:"tab"},outputs:{click:"click"},standalone:!1,ngContentSelectors:y,decls:6,vars:3,consts:[["ionTabButton",""],["tabindex","0",3,"click","tab"],[4,"ngIf"]],template:function(Le,ye){if(1&Le){const je=n.RV6();n.NAR(_),n.j41(0,"ion-tab-button",1,0),n.bIt("click",function(De){n.eBV(je);const Je=n.sdS(1);return n.Njj(ye.onClick(De,Je.selected))}),n.DNE(2,w,1,0,"ng-content",2)(3,M,1,0,"ng-content",2),n.SdG(4),n.SdG(5,1),n.k0s()}if(2&Le){const je=n.sdS(1);n.Y8G("tab",ye.tab),n.R7$(2),n.Y8G("ngIf",1===ye.icons.length||!je.selected),n.R7$(),n.Y8G("ngIf",je.selected)}},dependencies:[s.bT,i.qW],styles:["[_nghost-%COMP%]{display:contents}@media (hover: hover) and (pointer: fine){ion-tab-button.ion-focused[_ngcontent-%COMP%]{--background: rgb(244.8, 244.8, 244.8);--background-focused-opacity: 0}ion-tab-button.ion-focused[_ngcontent-%COMP%]:focus-visible{box-shadow:none;--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){ion-tab-button[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;--background: rgb(244.8, 244.8, 244.8)}}ion-tab-button[_ngcontent-%COMP%]:active, ion-tab-button.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--background: rgb(234.6, 234.6, 234.6)}ion-tab-button[_ngcontent-%COMP%]{transition:background-color 80ms linear 0ms;height:100%;flex:1 1 0%;max-width:168px;font-weight:500;font-size:12px;line-height:16px;--color: var(--kirby-text-color-semi-dark);--color-selected: var(--kirby-black);--padding-start: 0;--padding-end: 0;--kirby-badge-position: absolute;--kirby-badge-top: .55em;--kirby-badge-left: calc(50% + .4em) }ion-tab-button[_ngcontent-%COMP%] >kirby-badge.md{--kirby-badge-top: .3em;--kirby-badge-left: calc(50% + .2em) }@media (min-width: 768px){ion-tab-button[_ngcontent-%COMP%]{flex:none;flex-direction:row;font-size:14px;line-height:20px;--padding-start: 24px;--padding-end: 24px;--kirby-badge-position: absolute;--kirby-badge-top: calc(50% - 1.35em) ;--kirby-badge-left: 1.6em}ion-tab-button[_ngcontent-%COMP%] >kirby-badge.md{--kirby-badge-position: relative;--kirby-badge-top: 0;--kirby-badge-left: 0;margin-left:2px;margin-bottom:1px}ion-tab-button[_ngcontent-%COMP%] >kirby-icon{--kirby-icon-margin-right: 8px}}@media (min-width: 992px) and (hover: hover) and (pointer: fine){ion-tab-button[_ngcontent-%COMP%]{--padding-start: 12px;--padding-end: 12px}}"]})}return he})(),L=(()=>{class he{static#e=this.\u0275fac=function(Le){return new(Le||he)};static#t=this.\u0275mod=n.$C({type:he});static#n=this.\u0275inj=n.G2t({providers:[I],imports:[g.op,s.MD,i.p4,i.Jq,i.qW]})}return he})()},57017:(ft,Z,l)=>{"use strict";l.d(Z,{K:()=>s,o:()=>g});var n=l(10467),i=l(54438),f=l(51272);let g=(()=>{class x{static#e=this.CSS_CLASS="kirby-toast";static#t=this.DURATION_IN_MS=4e3;constructor(y){this.toastController=y}showToast(y){var w=this;return(0,n.A)(function*(){const M=yield w.toastController.create({animated:y.animated,message:y.message,position:"top",duration:y.durationInMs?y.durationInMs:x.DURATION_IN_MS,cssClass:w.getCssClass(y.messageType)});return yield M.present(),{dismiss:M.dismiss.bind(M),onWillDismiss:M.onWillDismiss(),onDidDismiss:M.onDidDismiss()}})()}getCssClass(y){let w=x.CSS_CLASS;return y&&(w+=" "+y),w}static#n=this.\u0275fac=function(w){return new(w||x)(i.KVO(f.K_))};static#o=this.\u0275prov=i.jDH({token:x,factory:x.\u0275fac})}return x})(),s=(()=>{class x{constructor(y){this.toastHelper=y}showToast(y,w){this.toastHelper.showToast(y).then(M=>{w&&M.onDidDismiss.then(()=>w())})}static#e=this.\u0275fac=function(w){return new(w||x)(i.KVO(g))};static#t=this.\u0275prov=i.jDH({token:x,factory:x.\u0275fac})}return x})()},30077:(ft,Z,l)=>{"use strict";l.d(Z,{d:()=>w,o:()=>_});var n=l(54438),i=l(60177);const f=[[["button","kirby-button","","unchecked",""]],[["button","kirby-button","","checked",""]]],g=["button[kirby-button][unchecked]","button[kirby-button][checked]"];function s(M,I){1&M&&n.SdG(0,0,["*ngIf","!checked"])}function x(M,I){1&M&&n.SdG(0,1,["*ngIf","checked"])}let _=(()=>{class M{constructor(R,H){this.elementRef=R,this.cdr=H,this.checkChanged=new n.bkB}onClick(R){R.target.closest("button[kirby-button]:not(:disabled)")&&(this.checked=!this.checked,this.checkChanged.emit(this.checked),this.focusToggledButton())}focusToggledButton(){this.cdr.detectChanges(),this.elementRef.nativeElement.querySelector("button[kirby-button]")?.focus()}static#e=this.\u0275fac=function(H){return new(H||M)(n.rXU(n.aKT),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:M,selectors:[["kirby-toggle-button"]],hostBindings:function(H,K){1&H&&n.bIt("click",function(he){return K.onClick(he)})},inputs:{checked:"checked"},outputs:{checkChanged:"checkChanged"},standalone:!1,ngContentSelectors:g,decls:2,vars:2,consts:[[4,"ngIf"]],template:function(H,K){1&H&&(n.NAR(f),n.DNE(0,s,1,0,"ng-content",0)(1,x,1,0,"ng-content",0)),2&H&&(n.Y8G("ngIf",!K.checked),n.R7$(),n.Y8G("ngIf",K.checked))},dependencies:[i.bT],encapsulation:2,changeDetection:0})}return M})(),w=(()=>{class M{static#e=this.\u0275fac=function(H){return new(H||M)};static#t=this.\u0275mod=n.$C({type:M});static#n=this.\u0275inj=n.G2t({imports:[i.MD]})}return M})()},57808:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>w});var n=l(60177),i=l(54438),f=l(84341),g=l(51272),s=l(13339),x=l(53715);const _=["*"];function y(M,I){if(1&M&&(i.j41(0,"span",3),i.EFF(1),i.k0s()),2&M){const R=i.XpG();i.R7$(),i.JRh(R._labelText)}}let w=(()=>{class M{get _isDisabled(){return this.disabled?"disabled":null}constructor(R,H,K){this.cdr=R,this.elementRef=H,this.ionicElementPartHelper=K,this.checked=!1,this.disabled=!1,this.checkedChange=new i.bkB,this._justify="start",this._labelPlacement="start",this._pressed=!1,this._onChange=()=>{},this._onTouched=()=>{}}ngOnInit(){this._hasSlottedContent=this.elementRef.nativeElement.querySelector(".default-content").hasChildNodes();const R=this.elementRef.nativeElement.getAttribute("slot");"end"===R&&this._hasSlottedContent&&(this._justify="space-between"),"start"===R&&this._hasSlottedContent&&(this._labelPlacement="end")}ngAfterViewInit(){this.ionicElementPartHelper.setPart("label",this.ionToggleElement,".toggle-wrapper"),this.ionicElementPartHelper.setPart("label-text-wrapper",this.ionToggleElement,".label-text-wrapper")}ngAfterContentInit(){this._labelText=(0,s.s0)(this.elementRef.nativeElement),!this._labelText&&!this._hasSlottedContent&&(this._labelText=(0,s.TD)(this.elementRef.nativeElement))}onCheckedChange(R){this.checked=R,this._onChange(this.checked),this.checkedChange.emit(this.checked)}_onActive(){this._pressed=!0}_onInactive(){this._pressed=!1,this._onTouched()}writeValue(R){this.checked=R}registerOnChange(R){this._onChange=R}registerOnTouched(R){this._onTouched=R}setDisabledState(R){this.disabled=R,this.cdr.detectChanges()}static#e=this.\u0275fac=function(H){return new(H||M)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(x.cO))};static#t=this.\u0275cmp=i.VBU({type:M,selectors:[["kirby-toggle"]],viewQuery:function(H,K){if(1&H&&i.GBs(g.BY,7,i.aKT),2&H){let L;i.mGM(L=i.lsd())&&(K.ionToggleElement=L.first)}},hostVars:3,hostBindings:function(H,K){2&H&&(i.BMQ("disabled",K._isDisabled),i.AVh("has-hidden-label",K._labelText))},inputs:{checked:"checked",disabled:"disabled"},outputs:{checkedChange:"checkedChange"},features:[i.Jv_([x.cO,{provide:f.kq,useExisting:(0,i.Rfq)(()=>M),multi:!0}])],ngContentSelectors:_,decls:4,vars:7,consts:[[3,"keydown.space","keyup.space","blur","ionChange","checked","disabled","justify","labelPlacement"],["class","hidden-label",4,"ngIf"],[1,"default-content"],[1,"hidden-label"]],template:function(H,K){1&H&&(i.NAR(),i.j41(0,"ion-toggle",0),i.bIt("keydown.space",function(){return K._onActive()})("keyup.space",function(){return K._onInactive()})("blur",function(){return K._onInactive()})("ionChange",function(he){return K.onCheckedChange(he.detail.checked)}),i.DNE(1,y,2,1,"span",1),i.j41(2,"span",2),i.SdG(3),i.k0s()()),2&H&&(i.AVh("interaction-state-active",K._pressed),i.Y8G("checked",K.checked)("disabled",K.disabled)("justify",K._justify)("labelPlacement",K._labelPlacement),i.R7$(),i.Y8G("ngIf",K._labelText))},dependencies:[n.MD,n.bT,g.BY],styles:["[_nghost-%COMP%]{display:inline-flex}[_nghost-%COMP%]:has(ion-toggle.in-item.toggle-justify-space-between){width:100%}.has-hidden-label[_nghost-%COMP%]{position:initial}.has-hidden-label[slot=end][_nghost-%COMP%] ion-toggle[_ngcontent-%COMP%]{margin-inline-start:12px}.has-hidden-label[_nghost-%COMP%] ion-toggle[_ngcontent-%COMP%]{position:initial}.has-hidden-label[_nghost-%COMP%] ion-toggle[_ngcontent-%COMP%]::part(label){position:initial}.has-hidden-label[_nghost-%COMP%] ion-toggle.in-item[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:0}.has-hidden-label[_nghost-%COMP%] .hidden-label[_ngcontent-%COMP%]{position:absolute;inset:0;opacity:0}@media (hover: hover) and (pointer: fine){ion-toggle[_ngcontent-%COMP%]{overflow:visible;contain:none}ion-toggle[_ngcontent-%COMP%]:focus-within::part(track){transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}@media (hover: hover){ion-toggle[_ngcontent-%COMP%]:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer;--track-background: rgb(119.28, 119.28, 119.28);--handle-background: rgb(244.8, 244.8, 244.8);--track-background-checked: rgb(45.030660793, 192.689339207, 114.1474889868);--handle-background-checked: rgb(244.8, 244.8, 244.8)}}ion-toggle[_ngcontent-%COMP%]:active, ion-toggle.interaction-state-active[_ngcontent-%COMP%]{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--track-background: rgb(107.92, 107.92, 107.92);--handle-background: rgb(234.6, 234.6, 234.6);--track-background-checked: rgb(40.7420264317, 174.3379735683, 103.2762995595);--handle-background-checked: rgb(234.6, 234.6, 234.6)}ion-toggle[_ngcontent-%COMP%]{--track-background: var(--kirby-semi-dark);--handle-background: var(--kirby-white);--track-background-checked: var(--kirby-success);--handle-background-checked: var(--kirby-white);--handle-transition: .2s;--handle-box-shadow: 0 1px 24px 0 rgba(28, 28, 28, .04);--handle-height: 28px;--handle-width: 28px;--border-radius: 16px}ion-toggle[_ngcontent-%COMP%]::part(track){height:32px}ion-toggle[_ngcontent-%COMP%] [_ngcontent-%COMP%]::part(label-text-wrapper){line-height:24px;white-space:pre-line}ion-toggle.in-item[_ngcontent-%COMP%]::part(label){align-items:center;padding-inline:0}ion-toggle.in-item[_ngcontent-%COMP%]::part(label), ion-toggle.in-item[_ngcontent-%COMP%]::part(label-text-wrapper){margin-block:0}ion-toggle.in-item.toggle-label-placement-start[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:0 12px}ion-toggle.in-item.toggle-label-placement-end[_ngcontent-%COMP%]::part(label-text-wrapper){margin-inline:12px 0}ion-toggle.in-item.legacy-toggle[_ngcontent-%COMP%]{padding:0}kirby-item[_nghost-%COMP%], kirby-item [_nghost-%COMP%]{z-index:1}kirby-item[_nghost-%COMP%] ion-toggle[_ngcontent-%COMP%], kirby-item [_nghost-%COMP%] ion-toggle[_ngcontent-%COMP%]{margin:0}kirby-item[slot=start][_nghost-%COMP%], kirby-item [slot=start][_nghost-%COMP%]{margin-inline-end:12px}"],changeDetection:0})}return M})()},35519:(ft,Z,l)=>{"use strict";l.d(Z,{W:()=>i});var n=l(54438);let i=(()=>{class f{get nativeWindow(){return window}static#e=this.\u0275fac=function(x){return new(x||f)};static#t=this.\u0275prov=n.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},3271:(ft,Z,l)=>{"use strict";l.d(Z,{ae$:()=>bo,uQP:()=>Cn,vyB:()=>Bn});var n=l(54438),i=l(35043),f=l(75797),g=l(51272),s=l(60177),x=l(81443),_=l(82470),y=l(28287),w=l(47008),M=l(34100),I=l(98990),R=l(11235),H=l(11723),K=l(32667),L=l(41727),he=l(49711),pe=l(50589),be=l(8346),Le=l(56297),ye=l(81365),je=l(67155),ke=l(84584),De=l(19539),Je=l(64317),lt=l(29756),Mt=l(36667),Bt=l(91365),et=l(90351),sn=l(72882),tt=l(27037),Ct=l(35987),Xe=l(12090),e=l(15739),On=l(18713),Pt=l(13339),wt=l(16564),At=l(26396),we=l(90599),Ot=l(35348),It=l(6260),tn=l(57017),fn=l(57808),En=l(30077),jn=l(91022),So=l(29660),pt=l(52375),Nt=l(47868),Vt=l(92585);function cn(_o,gi){if(1&_o&&(n.qex(0),n.nrm(1,"kirby-icon",7),n.bVm()),2&_o){const Go=n.XpG(2).$implicit;n.R7$(),n.Y8G("name",Go.badge.icon)}}function Fn(_o,gi){if(1&_o&&n.EFF(0),2&_o){const Go=n.XpG(2).$implicit;n.SpI(" ",Go.badge.content," ")}}function pn(_o,gi){if(1&_o&&(n.j41(0,"kirby-badge",5),n.DNE(1,cn,2,1,"ng-container",6)(2,Fn,1,1,"ng-template",null,0,n.C5r),n.k0s()),2&_o){const Go=n.sdS(3),zo=n.XpG().$implicit;n.Y8G("themeColor",zo.badge.themeColor),n.BMQ("aria-label",zo.badge.description),n.R7$(),n.Y8G("ngIf",zo.badge.icon)("ngIfElse",Go)}}function Un(_o,gi){if(1&_o){const Go=n.RV6();n.j41(0,"ion-segment-button",3),n.bIt("click",function(ri){n.eBV(Go);const Yi=n.XpG();return n.Njj(Yi.focusNativeButton(ri))}),n.EFF(1),n.DNE(2,pn,4,4,"kirby-badge",4),n.k0s()}if(2&_o){const Go=gi.$implicit,zo=gi.index,ri=n.XpG();n.Y8G("value",Go.id),n.BMQ("tabindex",ri.getTabIndex(Go,zo)),n.R7$(),n.SpI(" ",Go.text," "),n.R7$(),n.Y8G("ngIf",Go.badge)}}var Zn=function(_o){return _o.chip="chip",_o.compactChip="compactChip",_o.default="default",_o}(Zn||{});let Bn=(()=>{class _o{constructor(){this.mode=Zn.default,this._items=[],this._selectedIndex=-1,this.selectedIndexChange=new n.bkB,this._disableChangeOnSwipe=!1,this.segmentSelect=new n.bkB,this._segmentElementHasFocus=!1}preventOutsideClick(Go){Go.target instanceof HTMLElement&&(Go.target.closest("ion-segment-button")||Go.stopImmediatePropagation())}get _modeCssClass(){return{[Zn.chip]:"chip-mode",[Zn.default]:"default-mode",[Zn.compactChip]:"compact chip-mode"}[this.mode]}get items(){return this._items}set items(Go){this._items=Go||[],this._value=this.items[this.selectedIndex],this.ensureIonSegmentSelected()}ensureIonSegmentSelected(){const Go=this.ionSegmentElement.nativeElement,zo=Go.ionSelect;this._value&&"function"==typeof zo?.emit&&setTimeout(()=>{Go.querySelector("ion-segment-button.segment-button-checked")||zo.emit({value:this._value?.id})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(Go){Go!==this._selectedIndex&&(this._selectedIndex=Go,this._value=this.items[this.selectedIndex],this.selectedIndexChange.emit(this.selectedIndex))}get value(){return this._value}set value(Go){this.selectedIndex=this.items.indexOf(Go)}set size(Go){this.isSmallSize="sm"===Go}get disableChangeOnSwipe(){return this._disableChangeOnSwipe}set disableChangeOnSwipe(Go){this._disableChangeOnSwipe=Go}onSegmentSelect(Go){const zo=this.items.findIndex(ri=>Go===ri.id);zo!==this.selectedIndex&&(this.selectedIndex=zo,setTimeout(()=>{this.segmentSelect.emit(this.value)}))}focusNativeButton(Go){Go.target?.setFocus()}getTabIndex(Go,zo){return this._segmentElementHasFocus?-1:Go.id===this.value?.id||!this.value&&0===zo?null:-1}_onFocusInOut(){this._segmentElementHasFocus=this.ionSegmentElement.nativeElement.matches(":focus-within")}static#e=this.\u0275fac=function(zo){return new(zo||_o)};static#t=this.\u0275cmp=n.VBU({type:_o,selectors:[["kirby-segmented-control"]],viewQuery:function(zo,ri){if(1&zo&&n.GBs(g.Gp,7,n.aKT),2&zo){let Yi;n.mGM(Yi=n.lsd())&&(ri.ionSegmentElement=Yi.first)}},hostVars:4,hostBindings:function(zo,ri){1&zo&&n.bIt("focusin",function(){return ri._onFocusInOut()})("focusout",function(){return ri._onFocusInOut()}),2&zo&&(n.HbH(ri._modeCssClass),n.AVh("sm",ri.isSmallSize))},inputs:{mode:"mode",items:"items",selectedIndex:"selectedIndex",value:"value",size:"size",disableChangeOnSwipe:"disableChangeOnSwipe"},outputs:{selectedIndexChange:"selectedIndexChange",segmentSelect:"segmentSelect"},decls:2,vars:3,consts:[["badgeContent",""],[3,"ionChange","click","value","scrollable"],[3,"value","click",4,"ngFor","ngForOf"],[3,"click","value"],["role","text",3,"themeColor",4,"ngIf"],["role","text",3,"themeColor"],[4,"ngIf","ngIfElse"],[3,"name"]],template:function(zo,ri){1&zo&&(n.j41(0,"ion-segment",1),n.bIt("ionChange",function(xr){return ri.onSegmentSelect(xr.detail.value)})("click",function(xr){return ri.preventOutsideClick(xr)}),n.DNE(1,Un,3,4,"ion-segment-button",2),n.k0s()),2&zo&&(n.Y8G("value",null==ri.value?null:ri.value.id)("scrollable",ri.disableChangeOnSwipe||"default"!==ri.mode),n.R7$(),n.Y8G("ngForOf",ri.items))},dependencies:[i.op,i.Rl,f.n,s.MD,s.Sq,s.bT,g.Gp,g.eP],styles:['[_nghost-%COMP%]{display:block;-webkit-user-select:none;user-select:none;--kirby-badge-position: absolute;--kirby-badge-top: -8px;--kirby-badge-right: -16px;--kirby-badge-z-index: 2}.sm[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]{min-height:32px;font-size:12px;--padding-start: 16px;--padding-end: 16px;--kirby-badge-right: -8px}@media (hover: hover) and (pointer: fine){.sm[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]{outline:none;border-radius:999px}.sm[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}.sm[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}.sm[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}.default-mode[_nghost-%COMP%] ion-segment[_ngcontent-%COMP%]{--background: var(--kirby-inputs-background-color);box-shadow:var(--kirby-inputs-elevation);overflow:visible;contain:none;width:fit-content}.default-mode[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]{--color-hover: rgba(var(--kirby-black-rgb), .4)}.chip-mode[_nghost-%COMP%] ion-segment[_ngcontent-%COMP%]{--background: none;border-radius:0;padding:4px;gap:8px}@media (pointer: coarse){.chip-mode[_nghost-%COMP%] ion-segment[_ngcontent-%COMP%]{scrollbar-width:none}.chip-mode[_nghost-%COMP%] ion-segment[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}}.chip-mode[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]{--background: var(--kirby-inputs-background-color);--indicator-transition: none}.chip-mode[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]::part(indicator){padding-inline:0}.compact[_nghost-%COMP%] ion-segment[_ngcontent-%COMP%]{--background: transparent}.compact[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]{--background: transparent;--padding-start: 12px;--padding-end: 12px}@media (hover: hover){.chip-mode[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]:hover, .compact[_nghost-%COMP%] ion-segment-button[_ngcontent-%COMP%]:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}@media (hover: hover){.chip-mode[_nghost-%COMP%] ion-segment-button.segment-button-checked[_ngcontent-%COMP%]:hover, .compact[_nghost-%COMP%] ion-segment-button.segment-button-checked[_ngcontent-%COMP%]:hover{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}ion-segment[_ngcontent-%COMP%]{border-radius:999px;grid-auto-columns:max-content;box-sizing:border-box}@media (hover: hover) and (pointer: fine){ion-segment-button[_ngcontent-%COMP%]:focus-within::part(native){transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}ion-segment-button[_ngcontent-%COMP%]{position:relative}ion-segment-button[_ngcontent-%COMP%]:after{content:"";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}ion-segment-button[_ngcontent-%COMP%]{--border-radius: 999px;--border-style: none;--background: none;--color: var(--kirby-inputs-color);--indicator-color: var(--kirby-inputs-indicator-background-color);--color-checked: var(--kirby-inputs-indicator-color);--indicator-box-shadow: none;--indicator-transform: none;--padding-start: 24px;--padding-end: 24px;--margin-bottom: 0;--margin-end: 0;--margin-start: 0;--margin-top: 0;min-height:40px;min-width:fit-content;font-weight:400;font-size:14px;text-transform:none;margin:0}ion-segment-button[_ngcontent-%COMP%]::part(native){border-radius:var(--border-radius);contain:none;overflow:visible;opacity:1}ion-segment-button[_ngcontent-%COMP%]::part(native):after{transition:all 80ms linear 0ms;border-radius:var(--border-radius)}ion-segment-button[_ngcontent-%COMP%]::part(indicator){padding-inline:0}'],changeDetection:0})}return _o})(),Cn=(()=>{class _o{constructor(Go,zo){this.modalNavigationService=Go,this.elementRef=zo}ngOnInit(){this.elementRef.nativeElement.setAttribute("modal-router-link","")}onClick(){return this.modalNavigationService.navigateToModal(this.path,"string"!=typeof this.queryParams?this.queryParams:null),!1}static#e=this.\u0275fac=function(zo){return new(zo||_o)(n.rXU(x.zk),n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:_o,selectors:[["","kirbyModalRouterLink",""]],hostBindings:function(zo,ri){1&zo&&n.bIt("click",function(){return ri.onClick()})},inputs:{path:[0,"kirbyModalRouterLink","path"],queryParams:[0,"kirbyModalQueryParams","queryParams"]},standalone:!1})}return _o})();const Tn=[x.W3,x._T,x.Sl,x.l4,tn.o,tn.K,Mt.a,Pt.tN,Pt.ke,x.PI],uo=new n.nKC("USERCONFIG");let bo=(()=>{class _o{static forChild(Go){return{ngModule:_o,providers:[{provide:uo,useValue:Go}]}}constructor(Go,zo){Go.initialize(zo&&zo.moduleRootRoutePath)}static#e=this.\u0275fac=function(zo){return new(zo||_o)(n.KVO(x.W3),n.KVO(uo,8))};static#t=this.\u0275mod=n.$C({type:_o});static#n=this.\u0275inj=n.G2t({providers:Tn,imports:[s.MD,Nt.iI,Je.U,De.J,e.x8,Bt.wq,pt.GC,It.mt,Ot.jr,i.op,ye.kA,En.d,lt.HV,jn.mM,we.O,I.Dw,tt.s7,he.b,L.kr,Le.LT,wt.O9,_.h6,pt.GC,So.p,je._,x.Fo,Le.QC,Le.Sj,K.h,Bn,x.Cy,et.r,sn.b,x.WY,On.U,Ct.V,ke.d,sn.Z,Xe.N,Mt.q,pe.U,fn.a,At.V,Bn,R.P,Vt.Z,x.vL,x.s$,y.f,M.S,w.Q,be.q,f.n,x.zf,H.K,De.J,e.x8,Bt.wq,pt.GC,It.mt,Ot.jr,i.op,ye.kA,En.d,lt.HV,jn.mM,we.O,I.Dw,tt.s7,he.b,L.kr,Le.LT,wt.O9,_.h6,pt.GC]})}return _o})()},49969:(ft,Z,l)=>{"use strict";l.d(Z,{FX:()=>Mt,If:()=>n,K2:()=>x,hZ:()=>f,i0:()=>g,iF:()=>_,kY:()=>M,kp:()=>i,sf:()=>Je,ui:()=>lt,wk:()=>y});var n=function(Bt){return Bt[Bt.State=0]="State",Bt[Bt.Transition=1]="Transition",Bt[Bt.Sequence=2]="Sequence",Bt[Bt.Group=3]="Group",Bt[Bt.Animate=4]="Animate",Bt[Bt.Keyframes=5]="Keyframes",Bt[Bt.Style=6]="Style",Bt[Bt.Trigger=7]="Trigger",Bt[Bt.Reference=8]="Reference",Bt[Bt.AnimateChild=9]="AnimateChild",Bt[Bt.AnimateRef=10]="AnimateRef",Bt[Bt.Query=11]="Query",Bt[Bt.Stagger=12]="Stagger",Bt}(n||{});const i="*";function f(Bt,et){return{type:n.Trigger,name:Bt,definitions:et,options:{}}}function g(Bt,et=null){return{type:n.Animate,styles:et,timings:Bt}}function x(Bt,et=null){return{type:n.Sequence,steps:Bt,options:et}}function _(Bt){return{type:n.Style,styles:Bt,offset:null}}function y(Bt,et,sn){return{type:n.State,name:Bt,styles:et,options:sn}}function M(Bt,et,sn=null){return{type:n.Transition,expr:Bt,animation:et,options:sn}}class Je{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(et=0,sn=0){this.totalTime=et+sn}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(et=>et()),this._onDoneFns=[])}onStart(et){this._originalOnStartFns.push(et),this._onStartFns.push(et)}onDone(et){this._originalOnDoneFns.push(et),this._onDoneFns.push(et)}onDestroy(et){this._onDestroyFns.push(et)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(et=>et()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(et=>et()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(et){this._position=this.totalTime?et*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(et){const sn="start"==et?this._onStartFns:this._onDoneFns;sn.forEach(tt=>tt()),sn.length=0}}class lt{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(et){this.players=et;let sn=0,tt=0,Ct=0;const Xe=this.players.length;0==Xe?queueMicrotask(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++sn==Xe&&this._onFinish()}),e.onDestroy(()=>{++tt==Xe&&this._onDestroy()}),e.onStart(()=>{++Ct==Xe&&this._onStart()})}),this.totalTime=this.players.reduce((e,On)=>Math.max(e,On.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(et=>et()),this._onDoneFns=[])}init(){this.players.forEach(et=>et.init())}onStart(et){this._onStartFns.push(et)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(et=>et()),this._onStartFns=[])}onDone(et){this._onDoneFns.push(et)}onDestroy(et){this._onDestroyFns.push(et)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(et=>et.play())}pause(){this.players.forEach(et=>et.pause())}restart(){this.players.forEach(et=>et.restart())}finish(){this._onFinish(),this.players.forEach(et=>et.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(et=>et.destroy()),this._onDestroyFns.forEach(et=>et()),this._onDestroyFns=[])}reset(){this.players.forEach(et=>et.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(et){const sn=et*this.totalTime;this.players.forEach(tt=>{const Ct=tt.totalTime?Math.min(1,sn/tt.totalTime):1;tt.setPosition(Ct)})}getPosition(){const et=this.players.reduce((sn,tt)=>null===sn||tt.totalTime>sn.totalTime?tt:sn,null);return null!=et?et.getPosition():0}beforeDestroy(){this.players.forEach(et=>{et.beforeDestroy&&et.beforeDestroy()})}triggerCallback(et){const sn="start"==et?this._onStartFns:this._onDoneFns;sn.forEach(tt=>tt()),sn.length=0}}const Mt="!"},60177:(ft,Z,l)=>{"use strict";l.d(Z,{AJ:()=>Ce,Aq:()=>sn,EO:()=>wr,Jj:()=>ws,MD:()=>de,N0:()=>mo,OI:()=>ni,P9:()=>B,QT:()=>g,QX:()=>Ti,Sm:()=>pe,Sq:()=>Vi,T3:()=>ys,TG:()=>Ao,UE:()=>st,VF:()=>x,Vy:()=>rt,Xr:()=>Et,YU:()=>po,ZD:()=>s,_b:()=>Qi,a:()=>fn,aZ:()=>Le,bT:()=>Wi,fw:()=>be,gq:()=>Ot,gz:()=>tt,hb:()=>L,hj:()=>M,lG:()=>fi,oe:()=>P,pM:()=>Vi,qQ:()=>y,vh:()=>To});var n=l(54438),i=l(21413);let f=null;function g(){return f}function s(ue){f??=ue}class x{}const y=new n.nKC("");let w=(()=>{class ue{historyGo(Oe){throw new Error("")}static \u0275fac=function(Ze){return new(Ze||ue)};static \u0275prov=n.jDH({token:ue,factory:()=>(0,n.WQX)(I),providedIn:"platform"})}return ue})();const M=new n.nKC("");let I=(()=>{class ue extends w{_location;_history;_doc=(0,n.WQX)(y);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(Oe){const Ze=g().getGlobalEventTarget(this._doc,"window");return Ze.addEventListener("popstate",Oe,!1),()=>Ze.removeEventListener("popstate",Oe)}onHashChange(Oe){const Ze=g().getGlobalEventTarget(this._doc,"window");return Ze.addEventListener("hashchange",Oe,!1),()=>Ze.removeEventListener("hashchange",Oe)}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(Oe){this._location.pathname=Oe}pushState(Oe,Ze,bn){this._history.pushState(Oe,Ze,bn)}replaceState(Oe,Ze,bn){this._history.replaceState(Oe,Ze,bn)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Oe=0){this._history.go(Oe)}getState(){return this._history.state}static \u0275fac=function(Ze){return new(Ze||ue)};static \u0275prov=n.jDH({token:ue,factory:()=>new ue,providedIn:"platform"})}return ue})();function R(ue,gt){return ue?gt?ue.endsWith("/")?gt.startsWith("/")?ue+gt.slice(1):ue+gt:gt.startsWith("/")?ue+gt:`${ue}/${gt}`:ue:gt}function H(ue){const gt=ue.match(/#|\?|$/),Oe=gt&>.index||ue.length;return ue.slice(0,Oe-("/"===ue[Oe-1]?1:0))+ue.slice(Oe)}function K(ue){return ue&&"?"!==ue[0]?"?"+ue:ue}let L=(()=>{class ue{historyGo(Oe){throw new Error("")}static \u0275fac=function(Ze){return new(Ze||ue)};static \u0275prov=n.jDH({token:ue,factory:()=>(0,n.WQX)(pe),providedIn:"root"})}return ue})();const he=new n.nKC("");let pe=(()=>{class ue extends L{_platformLocation;_baseHref;_removeListenerFns=[];constructor(Oe,Ze){super(),this._platformLocation=Oe,this._baseHref=Ze??this._platformLocation.getBaseHrefFromDOM()??(0,n.WQX)(y).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Oe){this._removeListenerFns.push(this._platformLocation.onPopState(Oe),this._platformLocation.onHashChange(Oe))}getBaseHref(){return this._baseHref}prepareExternalUrl(Oe){return R(this._baseHref,Oe)}path(Oe=!1){const Ze=this._platformLocation.pathname+K(this._platformLocation.search),bn=this._platformLocation.hash;return bn&&Oe?`${Ze}${bn}`:Ze}pushState(Oe,Ze,bn,Eo){const $o=this.prepareExternalUrl(bn+K(Eo));this._platformLocation.pushState(Oe,Ze,$o)}replaceState(Oe,Ze,bn,Eo){const $o=this.prepareExternalUrl(bn+K(Eo));this._platformLocation.replaceState(Oe,Ze,$o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Oe=0){this._platformLocation.historyGo?.(Oe)}static \u0275fac=function(Ze){return new(Ze||ue)(n.KVO(w),n.KVO(he,8))};static \u0275prov=n.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})(),be=(()=>{class ue extends L{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(Oe,Ze){super(),this._platformLocation=Oe,null!=Ze&&(this._baseHref=Ze)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Oe){this._removeListenerFns.push(this._platformLocation.onPopState(Oe),this._platformLocation.onHashChange(Oe))}getBaseHref(){return this._baseHref}path(Oe=!1){const Ze=this._platformLocation.hash??"#";return Ze.length>0?Ze.substring(1):Ze}prepareExternalUrl(Oe){const Ze=R(this._baseHref,Oe);return Ze.length>0?"#"+Ze:Ze}pushState(Oe,Ze,bn,Eo){let $o=this.prepareExternalUrl(bn+K(Eo));0==$o.length&&($o=this._platformLocation.pathname),this._platformLocation.pushState(Oe,Ze,$o)}replaceState(Oe,Ze,bn,Eo){let $o=this.prepareExternalUrl(bn+K(Eo));0==$o.length&&($o=this._platformLocation.pathname),this._platformLocation.replaceState(Oe,Ze,$o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Oe=0){this._platformLocation.historyGo?.(Oe)}static \u0275fac=function(Ze){return new(Ze||ue)(n.KVO(w),n.KVO(he,8))};static \u0275prov=n.jDH({token:ue,factory:ue.\u0275fac})}return ue})(),Le=(()=>{class ue{_subject=new i.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(Oe){this._locationStrategy=Oe;const Ze=this._locationStrategy.getBaseHref();this._basePath=function De(ue){if(new RegExp("^(https?:)?//").test(ue)){const[,Oe]=ue.split(/\/\/[^\/]+/);return Oe}return ue}(H(ke(Ze))),this._locationStrategy.onPopState(bn=>{this._subject.next({url:this.path(!0),pop:!0,state:bn.state,type:bn.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Oe=!1){return this.normalize(this._locationStrategy.path(Oe))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Oe,Ze=""){return this.path()==this.normalize(Oe+K(Ze))}normalize(Oe){return ue.stripTrailingSlash(function je(ue,gt){if(!ue||!gt.startsWith(ue))return gt;const Oe=gt.substring(ue.length);return""===Oe||["/",";","?","#"].includes(Oe[0])?Oe:gt}(this._basePath,ke(Oe)))}prepareExternalUrl(Oe){return Oe&&"/"!==Oe[0]&&(Oe="/"+Oe),this._locationStrategy.prepareExternalUrl(Oe)}go(Oe,Ze="",bn=null){this._locationStrategy.pushState(bn,"",Oe,Ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(Oe+K(Ze)),bn)}replaceState(Oe,Ze="",bn=null){this._locationStrategy.replaceState(bn,"",Oe,Ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(Oe+K(Ze)),bn)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Oe=0){this._locationStrategy.historyGo?.(Oe)}onUrlChange(Oe){return this._urlChangeListeners.push(Oe),this._urlChangeSubscription??=this.subscribe(Ze=>{this._notifyUrlChangeListeners(Ze.url,Ze.state)}),()=>{const Ze=this._urlChangeListeners.indexOf(Oe);this._urlChangeListeners.splice(Ze,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Oe="",Ze){this._urlChangeListeners.forEach(bn=>bn(Oe,Ze))}subscribe(Oe,Ze,bn){return this._subject.subscribe({next:Oe,error:Ze??void 0,complete:bn??void 0})}static normalizeQueryParams=K;static joinWithSlash=R;static stripTrailingSlash=H;static \u0275fac=function(Ze){return new(Ze||ue)(n.KVO(L))};static \u0275prov=n.jDH({token:ue,factory:()=>function ye(){return new Le((0,n.KVO)(L))}(),providedIn:"root"})}return ue})();function ke(ue){return ue.replace(/\/index.html$/,"")}const Je={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var lt=function(ue){return ue[ue.Decimal=0]="Decimal",ue[ue.Percent=1]="Percent",ue[ue.Currency=2]="Currency",ue[ue.Scientific=3]="Scientific",ue}(lt||{}),Bt=function(ue){return ue[ue.Format=0]="Format",ue[ue.Standalone=1]="Standalone",ue}(Bt||{}),et=function(ue){return ue[ue.Narrow=0]="Narrow",ue[ue.Abbreviated=1]="Abbreviated",ue[ue.Wide=2]="Wide",ue[ue.Short=3]="Short",ue}(et||{}),sn=function(ue){return ue[ue.Short=0]="Short",ue[ue.Medium=1]="Medium",ue[ue.Long=2]="Long",ue[ue.Full=3]="Full",ue}(sn||{});const tt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Ot(ue,gt){return Zn((0,n.H5H)(ue)[n.KH2.DateFormat],gt)}function It(ue,gt){return Zn((0,n.H5H)(ue)[n.KH2.TimeFormat],gt)}function tn(ue,gt){return Zn((0,n.H5H)(ue)[n.KH2.DateTimeFormat],gt)}function fn(ue,gt){const Oe=(0,n.H5H)(ue),Ze=Oe[n.KH2.NumberSymbols][gt];if(typeof Ze>"u"){if(gt===tt.CurrencyDecimal)return Oe[n.KH2.NumberSymbols][tt.Decimal];if(gt===tt.CurrencyGroup)return Oe[n.KH2.NumberSymbols][tt.Group]}return Ze}function En(ue,gt){return(0,n.H5H)(ue)[n.KH2.NumberFormats][gt]}function cn(ue){if(!ue[n.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${ue[n.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Zn(ue,gt){for(let Oe=gt;Oe>-1;Oe--)if(typeof ue[Oe]<"u")return ue[Oe];throw new Error("Locale data API: locale data undefined")}function Bn(ue){const[gt,Oe]=ue.split(":");return{hours:+gt,minutes:+Oe}}const Nn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qn={},Zt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function vn(ue,gt,Oe,Ze){let bn=function In(ue){if(wn(ue))return ue;if("number"==typeof ue&&!isNaN(ue))return new Date(ue);if("string"==typeof ue){if(ue=ue.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(ue)){const[bn,Eo=1,$o=1]=ue.split("-").map(Ai=>+Ai);return hn(bn,Eo-1,$o)}const Oe=parseFloat(ue);if(!isNaN(ue-Oe))return new Date(Oe);let Ze;if(Ze=ue.match(Nn))return function fo(ue){const gt=new Date(0);let Oe=0,Ze=0;const bn=ue[8]?gt.setUTCFullYear:gt.setFullYear,Eo=ue[8]?gt.setUTCHours:gt.setHours;ue[9]&&(Oe=Number(ue[9]+ue[10]),Ze=Number(ue[9]+ue[11])),bn.call(gt,Number(ue[1]),Number(ue[2])-1,Number(ue[3]));const $o=Number(ue[4]||0)-Oe,Ai=Number(ue[5]||0)-Ze,Kr=Number(ue[6]||0),Yr=Math.floor(1e3*parseFloat("0."+(ue[7]||0)));return Eo.call(gt,$o,Ai,Kr,Yr),gt}(Ze)}const gt=new Date(ue);if(!wn(gt))throw new Error(`Unable to convert "${ue}" into a date`);return gt}(ue);gt=Tn(Oe,gt)||gt;let Ai,$o=[];for(;gt;){if(Ai=Zt.exec(gt),!Ai){$o.push(gt);break}{$o=$o.concat(Ai.slice(1));const Ur=$o.pop();if(!Ur)break;gt=Ur}}let Kr=bn.getTimezoneOffset();Ze&&(Kr=ze(Ze,Kr),bn=function Ft(ue,gt,Oe){const Ze=Oe?-1:1,bn=ue.getTimezoneOffset();return function at(ue,gt){return(ue=new Date(ue.getTime())).setMinutes(ue.getMinutes()+gt),ue}(ue,Ze*(ze(gt,bn)-bn))}(bn,Ze,!0));let Yr="";return $o.forEach(Ur=>{const _r=function mn(ue){if(Vn[ue])return Vn[ue];let gt;switch(ue){case"G":case"GG":case"GGG":gt=zo(3,et.Abbreviated);break;case"GGGG":gt=zo(3,et.Wide);break;case"GGGGG":gt=zo(3,et.Narrow);break;case"y":gt=gi(0,1,0,!1,!0);break;case"yy":gt=gi(0,2,0,!0,!0);break;case"yyy":gt=gi(0,3,0,!1,!0);break;case"yyyy":gt=gi(0,4,0,!1,!0);break;case"Y":gt=no(1);break;case"YY":gt=no(2,!0);break;case"YYY":gt=no(3);break;case"YYYY":gt=no(4);break;case"M":case"L":gt=gi(1,1,1);break;case"MM":case"LL":gt=gi(1,2,1);break;case"MMM":gt=zo(2,et.Abbreviated);break;case"MMMM":gt=zo(2,et.Wide);break;case"MMMMM":gt=zo(2,et.Narrow);break;case"LLL":gt=zo(2,et.Abbreviated,Bt.Standalone);break;case"LLLL":gt=zo(2,et.Wide,Bt.Standalone);break;case"LLLLL":gt=zo(2,et.Narrow,Bt.Standalone);break;case"w":gt=Gi(1);break;case"ww":gt=Gi(2);break;case"W":gt=Gi(1,!0);break;case"d":gt=gi(2,1);break;case"dd":gt=gi(2,2);break;case"c":case"cc":gt=gi(7,1);break;case"ccc":gt=zo(1,et.Abbreviated,Bt.Standalone);break;case"cccc":gt=zo(1,et.Wide,Bt.Standalone);break;case"ccccc":gt=zo(1,et.Narrow,Bt.Standalone);break;case"cccccc":gt=zo(1,et.Short,Bt.Standalone);break;case"E":case"EE":case"EEE":gt=zo(1,et.Abbreviated);break;case"EEEE":gt=zo(1,et.Wide);break;case"EEEEE":gt=zo(1,et.Narrow);break;case"EEEEEE":gt=zo(1,et.Short);break;case"a":case"aa":case"aaa":gt=zo(0,et.Abbreviated);break;case"aaaa":gt=zo(0,et.Wide);break;case"aaaaa":gt=zo(0,et.Narrow);break;case"b":case"bb":case"bbb":gt=zo(0,et.Abbreviated,Bt.Standalone,!0);break;case"bbbb":gt=zo(0,et.Wide,Bt.Standalone,!0);break;case"bbbbb":gt=zo(0,et.Narrow,Bt.Standalone,!0);break;case"B":case"BB":case"BBB":gt=zo(0,et.Abbreviated,Bt.Format,!0);break;case"BBBB":gt=zo(0,et.Wide,Bt.Format,!0);break;case"BBBBB":gt=zo(0,et.Narrow,Bt.Format,!0);break;case"h":gt=gi(3,1,-12);break;case"hh":gt=gi(3,2,-12);break;case"H":gt=gi(3,1);break;case"HH":gt=gi(3,2);break;case"m":gt=gi(4,1);break;case"mm":gt=gi(4,2);break;case"s":gt=gi(5,1);break;case"ss":gt=gi(5,2);break;case"S":gt=gi(6,1);break;case"SS":gt=gi(6,2);break;case"SSS":gt=gi(6,3);break;case"Z":case"ZZ":case"ZZZ":gt=Yi(0);break;case"ZZZZZ":gt=Yi(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":gt=Yi(1);break;case"OOOO":case"ZZZZ":case"zzzz":gt=Yi(2);break;default:return null}return Vn[ue]=gt,gt}(Ur);Yr+=_r?_r(bn,Oe,Kr):"''"===Ur?"'":Ur.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Yr}function hn(ue,gt,Oe){const Ze=new Date(0);return Ze.setFullYear(ue,gt,Oe),Ze.setHours(0,0,0),Ze}function Tn(ue,gt){const Oe=function Xe(ue){return(0,n.H5H)(ue)[n.KH2.LocaleId]}(ue);if(Qn[Oe]??={},Qn[Oe][gt])return Qn[Oe][gt];let Ze="";switch(gt){case"shortDate":Ze=Ot(ue,sn.Short);break;case"mediumDate":Ze=Ot(ue,sn.Medium);break;case"longDate":Ze=Ot(ue,sn.Long);break;case"fullDate":Ze=Ot(ue,sn.Full);break;case"shortTime":Ze=It(ue,sn.Short);break;case"mediumTime":Ze=It(ue,sn.Medium);break;case"longTime":Ze=It(ue,sn.Long);break;case"fullTime":Ze=It(ue,sn.Full);break;case"short":const bn=Tn(ue,"shortTime"),Eo=Tn(ue,"shortDate");Ze=uo(tn(ue,sn.Short),[bn,Eo]);break;case"medium":const $o=Tn(ue,"mediumTime"),Ai=Tn(ue,"mediumDate");Ze=uo(tn(ue,sn.Medium),[$o,Ai]);break;case"long":const Kr=Tn(ue,"longTime"),Yr=Tn(ue,"longDate");Ze=uo(tn(ue,sn.Long),[Kr,Yr]);break;case"full":const Ur=Tn(ue,"fullTime"),_r=Tn(ue,"fullDate");Ze=uo(tn(ue,sn.Full),[Ur,_r])}return Ze&&(Qn[Oe][gt]=Ze),Ze}function uo(ue,gt){return gt&&(ue=ue.replace(/\{([^}]+)}/g,function(Oe,Ze){return null!=gt&&Ze in gt?gt[Ze]:Oe})),ue}function bo(ue,gt,Oe="-",Ze,bn){let Eo="";(ue<0||bn&&ue<=0)&&(bn?ue=1-ue:(ue=-ue,Eo=Oe));let $o=String(ue);for(;$o.length0||Ai>-Oe)&&(Ai+=Oe),3===ue)0===Ai&&-12===Oe&&(Ai=12);else if(6===ue)return function _o(ue,gt){return bo(ue,3).substring(0,gt)}(Ai,gt);const Kr=fn($o,tt.MinusSign);return bo(Ai,gt,Kr,Ze,bn)}}function zo(ue,gt,Oe=Bt.Format,Ze=!1){return function(bn,Eo){return function ri(ue,gt,Oe,Ze,bn,Eo){switch(Oe){case 2:return function Pt(ue,gt,Oe){const Ze=(0,n.H5H)(ue),Eo=Zn([Ze[n.KH2.MonthsFormat],Ze[n.KH2.MonthsStandalone]],gt);return Zn(Eo,Oe)}(gt,bn,Ze)[ue.getMonth()];case 1:return function On(ue,gt,Oe){const Ze=(0,n.H5H)(ue),Eo=Zn([Ze[n.KH2.DaysFormat],Ze[n.KH2.DaysStandalone]],gt);return Zn(Eo,Oe)}(gt,bn,Ze)[ue.getDay()];case 0:const $o=ue.getHours(),Ai=ue.getMinutes();if(Eo){const Yr=function Fn(ue){const gt=(0,n.H5H)(ue);return cn(gt),(gt[n.KH2.ExtraData][2]||[]).map(Ze=>"string"==typeof Ze?Bn(Ze):[Bn(Ze[0]),Bn(Ze[1])])}(gt),Ur=function pn(ue,gt,Oe){const Ze=(0,n.H5H)(ue);cn(Ze);const Eo=Zn([Ze[n.KH2.ExtraData][0],Ze[n.KH2.ExtraData][1]],gt)||[];return Zn(Eo,Oe)||[]}(gt,bn,Ze),_r=Yr.findIndex(pr=>{if(Array.isArray(pr)){const[ii,Ar]=pr,Ss=$o>=ii.hours&&Ai>=ii.minutes,Qr=$o0?Math.floor(bn/60):Math.ceil(bn/60);switch(ue){case 0:return(bn>=0?"+":"")+bo($o,2,Eo)+bo(Math.abs(bn%60),2,Eo);case 1:return"GMT"+(bn>=0?"+":"")+bo($o,1,Eo);case 2:return"GMT"+(bn>=0?"+":"")+bo($o,2,Eo)+":"+bo(Math.abs(bn%60),2,Eo);case 3:return 0===Ze?"Z":(bn>=0?"+":"")+bo($o,2,Eo)+":"+bo(Math.abs(bn%60),2,Eo);default:throw new Error(`Unknown zone width "${ue}"`)}}}const xr=0,zi=4;function Pr(ue){const gt=ue.getDay(),Oe=0===gt?-3:zi-gt;return hn(ue.getFullYear(),ue.getMonth(),ue.getDate()+Oe)}function Gi(ue,gt=!1){return function(Oe,Ze){let bn;if(gt){const Eo=new Date(Oe.getFullYear(),Oe.getMonth(),1).getDay()-1,$o=Oe.getDate();bn=1+Math.floor(($o+Eo)/7)}else{const Eo=Pr(Oe),$o=function Ji(ue){const gt=hn(ue,xr,1).getDay();return hn(ue,0,1+(gt<=zi?zi:zi+7)-gt)}(Eo.getFullYear()),Ai=Eo.getTime()-$o.getTime();bn=1+Math.round(Ai/6048e5)}return bo(bn,ue,fn(Ze,tt.MinusSign))}}function no(ue,gt=!1){return function(Oe,Ze){return bo(Pr(Oe).getFullYear(),ue,fn(Ze,tt.MinusSign),gt)}}const Vn={};function ze(ue,gt){ue=ue.replace(/:/g,"");const Oe=Date.parse("Jan 01, 1970 00:00:00 "+ue)/6e4;return isNaN(Oe)?gt:Oe}function wn(ue){return ue instanceof Date&&!isNaN(ue.valueOf())}const dn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ln(ue,gt,Oe,Ze,bn,Eo,$o=!1){let Ai="",Kr=!1;if(isFinite(ue)){let Yr=function er(ue){let Ze,bn,Eo,$o,Ai,gt=Math.abs(ue)+"",Oe=0;for((bn=gt.indexOf("."))>-1&&(gt=gt.replace(".","")),(Eo=gt.search(/e/i))>0?(bn<0&&(bn=Eo),bn+=+gt.slice(Eo+1),gt=gt.substring(0,Eo)):bn<0&&(bn=gt.length),Eo=0;"0"===gt.charAt(Eo);Eo++);if(Eo===(Ai=gt.length))Ze=[0],bn=1;else{for(Ai--;"0"===gt.charAt(Ai);)Ai--;for(bn-=Eo,Ze=[],$o=0;Eo<=Ai;Eo++,$o++)Ze[$o]=Number(gt.charAt(Eo))}return bn>22&&(Ze=Ze.splice(0,21),Oe=bn-1,bn=1),{digits:Ze,exponent:Oe,integerLen:bn}}(ue);$o&&(Yr=function ci(ue){if(0===ue.digits[0])return ue;const gt=ue.digits.length-ue.integerLen;return ue.exponent?ue.exponent+=2:(0===gt?ue.digits.push(0,0):1===gt&&ue.digits.push(0),ue.integerLen+=2),ue}(Yr));let Ur=gt.minInt,_r=gt.minFrac,pr=gt.maxFrac;if(Eo){const Vs=Eo.match(dn);if(null===Vs)throw new Error(`${Eo} is not a valid digit info`);const ns=Vs[1],Hr=Vs[3],os=Vs[5];null!=ns&&(Ur=dr(ns)),null!=Hr&&(_r=dr(Hr)),null!=os?pr=dr(os):null!=Hr&&_r>pr&&(pr=_r)}!function ei(ue,gt,Oe){if(gt>Oe)throw new Error(`The minimum number of digits after fraction (${gt}) is higher than the maximum (${Oe}).`);let Ze=ue.digits,bn=Ze.length-ue.integerLen;const Eo=Math.min(Math.max(gt,bn),Oe);let $o=Eo+ue.integerLen,Ai=Ze[$o];if($o>0){Ze.splice(Math.max(ue.integerLen,$o));for(let _r=$o;_r=5)if($o-1<0){for(let _r=0;_r>$o;_r--)Ze.unshift(0),ue.integerLen++;Ze.unshift(1),ue.integerLen++}else Ze[$o-1]++;for(;bn=Yr?Ar.pop():Kr=!1),pr>=10?1:0},0);Ur&&(Ze.unshift(Ur),ue.integerLen++)}(Yr,_r,pr);let ii=Yr.digits,Ar=Yr.integerLen;const Ss=Yr.exponent;let Qr=[];for(Kr=ii.every(Vs=>!Vs);Ar0?Qr=ii.splice(Ar,ii.length):(Qr=ii,ii=[0]);const la=[];for(ii.length>=gt.lgSize&&la.unshift(ii.splice(-gt.lgSize,ii.length).join(""));ii.length>gt.gSize;)la.unshift(ii.splice(-gt.gSize,ii.length).join(""));ii.length&&la.unshift(ii.join("")),Ai=la.join(fn(Oe,Ze)),Qr.length&&(Ai+=fn(Oe,bn)+Qr.join("")),Ss&&(Ai+=fn(Oe,tt.Exponential)+"+"+Ss)}else Ai=fn(Oe,tt.Infinity);return Ai=ue<0&&!Kr?gt.negPre+Ai+gt.negSuf:gt.posPre+Ai+gt.posSuf,Ai}function yi(ue,gt="-"){const Oe={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ze=ue.split(";"),bn=Ze[0],Eo=Ze[1],$o=-1!==bn.indexOf(".")?bn.split("."):[bn.substring(0,bn.lastIndexOf("0")+1),bn.substring(bn.lastIndexOf("0")+1)],Ai=$o[0],Kr=$o[1]||"";Oe.posPre=Ai.substring(0,Ai.indexOf("#"));for(let Ur=0;Ur{class ue{_ngEl;_renderer;initialClasses=en;rawClass;stateMap=new Map;constructor(Oe,Ze){this._ngEl=Oe,this._renderer=Ze}set klass(Oe){this.initialClasses=null!=Oe?Oe.trim().split(is):en}set ngClass(Oe){this.rawClass="string"==typeof Oe?Oe.trim().split(is):Oe}ngDoCheck(){for(const Ze of this.initialClasses)this._updateState(Ze,!0);const Oe=this.rawClass;if(Array.isArray(Oe)||Oe instanceof Set)for(const Ze of Oe)this._updateState(Ze,!0);else if(null!=Oe)for(const Ze of Object.keys(Oe))this._updateState(Ze,!!Oe[Ze]);this._applyStateDiff()}_updateState(Oe,Ze){const bn=this.stateMap.get(Oe);void 0!==bn?(bn.enabled!==Ze&&(bn.changed=!0,bn.enabled=Ze),bn.touched=!0):this.stateMap.set(Oe,{enabled:Ze,changed:!0,touched:!0})}_applyStateDiff(){for(const Oe of this.stateMap){const Ze=Oe[0],bn=Oe[1];bn.changed?(this._toggleClass(Ze,bn.enabled),bn.changed=!1):bn.touched||(bn.enabled&&this._toggleClass(Ze,!1),this.stateMap.delete(Ze)),bn.touched=!1}}_toggleClass(Oe,Ze){(Oe=Oe.trim()).length>0&&Oe.split(is).forEach(bn=>{Ze?this._renderer.addClass(this._ngEl.nativeElement,bn):this._renderer.removeClass(this._ngEl.nativeElement,bn)})}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.aKT),n.rXU(n.sFG))};static \u0275dir=n.FsC({type:ue,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return ue})(),ni=(()=>{class ue{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(Oe){this._viewContainerRef=Oe}_needToReCreateNgModuleInstance(Oe){return void 0!==Oe.ngComponentOutletNgModule||void 0!==Oe.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Oe){return void 0!==Oe.ngComponentOutlet||void 0!==Oe.ngComponentOutletContent||void 0!==Oe.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Oe)}ngOnChanges(Oe){if(this._needToReCreateComponentInstance(Oe)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const Ze=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Oe)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.w6W)(this.ngComponentOutletNgModule,Ci(Ze)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Ci(Ze)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Ze,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Oe of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Oe,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Oe){for(const[Ze,bn]of this._inputsUsed)bn?(Oe.setInput(Ze,this.ngComponentOutletInputs[Ze]),this._inputsUsed.set(Ze,!1)):(Oe.setInput(Ze,void 0),this._inputsUsed.delete(Ze))}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.c1b))};static \u0275dir=n.FsC({type:ue,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[n.OA$]})}return ue})();function Ci(ue){return ue.get(n.Vns).injector}class hr{$implicit;ngForOf;index;count;constructor(gt,Oe,Ze,bn){this.$implicit=gt,this.ngForOf=Oe,this.index=Ze,this.count=bn}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 Vi=(()=>{class ue{_viewContainer;_template;_differs;set ngForOf(Oe){this._ngForOf=Oe,this._ngForOfDirty=!0}set ngForTrackBy(Oe){this._trackByFn=Oe}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(Oe,Ze,bn){this._viewContainer=Oe,this._template=Ze,this._differs=bn}set ngForTemplate(Oe){Oe&&(this._template=Oe)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Oe=this._ngForOf;!this._differ&&Oe&&(this._differ=this._differs.find(Oe).create(this.ngForTrackBy))}if(this._differ){const Oe=this._differ.diff(this._ngForOf);Oe&&this._applyChanges(Oe)}}_applyChanges(Oe){const Ze=this._viewContainer;Oe.forEachOperation((bn,Eo,$o)=>{if(null==bn.previousIndex)Ze.createEmbeddedView(this._template,new hr(bn.item,this._ngForOf,-1,-1),null===$o?void 0:$o);else if(null==$o)Ze.remove(null===Eo?void 0:Eo);else if(null!==Eo){const Ai=Ze.get(Eo);Ze.move(Ai,$o),qi(Ai,bn)}});for(let bn=0,Eo=Ze.length;bn{qi(Ze.get(bn.currentIndex),bn)})}static ngTemplateContextGuard(Oe,Ze){return!0}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.c1b),n.rXU(n.C4Q),n.rXU(n._q3))};static \u0275dir=n.FsC({type:ue,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return ue})();function qi(ue,gt){ue.context.$implicit=gt.item}let Wi=(()=>{class ue{_viewContainer;_context=new sr;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(Oe,Ze){this._viewContainer=Oe,this._thenTemplateRef=Ze}set ngIf(Oe){this._context.$implicit=this._context.ngIf=Oe,this._updateView()}set ngIfThen(Oe){Si("ngIfThen",Oe),this._thenTemplateRef=Oe,this._thenViewRef=null,this._updateView()}set ngIfElse(Oe){Si("ngIfElse",Oe),this._elseTemplateRef=Oe,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(Oe,Ze){return!0}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.c1b),n.rXU(n.C4Q))};static \u0275dir=n.FsC({type:ue,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return ue})();class sr{$implicit=null;ngIf=null}function Si(ue,gt){if(gt&&!gt.createEmbeddedView)throw new Error(`${ue} must be a TemplateRef, but received '${(0,n.Tbb)(gt)}'.`)}let ys=(()=>{class ue{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(Oe){this._viewContainerRef=Oe}ngOnChanges(Oe){if(this._shouldRecreateView(Oe)){const Ze=this._viewContainerRef;if(this._viewRef&&Ze.remove(Ze.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const bn=this._createContextForwardProxy();this._viewRef=Ze.createEmbeddedView(this.ngTemplateOutlet,bn,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Oe){return!!Oe.ngTemplateOutlet||!!Oe.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Oe,Ze,bn)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ze,bn),get:(Oe,Ze,bn)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ze,bn)}})}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.c1b))};static \u0275dir=n.FsC({type:ue,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[n.OA$]})}return ue})();function gs(ue,gt){return new n.wOt(2100,!1)}class vs{createSubscription(gt,Oe){return(0,n.O8t)(()=>gt.subscribe({next:Oe,error:Ze=>{throw Ze}}))}dispose(gt){(0,n.O8t)(()=>gt.unsubscribe())}}class ks{createSubscription(gt,Oe){return gt.then(Oe,Ze=>{throw Ze})}dispose(gt){}}const Zr=new ks,Wr=new vs;let ws=(()=>{class ue{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(Oe){this._ref=Oe}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Oe){if(!this._obj){if(Oe)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Oe)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Oe!==this._obj?(this._dispose(),this.transform(Oe)):this._latestValue}_subscribe(Oe){this._obj=Oe,this._strategy=this._selectStrategy(Oe),this._subscription=this._strategy.createSubscription(Oe,Ze=>this._updateLatestValue(Oe,Ze))}_selectStrategy(Oe){if((0,n.jNT)(Oe))return Zr;if((0,n.zjR)(Oe))return Wr;throw gs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Oe,Ze){Oe===this._obj&&(this._latestValue=Ze,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.gRc,16))};static \u0275pipe=n.EJ8({name:"async",type:ue,pure:!1})}return ue})();const Jn=new n.nKC(""),so=new n.nKC("");let To=(()=>{class ue{locale;defaultTimezone;defaultOptions;constructor(Oe,Ze,bn){this.locale=Oe,this.defaultTimezone=Ze,this.defaultOptions=bn}transform(Oe,Ze,bn,Eo){if(null==Oe||""===Oe||Oe!=Oe)return null;try{return vn(Oe,Ze??this.defaultOptions?.dateFormat??"mediumDate",Eo||this.locale,bn??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch($o){throw gs()}}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.xe9,16),n.rXU(Jn,24),n.rXU(so,24))};static \u0275pipe=n.EJ8({name:"date",type:ue,pure:!0})}return ue})(),Ao=(()=>{class ue{transform(Oe){return JSON.stringify(Oe,null,2)}static \u0275fac=function(Ze){return new(Ze||ue)};static \u0275pipe=n.EJ8({name:"json",type:ue,pure:!1})}return ue})(),fi=(()=>{class ue{differs;constructor(Oe){this.differs=Oe}differ;keyValues=[];compareFn=ti;transform(Oe,Ze=ti){if(!Oe||!(Oe instanceof Map)&&"object"!=typeof Oe)return null;this.differ??=this.differs.find(Oe).create();const bn=this.differ.diff(Oe),Eo=Ze!==this.compareFn;return bn&&(this.keyValues=[],bn.forEachItem($o=>{this.keyValues.push(function eo(ue,gt){return{key:ue,value:gt}}($o.key,$o.currentValue))})),(bn||Eo)&&(Ze&&this.keyValues.sort(Ze),this.compareFn=Ze),this.keyValues}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.MKu,16))};static \u0275pipe=n.EJ8({name:"keyvalue",type:ue,pure:!1})}return ue})();function ti(ue,gt){const Oe=ue.key,Ze=gt.key;if(Oe===Ze)return 0;if(null==Oe)return 1;if(null==Ze)return-1;if("string"==typeof Oe&&"string"==typeof Ze)return Oe{class ue{_locale;constructor(Oe){this._locale=Oe}transform(Oe,Ze,bn){if(!re(Oe))return null;bn||=this._locale;try{return function Vo(ue,gt,Oe){return ln(ue,yi(En(gt,lt.Decimal),fn(gt,tt.MinusSign)),gt,tt.Group,tt.Decimal,Oe)}(ie(Oe),bn,Ze)}catch(Eo){throw gs()}}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.xe9,16))};static \u0275pipe=n.EJ8({name:"number",type:ue,pure:!0})}return ue})(),P=(()=>{class ue{_locale;_defaultCurrencyCode;constructor(Oe,Ze="USD"){this._locale=Oe,this._defaultCurrencyCode=Ze}transform(Oe,Ze=this._defaultCurrencyCode,bn="symbol",Eo,$o){if(!re(Oe))return null;$o||=this._locale,"boolean"==typeof bn&&(bn=bn?"symbol":"code");let Ai=Ze||this._defaultCurrencyCode;"code"!==bn&&(Ai="symbol"===bn||"symbol-narrow"===bn?function _n(ue,gt,Oe="en"){const Ze=function Nt(ue){return(0,n.H5H)(ue)[n.KH2.Currencies]}(Oe)[ue]||Je[ue]||[],bn=Ze[1];return"narrow"===gt&&"string"==typeof bn?bn:Ze[0]||ue}(Ai,"symbol"===bn?"wide":"narrow",$o):bn);try{return function Gn(ue,gt,Oe,Ze,bn){const $o=yi(En(gt,lt.Currency),fn(gt,tt.MinusSign));return $o.minFrac=function Qt(ue){let gt;const Oe=Je[ue];return Oe&&(gt=Oe[2]),"number"==typeof gt?gt:2}(Ze),$o.maxFrac=$o.minFrac,ln(ue,$o,gt,tt.CurrencyGroup,tt.CurrencyDecimal,bn).replace("\xa4",Oe).replace("\xa4","").trim()}(ie(Oe),$o,Ai,Ze,Eo)}catch(Kr){throw gs()}}static \u0275fac=function(Ze){return new(Ze||ue)(n.rXU(n.xe9,16),n.rXU(n.Ocv,16))};static \u0275pipe=n.EJ8({name:"currency",type:ue,pure:!0})}return ue})();function re(ue){return!(null==ue||""===ue||ue!=ue)}function ie(ue){if("string"==typeof ue&&!isNaN(Number(ue)-parseFloat(ue)))return Number(ue);if("number"!=typeof ue)throw new Error(`${ue} is not a number`);return ue}let B=(()=>{class ue{transform(Oe,Ze,bn){if(null==Oe)return null;if(!this.supports(Oe))throw gs();return Oe.slice(Ze,bn)}supports(Oe){return"string"==typeof Oe||Array.isArray(Oe)}static \u0275fac=function(Ze){return new(Ze||ue)};static \u0275pipe=n.EJ8({name:"slice",type:ue,pure:!1})}return ue})(),de=(()=>{class ue{static \u0275fac=function(Ze){return new(Ze||ue)};static \u0275mod=n.$C({type:ue});static \u0275inj=n.G2t({})}return ue})();const Ce="browser",Ke="server";function st(ue){return ue===Ce}function rt(ue){return ue===Ke}let Et=(()=>{class ue{static \u0275prov=(0,n.jDH)({token:ue,providedIn:"root",factory:()=>new Yt((0,n.WQX)(y),window)})}return ue})();class Yt{document;window;offset=()=>[0,0];constructor(gt,Oe){this.document=gt,this.window=Oe}setOffset(gt){this.offset=Array.isArray(gt)?()=>gt:gt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(gt){this.window.scrollTo(gt[0],gt[1])}scrollToAnchor(gt){const Oe=function $n(ue,gt){const Oe=ue.getElementById(gt)||ue.getElementsByName(gt)[0];if(Oe)return Oe;if("function"==typeof ue.createTreeWalker&&ue.body&&"function"==typeof ue.body.attachShadow){const Ze=ue.createTreeWalker(ue.body,NodeFilter.SHOW_ELEMENT);let bn=Ze.currentNode;for(;bn;){const Eo=bn.shadowRoot;if(Eo){const $o=Eo.getElementById(gt)||Eo.querySelector(`[name="${gt}"]`);if($o)return $o}bn=Ze.nextNode()}}return null}(this.document,gt);Oe&&(this.scrollToElement(Oe),Oe.focus())}setHistoryScrollRestoration(gt){this.window.history.scrollRestoration=gt}scrollToElement(gt){const Oe=gt.getBoundingClientRect(),Ze=Oe.left+this.window.pageXOffset,bn=Oe.top+this.window.pageYOffset,Eo=this.offset();this.window.scrollTo(Ze-Eo[0],bn-Eo[1])}}class mo{}},54438:(ft,Z,l)=>{"use strict";function i(t,o){return Object.is(t,o)}l.d(Z,{bc$:()=>_b,iLQ:()=>Rp,sZ2:()=>Cc,hnV:()=>Zy,Hbi:()=>tS,o8S:()=>Al,BIS:()=>xb,gRc:()=>Ew,Ql9:()=>CP,OM3:()=>Mp,Ocv:()=>TP,abz:()=>cc,Z63:()=>Ye,aKT:()=>Td,uvJ:()=>Pi,zcH:()=>Ba,bkB:()=>Ql,y_5:()=>Ko,$GK:()=>Ao,nKC:()=>Si,zZn:()=>Aa,_q3:()=>Gv,MKu:()=>Kv,xe9:()=>Nv,Co$:()=>sx,Vns:()=>eu,SKi:()=>na,Xx1:()=>ai,Agw:()=>Ph,PLl:()=>ku,sFG:()=>zM,_9s:()=>_y,czy:()=>ur,WPN:()=>Pc,kdw:()=>Qo,C4Q:()=>yp,NYb:()=>KD,giA:()=>Bx,RxE:()=>pw,c1b:()=>Qf,gXe:()=>ql,mal:()=>Il,L39:()=>LS,EWP:()=>ch,a0P:()=>rI,Ol2:()=>By,w6W:()=>OF,SmG:()=>zP,Rfq:()=>wn,oKB:()=>nt,WQX:()=>nn,hFB:()=>kh,QuC:()=>Ee,EmA:()=>_e,phd:()=>XD,HJs:()=>sI,N4e:()=>Do,vPA:()=>Pd,O8t:()=>yd,H3F:()=>Ox,H8p:()=>ao,KH2:()=>sh,Ua0:()=>Sl,wOt:()=>vn,WHO:()=>Lx,e01:()=>jx,Lf2:()=>Zc,lNU:()=>Zt,h9k:()=>x0,$MX:()=>Xr,ZF7:()=>ld,Kcf:()=>h0,e5t:()=>f0,UyX:()=>p0,cWb:()=>g1,osQ:()=>m0,H5H:()=>gv,Zy3:()=>hn,mq5:()=>DC,JZv:()=>Gi,TL3:()=>pS,LfX:()=>ni,plB:()=>ud,jNT:()=>Qy,zjR:()=>$x,ngT:()=>oa,hVU:()=>GD,XSP:()=>wO,TL$:()=>yb,Tbb:()=>at,rcV:()=>hc,nM4:()=>fx,Vt3:()=>Ny,GFd:()=>kx,OA$:()=>$,Jv_:()=>RE,R7$:()=>Sf,BMQ:()=>nv,HbH:()=>uC,ZvI:()=>yC,STu:()=>vC,AVh:()=>cv,wni:()=>dE,VBU:()=>lx,FsC:()=>dx,jDH:()=>Qi,G2t:()=>en,$C:()=>$y,EJ8:()=>ux,rXU:()=>Hu,nrm:()=>mv,eu8:()=>fv,bVm:()=>hg,qex:()=>ug,k0s:()=>dg,j41:()=>cg,RV6:()=>wC,xGo:()=>pu,KVO:()=>Yt,kS0:()=>mu,QTQ:()=>T_,bIt:()=>vv,lsd:()=>pE,joV:()=>Ga,qSk:()=>_a,XpG:()=>qC,nI1:()=>KE,bMT:()=>YE,i5U:()=>XE,brH:()=>QE,SdG:()=>tE,NAR:()=>eE,Y8G:()=>sv,FS9:()=>_v,Mz_:()=>bg,lJ4:()=>jE,eq3:()=>BE,l_i:()=>$E,sMw:()=>NE,ziG:()=>zE,mGM:()=>hE,sdS:()=>mE,Njj:()=>_t,EBC:()=>L0,tSv:()=>R0,eBV:()=>Te,npT:()=>C0,f$h:()=>xf,B4B:()=>_f,n$t:()=>w0,xc7:()=>lv,DNE:()=>Vy,C5r:()=>ZE,EFF:()=>EE,JRh:()=>Cv,SpI:()=>yg,Lme:()=>Ev,Ld:()=>wv,xRd:()=>Mv,DH7:()=>PE,mxI:()=>Dv,R50:()=>Fv,GBs:()=>uE}),l(10467);let f=null,g=!1,s=1;const x=Symbol("SIGNAL");function _(t){const o=f;return f=t,o}const I={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function R(t){if(g)throw new Error("");if(null===f)return;f.consumerOnSignalRead(t);const o=f.nextProducerIndex++;Mt(f),ot.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function je(t){Mt(t);for(let o=0;o0}function Mt(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Bt(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function et(t){return void 0!==t.producerNode}const tt=Symbol("UNSET"),Ct=Symbol("COMPUTING"),Xe=Symbol("ERRORED"),e={...I,value:tt,dirty:!0,error:null,equal:i,kind:"computed",producerMustRecompute:t=>t.value===tt||t.value===Ct,producerRecomputeValue(t){if(t.value===Ct)throw new Error("Detected cycle in computations.");const o=t.value;t.value=Ct;const r=Le(t);let a,u=!1;try{a=t.computation(),_(null),u=o!==tt&&o!==Xe&&a!==Xe&&t.equal(o,a)}catch(v){a=Xe,t.error=v}finally{ye(t,r)}u?t.value=o:(t.value=a,t.version++)}};let Pt=function On(){throw new Error};function wt(){Pt()}let we=null;function fn(t,o){he()||wt(),t.equal(t.value,o)||(t.value=o,function pt(t){t.version++,function H(){s++}(),L(t),we?.()}(t))}const So={...I,equal:i,value:void 0,kind:"signal"};var _n=l(84412),Cn=l(21413),Qt=l(18359),Nn=l(96354);const Zt="https://g.co/ng/security#xss";class vn extends Error{code;constructor(o,r){super(hn(o,r)),this.code=o}}function hn(t,o){return`NG0${Math.abs(t)}${o?": "+o:""}`}const Tn=Symbol("InputSignalNode#UNSET"),uo={...So,transformFn:void 0,applyValueToInputSignal(t,o){fn(t,o)}};function gi(t,o){const r=Object.create(uo);function a(){if(R(r),r.value===Tn)throw new vn(-950,!1);return r.value}return r.value=t,r.transformFn=o?.transform,a[x]=r,a}function Go(t){return{toString:t}.toString()}const ri="__parameters__";function Ji(t,o,r){return Go(()=>{const a=function zi(t){return function(...r){if(t){const a=t(...r);for(const u in a)this[u]=a[u]}}}(o);function u(...v){if(this instanceof u)return a.apply(this,v),this;const D=new u(...v);return W.annotation=D,W;function W(ee,Se,it){const Tt=ee.hasOwnProperty(ri)?ee[ri]:Object.defineProperty(ee,ri,{value:[]})[ri];for(;Tt.length<=it;)Tt.push(null);return(Tt[it]=Tt[it]||[]).push(D),ee}}return r&&(u.prototype=Object.create(r.prototype)),u.prototype.ngMetadataName=t,u.annotationCls=u,u})}const Gi=globalThis;function mn(t){for(let o in t)if(t[o]===mn)return o;throw Error("Could not find renamed property on target object.")}function ze(t,o){for(const r in o)o.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=o[r])}function at(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(at).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const o=t.toString();if(null==o)return""+o;const r=o.indexOf("\n");return-1===r?o:o.substring(0,r)}function Ft(t,o){return null==t||""===t?null===o?"":o:null==o||""===o?t:t+" "+o}const fo=mn({__forward_ref__:mn});function wn(t){return t.__forward_ref__=wn,t.toString=function(){return at(this())},t}function dn(t){return $e(t)?t():t}function $e(t){return"function"==typeof t&&t.hasOwnProperty(fo)&&t.__forward_ref__===wn}function Qi(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function en(t){return{providers:t.providers||[],imports:t.imports||[]}}function po(t){return Ci(t,qi)||Ci(t,Wi)}function ni(t){return null!==po(t)}function Ci(t,o){return t.hasOwnProperty(o)?t[o]:null}function Vi(t){return t&&(t.hasOwnProperty(ts)||t.hasOwnProperty(sr))?t[ts]:null}const qi=mn({\u0275prov:mn}),ts=mn({\u0275inj:mn}),Wi=mn({ngInjectableDef:mn}),sr=mn({ngInjectorDef:mn});class Si{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(o,r){this._desc=o,this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=Qi({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function vs(t){return t&&!!t.\u0275providers}const ks=mn({\u0275cmp:mn}),Zr=mn({\u0275dir:mn}),Wr=mn({\u0275pipe:mn}),ws=mn({\u0275mod:mn}),Or=mn({\u0275fac:mn}),Rt=mn({__NG_ELEMENT_ID__:mn}),Ht=mn({__NG_ENV_ID__:mn});function Dt(t){return"string"==typeof t?t:null==t?"":String(t)}function si(t,o){throw new vn(-201,!1)}var Ao=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}(Ao||{});let eo;function fi(){return eo}function ti(t){const o=eo;return eo=t,o}function Ti(t,o,r){const a=po(t);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:r&Ao.Optional?null:void 0!==o?o:void si()}const re={},ie="__NG_DI_FLAG__",B="ngTempTokenPath",de=/\n/gm,Ke="__source";let st;function Kt(t){const o=st;return st=t,o}function Et(t,o=Ao.Default){if(void 0===st)throw new vn(-203,!1);return null===st?Ti(t,void 0,o):st.get(t,o&Ao.Optional?null:void 0,o)}function Yt(t,o=Ao.Default){return(fi()||Et)(dn(t),o)}function nn(t,o=Ao.Default){return Yt(t,mo(o))}function mo(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function yo(t){const o=[];for(let r=0;r({token:t})),-1),ai=Xo(Ji("Optional"),8),Qo=Xo(Ji("SkipSelf"),4);function li(t,o){return t.hasOwnProperty(Or)?t[Or]:null}function Jr(t,o){t.forEach(r=>Array.isArray(r)?Jr(r,o):o(r))}function Ii(t,o,r){o>=t.length?t.push(r):t.splice(o,0,r)}function Nr(t,o){return o>=t.length-1?t.pop():t.splice(o,1)[0]}function se(t,o,r){let a=ge(t,o);return a>=0?t[1|a]=r:(a=~a,function pi(t,o,r,a){let u=t.length;if(u==o)t.push(r,a);else if(1===u)t.push(a,t[0]),t[0]=r;else{for(u--,t.push(t[u-1],t[u]);u>o;)t[u]=t[u-2],u--;t[o]=r,t[o+1]=a}}(t,a,o,r)),a}function te(t,o){const r=ge(t,o);if(r>=0)return t[1|r]}function ge(t,o){return function Re(t,o,r){let a=0,u=t.length>>r;for(;u!==a;){const v=a+(u-a>>1),D=t[v<o?u=v:a=v+1}return~(u<{r.push(D)};return Jr(o,D=>{const W=D;on(W,v,[],a)&&(u||=[],u.push(W))}),void 0!==u&&an(u,v),r}function an(t,o){for(let r=0;r{o(v,a)})}}function on(t,o,r,a){if(!(t=dn(t)))return!1;let u=null,v=Vi(t);const D=!v&&Jt(t);if(v||D){if(D&&!D.standalone)return!1;u=t}else{const ee=t.ngModule;if(v=Vi(ee),!v)return!1;u=ee}const W=a.has(u);if(D){if(W)return!1;if(a.add(u),D.dependencies){const ee="function"==typeof D.dependencies?D.dependencies():D.dependencies;for(const Se of ee)on(Se,o,r,a)}}else{if(!v)return!1;{if(null!=v.imports&&!W){let Se;a.add(u);try{Jr(v.imports,it=>{on(it,o,r,a)&&(Se||=[],Se.push(it))})}finally{}void 0!==Se&&an(Se,o)}if(!W){const Se=li(u)||(()=>new u);o({provide:u,useFactory:Se,deps:qe},u),o({provide:ht,useValue:u,multi:!0},u),o({provide:Ye,useValue:()=>Yt(u),multi:!0},u)}const ee=v.providers;if(null!=ee&&!W){const Se=t;Xt(ee,it=>{o(it,Se)})}}}return u!==t&&void 0!==t.providers}function Xt(t,o){for(let r of t)vs(r)&&(r=r.\u0275providers),Array.isArray(r)?Xt(r,o):o(r)}const ve=mn({provide:String,useValue:mn});function Fe(t){return null!==t&&"object"==typeof t&&ve in t}function Ue(t){return"function"==typeof t}const ao=new Si(""),ro={},Bo={};let Mo;function Di(){return void 0===Mo&&(Mo=new yt),Mo}class Pi{}class Dr extends Pi{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(o,r,a,u){super(),this.parent=r,this.source=a,this.scopes=u,Yn(o,D=>this.processProvider(D)),this.records.set(ut,dt(void 0,this)),u.has("environment")&&this.records.set(Pi,dt(void 0,this));const v=this.records.get(ao);null!=v&&"string"==typeof v.value&&this.scopes.add(v.value),this.injectorDefTypes=new Set(this.get(ht,qe,Ao.Self))}destroy(){Ne(this),this._destroyed=!0;const o=_(null);try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of r)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(o)}}onDestroy(o){return Ne(this),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){Ne(this);const r=Kt(this),a=ti(void 0);try{return o()}finally{Kt(r),ti(a)}}get(o,r=re,a=Ao.Default){if(Ne(this),o.hasOwnProperty(Ht))return o[Ht](this);a=mo(a);const v=Kt(this),D=ti(void 0);try{if(!(a&Ao.SkipSelf)){let ee=this.records.get(o);if(void 0===ee){const Se=function xn(t){return"function"==typeof t||"object"==typeof t&&t instanceof Si}(o)&&po(o);ee=Se&&this.injectableDefInScope(Se)?dt(ji(o),ro):null,this.records.set(o,ee)}if(null!=ee)return this.hydrate(o,ee)}return(a&Ao.Self?Di():this.parent).get(o,r=a&Ao.Optional&&r===re?null:r)}catch(W){if("NullInjectorError"===W.name){if((W[B]=W[B]||[]).unshift(at(o)),v)throw W;return function Oi(t,o,r,a){const u=t[B];throw o[Ke]&&u.unshift(o[Ke]),t.message=function ui(t,o,r,a=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let u=at(o);if(Array.isArray(o))u=o.map(at).join(" -> ");else if("object"==typeof o){let v=[];for(let D in o)if(o.hasOwnProperty(D)){let W=o[D];v.push(D+":"+("string"==typeof W?JSON.stringify(W):at(W)))}u=`{${v.join(", ")}}`}return`${r}${a?"("+a+")":""}[${u}]: ${t.replace(de,"\n ")}`}("\n"+t.message,u,r,a),t.ngTokenPath=u,t[B]=null,t}(W,o,"R3InjectorError",this.source)}throw W}finally{ti(D),Kt(v)}}resolveInjectorInitializers(){const o=_(null),r=Kt(this),a=ti(void 0);try{const v=this.get(Ye,qe,Ao.Self);for(const D of v)D()}finally{Kt(r),ti(a),_(o)}}toString(){const o=[],r=this.records;for(const a of r.keys())o.push(at(a));return`R3Injector[${o.join(", ")}]`}processProvider(o){let r=Ue(o=dn(o))?o:dn(o&&o.provide);const a=function N(t){return Fe(t)?dt(void 0,t.useValue):dt(xe(t),ro)}(o);if(!Ue(o)&&!0===o.multi){let u=this.records.get(r);u||(u=dt(void 0,ro,!0),u.factory=()=>yo(u.multi),this.records.set(r,u)),r=o,u.multi.push(o)}this.records.set(r,a)}hydrate(o,r){const a=_(null);try{return r.value===ro&&(r.value=Bo,r.value=r.factory()),"object"==typeof r.value&&r.value&&function gn(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{_(a)}}injectableDefInScope(o){if(!o.providedIn)return!1;const r=dn(o.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(o){const r=this._onDestroyHooks.indexOf(o);-1!==r&&this._onDestroyHooks.splice(r,1)}}function ji(t){const o=po(t),r=null!==o?o.factory:li(t);if(null!==r)return r;if(t instanceof Si)throw new vn(204,!1);if(t instanceof Function)return function gr(t){if(t.length>0)throw new vn(204,!1);const r=function hr(t){return t&&(t[qi]||t[Wi])||null}(t);return null!==r?()=>r.factory(t):()=>new t}(t);throw new vn(204,!1)}function xe(t,o,r){let a;if(Ue(t)){const u=dn(t);return li(u)||ji(u)}if(Fe(t))a=()=>dn(t.useValue);else if(function Pe(t){return!(!t||!t.useFactory)}(t))a=()=>t.useFactory(...yo(t.deps||[]));else if(function Y(t){return!(!t||!t.useExisting)}(t))a=()=>Yt(dn(t.useExisting));else{const u=dn(t&&(t.useClass||t.provide));if(!function zt(t){return!!t.deps}(t))return li(u)||ji(u);a=()=>new u(...yo(t.deps))}return a}function Ne(t){if(t.destroyed)throw new vn(205,!1)}function dt(t,o,r=!1){return{factory:t,value:o,multi:r?[]:void 0}}function Yn(t,o){for(const r of t)Array.isArray(r)?Yn(r,o):r&&vs(r)?Yn(r.\u0275providers,o):o(r)}function Do(t,o){t instanceof Dr&&Ne(t);const a=Kt(t),u=ti(void 0);try{return o()}finally{Kt(a),ti(u)}}function Uo(){return void 0!==fi()||null!=function rt(){return st}()}const Br=0,Zo=1,Zi=2,ss=3,bs=4,$s=5,xs=6,Ea=7,qr=8,ms=9,ra=10,ar=11,ue=12,gt=13,Oe=14,Ze=15,bn=16,Eo=17,$o=18,Ai=19,Kr=20,pr=24,ii=25,Ar=1,Qr=7,Vs=9,ns=10;function Hr(t){return Array.isArray(t)&&"object"==typeof t[Ar]}function os(t){return Array.isArray(t)&&!0===t[Ar]}function Ta(t){return!!(4&t.flags)}function Xs(t){return t.componentOffset>-1}function rl(t){return!(1&~t.flags)}function ca(t){return!!t.template}function Ts(t){return!!(512&t[Zi])}function ma(t){return!(256&~t[Zi])}class E{previousValue;currentValue;firstChange;constructor(o,r,a){this.previousValue=o,this.currentValue=r,this.firstChange=a}isFirstChange(){return this.firstChange}}function S(t,o,r,a){null!==o?o.applyValueToInputSignal(o,a):t[r]=a}const $=(()=>{const t=()=>q;return t.ngInherit=!0,t})();function q(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ie),fe}function fe(){const t=St(this),o=t?.current;if(o){const r=t.previous;if(r===mt)t.previous=o;else for(let a in o)r[a]=o[a];t.current=null,this.ngOnChanges(o)}}function Ie(t,o,r,a,u){const v=this.declaredInputs[a],D=St(t)||function yn(t,o){return t[xt]=o}(t,{previous:mt,current:null}),W=D.current||(D.current={}),ee=D.previous,Se=ee[v];W[v]=new E(Se&&Se.currentValue,r,ee===mt),S(t,o,u,r)}const xt="__ngSimpleChanges__";function St(t){return t[xt]||null}const Kn=function(t,o,r){},wo="svg";function Fo(t){for(;Array.isArray(t);)t=t[Br];return t}function ae(t,o){return Fo(o[t])}function V(t,o){return Fo(o[t.index])}function Ae(t,o){return t.data[o]}function bt(t,o){return t[o]}function $t(t,o){const r=o[t];return Hr(r)?r:r[Br]}function zn(t){return!(128&~t[Zi])}function Ei(t,o){return null==o?null:t[o]}function tr(t){t[Eo]=0}function Bi(t){1024&t[Zi]||(t[Zi]|=1024,zn(t)&&Qs(t))}function jr(t){return!!(9216&t[Zi]||t[pr]?.dirty)}function Hs(t){t[ra].changeDetectionScheduler?.notify(9),64&t[Zi]&&(t[Zi]|=1024),jr(t)&&Qs(t)}function Qs(t){t[ra].changeDetectionScheduler?.notify(0);let o=Gs(t);for(;null!==o&&!(8192&o[Zi])&&(o[Zi]|=8192,zn(o));)o=Gs(o)}function Zs(t,o){if(ma(t))throw new vn(911,!1);null===t[21]&&(t[21]=[]),t[21].push(o)}function Gs(t){const o=t[ss];return os(o)?o[ss]:o}function Sa(t){return t[Ea]??=[]}function _l(t){return t.cleanup??=[]}const G={lFrame:us(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let me=!1;function No(){return G.bindingsEnabled}function Jo(){return null!==G.skipHydrationRootTNode}function T(){return G.lFrame.lView}function J(){return G.lFrame.tView}function Te(t){return G.lFrame.contextLView=t,t[qr]}function _t(t){return G.lFrame.contextLView=null,t}function jt(){let t=kn();for(;null!==t&&64===t.type;)t=t.parent;return t}function kn(){return G.lFrame.currentTNode}function ko(t,o){const r=G.lFrame;r.currentTNode=t,r.isParent=o}function Fi(){return G.lFrame.isParent}function _i(){G.lFrame.isParent=!1}function Mr(){return me}function ds(t){const o=me;return me=t,o}function $r(){const t=G.lFrame;let o=t.bindingRootIndex;return-1===o&&(o=t.bindingRootIndex=t.tView.bindingStartIndex),o}function Sr(){return G.lFrame.bindingIndex}function Ls(t){return G.lFrame.bindingIndex=t}function ta(){return G.lFrame.bindingIndex++}function Ns(t){const o=G.lFrame,r=o.bindingIndex;return o.bindingIndex=o.bindingIndex+t,r}function Rl(t,o){const r=G.lFrame;r.bindingIndex=r.bindingRootIndex=t,Ll(o)}function Ll(t){G.lFrame.currentDirectiveIndex=t}function Ol(){return G.lFrame.currentQueryIndex}function pl(t){G.lFrame.currentQueryIndex=t}function vc(t){const o=t[Zo];return 2===o.type?o.declTNode:1===o.type?t[$s]:null}function nr(t,o,r){if(r&Ao.SkipSelf){let u=o,v=t;for(;!(u=u.parent,null!==u||r&Ao.Host||(u=vc(v),null===u||(v=v[Oe],10&u.type))););if(null===u)return!1;o=u,t=v}const a=G.lFrame=Er();return a.currentTNode=o,a.lView=t,!0}function br(t){const o=Er(),r=t[Zo];G.lFrame=o,o.currentTNode=r.firstChild,o.lView=t,o.tView=r,o.contextLView=t,o.bindingIndex=r.bindingStartIndex,o.inI18n=!1}function Er(){const t=G.lFrame,o=null===t?null:t.child;return null===o?us(t):o}function us(t){const o={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=o),o}function ua(){const t=G.lFrame;return G.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const tl=ua;function wa(){const t=ua();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 es(){return G.lFrame.selectedIndex}function El(t){G.lFrame.selectedIndex=t}function js(){const t=G.lFrame;return Ae(t.tView,t.selectedIndex)}function _a(){G.lFrame.currentNamespace=wo}function Ga(){!function kc(){G.lFrame.currentNamespace=null}()}let Ac=!0;function jl(){return Ac}function Pl(t){Ac=t}function lu(t,o){for(let r=o.directiveStart,a=o.directiveEnd;r=a)break}else o[ee]<0&&(t[Eo]+=65536),(W>14>16&&(3&t[Zi])===o&&(t[Zi]+=16384,dh(W,v)):dh(W,v)}const Bl=-1;class _c{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(o,r,a){this.factory=o,this.canSeeViewProviders=r,this.injectImpl=a}}function Cd(t){return 3===t||4===t||6===t}function cu(t){return 64===t.charCodeAt(0)}function rc(t,o){if(null!==o&&0!==o.length)if(null===t||0===t.length)t=o.slice();else{let r=-1;for(let a=0;ao){D=v-1;break}}}for(;v>16}(t),a=o;for(;r>0;)a=a[Oe],r--;return a}let Po=!0;function Hn(t){const o=Po;return Po=t,o}const Ms=255,Os=5;let ga=0;const Bs={};function Ia(t,o){const r=Nc(t,o);if(-1!==r)return r;const a=o[Zo];a.firstCreatePass&&(t.injectorIndex=o.length,$c(a.data,t),$c(o,null),$c(a.blueprint,null));const u=sc(t,o),v=t.injectorIndex;if(kr(u)){const D=Lt(u),W=Ge(u,o),ee=W[Zo].data;for(let Se=0;Se<8;Se++)o[v+Se]=W[D+Se]|ee[D+Se]}return o[v+8]=u,v}function $c(t,o){t.push(0,0,0,0,0,0,0,0,o)}function Nc(t,o){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===o[t.injectorIndex+8]?-1:t.injectorIndex}function sc(t,o){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let r=0,a=null,u=o;for(;null!==u;){if(a=nm(u),null===a)return Bl;if(r++,u=u[Oe],-1!==a.injectorIndex)return a.injectorIndex|r<<16}return Bl}function ac(t,o,r){!function xa(t,o,r){let a;"string"==typeof r?a=r.charCodeAt(0)||0:r.hasOwnProperty(Rt)&&(a=r[Rt]),null==a&&(a=r[Rt]=ga++);const u=a&Ms;o.data[t+(u>>Os)]|=1<=0?o&Ms:mh:o}(r);if("function"==typeof v){if(!nr(o,t,a))return a&Ao.Host?zc(u,0,a):wd(o,r,a,u);try{let D;if(D=v(a),null!=D||a&Ao.Optional)return D;si()}finally{tl()}}else if("number"==typeof v){let D=null,W=Nc(t,o),ee=Bl,Se=a&Ao.Host?o[Ze][$s]:null;for((-1===W||a&Ao.SkipSelf)&&(ee=-1===W?sc(t,o):o[W+8],ee!==Bl&&hu(a,!1)?(D=o[Zo],W=Lt(ee),o=Ge(ee,o)):W=-1);-1!==W;){const it=o[Zo];if(Dd(v,W,it.data)){const Tt=Uc(W,o,r,D,a,Se);if(Tt!==Bs)return Tt}ee=o[W+8],ee!==Bl&&hu(a,o[Zo].data[W+8]===Se)&&Dd(v,W,o)?(D=it,W=Lt(ee),o=Ge(ee,o)):W=-1}}return u}function Uc(t,o,r,a,u,v){const D=o[Zo],W=D.data[t+8],it=Vc(W,D,r,null==a?Xs(W)&&Po:a!=D&&!!(3&W.type),u&Ao.Host&&v===W);return null!==it?Yl(o,D,it,W):Bs}function Vc(t,o,r,a,u){const v=t.providerIndexes,D=o.data,W=1048575&v,ee=t.directiveStart,it=v>>20,Sn=u?W+it:t.directiveEnd;for(let Ln=a?W:W+it;Ln=ee&&ho.type===r)return Ln}if(u){const Ln=D[ee];if(Ln&&ca(Ln)&&Ln.type===r)return ee}return null}function Yl(t,o,r,a){let u=t[r];const v=o.data;if(function ic(t){return t instanceof _c}(u)){const D=u;D.resolving&&function To(t,o){throw o&&o.join(" > "),new vn(-200,t)}(function un(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Dt(t)}(v[r]));const W=Hn(D.canSeeViewProviders);D.resolving=!0;const Se=D.injectImpl?ti(D.injectImpl):null;nr(t,a,Ao.Default);try{u=t[r]=D.factory(void 0,v,t,a),o.firstCreatePass&&r>=a.directiveStart&&function au(t,o,r){const{ngOnChanges:a,ngOnInit:u,ngDoCheck:v}=o.type.prototype;if(a){const D=q(o);(r.preOrderHooks??=[]).push(t,D),(r.preOrderCheckHooks??=[]).push(t,D)}u&&(r.preOrderHooks??=[]).push(0-t,u),v&&((r.preOrderHooks??=[]).push(t,v),(r.preOrderCheckHooks??=[]).push(t,v))}(r,v[r],o)}finally{null!==Se&&ti(Se),Hn(W),D.resolving=!1,tl()}}return u}function Dd(t,o,r){return!!(r[o+(t>>Os)]&1<{const o=t.prototype.constructor,r=o[Or]||tm(o),a=Object.prototype;let u=Object.getPrototypeOf(t.prototype).constructor;for(;u&&u!==a;){const v=u[Or]||tm(u);if(v&&v!==r)return v;u=Object.getPrototypeOf(u)}return v=>new v})}function tm(t){return $e(t)?()=>{const o=tm(dn(t));return o&&o()}:li(t)}function nm(t){const o=t[Zo],r=o.type;return 2===r?o.declTNode:1===r?t[$s]:null}function mu(t){return function du(t,o){if("class"===o)return t.classes;if("style"===o)return t.styles;const r=t.attrs;if(r){const a=r.length;let u=0;for(;uYt(ut)});static __NG_ELEMENT_ID__=-1}new Si("").__NG_ELEMENT_ID__=t=>{const o=jt();if(null===o)throw new vn(204,!1);if(2&o.type)return o.value;if(t&Ao.Optional)return null;throw new vn(204,!1)};const lm=!1;let cc=(()=>class t{static __NG_ELEMENT_ID__=Vg;static __NG_ENV_ID__=r=>r})();class cm extends cc{_lView;constructor(o){super(),this._lView=o}onDestroy(o){return Zs(this._lView,o),()=>function Za(t,o){if(null===t[21])return;const r=t[21].indexOf(o);-1!==r&&t[21].splice(r,1)}(this._lView,o)}}function Vg(){return new cm(T())}class Xl{}const fu=new Si("",{providedIn:"root",factory:()=>!1}),dm=new Si(""),bh=new Si("");let Sl=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new _n.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}has(r){return this.pendingTasks.has(r)}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Qi({token:t,providedIn:"root",factory:()=>new t})}return t})();const Ql=class Hg extends Cn.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(o=!1){super(),this.__isAsync=o,Uo()&&(this.destroyRef=nn(cc,{optional:!0})??void 0,this.pendingTasks=nn(Sl,{optional:!0})??void 0)}emit(o){const r=_(null);try{super.next(o)}finally{_(r)}}subscribe(o,r,a){let u=o,v=r||(()=>null),D=a;if(o&&"object"==typeof o){const ee=o;u=ee.next?.bind(ee),v=ee.error?.bind(ee),D=ee.complete?.bind(ee)}this.__isAsync&&(v=this.wrapInTimeout(v),u&&(u=this.wrapInTimeout(u)),D&&(D=this.wrapInTimeout(D)));const W=super.subscribe({next:u,error:v,complete:D});return o instanceof Qt.yU&&o.add(W),W}wrapInTimeout(o){return r=>{const a=this.pendingTasks?.add();setTimeout(()=>{o(r),void 0!==a&&this.pendingTasks?.remove(a)})}}};function Od(...t){}function um(t){let o,r;function a(){t=Od;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==o&&clearTimeout(o)}catch{}}return o=setTimeout(()=>{t(),a()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{t(),a()})),()=>a()}function Gg(t){return queueMicrotask(()=>t()),()=>{t=Od}}const hm="isAngularZone",gu=hm+"_ID";let Kg=0;class na{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ql(!1);onMicrotaskEmpty=new Ql(!1);onStable=new Ql(!1);onError=new Ql(!1);constructor(o){const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:u=!1,scheduleInRootZone:v=lm}=o;if(typeof Zone>"u")throw new vn(908,!1);Zone.assertZonePatched();const D=this;D._nesting=0,D._outer=D._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(D._inner=D._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(D._inner=D._inner.fork(Zone.longStackTraceZoneSpec)),D.shouldCoalesceEventChangeDetection=!u&&a,D.shouldCoalesceRunChangeDetection=u,D.callbackScheduled=!1,D.scheduleInRootZone=v,function Xg(t){const o=()=>{!function Hk(t){function o(){um(()=>{t.callbackScheduled=!1,pm(t),t.isCheckStableRunning=!0,yh(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{o()}):t._outer.run(()=>{o()}),pm(t))}(t)},r=Kg++;t._inner=t._inner.fork({name:"angular",properties:{[hm]:!0,[gu]:r,[gu+r]:!0},onInvokeTask:(a,u,v,D,W,ee)=>{if(function Zg(t){return qg(t,"__ignore_ng_zone__")}(ee))return a.invokeTask(v,D,W,ee);try{return mm(t),a.invokeTask(v,D,W,ee)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===D.type||t.shouldCoalesceRunChangeDetection)&&o(),Qg(t)}},onInvoke:(a,u,v,D,W,ee,Se)=>{try{return mm(t),a.invoke(v,D,W,ee,Se)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function Jg(t){return qg(t,"__scheduler_tick__")}(ee)&&o(),Qg(t)}},onHasTask:(a,u,v,D)=>{a.hasTask(v,D),u===v&&("microTask"==D.change?(t._hasPendingMicrotasks=D.microTask,pm(t),yh(t)):"macroTask"==D.change&&(t.hasPendingMacrotasks=D.macroTask))},onHandleError:(a,u,v,D)=>(a.handleError(v,D),t.runOutsideAngular(()=>t.onError.emit(D)),!1)})}(D)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(hm)}static assertInAngularZone(){if(!na.isInAngularZone())throw new vn(909,!1)}static assertNotInAngularZone(){if(na.isInAngularZone())throw new vn(909,!1)}run(o,r,a){return this._inner.run(o,r,a)}runTask(o,r,a,u){const v=this._inner,D=v.scheduleEventTask("NgZoneEvent: "+u,o,Yg,Od,Od);try{return v.runTask(D,r,a)}finally{v.cancelTask(D)}}runGuarded(o,r,a){return this._inner.runGuarded(o,r,a)}runOutsideAngular(o){return this._outer.run(o)}}const Yg={};function yh(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 pm(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function mm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Qg(t){t._nesting--,yh(t)}class vh{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ql;onMicrotaskEmpty=new Ql;onStable=new Ql;onError=new Ql;run(o,r,a){return o.apply(r,a)}runGuarded(o,r,a){return o.apply(r,a)}runOutsideAngular(o){return o()}runTask(o,r,a,u){return o.apply(r,a)}}function qg(t,o){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[o]}class Ba{_console=console;handleError(o){this._console.error("ERROR",o)}}const Gk=new Si("",{providedIn:"root",factory:()=>{const t=nn(na),o=nn(Ba);return r=>t.runOutsideAngular(()=>o.handleError(r))}});function gm(t,o){return gi(t,o)}const kh=(gm.required=function tb(t){return gi(Tn,t)},gm);function Yk(){return Wc(jt(),T())}function Wc(t,o){return new Td(V(t,o))}let Td=(()=>class t{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=Yk})();function ml(t){return t instanceof Td?t.nativeElement:t}const Nl=new Set;function oa(t){Nl.has(t)||(Nl.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Pd(t,o){oa("NgSignals");const r=function Ot(t){const o=Object.create(So);o.value=t;const r=()=>(R(o),o.value);return r[x]=o,r}(t),a=r[x];return o?.equal&&(a.equal=o.equal),r.set=u=>fn(a,u),r.update=u=>function En(t,o){he()||wt(),fn(t,o(t.value))}(a,u),r.asReadonly=fl.bind(r),r}function fl(){const t=this[x];if(void 0===t.readonlyFn){const o=()=>this();o[x]=t,t.readonlyFn=o}return t.readonlyFn}function _h(t){return function bm(t){return"function"==typeof t&&void 0!==t[x]}(t)&&"function"==typeof t.set}function nb(){return this._results[Symbol.iterator]()}class ob{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Cn.B}constructor(o=!1){this._emitDistinctChangesOnly=o}get(o){return this._results[o]}map(o){return this._results.map(o)}filter(o){return this._results.filter(o)}find(o){return this._results.find(o)}reduce(o,r){return this._results.reduce(o,r)}forEach(o){this._results.forEach(o)}some(o){return this._results.some(o)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(o,r){this.dirty=!1;const a=function Cr(t){return t.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function Mi(t,o,r){if(t.length!==o.length)return!1;for(let a=0;avb}),vb="ng",ku=new Si(""),Ph=new Si("",{providedIn:"platform",factory:()=>"unknown"}),_b=new Si(""),xb=new Si("",{providedIn:"root",factory:()=>Ul().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Rd=new Si("",{providedIn:"root",factory:()=>!1});var Um=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Um||{});const Zc=new Si("");var Jc=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Jc||{});let Bh=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=Qi({token:t,providedIn:"root",factory:()=>new t})}return t})();const Vm=[Jc.EarlyRead,Jc.Write,Jc.MixedReadWrite,Jc.Read];let Wm=(()=>{class t{ngZone=nn(na);scheduler=nn(Xl);errorHandler=nn(Ba,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){nn(Zc,{optional:!0})}execute(){this.executing=!0;for(const r of Vm)for(const a of this.sequences)if(!a.erroredOrDestroyed&&a.hooks[r])try{a.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>a.hooks[r](a.pipelinedValue),a.snapshot))}catch(u){a.erroredOrDestroyed=!0,this.errorHandler?.handleError(u)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(r){this.executing?this.deferredRegistrations.add(r):(this.sequences.add(r),this.scheduler.notify(7))}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}maybeTrace(r,a){return a?a.run(Um.AFTER_NEXT_RENDER,r):r()}static \u0275prov=Qi({token:t,providedIn:"root",factory:()=>new t})}return t})();class Hm{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(o,r,a,u,v=null){this.impl=o,this.hooks=r,this.once=a,this.snapshot=v,this.unregisterOnDestroy=u?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Il(t,o){!o?.injector&&function oi(t){if(!Uo())throw new vn(-203,!1)}();const r=o?.injector??nn(Aa);return oa("NgAfterNextRender"),function Fb(t,o,r,a){const u=o.get(Bh);u.impl??=o.get(Wm);const v=o.get(Zc,null,{optional:!0}),D=r?.phase??Jc.MixedReadWrite,W=!0!==r?.manualCleanup?o.get(cc):null,ee=new Hm(u.impl,function Mb(t,o){if(t instanceof Function){const r=[void 0,void 0,void 0,void 0];return r[o]=t,r}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,D),a,W,v?.snapshot(null));return u.impl.register(ee),ee}(t,r,o,!0)}let tf=()=>null;function Ub(t,o,r=!1){return tf(t,o,r)}function o0(t,o){const r=t.contentQueries;if(null!==r){const a=_(null);try{for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ru}()?.createHTML(t)||t}function np(){if(void 0===ad&&(ad=null,Gi.trustedTypes))try{ad=Gi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ad}function s0(t){return np()?.createHTML(t)||t}function a0(t){return np()?.createScriptURL(t)||t}class Tc{changingThisBreaksApplicationSecurity;constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zt})`}}class m1 extends Tc{getTypeName(){return"HTML"}}class l0 extends Tc{getTypeName(){return"Style"}}class c0 extends Tc{getTypeName(){return"Script"}}class d0 extends Tc{getTypeName(){return"URL"}}class u0 extends Tc{getTypeName(){return"ResourceURL"}}function hc(t){return t instanceof Tc?t.changingThisBreaksApplicationSecurity:t}function ld(t,o){const r=function f1(t){return t instanceof Tc&&t.getTypeName()||null}(t);if(null!=r&&r!==o){if("ResourceURL"===r&&"URL"===o)return!0;throw new Error(`Required a safe ${o}, got a ${r} (see ${Zt})`)}return r===o}function h0(t){return new m1(t)}function g1(t){return new l0(t)}function p0(t){return new c0(t)}function m0(t){return new d0(t)}function f0(t){return new u0(t)}class g0{inertDocumentHelper;constructor(o){this.inertDocumentHelper=o}getInertBodyElement(o){o=""+o;try{const r=(new window.DOMParser).parseFromString(sd(o),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(o):(r.firstChild?.remove(),r)}catch{return null}}}class b1{defaultDoc;inertDocument;constructor(o){this.defaultDoc=o,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(o){const r=this.inertDocument.createElement("template");return r.innerHTML=sd(o),r}}const y0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xr(t){return(t=String(t)).match(y0)?t:"unsafe:"+t}function ec(t){const o={};for(const r of t.split(","))o[r]=!0;return o}function Lu(...t){const o={};for(const r of t)for(const a in r)r.hasOwnProperty(a)&&(o[a]=!0);return o}const pf=ec("area,br,col,hr,img,wbr"),mf=ec("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ff=ec("rp,rt"),gf=Lu(pf,Lu(mf,ec("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")),Lu(ff,ec("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")),Lu(ff,mf)),bf=ec("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yf=Lu(bf,ec("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"),ec("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")),Na=ec("script,style,template");class _1{sanitizedSomething=!1;buf=[];sanitizeChildren(o){let r=o.firstChild,a=!0,u=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?a=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,a&&r.firstChild)u.push(r),r=C1(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let v=x1(r);if(v){r=v;break}r=u.pop()}return this.buf.join("")}startElement(o){const r=v0(o).toLowerCase();if(!gf.hasOwnProperty(r))return this.sanitizedSomething=!0,!Na.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const a=o.attributes;for(let u=0;u"),!0}endElement(o){const r=v0(o).toLowerCase();gf.hasOwnProperty(r)&&!pf.hasOwnProperty(r)&&(this.buf.push(""))}chars(o){this.buf.push(vf(o))}}function x1(t){const o=t.nextSibling;if(o&&t!==o.previousSibling)throw k0(o);return o}function C1(t){const o=t.firstChild;if(o&&function hs(t,o){return(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,o))throw k0(o);return o}function v0(t){const o=t.nodeName;return"string"==typeof o?o:"FORM"}function k0(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const _0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,E1=/([^\#-~ |!])/g;function vf(t){return t.replace(/&/g,"&").replace(_0,function(o){return"&#"+(1024*(o.charCodeAt(0)-55296)+(o.charCodeAt(1)-56320)+65536)+";"}).replace(E1,function(o){return"&#"+o.charCodeAt(0)+";"}).replace(//g,">")}let ju;function x0(t,o){let r=null;try{ju=ju||function hf(t){const o=new b1(t);return function b0(){try{return!!(new window.DOMParser).parseFromString(sd(""),"text/html")}catch{return!1}}()?new g0(o):o}(t);let a=o?String(o):"";r=ju.getInertBodyElement(a);let u=5,v=a;do{if(0===u)throw new Error("Failed to sanitize html because the input is unstable");u--,a=v,v=r.innerHTML,r=ju.getInertBodyElement(a)}while(a!==v);return sd((new _1).sanitizeChildren(kf(r)||r))}finally{if(r){const a=kf(r)||r;for(;a.firstChild;)a.firstChild.remove()}}}function kf(t){return"content"in t&&function w1(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Pc=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}(Pc||{});function C0(t){const o=Gd();return o?s0(o.sanitize(Pc.HTML,t)||""):ld(t,"HTML")?s0(hc(t)):x0(Ul(),Dt(t))}function _f(t){const o=Gd();return o?o.sanitize(Pc.URL,t)||"":ld(t,"URL")?hc(t):Xr(Dt(t))}function xf(t){const o=Gd();if(o)return a0(o.sanitize(Pc.RESOURCE_URL,t)||"");if(ld(t,"ResourceURL"))return a0(hc(t));throw new vn(904,!1)}function w0(t,o,r){return function E0(t,o){return"src"===o&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===o&&("base"===t||"link"===t)?xf:_f}(o,r)(t)}function Gd(){const t=T();return t&&t[ra].sanitizer}const M0=/^>|^->||--!>|)/g;function R0(t){return t.ownerDocument.defaultView}function L0(t){return t.ownerDocument}function wl(t){return t instanceof Function?t():t}function W1(t,o,r){let a=t.length;for(;;){const u=t.indexOf(o,r);if(-1===u)return u;if(0===u||t.charCodeAt(u-1)<=32){const v=o.length;if(u+v===a||t.charCodeAt(u+v)<=32)return u}r=u+1}}const Bu="ng-template";function $0(t,o,r,a){let u=0;if(a){for(;u-1){let v;for(;++uv?"":u[it+1].toLowerCase(),2&a&&Se!==Tt){if(Wl(a))return!1;D=!0}}}}else{if(!D&&!Wl(a)&&!Wl(ee))return!1;if(D&&Wl(ee))continue;D=!1,a=ee|1&a}}return Wl(a)||D}function Wl(t){return!(1&t)}function z0(t,o,r,a){if(null===o)return-1;let u=0;if(a||!r){let v=!1;for(;u-1)for(r++;r0?'="'+W+'"':"")+"]"}else 8&a?u+="."+D:4&a&&(u+=" "+D);else""!==u&&!Wl(D)&&(o+=H0(v,u),u=""),a=D,v=v||!Wl(a);r++}return""!==u&&(o+=H0(v,u)),o}const Gr={};function lp(t,o){return t.createComment(function D0(t){return t.replace(M0,o=>o.replace(S1,"\u200b$1\u200b"))}(o))}function cp(t,o,r){return t.createElement(o,r)}function Sc(t,o,r,a,u){t.insertBefore(o,r,a,u)}function Of(t,o,r){t.appendChild(o,r)}function dp(t,o,r,a,u){null!==a?Sc(t,o,r,a,u):Of(t,o,r)}function Pf(t,o,r){const{mergedAttrs:a,classes:u,styles:v}=r;null!==a&&function hh(t,o,r){let a=0;for(;aii&&If(t,o,ii,!1),Kn(D?2:0,u),r(a,u)}finally{El(v),Kn(D?3:1,u)}}function up(t,o,r){No()&&(Ja(V(r,o),o),hp(t,o,r))}function hp(t,o,r){(function $f(t,o,r){const a=r.directiveStart,u=r.directiveEnd;Xs(r)&&function F(t,o,r){const a=V(o,t),u=function Lf(t){const o=t.tView;return null===o||o.incompleteFirstPass?t.tView=mp(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):o}(r),v=t[ra].rendererFactory,D=qt(t,Yd(t,u,null,p(r),a,o,null,v.createRenderer(a,r),null,null,null));t[o.index]=D}(o,r,t.data[a+r.componentOffset]),t.firstCreatePass||Ia(r,o);const v=r.initialInputs;for(let D=a;Dnull;function cl(t,o,r,a,u,v,D,W){const ee=V(o,r);let it,Se=o.inputs;!W&&null!=Se&&(it=Se[a])?(xo(t,r,it,a,u),Xs(o)&&function ty(t,o){const r=$t(o,t);16&r[Zi]||(r[Zi]|=64)}(r,o.index)):3&o.type&&(a=function ey(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(a),u=null!=D?D(u,o.value||"",a):u,v.setProperty(ee,a,u))}function c(t,o){null!==t.hostBindings&&t.hostBindings(1,o)}function d(t,o){const r=t.directiveRegistry;let a=null;if(r)for(let u=0;u0&&(t[r-1][bs]=a[bs]);const v=Nr(t,ns+o);!function Ws(t,o){ba(t,o),o[Br]=null,o[$s]=null}(a[Zo],a);const D=v[$o];null!==D&&D.detachView(v[Zo]),a[ss]=null,a[bs]=null,a[Zi]&=-129}return a}function aa(t,o){if(ma(o))return;const r=o[ar];r.destroyNode&&zf(t,o,r,3,null,null),function Ma(t){let o=t[ue];if(!o)return Ra(t[Zo],t);for(;o;){let r=null;if(Hr(o))r=o[ue];else{const a=o[ns];a&&(r=a)}if(!r){for(;o&&!o[bs]&&o!==t;)Hr(o)&&Ra(o[Zo],o),o=o[ss];null===o&&(o=t),Hr(o)&&Ra(o[Zo],o),r=o&&o[bs]}o=r}}(o)}function Ra(t,o){if(ma(o))return;const r=_(null);try{o[Zi]&=-129,o[Zi]|=256,o[pr]&&ke(o[pr]),function mc(t,o){let r;if(null!=t&&null!=(r=t.destroyHooks))for(let a=0;a=0?a[W]():a[-W].unsubscribe(),D+=2}else r[D].call(a[r[D+1]]);null!==a&&(o[Ea]=null);const u=o[21];if(null!==u){o[21]=null;for(let D=0;D0&&(r[u-1][bs]=o),a{Qs(t.lView)},consumerOnSignalRead(){this.lView[pr]=this}},R2={...I,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let o=Gs(t.lView);for(;o&&!q1(o[Zo]);)o=Gs(o);o&&Bi(o)},consumerOnSignalRead(){this.lView[pr]=this}};function q1(t){return 2!==t.type}function e_(t){if(null===t[23])return;let o=!0;for(;o;){let r=!1;for(const a of t[23])a.dirty&&(r=!0,null===a.zone||Zone.current===a.zone?a.run():a.zone.run(()=>a.run()));o=r&&!!(8192&t[Zi])}}function Uf(t,o=!0,r=0){const u=t[ra].rendererFactory;u.begin?.();try{!function j2(t,o){const r=Mr();try{ds(!0),ly(t,o);let a=0;for(;jr(t);){if(100===a)throw new vn(103,!1);a++,ly(t,1)}}finally{ds(r)}}(t,r)}catch(D){throw o&&Co(t,D),D}finally{u.end?.()}}function n_(t,o,r,a){if(ma(o))return;const u=o[Zi];br(o);let W=!0,ee=null,Se=null;q1(t)?(Se=function T2(t){return t[pr]??function P2(t){const o=J1.pop()??Object.create(I2);return o.lView=t,o}(t)}(o),ee=Le(Se)):null===function y(){return f}()?(W=!1,Se=function A2(t){const o=t[pr]??Object.create(R2);return o.lView=t,o}(o),ee=Le(Se)):o[pr]&&(ke(o[pr]),o[pr]=null);try{tr(o),Ls(t.bindingStartIndex),null!==r&&Rf(t,o,r,2,a);const it=!(3&~u);if(it){const Ln=t.preOrderCheckHooks;null!==Ln&&Rc(o,Ln,null)}else{const Ln=t.preOrderHooks;null!==Ln&&Lc(o,Ln,0,null),vd(o,0)}if(function B2(t){for(let o=wm(t);null!==o;o=Mm(o)){if(!(2&o[Zi]))continue;const r=o[Vs];for(let a=0;a-1&&(qs(o,a),Nr(r,a))}this._attachedToViewContainer=!1}aa(this._lView[Zo],this._lView)}onDestroy(o){Zs(this._lView,o)}markForCheck(){gp(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Bi(this._cdRefInjectingView||this._lView)}detach(){this._lView[Zi]&=-129}reattach(){Hs(this._lView),this._lView[Zi]|=128}detectChanges(){this._lView[Zi]|=1024,Uf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new vn(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const o=Ts(this._lView),r=this._lView[bn];null!==r&&!o&&ol(r,this._lView),ba(this._lView[Zo],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new vn(902,!1);this._appRef=o;const r=Ts(this._lView),a=this._lView[bn];null!==a&&!r&&Ca(a,this._lView),Hs(this._lView)}}let yp=(()=>class t{static __NG_ELEMENT_ID__=V2})();const z2=yp,U2=class extends z2{_declarationLView;_declarationTContainer;elementRef;constructor(o,r,a){super(),this._declarationLView=o,this._declarationTContainer=r,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,r){return this.createEmbeddedViewImpl(o,r)}createEmbeddedViewImpl(o,r,a){const u=$u(this._declarationLView,this._declarationTContainer,o,{embeddedViewInjector:r,dehydratedView:a});return new bp(u)}};function V2(){return Vf(jt(),T())}function Vf(t,o){return 4&t.type?new U2(o,t,Wc(t,o)):null}function Uu(t,o,r,a,u){let v=t.data[o];if(null===v)v=function hy(t,o,r,a,u){const v=kn(),D=Fi(),ee=t.data[o]=function q2(t,o,r,a,u,v){let D=o?o.injectorIndex:-1,W=0;return Jo()&&(W|=128),{type:r,index:a,insertBeforeIndex:null,injectorIndex:D,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:W,providerIndexes:0,value:u,attrs:v,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:o,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,D?v:v&&v.parent,r,o,a,u);return function J2(t,o,r,a){null===t.firstChild&&(t.firstChild=o),null!==r&&(a?null==r.child&&null!==o.parent&&(r.child=o):null===r.next&&(r.next=o,o.prev=r))}(t,ee,v,D),ee}(t,o,r,a,u),function da(){return G.lFrame.inI18n}()&&(v.flags|=32);else if(64&v.type){v.type=r,v.value=a,v.attrs=u;const D=function qn(){const t=G.lFrame,o=t.currentTNode;return t.isParent?o:o.parent}();v.injectorIndex=null===D?-1:D.injectorIndex}return ko(v,!0),v}let M_=()=>null;function Wu(t,o){return M_(t,o)}class $M{}class F_{}class NM{resolveComponentFactory(o){throw Error(`No component factory found for ${at(o)}.`)}}class Mp{static NULL=new NM}class _y{}let zM=(()=>class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>function UM(){const t=T(),r=$t(jt().index,t);return(Hr(r)?r:t)[ar]}()})(),VM=(()=>{class t{static \u0275prov=Qi({token:t,providedIn:"root",factory:()=>null})}return t})();function ud(t){return!!Gt(t)}function Ey(t,o,r){let a=r?t.styles:null,u=r?t.classes:null,v=0;if(null!==o)for(let D=0;D0;){const r=t[--o];if("number"==typeof r&&r<0)return r}return 0})(D)!=W&&D.push(W),D.push(r,a,v)}}(t,o,a,Op(t,r,u.hostVars,Gr),u)}function tF(t,o,r){if(r){if(o.exportAs)for(let a=0;a[this.componentDef],!0,0);Sn&&(Pf(Tt,Sn,jo),Ja(Sn,Ln)),hp(ee,Ln,jo),cf(ee,jo,Ln),A_(ee,jo),void 0!==r&&function aF(t,o,r){const a=t.projection=[];for(let u=0;uclass t{static __NG_ELEMENT_ID__=lF})();function lF(){return $_(jt(),T())}const cF=Qf,j_=class extends cF{_lContainer;_hostTNode;_hostLView;constructor(o,r,a){super(),this._lContainer=o,this._hostTNode=r,this._hostLView=a}get element(){return Wc(this._hostTNode,this._hostLView)}get injector(){return new sa(this._hostTNode,this._hostLView)}get parentInjector(){const o=sc(this._hostTNode,this._hostLView);if(kr(o)){const r=Ge(o,this._hostLView),a=Lt(o);return new sa(r[Zo].data[a+8],r)}return new sa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){const r=B_(this._lContainer);return null!==r&&r[o]||null}get length(){return this._lContainer.length-ns}createEmbeddedView(o,r,a){let u,v;"number"==typeof a?u=a:null!=a&&(u=a.index,v=a.injector);const D=Wu(this._lContainer,o.ssrId),W=o.createEmbeddedViewImpl(r||{},v,D);return this.insertImpl(W,u,Jd(this._hostTNode,D)),W}createComponent(o,r,a,u,v){const D=o&&!function _s(t){return"function"==typeof t}(o);let W;if(D)W=r;else{const ho=r||{};W=ho.index,a=ho.injector,u=ho.projectableNodes,v=ho.environmentInjector||ho.ngModuleRef}const ee=D?o:new Tp(Jt(o)),Se=a||this.parentInjector;if(!v&&null==ee.ngModule){const jo=(D?Se:this.parentInjector).get(Pi,null);jo&&(v=jo)}const it=Jt(ee.componentType??{}),Tt=Wu(this._lContainer,it?.id??null),Ln=ee.create(Se,u,Tt?.firstChild??null,v);return this.insertImpl(Ln.hostView,W,Jd(this._hostTNode,Tt)),Ln}insert(o,r){return this.insertImpl(o,r,!0)}insertImpl(o,r,a){const u=o._lView;if(function Lo(t){return os(t[ss])}(u)){const W=this.indexOf(o);if(-1!==W)this.detach(W);else{const ee=u[ss],Se=new j_(ee,ee[$s],ee[ss]);Se.detach(Se.indexOf(o))}}const v=this._adjustIndex(r),D=this._lContainer;return Nu(D,u,v,a),o.attachToViewContainerRef(),Ii(My(D),v,o),o}move(o,r){return this.insert(o,r)}indexOf(o){const r=B_(this._lContainer);return null!==r?r.indexOf(o):-1}remove(o){const r=this._adjustIndex(o,-1),a=qs(this._lContainer,r);a&&(Nr(My(this._lContainer),r),aa(a[Zo],a))}detach(o){const r=this._adjustIndex(o,-1),a=qs(this._lContainer,r);return a&&null!=Nr(My(this._lContainer),r)?new bp(a):null}_adjustIndex(o,r=0){return o??this.length+r}};function B_(t){return t[8]}function My(t){return t[8]||(t[8]=[])}function $_(t,o){let r;const a=o[t.index];return os(a)?r=a:(r=kt(a,o,null,t),o[t.index]=r,qt(o,r)),N_(r,o,t,a),new j_(r,t,o)}let N_=function U_(t,o,r,a){if(t[Qr])return;let u;u=8&r.type?Fo(a):function dF(t,o){const r=t[ar],a=r.createComment(""),u=V(o,t),v=r.parentNode(u);return Sc(r,v,a,r.nextSibling(u),!1),a}(o,r),t[Qr]=u},Fy=()=>!1;class Dy{queryList;matches=null;constructor(o){this.queryList=o}clone(){return new Dy(this.queryList)}setDirty(){this.queryList.setDirty()}}class Oy{queries;constructor(o=[]){this.queries=o}createEmbeddedView(o){const r=o.queries;if(null!==r){const a=null!==o.contentQueries?o.contentQueries[0]:r.length,u=[];for(let v=0;vo.trim())}(o):o}}class Ty{queries;constructor(o=[]){this.queries=o}elementStart(o,r){for(let a=0;a0)a.push(D[W/2]);else{const Se=v[W+1],it=o[-ee];for(let Tt=ns;Ttr()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}}class jy extends sx{moduleType;constructor(o){super(),this.moduleType=o}create(o){return new Ly(this.moduleType,o,[])}}class ax extends eu{injector;componentFactoryResolver=new R_(this);instance=null;constructor(o){super();const r=new Dr([...o.providers,{provide:eu,useValue:this},{provide:Mp,useValue:this.componentFactoryResolver}],o.parent||Di(),o.debugName,new Set(["environment"]));this.injector=r,o.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}}function By(t,o,r=null){return new ax({providers:t,parent:o,debugName:r,runEnvironmentInitializers:!0}).injector}let PF=(()=>{class t{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const a=Ut(0,r.type),u=a.length>0?By([a],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,u)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Qi({token:t,providedIn:"environment",factory:()=>new t(Yt(Pi))})}return t})();function lx(t){return Go(()=>{const o=hx(t),r={...o,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===bu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&t.dependencies||null,getStandaloneInjector:o.standalone?u=>u.get(PF).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ql.Emulated,styles:t.styles||qe,_:null,schemas:t.schemas||null,tView:null,id:""};o.standalone&&oa("NgStandalone"),px(r);const a=t.dependencies;return r.directiveDefs=Jf(a,!1),r.pipeDefs=Jf(a,!0),r.id=function RF(t){let o=0;const a=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":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];for(const v of a.join("|"))o=Math.imul(31,o)+v.charCodeAt(0)|0;return o+=2147483648,"c"+o}(r),r})}function SF(t){return Jt(t)||z(t)}function IF(t){return null!==t}function $y(t){return Go(()=>({type:t.type,bootstrap:t.bootstrap||qe,declarations:t.declarations||qe,imports:t.imports||qe,exports:t.exports||qe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function cx(t,o){if(null==t)return mt;const r={};for(const a in t)if(t.hasOwnProperty(a)){const u=t[a];let v,D,W=pc.None;Array.isArray(u)?(W=u[0],v=u[1],D=u[2]??v):(v=u,D=u),o?(r[v]=W!==pc.None?[a,W]:a,o[v]=D):r[v]=a}return r}function dx(t){return Go(()=>{const o=hx(t);return px(o),o})}function ux(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function hx(t){const o={};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:o,inputTransforms:null,inputConfig:t.inputs||mt,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||qe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cx(t.inputs,o),outputs:cx(t.outputs),debugInfo:null}}function px(t){t.features?.forEach(o=>o(t))}function Jf(t,o){if(!t)return null;const r=o?Q:SF;return()=>("function"==typeof t?t():t).map(a=>r(a)).filter(IF)}function Ny(t){let o=function mx(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),r=!0;const a=[t];for(;o;){let u;if(ca(t))u=o.\u0275cmp||o.\u0275dir;else{if(o.\u0275cmp)throw new vn(903,!1);u=o.\u0275dir}if(u){if(r){a.push(u);const D=t;D.inputs=qf(t.inputs),D.inputTransforms=qf(t.inputTransforms),D.declaredInputs=qf(t.declaredInputs),D.outputs=qf(t.outputs);const W=u.hostBindings;W&&NF(t,W);const ee=u.viewQuery,Se=u.contentQueries;if(ee&&BF(t,ee),Se&&$F(t,Se),LF(t,u),ze(t.outputs,u.outputs),ca(u)&&u.data.animation){const it=t.data;it.animation=(it.animation||[]).concat(u.data.animation)}}const v=u.features;if(v)for(let D=0;D=0;a--){const u=t[a];u.hostVars=o+=u.hostVars,u.hostAttrs=rc(u.hostAttrs,r=rc(r,u.hostAttrs))}}(a)}function LF(t,o){for(const r in o.inputs){if(!o.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;const a=o.inputs[r];if(void 0!==a&&(t.inputs[r]=a,t.declaredInputs[r]=o.declaredInputs[r],null!==o.inputTransforms)){const u=Array.isArray(a)?a[0]:a;if(!o.inputTransforms.hasOwnProperty(u))continue;t.inputTransforms??={},t.inputTransforms[u]=o.inputTransforms[u]}}}function qf(t){return t===mt?{}:t===qe?[]:t}function BF(t,o){const r=t.viewQuery;t.viewQuery=r?(a,u)=>{o(a,u),r(a,u)}:o}function $F(t,o){const r=t.contentQueries;t.contentQueries=r?(a,u,v)=>{o(a,u,v),r(a,u,v)}:o}function NF(t,o){const r=t.hostBindings;t.hostBindings=r?(a,u)=>{o(a,u),r(a,u)}:o}function fx(t){const o=r=>{const a=Array.isArray(t);null===r.hostDirectives?(r.findHostDirectiveDefs=gx,r.hostDirectives=a?t.map(zy):[t]):a?r.hostDirectives.unshift(...t.map(zy)):r.hostDirectives.unshift(t)};return o.ngInherit=!0,o}function gx(t,o,r){if(null!==t.hostDirectives)for(const a of t.hostDirectives)if("function"==typeof a){const u=a();for(const v of u)bx(zy(v),o,r)}else bx(a,o,r)}function bx(t,o,r){const a=z(t.directive);(function WF(t,o){for(const r in o)o.hasOwnProperty(r)&&(t[o[r]]=t[r])})(a.declaredInputs,t.inputs),gx(a,o,r),r.set(a,t),o.push(a)}function zy(t){return"function"==typeof t?{directive:dn(t),inputs:mt,outputs:mt}:{directive:dn(t.directive),inputs:yx(t.inputs),outputs:yx(t.outputs)}}function yx(t){if(void 0===t||0===t.length)return mt;const o={};for(let r=0;r{class t{log(r){console.log(r)}warn(r){console.warn(r)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=Qi({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const Ix="ng";function GD(t,o){!function Rx(t,o){if(typeof COMPILED>"u"||!COMPILED){const r=Gi;r[Ix]??={},r[Ix][t]=o}}(t,o)}const Lx=new Si(""),jx=new Si("");let Xy,KD=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(r,a,u){this._ngZone=r,this.registry=a,Xy||(function YD(t){Xy=t}(u),u.addToWindow(a)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{na.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(r)||(clearTimeout(a.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,a,u){let v=-1;a&&a>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==v),r()},a)),this._callbacks.push({doneCb:r,timeoutId:v,updateCb:u})}whenStable(r,a,u){if(u&&!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(r,a,u),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,a,u){return[]}static \u0275fac=function(a){return new(a||t)(Yt(na),Yt(Bx),Yt(jx))};static \u0275prov=Qi({token:t,factory:t.\u0275fac})}return t})(),Bx=(()=>{class t{_applications=new Map;registerApplication(r,a){this._applications.set(r,a)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,a=!0){return Xy?.findTestabilityInTree(this,r,a)??null}static \u0275fac=function(a){return new(a||t)};static \u0275prov=Qi({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Qy(t){return!!t&&"function"==typeof t.then}function $x(t){return!!t&&"function"==typeof t.subscribe}const Zy=new Si("");function XD(t){return _e([{provide:Zy,multi:!0,useValue:t}])}let Nx=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,a)=>{this.resolve=r,this.reject=a});appInits=nn(Zy,{optional:!0})??[];injector=nn(Aa);constructor(){}runInitializers(){if(this.initialized)return;const r=[];for(const u of this.appInits){const v=Do(this.injector,u);if(Qy(v))r.push(v);else if($x(v)){const D=new Promise((W,ee)=>{v.subscribe({complete:W,error:ee})});r.push(D)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{a()}).catch(u=>{this.reject(u)}),0===r.length&&a(),this.initialized=!0}static \u0275fac=function(a){return new(a||t)};static \u0275prov=Qi({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jy=(()=>{class t{static \u0275prov=Qi({token:t,providedIn:"root",factory:()=>new zx})}return t})();class zx{queuedEffectCount=0;queues=new Map;schedule(o){this.enqueue(o)}remove(o){const a=this.queues.get(o.zone);a.has(o)&&(a.delete(o),this.queuedEffectCount--)}enqueue(o){const r=o.zone;this.queues.has(r)||this.queues.set(r,new Set);const a=this.queues.get(r);a.has(o)||(this.queuedEffectCount++,a.add(o))}flush(){for(;this.queuedEffectCount>0;)for(const[o,r]of this.queues)null===o?this.flushQueue(r):o.run(()=>this.flushQueue(r))}flushQueue(o){for(const r of o)o.delete(r),this.queuedEffectCount--,r.run()}}const Rp=new Si("");let Al=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=nn(Gk);afterRenderManager=nn(Bh);zonelessEnabled=nn(fu);rootEffectScheduler=nn(Jy);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Cn.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=nn(Sl).hasPendingTasks.pipe((0,Nn.T)(r=>!r));constructor(){nn(Zc,{optional:!0})}whenStable(){let r;return new Promise(a=>{r=this.isStable.subscribe({next:u=>{u&&a()}})}).finally(()=>{r.unsubscribe()})}_injector=nn(Pi);_rendererFactory=null;get injector(){return this._injector}bootstrap(r,a){const u=r instanceof F_;if(!this._injector.get(Nx).done)throw!u&&Ee(r),new vn(405,!1);let D;D=u?r:this._injector.get(Mp).resolveComponentFactory(r),this.componentTypes.push(D.componentType);const W=function QD(t){return t.isBoundToModule}(D)?void 0:this._injector.get(eu),Se=D.create(Aa.NULL,[],a||D.selector,W),it=Se.location.nativeElement,Tt=Se.injector.get(Lx,null);return Tt?.registerApplication(it),Se.onDestroy(()=>{this.detachView(Se.hostView),rg(this.components,Se),Tt?.unregisterApplication(it)}),this._loadComponent(Se),Se}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(null!==this.tracingSnapshot){const a=this.tracingSnapshot;return this.tracingSnapshot=null,a.run(Um.CHANGE_DETECTION,this._tick),void a.dispose()}if(this._runningTick)throw new vn(101,!1);const r=_(null);try{this._runningTick=!0,this.synchronize()}catch(a){this.internalErrorHandler(a)}finally{this._runningTick=!1,_(r),this.afterTick.next()}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(_y,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:a,notifyErrorHandler:u}of this.allViews)JD(a,u,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:r})=>jr(r))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(r){const a=r;this._views.push(a),a.attachToAppRef(this)}detachView(r){const a=r;rg(this._views,a),a.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r),this._injector.get(Rp,[]).forEach(u=>u(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>rg(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new vn(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(a){return new(a||t)};static \u0275prov=Qi({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rg(t,o){const r=t.indexOf(o);r>-1&&t.splice(r,1)}function JD(t,o,r,a){(r||jr(t))&&Uf(t,o,r&&!a?0:1)}function nv(t,o,r,a){const u=T();return Da(u,ta(),o)&&(J(),oe(js(),u,t,o,r,a)),nv}function Qu(t,o,r,a){return Da(t,ta(),r)?o+Dt(r)+a:Gr}function Zu(t,o,r,a,u,v){const W=tu(t,Sr(),r,u);return Ns(2),W?o+Dt(r)+a+Dt(u)+v:Gr}function sg(t,o){return t<<17|o<<2}function gd(t){return t>>17&32767}function ov(t){return 2|t}function ou(t){return(131068&t)>>2}function iv(t,o){return-131069&t|o<<2}function rv(t){return 1|t}function iC(t,o,r,a){const u=t[r+1],v=null===o;let D=a?gd(u):ou(u),W=!1;for(;0!==D&&(!1===W||v);){const Se=t[D+1];L4(t[D],o)&&(W=!0,t[D+1]=a?rv(Se):ov(Se)),D=a?gd(Se):ou(Se)}W&&(t[r+1]=a?ov(u):rv(u))}function L4(t,o){return null===t||null==o||(Array.isArray(t)?t[1]:t)===o||!(!Array.isArray(t)||"string"!=typeof o)&&ge(t,o)>=0}const Ka={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rC(t){return t.substring(Ka.key,Ka.keyEnd)}function sC(t,o){const r=Ka.textEnd;return r===o?-1:(o=Ka.keyEnd=function N4(t,o,r){for(;o32;)o++;return o}(t,Ka.key=o,r),ih(t,o,r))}function ih(t,o,r){for(;o=0;r=sC(o,r))se(t,rC(o),!0)}function tc(t,o,r,a){const u=T(),v=J(),D=Ns(2);v.firstUpdatePass&&pC(v,t,D,a),o!==Gr&&Da(u,D,o)&&fC(v,v.data[es()],u,u[ar],t,u[D+1]=function Z4(t,o){return null==t||""===t||("string"==typeof o?t+=o:"object"==typeof t&&(t=at(hc(t)))),t}(o,r),a,D)}function nc(t,o,r,a){const u=J(),v=Ns(2);u.firstUpdatePass&&pC(u,null,v,a);const D=T();if(r!==Gr&&Da(D,v,r)){const W=u.data[es()];if(bC(W,a)&&!hC(u,v)){let ee=a?W.classesWithoutHost:W.stylesWithoutHost;null!==ee&&(r=Ft(ee,r||"")),av(u,W,D,r,a)}else!function Q4(t,o,r,a,u,v,D,W){u===Gr&&(u=qe);let ee=0,Se=0,it=0=t.expandoStartIndex}function pC(t,o,r,a){const u=t.data;if(null===u[r+1]){const v=u[es()],D=hC(t,r);bC(v,a)&&null===o&&!D&&(o=!1),o=function W4(t,o,r,a){const u=function el(t){const o=G.lFrame.currentDirectiveIndex;return-1===o?null:t[o]}(t);let v=a?o.residualClasses:o.residualStyles;if(null===u)0===(a?o.classBindings:o.styleBindings)&&(r=jp(r=dv(null,t,o,r,a),o.attrs,a),v=null);else{const D=o.directiveStylingLast;if(-1===D||t[D]!==u)if(r=dv(u,t,o,r,a),null===v){let ee=function H4(t,o,r){const a=r?o.classBindings:o.styleBindings;if(0!==ou(a))return t[gd(a)]}(t,o,a);void 0!==ee&&Array.isArray(ee)&&(ee=dv(null,t,o,ee[1],a),ee=jp(ee,o.attrs,a),function G4(t,o,r,a){t[gd(r?o.classBindings:o.styleBindings)]=a}(t,o,a,ee))}else v=function K4(t,o,r){let a;const u=o.directiveEnd;for(let v=1+o.directiveStylingLast;v0)&&(Se=!0)):it=r,u)if(0!==ee){const Sn=gd(t[W+1]);t[a+1]=sg(Sn,W),0!==Sn&&(t[Sn+1]=iv(t[Sn+1],a)),t[W+1]=function S4(t,o){return 131071&t|o<<17}(t[W+1],a)}else t[a+1]=sg(W,0),0!==W&&(t[W+1]=iv(t[W+1],a)),W=a;else t[a+1]=sg(ee,0),0===W?W=a:t[ee+1]=iv(t[ee+1],a),ee=a;Se&&(t[a+1]=ov(t[a+1])),iC(t,it,a,!0),iC(t,it,a,!1),function R4(t,o,r,a,u){const v=u?t.residualClasses:t.residualStyles;null!=v&&"string"==typeof o&&ge(v,o)>=0&&(r[a+1]=rv(r[a+1]))}(o,it,t,a,v),D=sg(W,ee),v?o.classBindings=D:o.styleBindings=D}(u,v,o,r,D,a)}}function dv(t,o,r,a,u){let v=null;const D=r.directiveEnd;let W=r.directiveStylingLast;for(-1===W?W=r.directiveStart:W++;W0;){const ee=t[u],Se=Array.isArray(ee),it=Se?ee[1]:ee,Tt=null===it;let Sn=r[u+1];Sn===Gr&&(Sn=Tt?qe:void 0);let Ln=Tt?te(Sn,a):it===a?Sn:void 0;if(Se&&!ag(Ln)&&(Ln=te(ee,a)),ag(Ln)&&(W=Ln,D))return W;const ho=t[u+1];u=D?gd(ho):ou(ho)}if(null!==o){let ee=v?o.residualClasses:o.residualStyles;null!=ee&&(W=te(ee,a))}return W}function ag(t){return void 0!==t}function bC(t,o){return!!(t.flags&(o?8:16))}function yC(t,o,r){nc(se,bc,Qu(T(),t,o,r),!0)}function vC(t,o,r,a,u){nc(se,bc,Zu(T(),t,o,r,a,u),!0)}function cg(t,o,r,a){const u=T(),v=J(),D=ii+t,W=u[ar],ee=v.firstCreatePass?I_(D,v,u,o,d,No(),r,a):v.data[D],Se=CC(v,u,ee,W,o,t);u[D]=Se;const it=rl(ee);return ko(ee,!0),Pf(W,Se,ee),!cr(ee)&&jl()&&Nf(v,u,Se,ee),0===function rn(){return G.lFrame.elementDepthCount}()&&Ja(Se,u),function Rn(){G.lFrame.elementDepthCount++}(),it&&(up(v,u,ee),cf(v,ee,u)),null!==a&&pp(u,ee),cg}function dg(){let t=jt();Fi()?_i():(t=t.parent,ko(t,!1));const o=t;(function Ui(t){return G.skipHydrationRootTNode===t})(o)&&function A(){G.skipHydrationRootTNode=null}(),function lo(){G.lFrame.elementDepthCount--}();const r=J();return r.firstCreatePass&&A_(r,o),null!=o.classesWithoutHost&&function _d(t){return!!(8&t.flags)}(o)&&av(r,o,T(),o.classesWithoutHost,!0),null!=o.stylesWithoutHost&&function xd(t){return!!(16&t.flags)}(o)&&av(r,o,T(),o.stylesWithoutHost,!1),dg}function mv(t,o,r,a){return cg(t,o,r,a),dg(),mv}let CC=(t,o,r,a,u,v)=>(Pl(!0),cp(a,u,function oc(){return G.lFrame.currentNamespace}()));function ug(t,o,r){const a=T(),u=J(),v=t+ii,D=u.firstCreatePass?function kO(t,o,r,a,u){const v=o.consts,D=Ei(v,a),W=Uu(o,t,8,"ng-container",D);null!==D&&Ey(W,D,!0);const ee=Ei(v,u);return No()&&wy(o,r,W,ee,d),W.mergedAttrs=rc(W.mergedAttrs,W.attrs),null!==o.queries&&o.queries.elementStart(o,W),W}(v,u,a,o,r):u.data[v];ko(D,!0);const W=EC(u,a,D,t);return a[v]=W,jl()&&Nf(u,a,W,D),Ja(W,a),rl(D)&&(up(u,a,D),cf(u,D,a)),null!=r&&pp(a,D),ug}function hg(){let t=jt();const o=J();return Fi()?_i():(t=t.parent,ko(t,!1)),o.firstCreatePass&&(lu(o,t),Ta(t)&&o.queries.elementEnd(t)),hg}function fv(t,o,r){return ug(t,o,r),hg(),fv}let EC=(t,o,r,a)=>(Pl(!0),lp(o[ar],""));function wC(){return T()}const iu=void 0;var EO=["en",[["a","p"],["AM","PM"],iu],[["AM","PM"],iu,iu],[["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"]],iu,[["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"]],iu,[["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}",iu,"{1} 'at' {0}",iu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function CO(t){const r=Math.floor(Math.abs(t)),a=t.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===a?1:5}];let rh={};function wO(t,o,r){"string"!=typeof o&&(r=o,o=t[sh.LocaleId]),o=o.toLowerCase().replace(/_/g,"-"),rh[o]=t,r&&(rh[o][sh.ExtraData]=r)}function gv(t){const o=function MO(t){return t.toLowerCase().replace(/_/g,"-")}(t);let r=OC(o);if(r)return r;const a=o.split("-")[0];if(r=OC(a),r)return r;if("en"===a)return EO;throw new vn(701,!1)}function DC(t){return gv(t)[sh.PluralCase]}function OC(t){return t in rh||(rh[t]=Gi.ng&&Gi.ng.common&&Gi.ng.common.locales&&Gi.ng.common.locales[t]),rh[t]}var sh=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}(sh||{});const pg="en-US";let TC=pg,YC=(t,o,r)=>{};function vv(t,o,r,a){const u=T(),v=J(),D=jt();return kv(v,u,u[ar],D,t,o,a),vv}function kv(t,o,r,a,u,v,D){const W=rl(a),Se=t.firstCreatePass&&_l(t),it=o[qr],Tt=Sa(o);let Sn=!0;if(3&a.type||D){const jo=V(a,o),mi=D?D(jo):jo,xi=Tt.length,Yo=D?Fs=>D(Fo(Fs[a.index])):a.index;let Tr=null;if(!D&&W&&(Tr=function mT(t,o,r,a){const u=t.cleanup;if(null!=u)for(let v=0;vee?W[ee]:null}"string"==typeof D&&(v+=2)}return null}(t,o,u,a.index)),null!==Tr)(Tr.__ngLastListenerFn__||Tr).__ngNextListenerFn__=v,Tr.__ngLastListenerFn__=v,Sn=!1;else{v=JC(a,o,it,v),YC(jo,u,v);const Fs=r.listen(mi,u,v);Tt.push(v,Fs),Se&&Se.push(u,Yo,xi,xi+1)}}else v=JC(a,o,it,v);const Ln=a.outputs;let ho;if(Sn&&null!==Ln&&(ho=Ln[u])){const jo=ho.length;if(jo)for(let mi=0;mi0;)o=o[Oe],t--;return o}(t,G.lFrame.contextLView))[qr]}(t)}function fT(t,o){let r=null;const a=function Ff(t){const o=t.attrs;if(null!=o){const r=o.indexOf(5);if(!(1&r))return o[r+1]}return null}(t);for(let u=0;u(Pl(!0),function Df(t,o){return t.createText(o)}(o[ar],a));function Cv(t){return yg("",t,""),Cv}function yg(t,o,r){const a=T(),u=Qu(a,t,o,r);return u!==Gr&&Ic(a,es(),u),yg}function Ev(t,o,r,a,u){const v=T(),D=Zu(v,t,o,r,a,u);return D!==Gr&&Ic(v,es(),D),Ev}function wv(t,o,r,a,u,v,D,W,ee,Se,it,Tt,Sn,Ln,ho,jo,mi){const xi=T(),Yo=function oh(t,o,r,a,u,v,D,W,ee,Se,it,Tt,Sn,Ln,ho,jo,mi,xi){const Yo=Sr();let Tr=Hl(t,Yo,r,u,D,ee);return Tr=Hl(t,Yo+4,it,Sn,ho,mi)||Tr,Ns(8),Tr?o+Dt(r)+a+Dt(u)+v+Dt(D)+W+Dt(ee)+Se+Dt(it)+Tt+Dt(Sn)+Ln+Dt(ho)+jo+Dt(mi)+xi:Gr}(xi,t,o,r,a,u,v,D,W,ee,Se,it,Tt,Sn,Ln,ho,jo,mi);return Yo!==Gr&&Ic(xi,es(),Yo),wv}function Mv(t){const o=T(),r=function Xu(t,o){let r=!1,a=Sr();for(let v=1;v>20;if(Ue(t)||!t.multi){const Ln=new _c(Se,u,Hu),ho=Pv(ee,o,u?it:it+Sn,Tt);-1===ho?(ac(Ia(W,D),v,ee),Tv(v,t,o.length),o.push(ee),W.directiveStart++,W.directiveEnd++,u&&(W.providerIndexes+=1048576),r.push(Ln),D.push(Ln)):(r[ho]=Ln,D[ho]=Ln)}else{const Ln=Pv(ee,o,it+Sn,Tt),ho=Pv(ee,o,it,it+Sn),mi=ho>=0&&r[ho];if(u&&!mi||!u&&!(Ln>=0&&r[Ln])){ac(Ia(W,D),v,ee);const xi=function jT(t,o,r,a,u){const v=new _c(t,r,Hu);return v.multi=[],v.index=o,v.componentProviders=0,AE(v,u,a&&!r),v}(u?LT:RT,r.length,u,a,Se);!u&&mi&&(r[ho].providerFactory=xi),Tv(v,t,o.length,0),o.push(ee),W.directiveStart++,W.directiveEnd++,u&&(W.providerIndexes+=1048576),r.push(xi),D.push(xi)}else Tv(v,t,Ln>-1?Ln:ho,AE(r[u?ho:Ln],Se,!u&&a));!u&&a&&mi&&r[ho].componentProviders++}}}function Tv(t,o,r,a){const u=Ue(o),v=function Pn(t){return!!t.useClass}(o);if(u||v){const ee=(v?dn(o.useClass):o).prototype.ngOnDestroy;if(ee){const Se=t.destroyHooks||(t.destroyHooks=[]);if(!u&&o.multi){const it=Se.indexOf(r);-1===it?Se.push(r,[a,ee]):Se[it+1].push(a,ee)}else Se.push(r,ee)}}}function AE(t,o,r){return r&&t.componentProviders++,t.multi.push(o)-1}function Pv(t,o,r,a){for(let u=r;u{r.providersResolver=(a,u)=>function AT(t,o,r){const a=J();if(a.firstCreatePass){const u=ca(t);Ov(r,a.data,a.blueprint,u,!0),Ov(o,a.data,a.blueprint,u,!1)}}(a,u?u(t):t,o)}}function jE(t,o,r){const a=$r()+t,u=T();return u[a]===Gr?fc(u,a,r?o.call(r):o()):function Sp(t,o){return t[o]}(u,a)}function BE(t,o,r,a){return UE(T(),$r(),t,o,r,a)}function $E(t,o,r,a,u){return VE(T(),$r(),t,o,r,a,u)}function NE(t,o,r,a,u,v){return WE(T(),$r(),t,o,r,a,u,v)}function zE(t,o,r,a,u,v,D){return function HE(t,o,r,a,u,v,D,W,ee){const Se=o+r;return Hl(t,Se,u,v,D,W)?fc(t,Se+4,ee?a.call(ee,u,v,D,W):a(u,v,D,W)):Vp(t,Se+4)}(T(),$r(),t,o,r,a,u,v,D)}function Vp(t,o){const r=t[o];return r===Gr?void 0:r}function UE(t,o,r,a,u,v){const D=o+r;return Da(t,D,u)?fc(t,D+1,v?a.call(v,u):a(u)):Vp(t,D+1)}function VE(t,o,r,a,u,v,D){const W=o+r;return tu(t,W,u,v)?fc(t,W+2,D?a.call(D,u,v):a(u,v)):Vp(t,W+2)}function WE(t,o,r,a,u,v,D,W){const ee=o+r;return function tg(t,o,r,a,u){const v=tu(t,o,r,a);return Da(t,o+2,u)||v}(t,ee,u,v,D)?fc(t,ee+3,W?a.call(W,u,v,D):a(u,v,D)):Vp(t,ee+3)}function KE(t,o){const r=J();let a;const u=t+ii;r.firstCreatePass?(a=function GT(t,o){if(o)for(let r=o.length-1;r>=0;r--){const a=o[r];if(t===a.name)return a}}(o,r.pipeRegistry),r.data[u]=a,a.onDestroy&&(r.destroyHooks??=[]).push(u,a.onDestroy)):a=r.data[u];const v=a.factory||(a.factory=li(a.type)),W=ti(Hu);try{const ee=Hn(!1),Se=v();return Hn(ee),function xv(t,o,r,a){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),o[r]=a}(r,T(),u,Se),Se}finally{ti(W)}}function YE(t,o,r){const a=t+ii,u=T(),v=bt(u,a);return Wp(u,a)?UE(u,$r(),o,v.transform,r,v):v.transform(r)}function XE(t,o,r,a){const u=t+ii,v=T(),D=bt(v,u);return Wp(v,u)?VE(v,$r(),o,D.transform,r,a,D):D.transform(r,a)}function QE(t,o,r,a,u){const v=t+ii,D=T(),W=bt(D,v);return Wp(D,v)?WE(D,$r(),o,W.transform,r,a,u,W):W.transform(r,a,u)}function Wp(t,o){return t[Zo].data[o].pure}function ZE(t,o){return Vf(t,o)}class pw{full;major;minor;patch;constructor(o){this.full=o;const r=o.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}}class xP{ngModuleFactory;componentFactories;constructor(o,r){this.ngModuleFactory=o,this.componentFactories=r}}let CP=(()=>{class t{compileModuleSync(r){return new jy(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const a=this.compileModuleSync(r),v=wl(Gt(r).declarations).reduce((D,W)=>{const ee=Jt(W);return ee&&D.push(new Tp(ee)),D},[]);return new xP(a,v)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static \u0275fac=function(a){return new(a||t)};static \u0275prov=Qi({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),MP=(()=>{class t{zone=nn(na);changeDetectionScheduler=nn(Xl);applicationRef=nn(Al);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(a){return new(a||t)};static \u0275prov=Qi({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jv({ngZoneFactory:t,ignoreChangesOutsideZone:o,scheduleInRootZone:r}){return t??=()=>new na({...Bv(),scheduleInRootZone:r}),[{provide:na,useFactory:t},{provide:Ye,multi:!0,useFactory:()=>{const a=nn(MP,{optional:!0});return()=>a.initialize()}},{provide:Ye,multi:!0,useFactory:()=>{const a=nn(DP);return()=>{a.initialize()}}},!0===o?{provide:dm,useValue:!0}:[],{provide:bh,useValue:r??lm}]}function Bv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let DP=(()=>{class t{subscription=new Qt.yU;initialized=!1;zone=nn(na);pendingTasks=nn(Sl);initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{na.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{na.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(a){return new(a||t)};static \u0275prov=Qi({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gp=(()=>{class t{appRef=nn(Al);taskService=nn(Sl);ngZone=nn(na);zonelessEnabled=nn(fu);tracing=nn(Zc,{optional:!0});disableScheduling=nn(dm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Qt.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(nn(bh,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof vh||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&5===r)return;let a=!1;switch(r){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,a=!0;break;case 13:this.appRef.dirtyFlags|=16,a=!0;break;case 12:a=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(a))return;const u=this.useMicrotaskScheduler?Gg:um;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>u(()=>this.tick())):this.ngZone.runOutsideAngular(()=>u(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(gu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(a){throw this.taskService.remove(r),a}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Gg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=Qi({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Nv=new Si("",{providedIn:"root",factory:()=>nn(Nv,Ao.Optional|Ao.SkipSelf)||function OP(){return typeof $localize<"u"&&$localize.locale||pg}()}),TP=new Si("",{providedIn:"root",factory:()=>"USD"}),xg=new Si(""),RP=new Si("");function Kp(t){return!t.moduleRef}let bd=null;function zP(){}let Ew=(()=>class t{static __NG_ELEMENT_ID__=UP})();function UP(t){return function VP(t,o,r){if(Xs(t)&&!r){const a=$t(t.index,o);return new bp(a,a)}return 175&t.type?new bp(o[Ze],o):null}(jt(),T(),!(16&~t))}class Dw{constructor(){}supports(o){return eg(o)}create(o){return new YP(o)}}const KP=(t,o)=>o;class YP{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(o){this._trackByFn=o||KP}forEachItem(o){let r;for(r=this._itHead;null!==r;r=r._next)o(r)}forEachOperation(o){let r=this._itHead,a=this._removalsHead,u=0,v=null;for(;r||a;){const D=!a||r&&r.currentIndex{D=this._trackByFn(u,W),null!==r&&Object.is(r.trackById,D)?(a&&(r=this._verifyReinsertion(r,W,D,u)),Object.is(r.item,W)||this._addIdentityChange(r,W)):(r=this._mismatch(r,W,D,u),a=!0),r=r._next,u++}),this.length=u;return this._truncate(r),this.collection=o,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let o;for(o=this._previousItHead=this._itHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._additionsHead;null!==o;o=o._nextAdded)o.previousIndex=o.currentIndex;for(this._additionsHead=this._additionsTail=null,o=this._movesHead;null!==o;o=o._nextMoved)o.previousIndex=o.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(o,r,a,u){let v;return null===o?v=this._itTail:(v=o._prev,this._remove(o)),null!==(o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(o.item,r)||this._addIdentityChange(o,r),this._reinsertAfter(o,v,u)):null!==(o=null===this._linkedRecords?null:this._linkedRecords.get(a,u))?(Object.is(o.item,r)||this._addIdentityChange(o,r),this._moveAfter(o,v,u)):o=this._addAfter(new XP(r,a),v,u),o}_verifyReinsertion(o,r,a,u){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==v?o=this._reinsertAfter(v,o._prev,u):o.currentIndex!=u&&(o.currentIndex=u,this._addToMoves(o,u)),o}_truncate(o){for(;null!==o;){const r=o._next;this._addToRemovals(this._unlink(o)),o=r}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(o,r,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(o);const u=o._prevRemoved,v=o._nextRemoved;return null===u?this._removalsHead=v:u._nextRemoved=v,null===v?this._removalsTail=u:v._prevRemoved=u,this._insertAfter(o,r,a),this._addToMoves(o,a),o}_moveAfter(o,r,a){return this._unlink(o),this._insertAfter(o,r,a),this._addToMoves(o,a),o}_addAfter(o,r,a){return this._insertAfter(o,r,a),this._additionsTail=null===this._additionsTail?this._additionsHead=o:this._additionsTail._nextAdded=o,o}_insertAfter(o,r,a){const u=null===r?this._itHead:r._next;return o._next=u,o._prev=r,null===u?this._itTail=o:u._prev=o,null===r?this._itHead=o:r._next=o,null===this._linkedRecords&&(this._linkedRecords=new Ow),this._linkedRecords.put(o),o.currentIndex=a,o}_remove(o){return this._addToRemovals(this._unlink(o))}_unlink(o){null!==this._linkedRecords&&this._linkedRecords.remove(o);const r=o._prev,a=o._next;return null===r?this._itHead=a:r._next=a,null===a?this._itTail=r:a._prev=r,o}_addToMoves(o,r){return o.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=o:this._movesTail._nextMoved=o),o}_addToRemovals(o){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ow),this._unlinkedRecords.put(o),o.currentIndex=null,o._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=o,o._prevRemoved=null):(o._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=o),o}_addIdentityChange(o,r){return o.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=o:this._identityChangesTail._nextIdentityChange=o,o}}class XP{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(o,r){this.item=o,this.trackById=r}}class QP{_head=null;_tail=null;add(o){null===this._head?(this._head=this._tail=o,o._nextDup=null,o._prevDup=null):(this._tail._nextDup=o,o._prevDup=this._tail,o._nextDup=null,this._tail=o)}get(o,r){let a;for(a=this._head;null!==a;a=a._nextDup)if((null===r||r<=a.currentIndex)&&Object.is(a.trackById,o))return a;return null}remove(o){const r=o._prevDup,a=o._nextDup;return null===r?this._head=a:r._nextDup=a,null===a?this._tail=r:a._prevDup=r,null===this._head}}class Ow{map=new Map;put(o){const r=o.trackById;let a=this.map.get(r);a||(a=new QP,this.map.set(r,a)),a.add(o)}get(o,r){const u=this.map.get(o);return u?u.get(o,r):null}remove(o){const r=o.trackById;return this.map.get(r).remove(o)&&this.map.delete(r),o}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Tw(t,o,r){const a=t.previousIndex;if(null===a)return a;let u=0;return r&&a{if(r&&r.key===u)this._maybeAddToChanges(r,a),this._appendAfter=r,r=r._next;else{const v=this._getOrCreateRecordForKey(u,a);r=this._insertBeforeOrAppend(r,v)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let a=r;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(o,r){if(o){const a=o._prev;return r._next=o,r._prev=a,o._prev=r,a&&(a._next=r),o===this._mapHead&&(this._mapHead=r),this._appendAfter=o,o}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(o,r){if(this._records.has(o)){const u=this._records.get(o);this._maybeAddToChanges(u,r);const v=u._prev,D=u._next;return v&&(v._next=D),D&&(D._prev=v),u._next=null,u._prev=null,u}const a=new JP(o);return this._records.set(o,a),a.currentValue=r,this._addToAdditions(a),a}_reset(){if(this.isDirty){let o;for(this._previousMapHead=this._mapHead,o=this._previousMapHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._changesHead;null!==o;o=o._nextChanged)o.previousValue=o.currentValue;for(o=this._additionsHead;null!=o;o=o._nextAdded)o.previousValue=o.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(o,r){Object.is(r,o.currentValue)||(o.previousValue=o.currentValue,o.currentValue=r,this._addToChanges(o))}_addToAdditions(o){null===this._additionsHead?this._additionsHead=this._additionsTail=o:(this._additionsTail._nextAdded=o,this._additionsTail=o)}_addToChanges(o){null===this._changesHead?this._changesHead=this._changesTail=o:(this._changesTail._nextChanged=o,this._changesTail=o)}_forEach(o,r){o instanceof Map?o.forEach(r):Object.keys(o).forEach(a=>r(o[a],a))}}class JP{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(o){this.key=o}}function Sw(){return new Gv([new Dw])}let Gv=(()=>{class t{factories;static \u0275prov=Qi({token:t,providedIn:"root",factory:Sw});constructor(r){this.factories=r}static create(r,a){if(null!=a){const u=a.factories.slice();r=r.concat(u)}return new t(r)}static extend(r){return{provide:t,useFactory:a=>t.create(r,a||Sw()),deps:[[t,new Qo,new ai]]}}find(r){const a=this.factories.find(u=>u.supports(r));if(null!=a)return a;throw new vn(901,!1)}}return t})();function Iw(){return new Kv([new Pw])}let Kv=(()=>{class t{static \u0275prov=Qi({token:t,providedIn:"root",factory:Iw});factories;constructor(r){this.factories=r}static create(r,a){if(a){const u=a.factories.slice();r=r.concat(u)}return new t(r)}static extend(r){return{provide:t,useFactory:a=>t.create(r,a||Iw()),deps:[[t,new Qo,new ai]]}}find(r){const a=this.factories.find(u=>u.supports(r));if(a)return a;throw new vn(901,!1)}}return t})(),tS=(()=>{class t{constructor(r){}static \u0275fac=function(a){return new(a||t)(Yt(Al))};static \u0275mod=$y({type:t});static \u0275inj=en({})}return t})();function pS(t){try{const{rootComponent:o,appProviders:r,platformProviders:a}=t,u=function NP(t=[]){if(bd)return bd;const o=function _w(t=[],o){return Aa.create({name:o,providers:[{provide:ao,useValue:"platform"},{provide:xg,useValue:new Set([()=>bd=null])},...t]})}(t);return bd=o,function Ux(){!function At(t){Pt=t}(()=>{throw new vn(600,!1)})}(),function xw(t){const o=t.get(ku,null);Do(t,()=>{o?.forEach(r=>r())})}(o),o}(a),v=[jv({}),{provide:Xl,useExisting:Gp},...r||[]];return function yw(t){const o=Kp(t)?t.r3Injector:t.moduleRef.injector,r=o.get(na);return r.run(()=>{Kp(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const a=o.get(Ba,null);let u;if(r.runOutsideAngular(()=>{u=r.onError.subscribe({next:v=>{a.handleError(v)}})}),Kp(t)){const v=()=>o.destroy(),D=t.platformInjector.get(xg);D.add(v),o.onDestroy(()=>{u.unsubscribe(),D.delete(v)})}else{const v=()=>t.moduleRef.destroy(),D=t.platformInjector.get(xg);D.add(v),t.moduleRef.onDestroy(()=>{rg(t.allPlatformModules,t.moduleRef),u.unsubscribe(),D.delete(v)})}return function jP(t,o,r){try{const a=r();return Qy(a)?a.catch(u=>{throw o.runOutsideAngular(()=>t.handleError(u)),u}):a}catch(a){throw o.runOutsideAngular(()=>t.handleError(a)),a}}(a,r,()=>{const v=o.get(Nx);return v.runInitializers(),v.donePromise.then(()=>{if(function TO(t){"string"==typeof t&&(TC=t.toLowerCase().replace(/_/g,"-"))}(o.get(Nv,pg)||pg),!o.get(RP,!0))return Kp(t)?o.get(Al):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Kp(t)){const ee=o.get(Al);return void 0!==t.rootComponent&&ee.bootstrap(t.rootComponent),ee}return function LP(t,o){const r=t.injector.get(Al);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(a=>r.bootstrap(a));else{if(!t.instance.ngDoBootstrap)throw new vn(-403,!1);t.instance.ngDoBootstrap(r)}o.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}({r3Injector:new ax({providers:v,parent:u,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:u,rootComponent:o})}catch(o){return Promise.reject(o)}}function LS(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function ch(t,o){oa("NgSignals");const r=function sn(t){const o=Object.create(e);o.computation=t;const r=()=>{if(K(o),R(o),o.value===Xe)throw o.error;return o.value};return r[x]=o,r}(t);return o?.equal&&(r[x].equal=o.equal),r}function yd(t){const o=_(null);try{return t()}finally{_(o)}}function rI(t,o){const r=Jt(t),a=o.elementInjector||Di();return new Tp(r).create(a,o.projectableNodes,o.hostElement,o.environmentInjector)}function sI(t){const o=Jt(t);if(!o)return null;const r=new Tp(o);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return o.standalone},get isSignal(){return o.signals}}}},84341:(ft,Z,l)=>{"use strict";l.d(Z,{me:()=>ke,ok:()=>nt,MJ:()=>Or,JD:()=>yo,j4:()=>rt,YN:()=>Mn,kq:()=>he,vO:()=>Qt,BC:()=>vn,cb:()=>hn,vS:()=>eo,xH:()=>Ko,X1:()=>Xt,YS:()=>se,hs:()=>Rt,J3:()=>ei,k0:()=>et,qT:()=>fi,y7:()=>Mi});var n=l(54438),i=l(60177),f=l(86648),g=l(71985),s=l(93073),x=l(58750),_=l(9326),y=l(54360),w=l(6450),M=l(58496),R=l(21413),H=l(96354);let K=(()=>{class ve{_renderer;_elementRef;onChange=Y=>{};onTouched=()=>{};constructor(Y,Pe){this._renderer=Y,this._elementRef=Pe}setProperty(Y,Pe){this._renderer.setProperty(this._elementRef.nativeElement,Y,Pe)}registerOnTouched(Y){this.onTouched=Y}registerOnChange(Y){this.onChange=Y}setDisabledState(Y){this.setProperty("disabled",Y)}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(n.sFG),n.rXU(n.aKT))};static \u0275dir=n.FsC({type:ve})}return ve})(),L=(()=>{class ve extends K{static \u0275fac=(()=>{let Y;return function(Ue){return(Y||(Y=n.xGo(ve)))(Ue||ve)}})();static \u0275dir=n.FsC({type:ve,features:[n.Vt3]})}return ve})();const he=new n.nKC(""),Le={provide:he,useExisting:(0,n.Rfq)(()=>ke),multi:!0},je=new n.nKC("");let ke=(()=>{class ve extends K{_compositionMode;_composing=!1;constructor(Y,Pe,Ue){super(Y,Pe),this._compositionMode=Ue,null==this._compositionMode&&(this._compositionMode=!function ye(){const ve=(0,i.QT)()?(0,i.QT)().getUserAgent():"";return/android (\d+)/.test(ve.toLowerCase())}())}writeValue(Y){this.setProperty("value",Y??"")}_handleInput(Y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Y)}_compositionStart(){this._composing=!0}_compositionEnd(Y){this._composing=!1,this._compositionMode&&this.onChange(Y)}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(je,8))};static \u0275dir=n.FsC({type:ve,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(Pe,Ue){1&Pe&&n.bIt("input",function(ao){return Ue._handleInput(ao.target.value)})("blur",function(){return Ue.onTouched()})("compositionstart",function(){return Ue._compositionStart()})("compositionend",function(ao){return Ue._compositionEnd(ao.target.value)})},standalone:!1,features:[n.Jv_([Le]),n.Vt3]})}return ve})();function De(ve){return null==ve||("string"==typeof ve||Array.isArray(ve))&&0===ve.length}function Je(ve){return null!=ve&&"number"==typeof ve.length}const lt=new n.nKC(""),Mt=new n.nKC(""),Bt=/^(?=.{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 et{static min(Fe){return function sn(ve){return Fe=>{if(De(Fe.value)||De(ve))return null;const Y=parseFloat(Fe.value);return!isNaN(Y)&&Y{if(De(Fe.value)||De(ve))return null;const Y=parseFloat(Fe.value);return!isNaN(Y)&&Y>ve?{max:{max:ve,actual:Fe.value}}:null}}(Fe)}static required(Fe){return Ct(Fe)}static requiredTrue(Fe){return function Xe(ve){return!0===ve.value?null:{required:!0}}(Fe)}static email(Fe){return function e(ve){return De(ve.value)||Bt.test(ve.value)?null:{email:!0}}(Fe)}static minLength(Fe){return function On(ve){return Fe=>De(Fe.value)||!Je(Fe.value)?null:Fe.value.lengthJe(Fe.value)&&Fe.value.length>ve?{maxlength:{requiredLength:ve,actualLength:Fe.value.length}}:null}(Fe)}static pattern(Fe){return function wt(ve){if(!ve)return At;let Fe,Y;return"string"==typeof ve?(Y="","^"!==ve.charAt(0)&&(Y+="^"),Y+=ve,"$"!==ve.charAt(ve.length-1)&&(Y+="$"),Fe=new RegExp(Y)):(Y=ve.toString(),Fe=ve),Pe=>{if(De(Pe.value))return null;const Ue=Pe.value;return Fe.test(Ue)?null:{pattern:{requiredPattern:Y,actualValue:Ue}}}}(Fe)}static nullValidator(Fe){return null}static compose(Fe){return jn(Fe)}static composeAsync(Fe){return pt(Fe)}}function Ct(ve){return De(ve.value)?{required:!0}:null}function At(ve){return null}function we(ve){return null!=ve}function Ot(ve){return(0,n.jNT)(ve)?(0,f.H)(ve):ve}function It(ve){let Fe={};return ve.forEach(Y=>{Fe=null!=Y?{...Fe,...Y}:Fe}),0===Object.keys(Fe).length?null:Fe}function tn(ve,Fe){return Fe.map(Y=>Y(ve))}function En(ve){return ve.map(Fe=>function fn(ve){return!ve.validate}(Fe)?Fe:Y=>Fe.validate(Y))}function jn(ve){if(!ve)return null;const Fe=ve.filter(we);return 0==Fe.length?null:function(Y){return It(tn(Y,Fe))}}function So(ve){return null!=ve?jn(En(ve)):null}function pt(ve){if(!ve)return null;const Fe=ve.filter(we);return 0==Fe.length?null:function(Y){return function I(...ve){const Fe=(0,_.ms)(ve),{args:Y,keys:Pe}=(0,s.D)(ve),Ue=new g.c(Pn=>{const{length:ao}=Y;if(!ao)return void Pn.complete();const ro=new Array(ao);let Bo=ao,Mo=ao;for(let Di=0;Di{Pi||(Pi=!0,Mo--),ro[Di]=Dr},()=>Bo--,void 0,()=>{(!Bo||!Pi)&&(Mo||Pn.next(Pe?(0,M.e)(Pe,ro):ro),Pn.complete())}))}});return Fe?Ue.pipe((0,w.I)(Fe)):Ue}(tn(Y,Fe).map(Ot)).pipe((0,H.T)(It))}}function Nt(ve){return null!=ve?pt(En(ve)):null}function Vt(ve,Fe){return null===ve?[Fe]:Array.isArray(ve)?[...ve,Fe]:[ve,Fe]}function cn(ve){return ve._rawValidators}function Fn(ve){return ve._rawAsyncValidators}function pn(ve){return ve?Array.isArray(ve)?ve:[ve]:[]}function Un(ve,Fe){return Array.isArray(ve)?ve.includes(Fe):ve===Fe}function Zn(ve,Fe){const Y=pn(Fe);return pn(ve).forEach(Ue=>{Un(Y,Ue)||Y.push(Ue)}),Y}function Bn(ve,Fe){return pn(Fe).filter(Y=>!Un(ve,Y))}class _n{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(Fe){this._rawValidators=Fe||[],this._composedValidatorFn=So(this._rawValidators)}_setAsyncValidators(Fe){this._rawAsyncValidators=Fe||[],this._composedAsyncValidatorFn=Nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(Fe){this._onDestroyCallbacks.push(Fe)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Fe=>Fe()),this._onDestroyCallbacks=[]}reset(Fe=void 0){this.control&&this.control.reset(Fe)}hasError(Fe,Y){return!!this.control&&this.control.hasError(Fe,Y)}getError(Fe,Y){return this.control?this.control.getError(Fe,Y):null}}class Cn extends _n{name;get formDirective(){return null}get path(){return null}}class Qt extends _n{_parent=null;name=null;valueAccessor=null}class Nn{_cd;constructor(Fe){this._cd=Fe}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let vn=(()=>{class ve extends Nn{constructor(Y){super(Y)}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(Qt,2))};static \u0275dir=n.FsC({type:ve,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Pe,Ue){2&Pe&&n.AVh("ng-untouched",Ue.isUntouched)("ng-touched",Ue.isTouched)("ng-pristine",Ue.isPristine)("ng-dirty",Ue.isDirty)("ng-valid",Ue.isValid)("ng-invalid",Ue.isInvalid)("ng-pending",Ue.isPending)},standalone:!1,features:[n.Vt3]})}return ve})(),hn=(()=>{class ve extends Nn{constructor(Y){super(Y)}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(Cn,10))};static \u0275dir=n.FsC({type:ve,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Pe,Ue){2&Pe&&n.AVh("ng-untouched",Ue.isUntouched)("ng-touched",Ue.isTouched)("ng-pristine",Ue.isPristine)("ng-dirty",Ue.isDirty)("ng-valid",Ue.isValid)("ng-invalid",Ue.isInvalid)("ng-pending",Ue.isPending)("ng-submitted",Ue.isSubmitted)},standalone:!1,features:[n.Vt3]})}return ve})();const at="VALID",Ft="INVALID",In="PENDING",fo="DISABLED";class wn{}class dn extends wn{value;source;constructor(Fe,Y){super(),this.value=Fe,this.source=Y}}class $e extends wn{pristine;source;constructor(Fe,Y){super(),this.pristine=Fe,this.source=Y}}class We extends wn{touched;source;constructor(Fe,Y){super(),this.touched=Fe,this.source=Y}}class ot extends wn{status;source;constructor(Fe,Y){super(),this.status=Fe,this.source=Y}}class Wt extends wn{source;constructor(Fe){super(),this.source=Fe}}class Dn extends wn{source;constructor(Fe){super(),this.source=Fe}}function to(ve){return(Gn(ve)?ve.validators:ve)||null}function Oo(ve,Fe){return(Gn(Fe)?Fe.asyncValidators:ve)||null}function Gn(ve){return null!=ve&&!Array.isArray(ve)&&"object"==typeof ve}function go(ve,Fe,Y){const Pe=ve.controls;if(!(Fe?Object.keys(Pe):Pe).length)throw new n.wOt(1e3,"");if(!Pe[Y])throw new n.wOt(1001,"")}function Vo(ve,Fe,Y){ve._forEachChild((Pe,Ue)=>{if(void 0===Y[Ue])throw new n.wOt(1002,"")})}class yi{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(Fe,Y){this._assignValidators(Fe),this._assignAsyncValidators(Y)}get validator(){return this._composedValidatorFn}set validator(Fe){this._rawValidators=this._composedValidatorFn=Fe}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Fe){this._rawAsyncValidators=this._composedAsyncValidatorFn=Fe}get parent(){return this._parent}get status(){return(0,n.O8t)(this.statusReactive)}set status(Fe){(0,n.O8t)(()=>this.statusReactive.set(Fe))}_status=(0,n.EWP)(()=>this.statusReactive());statusReactive=(0,n.vPA)(void 0);get valid(){return this.status===at}get invalid(){return this.status===Ft}get pending(){return this.status==In}get disabled(){return this.status===fo}get enabled(){return this.status!==fo}errors;get pristine(){return(0,n.O8t)(this.pristineReactive)}set pristine(Fe){(0,n.O8t)(()=>this.pristineReactive.set(Fe))}_pristine=(0,n.EWP)(()=>this.pristineReactive());pristineReactive=(0,n.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,n.O8t)(this.touchedReactive)}set touched(Fe){(0,n.O8t)(()=>this.touchedReactive.set(Fe))}_touched=(0,n.EWP)(()=>this.touchedReactive());touchedReactive=(0,n.vPA)(!1);get untouched(){return!this.touched}_events=new R.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Fe){this._assignValidators(Fe)}setAsyncValidators(Fe){this._assignAsyncValidators(Fe)}addValidators(Fe){this.setValidators(Zn(Fe,this._rawValidators))}addAsyncValidators(Fe){this.setAsyncValidators(Zn(Fe,this._rawAsyncValidators))}removeValidators(Fe){this.setValidators(Bn(Fe,this._rawValidators))}removeAsyncValidators(Fe){this.setAsyncValidators(Bn(Fe,this._rawAsyncValidators))}hasValidator(Fe){return Un(this._rawValidators,Fe)}hasAsyncValidator(Fe){return Un(this._rawAsyncValidators,Fe)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Fe={}){const Y=!1===this.touched;this.touched=!0;const Pe=Fe.sourceControl??this;this._parent&&!Fe.onlySelf&&this._parent.markAsTouched({...Fe,sourceControl:Pe}),Y&&!1!==Fe.emitEvent&&this._events.next(new We(!0,Pe))}markAllAsTouched(Fe={}){this.markAsTouched({onlySelf:!0,emitEvent:Fe.emitEvent,sourceControl:this}),this._forEachChild(Y=>Y.markAllAsTouched(Fe))}markAsUntouched(Fe={}){const Y=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Pe=Fe.sourceControl??this;this._forEachChild(Ue=>{Ue.markAsUntouched({onlySelf:!0,emitEvent:Fe.emitEvent,sourceControl:Pe})}),this._parent&&!Fe.onlySelf&&this._parent._updateTouched(Fe,Pe),Y&&!1!==Fe.emitEvent&&this._events.next(new We(!1,Pe))}markAsDirty(Fe={}){const Y=!0===this.pristine;this.pristine=!1;const Pe=Fe.sourceControl??this;this._parent&&!Fe.onlySelf&&this._parent.markAsDirty({...Fe,sourceControl:Pe}),Y&&!1!==Fe.emitEvent&&this._events.next(new $e(!1,Pe))}markAsPristine(Fe={}){const Y=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Pe=Fe.sourceControl??this;this._forEachChild(Ue=>{Ue.markAsPristine({onlySelf:!0,emitEvent:Fe.emitEvent})}),this._parent&&!Fe.onlySelf&&this._parent._updatePristine(Fe,Pe),Y&&!1!==Fe.emitEvent&&this._events.next(new $e(!0,Pe))}markAsPending(Fe={}){this.status=In;const Y=Fe.sourceControl??this;!1!==Fe.emitEvent&&(this._events.next(new ot(this.status,Y)),this.statusChanges.emit(this.status)),this._parent&&!Fe.onlySelf&&this._parent.markAsPending({...Fe,sourceControl:Y})}disable(Fe={}){const Y=this._parentMarkedDirty(Fe.onlySelf);this.status=fo,this.errors=null,this._forEachChild(Ue=>{Ue.disable({...Fe,onlySelf:!0})}),this._updateValue();const Pe=Fe.sourceControl??this;!1!==Fe.emitEvent&&(this._events.next(new dn(this.value,Pe)),this._events.next(new ot(this.status,Pe)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Fe,skipPristineCheck:Y},this),this._onDisabledChange.forEach(Ue=>Ue(!0))}enable(Fe={}){const Y=this._parentMarkedDirty(Fe.onlySelf);this.status=at,this._forEachChild(Pe=>{Pe.enable({...Fe,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Fe.emitEvent}),this._updateAncestors({...Fe,skipPristineCheck:Y},this),this._onDisabledChange.forEach(Pe=>Pe(!1))}_updateAncestors(Fe,Y){this._parent&&!Fe.onlySelf&&(this._parent.updateValueAndValidity(Fe),Fe.skipPristineCheck||this._parent._updatePristine({},Y),this._parent._updateTouched({},Y))}setParent(Fe){this._parent=Fe}getRawValue(){return this.value}updateValueAndValidity(Fe={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Pe=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===at||this.status===In)&&this._runAsyncValidator(Pe,Fe.emitEvent)}const Y=Fe.sourceControl??this;!1!==Fe.emitEvent&&(this._events.next(new dn(this.value,Y)),this._events.next(new ot(this.status,Y)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Fe.onlySelf&&this._parent.updateValueAndValidity({...Fe,sourceControl:Y})}_updateTreeValidity(Fe={emitEvent:!0}){this._forEachChild(Y=>Y._updateTreeValidity(Fe)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Fe.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fo:at}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Fe,Y){if(this.asyncValidator){this.status=In,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Y};const Pe=Ot(this.asyncValidator(this));this._asyncValidationSubscription=Pe.subscribe(Ue=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Ue,{emitEvent:Y,shouldHaveEmitted:Fe})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const Fe=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,Fe}return!1}setErrors(Fe,Y={}){this.errors=Fe,this._updateControlsErrors(!1!==Y.emitEvent,this,Y.shouldHaveEmitted)}get(Fe){let Y=Fe;return null==Y||(Array.isArray(Y)||(Y=Y.split(".")),0===Y.length)?null:Y.reduce((Pe,Ue)=>Pe&&Pe._find(Ue),this)}getError(Fe,Y){const Pe=Y?this.get(Y):this;return Pe&&Pe.errors?Pe.errors[Fe]:null}hasError(Fe,Y){return!!this.getError(Fe,Y)}get root(){let Fe=this;for(;Fe._parent;)Fe=Fe._parent;return Fe}_updateControlsErrors(Fe,Y,Pe){this.status=this._calculateStatus(),Fe&&this.statusChanges.emit(this.status),(Fe||Pe)&&this._events.next(new ot(this.status,Y)),this._parent&&this._parent._updateControlsErrors(Fe,Y,Pe)}_initObservables(){this.valueChanges=new n.bkB,this.statusChanges=new n.bkB}_calculateStatus(){return this._allControlsDisabled()?fo:this.errors?Ft:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(In)?In:this._anyControlsHaveStatus(Ft)?Ft:at}_anyControlsHaveStatus(Fe){return this._anyControls(Y=>Y.status===Fe)}_anyControlsDirty(){return this._anyControls(Fe=>Fe.dirty)}_anyControlsTouched(){return this._anyControls(Fe=>Fe.touched)}_updatePristine(Fe,Y){const Pe=!this._anyControlsDirty(),Ue=this.pristine!==Pe;this.pristine=Pe,this._parent&&!Fe.onlySelf&&this._parent._updatePristine(Fe,Y),Ue&&this._events.next(new $e(this.pristine,Y))}_updateTouched(Fe={},Y){this.touched=this._anyControlsTouched(),this._events.next(new We(this.touched,Y)),this._parent&&!Fe.onlySelf&&this._parent._updateTouched(Fe,Y)}_onDisabledChange=[];_registerOnCollectionChange(Fe){this._onCollectionChange=Fe}_setUpdateStrategy(Fe){Gn(Fe)&&null!=Fe.updateOn&&(this._updateOn=Fe.updateOn)}_parentMarkedDirty(Fe){return!Fe&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Fe){return null}_assignValidators(Fe){this._rawValidators=Array.isArray(Fe)?Fe.slice():Fe,this._composedValidatorFn=function co(ve){return Array.isArray(ve)?So(ve):ve||null}(this._rawValidators)}_assignAsyncValidators(Fe){this._rawAsyncValidators=Array.isArray(Fe)?Fe.slice():Fe,this._composedAsyncValidatorFn=function ln(ve){return Array.isArray(ve)?Nt(ve):ve||null}(this._rawAsyncValidators)}}class ci extends yi{constructor(Fe,Y,Pe){super(to(Y),Oo(Pe,Y)),this.controls=Fe,this._initObservables(),this._setUpdateStrategy(Y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(Fe,Y){return this.controls[Fe]?this.controls[Fe]:(this.controls[Fe]=Y,Y.setParent(this),Y._registerOnCollectionChange(this._onCollectionChange),Y)}addControl(Fe,Y,Pe={}){this.registerControl(Fe,Y),this.updateValueAndValidity({emitEvent:Pe.emitEvent}),this._onCollectionChange()}removeControl(Fe,Y={}){this.controls[Fe]&&this.controls[Fe]._registerOnCollectionChange(()=>{}),delete this.controls[Fe],this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}setControl(Fe,Y,Pe={}){this.controls[Fe]&&this.controls[Fe]._registerOnCollectionChange(()=>{}),delete this.controls[Fe],Y&&this.registerControl(Fe,Y),this.updateValueAndValidity({emitEvent:Pe.emitEvent}),this._onCollectionChange()}contains(Fe){return this.controls.hasOwnProperty(Fe)&&this.controls[Fe].enabled}setValue(Fe,Y={}){Vo(this,0,Fe),Object.keys(Fe).forEach(Pe=>{go(this,!0,Pe),this.controls[Pe].setValue(Fe[Pe],{onlySelf:!0,emitEvent:Y.emitEvent})}),this.updateValueAndValidity(Y)}patchValue(Fe,Y={}){null!=Fe&&(Object.keys(Fe).forEach(Pe=>{const Ue=this.controls[Pe];Ue&&Ue.patchValue(Fe[Pe],{onlySelf:!0,emitEvent:Y.emitEvent})}),this.updateValueAndValidity(Y))}reset(Fe={},Y={}){this._forEachChild((Pe,Ue)=>{Pe.reset(Fe?Fe[Ue]:null,{onlySelf:!0,emitEvent:Y.emitEvent})}),this._updatePristine(Y,this),this._updateTouched(Y,this),this.updateValueAndValidity(Y)}getRawValue(){return this._reduceChildren({},(Fe,Y,Pe)=>(Fe[Pe]=Y.getRawValue(),Fe))}_syncPendingControls(){let Fe=this._reduceChildren(!1,(Y,Pe)=>!!Pe._syncPendingControls()||Y);return Fe&&this.updateValueAndValidity({onlySelf:!0}),Fe}_forEachChild(Fe){Object.keys(this.controls).forEach(Y=>{const Pe=this.controls[Y];Pe&&Fe(Pe,Y)})}_setUpControls(){this._forEachChild(Fe=>{Fe.setParent(this),Fe._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Fe){for(const[Y,Pe]of Object.entries(this.controls))if(this.contains(Y)&&Fe(Pe))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Y,Pe,Ue)=>((Pe.enabled||this.disabled)&&(Y[Ue]=Pe.value),Y))}_reduceChildren(Fe,Y){let Pe=Fe;return this._forEachChild((Ue,Pn)=>{Pe=Y(Pe,Ue,Pn)}),Pe}_allControlsDisabled(){for(const Fe of Object.keys(this.controls))if(this.controls[Fe].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Fe){return this.controls.hasOwnProperty(Fe)?this.controls[Fe]:null}}const ei=ci;class Lr extends ci{}const Fr=new n.nKC("",{providedIn:"root",factory:()=>wr}),wr="always";function Qi(ve,Fe){return[...Fe.path,ve]}function is(ve,Fe,Y=wr){Ci(ve,Fe),Fe.valueAccessor.writeValue(ve.value),(ve.disabled||"always"===Y)&&Fe.valueAccessor.setDisabledState?.(ve.disabled),function Vi(ve,Fe){Fe.valueAccessor.registerOnChange(Y=>{ve._pendingValue=Y,ve._pendingChange=!0,ve._pendingDirty=!0,"change"===ve.updateOn&&ts(ve,Fe)})}(ve,Fe),function Wi(ve,Fe){const Y=(Pe,Ue)=>{Fe.valueAccessor.writeValue(Pe),Ue&&Fe.viewToModelUpdate(Pe)};ve.registerOnChange(Y),Fe._registerOnDestroy(()=>{ve._unregisterOnChange(Y)})}(ve,Fe),function qi(ve,Fe){Fe.valueAccessor.registerOnTouched(()=>{ve._pendingTouched=!0,"blur"===ve.updateOn&&ve._pendingChange&&ts(ve,Fe),"submit"!==ve.updateOn&&ve.markAsTouched()})}(ve,Fe),function ni(ve,Fe){if(Fe.valueAccessor.setDisabledState){const Y=Pe=>{Fe.valueAccessor.setDisabledState(Pe)};ve.registerOnDisabledChange(Y),Fe._registerOnDestroy(()=>{ve._unregisterOnDisabledChange(Y)})}}(ve,Fe)}function en(ve,Fe,Y=!0){const Pe=()=>{};Fe.valueAccessor&&(Fe.valueAccessor.registerOnChange(Pe),Fe.valueAccessor.registerOnTouched(Pe)),hr(ve,Fe),ve&&(Fe._invokeOnDestroyCallbacks(),ve._registerOnCollectionChange(()=>{}))}function po(ve,Fe){ve.forEach(Y=>{Y.registerOnValidatorChange&&Y.registerOnValidatorChange(Fe)})}function Ci(ve,Fe){const Y=cn(ve);null!==Fe.validator?ve.setValidators(Vt(Y,Fe.validator)):"function"==typeof Y&&ve.setValidators([Y]);const Pe=Fn(ve);null!==Fe.asyncValidator?ve.setAsyncValidators(Vt(Pe,Fe.asyncValidator)):"function"==typeof Pe&&ve.setAsyncValidators([Pe]);const Ue=()=>ve.updateValueAndValidity();po(Fe._rawValidators,Ue),po(Fe._rawAsyncValidators,Ue)}function hr(ve,Fe){let Y=!1;if(null!==ve){if(null!==Fe.validator){const Ue=cn(ve);if(Array.isArray(Ue)&&Ue.length>0){const Pn=Ue.filter(ao=>ao!==Fe.validator);Pn.length!==Ue.length&&(Y=!0,ve.setValidators(Pn))}}if(null!==Fe.asyncValidator){const Ue=Fn(ve);if(Array.isArray(Ue)&&Ue.length>0){const Pn=Ue.filter(ao=>ao!==Fe.asyncValidator);Pn.length!==Ue.length&&(Y=!0,ve.setAsyncValidators(Pn))}}}const Pe=()=>{};return po(Fe._rawValidators,Pe),po(Fe._rawAsyncValidators,Pe),Y}function ts(ve,Fe){ve._pendingDirty&&ve.markAsDirty(),ve.setValue(ve._pendingValue,{emitModelToViewChange:!1}),Fe.viewToModelUpdate(ve._pendingValue),ve._pendingChange=!1}function vi(ve,Fe){if(!ve.hasOwnProperty("model"))return!1;const Y=ve.model;return!!Y.isFirstChange()||!Object.is(Fe,Y.currentValue)}function ys(ve,Fe){if(!Fe)return null;let Y,Pe,Ue;return Array.isArray(Fe),Fe.forEach(Pn=>{Pn.constructor===ke?Y=Pn:function As(ve){return Object.getPrototypeOf(ve.constructor)===L}(Pn)?Pe=Pn:Ue=Pn}),Ue||Pe||Y||null}function Wr(ve,Fe){const Y=ve.indexOf(Fe);Y>-1&&ve.splice(Y,1)}function ws(ve){return"object"==typeof ve&&null!==ve&&2===Object.keys(ve).length&&"value"in ve&&"disabled"in ve}Promise.resolve();const Or=class extends yi{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(Fe=null,Y,Pe){super(to(Y),Oo(Pe,Y)),this._applyFormState(Fe),this._setUpdateStrategy(Y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Gn(Y)&&(Y.nonNullable||Y.initialValueIsDefault)&&(this.defaultValue=ws(Fe)?Fe.value:Fe)}setValue(Fe,Y={}){this.value=this._pendingValue=Fe,this._onChange.length&&!1!==Y.emitModelToViewChange&&this._onChange.forEach(Pe=>Pe(this.value,!1!==Y.emitViewToModelChange)),this.updateValueAndValidity(Y)}patchValue(Fe,Y={}){this.setValue(Fe,Y)}reset(Fe=this.defaultValue,Y={}){this._applyFormState(Fe),this.markAsPristine(Y),this.markAsUntouched(Y),this.setValue(this.value,Y),this._pendingChange=!1}_updateValue(){}_anyControls(Fe){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Fe){this._onChange.push(Fe)}_unregisterOnChange(Fe){Wr(this._onChange,Fe)}registerOnDisabledChange(Fe){this._onDisabledChange.push(Fe)}_unregisterOnDisabledChange(Fe){Wr(this._onDisabledChange,Fe)}_forEachChild(Fe){}_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(Fe){ws(Fe)?(this.value=this._pendingValue=Fe.value,Fe.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Fe}},Rt=Or,si={provide:Qt,useExisting:(0,n.Rfq)(()=>eo)},Ao=Promise.resolve();let eo=(()=>{class ve extends Qt{_changeDetectorRef;callSetDisabledState;control=new Or;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new n.bkB;constructor(Y,Pe,Ue,Pn,ao,ro){super(),this._changeDetectorRef=ao,this.callSetDisabledState=ro,this._parent=Y,this._setValidators(Pe),this._setAsyncValidators(Ue),this.valueAccessor=ys(0,Pn)}ngOnChanges(Y){if(this._checkForErrors(),!this._registered||"name"in Y){if(this._registered&&(this._checkName(),this.formDirective)){const Pe=Y.name.previousValue;this.formDirective.removeControl({name:Pe,path:this._getPath(Pe)})}this._setUpControl()}"isDisabled"in Y&&this._updateDisabled(Y),vi(Y,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(Y){this.viewModel=Y,this.update.emit(Y)}_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(){is(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Y){Ao.then(()=>{this.control.setValue(Y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Y){const Pe=Y.isDisabled.currentValue,Ue=0!==Pe&&(0,n.L39)(Pe);Ao.then(()=>{Ue&&!this.control.disabled?this.control.disable():!Ue&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Y){return this._parent?Qi(Y,this._parent):[Y]}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(Cn,9),n.rXU(lt,10),n.rXU(Mt,10),n.rXU(he,10),n.rXU(n.gRc,8),n.rXU(Fr,8))};static \u0275dir=n.FsC({type:ve,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[n.Jv_([si]),n.Vt3,n.OA$]})}return ve})(),fi=(()=>{class ve{static \u0275fac=function(Pe){return new(Pe||ve)};static \u0275dir=n.FsC({type:ve,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return ve})();const de=new n.nKC(""),st={provide:Cn,useExisting:(0,n.Rfq)(()=>rt)};let rt=(()=>{class ve extends Cn{callSetDisabledState;get submitted(){return(0,n.O8t)(this._submittedReactive)}set submitted(Y){this._submittedReactive.set(Y)}_submitted=(0,n.EWP)(()=>this._submittedReactive());_submittedReactive=(0,n.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new n.bkB;constructor(Y,Pe,Ue){super(),this.callSetDisabledState=Ue,this._setValidators(Y),this._setAsyncValidators(Pe)}ngOnChanges(Y){this._checkFormPresent(),Y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Y){const Pe=this.form.get(Y.path);return is(Pe,Y,this.callSetDisabledState),Pe.updateValueAndValidity({emitEvent:!1}),this.directives.push(Y),Pe}getControl(Y){return this.form.get(Y.path)}removeControl(Y){en(Y.control||null,Y,!1),function Es(ve,Fe){const Y=ve.indexOf(Fe);Y>-1&&ve.splice(Y,1)}(this.directives,Y)}addFormGroup(Y){this._setUpFormContainer(Y)}removeFormGroup(Y){this._cleanUpFormContainer(Y)}getFormGroup(Y){return this.form.get(Y.path)}addFormArray(Y){this._setUpFormContainer(Y)}removeFormArray(Y){this._cleanUpFormContainer(Y)}getFormArray(Y){return this.form.get(Y.path)}updateModel(Y,Pe){this.form.get(Y.path).setValue(Pe)}onSubmit(Y){return this._submittedReactive.set(!0),function Ps(ve,Fe){ve._syncPendingControls(),Fe.forEach(Y=>{const Pe=Y.control;"submit"===Pe.updateOn&&Pe._pendingChange&&(Y.viewToModelUpdate(Pe._pendingValue),Pe._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(Y),this.form._events.next(new Wt(this.control)),"dialog"===Y?.target?.method}onReset(){this.resetForm()}resetForm(Y=void 0){this.form.reset(Y),this._submittedReactive.set(!1),this.form._events.next(new Dn(this.form))}_updateDomValue(){this.directives.forEach(Y=>{const Pe=Y.control,Ue=this.form.get(Y.path);Pe!==Ue&&(en(Pe||null,Y),(ve=>ve instanceof Or)(Ue)&&(is(Ue,Y,this.callSetDisabledState),Y.control=Ue))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Y){const Pe=this.form.get(Y.path);(function sr(ve,Fe){Ci(ve,Fe)})(Pe,Y),Pe.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Y){if(this.form){const Pe=this.form.get(Y.path);Pe&&function Si(ve,Fe){return hr(ve,Fe)}(Pe,Y)&&Pe.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ci(this.form,this),this._oldForm&&hr(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(lt,10),n.rXU(Mt,10),n.rXU(Fr,8))};static \u0275dir=n.FsC({type:ve,selectors:[["","formGroup",""]],hostBindings:function(Pe,Ue){1&Pe&&n.bIt("submit",function(ao){return Ue.onSubmit(ao)})("reset",function(){return Ue.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[n.Jv_([st]),n.Vt3,n.OA$]})}return ve})();const mo={provide:Qt,useExisting:(0,n.Rfq)(()=>yo)};let yo=(()=>{class ve extends Qt{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(Y){}model;update=new n.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(Y,Pe,Ue,Pn,ao){super(),this._ngModelWarningConfig=ao,this._parent=Y,this._setValidators(Pe),this._setAsyncValidators(Ue),this.valueAccessor=ys(0,Pn)}ngOnChanges(Y){this._added||this._setUpControl(),vi(Y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Y){this.viewModel=Y,this.update.emit(Y)}get path(){return Qi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(Cn,13),n.rXU(lt,10),n.rXU(Mt,10),n.rXU(he,10),n.rXU(de,8))};static \u0275dir=n.FsC({type:ve,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[n.Jv_([mo]),n.Vt3,n.OA$]})}return ve})();const Xo={provide:he,useExisting:(0,n.Rfq)(()=>ui),multi:!0};function Ho(ve,Fe){return null==ve?`${Fe}`:(Fe&&"object"==typeof Fe&&(Fe="Object"),`${ve}: ${Fe}`.slice(0,50))}let ui=(()=>{class ve extends L{value;_optionMap=new Map;_idCounter=0;set compareWith(Y){this._compareWith=Y}_compareWith=Object.is;writeValue(Y){this.value=Y;const Ue=Ho(this._getOptionId(Y),Y);this.setProperty("value",Ue)}registerOnChange(Y){this.onChange=Pe=>{this.value=this._getOptionValue(Pe),Y(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Y){for(const Pe of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Pe),Y))return Pe;return null}_getOptionValue(Y){const Pe=function Oi(ve){return ve.split(":")[0]}(Y);return this._optionMap.has(Pe)?this._optionMap.get(Pe):Y}static \u0275fac=(()=>{let Y;return function(Ue){return(Y||(Y=n.xGo(ve)))(Ue||ve)}})();static \u0275dir=n.FsC({type:ve,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Pe,Ue){1&Pe&&n.bIt("change",function(ao){return Ue.onChange(ao.target.value)})("blur",function(){return Ue.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[n.Jv_([Xo]),n.Vt3]})}return ve})(),Ko=(()=>{class ve{_element;_renderer;_select;id;constructor(Y,Pe,Ue){this._element=Y,this._renderer=Pe,this._select=Ue,this._select&&(this.id=this._select._registerOption())}set ngValue(Y){null!=this._select&&(this._select._optionMap.set(this.id,Y),this._setElementValue(Ho(this.id,Y)),this._select.writeValue(this._select.value))}set value(Y){this._setElementValue(Y),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Y){this._renderer.setProperty(this._element.nativeElement,"value",Y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(ui,9))};static \u0275dir=n.FsC({type:ve,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return ve})();const ai={provide:he,useExisting:(0,n.Rfq)(()=>li),multi:!0};function di(ve,Fe){return null==ve?`${Fe}`:("string"==typeof Fe&&(Fe=`'${Fe}'`),Fe&&"object"==typeof Fe&&(Fe="Object"),`${ve}: ${Fe}`.slice(0,50))}let li=(()=>{class ve extends L{value;_optionMap=new Map;_idCounter=0;set compareWith(Y){this._compareWith=Y}_compareWith=Object.is;writeValue(Y){let Pe;if(this.value=Y,Array.isArray(Y)){const Ue=Y.map(Pn=>this._getOptionId(Pn));Pe=(Pn,ao)=>{Pn._setSelected(Ue.indexOf(ao.toString())>-1)}}else Pe=(Ue,Pn)=>{Ue._setSelected(!1)};this._optionMap.forEach(Pe)}registerOnChange(Y){this.onChange=Pe=>{const Ue=[],Pn=Pe.selectedOptions;if(void 0!==Pn){const ao=Pn;for(let ro=0;ro{let Y;return function(Ue){return(Y||(Y=n.xGo(ve)))(Ue||ve)}})();static \u0275dir=n.FsC({type:ve,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Pe,Ue){1&Pe&&n.bIt("change",function(ao){return Ue.onChange(ao.target)})("blur",function(){return Ue.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[n.Jv_([ai]),n.Vt3]})}return ve})(),Mi=(()=>{class ve{_element;_renderer;_select;id;_value;constructor(Y,Pe,Ue){this._element=Y,this._renderer=Pe,this._select=Ue,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Y){null!=this._select&&(this._value=Y,this._setElementValue(di(this.id,Y)),this._select.writeValue(this._select.value))}set value(Y){this._select?(this._value=Y,this._setElementValue(di(this.id,Y)),this._select.writeValue(this._select.value)):this._setElementValue(Y)}_setElementValue(Y){this._renderer.setProperty(this._element.nativeElement,"value",Y)}_setSelected(Y){this._renderer.setProperty(this._element.nativeElement,"selected",Y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(Pe){return new(Pe||ve)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(li,9))};static \u0275dir=n.FsC({type:ve,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return ve})(),Ii=(()=>{class ve{_validator=At;_onChange;_enabled;ngOnChanges(Y){if(this.inputName in Y){const Pe=this.normalizeInput(Y[this.inputName].currentValue);this._enabled=this.enabled(Pe),this._validator=this._enabled?this.createValidator(Pe):At,this._onChange&&this._onChange()}}validate(Y){return this._validator(Y)}registerOnValidatorChange(Y){this._onChange=Y}enabled(Y){return null!=Y}static \u0275fac=function(Pe){return new(Pe||ve)};static \u0275dir=n.FsC({type:ve,features:[n.OA$]})}return ve})();const pi={provide:lt,useExisting:(0,n.Rfq)(()=>se),multi:!0};let se=(()=>{class ve extends Ii{required;inputName="required";normalizeInput=n.L39;createValidator=Y=>Ct;enabled(Y){return Y}static \u0275fac=(()=>{let Y;return function(Ue){return(Y||(Y=n.xGo(ve)))(Ue||ve)}})();static \u0275dir=n.FsC({type:ve,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Pe,Ue){2&Pe&&n.BMQ("required",Ue._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[n.Jv_([pi]),n.Vt3]})}return ve})(),z=(()=>{class ve{static \u0275fac=function(Pe){return new(Pe||ve)};static \u0275mod=n.$C({type:ve});static \u0275inj=n.G2t({})}return ve})();class Q extends yi{constructor(Fe,Y,Pe){super(to(Y),Oo(Pe,Y)),this.controls=Fe,this._initObservables(),this._setUpdateStrategy(Y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(Fe){return this.controls[this._adjustIndex(Fe)]}push(Fe,Y={}){this.controls.push(Fe),this._registerControl(Fe),this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}insert(Fe,Y,Pe={}){this.controls.splice(Fe,0,Y),this._registerControl(Y),this.updateValueAndValidity({emitEvent:Pe.emitEvent})}removeAt(Fe,Y={}){let Pe=this._adjustIndex(Fe);Pe<0&&(Pe=0),this.controls[Pe]&&this.controls[Pe]._registerOnCollectionChange(()=>{}),this.controls.splice(Pe,1),this.updateValueAndValidity({emitEvent:Y.emitEvent})}setControl(Fe,Y,Pe={}){let Ue=this._adjustIndex(Fe);Ue<0&&(Ue=0),this.controls[Ue]&&this.controls[Ue]._registerOnCollectionChange(()=>{}),this.controls.splice(Ue,1),Y&&(this.controls.splice(Ue,0,Y),this._registerControl(Y)),this.updateValueAndValidity({emitEvent:Pe.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Fe,Y={}){Vo(this,0,Fe),Fe.forEach((Pe,Ue)=>{go(this,!1,Ue),this.at(Ue).setValue(Pe,{onlySelf:!0,emitEvent:Y.emitEvent})}),this.updateValueAndValidity(Y)}patchValue(Fe,Y={}){null!=Fe&&(Fe.forEach((Pe,Ue)=>{this.at(Ue)&&this.at(Ue).patchValue(Pe,{onlySelf:!0,emitEvent:Y.emitEvent})}),this.updateValueAndValidity(Y))}reset(Fe=[],Y={}){this._forEachChild((Pe,Ue)=>{Pe.reset(Fe[Ue],{onlySelf:!0,emitEvent:Y.emitEvent})}),this._updatePristine(Y,this),this._updateTouched(Y,this),this.updateValueAndValidity(Y)}getRawValue(){return this.controls.map(Fe=>Fe.getRawValue())}clear(Fe={}){this.controls.length<1||(this._forEachChild(Y=>Y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Fe.emitEvent}))}_adjustIndex(Fe){return Fe<0?Fe+this.length:Fe}_syncPendingControls(){let Fe=this.controls.reduce((Y,Pe)=>!!Pe._syncPendingControls()||Y,!1);return Fe&&this.updateValueAndValidity({onlySelf:!0}),Fe}_forEachChild(Fe){this.controls.forEach((Y,Pe)=>{Fe(Y,Pe)})}_updateValue(){this.value=this.controls.filter(Fe=>Fe.enabled||this.disabled).map(Fe=>Fe.value)}_anyControls(Fe){return this.controls.some(Y=>Y.enabled&&Fe(Y))}_setUpControls(){this._forEachChild(Fe=>this._registerControl(Fe))}_allControlsDisabled(){for(const Fe of this.controls)if(Fe.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Fe){Fe.setParent(this),Fe._registerOnCollectionChange(this._onCollectionChange)}_find(Fe){return this.at(Fe)??null}}function He(ve){return!!ve&&(void 0!==ve.asyncValidators||void 0!==ve.validators||void 0!==ve.updateOn)}let nt=(()=>{class ve{useNonNullable=!1;get nonNullable(){const Y=new ve;return Y.useNonNullable=!0,Y}group(Y,Pe=null){const Ue=this._reduceControls(Y);let Pn={};return He(Pe)?Pn=Pe:null!==Pe&&(Pn.validators=Pe.validator,Pn.asyncValidators=Pe.asyncValidator),new ci(Ue,Pn)}record(Y,Pe=null){const Ue=this._reduceControls(Y);return new Lr(Ue,Pe)}control(Y,Pe,Ue){let Pn={};return this.useNonNullable?(He(Pe)?Pn=Pe:(Pn.validators=Pe,Pn.asyncValidators=Ue),new Or(Y,{...Pn,nonNullable:!0})):new Or(Y,Pe,Ue)}array(Y,Pe,Ue){const Pn=Y.map(ao=>this._createControl(ao));return new Q(Pn,Pe,Ue)}_reduceControls(Y){const Pe={};return Object.keys(Y).forEach(Ue=>{Pe[Ue]=this._createControl(Y[Ue])}),Pe}_createControl(Y){return Y instanceof Or||Y instanceof yi?Y:Array.isArray(Y)?this.control(Y[0],Y.length>1?Y[1]:null,Y.length>2?Y[2]:null):this.control(Y)}static \u0275fac=function(Pe){return new(Pe||ve)};static \u0275prov=n.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})(),Mn=(()=>{class ve{static withConfig(Y){return{ngModule:ve,providers:[{provide:Fr,useValue:Y.callSetDisabledState??wr}]}}static \u0275fac=function(Pe){return new(Pe||ve)};static \u0275mod=n.$C({type:ve});static \u0275inj=n.G2t({imports:[z]})}return ve})(),Xt=(()=>{class ve{static withConfig(Y){return{ngModule:ve,providers:[{provide:de,useValue:Y.warnOnNgModelWithFormControl??"always"},{provide:Fr,useValue:Y.callSetDisabledState??wr}]}}static \u0275fac=function(Pe){return new(Pe||ve)};static \u0275mod=n.$C({type:ve});static \u0275inj=n.G2t({imports:[z]})}return ve})()},345:(ft,Z,l)=>{"use strict";l.d(Z,{B7:()=>Xe,B8:()=>So,Bb:()=>Qt,hE:()=>Zt,up:()=>Pr});var n=l(60177),i=l(54438);class f extends n.VF{supportsDOMEvents=!0}class g extends f{static makeCurrent(){(0,n.ZD)(new g)}onAndCancel(We,ot,Wt,Dn){return We.addEventListener(ot,Wt,Dn),()=>{We.removeEventListener(ot,Wt,Dn)}}dispatchEvent(We,ot){We.dispatchEvent(ot)}remove(We){We.remove()}createElement(We,ot){return(ot=ot||this.getDefaultDocument()).createElement(We)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(We){return We.nodeType===Node.ELEMENT_NODE}isShadowRoot(We){return We instanceof DocumentFragment}getGlobalEventTarget(We,ot){return"window"===ot?window:"document"===ot?We:"body"===ot?We.body:null}getBaseHref(We){const ot=function x(){return s=s||document.querySelector("base"),s?s.getAttribute("href"):null}();return null==ot?null:function _($e){return new URL($e,document.baseURI).pathname}(ot)}resetBaseElement(){s=null}getUserAgent(){return window.navigator.userAgent}getCookie(We){return(0,n._b)(document.cookie,We)}}let s=null,w=(()=>{class $e{build(){return new XMLHttpRequest}static \u0275fac=function(Wt){return new(Wt||$e)};static \u0275prov=i.jDH({token:$e,factory:$e.\u0275fac})}return $e})();const M=new i.nKC("");let I=(()=>{class $e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(ot,Wt){this._zone=Wt,ot.forEach(Dn=>{Dn.manager=this}),this._plugins=ot.slice().reverse()}addEventListener(ot,Wt,Dn,to){return this._findPluginFor(Wt).addEventListener(ot,Wt,Dn,to)}getZone(){return this._zone}_findPluginFor(ot){let Wt=this._eventNameToPlugin.get(ot);if(Wt)return Wt;if(Wt=this._plugins.find(to=>to.supports(ot)),!Wt)throw new i.wOt(5101,!1);return this._eventNameToPlugin.set(ot,Wt),Wt}static \u0275fac=function(Wt){return new(Wt||$e)(i.KVO(M),i.KVO(i.SKi))};static \u0275prov=i.jDH({token:$e,factory:$e.\u0275fac})}return $e})();class R{_doc;constructor(We){this._doc=We}manager}const H="ng-app-id";function K($e){for(const We of $e)We.remove()}function L($e,We){const ot=We.createElement("style");return ot.textContent=$e,ot}function pe($e,We){const ot=We.createElement("link");return ot.setAttribute("rel","stylesheet"),ot.setAttribute("href",$e),ot}let be=(()=>{class $e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(ot,Wt,Dn,to={}){this.doc=ot,this.appId=Wt,this.nonce=Dn,this.isServer=(0,n.Vy)(to),function he($e,We,ot,Wt){const Dn=$e.head?.querySelectorAll(`style[${H}="${We}"],link[${H}="${We}"]`);if(Dn)for(const to of Dn)to.removeAttribute(H),to instanceof HTMLLinkElement?Wt.set(to.href.slice(to.href.lastIndexOf("/")+1),{usage:0,elements:[to]}):to.textContent&&ot.set(to.textContent,{usage:0,elements:[to]})}(ot,Wt,this.inline,this.external),this.hosts.add(ot.head)}addStyles(ot,Wt){for(const Dn of ot)this.addUsage(Dn,this.inline,L);Wt?.forEach(Dn=>this.addUsage(Dn,this.external,pe))}removeStyles(ot,Wt){for(const Dn of ot)this.removeUsage(Dn,this.inline);Wt?.forEach(Dn=>this.removeUsage(Dn,this.external))}addUsage(ot,Wt,Dn){const to=Wt.get(ot);to?to.usage++:Wt.set(ot,{usage:1,elements:[...this.hosts].map(co=>this.addElement(co,Dn(ot,this.doc)))})}removeUsage(ot,Wt){const Dn=Wt.get(ot);Dn&&(Dn.usage--,Dn.usage<=0&&(K(Dn.elements),Wt.delete(ot)))}ngOnDestroy(){for(const[,{elements:ot}]of[...this.inline,...this.external])K(ot);this.hosts.clear()}addHost(ot){this.hosts.add(ot);for(const[Wt,{elements:Dn}]of this.inline)Dn.push(this.addElement(ot,L(Wt,this.doc)));for(const[Wt,{elements:Dn}]of this.external)Dn.push(this.addElement(ot,pe(Wt,this.doc)))}removeHost(ot){this.hosts.delete(ot)}addElement(ot,Wt){return this.nonce&&Wt.setAttribute("nonce",this.nonce),this.isServer&&Wt.setAttribute(H,this.appId),ot.appendChild(Wt)}static \u0275fac=function(Wt){return new(Wt||$e)(i.KVO(n.qQ),i.KVO(i.sZ2),i.KVO(i.BIS,8),i.KVO(i.Agw))};static \u0275prov=i.jDH({token:$e,factory:$e.\u0275fac})}return $e})();const Le={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ye=/%COMP%/g,Bt=new i.nKC("",{providedIn:"root",factory:()=>!0});function tt($e,We){return We.map(ot=>ot.replace(ye,$e))}let Xe=(()=>{class $e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(ot,Wt,Dn,to,co,Oo,ln,Gn=null,go=null){this.eventManager=ot,this.sharedStylesHost=Wt,this.appId=Dn,this.removeStylesOnCompDestroy=to,this.doc=co,this.platformId=Oo,this.ngZone=ln,this.nonce=Gn,this.tracingService=go,this.platformIsServer=(0,n.Vy)(Oo),this.defaultRenderer=new e(ot,co,ln,this.platformIsServer,this.tracingService)}createRenderer(ot,Wt){if(!ot||!Wt)return this.defaultRenderer;this.platformIsServer&&Wt.encapsulation===i.gXe.ShadowDom&&(Wt={...Wt,encapsulation:i.gXe.Emulated});const Dn=this.getOrCreateRenderer(ot,Wt);return Dn instanceof Ot?Dn.applyToHost(ot):Dn instanceof we&&Dn.applyStyles(),Dn}getOrCreateRenderer(ot,Wt){const Dn=this.rendererByCompId;let to=Dn.get(Wt.id);if(!to){const co=this.doc,Oo=this.ngZone,ln=this.eventManager,Gn=this.sharedStylesHost,go=this.removeStylesOnCompDestroy,Vo=this.platformIsServer,yi=this.tracingService;switch(Wt.encapsulation){case i.gXe.Emulated:to=new Ot(ln,Gn,Wt,this.appId,go,co,Oo,Vo,yi);break;case i.gXe.ShadowDom:return new At(ln,Gn,ot,Wt,co,Oo,this.nonce,Vo,yi);default:to=new we(ln,Gn,Wt,go,co,Oo,Vo,yi)}Dn.set(Wt.id,to)}return to}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(ot){this.rendererByCompId.delete(ot)}static \u0275fac=function(Wt){return new(Wt||$e)(i.KVO(I),i.KVO(be),i.KVO(i.sZ2),i.KVO(Bt),i.KVO(n.qQ),i.KVO(i.Agw),i.KVO(i.SKi),i.KVO(i.BIS),i.KVO(i.Lf2,8))};static \u0275prov=i.jDH({token:$e,factory:$e.\u0275fac})}return $e})();class e{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(We,ot,Wt,Dn,to){this.eventManager=We,this.doc=ot,this.ngZone=Wt,this.platformIsServer=Dn,this.tracingService=to}destroy(){}destroyNode=null;createElement(We,ot){return ot?this.doc.createElementNS(Le[ot]||ot,We):this.doc.createElement(We)}createComment(We){return this.doc.createComment(We)}createText(We){return this.doc.createTextNode(We)}appendChild(We,ot){(wt(We)?We.content:We).appendChild(ot)}insertBefore(We,ot,Wt){We&&(wt(We)?We.content:We).insertBefore(ot,Wt)}removeChild(We,ot){ot.remove()}selectRootElement(We,ot){let Wt="string"==typeof We?this.doc.querySelector(We):We;if(!Wt)throw new i.wOt(-5104,!1);return ot||(Wt.textContent=""),Wt}parentNode(We){return We.parentNode}nextSibling(We){return We.nextSibling}setAttribute(We,ot,Wt,Dn){if(Dn){ot=Dn+":"+ot;const to=Le[Dn];to?We.setAttributeNS(to,ot,Wt):We.setAttribute(ot,Wt)}else We.setAttribute(ot,Wt)}removeAttribute(We,ot,Wt){if(Wt){const Dn=Le[Wt];Dn?We.removeAttributeNS(Dn,ot):We.removeAttribute(`${Wt}:${ot}`)}else We.removeAttribute(ot)}addClass(We,ot){We.classList.add(ot)}removeClass(We,ot){We.classList.remove(ot)}setStyle(We,ot,Wt,Dn){Dn&(i.czy.DashCase|i.czy.Important)?We.style.setProperty(ot,Wt,Dn&i.czy.Important?"important":""):We.style[ot]=Wt}removeStyle(We,ot,Wt){Wt&i.czy.DashCase?We.style.removeProperty(ot):We.style[ot]=""}setProperty(We,ot,Wt){null!=We&&(We[ot]=Wt)}setValue(We,ot){We.nodeValue=ot}listen(We,ot,Wt,Dn){if("string"==typeof We&&!(We=(0,n.QT)().getGlobalEventTarget(this.doc,We)))throw new Error(`Unsupported event target ${We} for event ${ot}`);let to=this.decoratePreventDefault(Wt);return null!==this.tracingService&&this.tracingService.wrapEventListener&&(to=this.tracingService.wrapEventListener(We,ot,to)),this.eventManager.addEventListener(We,ot,to,Dn)}decoratePreventDefault(We){return ot=>{if("__ngUnwrap__"===ot)return We;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>We(ot)):We(ot))&&ot.preventDefault()}}}function wt($e){return"TEMPLATE"===$e.tagName&&void 0!==$e.content}class At extends e{sharedStylesHost;hostEl;shadowRoot;constructor(We,ot,Wt,Dn,to,co,Oo,ln,Gn){super(We,to,co,ln,Gn),this.sharedStylesHost=ot,this.hostEl=Wt,this.shadowRoot=Wt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let go=Dn.styles;go=tt(Dn.id,go);for(const yi of go){const ci=document.createElement("style");Oo&&ci.setAttribute("nonce",Oo),ci.textContent=yi,this.shadowRoot.appendChild(ci)}const Vo=Dn.getExternalStyles?.();if(Vo)for(const yi of Vo){const ci=pe(yi,to);Oo&&ci.setAttribute("nonce",Oo),this.shadowRoot.appendChild(ci)}}nodeOrShadowRoot(We){return We===this.hostEl?this.shadowRoot:We}appendChild(We,ot){return super.appendChild(this.nodeOrShadowRoot(We),ot)}insertBefore(We,ot,Wt){return super.insertBefore(this.nodeOrShadowRoot(We),ot,Wt)}removeChild(We,ot){return super.removeChild(null,ot)}parentNode(We){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(We)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends e{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(We,ot,Wt,Dn,to,co,Oo,ln,Gn){super(We,to,co,Oo,ln),this.sharedStylesHost=ot,this.removeStylesOnCompDestroy=Dn;let go=Wt.styles;this.styles=Gn?tt(Gn,go):go,this.styleUrls=Wt.getExternalStyles?.(Gn)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Ot extends we{contentAttr;hostAttr;constructor(We,ot,Wt,Dn,to,co,Oo,ln,Gn){const go=Dn+"-"+Wt.id;super(We,ot,Wt,to,co,Oo,ln,Gn,go),this.contentAttr=function et($e){return"_ngcontent-%COMP%".replace(ye,$e)}(go),this.hostAttr=function sn($e){return"_nghost-%COMP%".replace(ye,$e)}(go)}applyToHost(We){this.applyStyles(),this.setAttribute(We,this.hostAttr,"")}createElement(We,ot){const Wt=super.createElement(We,ot);return super.setAttribute(Wt,this.contentAttr,""),Wt}}let It=(()=>{class $e extends R{constructor(ot){super(ot)}supports(ot){return!0}addEventListener(ot,Wt,Dn,to){return ot.addEventListener(Wt,Dn,to),()=>this.removeEventListener(ot,Wt,Dn,to)}removeEventListener(ot,Wt,Dn,to){return ot.removeEventListener(Wt,Dn,to)}static \u0275fac=function(Wt){return new(Wt||$e)(i.KVO(n.qQ))};static \u0275prov=i.jDH({token:$e,factory:$e.\u0275fac})}return $e})();const tn=["alt","control","meta","shift"],fn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},En={alt:$e=>$e.altKey,control:$e=>$e.ctrlKey,meta:$e=>$e.metaKey,shift:$e=>$e.shiftKey};let jn=(()=>{class $e extends R{constructor(ot){super(ot)}supports(ot){return null!=$e.parseEventName(ot)}addEventListener(ot,Wt,Dn,to){const co=$e.parseEventName(Wt),Oo=$e.eventCallback(co.fullKey,Dn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.QT)().onAndCancel(ot,co.domEventName,Oo,to))}static parseEventName(ot){const Wt=ot.toLowerCase().split("."),Dn=Wt.shift();if(0===Wt.length||"keydown"!==Dn&&"keyup"!==Dn)return null;const to=$e._normalizeKey(Wt.pop());let co="",Oo=Wt.indexOf("code");if(Oo>-1&&(Wt.splice(Oo,1),co="code."),tn.forEach(Gn=>{const go=Wt.indexOf(Gn);go>-1&&(Wt.splice(go,1),co+=Gn+".")}),co+=to,0!=Wt.length||0===to.length)return null;const ln={};return ln.domEventName=Dn,ln.fullKey=co,ln}static matchEventFullKeyCode(ot,Wt){let Dn=fn[ot.key]||ot.key,to="";return Wt.indexOf("code.")>-1&&(Dn=ot.code,to="code."),!(null==Dn||!Dn)&&(Dn=Dn.toLowerCase()," "===Dn?Dn="space":"."===Dn&&(Dn="dot"),tn.forEach(co=>{co!==Dn&&(0,En[co])(ot)&&(to+=co+".")}),to+=Dn,to===Wt)}static eventCallback(ot,Wt,Dn){return to=>{$e.matchEventFullKeyCode(to,ot)&&Dn.runGuarded(()=>Wt(to))}}static _normalizeKey(ot){return"esc"===ot?"escape":ot}static \u0275fac=function(Wt){return new(Wt||$e)(i.KVO(n.qQ))};static \u0275prov=i.jDH({token:$e,factory:$e.\u0275fac})}return $e})();function So($e,We){return(0,i.TL3)({rootComponent:$e,...Nt(We)})}function Nt($e){return{appProviders:[...Cn,...$e?.providers??[]],platformProviders:Un}}const Un=[{provide:i.Agw,useValue:n.AJ},{provide:i.PLl,useValue:function cn(){g.makeCurrent()},multi:!0},{provide:n.qQ,useFactory:function pn(){return(0,i.TL$)(document),document},deps:[]}],_n=[{provide:i.e01,useClass:class y{addToWindow(We){i.JZv.getAngularTestability=(Wt,Dn=!0)=>{const to=We.findTestabilityInTree(Wt,Dn);if(null==to)throw new i.wOt(5103,!1);return to},i.JZv.getAllAngularTestabilities=()=>We.getAllTestabilities(),i.JZv.getAllAngularRootElements=()=>We.getAllRootElements(),i.JZv.frameworkStabilizers||(i.JZv.frameworkStabilizers=[]),i.JZv.frameworkStabilizers.push(Wt=>{const Dn=i.JZv.getAllAngularTestabilities();let to=Dn.length;const co=function(){to--,0==to&&Wt()};Dn.forEach(Oo=>{Oo.whenStable(co)})})}findTestabilityInTree(We,ot,Wt){return null==ot?null:We.getTestability(ot)??(Wt?(0,n.QT)().isShadowRoot(ot)?this.findTestabilityInTree(We,ot.host,!0):this.findTestabilityInTree(We,ot.parentElement,!0):null)}},deps:[]},{provide:i.WHO,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]},{provide:i.NYb,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]}],Cn=[{provide:i.H8p,useValue:"root"},{provide:i.zcH,useFactory:function Fn(){return new i.zcH},deps:[]},{provide:M,useClass:It,multi:!0,deps:[n.qQ]},{provide:M,useClass:jn,multi:!0,deps:[n.qQ]},Xe,be,I,{provide:i._9s,useExisting:Xe},{provide:n.N0,useClass:w,deps:[]},[]];let Qt=(()=>{class $e{constructor(){}static \u0275fac=function(Wt){return new(Wt||$e)};static \u0275mod=i.$C({type:$e});static \u0275inj=i.G2t({providers:[...Cn,..._n],imports:[n.MD,i.Hbi]})}return $e})(),Zt=(()=>{class $e{_doc;constructor(ot){this._doc=ot}getTitle(){return this._doc.title}setTitle(ot){this._doc.title=ot||""}static \u0275fac=function(Wt){return new(Wt||$e)(i.KVO(n.qQ))};static \u0275prov=i.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"})}return $e})(),Pr=(()=>{class $e{static \u0275fac=function(Wt){return new(Wt||$e)};static \u0275prov=i.jDH({token:$e,factory:function(Wt){let Dn=null;return Dn=Wt?new(Wt||$e):i.KVO(Gi),Dn},providedIn:"root"})}return $e})(),Gi=(()=>{class $e extends Pr{_doc;constructor(ot){super(),this._doc=ot}sanitize(ot,Wt){if(null==Wt)return null;switch(ot){case i.WPN.NONE:return Wt;case i.WPN.HTML:return(0,i.ZF7)(Wt,"HTML")?(0,i.rcV)(Wt):(0,i.h9k)(this._doc,String(Wt)).toString();case i.WPN.STYLE:return(0,i.ZF7)(Wt,"Style")?(0,i.rcV)(Wt):Wt;case i.WPN.SCRIPT:if((0,i.ZF7)(Wt,"Script"))return(0,i.rcV)(Wt);throw new i.wOt(5200,!1);case i.WPN.URL:return(0,i.ZF7)(Wt,"URL")?(0,i.rcV)(Wt):(0,i.$MX)(String(Wt));case i.WPN.RESOURCE_URL:if((0,i.ZF7)(Wt,"ResourceURL"))return(0,i.rcV)(Wt);throw new i.wOt(5201,!1);default:throw new i.wOt(5202,!1)}}bypassSecurityTrustHtml(ot){return(0,i.Kcf)(ot)}bypassSecurityTrustStyle(ot){return(0,i.cWb)(ot)}bypassSecurityTrustScript(ot){return(0,i.UyX)(ot)}bypassSecurityTrustUrl(ot){return(0,i.osQ)(ot)}bypassSecurityTrustResourceUrl(ot){return(0,i.e5t)(ot)}static \u0275fac=function(Wt){return new(Wt||$e)(i.KVO(n.qQ))};static \u0275prov=i.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"})}return $e})()},47868:(ft,Z,l)=>{"use strict";l.d(Z,{nX:()=>Kt,Zp:()=>re,wF:()=>rs,Z:()=>Si,Xk:()=>jn,bw:()=>xs,Ix:()=>Qr,Wk:()=>ns,wQ:()=>Hr,iI:()=>E,n3:()=>ui,Sd:()=>ri,lh:()=>Pa,oH:()=>Fl,Ii:()=>hl});var n=l(54438),i=l(74402),f=l(86648),g=l(7673),s=l(84412),x=l(84572),_=l(9350),y=l(28793),w=l(71985),M=l(58750);function I(U){return new w.c(ae=>{(0,M.Tg)(U()).subscribe(ae)})}var R=l(71203),H=l(98071);function K(U,ae){const V=(0,H.T)(U)?U:()=>U,ce=Ae=>Ae.error(V());return new w.c(ae?Ae=>ae.schedule(ce,0,Ae):ce)}var L=l(983),he=l(30017),pe=l(21413),be=l(18359),Le=l(60177),ye=l(96354),je=l(25558),ke=l(96697),De=l(99172),Je=l(5964),lt=l(31397),Mt=l(61594),Bt=l(70274),et=l(39974),sn=l(54360),tt=l(33669);function Ct(U,ae,V){const ce=(0,H.T)(U)||ae||V?{next:U,error:ae,complete:V}:U;return ce?(0,et.N)((Ae,bt)=>{var $t;null===($t=ce.subscribe)||void 0===$t||$t.call(ce);let io=!0;Ae.subscribe((0,sn._)(bt,zn=>{var Lo;null===(Lo=ce.next)||void 0===Lo||Lo.call(ce,zn),bt.next(zn)},()=>{var zn;io=!1,null===(zn=ce.complete)||void 0===zn||zn.call(ce),bt.complete()},zn=>{var Lo;io=!1,null===(Lo=ce.error)||void 0===Lo||Lo.call(ce,zn),bt.error(zn)},()=>{var zn,Lo;io&&(null===(zn=ce.unsubscribe)||void 0===zn||zn.call(ce)),null===(Lo=ce.finalize)||void 0===Lo||Lo.call(ce)}))}):tt.D}function Xe(U){return(0,et.N)((ae,V)=>{let bt,ce=null,Ae=!1;ce=ae.subscribe((0,sn._)(V,void 0,void 0,$t=>{bt=(0,M.Tg)(U($t,Xe(U)(ae))),ce?(ce.unsubscribe(),ce=null,bt.subscribe(V)):Ae=!0})),Ae&&(ce.unsubscribe(),ce=null,bt.subscribe(V))})}var Pt=l(39901);function wt(U){return U<=0?()=>L.w:(0,et.N)((ae,V)=>{let ce=[];ae.subscribe((0,sn._)(V,Ae=>{ce.push(Ae),U{for(const Ae of ce)V.next(Ae);V.complete()},void 0,()=>{ce=null}))})}var At=l(93774),Ot=l(70980),It=l(99898),tn=l(56977),fn=l(26365),En=l(345);const jn="primary",So=Symbol("RouteTitle");class pt{params;constructor(ae){this.params=ae||{}}has(ae){return Object.prototype.hasOwnProperty.call(this.params,ae)}get(ae){if(this.has(ae)){const V=this.params[ae];return Array.isArray(V)?V[0]:V}return null}getAll(ae){if(this.has(ae)){const V=this.params[ae];return Array.isArray(V)?V:[V]}return[]}get keys(){return Object.keys(this.params)}}function Nt(U){return new pt(U)}function Vt(U,ae,V){const ce=V.path.split("/");if(ce.length>U.length||"full"===V.pathMatch&&(ae.hasChildren()||ce.lengthce[bt]===Ae)}return U===ae}function Zn(U){return U.length>0?U[U.length-1]:null}function Bn(U){return(0,i.A)(U)?U:(0,n.jNT)(U)?(0,f.H)(Promise.resolve(U)):(0,g.of)(U)}const _n={exact:function Qn(U,ae,V){if(!Go(U.segments,ae.segments)||!Tn(U.segments,ae.segments,V)||U.numberOfChildren!==ae.numberOfChildren)return!1;for(const ce in ae.children)if(!U.children[ce]||!Qn(U.children[ce],ae.children[ce],V))return!1;return!0},subset:vn},Cn={exact:function Nn(U,ae){return Fn(U,ae)},subset:function Zt(U,ae){return Object.keys(ae).length<=Object.keys(U).length&&Object.keys(ae).every(V=>Un(U[V],ae[V]))},ignored:()=>!0};function Qt(U,ae,V){return _n[V.paths](U.root,ae.root,V.matrixParams)&&Cn[V.queryParams](U.queryParams,ae.queryParams)&&!("exact"===V.fragment&&U.fragment!==ae.fragment)}function vn(U,ae,V){return hn(U,ae,ae.segments,V)}function hn(U,ae,V,ce){if(U.segments.length>V.length){const Ae=U.segments.slice(0,V.length);return!(!Go(Ae,V)||ae.hasChildren()||!Tn(Ae,V,ce))}if(U.segments.length===V.length){if(!Go(U.segments,V)||!Tn(U.segments,V,ce))return!1;for(const Ae in ae.children)if(!U.children[Ae]||!vn(U.children[Ae],ae.children[Ae],ce))return!1;return!0}{const Ae=V.slice(0,U.segments.length),bt=V.slice(U.segments.length);return!!(Go(U.segments,Ae)&&Tn(U.segments,Ae,ce)&&U.children[jn])&&hn(U.children[jn],ae,bt,ce)}}function Tn(U,ae,V){return ae.every((ce,Ae)=>Cn[V](U[Ae].parameters,ce.parameters))}class uo{root;queryParams;fragment;_queryParamMap;constructor(ae=new bo([],{}),V={},ce=null){this.root=ae,this.queryParams=V,this.fragment=ce}get queryParamMap(){return this._queryParamMap??=Nt(this.queryParams),this._queryParamMap}toString(){return xr.serialize(this)}}class bo{segments;children;parent=null;constructor(ae,V){this.segments=ae,this.children=V,Object.values(V).forEach(ce=>ce.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zi(this)}}class _o{path;parameters;_parameterMap;constructor(ae,V){this.path=ae,this.parameters=V}get parameterMap(){return this._parameterMap??=Nt(this.parameters),this._parameterMap}toString(){return at(this)}}function Go(U,ae){return U.length===ae.length&&U.every((V,ce)=>V.path===ae[ce].path)}let ri=(()=>{class U{static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:()=>new Yi,providedIn:"root"})}return U})();class Yi{parse(ae){const V=new to(ae);return new uo(V.parseRootSegment(),V.parseQueryParams(),V.parseFragment())}serialize(ae){const V=`/${Ji(ae.root,!0)}`,ce=function In(U){const ae=Object.entries(U).map(([V,ce])=>Array.isArray(ce)?ce.map(Ae=>`${Gi(V)}=${Gi(Ae)}`).join("&"):`${Gi(V)}=${Gi(ce)}`).filter(V=>V);return ae.length?`?${ae.join("&")}`:""}(ae.queryParams);return`${V}${ce}${"string"==typeof ae.fragment?`#${function no(U){return encodeURI(U)}(ae.fragment)}`:""}`}}const xr=new Yi;function zi(U){return U.segments.map(ae=>at(ae)).join("/")}function Ji(U,ae){if(!U.hasChildren())return zi(U);if(ae){const V=U.children[jn]?Ji(U.children[jn],!1):"",ce=[];return Object.entries(U.children).forEach(([Ae,bt])=>{Ae!==jn&&ce.push(`${Ae}:${Ji(bt,!1)}`)}),ce.length>0?`${V}(${ce.join("//")})`:V}{const V=function zo(U,ae){let V=[];return Object.entries(U.children).forEach(([ce,Ae])=>{ce===jn&&(V=V.concat(ae(Ae,ce)))}),Object.entries(U.children).forEach(([ce,Ae])=>{ce!==jn&&(V=V.concat(ae(Ae,ce)))}),V}(U,(ce,Ae)=>Ae===jn?[Ji(U.children[jn],!1)]:[`${Ae}:${Ji(ce,!1)}`]);return 1===Object.keys(U.children).length&&null!=U.children[jn]?`${zi(U)}/${V[0]}`:`${zi(U)}/(${V.join("//")})`}}function Pr(U){return encodeURIComponent(U).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gi(U){return Pr(U).replace(/%3B/gi,";")}function Vn(U){return Pr(U).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mn(U){return decodeURIComponent(U)}function ze(U){return mn(U.replace(/\+/g,"%20"))}function at(U){return`${Vn(U.path)}${function Ft(U){return Object.entries(U).map(([ae,V])=>`;${Vn(ae)}=${Vn(V)}`).join("")}(U.parameters)}`}const fo=/^[^\/()?;#]+/;function wn(U){const ae=U.match(fo);return ae?ae[0]:""}const dn=/^[^\/()?;=#]+/,We=/^[^=?&#]+/,Wt=/^[^&#]+/;class to{url;remaining;constructor(ae){this.url=ae,this.remaining=ae}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bo([],{}):new bo([],this.parseChildren())}parseQueryParams(){const ae={};if(this.consumeOptional("?"))do{this.parseQueryParam(ae)}while(this.consumeOptional("&"));return ae}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ae=[];for(this.peekStartsWith("(")||ae.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ae.push(this.parseSegment());let V={};this.peekStartsWith("/(")&&(this.capture("/"),V=this.parseParens(!0));let ce={};return this.peekStartsWith("(")&&(ce=this.parseParens(!1)),(ae.length>0||Object.keys(V).length>0)&&(ce[jn]=new bo(ae,V)),ce}parseSegment(){const ae=wn(this.remaining);if(""===ae&&this.peekStartsWith(";"))throw new n.wOt(4009,!1);return this.capture(ae),new _o(mn(ae),this.parseMatrixParams())}parseMatrixParams(){const ae={};for(;this.consumeOptional(";");)this.parseParam(ae);return ae}parseParam(ae){const V=function $e(U){const ae=U.match(dn);return ae?ae[0]:""}(this.remaining);if(!V)return;this.capture(V);let ce="";if(this.consumeOptional("=")){const Ae=wn(this.remaining);Ae&&(ce=Ae,this.capture(ce))}ae[mn(V)]=mn(ce)}parseQueryParam(ae){const V=function ot(U){const ae=U.match(We);return ae?ae[0]:""}(this.remaining);if(!V)return;this.capture(V);let ce="";if(this.consumeOptional("=")){const $t=function Dn(U){const ae=U.match(Wt);return ae?ae[0]:""}(this.remaining);$t&&(ce=$t,this.capture(ce))}const Ae=ze(V),bt=ze(ce);if(ae.hasOwnProperty(Ae)){let $t=ae[Ae];Array.isArray($t)||($t=[$t],ae[Ae]=$t),$t.push(bt)}else ae[Ae]=bt}parseParens(ae){const V={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ce=wn(this.remaining),Ae=this.remaining[ce.length];if("/"!==Ae&&")"!==Ae&&";"!==Ae)throw new n.wOt(4010,!1);let bt;ce.indexOf(":")>-1?(bt=ce.slice(0,ce.indexOf(":")),this.capture(bt),this.capture(":")):ae&&(bt=jn);const $t=this.parseChildren();V[bt]=1===Object.keys($t).length?$t[jn]:new bo([],$t),this.consumeOptional("//")}return V}peekStartsWith(ae){return this.remaining.startsWith(ae)}consumeOptional(ae){return!!this.peekStartsWith(ae)&&(this.remaining=this.remaining.substring(ae.length),!0)}capture(ae){if(!this.consumeOptional(ae))throw new n.wOt(4011,!1)}}function co(U){return U.segments.length>0?new bo([],{[jn]:U}):U}function Oo(U){const ae={};for(const[ce,Ae]of Object.entries(U.children)){const bt=Oo(Ae);if(ce===jn&&0===bt.segments.length&&bt.hasChildren())for(const[$t,io]of Object.entries(bt.children))ae[$t]=io;else(bt.segments.length>0||bt.hasChildren())&&(ae[ce]=bt)}return function ln(U){if(1===U.numberOfChildren&&U.children[jn]){const ae=U.children[jn];return new bo(U.segments.concat(ae.segments),ae.children)}return U}(new bo(U.segments,ae))}function Gn(U){return U instanceof uo}function Vo(U){let ae;const Ae=co(function V(bt){const $t={};for(const zn of bt.children){const Lo=V(zn);$t[zn.outlet]=Lo}const io=new bo(bt.url,$t);return bt===U&&(ae=io),io}(U.root));return ae??Ae}function yi(U,ae,V,ce){let Ae=U;for(;Ae.parent;)Ae=Ae.parent;if(0===ae.length)return ei(Ae,Ae,Ae,V,ce);const bt=function Vr(U){if("string"==typeof U[0]&&1===U.length&&"/"===U[0])return new Lr(!0,0,U);let ae=0,V=!1;const ce=U.reduce((Ae,bt,$t)=>{if("object"==typeof bt&&null!=bt){if(bt.outlets){const io={};return Object.entries(bt.outlets).forEach(([zn,Lo])=>{io[zn]="string"==typeof Lo?Lo.split("/"):Lo}),[...Ae,{outlets:io}]}if(bt.segmentPath)return[...Ae,bt.segmentPath]}return"string"!=typeof bt?[...Ae,bt]:0===$t?(bt.split("/").forEach((io,zn)=>{0==zn&&"."===io||(0==zn&&""===io?V=!0:".."===io?ae++:""!=io&&Ae.push(io))}),Ae):[...Ae,bt]},[]);return new Lr(V,ae,ce)}(ae);if(bt.toRoot())return ei(Ae,Ae,new bo([],{}),V,ce);const $t=function wr(U,ae,V){if(U.isAbsolute)return new Fr(ae,!0,0);if(!V)return new Fr(ae,!1,NaN);if(null===V.parent)return new Fr(V,!0,0);const ce=ci(U.commands[0])?0:1;return function Qi(U,ae,V){let ce=U,Ae=ae,bt=V;for(;bt>Ae;){if(bt-=Ae,ce=ce.parent,!ce)throw new n.wOt(4005,!1);Ae=ce.segments.length}return new Fr(ce,!1,Ae-bt)}(V,V.segments.length-1+ce,U.numberOfDoubleDots)}(bt,Ae,U),io=$t.processChildren?po($t.segmentGroup,$t.index,bt.commands):en($t.segmentGroup,$t.index,bt.commands);return ei(Ae,$t.segmentGroup,io,V,ce)}function ci(U){return"object"==typeof U&&null!=U&&!U.outlets&&!U.segmentPath}function er(U){return"object"==typeof U&&null!=U&&U.outlets}function ei(U,ae,V,ce,Ae){let $t,bt={};ce&&Object.entries(ce).forEach(([zn,Lo])=>{bt[zn]=Array.isArray(Lo)?Lo.map(Ei=>`${Ei}`):`${Lo}`}),$t=U===ae?V:dr(U,ae,V);const io=co(Oo($t));return new uo(io,bt,Ae)}function dr(U,ae,V){const ce={};return Object.entries(U.children).forEach(([Ae,bt])=>{ce[Ae]=bt===ae?V:dr(bt,ae,V)}),new bo(U.segments,ce)}class Lr{isAbsolute;numberOfDoubleDots;commands;constructor(ae,V,ce){if(this.isAbsolute=ae,this.numberOfDoubleDots=V,this.commands=ce,ae&&ce.length>0&&ci(ce[0]))throw new n.wOt(4003,!1);const Ae=ce.find(er);if(Ae&&Ae!==Zn(ce))throw new n.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Fr{segmentGroup;processChildren;index;constructor(ae,V,ce){this.segmentGroup=ae,this.processChildren=V,this.index=ce}}function en(U,ae,V){if(U??=new bo([],{}),0===U.segments.length&&U.hasChildren())return po(U,ae,V);const ce=function ni(U,ae,V){let ce=0,Ae=ae;const bt={match:!1,pathIndex:0,commandIndex:0};for(;Ae=V.length)return bt;const $t=U.segments[Ae],io=V[ce];if(er(io))break;const zn=`${io}`,Lo=ce0&&void 0===zn)break;if(zn&&Lo&&"object"==typeof Lo&&void 0===Lo.outlets){if(!qi(zn,Lo,$t))return bt;ce+=2}else{if(!qi(zn,{},$t))return bt;ce++}Ae++}return{match:!0,pathIndex:Ae,commandIndex:ce}}(U,ae,V),Ae=V.slice(ce.commandIndex);if(ce.match&&ce.pathIndexbt!==jn)&&U.children[jn]&&1===U.numberOfChildren&&0===U.children[jn].segments.length){const bt=po(U.children[jn],ae,V);return new bo(U.segments,bt.children)}return Object.entries(ce).forEach(([bt,$t])=>{"string"==typeof $t&&($t=[$t]),null!==$t&&(Ae[bt]=en(U.children[bt],ae,$t))}),Object.entries(U.children).forEach(([bt,$t])=>{void 0===ce[bt]&&(Ae[bt]=$t)}),new bo(U.segments,Ae)}}function Ci(U,ae,V){const ce=U.segments.slice(0,ae);let Ae=0;for(;Ae{"string"==typeof ce&&(ce=[ce]),null!==ce&&(ae[V]=Ci(new bo([],{}),0,ce))}),ae}function Vi(U){const ae={};return Object.entries(U).forEach(([V,ce])=>ae[V]=`${ce}`),ae}function qi(U,ae,V){return U==V.path&&Fn(ae,V.parameters)}const ts="imperative";var Wi=function(U){return U[U.NavigationStart=0]="NavigationStart",U[U.NavigationEnd=1]="NavigationEnd",U[U.NavigationCancel=2]="NavigationCancel",U[U.NavigationError=3]="NavigationError",U[U.RoutesRecognized=4]="RoutesRecognized",U[U.ResolveStart=5]="ResolveStart",U[U.ResolveEnd=6]="ResolveEnd",U[U.GuardsCheckStart=7]="GuardsCheckStart",U[U.GuardsCheckEnd=8]="GuardsCheckEnd",U[U.RouteConfigLoadStart=9]="RouteConfigLoadStart",U[U.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",U[U.ChildActivationStart=11]="ChildActivationStart",U[U.ChildActivationEnd=12]="ChildActivationEnd",U[U.ActivationStart=13]="ActivationStart",U[U.ActivationEnd=14]="ActivationEnd",U[U.Scroll=15]="Scroll",U[U.NavigationSkipped=16]="NavigationSkipped",U}(Wi||{});class sr{id;url;constructor(ae,V){this.id=ae,this.url=V}}class Si extends sr{type=Wi.NavigationStart;navigationTrigger;restoredState;constructor(ae,V,ce="imperative",Ae=null){super(ae,V),this.navigationTrigger=ce,this.restoredState=Ae}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rs extends sr{urlAfterRedirects;type=Wi.NavigationEnd;constructor(ae,V,ce){super(ae,V),this.urlAfterRedirects=ce}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ir=function(U){return U[U.Redirect=0]="Redirect",U[U.SupersededByNewNavigation=1]="SupersededByNewNavigation",U[U.NoDataFromResolver=2]="NoDataFromResolver",U[U.GuardRejected=3]="GuardRejected",U}(Ir||{}),fs=function(U){return U[U.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",U[U.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",U}(fs||{});class Cs extends sr{reason;code;type=Wi.NavigationCancel;constructor(ae,V,ce,Ae){super(ae,V),this.reason=ce,this.code=Ae}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ps extends sr{reason;code;type=Wi.NavigationSkipped;constructor(ae,V,ce,Ae){super(ae,V),this.reason=ce,this.code=Ae}}class vi extends sr{error;target;type=Wi.NavigationError;constructor(ae,V,ce,Ae){super(ae,V),this.error=ce,this.target=Ae}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class As extends sr{urlAfterRedirects;state;type=Wi.RoutesRecognized;constructor(ae,V,ce,Ae){super(ae,V),this.urlAfterRedirects=ce,this.state=Ae}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ps extends sr{urlAfterRedirects;state;type=Wi.GuardsCheckStart;constructor(ae,V,ce,Ae){super(ae,V),this.urlAfterRedirects=ce,this.state=Ae}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ys extends sr{urlAfterRedirects;state;shouldActivate;type=Wi.GuardsCheckEnd;constructor(ae,V,ce,Ae,bt){super(ae,V),this.urlAfterRedirects=ce,this.state=Ae,this.shouldActivate=bt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Es extends sr{urlAfterRedirects;state;type=Wi.ResolveStart;constructor(ae,V,ce,Ae){super(ae,V),this.urlAfterRedirects=ce,this.state=Ae}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gs extends sr{urlAfterRedirects;state;type=Wi.ResolveEnd;constructor(ae,V,ce,Ae){super(ae,V),this.urlAfterRedirects=ce,this.state=Ae}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vs{route;type=Wi.RouteConfigLoadStart;constructor(ae){this.route=ae}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ks{route;type=Wi.RouteConfigLoadEnd;constructor(ae){this.route=ae}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Zr{snapshot;type=Wi.ChildActivationStart;constructor(ae){this.snapshot=ae}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wr{snapshot;type=Wi.ChildActivationEnd;constructor(ae){this.snapshot=ae}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ws{snapshot;type=Wi.ActivationStart;constructor(ae){this.snapshot=ae}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Or{snapshot;type=Wi.ActivationEnd;constructor(ae){this.snapshot=ae}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rt{routerEvent;position;anchor;type=Wi.Scroll;constructor(ae,V,ce){this.routerEvent=ae,this.position=V,this.anchor=ce}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ht{}class Dt{url;navigationBehaviorOptions;constructor(ae,V){this.url=ae,this.navigationBehaviorOptions=V}}function ti(U){return U.outlet||jn}function $i(U){if(!U)return null;if(U.routeConfig?._injector)return U.routeConfig._injector;for(let ae=U.parent;ae;ae=ae.parent){const V=ae.routeConfig;if(V?._loadedInjector)return V._loadedInjector;if(V?._injector)return V._injector}return null}class P{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return $i(this.route?.snapshot)??this.rootInjector}constructor(ae){this.rootInjector=ae,this.children=new re(this.rootInjector)}}let re=(()=>{class U{rootInjector;contexts=new Map;constructor(V){this.rootInjector=V}onChildOutletCreated(V,ce){const Ae=this.getOrCreateContext(V);Ae.outlet=ce,this.contexts.set(V,Ae)}onChildOutletDestroyed(V){const ce=this.getContext(V);ce&&(ce.outlet=null,ce.attachRef=null)}onOutletDeactivated(){const V=this.contexts;return this.contexts=new Map,V}onOutletReAttached(V){this.contexts=V}getOrCreateContext(V){let ce=this.getContext(V);return ce||(ce=new P(this.rootInjector),this.contexts.set(V,ce)),ce}getContext(V){return this.contexts.get(V)||null}static \u0275fac=function(ce){return new(ce||U)(n.KVO(n.uvJ))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();class ie{_root;constructor(ae){this._root=ae}get root(){return this._root.value}parent(ae){const V=this.pathFromRoot(ae);return V.length>1?V[V.length-2]:null}children(ae){const V=B(ae,this._root);return V?V.children.map(ce=>ce.value):[]}firstChild(ae){const V=B(ae,this._root);return V&&V.children.length>0?V.children[0].value:null}siblings(ae){const V=ne(ae,this._root);return V.length<2?[]:V[V.length-2].children.map(Ae=>Ae.value).filter(Ae=>Ae!==ae)}pathFromRoot(ae){return ne(ae,this._root).map(V=>V.value)}}function B(U,ae){if(U===ae.value)return ae;for(const V of ae.children){const ce=B(U,V);if(ce)return ce}return null}function ne(U,ae){if(U===ae.value)return[ae];for(const V of ae.children){const ce=ne(U,V);if(ce.length)return ce.unshift(ae),ce}return[]}class de{value;children;constructor(ae,V){this.value=ae,this.children=V}toString(){return`TreeNode(${this.value})`}}function Ce(U){const ae={};return U&&U.children.forEach(V=>ae[V.value.outlet]=V),ae}class Ke extends ie{snapshot;constructor(ae,V){super(ae),this.snapshot=V,nn(this,ae)}toString(){return this.snapshot.toString()}}function st(U){const ae=function rt(U){const bt=new Yt([],{},{},"",{},jn,U,null,{});return new $n("",new de(bt,[]))}(U),V=new s.t([new _o("",{})]),ce=new s.t({}),Ae=new s.t({}),bt=new s.t({}),$t=new s.t(""),io=new Kt(V,ce,bt,$t,Ae,jn,U,ae.root);return io.snapshot=ae.root,new Ke(new de(io,[]),ae)}class Kt{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(ae,V,ce,Ae,bt,$t,io,zn){this.urlSubject=ae,this.paramsSubject=V,this.queryParamsSubject=ce,this.fragmentSubject=Ae,this.dataSubject=bt,this.outlet=$t,this.component=io,this._futureSnapshot=zn,this.title=this.dataSubject?.pipe((0,ye.T)(Lo=>Lo[So]))??(0,g.of)(void 0),this.url=ae,this.params=V,this.queryParams=ce,this.fragment=Ae,this.data=bt}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.params.pipe((0,ye.T)(ae=>Nt(ae))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ye.T)(ae=>Nt(ae))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Et(U,ae,V="emptyOnly"){let ce;const{routeConfig:Ae}=U;return ce=null===ae||"always"!==V&&""!==Ae?.path&&(ae.component||ae.routeConfig?.loadComponent)?{params:{...U.params},data:{...U.data},resolve:{...U.data,...U._resolvedData??{}}}:{params:{...ae.params,...U.params},data:{...ae.data,...U.data},resolve:{...U.data,...ae.data,...Ae?.data,...U._resolvedData}},Ae&&Ho(Ae)&&(ce.resolve[So]=Ae.title),ce}class Yt{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[So]}constructor(ae,V,ce,Ae,bt,$t,io,zn,Lo){this.url=ae,this.params=V,this.queryParams=ce,this.fragment=Ae,this.data=bt,this.outlet=$t,this.component=io,this.routeConfig=zn,this._resolve=Lo}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??=Nt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Nt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ce=>ce.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class $n extends ie{url;constructor(ae,V){super(V),this.url=ae,nn(this,V)}toString(){return mo(this._root)}}function nn(U,ae){ae.value._routerState=U,ae.children.forEach(V=>nn(U,V))}function mo(U){const ae=U.children.length>0?` { ${U.children.map(mo).join(", ")} } `:"";return`${U.value}${ae}`}function yo(U){if(U.snapshot){const ae=U.snapshot,V=U._futureSnapshot;U.snapshot=V,Fn(ae.queryParams,V.queryParams)||U.queryParamsSubject.next(V.queryParams),ae.fragment!==V.fragment&&U.fragmentSubject.next(V.fragment),Fn(ae.params,V.params)||U.paramsSubject.next(V.params),function cn(U,ae){if(U.length!==ae.length)return!1;for(let V=0;VFn(V.parameters,ae[ce].parameters))}(U.url,ae.url);return V&&!(!U.parent!=!ae.parent)&&(!U.parent||Xo(U.parent,ae.parent))}function Ho(U){return"string"==typeof U.title||null===U.title}const Oi=new n.nKC("");let ui=(()=>{class U{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=jn;activateEvents=new n.bkB;deactivateEvents=new n.bkB;attachEvents=new n.bkB;detachEvents=new n.bkB;routerOutletData=(0,n.hFB)(void 0);parentContexts=(0,n.WQX)(re);location=(0,n.WQX)(n.c1b);changeDetector=(0,n.WQX)(n.gRc);inputBinder=(0,n.WQX)(ai,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(V){if(V.name){const{firstChange:ce,previousValue:Ae}=V.name;if(ce)return;this.isTrackedInParentContexts(Ae)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ae)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(V){return this.parentContexts.getContext(V)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const V=this.parentContexts.getContext(this.name);V?.route&&(V.attachRef?this.attach(V.attachRef,V.route):this.activateWith(V.route,V.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.wOt(4012,!1);this.location.detach();const V=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(V.instance),V}attach(V,ce){this.activated=V,this._activatedRoute=ce,this.location.insert(V.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(V.instance)}deactivate(){if(this.activated){const V=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(V)}}activateWith(V,ce){if(this.isActivated)throw new n.wOt(4013,!1);this._activatedRoute=V;const Ae=this.location,$t=V.snapshot.component,io=this.parentContexts.getOrCreateContext(this.name).children,zn=new Ko(V,io,Ae.injector,this.routerOutletData);this.activated=Ae.createComponent($t,{index:Ae.length,injector:zn,environmentInjector:ce}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(ce){return new(ce||U)};static \u0275dir=n.FsC({type:U,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[n.OA$]})}return U})();class Ko{route;childContexts;parent;outletData;__ngOutletInjector(ae){return new Ko(this.route,this.childContexts,ae,this.outletData)}constructor(ae,V,ce,Ae){this.route=ae,this.childContexts=V,this.parent=ce,this.outletData=Ae}get(ae,V){return ae===Kt?this.route:ae===re?this.childContexts:ae===Oi?this.outletData:this.parent.get(ae,V)}}const ai=new n.nKC("");let di=(()=>{class U{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(V){this.unsubscribeFromRouteData(V),this.subscribeToRouteData(V)}unsubscribeFromRouteData(V){this.outletDataSubscriptions.get(V)?.unsubscribe(),this.outletDataSubscriptions.delete(V)}subscribeToRouteData(V){const{activatedRoute:ce}=V,Ae=(0,x.z)([ce.queryParams,ce.params,ce.data]).pipe((0,je.n)(([bt,$t,io],zn)=>(io={...bt,...$t,...io},0===zn?(0,g.of)(io):Promise.resolve(io)))).subscribe(bt=>{if(!V.isActivated||!V.activatedComponentRef||V.activatedRoute!==ce||null===ce.component)return void this.unsubscribeFromRouteData(V);const $t=(0,n.HJs)(ce.component);if($t)for(const{templateName:io}of $t.inputs)V.activatedComponentRef.setInput(io,bt[io]);else this.unsubscribeFromRouteData(V)});this.outletDataSubscriptions.set(V,Ae)}static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac})}return U})();function ki(U,ae,V){if(V&&U.shouldReuseRoute(ae.value,V.value.snapshot)){const ce=V.value;ce._futureSnapshot=ae.value;const Ae=function li(U,ae,V){return ae.children.map(ce=>{for(const Ae of V.children)if(U.shouldReuseRoute(ce.value,Ae.value.snapshot))return ki(U,ce,Ae);return ki(U,ce)})}(U,ae,V);return new de(ce,Ae)}{if(U.shouldAttach(ae.value)){const bt=U.retrieve(ae.value);if(null!==bt){const $t=bt.route;return $t.value._futureSnapshot=ae.value,$t.children=ae.children.map(io=>ki(U,io)),$t}}const ce=function Mi(U){return new Kt(new s.t(U.url),new s.t(U.params),new s.t(U.queryParams),new s.t(U.fragment),new s.t(U.data),U.outlet,U.component,U)}(ae.value),Ae=ae.children.map(bt=>ki(U,bt));return new de(ce,Ae)}}class Cr{redirectTo;navigationBehaviorOptions;constructor(ae,V){this.redirectTo=ae,this.navigationBehaviorOptions=V}}const Jr="ngNavigationCancelingError";function Ii(U,ae){const{redirectTo:V,navigationBehaviorOptions:ce}=Gn(ae)?{redirectTo:ae,navigationBehaviorOptions:void 0}:ae,Ae=Nr(!1,Ir.Redirect);return Ae.url=V,Ae.navigationBehaviorOptions=ce,Ae}function Nr(U,ae){const V=new Error(`NavigationCancelingError: ${U||""}`);return V[Jr]=!0,V.cancellationCode=ae,V}function Li(U){return!!U&&U[Jr]}class m{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(ae,V,ce,Ae,bt){this.routeReuseStrategy=ae,this.futureState=V,this.currState=ce,this.forwardEvent=Ae,this.inputBindingEnabled=bt}activate(ae){const V=this.futureState._root,ce=this.currState?this.currState._root:null;this.deactivateChildRoutes(V,ce,ae),yo(this.futureState.root),this.activateChildRoutes(V,ce,ae)}deactivateChildRoutes(ae,V,ce){const Ae=Ce(V);ae.children.forEach(bt=>{const $t=bt.value.outlet;this.deactivateRoutes(bt,Ae[$t],ce),delete Ae[$t]}),Object.values(Ae).forEach(bt=>{this.deactivateRouteAndItsChildren(bt,ce)})}deactivateRoutes(ae,V,ce){const Ae=ae.value,bt=V?V.value:null;if(Ae===bt)if(Ae.component){const $t=ce.getContext(Ae.outlet);$t&&this.deactivateChildRoutes(ae,V,$t.children)}else this.deactivateChildRoutes(ae,V,ce);else bt&&this.deactivateRouteAndItsChildren(V,ce)}deactivateRouteAndItsChildren(ae,V){ae.value.component&&this.routeReuseStrategy.shouldDetach(ae.value.snapshot)?this.detachAndStoreRouteSubtree(ae,V):this.deactivateRouteAndOutlet(ae,V)}detachAndStoreRouteSubtree(ae,V){const ce=V.getContext(ae.value.outlet),Ae=ce&&ae.value.component?ce.children:V,bt=Ce(ae);for(const $t of Object.values(bt))this.deactivateRouteAndItsChildren($t,Ae);if(ce&&ce.outlet){const $t=ce.outlet.detach(),io=ce.children.onOutletDeactivated();this.routeReuseStrategy.store(ae.value.snapshot,{componentRef:$t,route:ae,contexts:io})}}deactivateRouteAndOutlet(ae,V){const ce=V.getContext(ae.value.outlet),Ae=ce&&ae.value.component?ce.children:V,bt=Ce(ae);for(const $t of Object.values(bt))this.deactivateRouteAndItsChildren($t,Ae);ce&&(ce.outlet&&(ce.outlet.deactivate(),ce.children.onOutletDeactivated()),ce.attachRef=null,ce.route=null)}activateChildRoutes(ae,V,ce){const Ae=Ce(V);ae.children.forEach(bt=>{this.activateRoutes(bt,Ae[bt.value.outlet],ce),this.forwardEvent(new Or(bt.value.snapshot))}),ae.children.length&&this.forwardEvent(new Wr(ae.value.snapshot))}activateRoutes(ae,V,ce){const Ae=ae.value,bt=V?V.value:null;if(yo(Ae),Ae===bt)if(Ae.component){const $t=ce.getOrCreateContext(Ae.outlet);this.activateChildRoutes(ae,V,$t.children)}else this.activateChildRoutes(ae,V,ce);else if(Ae.component){const $t=ce.getOrCreateContext(Ae.outlet);if(this.routeReuseStrategy.shouldAttach(Ae.snapshot)){const io=this.routeReuseStrategy.retrieve(Ae.snapshot);this.routeReuseStrategy.store(Ae.snapshot,null),$t.children.onOutletReAttached(io.contexts),$t.attachRef=io.componentRef,$t.route=io.route.value,$t.outlet&&$t.outlet.attach(io.componentRef,io.route.value),yo(io.route.value),this.activateChildRoutes(ae,null,$t.children)}else $t.attachRef=null,$t.route=Ae,$t.outlet&&$t.outlet.activateWith(Ae,$t.injector),this.activateChildRoutes(ae,null,$t.children)}else this.activateChildRoutes(ae,null,ce)}}class se{path;route;constructor(ae){this.path=ae,this.route=this.path[this.path.length-1]}}class te{component;route;constructor(ae,V){this.component=ae,this.route=V}}function ge(U,ae,V){const ce=U._root;return mt(ce,ae?ae._root:null,V,[ce.value])}function Re(U,ae){const V=Symbol(),ce=ae.get(U,V);return ce===V?"function"!=typeof U||(0,n.LfX)(U)?ae.get(U):U:ce}function mt(U,ae,V,ce,Ae={canDeactivateChecks:[],canActivateChecks:[]}){const bt=Ce(ae);return U.children.forEach($t=>{(function qe(U,ae,V,ce,Ae={canDeactivateChecks:[],canActivateChecks:[]}){const bt=U.value,$t=ae?ae.value:null,io=V?V.getContext(U.value.outlet):null;if($t&&bt.routeConfig===$t.routeConfig){const zn=function Ye(U,ae,V){if("function"==typeof V)return V(U,ae);switch(V){case"pathParamsChange":return!Go(U.url,ae.url);case"pathParamsOrQueryParamsChange":return!Go(U.url,ae.url)||!Fn(U.queryParams,ae.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xo(U,ae)||!Fn(U.queryParams,ae.queryParams);default:return!Xo(U,ae)}}($t,bt,bt.routeConfig.runGuardsAndResolvers);zn?Ae.canActivateChecks.push(new se(ce)):(bt.data=$t.data,bt._resolvedData=$t._resolvedData),mt(U,ae,bt.component?io?io.children:null:V,ce,Ae),zn&&io&&io.outlet&&io.outlet.isActivated&&Ae.canDeactivateChecks.push(new te(io.outlet.component,$t))}else $t&&ut(ae,io,Ae),Ae.canActivateChecks.push(new se(ce)),mt(U,null,bt.component?io?io.children:null:V,ce,Ae)})($t,bt[$t.value.outlet],V,ce.concat([$t.value]),Ae),delete bt[$t.value.outlet]}),Object.entries(bt).forEach(([$t,io])=>ut(io,V.getContext($t),Ae)),Ae}function ut(U,ae,V){const ce=Ce(U),Ae=U.value;Object.entries(ce).forEach(([bt,$t])=>{ut($t,Ae.component?ae?ae.children.getContext(bt):null:ae,V)}),V.canDeactivateChecks.push(new te(Ae.component&&ae&&ae.outlet&&ae.outlet.isActivated?ae.outlet.component:null,Ae))}function ht(U){return"function"==typeof U}function _e(U){return U instanceof _.G||"EmptyError"===U?.name}const He=Symbol("INITIAL_VALUE");function nt(){return(0,je.n)(U=>(0,x.z)(U.map(ae=>ae.pipe((0,ke.s)(1),(0,De.Z)(He)))).pipe((0,ye.T)(ae=>{for(const V of ae)if(!0!==V){if(V===He)return He;if(!1===V||Ut(V))return V}return!0}),(0,Je.p)(ae=>ae!==He),(0,ke.s)(1)))}function Ut(U){return Gn(U)||U instanceof Cr}function Pn(U){return(0,R.F)(Ct(ae=>{if("boolean"!=typeof ae)throw Ii(0,ae)}),(0,ye.T)(ae=>!0===ae))}class ro{segmentGroup;constructor(ae){this.segmentGroup=ae||null}}class Bo extends Error{urlTree;constructor(ae){super(),this.urlTree=ae}}function Mo(U){return K(new ro(U))}class ji{urlSerializer;urlTree;constructor(ae,V){this.urlSerializer=ae,this.urlTree=V}lineralizeSegments(ae,V){let ce=[],Ae=V.root;for(;;){if(ce=ce.concat(Ae.segments),0===Ae.numberOfChildren)return(0,g.of)(ce);if(Ae.numberOfChildren>1||!Ae.children[jn])return K(new n.wOt(4e3,!1));Ae=Ae.children[jn]}}applyRedirectCommands(ae,V,ce,Ae,bt){if("string"!=typeof V){const io=V,{queryParams:zn,fragment:Lo,routeConfig:Ei,url:tr,outlet:Bi,params:as,data:jr,title:Hs}=Ae,Qs=(0,n.N4e)(bt,()=>io({params:as,data:jr,queryParams:zn,fragment:Lo,routeConfig:Ei,url:tr,outlet:Bi,title:Hs}));if(Qs instanceof uo)throw new Bo(Qs);V=Qs}const $t=this.applyRedirectCreateUrlTree(V,this.urlSerializer.parse(V),ae,ce);if("/"===V[0])throw new Bo($t);return $t}applyRedirectCreateUrlTree(ae,V,ce,Ae){const bt=this.createSegmentGroup(ae,V.root,ce,Ae);return new uo(bt,this.createQueryParams(V.queryParams,this.urlTree.queryParams),V.fragment)}createQueryParams(ae,V){const ce={};return Object.entries(ae).forEach(([Ae,bt])=>{if("string"==typeof bt&&":"===bt[0]){const io=bt.substring(1);ce[Ae]=V[io]}else ce[Ae]=bt}),ce}createSegmentGroup(ae,V,ce,Ae){const bt=this.createSegments(ae,V.segments,ce,Ae);let $t={};return Object.entries(V.children).forEach(([io,zn])=>{$t[io]=this.createSegmentGroup(ae,zn,ce,Ae)}),new bo(bt,$t)}createSegments(ae,V,ce,Ae){return V.map(bt=>":"===bt.path[0]?this.findPosParam(ae,bt,Ae):this.findOrReturn(bt,ce))}findPosParam(ae,V,ce){const Ae=ce[V.path.substring(1)];if(!Ae)throw new n.wOt(4001,!1);return Ae}findOrReturn(ae,V){let ce=0;for(const Ae of V){if(Ae.path===ae.path)return V.splice(ce),Ae;ce++}return ae}}const gr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function N(U,ae,V,ce,Ae){const bt=xe(U,ae,V);return bt.matched?(ce=function Jn(U,ae){return U.providers&&!U._injector&&(U._injector=(0,n.Ol2)(U.providers,ae,`Route: ${U.path}`)),U._injector??ae}(ae,ce),function ao(U,ae,V,ce){const Ae=ae.canMatch;if(!Ae||0===Ae.length)return(0,g.of)(!0);const bt=Ae.map($t=>{const io=Re($t,U);return Bn(function Ee(U){return U&&ht(U.canMatch)}(io)?io.canMatch(ae,V):(0,n.N4e)(U,()=>io(ae,V)))});return(0,g.of)(bt).pipe(nt(),Pn())}(ce,ae,V).pipe((0,ye.T)($t=>!0===$t?bt:{...gr}))):(0,g.of)(bt)}function xe(U,ae,V){if("**"===ae.path)return function Ne(U){return{matched:!0,parameters:U.length>0?Zn(U).parameters:{},consumedSegments:U,remainingSegments:[],positionalParamSegments:{}}}(V);if(""===ae.path)return"full"===ae.pathMatch&&(U.hasChildren()||V.length>0)?{...gr}:{matched:!0,consumedSegments:[],remainingSegments:V,parameters:{},positionalParamSegments:{}};const Ae=(ae.matcher||Vt)(V,U,ae);if(!Ae)return{...gr};const bt={};Object.entries(Ae.posParams??{}).forEach(([io,zn])=>{bt[io]=zn.path});const $t=Ae.consumed.length>0?{...bt,...Ae.consumed[Ae.consumed.length-1].parameters}:bt;return{matched:!0,consumedSegments:Ae.consumed,remainingSegments:V.slice(Ae.consumed.length),parameters:$t,positionalParamSegments:Ae.posParams??{}}}function dt(U,ae,V,ce){return V.length>0&&function xn(U,ae,V){return V.some(ce=>Do(U,ae,ce)&&ti(ce)!==jn)}(U,V,ce)?{segmentGroup:new bo(ae,gn(ce,new bo(V,U.children))),slicedSegments:[]}:0===V.length&&function Yn(U,ae,V){return V.some(ce=>Do(U,ae,ce))}(U,V,ce)?{segmentGroup:new bo(U.segments,zt(U,V,ce,U.children)),slicedSegments:V}:{segmentGroup:new bo(U.segments,U.children),slicedSegments:V}}function zt(U,ae,V,ce){const Ae={};for(const bt of V)if(Do(U,ae,bt)&&!ce[ti(bt)]){const $t=new bo([],{});Ae[ti(bt)]=$t}return{...ce,...Ae}}function gn(U,ae){const V={};V[jn]=ae;for(const ce of U)if(""===ce.path&&ti(ce)!==jn){const Ae=new bo([],{});V[ti(ce)]=Ae}return V}function Do(U,ae,V){return(!(U.hasChildren()||ae.length>0)||"full"!==V.pathMatch)&&""===V.path}class oi{}class ir{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(ae,V,ce,Ae,bt,$t,io){this.injector=ae,this.configLoader=V,this.rootComponentType=ce,this.config=Ae,this.urlTree=bt,this.paramsInheritanceStrategy=$t,this.urlSerializer=io,this.applyRedirects=new ji(this.urlSerializer,this.urlTree)}noMatchError(ae){return new n.wOt(4002,`'${ae.segmentGroup}'`)}recognize(){const ae=dt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(ae).pipe((0,ye.T)(({children:V,rootSnapshot:ce})=>{const Ae=new de(ce,V),bt=new $n("",Ae),$t=function go(U,ae,V=null,ce=null){return yi(Vo(U),ae,V,ce)}(ce,[],this.urlTree.queryParams,this.urlTree.fragment);return $t.queryParams=this.urlTree.queryParams,bt.url=this.urlSerializer.serialize($t),{state:bt,tree:$t}}))}match(ae){const V=new Yt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),jn,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,ae,jn,V).pipe((0,ye.T)(ce=>({children:ce,rootSnapshot:V})),Xe(ce=>{if(ce instanceof Bo)return this.urlTree=ce.urlTree,this.match(ce.urlTree.root);throw ce instanceof ro?this.noMatchError(ce):ce}))}processSegmentGroup(ae,V,ce,Ae,bt){return 0===ce.segments.length&&ce.hasChildren()?this.processChildren(ae,V,ce,bt):this.processSegment(ae,V,ce,ce.segments,Ae,!0,bt).pipe((0,ye.T)($t=>$t instanceof de?[$t]:[]))}processChildren(ae,V,ce,Ae){const bt=[];for(const $t of Object.keys(ce.children))"primary"===$t?bt.unshift($t):bt.push($t);return(0,f.H)(bt).pipe((0,Bt.H)($t=>{const io=ce.children[$t],zn=function Ti(U,ae){const V=U.filter(ce=>ti(ce)===ae);return V.push(...U.filter(ce=>ti(ce)!==ae)),V}(V,$t);return this.processSegmentGroup(ae,zn,io,$t,Ae)}),function On(U,ae){return(0,et.N)(function e(U,ae,V,ce,Ae){return(bt,$t)=>{let io=V,zn=ae,Lo=0;bt.subscribe((0,sn._)($t,Ei=>{const tr=Lo++;zn=io?U(zn,Ei,tr):(io=!0,Ei),ce&&$t.next(zn)},Ae&&(()=>{io&&$t.next(zn),$t.complete()})))}}(U,ae,arguments.length>=2,!0))}(($t,io)=>($t.push(...io),$t)),(0,Pt.U)(null),function we(U,ae){const V=arguments.length>=2;return ce=>ce.pipe(U?(0,Je.p)((Ae,bt)=>U(Ae,bt,ce)):tt.D,wt(1),V?(0,Pt.U)(ae):(0,At.v)(()=>new _.G))}(),(0,lt.Z)($t=>{if(null===$t)return Mo(ce);const io=Us($t);return function bi(U){U.sort((ae,V)=>ae.value.outlet===jn?-1:V.value.outlet===jn?1:ae.value.outlet.localeCompare(V.value.outlet))}(io),(0,g.of)(io)}))}processSegment(ae,V,ce,Ae,bt,$t,io){return(0,f.H)(V).pipe((0,Bt.H)(zn=>this.processSegmentAgainstRoute(zn._injector??ae,V,zn,ce,Ae,bt,$t,io).pipe(Xe(Lo=>{if(Lo instanceof ro)return(0,g.of)(null);throw Lo}))),(0,Mt.$)(zn=>!!zn),Xe(zn=>{if(_e(zn))return function Uo(U,ae,V){return 0===ae.length&&!U.children[V]}(ce,Ae,bt)?(0,g.of)(new oi):Mo(ce);throw zn}))}processSegmentAgainstRoute(ae,V,ce,Ae,bt,$t,io,zn){return ti(ce)===$t||$t!==jn&&Do(Ae,bt,ce)?void 0===ce.redirectTo?this.matchSegmentAgainstRoute(ae,Ae,ce,bt,$t,zn):this.allowRedirects&&io?this.expandSegmentAgainstRouteUsingRedirect(ae,Ae,V,ce,bt,$t,zn):Mo(Ae):Mo(Ae)}expandSegmentAgainstRouteUsingRedirect(ae,V,ce,Ae,bt,$t,io){const{matched:zn,parameters:Lo,consumedSegments:Ei,positionalParamSegments:tr,remainingSegments:Bi}=xe(V,Ae,bt);if(!zn)return Mo(V);"string"==typeof Ae.redirectTo&&"/"===Ae.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const as=new Yt(bt,Lo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ia(Ae),ti(Ae),Ae.component??Ae._loadedComponent??null,Ae,pa(Ae)),jr=Et(as,io,this.paramsInheritanceStrategy);as.params=Object.freeze(jr.params),as.data=Object.freeze(jr.data);const Hs=this.applyRedirects.applyRedirectCommands(Ei,Ae.redirectTo,tr,as,ae);return this.applyRedirects.lineralizeSegments(Ae,Hs).pipe((0,lt.Z)(Qs=>this.processSegment(ae,ce,V,Qs.concat(Bi),$t,!1,io)))}matchSegmentAgainstRoute(ae,V,ce,Ae,bt,$t){const io=N(V,ce,Ae,ae);return"**"===ce.path&&(V.children={}),io.pipe((0,je.n)(zn=>zn.matched?this.getChildConfig(ae=ce._injector??ae,ce,Ae).pipe((0,je.n)(({routes:Lo})=>{const Ei=ce._loadedInjector??ae,{parameters:tr,consumedSegments:Bi,remainingSegments:as}=zn,jr=new Yt(Bi,tr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ia(ce),ti(ce),ce.component??ce._loadedComponent??null,ce,pa(ce)),Hs=Et(jr,$t,this.paramsInheritanceStrategy);jr.params=Object.freeze(Hs.params),jr.data=Object.freeze(Hs.data);const{segmentGroup:Qs,slicedSegments:Zs}=dt(V,Bi,as,Lo);if(0===Zs.length&&Qs.hasChildren())return this.processChildren(Ei,Lo,Qs,jr).pipe((0,ye.T)(Gs=>new de(jr,Gs)));if(0===Lo.length&&0===Zs.length)return(0,g.of)(new de(jr,[]));const Za=ti(ce)===bt;return this.processSegment(Ei,Lo,Qs,Zs,Za?jn:bt,!0,jr).pipe((0,ye.T)(Gs=>new de(jr,Gs instanceof de?[Gs]:[])))})):Mo(V)))}getChildConfig(ae,V,ce){return V.children?(0,g.of)({routes:V.children,injector:ae}):V.loadChildren?void 0!==V._loadedRoutes?(0,g.of)({routes:V._loadedRoutes,injector:V._loadedInjector}):function Ue(U,ae,V,ce){const Ae=ae.canLoad;if(void 0===Ae||0===Ae.length)return(0,g.of)(!0);const bt=Ae.map($t=>{const io=Re($t,U);return Bn(function Gt(U){return U&&ht(U.canLoad)}(io)?io.canLoad(ae,V):(0,n.N4e)(U,()=>io(ae,V)))});return(0,g.of)(bt).pipe(nt(),Pn())}(ae,V,ce).pipe((0,lt.Z)(Ae=>Ae?this.configLoader.loadChildren(ae,V).pipe(Ct(bt=>{V._loadedRoutes=bt.routes,V._loadedInjector=bt.injector})):function Dr(){return K(Nr(!1,Ir.GuardRejected))}())):(0,g.of)({routes:[],injector:ae})}}function Rs(U){const ae=U.value.routeConfig;return ae&&""===ae.path}function Us(U){const ae=[],V=new Set;for(const ce of U){if(!Rs(ce)){ae.push(ce);continue}const Ae=ae.find(bt=>ce.value.routeConfig===bt.value.routeConfig);void 0!==Ae?(Ae.children.push(...ce.children),V.add(Ae)):ae.push(ce)}for(const ce of V){const Ae=Us(ce.children);ae.push(new de(ce.value,Ae))}return ae.filter(ce=>!V.has(ce))}function ia(U){return U.data||{}}function pa(U){return U.resolve||{}}function ya(U){const ae=U.children.map(V=>ya(V)).flat();return[U,...ae]}function Br(U){return(0,je.n)(ae=>{const V=U(ae);return V?(0,f.H)(V).pipe((0,ye.T)(()=>ae)):(0,g.of)(ae)})}let Zo=(()=>{class U{buildTitle(V){let ce,Ae=V.root;for(;void 0!==Ae;)ce=this.getResolvedTitleForRoute(Ae)??ce,Ae=Ae.children.find(bt=>bt.outlet===jn);return ce}getResolvedTitleForRoute(V){return V.data[So]}static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:()=>(0,n.WQX)(Zi),providedIn:"root"})}return U})(),Zi=(()=>{class U extends Zo{title;constructor(V){super(),this.title=V}updateTitle(V){const ce=this.buildTitle(V);void 0!==ce&&this.title.setTitle(ce)}static \u0275fac=function(ce){return new(ce||U)(n.KVO(En.hE))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();const ss=new n.nKC("",{providedIn:"root",factory:()=>({})});let bs=(()=>{class U{static \u0275fac=function(ce){return new(ce||U)};static \u0275cmp=n.VBU({type:U,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(ce,Ae){1&ce&&n.nrm(0,"router-outlet")},dependencies:[ui],encapsulation:2})}return U})();function $s(U){const ae=U.children&&U.children.map($s),V=ae?{...U,children:ae}:{...U};return!V.component&&!V.loadComponent&&(ae||V.loadChildren)&&V.outlet&&V.outlet!==jn&&(V.component=bs),V}const xs=new n.nKC("");let Ea=(()=>{class U{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,n.WQX)(n.Ql9);loadComponent(V){if(this.componentLoaders.get(V))return this.componentLoaders.get(V);if(V._loadedComponent)return(0,g.of)(V._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(V);const ce=Bn(V.loadComponent()).pipe((0,ye.T)(ra),Ct(bt=>{this.onLoadEndListener&&this.onLoadEndListener(V),V._loadedComponent=bt}),(0,Ot.j)(()=>{this.componentLoaders.delete(V)})),Ae=new he.G(ce,()=>new pe.B).pipe((0,It.B)());return this.componentLoaders.set(V,Ae),Ae}loadChildren(V,ce){if(this.childrenLoaders.get(ce))return this.childrenLoaders.get(ce);if(ce._loadedRoutes)return(0,g.of)({routes:ce._loadedRoutes,injector:ce._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ce);const bt=function qr(U,ae,V,ce){return Bn(U.loadChildren()).pipe((0,ye.T)(ra),(0,lt.Z)(Ae=>Ae instanceof n.Co$||Array.isArray(Ae)?(0,g.of)(Ae):(0,f.H)(ae.compileModuleAsync(Ae))),(0,ye.T)(Ae=>{ce&&ce(U);let bt,$t,io=!1;return Array.isArray(Ae)?($t=Ae,!0):(bt=Ae.create(V).injector,$t=bt.get(xs,[],{optional:!0,self:!0}).flat()),{routes:$t.map($s),injector:bt}}))}(ce,this.compiler,V,this.onLoadEndListener).pipe((0,Ot.j)(()=>{this.childrenLoaders.delete(ce)})),$t=new he.G(bt,()=>new pe.B).pipe((0,It.B)());return this.childrenLoaders.set(ce,$t),$t}static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function ra(U){return function ms(U){return U&&"object"==typeof U&&"default"in U}(U)?U.default:U}let ar=(()=>{class U{static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:()=>(0,n.WQX)(ue),providedIn:"root"})}return U})(),ue=(()=>{class U{shouldProcessUrl(V){return!0}extract(V){return V}merge(V,ce){return V}static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();const gt=new n.nKC(""),Oe=new n.nKC("");function Ze(U,ae,V){const ce=U.get(Oe),Ae=U.get(Le.qQ);return U.get(n.SKi).runOutsideAngular(()=>{if(!Ae.startViewTransition||ce.skipNextTransition)return ce.skipNextTransition=!1,new Promise(Lo=>setTimeout(Lo));let bt;const $t=new Promise(Lo=>{bt=Lo}),io=Ae.startViewTransition(()=>(bt(),function bn(U){return new Promise(ae=>{(0,n.mal)({read:()=>setTimeout(ae)},{injector:U})})}(U))),{onViewTransitionCreated:zn}=ce;return zn&&(0,n.N4e)(U,()=>zn({transition:io,from:ae,to:V})),$t})}const Eo=new n.nKC("");let $o=(()=>{class U{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new pe.B;transitionAbortSubject=new pe.B;configLoader=(0,n.WQX)(Ea);environmentInjector=(0,n.WQX)(n.uvJ);destroyRef=(0,n.WQX)(n.abz);urlSerializer=(0,n.WQX)(ri);rootContexts=(0,n.WQX)(re);location=(0,n.WQX)(Le.aZ);inputBindingEnabled=null!==(0,n.WQX)(ai,{optional:!0});titleStrategy=(0,n.WQX)(Zo);options=(0,n.WQX)(ss,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,n.WQX)(ar);createViewTransition=(0,n.WQX)(gt,{optional:!0});navigationErrorHandler=(0,n.WQX)(Eo,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,g.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=Ae=>this.events.next(new ks(Ae)),this.configLoader.onLoadStartListener=Ae=>this.events.next(new vs(Ae)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(V){const ce=++this.navigationId;this.transitions?.next({...this.transitions.value,...V,id:ce})}setupNavigations(V,ce,Ae){return this.transitions=new s.t({id:0,currentUrlTree:ce,currentRawUrl:ce,extractedUrl:this.urlHandlingStrategy.extract(ce),urlAfterRedirects:this.urlHandlingStrategy.extract(ce),rawUrl:ce,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ts,restoredState:null,currentSnapshot:Ae.snapshot,targetSnapshot:null,currentRouterState:Ae,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Je.p)(bt=>0!==bt.id),(0,ye.T)(bt=>({...bt,extractedUrl:this.urlHandlingStrategy.extract(bt.rawUrl)})),(0,je.n)(bt=>{let $t=!1,io=!1;return(0,g.of)(bt).pipe((0,je.n)(zn=>{if(this.navigationId>bt.id)return this.cancelNavigationTransition(bt,"",Ir.SupersededByNewNavigation),L.w;this.currentTransition=bt,this.currentNavigation={id:zn.id,initialUrl:zn.rawUrl,extractedUrl:zn.extractedUrl,targetBrowserUrl:"string"==typeof zn.extras.browserUrl?this.urlSerializer.parse(zn.extras.browserUrl):zn.extras.browserUrl,trigger:zn.source,extras:zn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Lo=!V.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Lo&&"reload"!==(zn.extras.onSameUrlNavigation??V.onSameUrlNavigation)){const tr="";return this.events.next(new ps(zn.id,this.urlSerializer.serialize(zn.rawUrl),tr,fs.IgnoredSameUrlNavigation)),zn.resolve(!1),L.w}if(this.urlHandlingStrategy.shouldProcessUrl(zn.rawUrl))return(0,g.of)(zn).pipe((0,je.n)(tr=>{const Bi=this.transitions?.getValue();return this.events.next(new Si(tr.id,this.urlSerializer.serialize(tr.extractedUrl),tr.source,tr.restoredState)),Bi!==this.transitions?.getValue()?L.w:Promise.resolve(tr)}),function Ds(U,ae,V,ce,Ae,bt){return(0,lt.Z)($t=>function Ni(U,ae,V,ce,Ae,bt,$t="emptyOnly"){return new ir(U,ae,V,ce,Ae,$t,bt).recognize()}(U,ae,V,ce,$t.extractedUrl,Ae,bt).pipe((0,ye.T)(({state:io,tree:zn})=>({...$t,targetSnapshot:io,urlAfterRedirects:zn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,V.config,this.urlSerializer,this.paramsInheritanceStrategy),Ct(tr=>{bt.targetSnapshot=tr.targetSnapshot,bt.urlAfterRedirects=tr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:tr.urlAfterRedirects};const Bi=new As(tr.id,this.urlSerializer.serialize(tr.extractedUrl),this.urlSerializer.serialize(tr.urlAfterRedirects),tr.targetSnapshot);this.events.next(Bi)}));if(Lo&&this.urlHandlingStrategy.shouldProcessUrl(zn.currentRawUrl)){const{id:tr,extractedUrl:Bi,source:as,restoredState:jr,extras:Hs}=zn,Qs=new Si(tr,this.urlSerializer.serialize(Bi),as,jr);this.events.next(Qs);const Zs=st(this.rootComponentType).snapshot;return this.currentTransition=bt={...zn,targetSnapshot:Zs,urlAfterRedirects:Bi,extras:{...Hs,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Bi,(0,g.of)(bt)}{const tr="";return this.events.next(new ps(zn.id,this.urlSerializer.serialize(zn.extractedUrl),tr,fs.IgnoredByUrlHandlingStrategy)),zn.resolve(!1),L.w}}),Ct(zn=>{const Lo=new Ps(zn.id,this.urlSerializer.serialize(zn.extractedUrl),this.urlSerializer.serialize(zn.urlAfterRedirects),zn.targetSnapshot);this.events.next(Lo)}),(0,ye.T)(zn=>(this.currentTransition=bt={...zn,guards:ge(zn.targetSnapshot,zn.currentSnapshot,this.rootContexts)},bt)),function an(U,ae){return(0,lt.Z)(V=>{const{targetSnapshot:ce,currentSnapshot:Ae,guards:{canActivateChecks:bt,canDeactivateChecks:$t}}=V;return 0===$t.length&&0===bt.length?(0,g.of)({...V,guardsResult:!0}):function on(U,ae,V,ce){return(0,f.H)(U).pipe((0,lt.Z)(Ae=>function Pe(U,ae,V,ce,Ae){const bt=ae&&ae.routeConfig?ae.routeConfig.canDeactivate:null;if(!bt||0===bt.length)return(0,g.of)(!0);const $t=bt.map(io=>{const zn=$i(ae)??Ae,Lo=Re(io,zn);return Bn(function Q(U){return U&&ht(U.canDeactivate)}(Lo)?Lo.canDeactivate(U,ae,V,ce):(0,n.N4e)(zn,()=>Lo(U,ae,V,ce))).pipe((0,Mt.$)())});return(0,g.of)($t).pipe(nt())}(Ae.component,Ae.route,V,ae,ce)),(0,Mt.$)(Ae=>!0!==Ae,!0))}($t,ce,Ae,U).pipe((0,lt.Z)(io=>io&&function yt(U){return"boolean"==typeof U}(io)?function Mn(U,ae,V,ce){return(0,f.H)(ae).pipe((0,Bt.H)(Ae=>(0,y.x)(function ve(U,ae){return null!==U&&ae&&ae(new Zr(U)),(0,g.of)(!0)}(Ae.route.parent,ce),function Xt(U,ae){return null!==U&&ae&&ae(new ws(U)),(0,g.of)(!0)}(Ae.route,ce),function Y(U,ae,V){const ce=ae[ae.length-1],bt=ae.slice(0,ae.length-1).reverse().map($t=>function Be(U){const ae=U.routeConfig?U.routeConfig.canActivateChild:null;return ae&&0!==ae.length?{node:U,guards:ae}:null}($t)).filter($t=>null!==$t).map($t=>I(()=>{const io=$t.guards.map(zn=>{const Lo=$i($t.node)??V,Ei=Re(zn,Lo);return Bn(function z(U){return U&&ht(U.canActivateChild)}(Ei)?Ei.canActivateChild(ce,U):(0,n.N4e)(Lo,()=>Ei(ce,U))).pipe((0,Mt.$)())});return(0,g.of)(io).pipe(nt())}));return(0,g.of)(bt).pipe(nt())}(U,Ae.path,V),function Fe(U,ae,V){const ce=ae.routeConfig?ae.routeConfig.canActivate:null;if(!ce||0===ce.length)return(0,g.of)(!0);const Ae=ce.map(bt=>I(()=>{const $t=$i(ae)??V,io=Re(bt,$t);return Bn(function Jt(U){return U&&ht(U.canActivate)}(io)?io.canActivate(ae,U):(0,n.N4e)($t,()=>io(ae,U))).pipe((0,Mt.$)())}));return(0,g.of)(Ae).pipe(nt())}(U,Ae.route,V))),(0,Mt.$)(Ae=>!0!==Ae,!0))}(ce,bt,U,ae):(0,g.of)(io)),(0,ye.T)(io=>({...V,guardsResult:io})))})}(this.environmentInjector,zn=>this.events.next(zn)),Ct(zn=>{if(bt.guardsResult=zn.guardsResult,zn.guardsResult&&"boolean"!=typeof zn.guardsResult)throw Ii(0,zn.guardsResult);const Lo=new ys(zn.id,this.urlSerializer.serialize(zn.extractedUrl),this.urlSerializer.serialize(zn.urlAfterRedirects),zn.targetSnapshot,!!zn.guardsResult);this.events.next(Lo)}),(0,Je.p)(zn=>!!zn.guardsResult||(this.cancelNavigationTransition(zn,"",Ir.GuardRejected),!1)),Br(zn=>{if(zn.guards.canActivateChecks.length)return(0,g.of)(zn).pipe(Ct(Lo=>{const Ei=new Es(Lo.id,this.urlSerializer.serialize(Lo.extractedUrl),this.urlSerializer.serialize(Lo.urlAfterRedirects),Lo.targetSnapshot);this.events.next(Ei)}),(0,je.n)(Lo=>{let Ei=!1;return(0,g.of)(Lo).pipe(function qa(U,ae){return(0,lt.Z)(V=>{const{targetSnapshot:ce,guards:{canActivateChecks:Ae}}=V;if(!Ae.length)return(0,g.of)(V);const bt=new Set(Ae.map(zn=>zn.route)),$t=new Set;for(const zn of bt)if(!$t.has(zn))for(const Lo of ya(zn))$t.add(Lo);let io=0;return(0,f.H)($t).pipe((0,Bt.H)(zn=>bt.has(zn)?function Ua(U,ae,V,ce){const Ae=U.routeConfig,bt=U._resolve;return void 0!==Ae?.title&&!Ho(Ae)&&(bt[So]=Ae.title),function Ys(U,ae,V,ce){const Ae=pn(U);if(0===Ae.length)return(0,g.of)({});const bt={};return(0,f.H)(Ae).pipe((0,lt.Z)($t=>function ja(U,ae,V,ce){const Ae=$i(ae)??ce,bt=Re(U,Ae);return Bn(bt.resolve?bt.resolve(ae,V):(0,n.N4e)(Ae,()=>bt(ae,V)))}(U[$t],ae,V,ce).pipe((0,Mt.$)(),Ct(io=>{if(io instanceof Cr)throw Ii(new Yi,io);bt[$t]=io}))),wt(1),(0,ye.T)(()=>bt),Xe($t=>_e($t)?L.w:K($t)))}(bt,U,ae,ce).pipe((0,ye.T)($t=>(U._resolvedData=$t,U.data=Et(U,U.parent,V).resolve,null)))}(zn,ce,U,ae):(zn.data=Et(zn,zn.parent,U).resolve,(0,g.of)(void 0))),Ct(()=>io++),wt(1),(0,lt.Z)(zn=>io===$t.size?(0,g.of)(V):L.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),Ct({next:()=>Ei=!0,complete:()=>{Ei||this.cancelNavigationTransition(Lo,"",Ir.NoDataFromResolver)}}))}),Ct(Lo=>{const Ei=new gs(Lo.id,this.urlSerializer.serialize(Lo.extractedUrl),this.urlSerializer.serialize(Lo.urlAfterRedirects),Lo.targetSnapshot);this.events.next(Ei)}))}),Br(zn=>{const Lo=Ei=>{const tr=[];Ei.routeConfig?.loadComponent&&!Ei.routeConfig._loadedComponent&&tr.push(this.configLoader.loadComponent(Ei.routeConfig).pipe(Ct(Bi=>{Ei.component=Bi}),(0,ye.T)(()=>{})));for(const Bi of Ei.children)tr.push(...Lo(Bi));return tr};return(0,x.z)(Lo(zn.targetSnapshot.root)).pipe((0,Pt.U)(null),(0,ke.s)(1))}),Br(()=>this.afterPreactivation()),(0,je.n)(()=>{const{currentSnapshot:zn,targetSnapshot:Lo}=bt,Ei=this.createViewTransition?.(this.environmentInjector,zn.root,Lo.root);return Ei?(0,f.H)(Ei).pipe((0,ye.T)(()=>bt)):(0,g.of)(bt)}),(0,ye.T)(zn=>{const Lo=function Qo(U,ae,V){const ce=ki(U,ae._root,V?V._root:void 0);return new Ke(ce,ae)}(V.routeReuseStrategy,zn.targetSnapshot,zn.currentRouterState);return this.currentTransition=bt={...zn,targetRouterState:Lo},this.currentNavigation.targetRouterState=Lo,bt}),Ct(()=>{this.events.next(new Ht)}),((U,ae,V,ce)=>(0,ye.T)(Ae=>(new m(ae,Ae.targetRouterState,Ae.currentRouterState,V,ce).activate(U),Ae)))(this.rootContexts,V.routeReuseStrategy,zn=>this.events.next(zn),this.inputBindingEnabled),(0,ke.s)(1),Ct({next:zn=>{$t=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new rs(zn.id,this.urlSerializer.serialize(zn.extractedUrl),this.urlSerializer.serialize(zn.urlAfterRedirects))),this.titleStrategy?.updateTitle(zn.targetRouterState.snapshot),zn.resolve(!0)},complete:()=>{$t=!0}}),(0,tn.Q)(this.transitionAbortSubject.pipe(Ct(zn=>{throw zn}))),(0,Ot.j)(()=>{!$t&&!io&&this.cancelNavigationTransition(bt,"",Ir.SupersededByNewNavigation),this.currentTransition?.id===bt.id&&(this.currentNavigation=null,this.currentTransition=null)}),Xe(zn=>{if(this.destroyed)return bt.resolve(!1),L.w;if(io=!0,Li(zn))this.events.next(new Cs(bt.id,this.urlSerializer.serialize(bt.extractedUrl),zn.message,zn.cancellationCode)),function zr(U){return Li(U)&&Gn(U.url)}(zn)?this.events.next(new Dt(zn.url,zn.navigationBehaviorOptions)):bt.resolve(!1);else{const Lo=new vi(bt.id,this.urlSerializer.serialize(bt.extractedUrl),zn,bt.targetSnapshot??void 0);try{const Ei=(0,n.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Lo));if(!(Ei instanceof Cr))throw this.events.next(Lo),zn;{const{message:tr,cancellationCode:Bi}=Ii(0,Ei);this.events.next(new Cs(bt.id,this.urlSerializer.serialize(bt.extractedUrl),tr,Bi)),this.events.next(new Dt(Ei.redirectTo,Ei.navigationBehaviorOptions))}}catch(Ei){this.options.resolveNavigationPromiseOnError?bt.resolve(!1):bt.reject(Ei)}}return L.w}))}))}cancelNavigationTransition(V,ce,Ae){const bt=new Cs(V.id,this.urlSerializer.serialize(V.extractedUrl),ce,Ae);this.events.next(bt),V.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const V=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),ce=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return V.toString()!==ce?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function Ai(U){return U!==ts}let Kr=(()=>{class U{static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:()=>(0,n.WQX)(Ur),providedIn:"root"})}return U})();class Yr{shouldDetach(ae){return!1}store(ae,V){}shouldAttach(ae){return!1}retrieve(ae){return null}shouldReuseRoute(ae,V){return ae.routeConfig===V.routeConfig}}let Ur=(()=>{class U extends Yr{static \u0275fac=(()=>{let V;return function(Ae){return(V||(V=n.xGo(U)))(Ae||U)}})();static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),_r=(()=>{class U{static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:()=>(0,n.WQX)(pr),providedIn:"root"})}return U})(),pr=(()=>{class U extends _r{location=(0,n.WQX)(Le.aZ);urlSerializer=(0,n.WQX)(ri);options=(0,n.WQX)(ss,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=(0,n.WQX)(ar);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new uo;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=st(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(V){return this.location.subscribe(ce=>{"popstate"===ce.type&&V(ce.url,ce.state)})}handleRouterEvent(V,ce){if(V instanceof Si)this.stateMemento=this.createStateMemento();else if(V instanceof ps)this.rawUrlTree=ce.initialUrl;else if(V instanceof As){if("eager"===this.urlUpdateStrategy&&!ce.extras.skipLocationChange){const Ae=this.urlHandlingStrategy.merge(ce.finalUrl,ce.initialUrl);this.setBrowserUrl(ce.targetBrowserUrl??Ae,ce)}}else V instanceof Ht?(this.currentUrlTree=ce.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(ce.finalUrl,ce.initialUrl),this.routerState=ce.targetRouterState,"deferred"===this.urlUpdateStrategy&&!ce.extras.skipLocationChange&&this.setBrowserUrl(ce.targetBrowserUrl??this.rawUrlTree,ce)):V instanceof Cs&&(V.code===Ir.GuardRejected||V.code===Ir.NoDataFromResolver)?this.restoreHistory(ce):V instanceof vi?this.restoreHistory(ce,!0):V instanceof rs&&(this.lastSuccessfulId=V.id,this.currentPageId=this.browserPageId)}setBrowserUrl(V,ce){const Ae=V instanceof uo?this.urlSerializer.serialize(V):V;if(this.location.isCurrentPathEqualTo(Ae)||ce.extras.replaceUrl){const $t={...ce.extras.state,...this.generateNgRouterState(ce.id,this.browserPageId)};this.location.replaceState(Ae,"",$t)}else{const bt={...ce.extras.state,...this.generateNgRouterState(ce.id,this.browserPageId+1)};this.location.go(Ae,"",bt)}}restoreHistory(V,ce=!1){if("computed"===this.canceledNavigationResolution){const bt=this.currentPageId-this.browserPageId;0!==bt?this.location.historyGo(bt):this.currentUrlTree===V.finalUrl&&0===bt&&(this.resetState(V),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(ce&&this.resetState(V),this.resetUrlToCurrentUrlTree())}resetState(V){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,V.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(V,ce){return"computed"===this.canceledNavigationResolution?{navigationId:V,\u0275routerPageId:ce}:{navigationId:V}}static \u0275fac=(()=>{let V;return function(Ae){return(V||(V=n.xGo(U)))(Ae||U)}})();static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function ii(U,ae){U.events.pipe((0,Je.p)(V=>V instanceof rs||V instanceof Cs||V instanceof vi||V instanceof ps),(0,ye.T)(V=>V instanceof rs||V instanceof ps?0:V instanceof Cs&&(V.code===Ir.Redirect||V.code===Ir.SupersededByNewNavigation)?2:1),(0,Je.p)(V=>2!==V),(0,ke.s)(1)).subscribe(()=>{ae()})}const Ar={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ss={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Qr=(()=>{class U{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,n.WQX)(n.H3F);stateManager=(0,n.WQX)(_r);options=(0,n.WQX)(ss,{optional:!0})||{};pendingTasks=(0,n.WQX)(n.Ua0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,n.WQX)($o);urlSerializer=(0,n.WQX)(ri);location=(0,n.WQX)(Le.aZ);urlHandlingStrategy=(0,n.WQX)(ar);_events=new pe.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,n.WQX)(Kr);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,n.WQX)(xs,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,n.WQX)(ai,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:V=>{this.console.warn(V)}}),this.subscribeToNavigationEvents()}eventsSubscription=new be.yU;subscribeToNavigationEvents(){const V=this.navigationTransitions.events.subscribe(ce=>{try{const Ae=this.navigationTransitions.currentTransition,bt=this.navigationTransitions.currentNavigation;if(null!==Ae&&null!==bt)if(this.stateManager.handleRouterEvent(ce,bt),ce instanceof Cs&&ce.code!==Ir.Redirect&&ce.code!==Ir.SupersededByNewNavigation)this.navigated=!0;else if(ce instanceof rs)this.navigated=!0;else if(ce instanceof Dt){const $t=ce.navigationBehaviorOptions,io=this.urlHandlingStrategy.merge(ce.url,Ae.currentRawUrl),zn={browserUrl:Ae.extras.browserUrl,info:Ae.extras.info,skipLocationChange:Ae.extras.skipLocationChange,replaceUrl:Ae.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Ai(Ae.source),...$t};this.scheduleNavigation(io,ts,null,zn,{resolve:Ae.resolve,reject:Ae.reject,promise:Ae.promise})}(function Vs(U){return!(U instanceof Ht||U instanceof Dt)})(ce)&&this._events.next(ce)}catch(Ae){this.navigationTransitions.transitionAbortSubject.next(Ae)}});this.eventsSubscription.add(V)}resetRootComponentType(V){this.routerState.root.component=V,this.navigationTransitions.rootComponentType=V}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ts,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((V,ce)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(V,"popstate",ce)},0)})}navigateToSyncWithBrowser(V,ce,Ae){const bt={replaceUrl:!0},$t=Ae?.navigationId?Ae:null;if(Ae){const zn={...Ae};delete zn.navigationId,delete zn.\u0275routerPageId,0!==Object.keys(zn).length&&(bt.state=zn)}const io=this.parseUrl(V);this.scheduleNavigation(io,ce,$t,bt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(V){this.config=V.map($s),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(V,ce={}){const{relativeTo:Ae,queryParams:bt,fragment:$t,queryParamsHandling:io,preserveFragment:zn}=ce,Lo=zn?this.currentUrlTree.fragment:$t;let tr,Ei=null;switch(io??this.options.defaultQueryParamsHandling){case"merge":Ei={...this.currentUrlTree.queryParams,...bt};break;case"preserve":Ei=this.currentUrlTree.queryParams;break;default:Ei=bt||null}null!==Ei&&(Ei=this.removeEmptyProps(Ei));try{tr=Vo(Ae?Ae.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof V[0]||"/"!==V[0][0])&&(V=[]),tr=this.currentUrlTree.root}return yi(tr,V,Ei,Lo??null)}navigateByUrl(V,ce={skipLocationChange:!1}){const Ae=Gn(V)?V:this.parseUrl(V),bt=this.urlHandlingStrategy.merge(Ae,this.rawUrlTree);return this.scheduleNavigation(bt,ts,null,ce)}navigate(V,ce={skipLocationChange:!1}){return function la(U){for(let ae=0;ae(null!=bt&&(ce[Ae]=bt),ce),{})}scheduleNavigation(V,ce,Ae,bt,$t){if(this.disposed)return Promise.resolve(!1);let io,zn,Lo;$t?(io=$t.resolve,zn=$t.reject,Lo=$t.promise):Lo=new Promise((tr,Bi)=>{io=tr,zn=Bi});const Ei=this.pendingTasks.add();return ii(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ei))}),this.navigationTransitions.handleNavigationRequest({source:ce,restoredState:Ae,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:V,extras:bt,resolve:io,reject:zn,promise:Lo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Lo.catch(tr=>Promise.reject(tr))}static \u0275fac=function(ce){return new(ce||U)};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),ns=(()=>{class U{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new pe.B;constructor(V,ce,Ae,bt,$t,io){this.router=V,this.route=ce,this.tabIndexAttribute=Ae,this.renderer=bt,this.el=$t,this.locationStrategy=io;const zn=$t.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===zn||"area"===zn,this.isAnchorElement?this.subscription=V.events.subscribe(Lo=>{Lo instanceof rs&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(V){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",V)}ngOnChanges(V){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(V){null==V?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Gn(V)||Array.isArray(V)?V:[V],this.setTabIndexIfNotOnNativeEl("0"))}onClick(V,ce,Ae,bt,$t){const io=this.urlTree;return!!(null===io||this.isAnchorElement&&(0!==V||ce||Ae||bt||$t||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(io,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const V=this.urlTree;this.href=null!==V&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(V)):null;const ce=null===this.href?null:(0,n.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ce)}applyAttributeValue(V,ce){const Ae=this.renderer,bt=this.el.nativeElement;null!==ce?Ae.setAttribute(bt,V,ce):Ae.removeAttribute(bt,V)}get urlTree(){return null===this.routerLinkInput?null:Gn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(ce){return new(ce||U)(n.rXU(Qr),n.rXU(Kt),n.kS0("tabindex"),n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(Le.hb))};static \u0275dir=n.FsC({type:U,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(ce,Ae){1&ce&&n.bIt("click",function($t){return Ae.onClick($t.button,$t.ctrlKey,$t.shiftKey,$t.altKey,$t.metaKey)}),2&ce&&n.BMQ("target",Ae.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",n.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",n.L39],replaceUrl:[2,"replaceUrl","replaceUrl",n.L39],routerLink:"routerLink"},features:[n.GFd,n.OA$]})}return U})(),Hr=(()=>{class U{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new n.bkB;constructor(V,ce,Ae,bt,$t){this.router=V,this.element=ce,this.renderer=Ae,this.cdr=bt,this.link=$t,this.routerEventsSubscription=V.events.subscribe(io=>{io instanceof rs&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,fn.U)()).subscribe(V=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const V=[...this.links.toArray(),this.link].filter(ce=>!!ce).map(ce=>ce.onChanges);this.linkInputChangesSubscription=(0,f.H)(V).pipe((0,fn.U)()).subscribe(ce=>{this._isActive!==this.isLinkActive(this.router)(ce)&&this.update()})}set routerLinkActive(V){const ce=Array.isArray(V)?V:V.split(" ");this.classes=ce.filter(Ae=>!!Ae)}ngOnChanges(V){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const V=this.hasActiveLinks();this.classes.forEach(ce=>{V?this.renderer.addClass(this.element.nativeElement,ce):this.renderer.removeClass(this.element.nativeElement,ce)}),V&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==V&&(this._isActive=V,this.cdr.markForCheck(),this.isActiveChange.emit(V))})}isLinkActive(V){const ce=function os(U){return!!U.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ae=>{const bt=Ae.urlTree;return!!bt&&V.isActive(bt,ce)}}hasActiveLinks(){const V=this.isLinkActive(this.router);return this.link&&V(this.link)||this.links.some(V)}static \u0275fac=function(ce){return new(ce||U)(n.rXU(Qr),n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(n.gRc),n.rXU(ns,8))};static \u0275dir=n.FsC({type:U,selectors:[["","routerLinkActive",""]],contentQueries:function(ce,Ae,bt){if(1&ce&&n.wni(bt,ns,5),2&ce){let $t;n.mGM($t=n.lsd())&&(Ae.links=$t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[n.OA$]})}return U})();class Ta{}let ca=(()=>{class U{router;injector;preloadingStrategy;loader;subscription;constructor(V,ce,Ae,bt,$t){this.router=V,this.injector=Ae,this.preloadingStrategy=bt,this.loader=$t}setUpPreloading(){this.subscription=this.router.events.pipe((0,Je.p)(V=>V instanceof rs),(0,Bt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(V,ce){const Ae=[];for(const bt of ce){bt.providers&&!bt._injector&&(bt._injector=(0,n.Ol2)(bt.providers,V,`Route: ${bt.path}`));const $t=bt._injector??V,io=bt._loadedInjector??$t;(bt.loadChildren&&!bt._loadedRoutes&&void 0===bt.canLoad||bt.loadComponent&&!bt._loadedComponent)&&Ae.push(this.preloadConfig($t,bt)),(bt.children||bt._loadedRoutes)&&Ae.push(this.processRoutes(io,bt.children??bt._loadedRoutes))}return(0,f.H)(Ae).pipe((0,fn.U)())}preloadConfig(V,ce){return this.preloadingStrategy.preload(ce,()=>{let Ae;Ae=ce.loadChildren&&void 0===ce.canLoad?this.loader.loadChildren(V,ce):(0,g.of)(null);const bt=Ae.pipe((0,lt.Z)($t=>null===$t?(0,g.of)(void 0):(ce._loadedRoutes=$t.routes,ce._loadedInjector=$t.injector,this.processRoutes($t.injector??V,$t.routes))));if(ce.loadComponent&&!ce._loadedComponent){const $t=this.loader.loadComponent(ce);return(0,f.H)([bt,$t]).pipe((0,fn.U)())}return bt})}static \u0275fac=function(ce){return new(ce||U)(n.KVO(Qr),n.KVO(n.Ql9),n.KVO(n.uvJ),n.KVO(Ta),n.KVO(Ea))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();const Ts=new n.nKC("");let va=(()=>{class U{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(V,ce,Ae,bt,$t={}){this.urlSerializer=V,this.transitions=ce,this.viewportScroller=Ae,this.zone=bt,this.options=$t,$t.scrollPositionRestoration||="disabled",$t.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(V=>{V instanceof Si?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=V.navigationTrigger,this.restoredId=V.restoredState?V.restoredState.navigationId:0):V instanceof rs?(this.lastId=V.id,this.scheduleScrollEvent(V,this.urlSerializer.parse(V.urlAfterRedirects).fragment)):V instanceof ps&&V.code===fs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(V,this.urlSerializer.parse(V.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(V=>{V instanceof Rt&&(V.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(V.position):V.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(V.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(V,ce){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Rt(V,"popstate"===this.lastSource?this.store[this.restoredId]:null,ce))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(ce){n.QTQ()};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac})}return U})();function Pa(U,...ae){return(0,n.EmA)([{provide:xs,multi:!0,useValue:U},[],{provide:Kt,useFactory:ma,deps:[Qr]},{provide:n.iLQ,multi:!0,useFactory:dl},ae.map(V=>V.\u0275providers)])}function ma(U){return U.routerState.root}function ea(U,ae){return{\u0275kind:U,\u0275providers:ae}}function Fl(U={}){return ea(4,[{provide:Ts,useFactory:()=>{const V=(0,n.WQX)(Le.Xr),ce=(0,n.WQX)(n.SKi),Ae=(0,n.WQX)($o),bt=(0,n.WQX)(ri);return new va(bt,Ae,V,ce,U)}}])}function dl(){const U=(0,n.WQX)(n.zZn);return ae=>{const V=U.get(n.o8S);if(ae!==V.components[0])return;const ce=U.get(Qr),Ae=U.get(Va);1===U.get(yl)&&ce.initialNavigation(),U.get(vl,null,n.$GK.Optional)?.setUpPreloading(),U.get(Ts,null,n.$GK.Optional)?.init(),ce.resetRootComponentType(V.componentTypes[0]),Ae.closed||(Ae.next(),Ae.complete(),Ae.unsubscribe())}}const Va=new n.nKC("",{factory:()=>new pe.B}),yl=new n.nKC("",{providedIn:"root",factory:()=>1}),vl=new n.nKC("");function Qa(U){return ea(0,[{provide:vl,useExisting:ca},{provide:Ta,useExisting:U}])}function hl(U){return ea(5,[{provide:ss,useValue:U}])}function O(U){return ea(9,[{provide:gt,useValue:Ze},{provide:Oe,useValue:{skipNextTransition:!!U?.skipInitialTransition,...U}}])}const k=[Le.aZ,{provide:ri,useClass:Yi},Qr,re,{provide:Kt,useFactory:ma,deps:[Qr]},Ea,[]];let E=(()=>{class U{constructor(){}static forRoot(V,ce){return{ngModule:U,providers:[k,[],{provide:xs,multi:!0,useValue:V},[],ce?.errorHandler?{provide:Eo,useValue:ce.errorHandler}:[],{provide:ss,useValue:ce||{}},ce?.useHash?{provide:Le.hb,useClass:Le.fw}:{provide:Le.hb,useClass:Le.Sm},{provide:Ts,useFactory:()=>{const U=(0,n.WQX)(Le.Xr),ae=(0,n.WQX)(n.SKi),V=(0,n.WQX)(ss),ce=(0,n.WQX)($o),Ae=(0,n.WQX)(ri);return V.scrollOffset&&U.setOffset(V.scrollOffset),new va(Ae,ce,U,ae,V)}},ce?.preloadingStrategy?Qa(ce.preloadingStrategy).\u0275providers:[],ce?.initialNavigation?Ie(ce):[],ce?.bindToComponentInputs?ea(8,[di,{provide:ai,useExisting:di}]).\u0275providers:[],ce?.enableViewTransitions?O().\u0275providers:[],[{provide:xt,useFactory:dl},{provide:n.iLQ,multi:!0,useExisting:xt}]]}}static forChild(V){return{ngModule:U,providers:[{provide:xs,multi:!0,useValue:V}]}}static \u0275fac=function(ce){return new(ce||U)};static \u0275mod=n.$C({type:U});static \u0275inj=n.G2t({})}return U})();function Ie(U){return["disabled"===U.initialNavigation?ea(3,[{provide:n.hnV,multi:!0,useFactory:()=>{const ae=(0,n.WQX)(Qr);return()=>{ae.setUpLocationChangeListener()}}},{provide:yl,useValue:2}]).\u0275providers:[],"enabledBlocking"===U.initialNavigation?ea(2,[{provide:yl,useValue:0},{provide:n.hnV,multi:!0,deps:[n.zZn],useFactory:ae=>{const V=ae.get(Le.hj,Promise.resolve());return()=>V.then(()=>new Promise(ce=>{const Ae=ae.get(Qr),bt=ae.get(Va);ii(Ae,()=>{ce(!0)}),ae.get($o).afterPreactivation=()=>(ce(!0),bt.closed?(0,g.of)(void 0):bt),Ae.initialNavigation()}))}}]).\u0275providers:[]]}const xt=new n.nKC("")},70600:(ft,Z,l)=>{"use strict";l.d(Z,{Kb:()=>fo,Rg:()=>Tn,Sb:()=>Fn,TS:()=>sn,YV:()=>gi,Yq:()=>e,el:()=>ri,fL:()=>Vn,hO:()=>jn,p4:()=>Gi,q9:()=>lt,sR:()=>tt,z3:()=>mn});var n=l(10467),i=l(54438),f=l(47868),g=l(60177),s=l(45531),x=l(46031),_=l(1656),y=l(21413),w=l(33726),M=l(84412),I=l(84572),R=l(7673),H=l(31635),K=l(5964),L=l(25558),he=l(23294),pe=l(84341);const be=["tabsInner"];let ke=(()=>{class wn{doc;_readyPromise;win;backButton=new y.B;keyboardDidShow=new y.B;keyboardDidHide=new y.B;pause=new y.B;resume=new y.B;resize=new y.B;constructor($e,We){this.doc=$e,We.run(()=>{let ot;this.win=$e.defaultView,this.backButton.subscribeWithPriority=function(Wt,Dn){return this.subscribe(to=>to.register(Wt,co=>We.run(()=>Dn(co))))},Je(this.pause,$e,"pause",We),Je(this.resume,$e,"resume",We),Je(this.backButton,$e,"ionBackButton",We),Je(this.resize,this.win,"resize",We),Je(this.keyboardDidShow,this.win,"ionKeyboardDidShow",We),Je(this.keyboardDidHide,this.win,"ionKeyboardDidHide",We),this._readyPromise=new Promise(Wt=>{ot=Wt}),this.win?.cordova?$e.addEventListener("deviceready",()=>{ot("cordova")},{once:!0}):ot("dom")})}is($e){return(0,s.a)(this.win,$e)}platforms(){return(0,s.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam($e){return De(this.win.location.href,$e)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent($e){const We=this.win.navigator;return!!(We?.userAgent&&We.userAgent.indexOf($e)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}static \u0275fac=function(We){return new(We||wn)(i.KVO(g.qQ),i.KVO(i.SKi))};static \u0275prov=i.jDH({token:wn,factory:wn.\u0275fac,providedIn:"root"})}return wn})();const De=(wn,dn)=>{dn=dn.replace(/[[\]\\]/g,"\\$&");const We=new RegExp("[\\?&]"+dn+"=([^&#]*)").exec(wn);return We?decodeURIComponent(We[1].replace(/\+/g," ")):null},Je=(wn,dn,$e,We)=>{dn&&dn.addEventListener($e,ot=>{We.run(()=>{const Wt=ot?.detail;wn.next(Wt)})})};let lt=(()=>{class wn{location;serializer;router;topOutlet;direction=Bt;animated=et;animationBuilder;guessDirection="forward";guessAnimation;lastNavId=-1;constructor($e,We,ot,Wt){this.location=We,this.serializer=ot,this.router=Wt,Wt&&Wt.events.subscribe(Dn=>{if(Dn instanceof f.Z){const to=Dn.restoredState?Dn.restoredState.navigationId:Dn.id;this.guessDirection=this.guessAnimation=to{this.pop(),Dn()})}navigateForward($e,We={}){return this.setDirection("forward",We.animated,We.animationDirection,We.animation),this.navigate($e,We)}navigateBack($e,We={}){return this.setDirection("back",We.animated,We.animationDirection,We.animation),this.navigate($e,We)}navigateRoot($e,We={}){return this.setDirection("root",We.animated,We.animationDirection,We.animation),this.navigate($e,We)}back($e={animated:!0,animationDirection:"back"}){return this.setDirection("back",$e.animated,$e.animationDirection,$e.animation),this.location.back()}pop(){var $e=this;return(0,n.A)(function*(){let We=$e.topOutlet;for(;We;){if(yield We.pop())return!0;We=We.parentOutlet}return!1})()}setDirection($e,We,ot,Wt){this.direction=$e,this.animated=Mt($e,We,ot),this.animationBuilder=Wt}setTopOutlet($e){this.topOutlet=$e}consumeTransition(){let We,$e="root";const ot=this.animationBuilder;return"auto"===this.direction?($e=this.guessDirection,We=this.guessAnimation):(We=this.animated,$e=this.direction),this.direction=Bt,this.animated=et,this.animationBuilder=void 0,{direction:$e,animation:We,animationBuilder:ot}}navigate($e,We){if(Array.isArray($e))return this.router.navigate($e,We);{const ot=this.serializer.parse($e.toString());return void 0!==We.queryParams&&(ot.queryParams={...We.queryParams}),void 0!==We.fragment&&(ot.fragment=We.fragment),this.router.navigateByUrl(ot,We)}}static \u0275fac=function(We){return new(We||wn)(i.KVO(ke),i.KVO(g.aZ),i.KVO(f.Sd),i.KVO(f.Ix,8))};static \u0275prov=i.jDH({token:wn,factory:wn.\u0275fac,providedIn:"root"})}return wn})();const Mt=(wn,dn,$e)=>{if(!1!==dn){if(void 0!==$e)return $e;if("forward"===wn||"back"===wn)return wn;if("root"===wn&&!0===dn)return"forward"}},Bt="auto",et=void 0;let sn=(()=>{class wn{get($e,We){const ot=Ct();return ot?ot.get($e,We):null}getBoolean($e,We){const ot=Ct();return!!ot&&ot.getBoolean($e,We)}getNumber($e,We){const ot=Ct();return ot?ot.getNumber($e,We):0}static \u0275fac=function(We){return new(We||wn)};static \u0275prov=i.jDH({token:wn,factory:wn.\u0275fac,providedIn:"root"})}return wn})();const tt=new i.nKC("USERCONFIG"),Ct=()=>{if(typeof window<"u"){const wn=window.Ionic;if(wn?.config)return wn.config}return null};class Xe{data;constructor(dn={}){this.data=dn,console.warn("[Ionic Warning]: NavParams has been deprecated in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.")}get(dn){return this.data[dn]}}let e=(()=>{class wn{zone=(0,i.WQX)(i.SKi);applicationRef=(0,i.WQX)(i.o8S);config=(0,i.WQX)(tt);create($e,We,ot){return new On($e,We,this.applicationRef,this.zone,ot,this.config.useSetInputAPI??!1)}static \u0275fac=function(We){return new(We||wn)};static \u0275prov=i.jDH({token:wn,factory:wn.\u0275fac})}return wn})();class On{environmentInjector;injector;applicationRef;zone;elementReferenceKey;enableSignalsSupport;elRefMap=new WeakMap;elEventsMap=new WeakMap;constructor(dn,$e,We,ot,Wt,Dn){this.environmentInjector=dn,this.injector=$e,this.applicationRef=We,this.zone=ot,this.elementReferenceKey=Wt,this.enableSignalsSupport=Dn}attachViewToDom(dn,$e,We,ot){return this.zone.run(()=>new Promise(Wt=>{const Dn={...We};void 0!==this.elementReferenceKey&&(Dn[this.elementReferenceKey]=dn),Wt(Pt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,dn,$e,Dn,ot,this.elementReferenceKey,this.enableSignalsSupport))}))}removeViewFromDom(dn,$e){return this.zone.run(()=>new Promise(We=>{const ot=this.elRefMap.get($e);if(ot){ot.destroy(),this.elRefMap.delete($e);const Wt=this.elEventsMap.get($e);Wt&&(Wt(),this.elEventsMap.delete($e))}We()}))}}const Pt=(wn,dn,$e,We,ot,Wt,Dn,to,co,Oo,ln,Gn)=>{const go=i.zZn.create({providers:Ot(co),parent:$e}),Vo=(0,i.a0P)(to,{environmentInjector:dn,elementInjector:go}),yi=Vo.instance,ci=Vo.location.nativeElement;if(co)if(ln&&void 0!==yi[ln]&&console.error(`[Ionic Error]: ${ln} is a reserved property when using ${Dn.tagName.toLowerCase()}. Rename or remove the "${ln}" property from ${to.name}.`),!0===Gn&&void 0!==Vo.setInput){const{modal:ei,popover:dr,...Lr}=co;for(const Vr in Lr)Vo.setInput(Vr,Lr[Vr]);void 0!==ei&&Object.assign(yi,{modal:ei}),void 0!==dr&&Object.assign(yi,{popover:dr})}else Object.assign(yi,co);if(Oo)for(const ei of Oo)ci.classList.add(ei);const er=At(wn,yi,ci);return Dn.appendChild(ci),We.attachView(Vo.hostView),ot.set(ci,Vo),Wt.set(ci,er),ci},wt=[x.L,x.a,x.b,x.c,x.d],At=(wn,dn,$e)=>wn.run(()=>{const We=wt.filter(ot=>"function"==typeof dn[ot]).map(ot=>{const Wt=Dn=>dn[ot](Dn.detail);return $e.addEventListener(ot,Wt),()=>$e.removeEventListener(ot,Wt)});return()=>We.forEach(ot=>ot())}),we=new i.nKC("NavParamsToken"),Ot=wn=>[{provide:we,useValue:wn},{provide:Xe,useFactory:It,deps:[we]}],It=wn=>new Xe(wn),tn=(wn,dn)=>{const $e=wn.prototype;dn.forEach(We=>{Object.defineProperty($e,We,{get(){return this.el[We]},set(ot){this.z.runOutsideAngular(()=>this.el[We]=ot)}})})},fn=(wn,dn)=>{const $e=wn.prototype;dn.forEach(We=>{$e[We]=function(){const ot=arguments;return this.z.runOutsideAngular(()=>this.el[We].apply(this.el,ot))}})};function jn(wn){return function($e){const{defineCustomElementFn:We,inputs:ot,methods:Wt}=wn;return void 0!==We&&We(),ot&&tn($e,ot),Wt&&fn($e,Wt),$e}}const Vt=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","focusTrap","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],cn=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Fn=(()=>{let wn=class Jv{z;template;isCmpOpen=!1;el;constructor($e,We,ot){this.z=ot,this.el=We.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,$e.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,$e.detectChanges()}),((wn,dn)=>{["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"].forEach(We=>wn[We]=(0,w.R)(dn,We))})(this,this.el)}static \u0275fac=function(We){return new(We||Jv)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275dir=i.FsC({type:Jv,selectors:[["ion-modal"]],contentQueries:function(We,ot,Wt){if(1&We&&i.wni(Wt,i.C4Q,5),2&We){let Dn;i.mGM(Dn=i.lsd())&&(ot.template=Dn.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",focusTrap:"focusTrap",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"},standalone:!1})};return wn=(0,H.Cg)([jn({inputs:Vt,methods:cn})],wn),wn})();const Un=(wn,dn)=>((wn=wn.filter($e=>$e.stackId!==dn.stackId)).push(dn),wn),_n=(wn,dn)=>{const $e=wn.createUrlTree(["."],{relativeTo:dn});return wn.serializeUrl($e)},Cn=(wn,dn)=>!dn||wn.stackId!==dn.stackId,Qt=(wn,dn)=>{if(!wn)return;const $e=Nn(dn);for(let We=0;We<$e.length;We++){if(We>=wn.length)return $e[We];if($e[We]!==wn[We])return}},Nn=wn=>wn.split("/").map(dn=>dn.trim()).filter(dn=>""!==dn),Qn=wn=>{wn&&(wn.ref.destroy(),wn.unlistenEvents())};class Zt{containerEl;router;navCtrl;zone;location;views=[];runningTask;skipTransition=!1;tabsPrefix;activeView;nextId=0;constructor(dn,$e,We,ot,Wt,Dn){this.containerEl=$e,this.router=We,this.navCtrl=ot,this.zone=Wt,this.location=Dn,this.tabsPrefix=void 0!==dn?Nn(dn):void 0}createView(dn,$e){const We=_n(this.router,$e),ot=dn?.location?.nativeElement,Wt=At(this.zone,dn.instance,ot);return{id:this.nextId++,stackId:Qt(this.tabsPrefix,We),unlistenEvents:Wt,element:ot,ref:dn,url:We}}getExistingView(dn){const $e=_n(this.router,dn),We=this.views.find(ot=>ot.url===$e);return We&&We.ref.changeDetectorRef.reattach(),We}setActive(dn){const $e=this.navCtrl.consumeTransition();let{direction:We,animation:ot,animationBuilder:Wt}=$e;const Dn=this.activeView,to=Cn(dn,Dn);to&&(We="back",ot=void 0);const co=this.views.slice();let Oo;const ln=this.router;ln.getCurrentNavigation?Oo=ln.getCurrentNavigation():ln.navigations?.value&&(Oo=ln.navigations.value),Oo?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Gn=this.views.includes(dn),go=this.insertView(dn,We);Gn||dn.ref.changeDetectorRef.detectChanges();const Vo=dn.animationBuilder;return void 0===Wt&&"back"===We&&!to&&void 0!==Vo&&(Wt=Vo),Dn&&(Dn.animationBuilder=Wt),this.zone.runOutsideAngular(()=>this.wait(()=>(Dn&&Dn.ref.changeDetectorRef.detach(),dn.ref.changeDetectorRef.reattach(),this.transition(dn,Dn,ot,this.canGoBack(1),!1,Wt).then(()=>vn(dn,go,co,this.location,this.zone)).then(()=>({enteringView:dn,direction:We,animation:ot,tabSwitch:to})))))}canGoBack(dn,$e=this.getActiveStackId()){return this.getStack($e).length>dn}pop(dn,$e=this.getActiveStackId()){return this.zone.run(()=>{const We=this.getStack($e);if(We.length<=dn)return Promise.resolve(!1);const ot=We[We.length-dn-1];let Wt=ot.url;const Dn=ot.savedData;if(Dn){const co=Dn.get("primary");co?.route?._routerState?.snapshot.url&&(Wt=co.route._routerState.snapshot.url)}const{animationBuilder:to}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Wt,{...ot.savedExtras,animation:to}).then(()=>!0)})}startBackTransition(){const dn=this.activeView;if(dn){const $e=this.getStack(dn.stackId),We=$e[$e.length-2],ot=We.animationBuilder;return this.wait(()=>this.transition(We,dn,"back",this.canGoBack(2),!0,ot))}return Promise.resolve()}endBackTransition(dn){dn?(this.skipTransition=!0,this.pop(1)):this.activeView&&hn(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(dn){const $e=this.getStack(dn);return $e.length>0?$e[$e.length-1]:void 0}getRootUrl(dn){const $e=this.getStack(dn);return $e.length>0?$e[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Qn),this.activeView=void 0,this.views=[]}getStack(dn){return this.views.filter($e=>$e.stackId===dn)}insertView(dn,$e){return this.activeView=dn,this.views=((wn,dn,$e)=>"root"===$e?Un(wn,dn):"forward"===$e?((wn,dn)=>(wn.indexOf(dn)>=0?wn=wn.filter(We=>We.stackId!==dn.stackId||We.id<=dn.id):wn.push(dn),wn))(wn,dn):((wn,dn)=>wn.indexOf(dn)>=0?wn.filter(We=>We.stackId!==dn.stackId||We.id<=dn.id):Un(wn,dn))(wn,dn))(this.views,dn,$e),this.views.slice()}transition(dn,$e,We,ot,Wt,Dn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if($e===dn)return Promise.resolve(!1);const to=dn?dn.element:void 0,co=$e?$e.element:void 0,Oo=this.containerEl;return to&&to!==co&&(to.classList.add("ion-page"),to.classList.add("ion-page-invisible"),Oo.commit)?Oo.commit(to,co,{duration:void 0===We?0:void 0,direction:We,showGoBack:ot,progressAnimation:Wt,animationBuilder:Dn}):Promise.resolve(!1)}wait(dn){var $e=this;return(0,n.A)(function*(){void 0!==$e.runningTask&&(yield $e.runningTask,$e.runningTask=void 0);const We=$e.runningTask=dn();return We.finally(()=>$e.runningTask=void 0),We})()}}const vn=(wn,dn,$e,We,ot)=>"function"==typeof requestAnimationFrame?new Promise(Wt=>{requestAnimationFrame(()=>{hn(wn,dn,$e,We,ot),Wt()})}):Promise.resolve(),hn=(wn,dn,$e,We,ot)=>{ot.run(()=>$e.filter(Wt=>!dn.includes(Wt)).forEach(Qn)),dn.forEach(Wt=>{const to=We.path().split("?")[0].split("#")[0];if(Wt!==wn&&Wt.url!==to){const co=Wt.element;co.setAttribute("aria-hidden","true"),co.classList.add("ion-page-hidden"),Wt.ref.changeDetectorRef.detach()}})};let Tn=(()=>{class wn{parentOutlet;nativeEl;activatedView=null;tabsPrefix;_swipeGesture;stackCtrl;proxyMap=new WeakMap;currentActivatedRoute$=new M.t(null);activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f.Xk;stackWillChange=new i.bkB;stackDidChange=new i.bkB;activateEvents=new i.bkB;deactivateEvents=new i.bkB;parentContexts=(0,i.WQX)(f.Zp);location=(0,i.WQX)(i.c1b);environmentInjector=(0,i.WQX)(i.uvJ);inputBinder=(0,i.WQX)(bo,{optional:!0});supportsBindingToComponentInputs=!0;config=(0,i.WQX)(sn);navCtrl=(0,i.WQX)(lt);set animation($e){this.nativeEl.animation=$e}set animated($e){this.nativeEl.animated=$e}set swipeGesture($e){this._swipeGesture=$e,this.nativeEl.swipeHandler=$e?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:We=>this.stackCtrl.endBackTransition(We)}:void 0}constructor($e,We,ot,Wt,Dn,to,co,Oo){this.parentOutlet=Oo,this.nativeEl=Wt.nativeElement,this.name=$e||f.Xk,this.tabsPrefix="true"===We?_n(Dn,co):void 0,this.stackCtrl=new Zt(this.tabsPrefix,this.nativeEl,Dn,this.navCtrl,to,ot),this.parentContexts.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const $e=this.getContext();$e?.route&&this.activateWith($e.route,$e.injector)}new Promise($e=>(0,_.c)(this.nativeEl,$e)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach($e,We){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const We=this.getContext();this.activatedView.savedData=new Map(We.children.contexts);const ot=this.activatedView.savedData.get("primary");if(ot&&We.route&&(ot.route={...We.route}),this.activatedView.savedExtras={},We.route){const Wt=We.route.snapshot;this.activatedView.savedExtras.queryParams=Wt.queryParams,this.activatedView.savedExtras.fragment=Wt.fragment}}const $e=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit($e)}}activateWith($e,We){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=$e;let ot,Wt=this.stackCtrl.getExistingView($e);if(Wt){ot=this.activated=Wt.ref;const to=Wt.savedData;to&&(this.getContext().children.contexts=to),this.updateActivatedRouteProxy(ot.instance,$e)}else{const to=$e._futureSnapshot,co=this.parentContexts.getOrCreateContext(this.name).children,Oo=new M.t(null),ln=this.createActivatedRouteProxy(Oo,$e),Gn=new uo(ln,co,this.location.injector);ot=this.activated=this.outletContent.createComponent(to.routeConfig.component??to.component,{index:this.outletContent.length,injector:Gn,environmentInjector:We??this.environmentInjector}),Oo.next(ot.instance),Wt=this.stackCtrl.createView(this.activated,$e),this.proxyMap.set(ot.instance,ln),this.currentActivatedRoute$.next({component:ot.instance,activatedRoute:$e})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=Wt,this.navCtrl.setTopOutlet(this);const Dn=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:Wt,tabSwitch:Cn(Wt,Dn)}),this.stackCtrl.setActive(Wt).then(to=>{this.activateEvents.emit(ot.instance),this.stackDidChange.emit(to)})}canGoBack($e=1,We){return this.stackCtrl.canGoBack($e,We)}pop($e=1,We){return this.stackCtrl.pop($e,We)}getLastUrl($e){const We=this.stackCtrl.getLastUrl($e);return We?We.url:void 0}getLastRouteView($e){return this.stackCtrl.getLastUrl($e)}getRootView($e){return this.stackCtrl.getRootUrl($e)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy($e,We){const ot=new f.nX;return ot._futureSnapshot=We._futureSnapshot,ot._routerState=We._routerState,ot.snapshot=We.snapshot,ot.outlet=We.outlet,ot.component=We.component,ot._paramMap=this.proxyObservable($e,"paramMap"),ot._queryParamMap=this.proxyObservable($e,"queryParamMap"),ot.url=this.proxyObservable($e,"url"),ot.params=this.proxyObservable($e,"params"),ot.queryParams=this.proxyObservable($e,"queryParams"),ot.fragment=this.proxyObservable($e,"fragment"),ot.data=this.proxyObservable($e,"data"),ot}proxyObservable($e,We){return $e.pipe((0,K.p)(ot=>!!ot),(0,L.n)(ot=>this.currentActivatedRoute$.pipe((0,K.p)(Wt=>null!==Wt&&Wt.component===ot),(0,L.n)(Wt=>Wt&&Wt.activatedRoute[We]),(0,he.F)())))}updateActivatedRouteProxy($e,We){const ot=this.proxyMap.get($e);if(!ot)throw new Error("Could not find activated route proxy for view");ot._futureSnapshot=We._futureSnapshot,ot._routerState=We._routerState,ot.snapshot=We.snapshot,ot.outlet=We.outlet,ot.component=We.component,this.currentActivatedRoute$.next({component:$e,activatedRoute:We})}static \u0275fac=function(We){return new(We||wn)(i.kS0("name"),i.kS0("tabs"),i.rXU(g.aZ),i.rXU(i.aKT),i.rXU(f.Ix),i.rXU(i.SKi),i.rXU(f.nX),i.rXU(wn,12))};static \u0275dir=i.FsC({type:wn,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"],standalone:!1})}return wn})();class uo{route;childContexts;parent;constructor(dn,$e,We){this.route=dn,this.childContexts=$e,this.parent=We}get(dn,$e){return dn===f.nX?this.route:dn===f.Zp?this.childContexts:this.parent.get(dn,$e)}}const bo=new i.nKC("");let _o=(()=>{class wn{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent($e){this.unsubscribeFromRouteData($e),this.subscribeToRouteData($e)}unsubscribeFromRouteData($e){this.outletDataSubscriptions.get($e)?.unsubscribe(),this.outletDataSubscriptions.delete($e)}subscribeToRouteData($e){const{activatedRoute:We}=$e,ot=(0,I.z)([We.queryParams,We.params,We.data]).pipe((0,L.n)(([Wt,Dn,to],co)=>(to={...Wt,...Dn,...to},0===co?(0,R.of)(to):Promise.resolve(to)))).subscribe(Wt=>{if(!$e.isActivated||!$e.activatedComponentRef||$e.activatedRoute!==We||null===We.component)return void this.unsubscribeFromRouteData($e);const Dn=(0,i.HJs)(We.component);if(Dn)for(const{templateName:to}of Dn.inputs)$e.activatedComponentRef.setInput(to,Wt[to]);else this.unsubscribeFromRouteData($e)});this.outletDataSubscriptions.set($e,ot)}static \u0275fac=function(We){return new(We||wn)};static \u0275prov=i.jDH({token:wn,factory:wn.\u0275fac})}return wn})();const gi=()=>({provide:bo,useFactory:Go,deps:[f.Ix]});function Go(wn){return wn?.componentInputBindingEnabled?new _o:null}const zo=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let ri=(()=>{let wn=class qv{routerOutlet;navCtrl;config;r;z;el;constructor($e,We,ot,Wt,Dn,to){this.routerOutlet=$e,this.navCtrl=We,this.config=ot,this.r=Wt,this.z=Dn,to.detach(),this.el=this.r.nativeElement}onClick($e){const We=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),$e.preventDefault()):null!=We&&(this.navCtrl.navigateBack(We,{animation:this.routerAnimation}),$e.preventDefault())}static \u0275fac=function(We){return new(We||qv)(i.rXU(Tn,8),i.rXU(lt),i.rXU(sn),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(i.gRc))};static \u0275dir=i.FsC({type:qv,hostBindings:function(We,ot){1&We&&i.bIt("click",function(Dn){return ot.onClick(Dn)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},standalone:!1})};return wn=(0,H.Cg)([jn({inputs:zo})],wn),wn})(),Gi=(()=>{class wn{navCtrl;tabsInner;ionTabsWillChange=new i.bkB;ionTabsDidChange=new i.bkB;tabBarSlot="bottom";constructor($e){this.navCtrl=$e}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:$e,tabSwitch:We}){const ot=$e.stackId;We&&void 0!==ot&&this.ionTabsWillChange.emit({tab:ot})}onStackDidChange({enteringView:$e,tabSwitch:We}){const ot=$e.stackId;We&&void 0!==ot&&(this.tabBar&&(this.tabBar.selectedTab=ot),this.ionTabsDidChange.emit({tab:ot}))}select($e){const We="string"==typeof $e,ot=We?$e:$e.detail.tab,Wt=this.outlet.getActiveStackId()===ot,Dn=`${this.outlet.tabsPrefix}/${ot}`;if(We||$e.stopPropagation(),Wt){const to=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(to)?.url===Dn)return;const Oo=this.outlet.getRootView(ot);return this.navCtrl.navigateRoot(Dn,{...Oo&&Dn===Oo.url&&Oo.savedExtras,animated:!0,animationDirection:"back"})}{const to=this.outlet.getLastRouteView(ot),co=to?.url||Dn,Oo=to?.savedExtras;return this.navCtrl.navigateRoot(co,{...Oo,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach($e=>{const We=$e.el.getAttribute("slot");We!==this.tabBarSlot&&(this.tabBarSlot=We,this.relocateTabBar())})}relocateTabBar(){const $e=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before($e):this.tabsInner.nativeElement.after($e)}static \u0275fac=function(We){return new(We||wn)(i.rXU(lt))};static \u0275dir=i.FsC({type:wn,selectors:[["ion-tabs"]],viewQuery:function(We,ot){if(1&We&&i.GBs(be,7,i.aKT),2&We){let Wt;i.mGM(Wt=i.lsd())&&(ot.tabsInner=Wt.first)}},hostBindings:function(We,ot){1&We&&i.bIt("ionTabButtonClick",function(Dn){return ot.select(Dn)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"},standalone:!1})}return wn})(),Vn=(()=>{class wn{injector;elementRef;onChange=()=>{};onTouched=()=>{};lastValue;statusChanges;constructor($e,We){this.injector=$e,this.elementRef=We}writeValue($e){this.elementRef.nativeElement.value=this.lastValue=$e,mn(this.elementRef)}handleValueChange($e,We){$e===this.elementRef.nativeElement&&(We!==this.lastValue&&(this.lastValue=We,this.onChange(We)),mn(this.elementRef))}_handleBlurEvent($e){$e===this.elementRef.nativeElement&&(this.onTouched(),mn(this.elementRef))}registerOnChange($e){this.onChange=$e}registerOnTouched($e){this.onTouched=$e}setDisabledState($e){this.elementRef.nativeElement.disabled=$e}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let $e;try{$e=this.injector.get(pe.vO)}catch{}if(!$e)return;$e.statusChanges&&(this.statusChanges=$e.statusChanges.subscribe(()=>mn(this.elementRef)));const We=$e.control;We&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(Wt=>{if(typeof We[Wt]<"u"){const Dn=We[Wt].bind(We);We[Wt]=(...to)=>{Dn(...to),mn(this.elementRef)}}})}static \u0275fac=function(We){return new(We||wn)(i.rXU(i.zZn),i.rXU(i.aKT))};static \u0275dir=i.FsC({type:wn,hostBindings:function(We,ot){1&We&&i.bIt("ionBlur",function(Dn){return ot._handleBlurEvent(Dn.target)})},standalone:!1})}return wn})();const mn=wn=>{(wn=>{"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(wn):"function"==typeof requestAnimationFrame?requestAnimationFrame(wn):setTimeout(wn)})(()=>{const dn=wn.nativeElement,$e=null!=dn.value&&dn.value.toString().length>0,We=ze(dn);at(dn,We);const ot=dn.closest("ion-item");ot&&at(ot,$e?[...We,"item-has-value"]:We)})},ze=wn=>{const dn=wn.classList,$e=[];for(let We=0;We{const $e=wn.classList;$e.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),$e.add(...dn)},Ft=(wn,dn)=>wn.substring(0,dn.length)===dn;class fo{ctrl;constructor(dn){this.ctrl=dn}create(dn){return this.ctrl.create(dn||{})}dismiss(dn,$e,We){return this.ctrl.dismiss(dn,$e,We)}getTop(){return this.ctrl.getTop()}}},51272:(ft,Z,l)=>{"use strict";l.d(Z,{Hx:()=>G0,U1:()=>_0,el:()=>y1,ZF:()=>vf,In:()=>ju,QW:()=>Pc,eY:()=>dp,W9:()=>E0,Q8:()=>T1,YW:()=>P1,OL:()=>Gd,M0:()=>M0,eU:()=>F0,iq:()=>X0,uz:()=>O0,Dg:()=>T0,jh:()=>P0,LU:()=>ip,CE:()=>L1,A7:()=>j1,he:()=>rp,nf:()=>B1,AF:()=>$1,Sb:()=>v1,KO:()=>Cf,f0:()=>Yd,Ob:()=>hp,To:()=>cd,UB:()=>Ef,p$:()=>z1,Rg:()=>op,Gp:()=>jf,eP:()=>V1,Jq:()=>Bu,qW:()=>$0,p4:()=>Mf,BC:()=>N0,BY:()=>$f,ai:()=>z0,Xi:()=>Gr,W3:()=>Ff,K_:()=>lp,_H:()=>V0});var n=l(31635),i=l(54438),f=l(70600),g=l(10467),s=l(51771),x=l(1656);const _=(C,c)=>null!==c.closest(C),y=(C,c)=>"string"==typeof C&&C.length>0?Object.assign({"ion-color":!0,[`ion-color-${C}`]:!0},c):c,M=C=>{const c={};return(C=>void 0!==C?(Array.isArray(C)?C:C.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(C).forEach(d=>c[d]=!0),c},I=/^[a-z][a-z0-9+\-.]*:/,R=function(){var C=(0,g.A)(function*(c,d,p,F){if(null!=c&&"#"!==c[0]&&!I.test(c)){const oe=document.querySelector("ion-router");if(oe)return d?.preventDefault(),oe.push(c,p,F)}return!1});return function(d,p,F,oe){return C.apply(this,arguments)}}(),ke="data:image/svg+xml;utf8,",e="data:image/svg+xml;utf8,";var we=l(45531);let Ot;const En=(C,c,d,p,F)=>(d="ios"===(d&&Nt(d))?"ios":"md",p&&"ios"===d?C=Nt(p):F&&"md"===d?C=Nt(F):(!C&&c&&!So(c)&&(C=c),pt(C)&&(C=Nt(C))),pt(C)&&""!==C.trim()&&""===C.replace(/[a-z]|-|\d/gi,"")?C:null),jn=C=>pt(C)&&(C=C.trim(),So(C))?C:null,So=C=>C.length>0&&/(\/|\.)/.test(C),pt=C=>"string"==typeof C,Nt=C=>C.toLowerCase(),pn=C=>{if(1===C.nodeType){if("script"===C.nodeName.toLowerCase())return!1;for(let c=0;c{const d={};return c.forEach(p=>{C.hasAttribute(p)&&(null!==C.getAttribute(p)&&(d[p]=C.getAttribute(p)),C.removeAttribute(p))}),d})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(c,d,p){if(s.L2.isBrowser&&this.lazy&&typeof window<"u"&&window.IntersectionObserver){const F=this.io=new window.IntersectionObserver(oe=>{oe[0].isIntersecting&&(F.disconnect(),this.io=void 0,p())},{rootMargin:d});F.observe(c)}else p()}loadIcon(){if(s.L2.isBrowser&&this.isVisible){const c=(C=>{let c=jn(C.src);return c||(c=En(C.name,C.icon,C.mode,C.ios,C.md),c?((C,c)=>{const d=(()=>{if(typeof window>"u")return new Map;if(!Ot){const C=window;C.Ionicons=C.Ionicons||{},Ot=C.Ionicons.map=C.Ionicons.map||new Map}return Ot})().get(C);if(d)return d;try{return(0,s.OX)(`svg/${C}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${C}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,c)}})(c,C):C.icon&&(c=jn(C.icon),c||(c=jn(C.icon[C.mode]),c))?c:null)})(this);c&&(Bn.has(c)?this.svgContent=Bn.get(c):((C,c)=>{let d=_n.get(C);if(!d){if(!(typeof fetch<"u"&&typeof document<"u"))return Bn.set(C,""),Promise.resolve();if((C=>C.startsWith("data:image/svg+xml"))(C)&&(C=>-1!==C.indexOf(";utf8,"))(C)){Cn||(Cn=new DOMParser);const F=Cn.parseFromString(C,"text/html").querySelector("svg");return F&&Bn.set(C,F.outerHTML),Promise.resolve()}d=fetch(C).then(p=>{if(p.ok)return p.text().then(F=>{F&&!1!==c&&(F=(C=>{const c=document.createElement("div");c.innerHTML=C;for(let p=c.childNodes.length-1;p>=0;p--)"svg"!==c.childNodes[p].nodeName.toLowerCase()&&c.removeChild(c.childNodes[p]);const d=c.firstElementChild;if(d&&"svg"===d.nodeName.toLowerCase()){const p=d.getAttribute("class")||"";if(d.setAttribute("class",(p+" s-ion-icon").trim()),pn(d))return c.innerHTML}return""})(F)),Bn.set(C,F||"")});Bn.set(C,"")}),_n.set(C,d)}return d})(c,this.sanitize).then(()=>this.svgContent=Bn.get(c)),this.didLoadIcon=!0)}this.iconName=En(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:c,iconName:d,inheritedAttributes:p,el:F}=this,oe=this.mode||"md",Me=!!d&&(d.includes("arrow")||d.includes("chevron"))&&!1!==c,Qe=c||Me;return(0,s.h)(s.xr,Object.assign({role:"img",class:Object.assign(Object.assign({[oe]:!0},hn(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":Qe,"icon-rtl":Qe&&(C=F,C&&""!==C.dir?"rtl"===C.dir.toLowerCase():"rtl"===document?.dir.toLowerCase())})},p),(0,s.h)("div",s.L2.isBrowser&&this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}));var C}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]},void 0,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}]),vn=()=>s.L2.isBrowser&&typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",hn=C=>C?{"ion-color":!0,[`ion-color-${C}`]:!0}:null;function Tn(){typeof customElements>"u"||["ion-icon"].forEach(c=>{"ion-icon"===c&&(customElements.get(c)||customElements.define(c,Zt))})}const _o=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}addRipple(c,d){var p=this;return(0,g.A)(function*(){return new Promise(F=>{(0,s.gv)(()=>{const oe=p.el.getBoundingClientRect(),Me=oe.width,Qe=oe.height,kt=Math.sqrt(Me*Me+Qe*Qe),qt=Math.max(Qe,Me),Xn=p.unbounded?qt:kt+Go,oo=Math.floor(qt*zo),Co=Xn/oo;let xo=c-oe.left,Ro=d-oe.top;p.unbounded&&(xo=.5*Me,Ro=.5*Qe);const Wo=xo-.5*oo,wi=Ro-.5*oo,or=.5*Me-xo,ur=.5*Qe-Ro;(0,s.bN)(()=>{const Hi=document.createElement("div");Hi.classList.add("ripple-effect");const rr=Hi.style;rr.top=wi+"px",rr.left=Wo+"px",rr.width=rr.height=oo+"px",rr.setProperty("--final-scale",`${Co}`),rr.setProperty("--translate-end",`${or}px, ${ur}px`),(p.el.shadowRoot||p.el).appendChild(Hi),setTimeout(()=>{F(()=>{gi(Hi)})},325)})})})})()}get unbounded(){return"unbounded"===this.type}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"2302f087ab1c6755355736e4ca77309c5fdcf185",role:"presentation",class:{[c]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}"}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),gi=C=>{C.classList.add("fade-out"),setTimeout(()=>{C.remove()},200)},Go=10,zo=.5;function ri(){typeof customElements>"u"||["ion-ripple-effect"].forEach(c=>{"ion-ripple-effect"===c&&(customElements.get(c)||customElements.define(c,_o))})}const Pr=(0,s.w$)(class extends s.wt{constructor(){var c;super(),c=this,this.__registerHost(),this.__attachShadow(),this.inheritedAttributes={},this.onClick=function(){var d=(0,g.A)(function*(p){const F=c.el.closest("ion-nav");return p.preventDefault(),F&&(yield F.canGoBack())?F.pop({animationBuilder:c.routerAnimation,skipIfBusy:!0}):R(c.defaultHref,p,"back",c.routerAnimation)});return function(p){return d.apply(this,arguments)}}(),this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,x.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=we.c.get("backButtonDefaultHref"))}get backButtonIcon(){return this.icon??("ios"===(0,we.b)(this)?we.c.get("backButtonIcon","data:image/svg+xml;utf8,"):we.c.get("backButtonIcon","data:image/svg+xml;utf8,"))}get backButtonText(){const c="ios"===(0,we.b)(this)?"Back":null;return null!=this.text?this.text:we.c.get("backButtonText",c)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:c,defaultHref:d,disabled:p,type:F,hasIconOnly:oe,backButtonIcon:Me,backButtonText:Qe,icon:kt,inheritedAttributes:qt}=this,Xn=void 0!==d,oo=(0,we.b)(this),Co=qt["aria-label"]||Qe||"back";return(0,s.h)(s.xr,{key:"8351c93a1812c94c979fb115f07a9ad7b3152188",onClick:this.onClick,class:y(c,{[oo]:!0,button:!0,"back-button-disabled":p,"back-button-has-icon-only":oe,"in-toolbar":_("ion-toolbar",this.el),"in-toolbar-color":_("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":Xn})},(0,s.h)("button",{key:"991b8baa784dbfbdf8d3581cbbf6a858ac1f1e6e",type:F,disabled:p,class:"button-native",part:"native","aria-label":Co},(0,s.h)("span",{key:"929fcd83a4fdb00cf97ca803f234719171602a5e",class:"button-inner"},Me&&(0,s.h)("ion-icon",{key:"0c10d412ae8342d96f221e626b421c9abadac748",part:"icon",icon:Me,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===kt}),Qe&&(0,s.h)("span",{key:"96f505880a80f36ee8b8c78268b450f3629ee613",part:"text","aria-hidden":"true",class:"button-text"},Qe)),"md"===oo&&(0,s.h)("ion-ripple-effect",{key:"0aecf5d415c608069eb1a10043530bd0929b6383",type:this.rippleType})))}get el(){return this}static get style(){return{ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #0054e9);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'}}},[33,"ion-back-button",{color:[513],defaultHref:[1025,"default-href"],disabled:[516],icon:[1],text:[1],type:[1],routerAnimation:[16]}]),Vn=function Gi(){typeof customElements>"u"||["ion-back-button","ion-icon","ion-ripple-effect"].forEach(c=>{switch(c){case"ion-back-button":customElements.get(c)||customElements.define(c,Pr);break;case"ion-icon":customElements.get(c)||Tn();break;case"ion-ripple-effect":customElements.get(c)||ri()}})},mn=(C,c,d,p,F)=>at(C[1],c[1],d[1],p[1],F).map(oe=>ze(C[0],c[0],d[0],p[0],oe)),ze=(C,c,d,p,F)=>F*(3*c*Math.pow(F-1,2)+F*(-3*d*F+3*d+p*F))-C*Math.pow(F-1,3),at=(C,c,d,p,F)=>In((p-=F)-3*(d-=F)+3*(c-=F)-(C-=F),3*d-6*c+3*C,3*c-3*C,C).filter(Me=>Me>=0&&Me<=1),In=(C,c,d,p)=>{if(0===C)return((C,c,d)=>{const p=c*c-4*C*d;return p<0?[]:[(-c+Math.sqrt(p))/(2*C),(-c-Math.sqrt(p))/(2*C)]})(c,d,p);const F=(3*(d/=C)-(c/=C)*c)/3,oe=(2*c*c*c-9*c*d+27*(p/=C))/27;if(0===F)return[Math.pow(-oe,1/3)];if(0===oe)return[Math.sqrt(-F),-Math.sqrt(-F)];const Me=Math.pow(oe/2,2)+Math.pow(F/3,3);if(0===Me)return[Math.pow(oe/2,.5)-c/3];if(Me>0)return[Math.pow(-oe/2+Math.sqrt(Me),1/3)-Math.pow(oe/2+Math.sqrt(Me),1/3)-c/3];const Qe=Math.sqrt(Math.pow(-F/3,3)),kt=Math.acos(-oe/(2*Math.sqrt(Math.pow(-F/3,3)))),qt=2*Math.pow(Qe,1/3);return[qt*Math.cos(kt/3)-c/3,qt*Math.cos((kt+2*Math.PI)/3)-c/3,qt*Math.cos((kt+4*Math.PI)/3)-c/3]},fo=function(){var C=(0,g.A)(function*(c,d,p,F,oe,Me){var Qe;if(c)return c.attachViewToDom(d,p,oe,F);if(!(Me||"string"==typeof p||p instanceof HTMLElement))throw new Error("framework delegate is missing");const kt="string"==typeof p?null===(Qe=d.ownerDocument)||void 0===Qe?void 0:Qe.createElement(p):p;return F&&F.forEach(qt=>kt.classList.add(qt)),oe&&Object.assign(kt,oe),d.appendChild(kt),yield new Promise(qt=>(0,x.c)(kt,qt)),kt});return function(d,p,F,oe,Me,Qe){return C.apply(this,arguments)}}(),wn=(C,c)=>{if(c){if(C)return C.removeViewFromDom(c.parentElement,c);c.remove()}return Promise.resolve()},dn=()=>{let C,c;return{attachViewToDom:function(){var F=(0,g.A)(function*(oe,Me,Qe={},kt=[]){var qt,Xn;let oo;if(C=oe,Me){const xo="string"==typeof Me?null===(qt=C.ownerDocument)||void 0===qt?void 0:qt.createElement(Me):Me;kt.forEach(Ro=>xo.classList.add(Ro)),Object.assign(xo,Qe),C.appendChild(xo),oo=xo,yield new Promise(Ro=>(0,x.c)(xo,Ro))}else if(C.children.length>0&&("ION-MODAL"===C.tagName||"ION-POPOVER"===C.tagName)&&!(oo=C.children[0]).classList.contains("ion-delegate-host")){const Ro=null===(Xn=C.ownerDocument)||void 0===Xn?void 0:Xn.createElement("div");Ro.classList.add("ion-delegate-host"),kt.forEach(Wo=>Ro.classList.add(Wo)),Ro.append(...C.children),C.appendChild(Ro),oo=Ro}const Co=document.querySelector("ion-app")||document.body;return c=document.createComment("ionic teleport"),C.parentNode.insertBefore(c,C),Co.appendChild(C),oo??C});return function(Me,Qe){return F.apply(this,arguments)}}(),removeViewFromDom:()=>(C&&c&&(c.parentNode.insertBefore(C,c),c.remove()),Promise.resolve())}},$e=()=>{let C;return{lock:function(){var d=(0,g.A)(function*(){const p=C;let F;return C=new Promise(oe=>F=oe),void 0!==p&&(yield p),F});return function(){return d.apply(this,arguments)}}()}};var We=l(46031);const Dn=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=(0,s.lh)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,s.lh)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,s.lh)(this,"ionNavDidChange",3),this.lockController=$e(),this.gestureOrAnimationInProgress=!1,this.mode=(0,we.b)(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}connectedCallback(){var c=this;return(0,g.A)(function*(){c.gesture=(yield l.e(6499).then(l.bind(l,76499))).createSwipeBackGesture(c.el,()=>!c.gestureOrAnimationInProgress&&!!c.swipeHandler&&c.swipeHandler.canStart(),()=>(c.gestureOrAnimationInProgress=!0,void(c.swipeHandler&&c.swipeHandler.onStart())),p=>{var F;return null===(F=c.ani)||void 0===F?void 0:F.progressStep(p)},(p,F,oe)=>{if(c.ani){c.ani.onFinish(()=>{c.gestureOrAnimationInProgress=!1,c.swipeHandler&&c.swipeHandler.onEnd(p)},{oneTimeCallback:!0});let Me=p?-.001:.001;p?Me+=mn([0,0],[.32,.72],[0,1],[1,1],F)[0]:(c.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),Me+=mn([0,0],[1,0],[.68,.28],[1,1],F)[0]),c.ani.progressEnd(p?1:0,Me,oe)}else c.gestureOrAnimationInProgress=!1}),c.swipeHandlerChanged()})()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}commit(c,d,p){var F=this;return(0,g.A)(function*(){const oe=yield F.lockController.lock();let Me=!1;try{Me=yield F.transition(c,d,p)}catch(Qe){console.error(Qe)}return oe(),Me})()}setRouteId(c,d,p,F){var oe=this;return(0,g.A)(function*(){return{changed:yield oe.setRoot(c,d,{duration:"root"===p?0:void 0,direction:"back"===p?"back":"forward",animationBuilder:F}),element:oe.activeEl}})()}getRouteId(){var c=this;return(0,g.A)(function*(){const d=c.activeEl;return d?{id:d.tagName,element:d,params:c.activeParams}:void 0})()}setRoot(c,d,p){var F=this;return(0,g.A)(function*(){if(F.activeComponent===c&&(0,x.s)(d,F.activeParams))return!1;const oe=F.activeEl,Me=yield fo(F.delegate,F.el,c,["ion-page","ion-page-invisible"],d);return F.activeComponent=c,F.activeEl=Me,F.activeParams=d,yield F.commit(Me,oe,p),yield wn(F.delegate,oe),!0})()}transition(c,d,p={}){var F=this;return(0,g.A)(function*(){if(d===c)return!1;F.ionNavWillChange.emit();const{el:oe,mode:Me}=F,Qe=F.animated&&we.c.getBoolean("animated",!0),kt=p.animationBuilder||F.animation||we.c.get("navAnimation");return yield(0,We.t)(Object.assign(Object.assign({mode:Me,animated:Qe,enteringEl:c,leavingEl:d,baseEl:oe,deepWait:(0,x.j)(oe),progressCallback:p.progressAnimation?qt=>{void 0===qt||F.gestureOrAnimationInProgress?F.ani=qt:(F.gestureOrAnimationInProgress=!0,qt.onFinish(()=>{F.gestureOrAnimationInProgress=!1,F.swipeHandler&&F.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),qt.progressEnd(0,0,0))}:void 0},p),{animationBuilder:kt})),F.ionNavDidChange.emit(),!0})()}render(){return(0,s.h)("slot",{key:"8279a453c66a766e6e383ff59842b4ae070c13a9"})}get el(){return this}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}static get style(){return":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}"}},[1,"ion-router-outlet",{mode:[1025],delegate:[16],animated:[4],animation:[16],swipeHandler:[16],commit:[64],setRouteId:[64],getRouteId:[64]},void 0,{swipeHandler:["swipeHandlerChanged"]}]),Oo=function to(){typeof customElements>"u"||["ion-router-outlet"].forEach(c=>{"ion-router-outlet"===c&&(customElements.get(c)||customElements.define(c,Dn))})};var ln=l(60177),Gn=l(47868),go=l(67849),Vo=l(91979),yi=l(76081),ci=l(84878),er=l(95098),ei=l(88875);const dr='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',Lr=(C,c)=>{const d=C.querySelector(dr);Fr(d,c??C)},Vr=(C,c)=>{const d=Array.from(C.querySelectorAll(dr));Fr(d.length>0?d[d.length-1]:null,c??C)},Fr=(C,c)=>{let d=C;const p=C?.shadowRoot;p&&(d=p.querySelector(dr)||C),d?(0,x.f)(d):c.focus()};let wr=0,Qi=0;const is=new WeakMap,en=C=>({create:c=>Si(C,c),dismiss:(c,d,p)=>ps(document,c,d,C,p),getTop:()=>(0,g.A)(function*(){return Ps(document,C)})()}),Ci=en("ion-loading"),hr=en("ion-modal"),qi=en("ion-popover"),ts=en("ion-toast"),Wi=C=>{typeof document<"u"&&Cs(document);const c=wr++;C.overlayIndex=c},sr=C=>(C.hasAttribute("id")||(C.id="ion-overlay-"+ ++Qi),C.id),Si=(C,c)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(C).then(()=>{const d=document.createElement(C);return d.classList.add("overlay-hidden"),Object.assign(d,Object.assign(Object.assign({},c),{hasController:!0})),ks(document).appendChild(d),new Promise(p=>(0,x.c)(d,p))}):Promise.resolve(),Ir=(C,c)=>{let d=C;const p=C?.shadowRoot;p&&(d=p.querySelector(dr)||C),d?(0,x.f)(d):c.focus()},Cs=C=>{0===wr&&(wr=1,C.addEventListener("focus",c=>{((C,c)=>{const d=Ps(c,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),p=C.target;d&&p&&!d.classList.contains(si)&&(d.shadowRoot?(()=>{if(d.contains(p))d.lastFocus=p;else if("ION-TOAST"===p.tagName)Ir(d.lastFocus,d);else{const Me=d.lastFocus;Lr(d),Me===c.activeElement&&Vr(d),d.lastFocus=c.activeElement}})():(()=>{if(d===p)d.lastFocus=void 0;else if("ION-TOAST"===p.tagName)Ir(d.lastFocus,d);else{const Me=(0,x.g)(d);if(!Me.contains(p))return;const Qe=Me.querySelector(".ion-overlay-wrapper");if(!Qe)return;if(Qe.contains(p)||p===Me.querySelector("ion-backdrop"))d.lastFocus=p;else{const kt=d.lastFocus;Lr(Qe,d),kt===c.activeElement&&Vr(Qe,d),d.lastFocus=c.activeElement}}})())})(c,C)},!0),C.addEventListener("ionBackButton",c=>{const d=Ps(C);d?.backdropDismiss&&c.detail.register(er.OVERLAY_BACK_BUTTON_PRIORITY,()=>{d.dismiss(void 0,Dt)})}),(0,er.shouldUseCloseWatcher)()||C.addEventListener("keydown",c=>{if("Escape"===c.key){const d=Ps(C);d?.backdropDismiss&&d.dismiss(void 0,Dt)}}))},ps=(C,c,d,p,F)=>{const oe=Ps(C,p,F);return oe?oe.dismiss(c,d):Promise.reject("overlay does not exist")},As=(C,c)=>((C,c)=>(void 0===c&&(c="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(C.querySelectorAll(c)).filter(d=>d.overlayIndex>0)))(C,c).filter(d=>!(C=>C.classList.contains("overlay-hidden"))(d)),Ps=(C,c,d)=>{const p=As(C,c);return void 0===d?p[p.length-1]:p.find(F=>F.id===d)},ys=(C=!1)=>{const d=ks(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");d&&(C?d.setAttribute("aria-hidden","true"):d.removeAttribute("aria-hidden"))},Es=function(){var C=(0,g.A)(function*(c,d,p,F,oe){var Me,Qe;if(c.presented)return;ys(!0),document.body.classList.add(ei.B),qo(c.el),c.presented=!0,c.willPresent.emit(),null===(Me=c.willPresentShorthand)||void 0===Me||Me.emit();const kt=(0,we.b)(c),qt=c.enterAnimation?c.enterAnimation:we.c.get(d,"ios"===kt?p:F);(yield Zr(c,qt,c.el,oe))&&(c.didPresent.emit(),null===(Qe=c.didPresentShorthand)||void 0===Qe||Qe.emit()),"ION-TOAST"!==c.el.tagName&&gs(c.el),c.keyboardClose&&(null===document.activeElement||!c.el.contains(document.activeElement))&&c.el.focus(),c.el.removeAttribute("aria-hidden")});return function(d,p,F,oe,Me){return C.apply(this,arguments)}}(),gs=function(){var C=(0,g.A)(function*(c){let d=document.activeElement;if(!d)return;const p=d?.shadowRoot;p&&(d=p.querySelector(dr)||d),yield c.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&d.focus()});return function(d){return C.apply(this,arguments)}}(),vs=function(){var C=(0,g.A)(function*(c,d,p,F,oe,Me,Qe){var kt,qt;if(!c.presented)return!1;void 0!==ci.d&&1===As(ci.d).length&&(ys(!1),document.body.classList.remove(ei.B)),c.presented=!1;try{c.el.style.setProperty("pointer-events","none"),c.willDismiss.emit({data:d,role:p}),null===(kt=c.willDismissShorthand)||void 0===kt||kt.emit({data:d,role:p});const oo=(0,we.b)(c),Co=c.leaveAnimation?c.leaveAnimation:we.c.get(F,"ios"===oo?oe:Me);p!==un&&(yield Zr(c,Co,c.el,Qe)),c.didDismiss.emit({data:d,role:p}),null===(qt=c.didDismissShorthand)||void 0===qt||qt.emit({data:d,role:p}),(is.get(c)||[]).forEach(Ro=>Ro.destroy()),is.delete(c),c.el.classList.add("overlay-hidden"),c.el.style.removeProperty("pointer-events"),void 0!==c.el.lastFocus&&(c.el.lastFocus=void 0)}catch(oo){console.error(oo)}return c.el.remove(),hi(),!0});return function(d,p,F,oe,Me,Qe,kt){return C.apply(this,arguments)}}(),ks=C=>C.querySelector("ion-app")||C.body,Zr=function(){var C=(0,g.A)(function*(c,d,p,F){p.classList.remove("overlay-hidden");const Me=d(c.el,F);(!c.animated||!we.c.getBoolean("animated",!0))&&Me.duration(0),c.keyboardClose&&Me.beforeAddWrite(()=>{const kt=p.ownerDocument.activeElement;kt?.matches("input,ion-input, ion-textarea")&&kt.blur()});const Qe=is.get(c)||[];return is.set(c,[...Qe,Me]),yield Me.play(),!0});return function(d,p,F,oe){return C.apply(this,arguments)}}(),Wr=(C,c)=>{let d;const p=new Promise(F=>d=F);return ws(C,c,F=>{d(F.detail)}),p},ws=(C,c,d)=>{const p=F=>{(0,x.b)(C,c,p),d(F)};(0,x.a)(C,c,p)},Or=C=>"cancel"===C||C===Dt,Rt=C=>C(),Dt="backdrop",un="gesture",so=C=>{let d,c=!1;const p=dn(),F=(Qe=!1)=>{if(d&&!Qe)return{delegate:d,inline:c};const{el:kt,hasController:qt,delegate:Xn}=C;return c=null!==kt.parentNode&&!qt,d=c?Xn||p:Xn,{inline:c,delegate:d}};return{attachViewToDom:function(){var Qe=(0,g.A)(function*(kt){const{delegate:qt}=F(!0);if(qt)return yield qt.attachViewToDom(C.el,kt);const{hasController:Xn}=C;if(Xn&&void 0!==kt)throw new Error("framework delegate is missing");return null});return function(qt){return Qe.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Qe}=F();Qe&&void 0!==C.el&&Qe.removeViewFromDom(C.el.parentElement,C.el)}}},To=()=>{let C;const c=()=>{C&&(C(),C=void 0)};return{addClickListener:(p,F)=>{c();const oe=void 0!==F?document.getElementById(F):null;oe?C=((Qe,kt)=>{const qt=()=>{kt.present()};return Qe.addEventListener("click",qt),()=>{Qe.removeEventListener("click",qt)}})(oe,p):(0,Vo.p)(`A trigger element with the ID "${F}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,p)},removeClickListener:c}},qo=C=>{var c;if(void 0===ci.d)return;const d=As(ci.d);for(let p=d.length-1;p>=0;p--){const F=d[p],oe=null!==(c=d[p+1])&&void 0!==c?c:C;(oe.hasAttribute("aria-hidden")||"ION-TOAST"!==oe.tagName)&&F.setAttribute("aria-hidden","true")}},hi=()=>{if(void 0===ci.d)return;const C=As(ci.d);for(let c=C.length-1;c>=0;c--){const d=C[c];if(d.removeAttribute("aria-hidden"),"ION-TOAST"!==d.tagName)break}},si="ion-disable-focus-trap";var Ao=l(86008),eo=l(90555),fi=l(2104);const re=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=(0,s.lh)(this,"ionBackdropTap",7),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}onMouseDown(c){this.emitTap(c)}emitTap(c){this.stopPropagation&&(c.preventDefault(),c.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"c803b4302c8e722064feb03dafe3cb6e190b4f2b",tabindex:"-1","aria-hidden":"true",class:{[c]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ios:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",md:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}"}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function ie(){typeof customElements>"u"||["ion-backdrop"].forEach(c=>{"ion-backdrop"===c&&(customElements.get(c)||customElements.define(c,re))})}var B=function(C){return C.Dark="DARK",C.Light="LIGHT",C.Default="DEFAULT",C}(B||{});const ne={getEngine(){const C=(0,yi.g)();if(C?.isPluginAvailable("StatusBar"))return C.Plugins.StatusBar},setStyle(C){const c=this.getEngine();c&&c.setStyle(C)},getStyle:(C=(0,g.A)(function*(){const c=this.getEngine();if(!c)return B.Default;const{style:d}=yield c.getInfo();return d}),function(){return C.apply(this,arguments)})},de=(C,c)=>{if(1===c)return 0;const d=1/(1-c);return C*d+-c*d},Ce=()=>{!ci.w||ci.w.innerWidth>=768||ne.setStyle({style:B.Dark})},Ke=(C=B.Default)=>{!ci.w||ci.w.innerWidth>=768||ne.setStyle({style:C})},st=function(){var C=(0,g.A)(function*(c,d){"function"!=typeof c.canDismiss||!(yield c.canDismiss(void 0,un))||(d.isRunning()?d.onFinish(()=>{c.dismiss(void 0,"handler")},{oneTimeCallback:!0}):c.dismiss(void 0,"handler"))});return function(d,p){return C.apply(this,arguments)}}(),rt=C=>.00255275*2.71828**(-14.9619*C)-1.00255*2.71828**(-.0380968*C)+1,Yt=(C,c)=>(0,x.k)(400,C/Math.abs(1.1*c),500),$n=C=>{const{currentBreakpoint:c,backdropBreakpoint:d}=C,p=void 0===d||d{const{currentBreakpoint:c,backdropBreakpoint:d}=C,p=`calc(var(--backdrop-opacity) * ${de(c,d)})`,F=[{offset:0,opacity:p},{offset:1,opacity:0}],oe=[{offset:0,opacity:p},{offset:d,opacity:0},{offset:1,opacity:0}],Me=(0,eo.c)("backdropAnimation").keyframes(0!==d?oe:F);return{wrapperAnimation:(0,eo.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*c}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:Me}},yo=(C,c)=>{const{presentingEl:d,currentBreakpoint:p}=c,F=(0,x.g)(C),{wrapperAnimation:oe,backdropAnimation:Me}=void 0!==p?$n(c):{backdropAnimation:(0,eo.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,eo.c)().fromTo("transform","translateY(100vh)","translateY(0vh)")};Me.addElement(F.querySelector("ion-backdrop")),oe.addElement(F.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const Qe=(0,eo.c)("entering-base").addElement(C).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(oe);if(d){const kt=window.innerWidth<768,qt="ION-MODAL"===d.tagName&&void 0!==d.presentingElement,Xn=(0,x.g)(d),oo=(0,eo.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),Co=document.body;if(kt){const xo=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",wi=`translateY(${qt?"-10px":xo}) scale(0.915)`;oo.afterStyles({transform:wi}).beforeAddWrite(()=>Co.style.setProperty("background-color","black")).addElement(d).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:wi,borderRadius:"10px 10px 0 0"}]),Qe.addAnimation(oo)}else if(Qe.addAnimation(Me),qt){const Ro=`translateY(-10px) scale(${qt?.915:1})`;oo.afterStyles({transform:Ro}).addElement(Xn.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:Ro}]);const Wo=(0,eo.c)().afterStyles({transform:Ro}).addElement(Xn.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:Ro}]);Qe.addAnimation([oo,Wo])}else oe.fromTo("opacity","0","1")}else Qe.addAnimation(Me);return Qe},Ho=(C,c,d=500)=>{const{presentingEl:p,currentBreakpoint:F}=c,oe=(0,x.g)(C),{wrapperAnimation:Me,backdropAnimation:Qe}=void 0!==F?nn(c):{backdropAnimation:(0,eo.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,eo.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")};Qe.addElement(oe.querySelector("ion-backdrop")),Me.addElement(oe.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const kt=(0,eo.c)("leaving-base").addElement(C).easing("cubic-bezier(0.32,0.72,0,1)").duration(d).addAnimation(Me);if(p){const qt=window.innerWidth<768,Xn="ION-MODAL"===p.tagName&&void 0!==p.presentingElement,oo=(0,x.g)(p),Co=(0,eo.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(Ro=>{1===Ro&&(p.style.setProperty("overflow",""),Array.from(xo.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(wi=>void 0!==wi.presentingElement).length<=1&&xo.style.setProperty("background-color",""))}),xo=document.body;if(qt){const Ro=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",or=`translateY(${Xn?"-10px":Ro}) scale(0.915)`;Co.addElement(p).keyframes([{offset:0,filter:"contrast(0.85)",transform:or,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),kt.addAnimation(Co)}else if(kt.addAnimation(Qe),Xn){const Wo=`translateY(-10px) scale(${Xn?.915:1})`;Co.addElement(oo.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:Wo},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const wi=(0,eo.c)().addElement(oo.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:Wo},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);kt.addAnimation([Co,wi])}else Me.fromTo("opacity","1","0")}else kt.addAnimation(Qe);return kt},ui=(C,c)=>{const{currentBreakpoint:d}=c,p=(0,x.g)(C),{wrapperAnimation:F,backdropAnimation:oe}=void 0!==d?$n(c):{backdropAnimation:(0,eo.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,eo.c)().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return oe.addElement(p.querySelector("ion-backdrop")),F.addElement(p.querySelector(".modal-wrapper")),(0,eo.c)().addElement(C).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([oe,F])},ai=(C,c)=>{const{currentBreakpoint:d}=c,p=(0,x.g)(C),{wrapperAnimation:F,backdropAnimation:oe}=void 0!==d?nn(c):{backdropAnimation:(0,eo.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,eo.c)().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return oe.addElement(p.querySelector("ion-backdrop")),F.addElement(p.querySelector(".modal-wrapper")),(0,eo.c)().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([oe,F])},Cr=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=(0,s.lh)(this,"ionModalDidPresent",7),this.willPresent=(0,s.lh)(this,"ionModalWillPresent",7),this.willDismiss=(0,s.lh)(this,"ionModalWillDismiss",7),this.didDismiss=(0,s.lh)(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=(0,s.lh)(this,"ionBreakpointDidChange",7),this.didPresentShorthand=(0,s.lh)(this,"didPresent",7),this.willPresentShorthand=(0,s.lh)(this,"willPresent",7),this.willDismissShorthand=(0,s.lh)(this,"willDismiss",7),this.didDismissShorthand=(0,s.lh)(this,"didDismiss",7),this.ionMount=(0,s.lh)(this,"ionMount",7),this.lockController=$e(),this.triggerController=To(),this.coreDelegate=dn(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:c,handleBehavior:d}=this;"cycle"!==d||void 0!==c||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:c}=this;void 0===c&&this.dismiss(void 0,Dt)},this.onLifecycle=c=>{const d=this.usersElement,p=Jr[c.type];if(d&&p){const F=new CustomEvent(p,{bubbles:!1,cancelable:!1,detail:c.detail});d.dispatchEvent(F)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.focusTrap=!0,this.canDismiss=!0}onIsOpenChange(c,d){!0===c&&!1===d?this.present():!1===c&&!0===d&&this.dismiss()}triggerChanged(){const{trigger:c,el:d,triggerController:p}=this;c&&p.addClickListener(d,c)}breakpointsChanged(c){void 0!==c&&(this.sortedBreakpoints=c.sort((d,p)=>d-p))}connectedCallback(){const{el:c}=this;Wi(c),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var c;const{breakpoints:d,initialBreakpoint:p,el:F,htmlAttributes:oe}=this,Me=this.isSheetModal=void 0!==d&&void 0!==p,Qe=["aria-label","role"];this.inheritedAttributes=(0,x.d)(F,Qe),void 0!==oe&&Qe.forEach(kt=>{oe[kt]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[kt]:oe[kt]}),delete oe[kt])}),Me&&(this.currentBreakpoint=this.initialBreakpoint),void 0!==d&&void 0!==p&&!d.includes(p)&&(0,Vo.p)("Your breakpoints array must include the initialBreakpoint value."),null!==(c=this.htmlAttributes)&&void 0!==c&&c.id||sr(this.el)}componentDidLoad(){!0===this.isOpen&&(0,x.r)(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(c=!1){if(this.workingDelegate&&!c)return{delegate:this.workingDelegate,inline:this.inline};const p=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:p,delegate:this.workingDelegate=p?this.delegate||this.coreDelegate:this.delegate}}checkCanDismiss(c,d){var p=this;return(0,g.A)(function*(){const{canDismiss:F}=p;return"function"==typeof F?F(c,d):F})()}present(){var c=this;return(0,g.A)(function*(){const d=yield c.lockController.lock();if(c.presented)return void d();const{presentingElement:p,el:F}=c;c.currentBreakpoint=c.initialBreakpoint;const{inline:oe,delegate:Me}=c.getDelegate(!0);c.ionMount.emit(),c.usersElement=yield fo(Me,F,c.component,["ion-page"],c.componentProps,oe),(0,x.j)(F)?yield(0,We.e)(c.usersElement):c.keepContentsMounted||(yield(0,We.w)()),(0,s.bN)(()=>c.el.classList.add("show-modal"));const Qe=void 0!==p;Qe&&"ios"===(0,we.b)(c)&&(c.statusBarStyle=yield ne.getStyle(),Ce()),yield Es(c,"modalEnter",yo,ui,{presentingEl:p,currentBreakpoint:c.initialBreakpoint,backdropBreakpoint:c.backdropBreakpoint}),typeof window<"u"&&(c.keyboardOpenCallback=()=>{c.gesture&&(c.gesture.enable(!1),(0,x.r)(()=>{c.gesture&&c.gesture.enable(!0)}))},window.addEventListener(Ao.KEYBOARD_DID_OPEN,c.keyboardOpenCallback)),c.isSheetModal?c.initSheetGesture():Qe&&c.initSwipeToClose(),d()})()}initSwipeToClose(){var d,c=this;if("ios"!==(0,we.b)(this))return;const{el:p}=this,F=this.leaveAnimation||we.c.get("modalLeave",Ho),oe=this.animation=F(p,{presentingEl:this.presentingElement});if(!(0,go.f)(p))return void(0,go.p)(p);const Qe=null!==(d=this.statusBarStyle)&&void 0!==d?d:B.Default;this.gesture=((C,c,d,p)=>{const oe=C.offsetHeight;let Me=!1,Qe=!1,kt=null,qt=null,oo=!0,Co=0;const ur=(0,fi.createGesture)({el:C,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:Hi=>{const rr=Hi.event.target;return null===rr||!rr.closest||(kt=(0,go.a)(rr),kt?(qt=(0,go.i)(kt)?(0,x.g)(kt).querySelector(".inner-scroll"):kt,!kt.querySelector("ion-refresher")&&0===qt.scrollTop):null===rr.closest("ion-footer"))},onStart:Hi=>{const{deltaY:rr}=Hi;oo=!kt||!(0,go.i)(kt)||kt.scrollY,Qe=void 0!==C.canDismiss&&!0!==C.canDismiss,rr>0&&kt&&(0,go.d)(kt),c.progressStart(!0,Me?1:0)},onMove:Hi=>{const{deltaY:rr}=Hi;rr>0&&kt&&(0,go.d)(kt);const lr=Hi.deltaY/oe,cr=lr>=0&&Qe,cs=cr?.2:.9999,Ws=cr?rt(lr/cs):lr,zs=(0,x.k)(1e-4,Ws,cs);c.progressStep(zs),zs>=.5&&Co<.5?Ke(d):zs<.5&&Co>=.5&&Ce(),Co=zs},onEnd:Hi=>{const rr=Hi.velocityY,lr=Hi.deltaY/oe,cr=lr>=0&&Qe,cs=cr?.2:.9999,Ws=cr?rt(lr/cs):lr,zs=(0,x.k)(1e-4,Ws,cs),Ma=!cr&&(Hi.deltaY+1e3*rr)/oe>=.5;let Fa=Ma?-.001:.001;Ma?(c.easing("cubic-bezier(0.32, 0.72, 0, 1)"),Fa+=mn([0,0],[.32,.72],[0,1],[1,1],zs)[0]):(c.easing("cubic-bezier(1, 0, 0.68, 0.28)"),Fa+=mn([0,0],[1,0],[.68,.28],[1,1],zs)[0]);const Ca=Yt(Ma?lr*oe:(1-zs)*oe,rr);Me=Ma,ur.enable(!1),kt&&(0,go.r)(kt,oo),c.onFinish(()=>{Ma||ur.enable(!0)}).progressEnd(Ma?1:0,Fa,Ca),cr&&zs>cs/4?st(C,c):Ma&&p()}});return ur})(p,oe,Qe,()=>{this.gestureAnimationDismissing=!0,Ke(this.statusBarStyle),this.animation.onFinish((0,g.A)(function*(){yield c.dismiss(void 0,un),c.gestureAnimationDismissing=!1}))}),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:c,initialBreakpoint:d,backdropBreakpoint:p}=this;if(!c||void 0===d)return;const F=this.enterAnimation||we.c.get("modalEnter",yo),oe=this.animation=F(this.el,{presentingEl:this.presentingElement,currentBreakpoint:d,backdropBreakpoint:p});oe.progressStart(!0,1);const{gesture:Me,moveSheetToBreakpoint:Qe}=((C,c,d,p,F,oe,Me=[],Qe,kt,qt)=>{const Co={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==F?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-F,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}]},xo=C.querySelector("ion-content"),Ro=d.clientHeight;let Wo=p,wi=0,or=!1;const Hi=oe.childAnimations.find(qs=>"wrapperAnimation"===qs.id),rr=oe.childAnimations.find(qs=>"backdropAnimation"===qs.id),lr=Me[Me.length-1],cr=Me[0],cs=()=>{C.style.setProperty("pointer-events","auto"),c.style.setProperty("pointer-events","auto"),C.classList.remove(si)},Ws=()=>{C.style.setProperty("pointer-events","none"),c.style.setProperty("pointer-events","none"),C.classList.add(si)};Hi&&rr&&(Hi.keyframes([...Co.WRAPPER_KEYFRAMES]),rr.keyframes([...Co.BACKDROP_KEYFRAMES]),oe.progressStart(!0,1-Wo),Wo>F?cs():Ws()),xo&&Wo!==lr&&(xo.scrollY=!1);const Ca=qs=>{const{breakpoint:aa,canDismiss:Ra,breakpointOffset:za,animated:mc}=qs,gl=Ra&&0===aa,il=gl?Wo:aa,Xd=0!==il;return Wo=0,Hi&&rr&&(Hi.keyframes([{offset:0,transform:`translateY(${100*za}%)`},{offset:1,transform:`translateY(${100*(1-il)}%)`}]),rr.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${de(1-za,F)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${de(il,F)})`}]),oe.progressStep(0)),ol.enable(!1),gl?st(C,oe):Xd||kt(),xo&&il===Me[Me.length-1]&&(xo.scrollY=!0),new Promise(dd=>{oe.onFinish(()=>{Xd?Hi&&rr?(0,x.r)(()=>{Hi.keyframes([...Co.WRAPPER_KEYFRAMES]),rr.keyframes([...Co.BACKDROP_KEYFRAMES]),oe.progressStart(!0,1-il),Wo=il,qt(Wo),Wo>F?cs():Ws(),ol.enable(!0),dd()}):(ol.enable(!0),dd()):dd()},{oneTimeCallback:!0}).progressEnd(1,0,mc?500:0)})},ol=(0,fi.createGesture)({el:d,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:qs=>{const aa=(0,go.a)(qs.event.target);if(Wo=Qe(),1===Wo&&aa){const Ra=(0,go.i)(aa)?(0,x.g)(aa).querySelector(".inner-scroll"):aa;return!aa.querySelector("ion-refresher")&&0===Ra.scrollTop}return!0},onStart:qs=>{or=void 0!==C.canDismiss&&!0!==C.canDismiss&&0===cr,qs.deltaY>0&&xo&&(xo.scrollY=!1),(0,x.r)(()=>{C.focus()}),oe.progressStart(!0,1-Wo)},onMove:qs=>{qs.deltaY>0&&xo&&(xo.scrollY=!1);const Ra=Me.length>1?1-Me[1]:void 0,za=1-Wo+qs.deltaY/Ro,mc=void 0!==Ra&&za>=Ra&&or,gl=mc?.95:.9999,il=mc&&void 0!==Ra?Ra+rt((za-Ra)/(gl-Ra)):za;wi=(0,x.k)(1e-4,il,gl),oe.progressStep(wi)},onEnd:qs=>{const za=Wo-(qs.deltaY+350*qs.velocityY)/Ro,mc=Me.reduce((gl,il)=>Math.abs(il-za){var kt;return null!==(kt=this.currentBreakpoint)&&void 0!==kt?kt:0},()=>this.sheetOnDismiss(),kt=>{this.currentBreakpoint!==kt&&(this.currentBreakpoint=kt,this.ionBreakpointDidChange.emit({breakpoint:kt}))});this.gesture=Me,this.moveSheetToBreakpoint=Qe,this.gesture.enable(!0)}sheetOnDismiss(){var c=this;this.gestureAnimationDismissing=!0,this.animation.onFinish((0,g.A)(function*(){c.currentBreakpoint=0,c.ionBreakpointDidChange.emit({breakpoint:c.currentBreakpoint}),yield c.dismiss(void 0,un),c.gestureAnimationDismissing=!1}))}dismiss(c,d){var p=this;return(0,g.A)(function*(){var F;if(p.gestureAnimationDismissing&&d!==un)return!1;const oe=yield p.lockController.lock();if("handler"!==d&&!(yield p.checkCanDismiss(c,d)))return oe(),!1;const{presentingElement:Me}=p;void 0!==Me&&"ios"===(0,we.b)(p)&&Ke(p.statusBarStyle),typeof window<"u"&&p.keyboardOpenCallback&&(window.removeEventListener(Ao.KEYBOARD_DID_OPEN,p.keyboardOpenCallback),p.keyboardOpenCallback=void 0);const kt=yield vs(p,c,d,"modalLeave",Ho,ai,{presentingEl:Me,currentBreakpoint:null!==(F=p.currentBreakpoint)&&void 0!==F?F:p.initialBreakpoint,backdropBreakpoint:p.backdropBreakpoint});if(kt){const{delegate:qt}=p.getDelegate();yield wn(qt,p.usersElement),(0,s.bN)(()=>p.el.classList.remove("show-modal")),p.animation&&p.animation.destroy(),p.gesture&&p.gesture.destroy()}return p.currentBreakpoint=void 0,p.animation=void 0,oe(),kt})()}onDidDismiss(){return Wr(this.el,"ionModalDidDismiss")}onWillDismiss(){return Wr(this.el,"ionModalWillDismiss")}setCurrentBreakpoint(c){var d=this;return(0,g.A)(function*(){if(!d.isSheetModal)return void(0,Vo.p)("setCurrentBreakpoint is only supported on sheet modals.");if(!d.breakpoints.includes(c))return void(0,Vo.p)(`Attempted to set invalid breakpoint value ${c}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:p,moveSheetToBreakpoint:F,canDismiss:oe,breakpoints:Me,animated:Qe}=d;p!==c&&F&&(d.sheetTransition=F({breakpoint:c,breakpointOffset:1-p,canDismiss:void 0!==oe&&!0!==oe&&0===Me[0],animated:Qe}),yield d.sheetTransition,d.sheetTransition=void 0)})()}getCurrentBreakpoint(){var c=this;return(0,g.A)(function*(){return c.currentBreakpoint})()}moveToNextBreakpoint(){var c=this;return(0,g.A)(function*(){const{breakpoints:d,currentBreakpoint:p}=c;if(!d||null==p)return!1;const F=d.filter(kt=>0!==kt),Me=(F.indexOf(p)+1)%F.length,Qe=F[Me];return yield c.setCurrentBreakpoint(Qe),!0})()}render(){const{handle:c,isSheetModal:d,presentingElement:p,htmlAttributes:F,handleBehavior:oe,inheritedAttributes:Me,focusTrap:Qe}=this,kt=!1!==c&&d,qt=(0,we.b)(this),Xn=void 0!==p&&"ios"===qt,oo="cycle"===oe;return(0,s.h)(s.xr,Object.assign({key:"013ba4864ca4d2c1052c512f6a4b0732b8decff7","no-router":!0,tabindex:"-1"},F,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[qt]:!0,"modal-default":!Xn&&!d,"modal-card":Xn,"modal-sheet":d,"overlay-hidden":!0,[si]:!1===Qe},M(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),(0,s.h)("ion-backdrop",{key:"498b1c0a03836d6799dcf3b8e9315805c70f6480",ref:Co=>this.backdropEl=Co,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===qt&&(0,s.h)("div",{key:"ce22e4caf1096e87248926fe2477f0d5a4c8a5cf",class:"modal-shadow"}),(0,s.h)("div",Object.assign({key:"540e47b15d8290166c39b022c725182114a75682",role:"dialog"},Me,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:Co=>this.wrapperEl=Co}),kt&&(0,s.h)("button",{key:"f3b352ec9a63a7ec801462aacfd8295b4302d115",class:"modal-handle",tabIndex:oo?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:oo?this.onHandleClick:void 0,part:"handle"}),(0,s.h)("slot",{key:"31a3f58f4c733ffdf736523c154200874a96b1d0"})))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}static get style(){return{ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'}}},[33,"ion-modal",{hasController:[4,"has-controller"],overlayIndex:[2,"overlay-index"],delegate:[16],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],breakpoints:[16],initialBreakpoint:[2,"initial-breakpoint"],backdropBreakpoint:[2,"backdrop-breakpoint"],handle:[4],handleBehavior:[1,"handle-behavior"],component:[1],componentProps:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],showBackdrop:[4,"show-backdrop"],animated:[4],presentingElement:[16],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],keepContentsMounted:[4,"keep-contents-mounted"],focusTrap:[4,"focus-trap"],canDismiss:[4,"can-dismiss"],presented:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64],setCurrentBreakpoint:[64],getCurrentBreakpoint:[64]},void 0,{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}]),Jr={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};var C;const zr=function Ii(){typeof customElements>"u"||["ion-modal","ion-backdrop"].forEach(c=>{switch(c){case"ion-modal":customElements.get(c)||customElements.define(c,Cr);break;case"ion-backdrop":customElements.get(c)||ie()}})},Xi=(C,c,d)=>{const p=c.getBoundingClientRect(),F=p.height;let oe=p.width;return"cover"===C&&d&&(oe=d.getBoundingClientRect().width),{contentWidth:oe,contentHeight:F}},m=(C,c,d)=>{let p=[];switch(c){case"hover":let F;p=[{eventName:"mouseenter",callback:(oe=(0,g.A)(function*(Me){Me.stopPropagation(),F&&clearTimeout(F),F=setTimeout(()=>{(0,x.r)(()=>{d.presentFromTrigger(Me),F=void 0})},100)}),function(Qe){return oe.apply(this,arguments)})},{eventName:"mouseleave",callback:oe=>{F&&clearTimeout(F);const Me=oe.relatedTarget;Me&&Me.closest("ion-popover")!==d&&d.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:oe=>oe.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:oe=>d.presentFromTrigger(oe,!0)}];break;case"context-menu":p=[{eventName:"contextmenu",callback:oe=>{oe.preventDefault(),d.presentFromTrigger(oe)}},{eventName:"click",callback:oe=>oe.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:oe=>d.presentFromTrigger(oe,!0)}];break;default:p=[{eventName:"click",callback:oe=>d.presentFromTrigger(oe)},{eventName:"ionPopoverActivateTrigger",callback:oe=>d.presentFromTrigger(oe,!0)}]}var oe;return p.forEach(({eventName:F,callback:oe})=>C.addEventListener(F,oe)),C.setAttribute("data-ion-popover-trigger","true"),()=>{p.forEach(({eventName:F,callback:oe})=>C.removeEventListener(F,oe)),C.removeAttribute("data-ion-popover-trigger")}},se=(C,c)=>c&&"ION-ITEM"===c.tagName?C.findIndex(d=>d===c):-1,Be=C=>{const d=(0,x.g)(C).querySelector("button");d&&(0,x.r)(()=>d.focus())},mt=C=>{const c=function(){var d=(0,g.A)(function*(p){var F;const oe=document.activeElement;let Me=[];const Qe=null===(F=p.target)||void 0===F?void 0:F.tagName;if("ION-POPOVER"===Qe||"ION-ITEM"===Qe){try{Me=Array.from(C.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(p.key){case"ArrowLeft":(yield C.getParentPopover())&&C.dismiss(void 0,void 0,!1);break;case"ArrowDown":p.preventDefault();const qt=((C,c)=>C[se(C,c)+1])(Me,oe);void 0!==qt&&Be(qt);break;case"ArrowUp":p.preventDefault();const Xn=((C,c)=>C[se(C,c)-1])(Me,oe);void 0!==Xn&&Be(Xn);break;case"Home":p.preventDefault();const oo=Me[0];void 0!==oo&&Be(oo);break;case"End":p.preventDefault();const Co=Me[Me.length-1];void 0!==Co&&Be(Co);break;case"ArrowRight":case" ":case"Enter":if(oe&&(C=>C.hasAttribute("data-ion-popover-trigger"))(oe)){const xo=new CustomEvent("ionPopoverActivateTrigger");oe.dispatchEvent(xo)}}}});return function(F){return d.apply(this,arguments)}}();return C.addEventListener("keydown",c),()=>C.removeEventListener("keydown",c)},qe=(C,c,d,p,F,oe,Me,Qe,kt,qt,Xn)=>{var oo;let Co={top:0,left:0,width:0,height:0};if("event"===oe){if(!Xn)return kt;Co={top:Xn.clientY,left:Xn.clientX,width:1,height:1}}else{const cr=Xn,cs=qt||(null===(oo=cr?.detail)||void 0===oo?void 0:oo.ionShadowTarget)||cr?.target;if(!cs)return kt;const Ws=cs.getBoundingClientRect();Co={top:Ws.top,left:Ws.left,width:Ws.width,height:Ws.height}}const xo=Gt(Me,Co,c,d,p,F,C),Ro=Jt(Qe,Me,Co,c,d),Wo=xo.top+Ro.top,wi=xo.left+Ro.left,{arrowTop:or,arrowLeft:ur}=yt(Me,p,F,Wo,wi,c,d,C),{originX:Hi,originY:rr}=Ye(Me,Qe,C);return{top:Wo,left:wi,referenceCoordinates:Co,arrowTop:or,arrowLeft:ur,originX:Hi,originY:rr}},Ye=(C,c,d)=>{switch(C){case"top":return{originX:ut(c),originY:"bottom"};case"bottom":return{originX:ut(c),originY:"top"};case"left":return{originX:"right",originY:ht(c)};case"right":return{originX:"left",originY:ht(c)};case"start":return{originX:d?"left":"right",originY:ht(c)};case"end":return{originX:d?"right":"left",originY:ht(c)}}},ut=C=>{switch(C){case"start":return"left";case"center":return"center";case"end":return"right"}},ht=C=>{switch(C){case"start":return"top";case"center":return"center";case"end":return"bottom"}},yt=(C,c,d,p,F,oe,Me,Qe)=>{const kt={arrowTop:p+Me/2-c/2,arrowLeft:F+oe-c/2},qt={arrowTop:p+Me/2-c/2,arrowLeft:F-1.5*c};switch(C){case"top":return{arrowTop:p+Me,arrowLeft:F+oe/2-c/2};case"bottom":return{arrowTop:p-d,arrowLeft:F+oe/2-c/2};case"left":return kt;case"right":return qt;case"start":return Qe?qt:kt;case"end":return Qe?kt:qt;default:return{arrowTop:0,arrowLeft:0}}},Gt=(C,c,d,p,F,oe,Me)=>{const Qe={top:c.top,left:c.left-d-F},kt={top:c.top,left:c.left+c.width+F};switch(C){case"top":return{top:c.top-p-oe,left:c.left};case"right":return kt;case"bottom":return{top:c.top+c.height+oe,left:c.left};case"left":return Qe;case"start":return Me?kt:Qe;case"end":return Me?Qe:kt}},Jt=(C,c,d,p,F)=>{switch(C){case"center":return Q(c,d,p,F);case"end":return z(c,d,p,F);default:return{top:0,left:0}}},z=(C,c,d,p)=>{switch(C){case"start":case"end":case"left":case"right":return{top:-(p-c.height),left:0};default:return{top:0,left:-(d-c.width)}}},Q=(C,c,d,p)=>{switch(C){case"start":case"end":case"left":case"right":return{top:-(p/2-c.height/2),left:0};default:return{top:0,left:-(d/2-c.width/2)}}},Ee=(C,c,d,p,F,oe,Me,Qe,kt,qt,Xn,oo,Co=0,xo=0,Ro=0)=>{let Wo=Co;const wi=xo;let Hi,or=d,ur=c,rr=qt,lr=Xn,cr=!1,cs=!1;const Ws=oo?oo.top+oo.height:oe/2-Qe/2,zs=oo?oo.height:0;let ba=!1;return orF&&(cs=!0,or=F-Me-p,rr="right"),Ws+zs+Qe>oe&&("top"===C||"bottom"===C)&&(Ws-Qe>0?(ur=Math.max(12,Ws-Qe-zs-(Ro-1)),Wo=ur+Qe,lr="bottom",ba=!0):Hi=p),{top:ur,left:or,bottom:Hi,originX:rr,originY:lr,checkSafeAreaLeft:cr,checkSafeAreaRight:cs,arrowTop:Wo,arrowLeft:wi,addPopoverBottomClass:ba}},nt=(C,c)=>{var d;const{event:p,size:F,trigger:oe,reference:Me,side:Qe,align:kt}=c,qt=C.ownerDocument,Xn="rtl"===qt.dir,oo=qt.defaultView.innerWidth,Co=qt.defaultView.innerHeight,xo=(0,x.g)(C),Ro=xo.querySelector(".popover-content"),Wo=xo.querySelector(".popover-arrow"),wi=oe||(null===(d=p?.detail)||void 0===d?void 0:d.ionShadowTarget)||p?.target,{contentWidth:or,contentHeight:ur}=Xi(F,Ro,wi),{arrowWidth:Hi,arrowHeight:rr}=(C=>{if(!C)return{arrowWidth:0,arrowHeight:0};const{width:c,height:d}=C.getBoundingClientRect();return{arrowWidth:c,arrowHeight:d}})(Wo),cr=qe(Xn,or,ur,Hi,rr,Me,Qe,kt,{top:Co/2-ur/2,left:oo/2-or/2,originX:Xn?"right":"left",originY:"top"},oe,p),cs="cover"===F?0:5,Ws="cover"===F?0:25,{originX:zs,originY:ba,top:Ma,left:Fa,bottom:Ca,checkSafeAreaLeft:ol,checkSafeAreaRight:qs,arrowTop:aa,arrowLeft:Ra,addPopoverBottomClass:za}=Ee(Qe,cr.top,cr.left,cs,oo,Co,or,ur,Ws,cr.originX,cr.originY,cr.referenceCoordinates,cr.arrowTop,cr.arrowLeft,rr),mc=(0,eo.c)(),gl=(0,eo.c)(),il=(0,eo.c)();return gl.addElement(xo.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),il.addElement(xo.querySelector(".popover-arrow")).addElement(xo.querySelector(".popover-content")).fromTo("opacity",.01,1),mc.easing("ease").duration(100).beforeAddWrite(()=>{"cover"===F&&C.style.setProperty("--width",`${or}px`),za&&C.classList.add("popover-bottom"),void 0!==Ca&&Ro.style.setProperty("bottom",`${Ca}px`);let Qd=`${Fa}px`;ol&&(Qd=`${Fa}px + var(--ion-safe-area-left, 0)`),qs&&(Qd=`${Fa}px - var(--ion-safe-area-right, 0)`),Ro.style.setProperty("top",`calc(${Ma}px + var(--offset-y, 0))`),Ro.style.setProperty("left",`calc(${Qd} + var(--offset-x, 0))`),Ro.style.setProperty("transform-origin",`${ba} ${zs}`),null!==Wo&&(((C,c=!1,d,p)=>!(!d&&!p||"top"!==C&&"bottom"!==C&&c))(Qe,cr.top!==Ma||cr.left!==Fa,p,oe)?(Wo.style.setProperty("top",`calc(${aa}px + var(--offset-y, 0))`),Wo.style.setProperty("left",`calc(${Ra}px + var(--offset-x, 0))`)):Wo.style.setProperty("display","none"))}).addAnimation([gl,il])},Ut=C=>{const c=(0,x.g)(C),d=c.querySelector(".popover-content"),p=c.querySelector(".popover-arrow"),F=(0,eo.c)(),oe=(0,eo.c)(),Me=(0,eo.c)();return oe.addElement(c.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),Me.addElement(c.querySelector(".popover-arrow")).addElement(c.querySelector(".popover-content")).fromTo("opacity",.99,0),F.easing("ease").afterAddWrite(()=>{C.style.removeProperty("--width"),C.classList.remove("popover-bottom"),d.style.removeProperty("top"),d.style.removeProperty("left"),d.style.removeProperty("bottom"),d.style.removeProperty("transform-origin"),p&&(p.style.removeProperty("top"),p.style.removeProperty("left"),p.style.removeProperty("display"))}).duration(300).addAnimation([oe,Me])},on=(C,c)=>{var d;const{event:p,size:F,trigger:oe,reference:Me,side:Qe,align:kt}=c,qt=C.ownerDocument,Xn="rtl"===qt.dir,oo=qt.defaultView.innerWidth,Co=qt.defaultView.innerHeight,xo=(0,x.g)(C),Ro=xo.querySelector(".popover-content"),Wo=oe||(null===(d=p?.detail)||void 0===d?void 0:d.ionShadowTarget)||p?.target,{contentWidth:wi,contentHeight:or}=Xi(F,Ro,Wo),Hi=qe(Xn,wi,or,0,0,Me,Qe,kt,{top:Co/2-or/2,left:oo/2-wi/2,originX:Xn?"right":"left",originY:"top"},oe,p),rr="cover"===F?0:12,{originX:lr,originY:cr,top:cs,left:Ws,bottom:zs}=Ee(Qe,Hi.top,Hi.left,rr,oo,Co,wi,or,0,Hi.originX,Hi.originY,Hi.referenceCoordinates),ba=(0,eo.c)(),Ma=(0,eo.c)(),Fa=(0,eo.c)(),Ca=(0,eo.c)(),ol=(0,eo.c)();return Ma.addElement(xo.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),Fa.addElement(xo.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),Ca.addElement(Ro).beforeStyles({top:`calc(${cs}px + var(--offset-y, 0px))`,left:`calc(${Ws}px + var(--offset-x, 0px))`,"transform-origin":`${cr} ${lr}`}).beforeAddWrite(()=>{void 0!==zs&&Ro.style.setProperty("bottom",`${zs}px`)}).fromTo("transform","scale(0.8)","scale(1)"),ol.addElement(xo.querySelector(".popover-viewport")).fromTo("opacity",.01,1),ba.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{"cover"===F&&C.style.setProperty("--width",`${wi}px`),"bottom"===cr&&C.classList.add("popover-bottom")}).addAnimation([Ma,Fa,Ca,ol])},Mn=C=>{const c=(0,x.g)(C),d=c.querySelector(".popover-content"),p=(0,eo.c)(),F=(0,eo.c)(),oe=(0,eo.c)();return F.addElement(c.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),oe.addElement(c.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),p.easing("ease").afterAddWrite(()=>{C.style.removeProperty("--width"),C.classList.remove("popover-bottom"),d.style.removeProperty("top"),d.style.removeProperty("left"),d.style.removeProperty("bottom"),d.style.removeProperty("transform-origin")}).duration(150).addAnimation([F,oe])},Pe=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=(0,s.lh)(this,"ionPopoverDidPresent",7),this.willPresent=(0,s.lh)(this,"ionPopoverWillPresent",7),this.willDismiss=(0,s.lh)(this,"ionPopoverWillDismiss",7),this.didDismiss=(0,s.lh)(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=(0,s.lh)(this,"didPresent",7),this.willPresentShorthand=(0,s.lh)(this,"willPresent",7),this.willDismissShorthand=(0,s.lh)(this,"willDismiss",7),this.didDismissShorthand=(0,s.lh)(this,"didDismiss",7),this.ionMount=(0,s.lh)(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=dn(),this.lockController=$e(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,Dt)},this.onLifecycle=c=>{const d=this.usersElement,p=Ue[c.type];if(d&&p){const F=new CustomEvent(p,{bubbles:!1,cancelable:!1,detail:c.detail});d.dispatchEvent(F)}},this.configureTriggerInteraction=()=>{const{trigger:c,triggerAction:d,el:p,destroyTriggerInteraction:F}=this;if(F&&F(),void 0===c)return;const oe=this.triggerEl=void 0!==c?document.getElementById(c):null;oe?this.destroyTriggerInteraction=m(oe,d,p):(0,Vo.p)(`A trigger element with the ID "${c}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:c,el:d}=this;c&&c(),this.destroyKeyboardInteraction=mt(d)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:c,parentPopover:d,triggerAction:p,triggerEl:F,el:oe}=this;!d||!F||(c&&c(),this.destroyDismissInteraction=((C,c,d,p)=>{let F=[];const Me=(0,x.g)(p).querySelector(".popover-content");return F="hover"===c?[{eventName:"mouseenter",callback:Qe=>{document.elementFromPoint(Qe.clientX,Qe.clientY)!==C&&d.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:Qe=>{Qe.target.closest("[data-ion-popover-trigger]")!==C?d.dismiss(void 0,void 0,!1):Qe.stopPropagation()}}],F.forEach(({eventName:Qe,callback:kt})=>Me.addEventListener(Qe,kt)),()=>{F.forEach(({eventName:Qe,callback:kt})=>Me.removeEventListener(Qe,kt))}})(F,p,oe,d))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(c,d){!0===c&&!1===d?this.present():!1===c&&!0===d&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:c,el:d}=this;Wi(d),c()}disconnectedCallback(){const{destroyTriggerInteraction:c}=this;c&&c()}componentWillLoad(){var c,d;const{el:p}=this,F=null!==(d=null===(c=this.htmlAttributes)||void 0===c?void 0:c.id)&&void 0!==d?d:sr(p);this.parentPopover=p.closest(`ion-popover:not(#${F})`),void 0===this.alignment&&(this.alignment="ios"===(0,we.b)(this)?"center":"start")}componentDidLoad(){const{parentPopover:c,isOpen:d}=this;!0===d&&(0,x.r)(()=>this.present()),c&&(0,x.a)(c,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}presentFromTrigger(c,d=!1){var p=this;return(0,g.A)(function*(){p.focusDescendantOnPresent=d,yield p.present(c),p.focusDescendantOnPresent=!1})()}getDelegate(c=!1){if(this.workingDelegate&&!c)return{delegate:this.workingDelegate,inline:this.inline};const p=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:p,delegate:this.workingDelegate=p?this.delegate||this.coreDelegate:this.delegate}}present(c){var d=this;return(0,g.A)(function*(){const p=yield d.lockController.lock();if(d.presented)return void p();const{el:F}=d,{inline:oe,delegate:Me}=d.getDelegate(!0);d.ionMount.emit(),d.usersElement=yield fo(Me,F,d.component,["popover-viewport"],d.componentProps,oe),d.keyboardEvents||d.configureKeyboardInteraction(),d.configureDismissInteraction(),(0,x.j)(F)?yield(0,We.e)(d.usersElement):d.keepContentsMounted||(yield(0,We.w)()),yield Es(d,"popoverEnter",nt,on,{event:c||d.event,size:d.size,trigger:d.triggerEl,reference:d.reference,side:d.side,align:d.alignment}),d.focusDescendantOnPresent&&Lr(F),p()})()}dismiss(c,d,p=!0){var F=this;return(0,g.A)(function*(){const oe=yield F.lockController.lock(),{destroyKeyboardInteraction:Me,destroyDismissInteraction:Qe}=F;p&&F.parentPopover&&F.parentPopover.dismiss(c,d,p);const kt=yield vs(F,c,d,"popoverLeave",Ut,Mn,F.event);if(kt){Me&&(Me(),F.destroyKeyboardInteraction=void 0),Qe&&(Qe(),F.destroyDismissInteraction=void 0);const{delegate:qt}=F.getDelegate();yield wn(qt,F.usersElement)}return oe(),kt})()}getParentPopover(){var c=this;return(0,g.A)(function*(){return c.parentPopover})()}onDidDismiss(){return Wr(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return Wr(this.el,"ionPopoverWillDismiss")}render(){const c=(0,we.b)(this),{onLifecycle:d,parentPopover:p,dismissOnSelect:F,side:oe,arrow:Me,htmlAttributes:Qe,focusTrap:kt}=this,qt=(0,we.a)("desktop"),Xn=Me&&!p;return(0,s.h)(s.xr,Object.assign({key:"3a7c4c39384bab1447c4bd6b9b06d7837a09353b","aria-modal":"true","no-router":!0,tabindex:"-1"},Qe,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},M(this.cssClass)),{[c]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":qt,[`popover-side-${oe}`]:!0,[si]:!1===kt,"popover-nested":!!p}),onIonPopoverDidPresent:d,onIonPopoverWillPresent:d,onIonPopoverWillDismiss:d,onIonPopoverDidDismiss:d,onIonBackdropTap:this.onBackdropTap}),!p&&(0,s.h)("ion-backdrop",{key:"38a1c4ad29238d1e81cab407f099121fa4947cce",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),(0,s.h)("div",{key:"f825494c5e3be89d7fcf0229e29b405bccb13edb",class:"popover-wrapper ion-overlay-wrapper",onClick:F?()=>this.dismiss():void 0},Xn&&(0,s.h)("div",{key:"3acae5a0106389c776c8ffe5bf10f3ff006e0346",class:"popover-arrow",part:"arrow"}),(0,s.h)("div",{key:"2aa73e9f06b1d2ac4c0d36c23186b9164f395079",class:"popover-content",part:"content"},(0,s.h)("slot",{key:"62f5713414aae47dde6a8aef1f9b69af287534ae"}))))}get el(){return this}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}static get style(){return{ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"}}},[33,"ion-popover",{hasController:[4,"has-controller"],delegate:[16],overlayIndex:[2,"overlay-index"],enterAnimation:[16],leaveAnimation:[16],component:[1],componentProps:[16],keyboardClose:[4,"keyboard-close"],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],event:[8],showBackdrop:[4,"show-backdrop"],translucent:[4],animated:[4],htmlAttributes:[16],triggerAction:[1,"trigger-action"],trigger:[1],size:[1],dismissOnSelect:[4,"dismiss-on-select"],reference:[1],side:[1],alignment:[1025],arrow:[4],isOpen:[4,"is-open"],keyboardEvents:[4,"keyboard-events"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}]),Ue={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};const ro=function Pn(){typeof customElements>"u"||["ion-popover","ion-backdrop"].forEach(c=>{switch(c){case"ion-popover":customElements.get(c)||customElements.define(c,Pe);break;case"ion-backdrop":customElements.get(c)||ie()}})};var Bo=l(33726);const Pi=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost()}componentDidLoad(){var c=this;s.L2.isBrowser&&ji((0,g.A)(function*(){const d=(0,we.a)(window,"hybrid");if(we.c.getBoolean("_testing")||l.e(7338).then(l.bind(l,97338)).then(oe=>oe.startTapClick(we.c)),we.c.getBoolean("statusTap",d)&&l.e(6631).then(l.bind(l,96631)).then(oe=>oe.startStatusTap()),we.c.getBoolean("inputShims",Dr())){const oe=(0,we.a)(window,"ios")?"ios":"android";l.e(7402).then(l.bind(l,57402)).then(Me=>Me.startInputShims(we.c,oe))}const p=yield Promise.resolve().then(l.bind(l,95098)),F=d||(0,er.shouldUseCloseWatcher)();we.c.getBoolean("hardwareBackButton",F)?p.startHardwareBackButton():((0,er.shouldUseCloseWatcher)()&&(0,Vo.p)("experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used."),p.blockHardwareBackButton()),typeof window<"u"&&Promise.resolve().then(l.bind(l,86008)).then(oe=>oe.startKeyboardAssist(window)),Promise.resolve().then(l.bind(l,35498)).then(oe=>c.focusVisible=oe.startFocusVisible())}))}setFocus(c){var d=this;return(0,g.A)(function*(){d.focusVisible&&d.focusVisible.setFocus(c)})()}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"a562850f242d9d45573e35efdd4bd178254677ef",class:{[c]:!0,"ion-page":!0,"force-statusbar-padding":we.c.getBoolean("_forceStatusbarPadding")}})}get el(){return this}static get style(){return"html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}"}},[0,"ion-app",{setFocus:[64]}]),Dr=()=>!!((0,we.a)(window,"ios")&&(0,we.a)(window,"mobile")||(0,we.a)(window,"android")&&(0,we.a)(window,"mobileweb")),ji=C=>{"requestIdleCallback"in window?window.requestIdleCallback(C):setTimeout(C,32)},xe=function gr(){typeof customElements>"u"||["ion-app"].forEach(c=>{"ion-app"===c&&(customElements.get(c)||customElements.define(c,Pi))})},dt=ie,Do=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"1253618692342bcf9487188402dc3d49ae0de480",class:y(this.color,{[c]:!0})},(0,s.h)("slot",{key:"71d65e203965ea37b94504a8a0a96beb52d4e356"}))}static get style(){return{ios:":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}",md:":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"}}},[33,"ion-badge",{color:[513]}]),Ni=function Uo(){typeof customElements>"u"||["ion-badge"].forEach(c=>{"ion-badge"===c&&(customElements.get(c)||customElements.define(c,Do))})},Us=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.collapse=!1}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"4e5ce9abb3f56e8c91e3eb58c2819300e61eba24",class:{[c]:!0,"buttons-collapse":this.collapse}},(0,s.h)("slot",{key:"f2f360ec888b6e946b512fed07431fab47c61482"}))}static get style(){return{ios:".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.65em;line-height:0.67}",md:".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}"}}},[38,"ion-buttons",{collapse:[4]}]);const pa=function _s(){typeof customElements>"u"||["ion-buttons"].forEach(c=>{"ion-buttons"===c&&(customElements.get(c)||customElements.define(c,Us))})};var Ds=l(62782);const Ua=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionScrollStart=(0,s.lh)(this,"ionScrollStart",7),this.ionScroll=(0,s.lh)(this,"ionScroll",7),this.ionScrollEnd=(0,s.lh)(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.inheritedAttributes={},this.tabsElement=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.fixedSlotPlacement="after",this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}componentWillLoad(){this.inheritedAttributes=(0,x.i)(this.el)}connectedCallback(){if(this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal"),(0,x.j)(this.el)){const c=this.tabsElement=this.el.closest("ion-tabs");null!==c&&(this.tabsLoadCallback=()=>this.resize(),c.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),(0,x.j)(this.el)){const{tabsElement:c,tabsLoadCallback:d}=this;null!==c&&void 0!==d&&c.removeEventListener("ionTabBarLoaded",d),this.tabsElement=null,this.tabsLoadCallback=void 0}}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{null!==this.el.offsetParent&&this.resize()},100)}shouldForceOverscroll(){const{forceOverscroll:c}=this,d=(0,we.b)(this);return void 0===c?"ios"===d&&(0,we.a)("ios"):c}resize(){s.L2.isBrowser&&(this.fullscreen?(0,s.gv)(()=>this.readDimensions()):(0!==this.cTop||0!==this.cBottom)&&(this.cTop=this.cBottom=0,(0,s.$x)(this)))}readDimensions(){const c=ja(this.el),d=Math.max(this.el.offsetTop,0),p=Math.max(c.offsetHeight-d-this.el.offsetHeight,0);(d!==this.cTop||p!==this.cBottom)&&(this.cTop=d,this.cBottom=p,(0,s.$x)(this))}onScroll(c){const d=Date.now(),p=!this.isScrolling;this.lastScroll=d,p&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,s.gv)(F=>{this.queued=!1,this.detail.event=c,Br(this.detail,this.scrollEl,F,p),this.ionScroll.emit(this.detail)}))}getScrollElement(){var c=this;return(0,g.A)(function*(){return c.scrollEl||(yield new Promise(d=>(0,x.c)(c.el,d))),Promise.resolve(c.scrollEl)})()}getBackgroundElement(){var c=this;return(0,g.A)(function*(){return c.backgroundContentEl||(yield new Promise(d=>(0,x.c)(c.el,d))),Promise.resolve(c.backgroundContentEl)})()}scrollToTop(c=0){return this.scrollToPoint(void 0,0,c)}scrollToBottom(c=0){var d=this;return(0,g.A)(function*(){const p=yield d.getScrollElement();return d.scrollToPoint(void 0,p.scrollHeight-p.clientHeight,c)})()}scrollByPoint(c,d,p){var F=this;return(0,g.A)(function*(){const oe=yield F.getScrollElement();return F.scrollToPoint(c+oe.scrollLeft,d+oe.scrollTop,p)})()}scrollToPoint(c,d,p=0){var F=this;return(0,g.A)(function*(){const oe=yield F.getScrollElement();if(p<32)return null!=d&&(oe.scrollTop=d),void(null!=c&&(oe.scrollLeft=c));let Me,Qe=0;const kt=new Promise(Ro=>Me=Ro),qt=oe.scrollTop,Xn=oe.scrollLeft,oo=null!=d?d-qt:0,Co=null!=c?c-Xn:0,xo=Ro=>{const Wo=Math.min(1,(Ro-Qe)/p)-1,wi=Math.pow(Wo,3)+1;0!==oo&&(oe.scrollTop=Math.floor(wi*oo+qt)),0!==Co&&(oe.scrollLeft=Math.floor(wi*Co+Xn)),wi<1?requestAnimationFrame(xo):Me()};return requestAnimationFrame(Ro=>{Qe=Ro,xo(Ro)}),kt})()}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=oo,id:"background-content",part:"background"}),"before"===c?(0,s.h)("slot",{name:"fixed"}):null,(0,s.h)("div",{key:"00e157a53485b285300404178436276afceb63f5",class:{"inner-scroll":!0,"scroll-x":F,"scroll-y":oe,overscroll:(F||oe)&&qt},ref:oo=>this.scrollEl=oo,onScroll:this.scrollEvents?oo=>this.onScroll(oo):void 0,part:"scroll"},(0,s.h)("slot",{key:"8522320514a2e8a63f7dc9ade6c1fb3fb00f454e"})),Xn?(0,s.h)("div",{class:"transition-effect"},(0,s.h)("div",{class:"transition-cover"}),(0,s.h)("div",{class:"transition-shadow"})):null,"after"===c?(0,s.h)("slot",{name:"fixed"}):null)}get el(){return this}static get style(){return':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}'}},[1,"ion-content",{color:[513],fullscreen:[4],fixedSlotPlacement:[1,"fixed-slot-placement"],forceOverscroll:[1028,"force-overscroll"],scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],scrollEvents:[4,"scroll-events"],getScrollElement:[64],getBackgroundElement:[64],scrollToTop:[64],scrollToBottom:[64],scrollByPoint:[64],scrollToPoint:[64]},[[9,"resize","onResize"]]]),ja=C=>{const c=C.closest("ion-tabs");return c||(C.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content")||(C=>{var c;return C.parentElement?C.parentElement:null!==(c=C.parentNode)&&void 0!==c&&c.host?C.parentNode.host:null})(C))},Br=(C,c,d,p)=>{const F=C.currentX,oe=C.currentY,Qe=c.scrollLeft,kt=c.scrollTop,qt=d-C.currentTime;if(p&&(C.startTime=d,C.startX=Qe,C.startY=kt,C.velocityX=C.velocityY=0),C.currentTime=d,C.currentX=C.scrollLeft=Qe,C.currentY=C.scrollTop=kt,C.deltaX=Qe-C.startX,C.deltaY=kt-C.startY,qt>0&&qt<100){const oo=(kt-oe)/qt;C.velocityX=(Qe-F)/qt*.7+.3*C.velocityX,C.velocityY=.7*oo+.3*C.velocityY}},ss=function Zo(){typeof customElements>"u"||["ion-content"].forEach(c=>{"ion-content"===c&&(customElements.get(c)||customElements.define(c,Ua))})},xs=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.horizontal=void 0,this.vertical=void 0,this.edge=!1,this.activated=!1}activatedChanged(){const c=this.activated,d=this.getFab();d&&(d.activated=c),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(p=>{p.activated=c})}componentDidLoad(){this.activated&&this.activatedChanged()}close(){var c=this;return(0,g.A)(function*(){c.activated=!1})()}getFab(){return this.el.querySelector("ion-fab-button")}toggle(){var c=this;return(0,g.A)(function*(){c.el.querySelector("ion-fab-list")&&(c.activated=!c.activated)})()}render(){const{horizontal:c,vertical:d,edge:p}=this,F=(0,we.b)(this);return(0,s.h)(s.xr,{key:"cb44cf6486b0a6439b99da87c065b0b52e2514f4",class:{[F]:!0,[`fab-horizontal-${c}`]:void 0!==c,[`fab-vertical-${d}`]:void 0!==d,"fab-edge":p}},(0,s.h)("slot",{key:"1ed484c7ecb10cd81fbca9a4f5c4049bf82f9f8a"}))}get el(){return this}static get watchers(){return{activated:["activatedChanged"]}}static get style(){return":host{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;z-index:999}:host(.fab-horizontal-center){left:0px;right:0px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-start:dir(rtl)){right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-end:dir(rtl)){left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:0}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-top:calc((-100% + 16px) / 2)}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-top:calc(50% + 10px)}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:0}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-bottom:calc((-100% + 16px) / 2)}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-bottom:calc(50% + 10px)}:host(.fab-vertical-center){top:0px;bottom:0px;margin-top:auto;margin-bottom:auto}"}},[1,"ion-fab",{horizontal:[1],vertical:[1],edge:[4],activated:[1028],close:[64],toggle:[64]},void 0,{activated:["activatedChanged"]}]),ms=function Ea(){typeof customElements>"u"||["ion-fab"].forEach(c=>{"ion-fab"===c&&(customElements.get(c)||customElements.define(c,xs))})},Oe=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionFocus=(0,s.lh)(this,"ionFocus",7),this.ionBlur=(0,s.lh)(this,"ionBlur",7),this.fab=null,this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=()=>{const{fab:c}=this;c&&c.toggle()},this.color=void 0,this.activated=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0,this.show=!1,this.translucent=!1,this.type="button",this.size=void 0,this.closeIcon="data:image/svg+xml;utf8,"}connectedCallback(){this.fab=this.el.closest("ion-fab")}componentWillLoad(){this.inheritedAttributes=(0,x.i)(this.el)}render(){const{el:c,disabled:d,color:p,href:F,activated:oe,show:Me,translucent:Qe,size:kt,inheritedAttributes:qt}=this,Xn=_("ion-fab-list",c),oo=(0,we.b)(this),Co=void 0===F?"button":"a",xo="button"===Co?{type:this.type}:{download:this.download,href:F,rel:this.rel,target:this.target};return(0,s.h)(s.xr,{key:"eb347f7d6749c40637540d84778eb8d1b667a947",onClick:this.onClick,"aria-disabled":d?"true":null,class:y(p,{[oo]:!0,"fab-button-in-list":Xn,"fab-button-translucent-in-list":Xn&&Qe,"fab-button-close-active":oe,"fab-button-show":Me,"fab-button-disabled":d,"fab-button-translucent":Qe,"ion-activatable":!0,"ion-focusable":!0,[`fab-button-${kt}`]:void 0!==kt})},(0,s.h)(Co,Object.assign({key:"83e853c8815f41543c848eb2e05ec2bb1716110a"},xo,{class:"button-native",part:"native",disabled:d,onFocus:this.onFocus,onBlur:this.onBlur,onClick:Ro=>R(F,Ro,this.routerDirection,this.routerAnimation)},qt),(0,s.h)("ion-icon",{key:"798deede94de658e4345acf7c2aafe2ab2567b0b","aria-hidden":"true",icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),(0,s.h)("span",{key:"99252fde6de1aca73fc240a6da7e29acac9acb18",class:"button-inner"},(0,s.h)("slot",{key:"dc73e9b41bf1f0e385e5784f975dfb81e37c8dfb"})),"md"===oo&&(0,s.h)("ion-ripple-effect",{key:"8413e162f44a0350f54dff06cff7aad101de3549"})))}get el(){return this}static get style(){return{ios:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}',md:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}'}}},[33,"ion-fab-button",{color:[513],activated:[4],disabled:[4],download:[1],href:[1],rel:[1],routerDirection:[1,"router-direction"],routerAnimation:[16],target:[1],show:[4],translucent:[4],type:[1],size:[1],closeIcon:[1,"close-icon"]}]),Eo=function Ze(){typeof customElements>"u"||["ion-fab-button","ion-icon","ion-ripple-effect"].forEach(c=>{switch(c){case"ion-fab-button":customElements.get(c)||customElements.define(c,Oe);break;case"ion-icon":customElements.get(c)||Tn();break;case"ion-ripple-effect":customElements.get(c)||ri()}})},Kr=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.activated=!1,this.side="bottom"}activatedChanged(c){const d=Array.from(this.el.querySelectorAll("ion-fab-button")),p=c?30:0;d.forEach((F,oe)=>{setTimeout(()=>F.show=c,oe*p)})}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"fa1d195b9950654ba0e984bf61d981c977d05275",class:{[c]:!0,"fab-list-active":this.activated,[`fab-list-side-${this.side}`]:!0}},(0,s.h)("slot",{key:"2ec738c66c05112e1e2521155d6adfc36d2fd1db"}))}get el(){return this}static get watchers(){return{activated:["activatedChanged"]}}static get style(){return":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.fab-list-side-start){inset-inline-end:0}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}:host(.fab-list-side-end){inset-inline-start:0}"}},[1,"ion-fab-list",{activated:[4],side:[1]},void 0,{activated:["activatedChanged"]}]),_r=function Yr(){typeof customElements>"u"||["ion-fab-list"].forEach(c=>{"ion-fab-list"===c&&(customElements.get(c)||customElements.define(c,Kr))})};var pr=l(85680);const ii=C=>void 0===ci.d||C===pr.a.None||void 0===C?null:ci.d.querySelector("ion-app")??ci.d.body,Ar=C=>{const c=ii(C);return null===c?0:c.clientHeight},Ss=function(){var C=(0,g.A)(function*(c){let d,p,F,oe;const Me=function(){var oo=(0,g.A)(function*(){const Co=yield pr.K.getResizeMode(),xo=void 0===Co?void 0:Co.mode;d=()=>{void 0===oe&&(oe=Ar(xo)),F=!0,Qe(F,xo)},p=()=>{F=!1,Qe(F,xo)},null==ci.w||ci.w.addEventListener("keyboardWillShow",d),null==ci.w||ci.w.addEventListener("keyboardWillHide",p)});return function(){return oo.apply(this,arguments)}}(),Qe=(oo,Co)=>{c&&c(oo,kt(Co))},kt=oo=>{if(0===oe||oe===Ar(oo))return;const Co=ii(oo);return null!==Co?new Promise(xo=>{const Wo=new ResizeObserver(()=>{Co.clientHeight===oe&&(Wo.disconnect(),xo())});Wo.observe(Co)}):void 0};return yield Me(),{init:Me,destroy:()=>{null==ci.w||ci.w.removeEventListener("keyboardWillShow",d),null==ci.w||ci.w.removeEventListener("keyboardWillHide",p),d=p=void 0},isKeyboardVisible:()=>F}});return function(d){return C.apply(this,arguments)}}(),Qr=(C,c)=>{(0,s.gv)(()=>{const Qe=(0,x.k)(0,1-(C.scrollTop-(C.scrollHeight-C.clientHeight-10))/10,1);(0,s.bN)(()=>{c.style.setProperty("--opacity-scale",Qe.toString())})})},os=(0,s.w$)(class extends s.wt{constructor(){var c;super(),c=this,this.__registerHost(),this.keyboardCtrl=null,this.checkCollapsibleFooter=()=>{if("ios"!==(0,we.b)(this))return;const{collapse:p}=this,F="fade"===p;if(this.destroyCollapsibleFooter(),F){const oe=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),Me=oe?(0,go.f)(oe):null;if(!Me)return void(0,go.p)(this.el);this.setupFadeFooter(Me)}},this.setupFadeFooter=function(){var d=(0,g.A)(function*(p){const F=c.scrollEl=yield(0,go.g)(p);c.contentScrollCallback=()=>{Qr(F,c.el)},F.addEventListener("scroll",c.contentScrollCallback),Qr(F,c.el)});return function(p){return d.apply(this,arguments)}}(),this.keyboardVisible=!1,this.collapse=void 0,this.translucent=!1}componentDidLoad(){this.checkCollapsibleFooter()}componentDidUpdate(){this.checkCollapsibleFooter()}connectedCallback(){var c=this;return(0,g.A)(function*(){c.keyboardCtrl=yield Ss(function(){var d=(0,g.A)(function*(p,F){!1===p&&void 0!==F&&(yield F),c.keyboardVisible=p});return function(p,F){return d.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}destroyCollapsibleFooter(){this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0)}render(){const{translucent:c,collapse:d}=this,p=(0,we.b)(this),F=this.el.closest("ion-tabs"),oe=F?.querySelector(":scope > ion-tab-bar");return(0,s.h)(s.xr,{key:"5da19dc38ba73e1ddfd1bef3ebd485105d77c751",role:"contentinfo",class:{[p]:!0,[`footer-${p}`]:!0,"footer-translucent":c,[`footer-translucent-${p}`]:c,"footer-toolbar-padding":!(this.keyboardVisible||oe&&"bottom"===oe.slot),[`footer-collapse-${d}`]:void 0!==d}},"ios"===p&&c&&(0,s.h)("div",{key:"fafad08090a33d8c4e8a5b63d61929dcb89aab47",class:"footer-background"}),(0,s.h)("slot",{key:"e0a443d346afa55e4317c0bc1263fdbe3c619559"}))}get el(){return this}static get style(){return{ios:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}",md:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"}}},[36,"ion-footer",{collapse:[1],translucent:[4],keyboardVisible:[32]}]),rl=function Ta(){typeof customElements>"u"||["ion-footer"].forEach(c=>{"ion-footer"===c&&(customElements.get(c)||customElements.define(c,os))})},Ts=C=>{const c=document.querySelector(`${C}.ion-cloned-element`);if(null!==c)return c;const d=document.createElement(C);return d.classList.add("ion-cloned-element"),d.style.setProperty("display","none"),document.body.appendChild(d),d},va=C=>{if(!C)return;const c=C.querySelectorAll("ion-toolbar");return{el:C,toolbars:Array.from(c).map(d=>{const p=d.querySelector("ion-title");return{el:d,background:d.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:p,innerTitleEl:p?p.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(d.querySelectorAll("ion-buttons"))}})}},ma=(C,c)=>{"fade"!==C.collapse&&(void 0===c?C.style.removeProperty("--opacity-scale"):C.style.setProperty("--opacity-scale",c.toString()))},ka=(C,c=!0)=>{const d=C.el;c?(d.classList.remove("header-collapse-condense-inactive"),d.removeAttribute("aria-hidden")):(d.classList.add("header-collapse-condense-inactive"),d.setAttribute("aria-hidden","true"))},Fl=(C,c,d)=>{(0,s.gv)(()=>{const p=C.scrollTop,F=c.clientHeight,oe=d?d.clientHeight:0;if(null!==d&&p{C.style.removeProperty("clip-path"),c.style.setProperty("--opacity-scale",kt.toString())})})},sl=(0,s.w$)(class extends s.wt{constructor(){var c;super(),c=this,this.__registerHost(),this.inheritedAttributes={},this.setupFadeHeader=function(){var d=(0,g.A)(function*(p,F){const oe=c.scrollEl=yield(0,go.g)(p);c.contentScrollCallback=()=>{Fl(c.scrollEl,c.el,F)},oe.addEventListener("scroll",c.contentScrollCallback),Fl(c.scrollEl,c.el,F)});return function(p,F){return d.apply(this,arguments)}}(),this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=(0,x.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}checkCollapsibleHeader(){var c=this;return(0,g.A)(function*(){if("ios"!==(0,we.b)(c))return;const{collapse:p}=c,F="condense"===p,oe="fade"===p;if(c.destroyCollapsibleHeader(),F){const Me=c.el.closest("ion-app,ion-page,.ion-page,page-inner"),Qe=Me?(0,go.f)(Me):null;(0,s.bN)(()=>{Ts("ion-title").size="large",Ts("ion-back-button")}),yield c.setupCondenseHeader(Qe,Me)}else if(oe){const Me=c.el.closest("ion-app,ion-page,.ion-page,page-inner"),Qe=Me?(0,go.f)(Me):null;if(!Qe)return void(0,go.p)(c.el);const kt=Qe.querySelector('ion-header[collapse="condense"]');yield c.setupFadeHeader(Qe,kt)}})()}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}setupCondenseHeader(c,d){var p=this;return(0,g.A)(function*(){if(!c||!d)return void(0,go.p)(p.el);if(typeof IntersectionObserver>"u")return;p.scrollEl=yield(0,go.g)(c);const F=d.querySelectorAll("ion-header");if(p.collapsibleMainHeader=Array.from(F).find(kt=>"condense"!==kt.collapse),!p.collapsibleMainHeader)return;const oe=va(p.collapsibleMainHeader),Me=va(p.el);oe&&Me&&(ka(oe,!1),ma(oe.el,0),p.intersectionObserver=new IntersectionObserver(kt=>{((C,c,d,p)=>{(0,s.bN)(()=>{const F=p.scrollTop;((C,c,d)=>{if(!C[0].isIntersecting)return;const p=C[0].intersectionRatio>.9||d<=0?0:100*(1-C[0].intersectionRatio)/75;ma(c.el,1===p?void 0:p)})(C,c,F);const oe=C[0],Me=oe.intersectionRect,Qe=Me.width*Me.height,qt=0===Qe&&0==oe.rootBounds.width*oe.rootBounds.height,Xn=Math.abs(Me.left-oe.boundingClientRect.left),oo=Math.abs(Me.right-oe.boundingClientRect.right);qt||Qe>0&&(Xn>=5||oo>=5)||(oe.isIntersecting?(ka(c,!1),ka(d)):(0===Me.x&&0===Me.y||0!==Me.width&&0!==Me.height)&&F>0&&(ka(c),ka(d,!1),ma(c.el)))})})(kt,oe,Me,p.scrollEl)},{root:c,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),p.intersectionObserver.observe(Me.toolbars[Me.toolbars.length-1].el),p.contentScrollCallback=()=>{((C,c,d)=>{(0,s.gv)(()=>{const F=(0,x.k)(1,1+-C.scrollTop/500,1.1);null===d.querySelector("ion-refresher.refresher-native")&&(0,s.bN)(()=>{((C=[],c=1,d=!1)=>{C.forEach(p=>{const F=p.ionTitleEl,oe=p.innerTitleEl;!F||"large"!==F.size||(oe.style.transition=d?"all 0.2s ease-in-out":"",oe.style.transform=`scale3d(${c}, ${c}, 1)`)})})(c.toolbars,F)})})})(p.scrollEl,Me,c)},p.scrollEl.addEventListener("scroll",p.contentScrollCallback),(0,s.bN)(()=>{void 0!==p.collapsibleMainHeader&&p.collapsibleMainHeader.classList.add("header-collapse-main")}))})()}render(){const{translucent:c,inheritedAttributes:d}=this,p=(0,we.b)(this),F=this.collapse||"none",oe=_("ion-menu",this.el)?"none":"banner";return(0,s.h)(s.xr,Object.assign({key:"c687314ef290793a9d633ad20cfc5eeb47621e31",role:oe,class:{[p]:!0,[`header-${p}`]:!0,"header-translucent":this.translucent,[`header-collapse-${F}`]:!0,[`header-translucent-${p}`]:this.translucent}},d),"ios"===p&&c&&(0,s.h)("div",{key:"b429996046082405a91e7c23f95516db0b736f12",class:"header-background"}),(0,s.h)("slot",{key:"e17a8965f8d3a33c1bfcb056c153d8242e5229fa"}))}get el(){return this}static get style(){return{ios:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}",md:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"}}},[36,"ion-header",{collapse:[1],translucent:[4]}]),Qa=function ul(){typeof customElements>"u"||["ion-header"].forEach(c=>{"ion-header"===c&&(customElements.get(c)||customElements.define(c,sl))})},O=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.labelColorStyles={},this.itemStyles=new Map,this.inheritedAriaAttributes={},this.multipleInputs=!1,this.focusable=!0,this.color=void 0,this.button=!1,this.detail=void 0,this.detailIcon=ke,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.lines=void 0,this.routerAnimation=void 0,this.routerDirection="forward",this.target=void 0,this.type="button"}buttonChanged(){this.focusable=this.isFocusable()}labelColorChanged(c){const{color:d}=this;void 0===d&&(this.labelColorStyles=c.detail)}itemStyle(c){c.stopPropagation();const d=c.target.tagName,p=c.detail,F={},oe=this.itemStyles.get(d)||{};let Me=!1;Object.keys(p).forEach(Qe=>{if(p[Qe]){const kt=`item-${Qe}`;oe[kt]||(Me=!0),F[kt]=!0}}),!Me&&Object.keys(F).length!==Object.keys(oe).length&&(Me=!0),Me&&(this.itemStyles.set(d,F),(0,s.$x)(this))}connectedCallback(){this.hasStartEl()}componentWillLoad(){this.inheritedAriaAttributes=(0,x.d)(this.el,["aria-label"])}componentDidLoad(){(0,x.r)(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const c=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),d=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),p=this.el.querySelectorAll("ion-router-link, ion-button, a, button");this.multipleInputs=c.length+d.length>1||c.length+p.length>1||c.length>0&&this.isClickable()}hasCover(){return 1===this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length&&!this.multipleInputs}isClickable(){return void 0!==this.href||this.button}canActivate(){return this.isClickable()||this.hasCover()}isFocusable(){const c=this.el.querySelector(".ion-focusable");return this.canActivate()||null!==c}hasStartEl(){null!==this.el.querySelector('[slot="start"]')&&this.el.classList.add("item-has-start-slot")}getFirstInteractive(){return this.el.querySelectorAll("ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled]), ion-select:not([disabled]), ion-input:not([disabled]), ion-textarea:not([disabled])")[0]}render(){const{detail:c,detailIcon:d,download:p,labelColorStyles:F,lines:oe,disabled:Me,href:Qe,rel:kt,target:qt,routerAnimation:Xn,routerDirection:oo,inheritedAriaAttributes:Co,multipleInputs:xo}=this,Ro={},Wo=(0,we.b)(this),wi=this.isClickable(),or=this.canActivate(),ur=wi?void 0===Qe?"button":"a":"div",Hi="button"===ur?{type:this.type}:{download:p,href:Qe,rel:kt,target:qt};let rr={};const lr=this.getFirstInteractive();(wi||void 0!==lr&&!xo)&&(rr={onClick:ba=>{if(wi&&R(Qe,ba,oo,Xn),void 0!==lr&&!xo){const Fa=ba.composedPath()[0];ba.isTrusted&&this.el.shadowRoot.contains(Fa)&&("ION-INPUT"===lr.tagName||"ION-TEXTAREA"===lr.tagName?lr.setFocus():lr.click())}}});const cr=void 0!==c?c:"ios"===Wo&&wi;this.itemStyles.forEach(ba=>{Object.assign(Ro,ba)});const cs=Me||Ro["item-interactive-disabled"]?"true":null,Ws=_("ion-list",this.el)&&!_("ion-radio-group",this.el),zs=void 0!==lr&&!["ION-INPUT","ION-TEXTAREA"].includes(lr.tagName);return(0,s.h)(s.xr,{key:"02f540d8666146b5f2665ba6b39dfe774c65d5e6","aria-disabled":cs,class:Object.assign(Object.assign(Object.assign({},Ro),F),y(this.color,{item:!0,[Wo]:!0,"item-lines-default":void 0===oe,[`item-lines-${oe}`]:void 0!==oe,"item-control-needs-pointer-cursor":zs,"item-disabled":Me,"in-list":Ws,"item-multiple-inputs":this.multipleInputs,"ion-activatable":or,"ion-focusable":this.focusable,"item-rtl":"rtl"===document.dir})),role:Ws?"listitem":null},(0,s.h)(ur,Object.assign({key:"91cf3eedc2d7eca40a45fc3b0aaae5a87d387eb7"},Hi,Co,{class:"item-native",part:"native",disabled:Me},rr),(0,s.h)("slot",{key:"ae4c679ca903a78a7c933c1d02f21f5d677b6388",name:"start"}),(0,s.h)("div",{key:"a61de72dce135b6dce18e6fa19680524958924dd",class:"item-inner"},(0,s.h)("div",{key:"d5b09966b6de8d6b4da8e139875edec4eeb1ae27",class:"input-wrapper"},(0,s.h)("slot",{key:"79077e5708a1783b135fab6f8caff9fb2f6f387a"})),(0,s.h)("slot",{key:"cdcc71689a87e985d32170ab98538ef25227f384",name:"end"}),cr&&(0,s.h)("ion-icon",{key:"1e82f2d0e2d2fc18bd3429a7c72e4e57447cad7a",icon:d,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":d===ke})),or&&"md"===Wo&&(0,s.h)("ion-ripple-effect",{key:"ab9842d0d9c64408573f07323e10f9ed29fbe6e2"})))}get el(){return this}static get watchers(){return{button:["buttonChanged"]}}static get style(){return{ios:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-control-needs-pointer-cursor){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--color:var(--ion-item-color, var(--ion-text-color, #000));font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}',md:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-control-needs-pointer-cursor){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;font-size:1rem;font-weight:normal;text-transform:none}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0}:host(.item-lines-full){--border-width:0 0 1px 0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.5em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0}::slotted(.button-small){--padding-top:2px;--padding-bottom:2px;--padding-start:.6em;--padding-end:.6em;min-height:25px;font-size:0.75rem}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #0054e9)}'}}},[33,"ion-item",{color:[513],button:[4],detail:[4],detailIcon:[1,"detail-icon"],disabled:[516],download:[1],href:[1],rel:[1],lines:[1],routerAnimation:[16],routerDirection:[1,"router-direction"],target:[1],type:[1],multipleInputs:[32],focusable:[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{button:["buttonChanged"]}]);const k=function b(){typeof customElements>"u"||["ion-item","ion-icon","ion-ripple-effect"].forEach(c=>{switch(c){case"ion-item":customElements.get(c)||customElements.define(c,O);break;case"ion-icon":customElements.get(c)||Tn();break;case"ion-ripple-effect":customElements.get(c)||ri()}})},fe=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0,this.sticky=!1}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"60fda1dab7dbc0038ec7ff68a661896430f7d5c5",class:y(this.color,{[c]:!0,"item-divider-sticky":this.sticky,item:!0})},(0,s.h)("slot",{key:"6ce072dfc2adfa699a2c34ffe25ed221c74d9eea",name:"start"}),(0,s.h)("div",{key:"9a441be204ee2f0b567432722407c75e3cbbe942",class:"item-divider-inner"},(0,s.h)("div",{key:"fd6f2969b345dba51400a290473e594d2d019dc5",class:"item-divider-wrapper"},(0,s.h)("slot",{key:"ebf5601b21c4cf199c01bf142865b8da0c1ba4a6"})),(0,s.h)("slot",{key:"249af8f30113f2c986976d518126661f65531121",name:"end"})))}get el(){return this}static get style(){return{ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-text-color-step-550, #a3a3a3);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}"}}},[33,"ion-item-divider",{color:[513],sticky:[4]}]),St=function Ie(){typeof customElements>"u"||["ion-item-divider"].forEach(c=>{"ion-item-divider"===c&&(customElements.get(c)||customElements.define(c,fe))})},wo=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost()}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"24ff047b7c45f963f0dad072c65d38a230c2bc97",role:"group",class:{[c]:!0,[`item-group-${c}`]:!0,item:!0}})}static get style(){return{ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"}}},[32,"ion-item-group"]),U=function Io(){typeof customElements>"u"||["ion-item-group"].forEach(c=>{"ion-item-group"===c&&(customElements.get(c)||customElements.define(c,wo))})},bt=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.onClick=c=>{c.target.closest("ion-item-option")&&c.preventDefault()},this.color=void 0,this.disabled=!1,this.download=void 0,this.expandable=!1,this.href=void 0,this.rel=void 0,this.target=void 0,this.type="button"}render(){const{disabled:c,expandable:d,href:p}=this,F=void 0===p?"button":"a",oe=(0,we.b)(this),Me="button"===F?{type:this.type}:{download:this.download,href:this.href,target:this.target};return(0,s.h)(s.xr,{key:"1900e015f593fefd710478a2088e052399c957eb",onClick:this.onClick,class:y(this.color,{[oe]:!0,"item-option-disabled":c,"item-option-expandable":d,"ion-activatable":!0})},(0,s.h)(F,Object.assign({key:"5db2bb9bc72b7b00c324e4189cd1b5f862680ebb"},Me,{class:"button-native",part:"native",disabled:c}),(0,s.h)("span",{key:"6927e812ad001c5e7bd17f440d82c3830c58957b",class:"button-inner"},(0,s.h)("slot",{key:"0fde4333def94c55d1318868c2bc71e780d5876a",name:"top"}),(0,s.h)("div",{key:"7ecc9ae8ddf66d7ed5d9f30becc9faf820e1c62e",class:"horizontal-wrapper"},(0,s.h)("slot",{key:"a15567fd4bd91080e9fbb6bb0c9b0e67d8a67051",name:"start"}),(0,s.h)("slot",{key:"7f86cdd28063e23f9d78997623333c5037c4f364",name:"icon-only"}),(0,s.h)("slot",{key:"4abb69ce3ad6c4917dd87b7b1eb0fa1c69917d73"}),(0,s.h)("slot",{key:"8b35a29f48722040465f182679ac17209937578d",name:"end"})),(0,s.h)("slot",{key:"fa15a00891b41d66a4ccb51575dec54b72d0059e",name:"bottom"})),"md"===oe&&(0,s.h)("ion-ripple-effect",{key:"0c071910c90fafca8026f59d78f4d9d5224d150a"})))}get el(){return this}static get style(){return{ios:":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #004acd)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}"}}},[33,"ion-item-option",{color:[513],disabled:[4],download:[1],expandable:[4],href:[1],rel:[1],target:[1],type:[1]}]),zn=function $t(){typeof customElements>"u"||["ion-item-option","ion-ripple-effect"].forEach(c=>{switch(c){case"ion-item-option":customElements.get(c)||customElements.define(c,bt);break;case"ion-ripple-effect":customElements.get(c)||ri()}})},as=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.ionSwipe=(0,s.lh)(this,"ionSwipe",7),this.side="end"}fireSwipeEvent(){var c=this;return(0,g.A)(function*(){c.ionSwipe.emit({side:c.side})})()}render(){const c=(0,we.b)(this),d=(0,x.m)(this.side);return(0,s.h)(s.xr,{key:"e28cd6a236323b5cc203c9b96782aa81024da924",class:{[c]:!0,[`item-options-${c}`]:!0,"item-options-start":!d,"item-options-end":d}})}get el(){return this}static get style(){return{ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"}}},[32,"ion-item-options",{side:[1],fireSwipeEvent:[64]}]),Qs=function jr(){typeof customElements>"u"||["ion-item-options"].forEach(c=>{"ion-item-options"===c&&(customElements.get(c)||customElements.define(c,as))})},Za=(C,c)=>{let d;return C.forEach(p=>{for(let F=0;F{if(1!==C.nodeType)return;const d=C;return(d.tagName===c.toUpperCase()?[d]:Array.from(d.querySelectorAll(c))).find(F=>F.value===d.value)};let j;const X=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.ionDrag=(0,s.lh)(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var c=this;return(0,g.A)(function*(){const{el:d}=c;c.item=d.querySelector("ion-item"),c.contentEl=(0,go.a)(d),c.mutationObserver=((C,c,d)=>{if(typeof MutationObserver>"u")return;const p=new MutationObserver(F=>{d(Za(F,c))});return p.observe(C,{childList:!0,subtree:!0}),p})(d,"ion-item-option",(0,g.A)(function*(){yield c.updateOptions()})),yield c.updateOptions(),c.gesture=(yield Promise.resolve().then(l.bind(l,2104))).createGesture({el:d,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:p=>c.canStart(p),onStart:()=>c.onStart(),onMove:p=>c.onMove(p),onEnd:p=>c.onEnd(p)}),c.disabledChanged()})()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,j===this.el&&(j=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}open(c){var d=this;return(0,g.A)(function*(){var p;if(null===(d.item=null!==(p=d.item)&&void 0!==p?p:d.el.querySelector("ion-item")))return;const oe=d.getOptions(c);oe&&(void 0===c&&(c=oe===d.leftOptions?"start":"end"),c=(0,x.m)(c)?"end":"start",d.openAmount<0&&oe===d.leftOptions||d.openAmount>0&&oe===d.rightOptions||(d.closeOpened(),d.state=4,requestAnimationFrame(()=>{d.calculateOptsWidth(),j=d.el,d.setOpenAmount("end"===c?d.optsWidthRightSide:-d.optsWidthLeftSide,!1),d.state="end"===c?8:16})))})()}close(){var c=this;return(0,g.A)(function*(){c.setOpenAmount(0,!0)})()}closeOpened(){return(0,g.A)(function*(){return void 0!==j&&(j.close(),j=void 0,!0)})()}getOptions(c){return void 0===c?this.leftOptions||this.rightOptions:"start"===c?this.leftOptions:this.rightOptions}updateOptions(){var c=this;return(0,g.A)(function*(){const d=c.el.querySelectorAll("ion-item-options");let p=0;c.leftOptions=c.rightOptions=void 0;for(let F=0;Fthis.optsWidthRightSide?(p=this.optsWidthRightSide,d=p+.55*(d-p)):d<-this.optsWidthLeftSide&&(p=-this.optsWidthLeftSide,d=p+.55*(d-p)),this.setOpenAmount(d,!1)}onEnd(c){const{contentEl:d,initialContentScrollY:p}=this;d&&(0,go.r)(d,p);const F=c.velocityX;let oe=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const Me=this.openAmount>0==!(F<0),Qe=Math.abs(F)>.3,kt=Math.abs(this.openAmount)0)this.state=c>=this.optsWidthRightSide+30?40:8;else{if(!(c<0))return p.classList.add("item-sliding-closing"),this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout(()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled),p.classList.remove("item-sliding-closing")},600),j=void 0,void(F.transform="");this.state=c<=-this.optsWidthLeftSide-30?80:16}F.transform=`translate3d(${-c}px,0,0)`,this.ionDrag.emit({amount:c,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"99f87c8bd794ae69830b407ba55013ac44793c26",class:{[c]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":!!(8&this.state),"item-sliding-active-options-start":!!(16&this.state),"item-sliding-active-swipe-end":!!(32&this.state),"item-sliding-active-swipe-start":!!(64&this.state)}})}get el(){return this}static get watchers(){return{disabled:["disabledChanged"]}}static get style(){return"ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}"}},[0,"ion-item-sliding",{disabled:[4],state:[32],getOpenAmount:[64],getSlidingRatio:[64],open:[64],close:[64],closeOpened:[64]},void 0,{disabled:["disabledChanged"]}]),me=(C,c,d)=>!c&&d||C&&c,Rn=function ct(){typeof customElements>"u"||["ion-item-sliding"].forEach(c=>{"ion-item-sliding"===c&&(customElements.get(c)||customElements.define(c,X))})},mr=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.ionColor=(0,s.lh)(this,"ionColor",7),this.ionStyle=(0,s.lh)(this,"ionStyle",7),this.inRange=!1,this.color=void 0,this.position=void 0,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout(()=>{this.noAnimate=!1},1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:c}=this;this.ionColor.emit({"item-label-color":void 0!==c,[`ion-color-${c}`]:void 0!==c})}emitStyle(){const{inRange:c,position:d}=this;c||this.ionStyle.emit({label:!0,[`label-${d}`]:void 0!==d})}render(){const c=this.position,d=(0,we.b)(this);return(0,s.h)(s.xr,{key:"c2c0f388dab910d294efb9fbb409ee4ef829c1ed",class:y(this.color,{[d]:!0,"in-item-color":_("ion-item.ion-color",this.el),[`label-${c}`]:void 0!==c,"label-no-animate":this.noAnimate,"label-rtl":"rtl"===document.dir})},(0,s.h)("slot",{key:"4de6b69950f417873a13c851018ec31ea2686f0a"}))}get el(){return this}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}static get style(){return{ios:".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999))}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",md:".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #0054e9)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}"}}},[38,"ion-label",{color:[513],position:[1],noAnimate:[32]},void 0,{color:["colorChanged"],position:["positionChanged"]}]);const A=function Rr(){typeof customElements>"u"||["ion-label"].forEach(c=>{"ion-label"===c&&(customElements.get(c)||customElements.define(c,mr))})},jt=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.lines=void 0,this.inset=!1}closeSlidingItems(){var c=this;return(0,g.A)(function*(){const d=c.el.querySelector("ion-item-sliding");return!!d?.closeOpened&&d.closeOpened()})()}render(){const c=(0,we.b)(this),{lines:d,inset:p}=this;return(0,s.h)(s.xr,{key:"8bde220025a7eeca6da075379c6487c4c9bdddc1",role:"list",class:{[c]:!0,[`list-${c}`]:!0,"list-inset":p,[`list-lines-${d}`]:void 0!==d,[`list-${c}-lines-${d}`]:void 0!==d}})}get el(){return this}static get style(){return{ios:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:only-child,.list-ios.list-inset ion-item:not(:only-of-type):last-of-type,.list-ios.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{inset-inline-start:0}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):last-of-type,.list-md.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-md.list-inset ion-item:only-child{--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"}}},[32,"ion-list",{lines:[1],inset:[4],closeSlidingItems:[64]}]);const ko=function kn(){typeof customElements>"u"||["ion-list"].forEach(c=>{"ion-list"===c&&(customElements.get(c)||customElements.define(c,jt))})},Ki=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0,this.lines=void 0}render(){const{lines:c}=this,d=(0,we.b)(this);return(0,s.h)(s.xr,{key:"7e2e050f13722f2b870a2415d99a9e631e9ca267",class:y(this.color,{[d]:!0,[`list-header-lines-${c}`]:void 0!==c})},(0,s.h)("div",{key:"6117bebc45800d874e9b75355476fbced5cc8398",class:"list-header-inner"},(0,s.h)("slot",{key:"9165fb274cd2c45a5a65c271d8b1f30e8a00c890"})))}static get style(){return{ios:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:min(1.375rem, 56.1px);font-weight:700;letter-spacing:0}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){--padding-top:0;--padding-bottom:0;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px;min-height:1.4em}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}",md:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);min-height:45px;font-size:0.875rem}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}"}}},[33,"ion-list-header",{color:[513],lines:[1]}]);const ds=function Ri(){typeof customElements>"u"||["ion-list-header"].forEach(c=>{"ion-list-header"===c&&(customElements.get(c)||customElements.define(c,Ki))})},$r=C=>{try{if(C instanceof fa)return C.value;if(!ta()||"string"!=typeof C||""===C)return C;if(C.includes("onload="))return"";const c=document.createDocumentFragment(),d=document.createElement("div");c.appendChild(d),d.innerHTML=C,da.forEach(Me=>{const Qe=c.querySelectorAll(Me);for(let kt=Qe.length-1;kt>=0;kt--){const qt=Qe[kt];qt.parentNode?qt.parentNode.removeChild(qt):c.removeChild(qt);const Xn=Ls(qt);for(let oo=0;oo{if(C.nodeType&&1!==C.nodeType)return;if(typeof NamedNodeMap<"u"&&!(C.attributes instanceof NamedNodeMap))return void C.remove();for(let d=C.attributes.length-1;d>=0;d--){const p=C.attributes.item(d),F=p.name;if(!Ns.includes(F.toLowerCase())){C.removeAttribute(F);continue}const oe=p.value,Me=C[F];(null!=oe&&oe.toLowerCase().includes("javascript:")||null!=Me&&Me.toLowerCase().includes("javascript:"))&&C.removeAttribute(F)}const c=Ls(C);for(let d=0;dnull!=C.children?C.children:C.childNodes,ta=()=>{var C;const c=window,d=null===(C=c?.Ionic)||void 0===C?void 0:C.config;return!d||(d.get?d.get("sanitizerEnabled",!0):!0===d.sanitizerEnabled||void 0===d.sanitizerEnabled)},Ns=["class","id","href","src","name","slot"],da=["script","style","iframe","meta","link","object","embed"];class fa{constructor(c){this.value=c}}const Ol={bubbles:{dur:1e3,circles:9,fn:(C,c,d)=>{const p=C*c/d-C+"ms",F=2*Math.PI*c/d;return{r:5,style:{top:32*Math.sin(F)+"%",left:32*Math.cos(F)+"%","animation-delay":p}}}},circles:{dur:1e3,circles:8,fn:(C,c,d)=>{const p=c/d,F=C*p-C+"ms",oe=2*Math.PI*p;return{r:5,style:{top:32*Math.sin(oe)+"%",left:32*Math.cos(oe)+"%","animation-delay":F}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(C,c)=>({r:6,style:{left:32-32*c+"%","animation-delay":-110*c+"ms"}})},lines:{dur:1e3,lines:8,fn:(C,c,d)=>({y1:14,y2:26,style:{transform:`rotate(${360/d*c+(c({y1:12,y2:20,style:{transform:`rotate(${360/d*c+(c({y1:17,y2:29,style:{transform:`rotate(${30*c+(c<6?180:-180)}deg)`,"animation-delay":C*c/d-C+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(C,c,d)=>({y1:12,y2:20,style:{transform:`rotate(${30*c+(c<6?180:-180)}deg)`,"animation-delay":C*c/d-C+"ms"}})}},nr=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0,this.duration=void 0,this.name=void 0,this.paused=!1}getName(){const c=this.name||we.c.get("spinner"),d=(0,we.b)(this);return c||("ios"===d?"lines":"circular")}render(){var c;const d=this,p=(0,we.b)(d),F=d.getName(),oe=null!==(c=Ol[F])&&void 0!==c?c:Ol.lines,Me="number"==typeof d.duration&&d.duration>10?d.duration:oe.dur,Qe=[];if(void 0!==oe.circles)for(let kt=0;kt{const F=C.fn(c,d,p);return F.style["animation-duration"]=c+"ms",(0,s.h)("svg",{viewBox:F.viewBox||"0 0 64 64",style:F.style},(0,s.h)("circle",{transform:F.transform||"translate(32,32)",cx:F.cx,cy:F.cy,r:F.r,style:C.elmDuration?{animationDuration:c+"ms"}:{}}))},Er=(C,c,d,p)=>{const F=C.fn(c,d,p);return F.style["animation-duration"]=c+"ms",(0,s.h)("svg",{viewBox:F.viewBox||"0 0 64 64",style:F.style},(0,s.h)("line",{transform:"translate(32,32)",y1:F.y1,y2:F.y2}))},ua=C=>{const c=(0,eo.c)(),d=(0,eo.c)(),p=(0,eo.c)();return d.addElement(C.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),p.addElement(C.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),c.addElement(C).easing("ease-in-out").duration(200).addAnimation([d,p])},tl=C=>{const c=(0,eo.c)(),d=(0,eo.c)(),p=(0,eo.c)();return d.addElement(C.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),p.addElement(C.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),c.addElement(C).easing("ease-in-out").duration(200).addAnimation([d,p])},wa=C=>{const c=(0,eo.c)(),d=(0,eo.c)(),p=(0,eo.c)();return d.addElement(C.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),p.addElement(C.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),c.addElement(C).easing("ease-in-out").duration(200).addAnimation([d,p])},Cl=C=>{const c=(0,eo.c)(),d=(0,eo.c)(),p=(0,eo.c)();return d.addElement(C.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),p.addElement(C.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),c.addElement(C).easing("ease-in-out").duration(200).addAnimation([d,p])},Tl=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.didPresent=(0,s.lh)(this,"ionLoadingDidPresent",7),this.willPresent=(0,s.lh)(this,"ionLoadingWillPresent",7),this.willDismiss=(0,s.lh)(this,"ionLoadingWillDismiss",7),this.didDismiss=(0,s.lh)(this,"ionLoadingDidDismiss",7),this.didPresentShorthand=(0,s.lh)(this,"didPresent",7),this.willPresentShorthand=(0,s.lh)(this,"willPresent",7),this.willDismissShorthand=(0,s.lh)(this,"willDismiss",7),this.didDismissShorthand=(0,s.lh)(this,"didDismiss",7),this.delegateController=so(this),this.lockController=$e(),this.triggerController=To(),this.customHTMLEnabled=we.c.get("innerHTMLTemplatesEnabled",false),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,Dt)},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.message=void 0,this.cssClass=void 0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.spinner=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(c,d){!0===c&&!1===d?this.present():!1===c&&!0===d&&this.dismiss()}triggerChanged(){const{trigger:c,el:d,triggerController:p}=this;c&&p.addClickListener(d,c)}connectedCallback(){Wi(this.el),this.triggerChanged()}componentWillLoad(){var c;if(void 0===this.spinner){const d=(0,we.b)(this);this.spinner=we.c.get("loadingSpinner",we.c.get("spinner","ios"===d?"lines":"crescent"))}null!==(c=this.htmlAttributes)&&void 0!==c&&c.id||sr(this.el)}componentDidLoad(){!0===this.isOpen&&(0,x.r)(()=>this.present()),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}present(){var c=this;return(0,g.A)(function*(){const d=yield c.lockController.lock();yield c.delegateController.attachViewToDom(),yield Es(c,"loadingEnter",ua,wa),c.duration>0&&(c.durationTimeout=setTimeout(()=>c.dismiss(),c.duration+10)),d()})()}dismiss(c,d){var p=this;return(0,g.A)(function*(){const F=yield p.lockController.lock();p.durationTimeout&&clearTimeout(p.durationTimeout);const oe=yield vs(p,c,d,"loadingLeave",tl,Cl);return oe&&p.delegateController.removeViewFromDom(),F(),oe})()}onDidDismiss(){return Wr(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return Wr(this.el,"ionLoadingWillDismiss")}renderLoadingMessage(c){const{customHTMLEnabled:d,message:p}=this;return d?(0,s.h)("div",{class:"loading-content",id:c,innerHTML:$r(p)}):(0,s.h)("div",{class:"loading-content",id:c},p)}render(){const{message:c,spinner:d,htmlAttributes:p,overlayIndex:F}=this,oe=(0,we.b)(this),Me=`loading-${F}-msg`;return(0,s.h)(s.xr,Object.assign({key:"fb3d2cd7cd0539ed6540d8be50e243c7916b3ca2",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==c?Me:null,tabindex:"-1"},p,{style:{zIndex:`${4e4+this.overlayIndex}`},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},M(this.cssClass)),{[oe]:!0,"overlay-hidden":!0,"loading-translucent":this.translucent})}),(0,s.h)("ion-backdrop",{key:"c8bd30782f3040b1b80e88aa924861e439d40754",visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,s.h)("div",{key:"4ebfbb67c92e8eb56c27dd7c199b35bf6be1cf63",tabindex:"0"}),(0,s.h)("div",{key:"9492723cd87f1ef75534e449d4bc2b2deb0cb3cc",class:"loading-wrapper ion-overlay-wrapper"},d&&(0,s.h)("div",{key:"d9eb42454e48c82704d974a68b80ceb4de990417",class:"loading-spinner"},(0,s.h)("ion-spinner",{key:"cdb046bad89872f4208ae466979315652766bf3a",name:d,"aria-hidden":"true"})),void 0!==c&&this.renderLoadingMessage(Me)),(0,s.h)("div",{key:"412d1bb537dafa6e6863d07ddc15f5969fe0617d",tabindex:"0"}))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}static get style(){return{ios:".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{-webkit-margin-start:16px;margin-inline-start:16px}",md:".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #0054e9);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}"}}},[34,"ion-loading",{overlayIndex:[2,"overlay-index"],delegate:[16],hasController:[4,"has-controller"],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],message:[1],cssClass:[1,"css-class"],duration:[2],backdropDismiss:[4,"backdrop-dismiss"],showBackdrop:[4,"show-backdrop"],spinner:[1025],translucent:[4],animated:[4],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}]),Ac=(C,c,d)=>"function"==typeof d?d(C,c):"string"==typeof d?C[d]===c[d]:Array.isArray(c)?c.includes(C):C===c,Lc=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionFocus=(0,s.lh)(this,"ionFocus",7),this.ionBlur=(0,s.lh)(this,"ionBlur",7),this.inputId="ion-rb-"+vd++,this.radioGroup=null,this.updateState=()=>{if(this.radioGroup){const{compareWith:c,value:d}=this.radioGroup;this.checked=((C,c,d)=>void 0!==C&&(Array.isArray(C)?C.some(p=>Ac(p,c,d)):Ac(C,c,d)))(d,this.value,c)}},this.onClick=()=>{const{radioGroup:c,checked:d,disabled:p}=this;p||(this.checked=!d||!c?.allowEmptySelection)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.checked=!1,this.buttonTabindex=-1,this.color=void 0,this.name=this.inputId,this.disabled=!1,this.value=void 0,this.labelPlacement="start",this.justify="space-between",this.alignment="center"}valueChanged(){this.updateState()}componentDidLoad(){this.updateState()}setFocus(c){var d=this;return(0,g.A)(function*(){c.stopPropagation(),c.preventDefault(),d.el.focus()})()}setButtonTabindex(c){var d=this;return(0,g.A)(function*(){d.buttonTabindex=c})()}connectedCallback(){void 0===this.value&&(this.value=this.inputId);const c=this.radioGroup=this.el.closest("ion-radio-group");c&&(this.updateState(),(0,x.a)(c,"ionValueChange",this.updateState))}disconnectedCallback(){const c=this.radioGroup;c&&((0,x.b)(c,"ionValueChange",this.updateState),this.radioGroup=null)}get hasLabel(){return""!==this.el.textContent}renderRadioControl(){return(0,s.h)("div",{class:"radio-icon",part:"container"},(0,s.h)("div",{class:"radio-inner",part:"mark"}),(0,s.h)("div",{class:"radio-ripple"}))}render(){const{checked:c,disabled:d,color:p,el:F,justify:oe,labelPlacement:Me,hasLabel:Qe,buttonTabindex:kt,alignment:qt}=this,Xn=(0,we.b)(this),oo=_("ion-item",F);return(0,s.h)(s.xr,{key:"43c95effb6acb119733270e8a5e02fe18b47ee4b",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:y(p,{[Xn]:!0,"in-item":oo,"radio-checked":c,"radio-disabled":d,[`radio-justify-${oe}`]:!0,[`radio-alignment-${qt}`]:!0,[`radio-label-placement-${Me}`]:!0,"ion-activatable":!oo,"ion-focusable":!oo}),role:"radio","aria-checked":c?"true":"false","aria-disabled":d?"true":null,tabindex:kt},(0,s.h)("label",{key:"168ea77c08fde9832077d617662b93dc9986b544",class:"radio-wrapper"},(0,s.h)("div",{key:"ce1e6eee63fbab1e5a66b18f767f4eecc2a227f1",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!Qe},part:"label"},(0,s.h)("slot",{key:"7d849e43d4356b5c3978c2bba9a6fba5d21ca69d"})),(0,s.h)("div",{key:"e741f7822364958b050a232bdfccdc413095c244",class:"native-wrapper"},this.renderRadioControl())))}get el(){return this}static get watchers(){return{value:["valueChanged"]}}static get style(){return{ios:':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #0054e9)}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}',md:':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}'}}},[33,"ion-radio",{color:[513],name:[1],disabled:[4],value:[8],labelPlacement:[1,"label-placement"],justify:[1],alignment:[1],checked:[32],buttonTabindex:[32],setFocus:[64],setButtonTabindex:[64]},void 0,{value:["valueChanged"]}]);let vd=0;const uh=function jc(){typeof customElements>"u"||["ion-radio"].forEach(c=>{"ion-radio"===c&&(customElements.get(c)||customElements.define(c,Lc))})};var Bl=function(C){return C.Heavy="HEAVY",C.Medium="MEDIUM",C.Light="LIGHT",C}(Bl||{});const ic={getEngine(){const C=(0,yi.g)();if(C?.isPluginAvailable("Haptics"))return C.Plugins.Haptics},available(){if(!this.getEngine())return!1;const c=(0,yi.g)();return"web"!==c?.getPlatform()||typeof navigator<"u"&&void 0!==navigator.vibrate},impact(C){const c=this.getEngine();c&&c.impact({style:C.style})},notification(C){const c=this.getEngine();c&&c.notification({type:C.type})},selection(){this.impact({style:Bl.Light})},selectionStart(){const C=this.getEngine();C&&C.selectionStart()},selectionChanged(){const C=this.getEngine();C&&C.selectionChanged()},selectionEnd(){const C=this.getEngine();C&&C.selectionEnd()}},Kl=()=>ic.available(),Cd=C=>{const c=C.querySelector("ion-spinner"),d=c.shadowRoot.querySelector("circle"),p=C.querySelector(".spinner-arrow-container"),F=C.querySelector(".arrow-container"),oe=F?F.querySelector("ion-icon"):null,Me=(0,eo.c)().duration(1e3).easing("ease-out"),Qe=(0,eo.c)().addElement(p).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),kt=(0,eo.c)().addElement(d).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),qt=(0,eo.c)().addElement(c).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(F&&oe){const Xn=(0,eo.c)().addElement(F).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),oo=(0,eo.c)().addElement(oe).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);Me.addAnimation([Xn,oo])}return Me.addAnimation([Qe,kt,qt])},Lt=(C,c,d=200)=>{if(!C)return Promise.resolve();const p=(0,x.t)(C,d);return(0,s.bN)(()=>{C.style.setProperty("transition",`${d}ms all ease-out`),void 0===c?C.style.removeProperty("transform"):C.style.setProperty("transform",`translate3d(0px, ${c}, 0px)`)}),p},Ge=function(){var C=(0,g.A)(function*(c,d){const p=c.querySelector("ion-refresher-content");if(!p)return Promise.resolve(!1);yield new Promise(Me=>(0,x.c)(p,Me));const F=c.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),oe=c.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==F&&null!==oe&&("ios"===d&&navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)")||"md"===d)});return function(d,p){return C.apply(this,arguments)}}(),Ms=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.ionRefresh=(0,s.lh)(this,"ionRefresh",7),this.ionPull=(0,s.lh)(this,"ionPull",7),this.ionStart=(0,s.lh)(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.contentFullscreen=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}checkNativeRefresher(){var c=this;return(0,g.A)(function*(){const d=yield Ge(c.el,(0,we.b)(c));if(d&&!c.nativeRefresher){const p=c.el.closest("ion-content");c.setupNativeRefresher(p)}else d||c.destroyNativeRefresher()})()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}resetNativeRefresher(c,d){var p=this;return(0,g.A)(function*(){p.state=d,"ios"===(0,we.b)(p)?yield Lt(c,void 0,300):yield(0,x.t)(p.el.querySelector(".refresher-refreshing-icon"),200),p.didRefresh=!1,p.needsCompletion=!1,p.pointerDown=!1,p.animations.forEach(F=>F.destroy()),p.animations=[],p.progress=0,p.state=1})()}setupiOSNativeRefresher(c,d){var p=this;return(0,g.A)(function*(){p.elementToTransform=p.scrollEl;const F=c.shadowRoot.querySelectorAll("svg");let oe=.16*p.scrollEl.clientHeight;const Me=F.length;(0,s.bN)(()=>F.forEach(Qe=>Qe.style.setProperty("animation","none"))),p.scrollListenerCallback=()=>{!p.pointerDown&&1===p.state||(0,s.gv)(()=>{const Qe=p.scrollEl.scrollTop,kt=p.el.clientHeight;if(Qe>0){if(8===p.state){const Co=(0,x.k)(0,Qe/(.5*kt),1);return void(0,s.bN)(()=>((C,c)=>{C.style.setProperty("opacity",c.toString())})(d,1-Co))}return}p.pointerDown&&(p.didStart||(p.didStart=!0,p.ionStart.emit()),p.pointerDown&&p.ionPull.emit());const qt=p.didStart?30:0,Xn=p.progress=(0,x.k)(0,(Math.abs(Qe)-qt)/oe,1);8===p.state||1===Xn?(p.pointerDown&&((C,c)=>{(0,s.bN)(()=>{C.style.setProperty("--refreshing-rotation-duration",c>=1?"0.5s":"2s"),C.style.setProperty("opacity","1")})})(d,p.lastVelocityY),p.didRefresh||(p.beginRefresh(),p.didRefresh=!0,(C=>{Kl()&&ic.impact(C)})({style:Bl.Light}),p.pointerDown||Lt(p.elementToTransform,`${kt}px`))):(p.state=2,((C,c,d)=>{(0,s.bN)(()=>{C.forEach((F,oe)=>{const Me=oe*(1/c),qt=(0,x.k)(0,(d-Me)/(1-Me),1);F.style.setProperty("opacity",qt.toString())})})})(F,Me,Xn))})},p.scrollEl.addEventListener("scroll",p.scrollListenerCallback),p.gesture=(yield Promise.resolve().then(l.bind(l,2104))).createGesture({el:p.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{p.pointerDown=!0,p.didRefresh||Lt(p.elementToTransform,"0px"),0===oe&&(oe=.16*p.scrollEl.clientHeight)},onMove:Qe=>{p.lastVelocityY=Qe.velocityY},onEnd:()=>{p.pointerDown=!1,p.didStart=!1,p.needsCompletion?(p.resetNativeRefresher(p.elementToTransform,32),p.needsCompletion=!1):p.didRefresh&&(0,s.gv)(()=>Lt(p.elementToTransform,`${p.el.clientHeight}px`))}}),p.disabledChanged()})()}setupMDNativeRefresher(c,d,p){var F=this;return(0,g.A)(function*(){const oe=(0,x.g)(d).querySelector("circle"),Me=F.el.querySelector("ion-refresher-content .refresher-pulling-icon"),Qe=(0,x.g)(p).querySelector("circle");null!==oe&&null!==Qe&&(0,s.bN)(()=>{oe.style.setProperty("animation","none"),p.style.setProperty("animation-delay","-655ms"),Qe.style.setProperty("animation-delay","-655ms")}),F.gesture=(yield Promise.resolve().then(l.bind(l,2104))).createGesture({el:F.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==F.state&&32!==F.state&&0===F.scrollEl.scrollTop,onStart:kt=>{F.progress=0,kt.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:kt=>{if(kt.velocityY<0&&0===F.progress&&!kt.data.didStart||kt.data.cancelled)kt.data.cancelled=!0;else{if(!kt.data.didStart){kt.data.didStart=!0,F.state=2;const{scrollEl:qt}=F,Xn=qt.matches(go.I)?"overflow":"--overflow";(0,s.bN)(()=>qt.style.setProperty(Xn,"hidden"));const oo=(C=>{const c=C.previousElementSibling;return null!==c&&"ION-HEADER"===c.tagName?"translate":"scale"})(c),Co=((C,c,d)=>"scale"===C?((C,c)=>{const d=c.clientHeight,p=(0,eo.c)().addElement(C).keyframes([{offset:0,transform:`scale(0) translateY(-${d}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return Cd(C).addAnimation([p])})(c,d):((C,c)=>{const d=c.clientHeight,p=(0,eo.c)().addElement(C).keyframes([{offset:0,transform:`translateY(-${d}px)`},{offset:1,transform:"translateY(100px)"}]);return Cd(C).addAnimation([p])})(c,d))(oo,Me,F.el);return kt.data.animation=Co,Co.progressStart(!1,0),F.ionStart.emit(),void F.animations.push(Co)}F.progress=(0,x.k)(0,kt.deltaY/180*.5,1),kt.data.animation.progressStep(F.progress),F.ionPull.emit()}},onEnd:kt=>{if(!kt.data.didStart)return;F.gesture.enable(!1);const{scrollEl:qt}=F,Xn=qt.matches(go.I)?"overflow":"--overflow";if((0,s.bN)(()=>qt.style.removeProperty(Xn)),F.progress<=.4)return void kt.data.animation.progressEnd(0,F.progress,500).onFinish(()=>{F.animations.forEach(xo=>xo.destroy()),F.animations=[],F.gesture.enable(!0),F.state=1});const oo=mn([0,0],[0,0],[1,1],[1,1],F.progress)[0],Co=(C=>(0,eo.c)().duration(125).addElement(C).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(Me);F.animations.push(Co),(0,s.bN)((0,g.A)(function*(){Me.style.setProperty("--ion-pulling-refresher-translate",100*oo+"px"),kt.data.animation.progressEnd(),yield Co.play(),F.beginRefresh(),kt.data.animation.destroy(),F.gesture.enable(!0)}))}}),F.disabledChanged()})()}setupNativeRefresher(c){var d=this;return(0,g.A)(function*(){if(d.scrollListenerCallback||!c||d.nativeRefresher||!d.scrollEl)return;d.setCss(0,"",!1,""),d.nativeRefresher=!0;const p=d.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),F=d.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===(0,we.b)(d)?d.setupiOSNativeRefresher(p,F):d.setupMDNativeRefresher(c,p,F)})()}componentDidUpdate(){this.checkNativeRefresher()}connectedCallback(){var c=this;return(0,g.A)(function*(){if("fixed"!==c.el.getAttribute("slot"))return void console.error('Make sure you use: ');const d=c.el.closest(go.b);d?(0,x.c)(d,(0,g.A)(function*(){const p=d.querySelector(go.I);c.scrollEl=yield(0,go.g)(p??d),c.backgroundContentEl=yield d.getBackgroundElement(),c.contentFullscreen=d.fullscreen,(yield Ge(c.el,(0,we.b)(c)))?c.setupNativeRefresher(d):(c.gesture=(yield Promise.resolve().then(l.bind(l,2104))).createGesture({el:d,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>c.canStart(),onStart:()=>c.onStart(),onMove:F=>c.onMove(F),onEnd:()=>c.onEnd()}),c.disabledChanged())})):(0,go.p)(c.el)})()}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(){var c=this;return(0,g.A)(function*(){c.nativeRefresher?(c.needsCompletion=!0,c.pointerDown||(0,x.r)(()=>(0,x.r)(()=>c.resetNativeRefresher(c.elementToTransform,32)))):c.close(32,"120ms")})()}cancel(){var c=this;return(0,g.A)(function*(){c.nativeRefresher?c.pointerDown||(0,x.r)(()=>(0,x.r)(()=>c.resetNativeRefresher(c.elementToTransform,16))):c.close(16,"")})()}getProgress(){return Promise.resolve(this.progress)}canStart(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}onStart(){this.progress=0,this.state=1,this.memoizeOverflowStyle(),this.contentFullscreen&&this.backgroundContentEl&&this.backgroundContentEl.style.setProperty("--offset-top","0px")}onMove(c){if(!this.scrollEl)return;const d=c.event;if(void 0!==d.touches&&d.touches.length>1||56&this.state)return;const p=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,F=c.deltaY*p;if(F<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(d.cancelable&&d.preventDefault(),this.setCss(F,"0ms",!0,""),0===F)return void(this.progress=0);const oe=this.pullMin;this.progress=F/oe,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),Fthis.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state?this.cancel():1===this.state&&this.restoreOverflowStyle()}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(c,d){setTimeout(()=>{var p;this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"",!0),this.contentFullscreen&&this.backgroundContentEl&&(null===(p=this.backgroundContentEl)||void 0===p||p.style.removeProperty("--offset-top"))},600),this.state=c,this.setCss(0,this.closeDuration,!0,d)}setCss(c,d,p,F,oe=!1){this.nativeRefresher||(this.appliedStyles=c>0,(0,s.bN)(()=>{if(this.scrollEl&&this.backgroundContentEl){const Me=this.scrollEl.style,Qe=this.backgroundContentEl.style;Me.transform=Qe.transform=c>0?`translateY(${c}px) translateZ(0px)`:"",Me.transitionDuration=Qe.transitionDuration=d,Me.transitionDelay=Qe.transitionDelay=F,Me.overflow=p?"hidden":""}oe&&this.restoreOverflowStyle()}))}memoizeOverflowStyle(){if(this.scrollEl){const{overflow:c,overflowX:d,overflowY:p}=this.scrollEl.style;this.overflowStyles={overflow:c??"",overflowX:d??"",overflowY:p??""}}}restoreOverflowStyle(){if(void 0!==this.overflowStyles&&void 0!==this.scrollEl){const{overflow:c,overflowX:d,overflowY:p}=this.overflowStyles;this.scrollEl.style.overflow=c,this.scrollEl.style.overflowX=d,this.scrollEl.style.overflowY=p,this.overflowStyles=void 0}}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"3270f181a5141e7d886ec554a3e892974446b90e",slot:"fixed",class:{[c]:!0,[`refresher-${c}`]:!0,"refresher-native":this.nativeRefresher,"refresher-active":1!==this.state,"refresher-pulling":2===this.state,"refresher-ready":4===this.state,"refresher-refreshing":8===this.state,"refresher-cancelling":16===this.state,"refresher-completing":32===this.state}})}get el(){return this}static get watchers(){return{disabled:["disabledChanged"]}}static get style(){return{ios:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, var(--ion-background-color-step-450, #747577))}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}",md:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #0054e9)}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #0054e9);font-size:12px}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;border-radius:100%;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #ececec));background:var(--ion-color-step-250, var(--ion-background-color-step-250, #ffffff));-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}"}}},[32,"ion-refresher",{pullMin:[2,"pull-min"],pullMax:[2,"pull-max"],closeDuration:[1,"close-duration"],snapbackDuration:[1,"snapback-duration"],pullFactor:[2,"pull-factor"],disabled:[4],nativeRefresher:[32],state:[32],complete:[64],cancel:[64],getProgress:[64]},void 0,{disabled:["disabledChanged"]}]),Bs=function Os(){typeof customElements>"u"||["ion-refresher"].forEach(c=>{"ion-refresher"===c&&(customElements.get(c)||customElements.define(c,Ms))})},sc=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow()}onClick(c){const d=this.el.closest("ion-reorder-group");c.preventDefault(),(!d||!d.disabled)&&c.stopImmediatePropagation()}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"663d74e231e3af56b6298ee2539fdac9c8465839",class:c},(0,s.h)("slot",{key:"c7c384ab8c9ca8abdc89cd984a39dfde70e342ca"},(0,s.h)("ion-icon",{key:"c8b6052db03d4b9e33a90e600c20861c73ee73ce",icon:"ios"===c?"data:image/svg+xml;utf8,":"data:image/svg+xml;utf8,",lazy:!1,class:"reorder-icon",part:"icon","aria-hidden":"true"})))}get el(){return this}static get style(){return{ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:2.125rem;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:1.9375rem;opacity:0.3}"}}},[33,"ion-reorder",void 0,[[2,"click","onClick"]]]),zc=function ac(){typeof customElements>"u"||["ion-reorder","ion-icon"].forEach(c=>{switch(c){case"ion-reorder":customElements.get(c)||customElements.define(c,sc);break;case"ion-icon":customElements.get(c)||Tn()}})},Md=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.ionItemReorder=(0,s.lh)(this,"ionItemReorder",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var c=this;return(0,g.A)(function*(){const d=(0,go.a)(c.el);d&&(c.scrollEl=yield(0,go.g)(d)),c.gesture=(yield Promise.resolve().then(l.bind(l,2104))).createGesture({el:c.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:p=>c.canStart(p),onStart:p=>c.onStart(p),onMove:p=>c.onMove(p),onEnd:()=>c.onEnd()}),c.disabledChanged()})()}disconnectedCallback(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(c){return Promise.resolve(this.completeReorder(c))}canStart(c){if(this.selectedItemEl||0!==this.state)return!1;const p=c.event.target.closest("ion-reorder");if(!p)return!1;const F=Vc(p,this.el);return!!F&&(c.data=F,!0)}onStart(c){c.event.preventDefault();const d=this.selectedItemEl=c.data,p=this.cachedHeights;p.length=0;const F=this.el,oe=F.children;if(!oe||0===oe.length)return;let Me=0;for(let kt=0;kt{oe===Me||void 0!==c&&!0!==c||this.el.insertBefore(d,Mec)return p;return d.length-1}reorderMove(c,d){const p=this.selectedItemHeight,F=this.el.children;for(let oe=0;oec&&oe<=d?Qe=`translateY(${-p}px)`:oe=d&&(Qe=`translateY(${p}px)`),F[oe].style.transform=Qe}}autoscroll(c){if(!this.scrollEl)return 0;let d=0;return cthis.scrollElBottom&&(d=Fd),0!==d&&this.scrollEl.scrollBy(0,d),this.scrollEl.scrollTop-this.scrollElInitial}render(){const c=(0,we.b)(this);return(0,s.h)(s.xr,{key:"491f3e5843cf728ff4589e58bd86b8ce6709b293",class:{[c]:!0,"reorder-enabled":!this.disabled,"reorder-list-active":0!==this.state}})}get el(){return this}static get watchers(){return{disabled:["disabledChanged"]}}static get style(){return".reorder-list-active>*{display:block;-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}"}},[0,"ion-reorder-group",{disabled:[4],state:[32],complete:[64]},void 0,{disabled:["disabledChanged"]}]),Uc=C=>C.$ionIndex,Vc=(C,c)=>{let d;for(;C;){if(d=C.parentElement,d===c)return C;C=d}},Yl=60,Fd=10,Dd="reorder-selected",hu=(C,c,d)=>{const p=C[c];return C.splice(c,1),C.splice(d,0,p),C.slice()},sa=function $l(){typeof customElements>"u"||["ion-reorder-group"].forEach(c=>{"ion-reorder-group"===c&&(customElements.get(c)||customElements.define(c,Md))})};let nm=0;const mu=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.segmentEl=null,this.inheritedAttributes={},this.updateStyle=()=>{(0,s.$x)(this)},this.updateState=()=>{const{segmentEl:c}=this;c&&(this.checked=c.value===this.value,c.disabled&&(this.disabled=!0))},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+nm++}valueChanged(){this.updateState()}connectedCallback(){const c=this.segmentEl=this.el.closest("ion-segment");c&&(this.updateState(),(0,x.a)(c,"ionSelect",this.updateState),(0,x.a)(c,"ionStyle",this.updateStyle))}disconnectedCallback(){const c=this.segmentEl;c&&((0,x.b)(c,"ionSelect",this.updateState),(0,x.b)(c,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,x.d)(this.el,["aria-label"]))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}setFocus(){var c=this;return(0,g.A)(function*(){const{nativeEl:d}=c;void 0!==d&&d.focus()})()}render(){const{checked:c,type:d,disabled:p,hasIcon:F,hasLabel:oe,layout:Me,segmentEl:Qe}=this,kt=(0,we.b)(this);return(0,s.h)(s.xr,{key:"70cf5c7a3ae2620222c5250c644faf3cfc3b3e4e",class:{[kt]:!0,"in-toolbar":_("ion-toolbar",this.el),"in-toolbar-color":_("ion-toolbar[color]",this.el),"in-segment":_("ion-segment",this.el),"in-segment-color":void 0!==Qe?.color,"segment-button-has-label":oe,"segment-button-has-icon":F,"segment-button-has-label-only":oe&&!F,"segment-button-has-icon-only":F&&!oe,"segment-button-disabled":p,"segment-button-checked":c,[`segment-button-layout-${Me}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},(0,s.h)("button",Object.assign({key:"a53c9f1e360934e8d2e90476642ba4507fc38ebd","aria-selected":c?"true":"false",role:"tab",ref:Xn=>this.nativeEl=Xn,type:d,class:"button-native",part:"native",disabled:p},this.inheritedAttributes),(0,s.h)("span",{key:"7d8feda840d389941cc693f500b5eba0b39b41da",class:"button-inner"},(0,s.h)("slot",{key:"d9ae1eec45db253cbf573d29cd545658dd595d87"})),"md"===kt&&(0,s.h)("ion-ripple-effect",{key:"49e6a16968709dc9b3fc77bc9fb99acb42fda88c"})),(0,s.h)("div",{key:"4e3ea0989ed5205dbb03586e4facb439b05a92de",part:"indicator",class:{"segment-button-indicator":!0,"segment-button-indicator-animated":!0}},(0,s.h)("div",{key:"65c72a151080998c1e548c87d4d4ebd5c7dda72f",part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return this}static get watchers(){return{value:["valueChanged"]}}static get style(){return{ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff))))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #0054e9));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'}}},[33,"ion-segment-button",{disabled:[1028],layout:[1],type:[1],value:[8],checked:[32],setFocus:[64]},void 0,{value:["valueChanged"]}]),fh=function jg(){typeof customElements>"u"||["ion-segment-button","ion-ripple-effect"].forEach(c=>{switch(c){case"ion-segment-button":customElements.get(c)||customElements.define(c,mu);break;case"ion-ripple-effect":customElements.get(c)||ri()}})},Ng=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=(0,s.lh)(this,"ionTabBarChanged",7),this.ionTabBarLoaded=(0,s.lh)(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){var c=this;return(0,g.A)(function*(){c.keyboardCtrl=yield Ss(function(){var d=(0,g.A)(function*(p,F){!1===p&&void 0!==F&&(yield F),c.keyboardVisible=p});return function(p,F){return d.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:c,translucent:d,keyboardVisible:p}=this,F=(0,we.b)(this),oe=p&&"top"!==this.el.getAttribute("slot");return(0,s.h)(s.xr,{key:"3a8595dd83f89e8319471a7a7f9f64b2565b384c",role:"tablist","aria-hidden":oe?"true":null,class:y(c,{[F]:!0,"tab-bar-translucent":d,"tab-bar-hidden":oe})},(0,s.h)("slot",{key:"8b65eceb922f6abfa15f41046261586fb94b981f"}))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.07)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, var(--ion-text-color-step-350, #595959)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:56px}"}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]},void 0,{selectedTab:["selectedTabChanged"]}]),rm=function im(){typeof customElements>"u"||["ion-tab-bar"].forEach(c=>{"ion-tab-bar"===c&&(customElements.get(c)||customElements.define(c,Ng))})},am=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=(0,s.lh)(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=c=>{("Enter"===c.key||" "===c.key)&&this.selectTab(c)},this.onClick=c=>{this.selectTab(c)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(c){const d=c.target,p=this.el.parentElement;(c.composedPath().includes(p)||d?.contains(this.el))&&(this.selected=this.tab===c.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,x.d)(this.el,["aria-label"])),void 0===this.layout&&(this.layout=we.c.get("tabButtonLayout","icon-top"))}selectTab(c){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),c.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:c,hasIcon:d,hasLabel:p,href:F,rel:oe,target:Me,layout:Qe,selected:kt,tab:qt,inheritedAttributes:Xn}=this,oo=(0,we.b)(this),Co={download:this.download,href:F,rel:oe,target:Me};return(0,s.h)(s.xr,{key:"4b528ce31f67e10ad849e0c99bd034bba675c227",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==qt?`tab-button-${qt}`:null,class:{[oo]:!0,"tab-selected":kt,"tab-disabled":c,"tab-has-label":p,"tab-has-icon":d,"tab-has-label-only":p&&!d,"tab-has-icon-only":d&&!p,[`tab-layout-${Qe}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,s.h)("a",Object.assign({key:"0da8784b1b243ffaaaf04dd7adb55d6881ed0c08"},Co,{class:"button-native",part:"native",role:"tab","aria-selected":kt?"true":null,"aria-disabled":c?"true":null,tabindex:c?"-1":void 0},Xn),(0,s.h)("span",{key:"2c628e8f1ebc129f84876c01530468cb97d8bf3a",class:"button-inner"},(0,s.h)("slot",{key:"8052a171d197a7de1a7eb12b091c35f73ae1ee21"})),"md"===oo&&(0,s.h)("ion-ripple-effect",{key:"4186bdb5ed045ec16f495a14fa30ac864c576227",type:"unbounded"})))}get el(){return this}static get style(){return{ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:24px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){font-size:30px}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'}}},[33,"ion-tab-button",{disabled:[4],download:[1],href:[1],rel:[1],layout:[1025],selected:[1028],tab:[1],target:[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]]),Ug=function Aa(){typeof customElements>"u"||["ion-tab-button","ion-ripple-effect"].forEach(c=>{switch(c){case"ion-tab-button":customElements.get(c)||customElements.define(c,am);break;case"ion-ripple-effect":customElements.get(c)||ri()}})},Vg=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=(0,s.lh)(this,"ionStyle",7),this.color=void 0,this.size=void 0}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){const c=this.getSize();this.ionStyle.emit({[`title-${c}`]:!0})}getSize(){return void 0!==this.size?this.size:"default"}render(){const c=(0,we.b)(this),d=this.getSize();return(0,s.h)(s.xr,{key:"5a58dc437a6f4257244bbdd7e9a682a17d8c9a6b",class:y(this.color,{[c]:!0,[`title-${d}`]:!0,"title-rtl":"rtl"===document.dir})},(0,s.h)("div",{key:"58682ea7b8f47a08adfad419b5c76b34784c6501",class:"toolbar-title"},(0,s.h)("slot",{key:"8a9248534e4c3076f5e2dfda38ef86069796851c"})))}get el(){return this}static get watchers(){return{size:["sizeChanged"]}}static get style(){return{ios:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host{inset-inline-start:0}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}",md:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}"}}},[33,"ion-title",{color:[513],size:[1]},void 0,{size:["sizeChanged"]}]),Vk=function Xl(){typeof customElements>"u"||["ion-title"].forEach(c=>{"ion-title"===c&&(customElements.get(c)||customElements.define(c,Vg))})};const Sl=(C,c)=>Math.floor(C/2-c/2),Wg=(C,c)=>{const d=(0,eo.c)(),p=(0,eo.c)(),{position:F,top:oe,bottom:Me}=c,kt=(0,x.g)(C).querySelector(".toast-wrapper");switch(p.addElement(kt),F){case"top":p.fromTo("transform","translateY(-100%)",`translateY(${oe})`);break;case"middle":const qt=Sl(C.clientHeight,kt.clientHeight);kt.style.top=`${qt}px`,p.fromTo("opacity",.01,1);break;default:p.fromTo("transform","translateY(100%)",`translateY(${Me})`)}return d.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(p)},Hg=(C,c)=>{const d=(0,eo.c)(),p=(0,eo.c)(),{position:F,top:oe,bottom:Me}=c,kt=(0,x.g)(C).querySelector(".toast-wrapper");switch(p.addElement(kt),F){case"top":p.fromTo("transform",`translateY(${oe})`,"translateY(-100%)");break;case"middle":p.fromTo("opacity",.99,0);break;default:p.fromTo("transform",`translateY(${Me})`,"translateY(100%)")}return d.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(p)},Ql=(C,c)=>{const d=(0,eo.c)(),p=(0,eo.c)(),{position:F,top:oe,bottom:Me}=c,kt=(0,x.g)(C).querySelector(".toast-wrapper");switch(p.addElement(kt),F){case"top":kt.style.setProperty("transform",`translateY(${oe})`),p.fromTo("opacity",.01,1);break;case"middle":const qt=Sl(C.clientHeight,kt.clientHeight);kt.style.top=`${qt}px`,p.fromTo("opacity",.01,1);break;default:kt.style.setProperty("transform",`translateY(${Me})`),p.fromTo("opacity",.01,1)}return d.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(p)},Od=C=>{const c=(0,eo.c)(),d=(0,eo.c)(),F=(0,x.g)(C).querySelector(".toast-wrapper");return d.addElement(F).fromTo("opacity",.99,0),c.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(d)},Kg=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=(0,s.lh)(this,"ionToastDidPresent",7),this.willPresent=(0,s.lh)(this,"ionToastWillPresent",7),this.willDismiss=(0,s.lh)(this,"ionToastWillDismiss",7),this.didDismiss=(0,s.lh)(this,"ionToastDidDismiss",7),this.didPresentShorthand=(0,s.lh)(this,"didPresent",7),this.willPresentShorthand=(0,s.lh)(this,"willPresent",7),this.willDismissShorthand=(0,s.lh)(this,"willDismiss",7),this.didDismissShorthand=(0,s.lh)(this,"didDismiss",7),this.delegateController=so(this),this.lockController=$e(),this.triggerController=To(),this.customHTMLEnabled=we.c.get("innerHTMLTemplatesEnabled",false),this.presented=!1,this.dispatchCancelHandler=c=>{if(Or(c.detail.role)){const p=this.getButtons().find(F=>"cancel"===F.role);this.callButtonHandler(p)}},this.createSwipeGesture=c=>{(this.gesture=((C,c,d)=>{const p=s.L2.isTesting?document.createElement("div"):(0,x.g)(C).querySelector(".toast-wrapper"),F=C.clientHeight,oe=p.getBoundingClientRect();let Me=0;const kt="middle"===C.position?.5:0,qt="top"===C.position?-1:1,Xn=Sl(F,oe.height),oo=[{offset:0,transform:`translateY(-${Xn+oe.height}px)`},{offset:.5,transform:"translateY(0px)"},{offset:1,transform:`translateY(${Xn+oe.height}px)`}],Co=(0,eo.c)("toast-swipe-to-dismiss-animation").addElement(p).duration(100);switch(C.position){case"middle":Me=F+oe.height,Co.keyframes(oo),Co.progressStart(!0,.5);break;case"top":Me=oe.bottom,Co.keyframes([{offset:0,transform:`translateY(${c.top})`},{offset:1,transform:"translateY(-100%)"}]),Co.progressStart(!0,0);break;default:Me=F-oe.top,Co.keyframes([{offset:0,transform:`translateY(${c.bottom})`},{offset:1,transform:"translateY(100%)"}]),Co.progressStart(!0,0)}const xo=or=>or*qt/Me,wi=(0,fi.createGesture)({el:p,gestureName:"toast-swipe-to-dismiss",gesturePriority:39,direction:"y",onMove:or=>{const ur=kt+xo(or.deltaY);Co.progressStep(ur)},onEnd:or=>{const ur=or.velocityY,Hi=(or.deltaY+1e3*ur)/Me*qt;wi.enable(!1);let rr=!0,lr=1,cr=0,cs=0;if("middle"===C.position){rr=Hi>=.25||Hi<=-.25,lr=1,cr=0;const zs=p.getBoundingClientRect(),ba=zs.top-Xn,Ca=(Xn+zs.height)*(or.deltaY<=0?-1:1);Co.keyframes([{offset:0,transform:`translateY(${ba}px)`},{offset:1,transform:`translateY(${rr?`${Ca}px`:"0px"})`}]),cs=Ca-ba}else rr=Hi>=.5,lr=rr?1:0,cr=xo(or.deltaY),cs=(rr?1-cr:cr)*Me;const Ws=Math.min(Math.abs(cs)/Math.abs(ur),200);Co.onFinish(()=>{rr?(d(),Co.destroy()):("middle"===C.position?Co.keyframes(oo).progressStart(!0,.5):Co.progressStart(!0,0),wi.enable(!0))},{oneTimeCallback:!0}).progressEnd(lr,cr,Ws)}});return wi})(this.el,c,()=>{this.dismiss(void 0,un)})).enable(!0)},this.destroySwipeGesture=()=>{const{gesture:c}=this;void 0!==c&&(c.destroy(),this.gesture=void 0)},this.prefersSwipeGesture=()=>{const{swipeGesture:c}=this;return"vertical"===c},this.revealContentToScreenReader=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.color=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.duration=we.c.getNumber("toastDuration",0),this.header=void 0,this.layout="baseline",this.message=void 0,this.keyboardClose=!1,this.position="bottom",this.positionAnchor=void 0,this.buttons=void 0,this.translucent=!1,this.animated=!0,this.icon=void 0,this.htmlAttributes=void 0,this.swipeGesture=void 0,this.isOpen=!1,this.trigger=void 0}swipeGestureChanged(){this.destroySwipeGesture(),this.presented&&this.prefersSwipeGesture()&&this.createSwipeGesture(this.lastPresentedPosition)}onIsOpenChange(c,d){!0===c&&!1===d?this.present():!1===c&&!0===d&&this.dismiss()}triggerChanged(){const{trigger:c,el:d,triggerController:p}=this;c&&p.addClickListener(d,c)}connectedCallback(){Wi(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var c;null!==(c=this.htmlAttributes)&&void 0!==c&&c.id||sr(this.el)}componentDidLoad(){!0===this.isOpen&&(0,x.r)(()=>this.present()),this.triggerChanged()}present(){var c=this;return(0,g.A)(function*(){const d=yield c.lockController.lock();yield c.delegateController.attachViewToDom();const{el:p,position:F}=c,Me=function dm(C,c,d,p){let F;if(F="md"===d?"top"===C?8:-8:"top"===C?10:-10,c&&ci.w){!function bh(C,c){null===C.offsetParent&&(0,Vo.p)("The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.",c)}(c,p);const oe=c.getBoundingClientRect();return"top"===C?F+=oe.bottom:"bottom"===C&&(F-=ci.w.innerHeight-oe.top),{top:`${F}px`,bottom:`${F}px`}}return{top:`calc(${F}px + var(--ion-safe-area-top, 0px))`,bottom:`calc(${F}px - var(--ion-safe-area-bottom, 0px))`}}(F,c.getAnchorElement(),(0,we.b)(c),p);c.lastPresentedPosition=Me,yield Es(c,"toastEnter",Wg,Ql,{position:F,top:Me.top,bottom:Me.bottom}),c.revealContentToScreenReader=!0,c.duration>0&&(c.durationTimeout=setTimeout(()=>c.dismiss(void 0,"timeout"),c.duration)),c.prefersSwipeGesture()&&c.createSwipeGesture(Me),d()})()}dismiss(c,d){var p=this;return(0,g.A)(function*(){var F,oe;const Me=yield p.lockController.lock(),{durationTimeout:Qe,position:kt,lastPresentedPosition:qt}=p;Qe&&clearTimeout(Qe);const Xn=yield vs(p,c,d,"toastLeave",Hg,Od,{position:kt,top:null!==(F=qt?.top)&&void 0!==F?F:"",bottom:null!==(oe=qt?.bottom)&&void 0!==oe?oe:""});return Xn&&(p.delegateController.removeViewFromDom(),p.revealContentToScreenReader=!1),p.lastPresentedPosition=void 0,p.destroySwipeGesture(),Me(),Xn})()}onDidDismiss(){return Wr(this.el,"ionToastDidDismiss")}onWillDismiss(){return Wr(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map(d=>"string"==typeof d?{text:d}:d):[]}getAnchorElement(){const{position:c,positionAnchor:d,el:p}=this;if(void 0!==d){if("middle"===c&&void 0!==d)return void(0,Vo.p)('The positionAnchor property is ignored when using position="middle".',this.el);if("string"==typeof d){const F=document.getElementById(d);return null===F?void(0,Vo.p)(`An anchor element with an ID of "${d}" was not found in the DOM.`,p):F}if(d instanceof s.wt)return d;(0,Vo.p)("Invalid positionAnchor value:",d,p)}}buttonClick(c){var d=this;return(0,g.A)(function*(){const p=c.role;return Or(p)||(yield d.callButtonHandler(c))?d.dismiss(void 0,p):Promise.resolve()})()}callButtonHandler(c){return(0,g.A)(function*(){if(c?.handler)try{if(!1===(yield((C,c)=>{if("function"==typeof C)return we.c.get("_zoneGate",Rt)(()=>{try{return C(c)}catch(p){throw p}})})(c.handler)))return!1}catch(d){console.error(d)}return!0})()}renderButtons(c,d){if(0===c.length)return;const p=(0,we.b)(this);return(0,s.h)("div",{class:{"toast-button-group":!0,[`toast-button-group-${d}`]:!0}},c.map(oe=>(0,s.h)("button",Object.assign({},oe.htmlAttributes,{type:"button",class:na(oe),tabIndex:0,onClick:()=>this.buttonClick(oe),part:Yg(oe)}),(0,s.h)("div",{class:"toast-button-inner"},oe.icon&&(0,s.h)("ion-icon",{"aria-hidden":"true",icon:oe.icon,slot:void 0===oe.text?"icon-only":void 0,class:"toast-button-icon"}),oe.text),"md"===p&&(0,s.h)("ion-ripple-effect",{type:void 0!==oe.icon&&void 0===oe.text?"unbounded":"bounded"}))))}renderToastMessage(c,d=null){const{customHTMLEnabled:p,message:F}=this;return p?(0,s.h)("div",{key:c,"aria-hidden":d,class:"toast-message",part:"message",innerHTML:$r(F)}):(0,s.h)("div",{key:c,"aria-hidden":d,class:"toast-message",part:"message"},F)}renderHeader(c,d=null){return(0,s.h)("div",{key:c,class:"toast-header","aria-hidden":d,part:"header"},this.header)}render(){const{layout:c,el:d,revealContentToScreenReader:p,header:F,message:oe}=this,Me=this.getButtons(),Qe=Me.filter(oo=>"start"===oo.side),kt=Me.filter(oo=>"start"!==oo.side),qt=(0,we.b)(this),Xn={"toast-wrapper":!0,[`toast-${this.position}`]:!0,[`toast-layout-${c}`]:!0};return"stacked"===c&&Qe.length>0&&kt.length>0&&(0,Vo.p)("This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.",d),(0,s.h)(s.xr,Object.assign({key:"68c336f80af04ba484ca9899bae8f40c0d9b7691",tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:y(this.color,Object.assign(Object.assign({[qt]:!0},M(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),(0,s.h)("div",{key:"3483b188f14b700964a123997a60a43a2023a1b6",class:Xn},(0,s.h)("div",{key:"1b88544a9b87253b364cbec6285625388979b560",class:"toast-container",part:"container"},this.renderButtons(Qe,"start"),void 0!==this.icon&&(0,s.h)("ion-icon",{key:"bd1c42e3b14af66b880dfe283e3ae910075c0f70",class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),(0,s.h)("div",{key:"a5ef6cdabc1f7c70d11a5f2a0abf8737fe7550e8",class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!p&&void 0!==F&&this.renderHeader("oldHeader","true"),!p&&void 0!==oe&&this.renderToastMessage("oldMessage","true"),p&&void 0!==F&&this.renderHeader("header"),p&&void 0!==oe&&this.renderToastMessage("header")),this.renderButtons(kt,"end"))))}get el(){return this}static get watchers(){return{swipeGesture:["swipeGestureChanged"],isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}static get style(){return{ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-radius:14px;--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, var(--ion-background-color-step-800, #333333));--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-50, var(--ion-text-color-step-950, #f2f2f2));--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, var(--ion-text-color-step-900, #e6e6e6))}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}}},[33,"ion-toast",{overlayIndex:[2,"overlay-index"],delegate:[16],hasController:[4,"has-controller"],color:[513],enterAnimation:[16],leaveAnimation:[16],cssClass:[1,"css-class"],duration:[2],header:[1],layout:[1],message:[1],keyboardClose:[4,"keyboard-close"],position:[1],positionAnchor:[1,"position-anchor"],buttons:[16],translucent:[4],animated:[4],icon:[1],htmlAttributes:[16],swipeGesture:[1,"swipe-gesture"],isOpen:[4,"is-open"],trigger:[1],revealContentToScreenReader:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{swipeGesture:["swipeGestureChanged"],isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}]),na=C=>({"toast-button":!0,"toast-button-icon-only":void 0!==C.icon&&void 0===C.text,[`toast-button-${C.role}`]:void 0!==C.role,"ion-focusable":!0,"ion-activatable":!0}),Yg=C=>Or(C.role)?"button cancel":"button",Zg=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const c=Array.from(this.el.querySelectorAll("ion-buttons")),d=c.find(oe=>"start"===oe.slot);d&&d.classList.add("buttons-first-slot");const p=c.reverse(),F=p.find(oe=>"end"===oe.slot)||p.find(oe=>"primary"===oe.slot)||p.find(oe=>"secondary"===oe.slot);F&&F.classList.add("buttons-last-slot")}childrenStyle(c){c.stopPropagation();const d=c.target.tagName,p=c.detail,F={},oe=this.childrenStyles.get(d)||{};let Me=!1;Object.keys(p).forEach(Qe=>{const kt=`toolbar-${Qe}`,qt=p[Qe];qt!==oe[kt]&&(Me=!0),qt&&(F[kt]=!0)}),Me&&(this.childrenStyles.set(d,F),(0,s.$x)(this))}render(){const c=(0,we.b)(this),d={};return this.childrenStyles.forEach(p=>{Object.assign(d,p)}),(0,s.h)(s.xr,{key:"4bb3a55001408a3bdf033af76b9196cb96c07c09",class:Object.assign(Object.assign({},d),y(this.color,{[c]:!0,"in-toolbar":_("ion-toolbar",this.el)}))},(0,s.h)("div",{key:"0891db157d6e028c6d03696f13fb510ea91b0296",class:"toolbar-background"}),(0,s.h)("div",{key:"95fbc870d808f74af4bb18cd8f8ec8c7828a9e0b",class:"toolbar-container"},(0,s.h)("slot",{key:"84d4a9644660fe00ca085055ca8d12f3647531ad",name:"start"}),(0,s.h)("slot",{key:"fd361dc9c9979f59aed2fedcf94629506fae62b0",name:"secondary"}),(0,s.h)("div",{key:"54d2b28616a4627c55766f66dc453707752758a6",class:"toolbar-content"},(0,s.h)("slot",{key:"8f65e0830cce7135640b90eb694e282cb7e5efd2"})),(0,s.h)("slot",{key:"c78be11a207c8674f222543646398636956087e6",name:"primary"}),(0,s.h)("slot",{key:"ab25e1601ccaa8cb0d81921b849bcb7402aa7826",name:"end"})))}get el(){return this}static get style(){return{ios:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",md:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, #c1c4cd))));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}"}}},[33,"ion-toolbar",{color:[513]},[[0,"ionStyle","childrenStyle"]]]),eb=function Jg(){typeof customElements>"u"||["ion-toolbar"].forEach(c=>{"ion-toolbar"===c&&(customElements.get(c)||customElements.define(c,Zg))})};var Ba=l(84341);const gm=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=(0,s.lh)(this,"ionChange",7),this.ionFocus=(0,s.lh)(this,"ionFocus",7),this.ionBlur=(0,s.lh)(this,"ionBlur",7),this.inputId="ion-cb-"+tb++,this.inheritedAttributes={},this.setChecked=c=>{const d=this.checked=c;this.ionChange.emit({checked:d,value:this.value})},this.toggleChecked=c=>{c.preventDefault(),this.setFocus(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=c=>{this.disabled||this.toggleChecked(c)},this.color=void 0,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.labelPlacement="start",this.justify="space-between",this.alignment="center"}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,x.i)(this.el))}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{color:c,checked:d,disabled:p,el:F,getSVGPath:oe,indeterminate:Me,inheritedAttributes:Qe,inputId:kt,justify:qt,labelPlacement:Xn,name:oo,value:Co,alignment:xo}=this,Ro=(0,we.b)(this),Wo=oe(Ro,Me);return(0,x.e)(!0,F,oo,d?Co:"",p),(0,s.h)(s.xr,{key:"0ac95890562c7f035704c40959c69f8c8ca4bc9f","aria-checked":Me?"mixed":`${d}`,class:y(c,{[Ro]:!0,"in-item":_("ion-item",F),"checkbox-checked":d,"checkbox-disabled":p,"checkbox-indeterminate":Me,interactive:!0,[`checkbox-justify-${qt}`]:!0,[`checkbox-alignment-${xo}`]:!0,[`checkbox-label-placement-${Xn}`]:!0}),onClick:this.onClick},(0,s.h)("label",{key:"3f9f7c8383dded8f7997086b25399d052df76b5c",class:"checkbox-wrapper"},(0,s.h)("input",Object.assign({key:"6fb11d06c424c289357d5d7c1a4d1b967be231d0",type:"checkbox",checked:!!d||void 0,disabled:p,id:kt,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:wi=>this.focusEl=wi},Qe)),(0,s.h)("div",{key:"f577a272e5e3f9f1852fc95e40466c80b76309c7",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":""===F.textContent},part:"label"},(0,s.h)("slot",{key:"7c9b0b4513e797a1acdf55a5f286563e5f397e9c"})),(0,s.h)("div",{key:"e47c50a078b8d761ddc5efcb9a9635281b5818f6",class:"native-wrapper"},(0,s.h)("svg",{key:"4dca47179ae15e9094e01c799ef4ed25fbb0d840",class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},Wo))))}getSVGPath(c,d){let p=(0,s.h)("path",d?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===c&&(p=(0,s.h)("path",d?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),p}get el(){return this}static get style(){return{ios:":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}",md:":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}"}}},[33,"ion-checkbox",{color:[513],name:[1],checked:[1028],indeterminate:[1028],disabled:[4],value:[8],labelPlacement:[1,"label-placement"],justify:[1],alignment:[1]}]);let tb=0;const Wc=function kh(){typeof customElements>"u"||["ion-checkbox"].forEach(c=>{"ion-checkbox"===c&&(customElements.get(c)||customElements.define(c,gm))})};l(35498);const Oh=C=>{const c=C.getTimezoneOffset();return C.setMinutes(C.getMinutes()-c),C};let ha;Oh(new Date("2022T01:00")),Oh(new Date("2022T13:00"));const ed=(C,c)=>{const d=(()=>{if(typeof window>"u")return new Map;if(!ha){const C=window;C.Ionicons=C.Ionicons||{},ha=C.Ionicons.map=C.Ionicons.map||new Map}return ha})().get(C);if(d)return d;try{return(0,s.OX)(`svg/${C}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${C}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,c)}},Jl=(C,c,d,p,F)=>(d="ios"===(d&&Du(d))?"ios":"md",p&&"ios"===d?C=Du(p):F&&"md"===d?C=Du(F):(!C&&c&&!Bd(c)&&(C=c),Fu(C)&&(C=Du(C))),Fu(C)&&""!==C.trim()&&""===C.replace(/[a-z]|-|\d/gi,"")?C:null),Mc=C=>Fu(C)&&(C=C.trim(),Bd(C))?C:null,Bd=C=>C.length>0&&/(\/|\.)/.test(C),Fu=C=>"string"==typeof C,Du=C=>C.toLowerCase(),Ob=C=>C&&""!==C.dir?"rtl"===C.dir.toLowerCase():"rtl"===document?.dir.toLowerCase(),Gm=C=>{if(1===C.nodeType){if("script"===C.nodeName.toLowerCase())return!1;for(let c=0;c{const d={};return c.forEach(p=>{C.hasAttribute(p)&&(null!==C.getAttribute(p)&&(d[p]=C.getAttribute(p)),C.removeAttribute(p))}),d})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(c,d,p){if(s.L2.isBrowser&&this.lazy&&typeof window<"u"&&window.IntersectionObserver){const F=this.io=new window.IntersectionObserver(oe=>{oe[0].isIntersecting&&(F.disconnect(),this.io=void 0,p())},{rootMargin:d});F.observe(c)}else p()}loadIcon(){if(s.L2.isBrowser&&this.isVisible){const c=(C=>{let c=Mc(C.src);return c||(c=Jl(C.name,C.icon,C.mode,C.ios,C.md),c?ed(c,C):C.icon&&(c=Mc(C.icon),c||(c=Mc(C.icon[C.mode]),c))?c:null)})(this);c&&(Vl.has(c)?this.svgContent=Vl.get(c):((C,c)=>{let d=$h.get(C);if(!d){if(!(typeof fetch<"u"&&typeof document<"u"))return Vl.set(C,""),Promise.resolve();if((C=>C.startsWith("data:image/svg+xml"))(C)&&(C=>-1!==C.indexOf(";utf8,"))(C)){Ou||(Ou=new DOMParser);const F=Ou.parseFromString(C,"text/html").querySelector("svg");return F&&Vl.set(C,F.outerHTML),Promise.resolve()}d=fetch(C).then(p=>{if(p.ok)return p.text().then(F=>{F&&!1!==c&&(F=(C=>{const c=document.createElement("div");c.innerHTML=C;for(let p=c.childNodes.length-1;p>=0;p--)"svg"!==c.childNodes[p].nodeName.toLowerCase()&&c.removeChild(c.childNodes[p]);const d=c.firstElementChild;if(d&&"svg"===d.nodeName.toLowerCase()){const p=d.getAttribute("class")||"";if(d.setAttribute("class",(p+" s-ion-icon").trim()),Gm(d))return c.innerHTML}return""})(F)),Vl.set(C,F||"")});Vl.set(C,"")}),$h.set(C,d)}return d})(c,this.sanitize).then(()=>this.svgContent=Vl.get(c)),this.didLoadIcon=!0)}this.iconName=Jl(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:c,iconName:d,inheritedAttributes:p,el:F}=this,oe=this.mode||"md",Me=!!d&&(d.includes("arrow")||d.includes("chevron"))&&!1!==c,Qe=c||Me;return(0,s.h)(s.xr,Object.assign({role:"img",class:Object.assign(Object.assign({[oe]:!0},Pb(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":Qe,"icon-rtl":Qe&&Ob(F)})},p),(0,s.h)("div",s.L2.isBrowser&&this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]),$a=()=>s.L2.isBrowser&&typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",Pb=C=>C?{"ion-color":!0,[`ion-color-${C}`]:!0}:null,Xm=function Sb(){typeof customElements>"u"||["ion-icon"].forEach(c=>{"ion-icon"===c&&(customElements.get(c)||customElements.define(c,Tb))})},Wh=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.ionChange=(0,s.lh)(this,"ionChange",7),this.ionValueChange=(0,s.lh)(this,"ionValueChange",7),this.inputId="ion-rg-"+Hh++,this.labelId=`${this.inputId}-lbl`,this.setRadioTabindex=c=>{const d=this.getRadios(),p=d.find(Me=>!Me.disabled),F=d.find(Me=>Me.value===c&&!Me.disabled);if(!p&&!F)return;const oe=F||p;for(const Me of d)Me.setButtonTabindex(Me===oe?0:-1)},this.onClick=c=>{c.preventDefault();const d=c.target&&c.target.closest("ion-radio");if(d&&!d.disabled){const F=d.value;F!==this.value?(this.value=F,this.emitValueChange(c)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(c))}},this.allowEmptySelection=!1,this.compareWith=void 0,this.name=this.inputId,this.value=void 0}valueChanged(c){this.setRadioTabindex(c),this.ionValueChange.emit({value:c})}componentDidLoad(){this.valueChanged(this.value)}connectedCallback(){var c=this;return(0,g.A)(function*(){const d=c.el.querySelector("ion-list-header")||c.el.querySelector("ion-item-divider");if(d){const p=c.label=d.querySelector("ion-label");p&&(c.labelId=p.id=c.name+"-lbl")}})()}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(c){const{value:d}=this;this.ionChange.emit({value:d,event:c})}onKeydown(c){const d=!!this.el.closest("ion-select-popover");if(c.target&&!this.el.contains(c.target))return;const p=this.getRadios().filter(F=>!F.disabled);if(c.target&&p.includes(c.target)){const F=p.findIndex(Qe=>Qe===c.target),oe=p[F];let Me;if(["ArrowDown","ArrowRight"].includes(c.key)&&(Me=F===p.length-1?p[0]:p[F+1]),["ArrowUp","ArrowLeft"].includes(c.key)&&(Me=0===F?p[p.length-1]:p[F-1]),Me&&p.includes(Me)&&(Me.setFocus(c),d||(this.value=Me.value,this.emitValueChange(c))),[" "].includes(c.key)){const Qe=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:oe.value,(Qe!==this.value||this.allowEmptySelection)&&this.emitValueChange(c),c.preventDefault()}}}render(){const{label:c,labelId:d,el:p,name:F,value:oe}=this,Me=(0,we.b)(this);return(0,x.e)(!0,p,F,oe,!1),(0,s.h)(s.xr,{key:"7a8ad7eb6a05c6f96a348dcf30fd0c610a95688c",role:"radiogroup","aria-labelledby":c?d:null,onClick:this.onClick,class:Me})}get el(){return this}static get watchers(){return{value:["valueChanged"]}}},[0,"ion-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],compareWith:[1,"compare-with"],name:[1],value:[1032]},[[4,"keydown","onKeydown"]],{value:["valueChanged"]}]);let Hh=0;const Gh=function Su(){typeof customElements>"u"||["ion-radio-group"].forEach(c=>{"ion-radio-group"===c&&(customElements.get(c)||customElements.define(c,Wh))})},jb=(0,s.w$)(class extends s.wt{constructor(){var c;super(),c=this,this.__registerHost(),this.__attachShadow(),this.ionChange=(0,s.lh)(this,"ionChange",7),this.ionInput=(0,s.lh)(this,"ionInput",7),this.ionFocus=(0,s.lh)(this,"ionFocus",7),this.ionBlur=(0,s.lh)(this,"ionBlur",7),this.ionKnobMoveStart=(0,s.lh)(this,"ionKnobMoveStart",7),this.ionKnobMoveEnd=(0,s.lh)(this,"ionKnobMoveEnd",7),this.rangeId="ion-r-"+Bb++,this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.inheritedAttributes={},this.contentEl=null,this.initialContentScrollY=!0,this.clampBounds=d=>(0,x.k)(this.min,d,this.max),this.ensureValueInBounds=d=>this.dualKnobs?{lower:this.clampBounds(d.lower),upper:this.clampBounds(d.upper)}:this.clampBounds(d),this.setupGesture=(0,g.A)(function*(){const d=c.rangeSlider;d&&(c.gesture=(yield Promise.resolve().then(l.bind(l,2104))).createGesture({el:d,gestureName:"range",gesturePriority:100,threshold:10,onStart:()=>c.onStart(),onMove:p=>c.onMove(p),onEnd:p=>c.onEnd(p)}),c.gesture.enable(!c.disabled))}),this.handleKeyboard=(d,p)=>{const{ensureValueInBounds:F}=this;let oe=this.step;oe=oe>0?oe:1,oe/=this.max-this.min,p||(oe*=-1),"A"===d?this.ratioA=(0,x.k)(0,this.ratioA+oe,1):this.ratioB=(0,x.k)(0,this.ratioB+oe,1),this.ionKnobMoveStart.emit({value:F(this.value)}),this.updateValue(),this.emitValueChange(),this.ionKnobMoveEnd.emit({value:F(this.value)})},this.onBlur=()=>{this.hasFocus&&(this.hasFocus=!1,this.ionBlur.emit())},this.onFocus=()=>{this.hasFocus||(this.hasFocus=!0,this.ionFocus.emit())},this.ratioA=0,this.ratioB=0,this.pressedKnob=void 0,this.color=void 0,this.debounce=void 0,this.name=this.rangeId,this.label=void 0,this.dualKnobs=!1,this.min=0,this.max=100,this.pin=!1,this.pinFormatter=d=>Math.round(d),this.snaps=!1,this.step=1,this.ticks=!0,this.activeBarStart=void 0,this.disabled=!1,this.value=0,this.labelPlacement="start"}debounceChanged(){const{ionInput:c,debounce:d,originalIonInput:p}=this;this.ionInput=void 0===d?p??c:(0,x.l)(c,d)}minChanged(){this.noUpdate||this.updateRatio()}maxChanged(){this.noUpdate||this.updateRatio()}activeBarStartChanged(){const{activeBarStart:c}=this;void 0!==c&&(c>this.max?((0,Vo.p)(`Range: The value of activeBarStart (${c}) is greater than the max (${this.max}). Valid values are greater than or equal to the min value and less than or equal to the max value.`,this.el),this.activeBarStart=this.max):c({[wi]:lr[wi]});!1===this.dualKnobs&&(this.valA<(null!==(c=this.activeBarStart)&&void 0!==c?c:this.min)?(xo=100*Xn+"%",Ro=100-100*qt+"%"):(xo=100*qt+"%",Ro=100-100*Xn+"%"));const Hi={[wi]:xo,[or]:Ro},rr=[];if(this.snaps&&this.ticks)for(let lr=d;lr<=p;lr+=F){const cr=Fc(lr,d,p),cs=Math.min(qt,Xn),Ws=Math.max(qt,Xn),zs={ratio:cr,active:cr>=cs&&cr<=Ws};zs[wi]=100*cr+"%",rr.push(zs)}return(0,s.h)("div",{class:"range-slider",ref:lr=>this.rangeSlider=lr,onPointerUp:lr=>{void 0===this.pressedKnob&&(this.onStart(),this.onEnd(lr))}},rr.map(lr=>(0,s.h)("div",{style:ur(lr),role:"presentation",class:{"range-tick":!0,"range-tick-active":lr.active},part:lr.active?"tick-active":"tick"})),(0,s.h)("div",{class:"range-bar-container"},(0,s.h)("div",{class:"range-bar",role:"presentation",part:"bar"}),(0,s.h)("div",{class:{"range-bar":!0,"range-bar-active":!0,"has-ticks":rr.length>0},role:"presentation",style:Hi,part:"bar-active"})),Kh(Wo,{knob:"A",pressed:"A"===Me,value:this.valA,ratio:this.ratioA,pin:kt,pinFormatter:oo,disabled:Qe,handleKeyboard:oe,min:d,max:p,inheritedAttributes:Co}),this.dualKnobs&&Kh(Wo,{knob:"B",pressed:"B"===Me,value:this.valB,ratio:this.ratioB,pin:kt,pinFormatter:oo,disabled:Qe,handleKeyboard:oe,min:d,max:p,inheritedAttributes:Co}))}render(){const{disabled:c,el:d,hasLabel:p,rangeId:F,pin:oe,pressedKnob:Me,labelPlacement:Qe,label:kt}=this,qt=_("ion-item",d),oo=qt&&!(p&&("start"===Qe||"fixed"===Qe)||this.hasStartSlotContent),xo=qt&&!(p&&"end"===Qe||this.hasEndSlotContent),Ro=(0,we.b)(this);return(0,x.e)(!0,d,this.name,JSON.stringify(this.getValue()),c),(0,s.h)(s.xr,{key:"7ad5ca892fd46c64ce5583e91e6812410a869921",onFocusin:this.onFocus,onFocusout:this.onBlur,id:F,class:y(this.color,{[Ro]:!0,"in-item":qt,"range-disabled":c,"range-pressed":void 0!==Me,"range-has-pin":oe,[`range-label-placement-${Qe}`]:!0,"range-item-start-adjustment":oo,"range-item-end-adjustment":xo})},(0,s.h)("label",{key:"eb8d46a9572341b4cc3c91d8a5de0667bd166ca4",class:"range-wrapper",id:"range-label"},(0,s.h)("div",{key:"21acd6ff6eba17bf6923bf723fea055b95fd29ca",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!p},part:"label"},void 0!==kt?(0,s.h)("div",{class:"label-text"},kt):(0,s.h)("slot",{name:"label"})),(0,s.h)("div",{key:"7644c86a6ad3edf2c27f02dd2a14795b3720ea0d",class:"native-wrapper"},(0,s.h)("slot",{key:"1bbeccee57addc126b36de395e28ba655248695b",name:"start"}),this.renderRangeSlider(),(0,s.h)("slot",{key:"2963dd84e4116fc3956c304eb53deefd0d1291df",name:"end"}))))}get el(){return this}static get watchers(){return{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],activeBarStart:["activeBarStartChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}static get style(){return{ios:":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}.range-knob-handle{inset-inline-start:0}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}.range-bar-container{inset-inline-start:0}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);--knob-size:26px;--bar-height:4px;--bar-background:var(--ion-color-step-900, var(--ion-background-color-step-900, #e6e6e6));--bar-background-active:var(--ion-color-primary, #0054e9);--bar-border-radius:2px;--height:42px}:host(.range-item-start-adjustment){-webkit-padding-start:24px;padding-inline-start:24px}:host(.range-item-end-adjustment){-webkit-padding-end:24px;padding-inline-end:24px}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:calc(8px + 0.75rem)}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:calc(8px + 0.75rem)}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-bar-active.has-ticks{border-radius:0;-webkit-margin-start:-2px;margin-inline-start:-2px;-webkit-margin-end:-2px;margin-inline-end:-2px}.range-tick{-webkit-margin-start:-2px;margin-inline-start:-2px;border-radius:0;position:absolute;top:17px;width:4px;height:8px;background:var(--ion-color-step-900, var(--ion-background-color-step-900, #e6e6e6));pointer-events:none}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0, 100%, 0) scale(0.01);transform:translate3d(0, 100%, 0) scale(0.01);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:0.75rem;text-align:center}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 11px), 0) scale(1);transform:translate3d(0, calc(-100% + 11px), 0) scale(1)}:host(.range-disabled){opacity:0.3}",md:':host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}.range-knob-handle{inset-inline-start:0}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}.range-bar-container{inset-inline-start:0}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.26);--bar-background-active:var(--ion-color-primary, #0054e9);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #0054e9);--pin-color:var(--ion-color-primary-contrast, #fff)}::slotted(:not(ion-icon)[slot=start]),::slotted(:not(ion-icon)[slot=end]),.native-wrapper{font-size:0.75rem}:host(.range-item-start-adjustment){-webkit-padding-start:18px;padding-inline-start:18px}:host(.range-item-end-adjustment){-webkit-padding-end:18px;padding-inline-end:18px}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-knob::before,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:1.75rem}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:1.75rem}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-knob::before{border-radius:50%;position:absolute;width:var(--knob-size);height:var(--knob-size);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:0.267s cubic-bezier(0, 0, 0.58, 1);transition:0.267s cubic-bezier(0, 0, 0.58, 1);background:var(--knob-background);content:"";opacity:0.13;pointer-events:none}.range-knob::before{inset-inline-start:0}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0, 0, 0) scale(0.01);transform:translate3d(0, 0, 0) scale(0.01);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:1.75rem;height:1.75rem;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color)}.range-pin::before{bottom:-1px;-webkit-margin-start:-13px;margin-inline-start:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:"";z-index:-1}.range-pin::before{inset-inline-start:50%}:host-context([dir=rtl]) .range-pin::before{left:unset}[dir=rtl] .range-pin::before{left:unset}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset}}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 4px), 0) scale(1);transform:translate3d(0, calc(-100% + 4px), 0) scale(1)}@media (any-hover: hover){.range-knob-handle:hover .range-knob:before{-webkit-transform:scale(2);transform:scale(2);opacity:0.13}}.range-knob-handle.ion-activated .range-knob:before,.range-knob-handle.ion-focused .range-knob:before,.range-knob-handle.range-knob-pressed .range-knob:before{-webkit-transform:scale(2);transform:scale(2)}.range-knob-handle.ion-focused .range-knob::before{opacity:0.13}.range-knob-handle.ion-activated .range-knob::before,.range-knob-handle.range-knob-pressed .range-knob::before{opacity:0.25}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob,:host(:not(.range-has-pin)) .range-knob-handle.ion-focused .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf))}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf))}:host(.range-disabled) .label-text-wrapper,:host(.range-disabled) ::slotted([slot=start]),:host(.range-disabled) ::slotted([slot=end]){opacity:0.38}'}}},[33,"ion-range",{color:[513],debounce:[2],name:[1],label:[1],dualKnobs:[4,"dual-knobs"],min:[2],max:[2],pin:[4],pinFormatter:[16],snaps:[4],step:[2],ticks:[4],activeBarStart:[1026,"active-bar-start"],disabled:[4],value:[1026],labelPlacement:[1,"label-placement"],ratioA:[32],ratioB:[32],pressedKnob:[32]},void 0,{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],activeBarStart:["activeBarStartChanged"],disabled:["disabledChanged"],value:["valueChanged"]}]),Kh=(C,{knob:c,value:d,ratio:p,min:F,max:oe,disabled:Me,pressed:Qe,pin:kt,handleKeyboard:qt,pinFormatter:Xn,inheritedAttributes:oo})=>{const Co=C?"right":"left",Ro=oo["aria-label"];return(0,s.h)("div",{onKeyDown:Wo=>{const wi=Wo.key;"ArrowLeft"===wi||"ArrowDown"===wi?(qt(c,!1),Wo.preventDefault(),Wo.stopPropagation()):("ArrowRight"===wi||"ArrowUp"===wi)&&(qt(c,!0),Wo.preventDefault(),Wo.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":"A"===c,"range-knob-b":"B"===c,"range-knob-pressed":Qe,"range-knob-min":d===F,"range-knob-max":d===oe,"ion-activatable":!0,"ion-focusable":!0},style:(()=>{const Wo={};return Wo[Co]=100*p+"%",Wo})(),role:"slider",tabindex:Me?-1:0,"aria-label":void 0!==Ro?Ro:null,"aria-labelledby":void 0===Ro?"range-label":null,"aria-valuemin":F,"aria-valuemax":oe,"aria-disabled":Me?"true":null,"aria-valuenow":d},kt&&(0,s.h)("div",{class:"range-pin",role:"presentation",part:"pin"},Xn(d)),(0,s.h)("div",{class:"range-knob",role:"presentation",part:"knob"}))},qm=(C,c,d,p)=>{let F=(d-c)*C;return p>0&&(F=Math.round(F/p)*p+c),function Lb(C,...c){const d=Math.max(...c.map(p=>function Rb(C){return C%1==0?0:C.toString().split(".")[1].length}(p)));return Number(C.toFixed(d))}((0,x.k)(c,F,d),c,d,p)},Fc=(C,c,d)=>(0,x.k)(0,(C-c)/(d-c),1);let Bb=0;const $b=function ef(){typeof customElements>"u"||["ion-range"].forEach(c=>{"ion-range"===c&&(customElements.get(c)||customElements.define(c,jb))})},Wd=(0,s.w$)(class extends s.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=(0,s.lh)(this,"ionChange",7),this.ionSelect=(0,s.lh)(this,"ionSelect",7),this.ionStyle=(0,s.lh)(this,"ionStyle",7),this.onClick=c=>{const d=c.target,p=this.checked;"ION-SEGMENT"!==d.tagName&&(this.value=d.value,d!==p&&this.emitValueChange(),(this.scrollable||!this.swipeGesture)&&(p?this.checkButton(p,d):this.setCheckedClasses()))},this.onSlottedItemsChange=()=>{this.valueChanged(this.value)},this.getSegmentButton=c=>{var d,p;const F=this.getButtons().filter(Me=>!Me.disabled),oe=F.findIndex(Me=>Me===document.activeElement);switch(c){case"first":return F[0];case"last":return F[F.length-1];case"next":return null!==(d=F[oe+1])&&void 0!==d?d:F[0];case"previous":return null!==(p=F[oe-1])&&void 0!==p?p:F[F.length-1];default:return null}},this.activated=!1,this.color=void 0,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.value=void 0,this.selectOnFocus=!1}colorChanged(c,d){(void 0===d&&void 0!==c||void 0!==d&&void 0===c)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(c){this.ionSelect.emit({value:c}),this.scrollActiveButtonIntoView()}disabledChanged(){this.gestureChanged();const c=this.getButtons();for(const d of c)d.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}componentDidLoad(){var c=this;return(0,g.A)(function*(){c.setCheckedClasses(),(0,x.r)(()=>{c.scrollActiveButtonIntoView(!1)}),c.gesture=(yield Promise.resolve().then(l.bind(l,2104))).createGesture({el:c.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:d=>c.onStart(d),onMove:d=>c.onMove(d),onEnd:d=>c.onEnd(d)}),c.gestureChanged(),c.disabled&&c.disabledChanged()})()}onStart(c){this.valueBeforeGesture=this.value,this.activate(c)}onMove(c){this.setNextIndex(c)}onEnd(c){this.setActivated(!1),this.setNextIndex(c,!0),c.event.stopImmediatePropagation();const d=this.value;void 0!==d&&this.valueBeforeGesture!==d&&this.emitValueChange(),this.valueBeforeGesture=void 0}emitValueChange(){const{value:c}=this;this.ionChange.emit({value:c})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(c=>c.value===this.value)}setActivated(c){this.getButtons().forEach(p=>{c?p.classList.add("segment-button-activated"):p.classList.remove("segment-button-activated")}),this.activated=c}activate(c){const d=c.event.target,F=this.getButtons().find(oe=>oe.value===this.value);"ION-SEGMENT-BUTTON"===d.tagName&&(F||(this.value=d.value,this.setCheckedClasses()),this.value===d.value&&this.setActivated(!0))}getIndicator(c){return(c.shadowRoot||c).querySelector(".segment-button-indicator")}checkButton(c,d){const p=this.getIndicator(c),F=this.getIndicator(d);if(null===p||null===F)return;const oe=p.getBoundingClientRect(),Me=F.getBoundingClientRect(),qt=`translate3d(${oe.left-Me.left}px, 0, 0) scaleX(${oe.width/Me.width})`;(0,s.bN)(()=>{F.classList.remove("segment-button-indicator-animated"),F.style.setProperty("transform",qt),F.getBoundingClientRect(),F.classList.add("segment-button-indicator-animated"),F.style.setProperty("transform","")}),this.value=d.value,this.setCheckedClasses()}setCheckedClasses(){const c=this.getButtons(),p=c.findIndex(F=>F.value===this.value)+1;for(const F of c)F.classList.remove("segment-button-after-checked");pQe.value===p);if(void 0!==Me){const Qe=F.getBoundingClientRect(),kt=Me.getBoundingClientRect();F.scrollBy({top:0,left:kt.x-Qe.x-Qe.width/2+kt.width/2,behavior:c?"smooth":"instant"})}}}setNextIndex(c,d=!1){const p=(0,Ds.i)(this.el),F=this.activated,oe=this.getButtons(),Me=oe.findIndex(Hi=>Hi.value===this.value),Qe=oe[Me];let kt,qt;if(-1===Me)return;const Xn=Qe.getBoundingClientRect(),oo=Xn.left,Co=Xn.width,xo=c.currentX,Ro=Xn.top+Xn.height/2,wi=this.el.getRootNode().elementFromPoint(xo,Ro);if(F&&!d){if(p?xo>oo+Co:xo=0&&(qt=Hi)}else if((p?xooo+Co)&&F&&!d){const Hi=Me+1;Hi"u"||["ion-segment"].forEach(c=>{"ion-segment"===c&&(customElements.get(c)||customElements.define(c,Wd))})},m0=(0,s.w$)(class extends s.wt{constructor(){var c;super(),c=this,this.__registerHost(),this.__attachShadow(),this.ionChange=(0,s.lh)(this,"ionChange",7),this.ionFocus=(0,s.lh)(this,"ionFocus",7),this.ionBlur=(0,s.lh)(this,"ionBlur",7),this.inputId="ion-tg-"+hf++,this.lastDrag=0,this.inheritedAttributes={},this.didLoad=!1,this.setupGesture=(0,g.A)(function*(){const{toggleTrack:d}=c;d&&(c.gesture=(yield Promise.resolve().then(l.bind(l,2104))).createGesture({el:d,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:()=>c.onStart(),onMove:p=>c.onMove(p),onEnd:p=>c.onEnd(p)}),c.disabledChanged())}),this.onClick=d=>{this.disabled||(d.preventDefault(),this.lastDrag+300{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.getSwitchLabelIcon=(d,p)=>"md"===d?p?"data:image/svg+xml;utf8,":e:p?e:"data:image/svg+xml;utf8,",this.activated=!1,this.color=void 0,this.name=this.inputId,this.checked=!1,this.disabled=!1,this.value="on",this.enableOnOffLabels=we.c.get("toggleOnOffLabels"),this.labelPlacement="start",this.justify="space-between",this.alignment="center"}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}toggleChecked(){const{checked:c,value:d}=this,p=!c;this.checked=p,this.ionChange.emit({checked:p,value:d})}connectedCallback(){var c=this;return(0,g.A)(function*(){c.didLoad&&c.setupGesture()})()}componentDidLoad(){this.setupGesture(),this.didLoad=!0}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,x.i)(this.el))}onStart(){this.activated=!0,this.setFocus()}onMove(c){f0((0,Ds.i)(this.el),this.checked,c.deltaX,-10)&&(this.toggleChecked(),Kl()&&ic.selection())}onEnd(c){this.activated=!1,this.lastDrag=Date.now(),c.event.preventDefault(),c.event.stopImmediatePropagation()}getValue(){return this.value||""}setFocus(){this.focusEl&&this.focusEl.focus()}renderOnOffSwitchLabels(c,d){const p=this.getSwitchLabelIcon(c,d);return(0,s.h)("ion-icon",{class:{"toggle-switch-icon":!0,"toggle-switch-icon-checked":d},icon:p,"aria-hidden":"true"})}renderToggleControl(){const c=(0,we.b)(this),{enableOnOffLabels:d,checked:p}=this;return(0,s.h)("div",{class:"toggle-icon",part:"track",ref:F=>this.toggleTrack=F},d&&"ios"===c&&[this.renderOnOffSwitchLabels(c,!0),this.renderOnOffSwitchLabels(c,!1)],(0,s.h)("div",{class:"toggle-icon-wrapper"},(0,s.h)("div",{class:"toggle-inner",part:"handle"},d&&"md"===c&&this.renderOnOffSwitchLabels(c,p))))}get hasLabel(){return""!==this.el.textContent}render(){const{activated:c,color:d,checked:p,disabled:F,el:oe,justify:Me,labelPlacement:Qe,inputId:kt,name:qt,alignment:Xn}=this,oo=(0,we.b)(this),Co=this.getValue(),xo=(0,Ds.i)(oe)?"rtl":"ltr";return(0,x.e)(!0,oe,qt,p?Co:"",F),(0,s.h)(s.xr,{key:"b0d648e071bc8095998b519ce4dcdd0ea91575c0",onClick:this.onClick,class:y(d,{[oo]:!0,"in-item":_("ion-item",oe),"toggle-activated":c,"toggle-checked":p,"toggle-disabled":F,[`toggle-justify-${Me}`]:!0,[`toggle-alignment-${Xn}`]:!0,[`toggle-label-placement-${Qe}`]:!0,[`toggle-${xo}`]:!0})},(0,s.h)("label",{key:"9a2fe1d16dba66a9dfef450efebf2e5cbe3dcd00",class:"toggle-wrapper"},(0,s.h)("input",Object.assign({key:"4358d18cb86da768155c17f9da3aac641296c256",type:"checkbox",role:"switch","aria-checked":`${p}`,checked:p,disabled:F,id:kt,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:Ro=>this.focusEl=Ro},this.inheritedAttributes)),(0,s.h)("div",{key:"0ec99e452164d7059cc4f93d09e5b918f82c022a",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},(0,s.h)("slot",{key:"1c5cbc99905a79e842e9487eb3ca654e1bab3c66"})),(0,s.h)("div",{key:"ca8196423b429899febd11c7337d768ff05df6f4",class:"native-wrapper"},this.renderToggleControl())))}get el(){return this}static get watchers(){return{disabled:["disabledChanged"]}}static get style(){return{ios:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #0054e9);--border-radius:15.5px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 4px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.06);--handle-height:calc(31px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(31px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}.native-wrapper .toggle-icon{width:51px;height:31px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark, #222428)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}",md:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #0054e9);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}"}}},[33,"ion-toggle",{color:[513],name:[1],checked:[1028],disabled:[4],value:[1],enableOnOffLabels:[4,"enable-on-off-labels"],labelPlacement:[1,"label-placement"],justify:[1],alignment:[1],activated:[32]},void 0,{disabled:["disabledChanged"]}]),f0=(C,c,d,p)=>c?!C&&p>d||C&&-pd;let hf=0;const b0=function g0(){typeof customElements>"u"||["ion-toggle","ion-icon"].forEach(c=>{switch(c){case"ion-toggle":customElements.get(c)||customElements.define(c,m0);break;case"ion-icon":customElements.get(c)||Tn()}})},y0=["outletContent"],Xr=["*"];function ec(C,c){if(1&C&&(i.j41(0,"div",1),i.eu8(1,2),i.k0s()),2&C){const d=i.XpG();i.R7$(),i.Y8G("ngTemplateOutlet",d.template)}}const pf=["outlet"],mf=[[["","slot","top"]],"*"],ff=["[slot=top]","*"];let op=(()=>{let C=class Ag extends f.Rg{parentOutlet;outletContent;constructor(d,p,F,oe,Me,Qe,kt,qt){super(d,p,F,oe,Me,Qe,kt,qt),this.parentOutlet=qt}static \u0275fac=function(p){return new(p||Ag)(i.kS0("name"),i.kS0("tabs"),i.rXU(ln.aZ),i.rXU(i.aKT),i.rXU(Gn.Ix),i.rXU(i.SKi),i.rXU(Gn.nX),i.rXU(Ag,12))};static \u0275cmp=i.VBU({type:Ag,selectors:[["ion-router-outlet"]],viewQuery:function(p,F){if(1&p&&i.GBs(y0,7,i.c1b),2&p){let oe;i.mGM(oe=i.lsd())&&(F.outletContent=oe.first)}},features:[i.Vt3],ngContentSelectors:Xr,decls:3,vars:0,consts:[["outletContent",""]],template:function(p,F){1&p&&(i.NAR(),i.qex(0,null,0),i.SdG(2),i.bVm())},encapsulation:2})};return C=(0,n.Cg)([(0,f.hO)({defineCustomElementFn:Oo})],C),C})(),y1=(()=>{let C=class ek extends f.el{constructor(d,p,F,oe,Me,Qe){super(d,p,F,oe,Me,Qe)}static \u0275fac=function(p){return new(p||ek)(i.rXU(op,8),i.rXU(f.q9),i.rXU(f.TS),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(i.gRc))};static \u0275cmp=i.VBU({type:ek,selectors:[["ion-back-button"]],features:[i.Vt3],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([(0,f.hO)({defineCustomElementFn:Vn})],C),C})(),v1=(()=>{let C=class Rg extends f.Sb{static \u0275fac=(()=>{let d;return function(F){return(d||(d=i.xGo(Rg)))(F||Rg)}})();static \u0275cmp=i.VBU({type:Rg,selectors:[["ion-modal"]],features:[i.Vt3],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(p,F){1&p&&i.DNE(0,ec,2,1,"div",0),2&p&&i.Y8G("ngIf",F.isCmpOpen||F.keepContentsMounted)},dependencies:[ln.MD,ln.bT,ln.T3],encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([(0,f.hO)({defineCustomElementFn:zr})],C),C})();const k1=(C,c)=>{const d=C.prototype;c.forEach(p=>{Object.defineProperty(d,p,{get(){return this.el[p]},set(F){this.z.runOutsideAngular(()=>this.el[p]=F)},configurable:!0})})},yf=(C,c)=>{const d=C.prototype;c.forEach(p=>{d[p]=function(){const F=arguments;return this.z.runOutsideAngular(()=>this.el[p].apply(this.el,F))}})},Na=(C,c,d)=>{d.forEach(p=>C[p]=(0,Bo.R)(c,p))};function hs(C){return function(d){const{defineCustomElementFn:p,inputs:F,methods:oe}=C;return void 0!==p&&p(),F&&k1(d,F),oe&&yf(d,oe),d}}let _0=(()=>{let C=class tk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||tk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:tk,selectors:[["ion-app"]],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:xe})],C),C})(),vf=(()=>{let C=class nk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionBackdropTap"])}static \u0275fac=function(p){return new(p||nk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:nk,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:dt,inputs:["stopPropagation","tappable","visible"]})],C),C})(),ju=(()=>{let C=class ok{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||ok)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:ok,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Ni,inputs:["color","mode"]})],C),C})(),Pc=(()=>{let C=class ik{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||ik)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:ik,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:pa,inputs:["collapse"]})],C),C})(),E0=(()=>{let C=class rk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}static \u0275fac=function(p){return new(p||rk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:rk,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:ss,inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],C),C})(),T1=(()=>{let C=class sk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||sk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:sk,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:ms,inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],C),C})(),P1=(()=>{let C=class ak{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(p){return new(p||ak)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:ak,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Eo,inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],C),C})(),Gd=(()=>{let C=class lk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||lk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:lk,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:_r,inputs:["activated","side"]})],C),C})(),M0=(()=>{let C=class ck{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||ck)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:ck,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:rl,inputs:["collapse","mode","translucent"]})],C),C})(),F0=(()=>{let C=class dk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||dk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:dk,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Qa,inputs:["collapse","mode","translucent"]})],C),C})(),O0=(()=>{let C=class uk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||uk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:uk,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:k,inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],C),C})(),T0=(()=>{let C=class hk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||hk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:hk,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:St,inputs:["color","mode","sticky"]})],C),C})(),P0=(()=>{let C=class pk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||pk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:pk,selectors:[["ion-item-group"]],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:U})],C),C})(),ip=(()=>{let C=class mk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||mk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:mk,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:zn,inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],C),C})(),L1=(()=>{let C=class fk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionSwipe"])}static \u0275fac=function(p){return new(p||fk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:fk,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Qs,inputs:["side"]})],C),C})(),j1=(()=>{let C=class gk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionDrag"])}static \u0275fac=function(p){return new(p||gk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:gk,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Rn,inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],C),C})(),rp=(()=>{let C=class bk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||bk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:bk,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:A,inputs:["color","mode","position"]})],C),C})(),B1=(()=>{let C=class yk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||yk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:yk,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:ko,inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],C),C})(),$1=(()=>{let C=class vk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||vk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:vk,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:ds,inputs:["color","lines","mode"]})],C),C})(),Cf=(()=>{let C=class kk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(p){return new(p||kk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:kk,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:uh,inputs:["alignment","color","disabled","justify","labelPlacement","mode","name","value"]})],C),C})(),cd=(()=>{let C=class _k{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionRefresh","ionPull","ionStart"])}static \u0275fac=function(p){return new(p||_k)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:_k,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Bs,inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],C),C})(),Ef=(()=>{let C=class xk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||xk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:xk,selectors:[["ion-reorder"]],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:zc})],C),C})(),z1=(()=>{let C=class Ck{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionItemReorder"])}static \u0275fac=function(p){return new(p||Ck)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:Ck,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:sa,inputs:["disabled"],methods:["complete"]})],C),C})(),V1=(()=>{let C=class Ek{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||Ek)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:Ek,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:fh,inputs:["disabled","layout","mode","type","value"]})],C),C})(),Bu=(()=>{let C=class wk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||wk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:wk,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:rm,inputs:["color","mode","selectedTab","translucent"]})],C),C})(),$0=(()=>{let C=class Mk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||Mk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:Mk,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Ug,inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],C),C})(),N0=(()=>{let C=class Fk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||Fk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:Fk,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Vk,inputs:["color","size"]})],C),C})(),z0=(()=>{let C=class Dk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||Dk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:Dk,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:eb,inputs:["color","mode"]})],C),C})(),Mf=(()=>{class C extends f.p4{outlet;tabBar;tabBars;static \u0275fac=(()=>{let d;return function(F){return(d||(d=i.xGo(C)))(F||C)}})();static \u0275cmp=i.VBU({type:C,selectors:[["ion-tabs"]],contentQueries:function(p,F,oe){if(1&p&&(i.wni(oe,Bu,5),i.wni(oe,Bu,4)),2&p){let Me;i.mGM(Me=i.lsd())&&(F.tabBar=Me.first),i.mGM(Me=i.lsd())&&(F.tabBars=Me)}},viewQuery:function(p,F){if(1&p&&i.GBs(pf,5,op),2&p){let oe;i.mGM(oe=i.lsd())&&(F.outlet=oe.first)}},features:[i.Vt3],ngContentSelectors:ff,decls:6,vars:0,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(p,F){if(1&p){const oe=i.RV6();i.NAR(mf),i.SdG(0),i.j41(1,"div",2,0)(3,"ion-router-outlet",3,1),i.bIt("stackWillChange",function(Qe){return i.eBV(oe),i.Njj(F.onStackWillChange(Qe))})("stackDidChange",function(Qe){return i.eBV(oe),i.Njj(F.onStackDidChange(Qe))}),i.k0s()(),i.SdG(5,1)}},dependencies:[op],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]})}return C})(),Ff=(()=>{class C extends f.Kb{angularDelegate=(0,i.WQX)(f.Yq);injector=(0,i.WQX)(i.zZn);environmentInjector=(0,i.WQX)(i.uvJ);constructor(){super(hr),zr()}create(d){return super.create({...d,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}static \u0275fac=function(p){return new(p||C)};static \u0275prov=i.jDH({token:C,factory:C.\u0275fac})}return C})();class U0 extends f.Kb{angularDelegate=(0,i.WQX)(f.Yq);injector=(0,i.WQX)(i.zZn);environmentInjector=(0,i.WQX)(i.uvJ);constructor(){super(qi),ro()}create(c){return super.create({...c,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}const V0=(C={})=>(0,i.EmA)([{provide:f.sR,useValue:C},{provide:i.hnV,useFactory:W0,multi:!0,deps:[f.sR,ln.qQ]},(0,f.YV)(),f.Yq,Ff,U0]),W0=(C,c)=>()=>{c.documentElement.classList.add("ion-ce"),(0,we.i)(C)};let G0=(()=>{class C{create(d){return(0,eo.c)(d)}easingTime(d,p,F,oe,Me){return mn(d,p,F,oe,Me)}static \u0275fac=function(p){return new(p||C)};static \u0275prov=i.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})(),Gr=(()=>{class C extends f.Kb{constructor(){super(Ci),function Ga(){typeof customElements>"u"||["ion-loading","ion-backdrop","ion-spinner"].forEach(c=>{switch(c){case"ion-loading":customElements.get(c)||customElements.define(c,Tl);break;case"ion-backdrop":customElements.get(c)||ie();break;case"ion-spinner":customElements.get(c)||function us(){typeof customElements>"u"||["ion-spinner"].forEach(c=>{"ion-spinner"===c&&(customElements.get(c)||customElements.define(c,nr))})}()}})}()}static \u0275fac=function(p){return new(p||C)};static \u0275prov=i.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})(),lp=(()=>{class C extends f.Kb{constructor(){super(ts),function yh(){typeof customElements>"u"||["ion-toast","ion-icon","ion-ripple-effect"].forEach(c=>{switch(c){case"ion-toast":customElements.get(c)||customElements.define(c,Kg);break;case"ion-icon":customElements.get(c)||Tn();break;case"ion-ripple-effect":customElements.get(c)||ri()}})}()}static \u0275fac=function(p){return new(p||C)};static \u0275prov=i.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})();const Sc=["checked","color","disabled","indeterminate","justify","labelPlacement","mode","name","value"],Of={provide:Ba.kq,useExisting:(0,i.Rfq)(()=>dp),multi:!0};let dp=(()=>{let C=class Ok extends f.fL{z;el;constructor(d,p,F,oe){super(oe,p),this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionChange","ionFocus","ionBlur"])}writeValue(d){this.elementRef.nativeElement.checked=this.lastValue=d,(0,f.z3)(this.elementRef)}handleIonChange(d){this.handleValueChange(d,d.checked)}static \u0275fac=function(p){return new(p||Ok)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(i.zZn))};static \u0275cmp=i.VBU({type:Ok,selectors:[["ion-checkbox"]],hostBindings:function(p,F){1&p&&i.bIt("ionChange",function(Me){return F.handleIonChange(Me.target)})},inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},features:[i.Jv_([Of]),i.Vt3],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Wc,inputs:Sc})],C),C})(),X0=(()=>{let C=class Pk{z;el;constructor(d,p,F){this.z=F,d.detach(),this.el=p.nativeElement}static \u0275fac=function(p){return new(p||Pk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:Pk,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Xm,inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],C),C})();const pc=["allowEmptySelection","name","value"],Af={provide:Ba.kq,useExisting:(0,i.Rfq)(()=>Yd),multi:!0};let Yd=(()=>{let C=class Ik extends f.fL{z;el;constructor(d,p,F,oe){super(oe,p),this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionChange"])}handleIonChange(d){this.handleValueChange(d,d.value)}static \u0275fac=function(p){return new(p||Ik)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(i.zZn))};static \u0275cmp=i.VBU({type:Ik,selectors:[["ion-radio-group"]],hostBindings:function(p,F){1&p&&i.bIt("ionChange",function(Me){return F.handleIonChange(Me.target)})},inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},features:[i.Jv_([Af]),i.Vt3],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Gh,inputs:pc})],C),C})();const Rf=["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"],up={provide:Ba.kq,useExisting:(0,i.Rfq)(()=>hp),multi:!0};let hp=(()=>{let C=class Ak extends f.fL{z;el;constructor(d,p,F,oe){super(oe,p),this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}handleIonInput(d){this.handleValueChange(d,d.value)}static \u0275fac=function(p){return new(p||Ak)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(i.zZn))};static \u0275cmp=i.VBU({type:Ak,selectors:[["ion-range"]],hostBindings:function(p,F){1&p&&i.bIt("ionInput",function(Me){return F.handleIonInput(Me.target)})},inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},features:[i.Jv_([up]),i.Vt3],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:$b,inputs:Rf})],C),C})();const Q0=["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"],Z0={provide:Ba.kq,useExisting:(0,i.Rfq)(()=>jf),multi:!0};let jf=(()=>{let C=class Lk extends f.fL{z;el;constructor(d,p,F,oe){super(oe,p),this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionChange"])}handleIonChange(d){this.handleValueChange(d,d.value)}static \u0275fac=function(p){return new(p||Lk)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(i.zZn))};static \u0275cmp=i.VBU({type:Lk,selectors:[["ion-segment"]],hostBindings:function(p,F){1&p&&i.bIt("ionChange",function(Me){return F.handleIonChange(Me.target)})},inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},features:[i.Jv_([Z0]),i.Vt3],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:Wb,inputs:Q0})],C),C})();const ny=["checked","color","disabled","enableOnOffLabels","justify","labelPlacement","mode","name","value"],Y1={provide:Ba.kq,useExisting:(0,i.Rfq)(()=>$f),multi:!0};let $f=(()=>{let C=class $k extends f.fL{z;el;constructor(d,p,F,oe){super(oe,p),this.z=F,d.detach(),this.el=p.nativeElement,Na(this,this.el,["ionChange","ionFocus","ionBlur"])}writeValue(d){this.elementRef.nativeElement.checked=this.lastValue=d,(0,f.z3)(this.elementRef)}handleIonChange(d){this.handleValueChange(d,d.checked)}static \u0275fac=function(p){return new(p||$k)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(i.zZn))};static \u0275cmp=i.VBU({type:$k,selectors:[["ion-toggle"]],hostBindings:function(p,F){1&p&&i.bIt("ionChange",function(Me){return F.handleIonChange(Me.target)})},inputs:{checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},features:[i.Jv_([Y1]),i.Vt3],ngContentSelectors:Xr,decls:1,vars:0,template:function(p,F){1&p&&(i.NAR(),i.SdG(0))},encapsulation:2,changeDetection:0})};return C=(0,n.Cg)([hs({defineCustomElementFn:b0,inputs:ny})],C),C})()},51771:(ft,Z,l)=>{"use strict";l.d(Z,{L2:()=>_,wt:()=>So,xr:()=>fo,lh:()=>ie,$x:()=>Oi,OX:()=>uo,Wi:()=>$i,h:()=>Ft,w$:()=>pi,gv:()=>hn,iY:()=>Ti,zb:()=>Nt,bN:()=>Tn});var n=l(10467),i={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},g="app",s=Object.defineProperty,_={isDev:!!i.isDev,isBrowser:!0,isServer:!1,isTesting:!!i.isTesting},y={},I=i.hotModuleReplacement?window.__STENCIL_HOSTREFS__||(window.__STENCIL_HOSTREFS__=new WeakMap):new WeakMap,R=z=>I.get(z),L=(z,Q)=>Q in z,he=(z,Q)=>{var Ee;Object.entries(null!=(Ee=Q.$cmpMeta$.$members$)?Ee:{}).map(([nt,[Ut]])=>{if(i.state&&i.prop&&!(2048&Ut)&&(31&Ut||32&Ut)){const an=z[nt],on=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(z),nt);Object.defineProperty(z,nt,{get(){return on.get.call(this)},set(Mn){on.set.call(this,Mn)},configurable:!0,enumerable:!0}),z[nt]=Q.$instanceValues$.has(nt)?Q.$instanceValues$.get(nt):an}})},be=(z,Q)=>(0,console.error)(z,Q),Le=i.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],ye=(...z)=>console.error(...Le,...z),je=(...z)=>console.warn(...Le,...z),Je=new Map,Bt=new Map,et=[],On="s-id",Pt="sty-id",tn="http://www.w3.org/1999/xlink",fn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],En=typeof window<"u"?window:{},jn=En.document||{head:{}},So=En.HTMLElement||class{},pt={$flags$:0,$resourcesUrl$:"",jmp:z=>z(),raf:z=>requestAnimationFrame(z),ael:(z,Q,Ee,_e)=>z.addEventListener(Q,Ee,_e),rel:(z,Q,Ee,_e)=>z.removeEventListener(Q,Ee,_e),ce:(z,Q)=>new CustomEvent(z,Q)},Nt=z=>{Object.assign(pt,z)},Vt=i.shadowDom,cn=(()=>{let z=!1;try{jn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){z=!0}}))}catch{}return z})(),pn=!!i.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Un=0,Zn=!1,Bn=[],_n=[],Cn=[],Qt=(z,Q)=>Ee=>{z.push(Ee),Zn||(Zn=!0,Q&&4&pt.$flags$?vn(Zt):pt.raf(Zt))},Nn=z=>{for(let Q=0;Q{let Ee=0,_e=0;for(;Ee{if(i.asyncQueue&&Un++,Nn(Bn),i.asyncQueue){const z=2==(6&pt.$flags$)?performance.now()+14*Math.ceil(.1*Un):1/0;Qn(_n,z),Qn(Cn,z),_n.length>0&&(Cn.push(..._n),_n.length=0),(Zn=Bn.length+_n.length+Cn.length>0)?pt.raf(Zt):Un=0}else Nn(_n),(Zn=Bn.length>0)&&pt.raf(Zt)},vn=z=>Promise.resolve(void 0).then(z),hn=Qt(Bn,!1),Tn=Qt(_n,!0),uo=z=>{const Q=new URL(z,pt.$resourcesUrl$);return Q.origin!==En.location.origin?Q.href:Q.pathname},gi=z=>"object"==(z=typeof z)||"function"===z;((z,Q)=>{for(var Ee in Q)s(z,Ee,{get:Q[Ee],enumerable:!0})})({},{err:()=>Yi,map:()=>xr,ok:()=>ri,unwrap:()=>zi,unwrapErr:()=>Ji});var ri=z=>({isOk:!0,isErr:!1,value:z}),Yi=z=>({isOk:!1,isErr:!0,value:z});function xr(z,Q){if(z.isOk){const Ee=Q(z.value);return Ee instanceof Promise?Ee.then(_e=>ri(_e)):ri(Ee)}if(z.isErr)return Yi(z.value);throw"should never get here"}var zi=z=>{if(z.isOk)return z.value;throw z.value},Ji=z=>{if(z.isErr)return z.value;throw z.value},Pr=z=>{const Q=z.__childNodes||z.childNodes;z.tagName&&z.tagName.includes("-")&&z["s-cr"]&&"SLOT-FB"!==z.tagName&&no(Q,z.tagName).forEach(Ee=>{var _e;1===Ee.nodeType&&"SLOT-FB"===Ee.tagName&&(Ee.hidden=!(null==(_e=Vn(Ee,Ee["s-sn"],!1))||!_e.length))});for(const Ee of Q)1===Ee.nodeType&&(Ee.__childNodes||Ee.childNodes).length&&Pr(Ee)},Gi=z=>{const Q=[];for(let Ee=0;Ee{let nt,_e=0,He=[];for(;_e{const _e=[];for((Ee&&z["s-sr"]||!z["s-sr"])&&_e.push(z);(z=z.nextSibling)&&z["s-sn"]===Q;)_e.push(z);return _e},mn=(z,Q)=>1===z.nodeType?null===z.getAttribute("slot")&&""===Q||z.getAttribute("slot")===Q:z["s-sn"]===Q||""===Q,ze=(z,Q,Ee,_e)=>{let He;if(z["s-ol"]&&z["s-ol"].isConnected?He=z["s-ol"]:(He=document.createTextNode(""),He["s-nr"]=z),!Q["s-cr"]||!Q["s-cr"].parentNode)return;const nt=Q["s-cr"].parentNode,Ut=Ee?nt.__prepend||nt.prepend:nt.__appendChild||nt.appendChild;if(typeof _e<"u"){if(i.hydrateClientSide){He["s-oo"]=_e;const on=[He];(nt.__childNodes||nt.childNodes).forEach(Mn=>{Mn["s-nr"]&&on.push(Mn)}),on.sort((Mn,Xt)=>!Mn["s-oo"]||Mn["s-oo"]Ut.call(nt,Mn))}}else Ut.call(nt,He);z["s-ol"]=He,z["s-sh"]=Q["s-hn"]},at=z=>z["s-sn"]||1===z.nodeType&&z.getAttribute("slot")||"",Ft=(z,Q,...Ee)=>{let _e=null,He=null,nt=null,Ut=!1,an=!1;const on=[],Mn=ve=>{for(let Fe=0;Feve[Fe]).join(" "))}if(i.isDev&&on.some(wn)&&ye("The must be the single root component. Make sure:\n- You are NOT using hostData() and in the same component.\n- is used once, and it's the single root component of the render() function."),i.vdomFunctional&&"function"==typeof z)return z(null===Q?{}:Q,on,dn);const Xt=In(z,null);return Xt.$attrs$=Q,on.length>0&&(Xt.$children$=on),i.vdomKey&&(Xt.$key$=He),i.slotRelocation&&(Xt.$name$=nt),Xt},In=(z,Q)=>{const Ee={$flags$:0,$tag$:z,$text$:Q,$elm$:null,$children$:null};return i.vdomAttribute&&(Ee.$attrs$=null),i.vdomKey&&(Ee.$key$=null),i.slotRelocation&&(Ee.$name$=null),Ee},fo={},wn=z=>z&&z.$tag$===fo,dn={forEach:(z,Q)=>z.map($e).forEach(Q),map:(z,Q)=>z.map($e).map(Q).map(We)},$e=z=>({vattrs:z.$attrs$,vchildren:z.$children$,vkey:z.$key$,vname:z.$name$,vtag:z.$tag$,vtext:z.$text$}),We=z=>{if("function"==typeof z.vtag){const Ee={...z.vattrs};return z.vkey&&(Ee.key=z.vkey),z.vname&&(Ee.name=z.vname),Ft(z.vtag,Ee,...z.vchildren||[])}const Q=In(z.vtag,z.vtext);return Q.$attrs$=z.vattrs,Q.$children$=z.vchildren,Q.$key$=z.vkey,Q.$name$=z.vname,Q},ot=z=>{const Q=Object.keys(z),Ee=Q.indexOf("value");if(-1===Ee)return;const _e=Q.indexOf("type"),He=Q.indexOf("min"),nt=Q.indexOf("max"),Ut=Q.indexOf("step");(Ee<_e||Ee should be set after "min", "max", "type" and "step"')},Wt=(z,Q,Ee,_e,He,nt)=>{if(Ee!==_e){let Ut=L(z,Q),an=Q.toLowerCase();if(i.vdomClass&&"class"===Q){const on=z.classList,Mn=to(Ee);let Xt=to(_e);z["s-si"]?(Xt.push(z["s-si"]),Mn.forEach(ve=>{ve.startsWith(z["s-si"])&&Xt.push(ve)}),Xt=[...new Set(Xt)],on.add(...Xt),delete z["s-si"]):(on.remove(...Mn.filter(ve=>ve&&!Xt.includes(ve))),on.add(...Xt.filter(ve=>ve&&!Mn.includes(ve))))}else if(i.vdomStyle&&"style"===Q){if(i.updatable)for(const on in Ee)(!_e||null==_e[on])&&(!i.hydrateServerSide&&on.includes("-")?z.style.removeProperty(on):z.style[on]="");for(const on in _e)(!Ee||_e[on]!==Ee[on])&&(!i.hydrateServerSide&&on.includes("-")?z.style.setProperty(on,_e[on]):z.style[on]=_e[on])}else if(!i.vdomKey||"key"!==Q)if(i.vdomRef&&"ref"===Q)_e&&_e(z);else if(!i.vdomListener||(i.lazyLoad?Ut:z.__lookupSetter__(Q))||"o"!==Q[0]||"n"!==Q[1]){if(i.vdomPropOrAttr){const on=gi(_e);if((Ut||on&&null!==_e)&&!He)try{if(z.tagName.includes("-"))z[Q]=_e;else{const Xt=_e??"";"list"===Q?Ut=!1:(null==Ee||z[Q]!=Xt)&&("function"==typeof z.__lookupSetter__(Q)?z[Q]=Xt:z.setAttribute(Q,Xt))}}catch{}let Mn=!1;i.vdomXlink&&an!==(an=an.replace(/^xlink\:?/,""))&&(Q=an,Mn=!0),null==_e||!1===_e?(!1!==_e||""===z.getAttribute(Q))&&(i.vdomXlink&&Mn?z.removeAttributeNS(tn,Q):z.removeAttribute(Q)):(!Ut||4&nt||He)&&!on&&(_e=!0===_e?"":_e,i.vdomXlink&&Mn?z.setAttributeNS(tn,Q,_e):z.setAttribute(Q,_e))}}else if(Q="-"===Q[2]?Q.slice(3):L(En,an)?an.slice(2):an[2]+Q.slice(3),Ee||_e){const on=Q.endsWith(co);Q=Q.replace(Oo,""),Ee&&pt.rel(z,Q,Ee,on),_e&&pt.ael(z,Q,_e,on)}}},Dn=/\s/,to=z=>("object"==typeof z&&"baseVal"in z&&(z=z.baseVal),z?z.split(Dn):[]),co="Capture",Oo=new RegExp(co+"$"),ln=(z,Q,Ee)=>{const _e=11===Q.$elm$.nodeType&&Q.$elm$.host?Q.$elm$.host:Q.$elm$,He=z&&z.$attrs$||y,nt=Q.$attrs$||y;if(i.updatable)for(const Ut of Gn(Object.keys(He)))Ut in nt||Wt(_e,Ut,He[Ut],void 0,Ee,Q.$flags$);for(const Ut of Gn(Object.keys(nt)))Wt(_e,Ut,He[Ut],nt[Ut],Ee,Q.$flags$)};function Gn(z){return z.includes("ref")?[...z.filter(Q=>"ref"!==Q),"ref"]:z}var go,Vo,yi,ci=!1,er=!1,ei=!1,dr=!1,Lr=(z,Q,Ee)=>{var _e;const He=Q.$children$[Ee];let Ut,an,on,nt=0;if(i.slotRelocation&&!ci&&(ei=!0,"slot"===He.$tag$&&(He.$flags$|=He.$children$?2:1)),i.isDev&&He.$elm$&&ye(`The JSX ${null!==He.$text$?`"${He.$text$}" text`:`"${He.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),i.vdomText&&null!==He.$text$)Ut=He.$elm$=jn.createTextNode(He.$text$);else if(i.slotRelocation&&1&He.$flags$)Ut=He.$elm$=i.isDebug||i.hydrateServerSide?sr(He):jn.createTextNode("");else{if(i.svg&&!dr&&(dr="svg"===He.$tag$),Ut=He.$elm$=i.svg?jn.createElementNS(dr?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ci&&i.slotRelocation&&2&He.$flags$?"slot-fb":He.$tag$):jn.createElement(!ci&&i.slotRelocation&&2&He.$flags$?"slot-fb":He.$tag$),i.svg&&dr&&"foreignObject"===He.$tag$&&(dr=!1),i.vdomAttribute&&ln(null,He,dr),i.scoped&&(z=>null!=z&&void 0!==z)(go)&&Ut["s-si"]!==go&&Ut.classList.add(Ut["s-si"]=go),He.$children$)for(nt=0;nt{pt.$flags$|=1;const Q=z.closest(yi.toLowerCase());if(null!=Q){const Ee=Array.from(Q.__childNodes||Q.childNodes).find(He=>He["s-cr"]),_e=Array.from(z.__childNodes||z.childNodes);for(const He of Ee?_e.reverse():_e)null!=He["s-sh"]&&(qi(Q,He,Ee??null),He["s-sh"]=void 0,ei=!0)}pt.$flags$&=-2},Fr=(z,Q)=>{pt.$flags$|=1;const Ee=Array.from(z.__childNodes||z.childNodes);if(z["s-sr"]&&i.experimentalSlotFixes){let _e=z;for(;_e=_e.nextSibling;)_e&&_e["s-sn"]===z["s-sn"]&&_e["s-sh"]===yi&&Ee.push(_e)}for(let _e=Ee.length-1;_e>=0;_e--){const He=Ee[_e];He["s-hn"]!==yi&&He["s-ol"]&&(qi(po(He).parentNode,He,po(He)),He["s-ol"].remove(),He["s-ol"]=void 0,He["s-sh"]=void 0,ei=!0),Q&&Fr(He,Q)}pt.$flags$&=-2},wr=(z,Q,Ee,_e,He,nt)=>{let an,Ut=i.slotRelocation&&z["s-cr"]&&z["s-cr"].parentNode||z;for(i.shadowDom&&Ut.shadowRoot&&Ut.tagName===yi&&(Ut=Ut.shadowRoot);He<=nt;++He)_e[He]&&(an=Lr(null,Ee,He),an&&(_e[He].$elm$=an,qi(Ut,an,i.slotRelocation?po(Q):Q)))},Qi=(z,Q,Ee)=>{for(let _e=Q;_e<=Ee;++_e){const He=z[_e];if(He){const nt=He.$elm$;Vi(He),nt&&(i.slotRelocation&&(er=!0,nt["s-ol"]?nt["s-ol"].remove():Fr(nt,!0)),nt.remove())}}},en=(z,Q,Ee=!1)=>z.$tag$===Q.$tag$&&(i.slotRelocation&&"slot"===z.$tag$?z.$name$===Q.$name$:i.vdomKey&&!Ee?z.$key$===Q.$key$:(Ee&&!z.$key$&&Q.$key$&&(z.$key$=Q.$key$),!0)),po=z=>z&&z["s-ol"]||z,ni=(z,Q,Ee=!1)=>{const _e=Q.$elm$=z.$elm$,He=z.$children$,nt=Q.$children$,Ut=Q.$tag$,an=Q.$text$;let on;i.vdomText&&null!==an?i.vdomText&&i.slotRelocation&&(on=_e["s-cr"])?on.parentNode.textContent=an:i.vdomText&&z.$text$!==an&&(_e.data=an):(i.svg&&(dr="svg"===Ut||"foreignObject"!==Ut&&dr),(i.vdomAttribute||i.reflect)&&(i.slot&&"slot"===Ut&&!ci?i.experimentalSlotFixes&&z.$name$!==Q.$name$&&(Q.$elm$["s-sn"]=Q.$name$||"",Vr(Q.$elm$.parentElement)):ln(z,Q,dr)),i.updatable&&null!==He&&null!==nt?((z,Q,Ee,_e,He=!1)=>{let Ue,Pn,nt=0,Ut=0,an=0,on=0,Mn=Q.length-1,Xt=Q[0],ve=Q[Mn],Fe=_e.length-1,Y=_e[0],Pe=_e[Fe];for(;nt<=Mn&&Ut<=Fe;)if(null==Xt)Xt=Q[++nt];else if(null==ve)ve=Q[--Mn];else if(null==Y)Y=_e[++Ut];else if(null==Pe)Pe=_e[--Fe];else if(en(Xt,Y,He))ni(Xt,Y,He),Xt=Q[++nt],Y=_e[++Ut];else if(en(ve,Pe,He))ni(ve,Pe,He),ve=Q[--Mn],Pe=_e[--Fe];else if(en(Xt,Pe,He))i.slotRelocation&&("slot"===Xt.$tag$||"slot"===Pe.$tag$)&&Fr(Xt.$elm$.parentNode,!1),ni(Xt,Pe,He),qi(z,Xt.$elm$,ve.$elm$.nextSibling),Xt=Q[++nt],Pe=_e[--Fe];else if(en(ve,Y,He))i.slotRelocation&&("slot"===Xt.$tag$||"slot"===Pe.$tag$)&&Fr(ve.$elm$.parentNode,!1),ni(ve,Y,He),qi(z,ve.$elm$,Xt.$elm$),ve=Q[--Mn],Y=_e[++Ut];else{if(an=-1,i.vdomKey)for(on=nt;on<=Mn;++on)if(Q[on]&&null!==Q[on].$key$&&Q[on].$key$===Y.$key$){an=on;break}i.vdomKey&&an>=0?(Pn=Q[an],Pn.$tag$!==Y.$tag$?Ue=Lr(Q&&Q[Ut],Ee,an):(ni(Pn,Y,He),Q[an]=void 0,Ue=Pn.$elm$),Y=_e[++Ut]):(Ue=Lr(Q&&Q[Ut],Ee,Ut),Y=_e[++Ut]),Ue&&(i.slotRelocation?qi(po(Xt.$elm$).parentNode,Ue,po(Xt.$elm$)):qi(Xt.$elm$.parentNode,Ue,Xt.$elm$))}nt>Mn?wr(z,null==_e[Fe+1]?null:_e[Fe+1].$elm$,Ee,_e,Ut,Fe):i.updatable&&Ut>Fe&&Qi(Q,nt,Mn)})(_e,He,Q,nt,Ee):null!==nt?(i.updatable&&i.vdomText&&null!==z.$text$&&(_e.textContent=""),wr(_e,null,Q,nt,0,nt.length-1)):!Ee&&i.updatable&&null!==He&&Qi(He,0,He.length-1),i.svg&&dr&&"svg"===Ut&&(dr=!1))},Ci=[],hr=z=>{let Q,Ee,_e;const He=z.__childNodes||z.childNodes;for(const nt of He){if(nt["s-sr"]&&(Q=nt["s-cr"])&&Q.parentNode){Ee=Q.parentNode.__childNodes||Q.parentNode.childNodes;const Ut=nt["s-sn"];for(_e=Ee.length-1;_e>=0;_e--)if(Q=Ee[_e],!(Q["s-cn"]||Q["s-nr"]||Q["s-hn"]===nt["s-hn"]||i.experimentalSlotFixes&&Q["s-sh"]&&Q["s-sh"]===nt["s-hn"]))if(mn(Q,Ut)){let an=Ci.find(on=>on.$nodeToRelocate$===Q);er=!0,Q["s-sn"]=Q["s-sn"]||Ut,an?(an.$nodeToRelocate$["s-sh"]=nt["s-hn"],an.$slotRefNode$=nt):(Q["s-sh"]=nt["s-hn"],Ci.push({$slotRefNode$:nt,$nodeToRelocate$:Q})),Q["s-sr"]&&Ci.map(on=>{mn(on.$nodeToRelocate$,Q["s-sn"])&&(an=Ci.find(Mn=>Mn.$nodeToRelocate$===Q),an&&!on.$slotRefNode$&&(on.$slotRefNode$=an.$slotRefNode$))})}else Ci.some(an=>an.$nodeToRelocate$===Q)||Ci.push({$nodeToRelocate$:Q})}1===nt.nodeType&&hr(nt)}},Vi=z=>{i.vdomRef&&(z.$attrs$&&z.$attrs$.ref&&z.$attrs$.ref(null),z.$children$&&z.$children$.map(Vi))},qi=(z,Q,Ee)=>(i.scoped&&"string"==typeof Q["s-sn"]&&Q["s-sr"]&&Q["s-cr"]&&ts(Q["s-cr"],Q,z,Q.parentElement),z?.insertBefore(Q,Ee));function ts(z,Q,Ee,_e){var He;let nt;if(z&&"string"==typeof Q["s-sn"]&&Q["s-sr"]&&z.parentNode&&z.parentNode["s-sc"]&&(nt=Q["s-si"]||z.parentNode["s-sc"])){const Ut=Q["s-sn"],an=Q["s-hn"];if(null==(He=Ee.classList)||He.add(nt+"-s"),_e&&_e.classList.contains(nt+"-s")){let on=(_e.__childNodes||_e.childNodes)[0],Mn=!1;for(;on;){if(on["s-sn"]!==Ut&&on["s-hn"]===an&&on["s-sr"]){Mn=!0;break}on=on.nextSibling}Mn||_e.classList.remove(nt+"-s")}}}var Wi=(z,Q,Ee=!1)=>{var _e,He,nt,Ut,an;const on=z.$hostElement$,Mn=z.$cmpMeta$,Xt=z.$vnode$||In(null,null),ve=wn(Q)?Q:Ft(null,null,Q);if(yi=on.tagName,i.isDev&&Array.isArray(Q)&&Q.some(wn))throw new Error(`The must be the single root component.\nLooks like the render() function of "${yi.toLowerCase()}" is returning an array that contains the .\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n {content}\n );\n}\n `);if(i.reflect&&Mn.$attrsToReflect$&&(ve.$attrs$=ve.$attrs$||{},Mn.$attrsToReflect$.map(([Fe,Y])=>ve.$attrs$[Y]=on[Fe])),Ee&&ve.$attrs$)for(const Fe of Object.keys(ve.$attrs$))on.hasAttribute(Fe)&&!["key","ref","style","class"].includes(Fe)&&(ve.$attrs$[Fe]=on[Fe]);if(ve.$tag$=null,ve.$flags$|=4,z.$vnode$=ve,ve.$elm$=Xt.$elm$=i.shadowDom&&on.shadowRoot||on,(i.scoped||i.shadowDom)&&(go=on["s-sc"]),ci=Vt&&!!(1&Mn.$flags$),i.slotRelocation&&(Vo=on["s-cr"],er=!1),ni(Xt,ve,Ee),i.slotRelocation){if(pt.$flags$|=1,ei){hr(ve.$elm$);for(const Fe of Ci){const Y=Fe.$nodeToRelocate$;if(!Y["s-ol"]){const Pe=i.isDebug||i.hydrateServerSide?Si(Y):jn.createTextNode("");Pe["s-nr"]=Y,qi(Y.parentNode,Y["s-ol"]=Pe,Y)}}for(const Fe of Ci){const Y=Fe.$nodeToRelocate$,Pe=Fe.$slotRefNode$;if(Pe){const Ue=Pe.parentNode;let Pn=Pe.nextSibling;if(!i.hydrateServerSide&&(!i.experimentalSlotFixes||Pn&&1===Pn.nodeType)){let ao=null==(_e=Y["s-ol"])?void 0:_e.previousSibling;for(;ao;){let ro=null!=(He=ao["s-nr"])?He:null;if(ro&&ro["s-sn"]===Y["s-sn"]&&Ue===ro.parentNode){for(ro=ro.nextSibling;ro===Y||ro?.["s-sr"];)ro=ro?.nextSibling;if(!ro||!ro["s-nr"]){Pn=ro;break}}ao=ao.previousSibling}}(!Pn&&Ue!==Y.parentNode||Y.nextSibling!==Pn)&&Y!==Pn&&(!i.experimentalSlotFixes&&!Y["s-hn"]&&Y["s-ol"]&&(Y["s-hn"]=Y["s-ol"].parentNode.nodeName),qi(Ue,Y,Pn),1===Y.nodeType&&"SLOT-FB"!==Y.tagName&&(Y.hidden=null!=(nt=Y["s-ih"])&&nt)),Y&&"function"==typeof Pe["s-rf"]&&Pe["s-rf"](Y)}else 1===Y.nodeType&&(Ee&&(Y["s-ih"]=null!=(Ut=Y.hidden)&&Ut),Y.hidden=!0)}}er&&Pr(ve.$elm$),pt.$flags$&=-2,Ci.length=0}if(i.experimentalScopedSlotChanges&&2&Mn.$flags$){const Fe=ve.$elm$.__childNodes||ve.$elm$.childNodes;for(const Y of Fe)Y["s-hn"]!==yi&&!Y["s-sh"]&&(Ee&&null==Y["s-ih"]&&(Y["s-ih"]=null!=(an=Y.hidden)&&an),Y.hidden=!0)}Vo=void 0},sr=z=>jn.createComment(` (host=${yi.toLowerCase()})`),Si=z=>jn.createComment("org-location for "+(z.localName?`<${z.localName}> (host=${z["s-hn"]})`:`[${z.textContent}]`)),Ir=z=>{const Q=z.cloneNode;z.cloneNode=function(Ee){const He=!!i.shadowDom&&this.shadowRoot&&Vt,nt=Q.call(this,!!He&&Ee);if(i.slot&&!He&&Ee){let an,on,Ut=0;const Mn=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],Xt=this.__childNodes||this.childNodes;for(;Ut!Xt[Ut][ve]),an&&(i.appendChildSlotFix&&nt.__appendChild?nt.__appendChild(an.cloneNode(!0)):nt.appendChild(an.cloneNode(!0))),on&&nt.appendChild(Xt[Ut].cloneNode(!0))}return nt}},fs=z=>{z.__appendChild=z.appendChild,z.appendChild=function(Q){const Ee=Q["s-sn"]=at(Q),_e=no(this.__childNodes||this.childNodes,this.tagName,Ee)[0];if(_e){ze(Q,_e);const He=Vn(_e,Ee),nt=He[He.length-1],Ut=qi(nt.parentNode,Q,nt.nextSibling);return Pr(this),Ut}return this.__appendChild(Q)}},Cs=z=>{z.__removeChild=z.removeChild,z.removeChild=function(Q){return Q&&typeof Q["s-sn"]<"u"&&no(this.__childNodes||this.childNodes,this.tagName,Q["s-sn"])&&Q.isConnected?(Q.remove(),void Pr(this)):this.__removeChild(Q)}},ps=z=>{z.__prepend=z.prepend,z.prepend=function(...Q){Q.forEach(Ee=>{"string"==typeof Ee&&(Ee=this.ownerDocument.createTextNode(Ee));const _e=Ee["s-sn"]=at(Ee),nt=no(this.__childNodes||this.childNodes,this.tagName,_e)[0];if(nt){ze(Ee,nt,!0);const an=Vn(nt,_e)[0];return qi(an.parentNode,Ee,an.nextSibling)}return 1===Ee.nodeType&&Ee.getAttribute("slot")&&(Ee.hidden=!0),z.__prepend(Ee)})}},vi=z=>{z.__append=z.append,z.append=function(...Q){Q.forEach(Ee=>{"string"==typeof Ee&&(Ee=this.ownerDocument.createTextNode(Ee)),this.appendChild(Ee)})}},As=z=>{const Q=z.insertAdjacentHTML;z.insertAdjacentHTML=function(Ee,_e){if("afterbegin"!==Ee&&"beforeend"!==Ee)return Q.call(this,Ee,_e);const He=this.ownerDocument.createElement("_");let nt;if(He.innerHTML=_e,"afterbegin"===Ee)for(;nt=He.firstChild;)this.prepend(nt);else if("beforeend"===Ee)for(;nt=He.firstChild;)this.append(nt)}},Ps=z=>{z.insertAdjacentText=function(Q,Ee){this.insertAdjacentHTML(Q,Ee)}},ys=z=>{const Q=z.insertAdjacentElement;z.insertAdjacentElement=function(Ee,_e){return"afterbegin"!==Ee&&"beforeend"!==Ee?Q.call(this,Ee,_e):"afterbegin"===Ee?(this.prepend(_e),_e):("beforeend"===Ee&&this.append(_e),_e)}},Es=z=>{Ht("textContent",z),Object.defineProperty(z,"textContent",{get:function(){let Q="";return(this.__childNodes?this.childNodes:Gi(this.childNodes)).forEach(_e=>Q+=_e.textContent||""),Q},set:function(Q){(this.__childNodes?this.childNodes:Gi(this.childNodes)).forEach(_e=>{_e["s-ol"]&&_e["s-ol"].remove(),_e.remove()}),this.insertAdjacentHTML("beforeend",Q)}})},gs=z=>{class Q extends Array{item(_e){return this[_e]}}Ht("children",z),Object.defineProperty(z,"children",{get(){return this.childNodes.filter(Ee=>1===Ee.nodeType)}}),Object.defineProperty(z,"childElementCount",{get(){return this.children.length}}),Ht("firstChild",z),Object.defineProperty(z,"firstChild",{get(){return this.childNodes[0]}}),Ht("lastChild",z),Object.defineProperty(z,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Ht("childNodes",z),Object.defineProperty(z,"childNodes",{get(){var Ee,_e;if(!pt.$flags$||null==(Ee=R(this))||!Ee.$flags$||!(1&pt.$flags$)&&2&(null==(_e=R(this))?void 0:_e.$flags$)){const He=new Q,nt=Gi(this.__childNodes);return He.push(...nt),He}return Q.from(this.__childNodes)}})},vs=z=>{!z||z.__nextSibling||!globalThis.Node||(ks(z),Wr(z),z.nodeType===Node.ELEMENT_NODE&&(Zr(z),ws(z)))},ks=z=>{!z||z.__nextSibling||(Ht("nextSibling",z),Object.defineProperty(z,"nextSibling",{get:function(){var Q;const Ee=null==(Q=this["s-ol"])?void 0:Q.parentNode.childNodes,_e=Ee?.indexOf(this);return Ee&&_e>-1?Ee[_e+1]:this.__nextSibling}}))},Zr=z=>{!z||z.__nextElementSibling||(Ht("nextElementSibling",z),Object.defineProperty(z,"nextElementSibling",{get:function(){var Q;const Ee=null==(Q=this["s-ol"])?void 0:Q.parentNode.children,_e=Ee?.indexOf(this);return Ee&&_e>-1?Ee[_e+1]:this.__nextElementSibling}}))},Wr=z=>{!z||z.__previousSibling||(Ht("previousSibling",z),Object.defineProperty(z,"previousSibling",{get:function(){var Q;const Ee=null==(Q=this["s-ol"])?void 0:Q.parentNode.childNodes,_e=Ee?.indexOf(this);return Ee&&_e>-1?Ee[_e-1]:this.__previousSibling}}))},ws=z=>{!z||z.__previousElementSibling||(Ht("previousElementSibling",z),Object.defineProperty(z,"previousElementSibling",{get:function(){var Q;const Ee=null==(Q=this["s-ol"])?void 0:Q.parentNode.children,_e=Ee?.indexOf(this);return Ee&&_e>-1?Ee[_e-1]:this.__previousElementSibling}}))},Or=["children","nextElementSibling","previousElementSibling"],Rt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent"];function Ht(z,Q){let Ee;Or.includes(z)?Ee=Object.getOwnPropertyDescriptor(Element.prototype,z):Rt.includes(z)&&(Ee=Object.getOwnPropertyDescriptor(Node.prototype,z)),Ee||(Ee=Object.getOwnPropertyDescriptor(Q,z)),Ee&&Object.defineProperty(Q,"__"+z,Ee)}var Dt=0,un=(z,Q="")=>{if(i.profile&&performance.mark){const Ee=`st:${z}:${Q}:${Dt++}`;return performance.mark(Ee),()=>performance.measure(`[Stencil] ${z}() <${Q}>`,Ee)}return()=>{}},hi=(z,Q,Ee,_e,He,nt,Ut,an=[])=>{let on,Mn,Xt,ve;const Fe=He["s-sc"];if(1===nt.nodeType){if(on=nt.getAttribute("c-id"),on&&(Mn=on.split("."),Mn[0]===Ut||"0"===Mn[0])){Xt=Ao({$flags$:0,$hostId$:Mn[0],$nodeId$:Mn[1],$depth$:Mn[2],$index$:Mn[3],$tag$:nt.tagName.toLowerCase(),$elm$:nt,$attrs$:{class:nt.className||""}}),Q.push(Xt),nt.removeAttribute("c-id"),z.$children$||(z.$children$=[]),i.scoped&&Fe&&(nt["s-si"]=Fe,Xt.$attrs$.class+=" "+Fe);const Pe=Xt.$elm$.getAttribute("s-sn");"string"==typeof Pe&&("slot-fb"===Xt.$tag$&&(eo(Pe,Mn[2],Xt,nt,z,Q,Ee,_e,an),i.scoped&&Fe&&nt.classList.add(Fe)),Xt.$elm$["s-sn"]=Pe,Xt.$elm$.removeAttribute("s-sn")),void 0!==Xt.$index$&&(z.$children$[Xt.$index$]=Xt),z=Xt,_e&&"0"===Xt.$depth$&&(_e[Xt.$index$]=Xt.$elm$)}if(nt.shadowRoot)for(ve=nt.shadowRoot.childNodes.length-1;ve>=0;ve--)hi(z,Q,Ee,_e,He,nt.shadowRoot.childNodes[ve],Ut,an);const Y=nt.__childNodes||nt.childNodes;for(ve=Y.length-1;ve>=0;ve--)hi(z,Q,Ee,_e,He,Y[ve],Ut,an)}else if(8===nt.nodeType)Mn=nt.nodeValue.split("."),(Mn[1]===Ut||"0"===Mn[1])&&(on=Mn[0],Xt=Ao({$hostId$:Mn[1],$nodeId$:Mn[2],$depth$:Mn[3],$index$:Mn[4]||"0",$elm$:nt,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),"t"===on?(Xt.$elm$=nt.nextSibling,Xt.$elm$&&3===Xt.$elm$.nodeType&&(Xt.$text$=Xt.$elm$.textContent,Q.push(Xt),nt.remove(),Ut===Xt.$hostId$&&(z.$children$||(z.$children$=[]),z.$children$[Xt.$index$]=Xt),_e&&"0"===Xt.$depth$&&(_e[Xt.$index$]=Xt.$elm$))):"c"===on?(Xt.$elm$=nt.nextSibling,Xt.$elm$&&8===Xt.$elm$.nodeType&&(Q.push(Xt),nt.remove())):Xt.$hostId$===Ut&&("s"===on?eo(nt["s-sn"]=Mn[5]||"",Mn[2],Xt,nt,z,Q,Ee,_e,an):"r"===on&&(i.shadowDom&&_e?nt.remove():i.slotRelocation&&(He["s-cr"]=nt,nt["s-cn"]=!0))));else if(z&&"style"===z.$tag$){const Y=In(null,nt.textContent);Y.$elm$=nt,Y.$index$="0",z.$children$=[Y]}return z},si=(z,Q)=>{if(1===z.nodeType){const Ee=z[On]||z.getAttribute(On);Ee&&Q.set(Ee,z);let _e=0;if(z.shadowRoot)for(;_e({$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:"0",$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null,...z});function eo(z,Q,Ee,_e,He,nt,Ut,an,on){_e["s-sr"]=!0,Ee.$name$=z||null,Ee.$tag$="slot";const Mn=He?.$elm$?He.$elm$["s-id"]||He.$elm$.getAttribute("s-id"):"";if(i.shadowDom&&an){const Xt=Ee.$elm$=jn.createElement(Ee.$tag$);Ee.$name$&&Ee.$elm$.setAttribute("name",z),Mn&&Mn!==Ee.$hostId$?He.$elm$.insertBefore(Xt,He.$elm$.children[0]):_e.parentNode.insertBefore(Ee.$elm$,_e),fi(on,Q,z,_e,Ee.$hostId$),_e.remove(),"0"===Ee.$depth$&&(an[Ee.$index$]=Ee.$elm$)}else{const Xt=Ee.$elm$,ve=Mn&&Mn!==Ee.$hostId$&&He.$elm$.shadowRoot;fi(on,Q,z,_e,ve?Mn:Ee.$hostId$),ve&&He.$elm$.insertBefore(Xt,He.$elm$.children[0]),nt.push(Ee)}Ut.push(Ee),He.$children$||(He.$children$=[]),He.$children$[Ee.$index$]=Ee}var fi=(z,Q,Ee,_e,He)=>{let nt=_e.nextSibling;for(z[Q]=z[Q]||[];nt&&((nt.getAttribute&&nt.getAttribute("slot")||nt["s-sn"])===Ee||""===Ee&&!nt["s-sn"]&&(8===nt.nodeType&&1!==nt.nodeValue.indexOf(".")||3===nt.nodeType));)nt["s-sn"]=Ee,z[Q].push({slot:_e,node:nt,hostId:He}),nt=nt.nextSibling},Ti=z=>et.push(z),$i=z=>R(z).$modeName$,P=(z,Q)=>null==z||gi(z)?z:i.propBoolean&&4&Q?"false"!==z&&(""===z||!!z):i.propNumber&&2&Q?parseFloat(z):i.propString&&1&Q?String(z):z,ie=(z,Q,Ee)=>{const _e=(z=>i.lazyLoad?R(z).$hostElement$:z)(z);return{emit:He=>(i.isDev&&!_e.isConnected&&je(`The "${Q}" event was emitted, but the dispatcher node is no longer connected to the dom.`),B(_e,Q,{bubbles:!!(4&Ee),composed:!!(2&Ee),cancelable:!!(1&Ee),detail:He}))}},B=(z,Q,Ee)=>{const _e=pt.ce(Q,Ee);return z.dispatchEvent(_e),_e},ne=new WeakMap,Ce=(z,Q,Ee)=>{var _e;const He=st(Q,Ee),nt=Bt.get(He);if(!i.attachStyles)return He;if(z=11===z.nodeType?z:jn,nt)if("string"==typeof nt){let an,Ut=ne.get(z=z.head||z);if(Ut||ne.set(z,Ut=new Set),!Ut.has(He)){if(i.hydrateClientSide&&z.host&&(an=z.querySelector(`[${Pt}="${He}"]`)))an.innerHTML=nt;else{an=document.querySelector(`[${Pt}="${He}"]`)||jn.createElement("style"),an.innerHTML=nt;const on=null!=(_e=pt.$nonce$)?_e:function Go(z){var Q,Ee,_e;return null!=(_e=null==(Ee=null==(Q=z.head)?void 0:Q.querySelector('meta[name="csp-nonce"]'))?void 0:Ee.getAttribute("content"))?_e:void 0}(jn);if(null!=on&&an.setAttribute("nonce",on),(i.hydrateServerSide||i.hotModuleReplacement)&&2&Q.$flags$&&an.setAttribute(Pt,He),!(1&Q.$flags$))if("HEAD"===z.nodeName){const Mn=z.querySelectorAll("link[rel=preconnect]"),Xt=Mn.length>0?Mn[Mn.length-1].nextSibling:z.querySelector("style");z.insertBefore(an,Xt)}else if("host"in z)if(pn){const Mn=new CSSStyleSheet;Mn.replaceSync(nt),z.adoptedStyleSheets=[Mn,...z.adoptedStyleSheets]}else{const Mn=z.querySelector("style");Mn?Mn.innerHTML=nt+Mn.innerHTML:z.prepend(an)}else z.append(an);1&Q.$flags$&&"HEAD"!==z.nodeName&&z.insertBefore(an,null)}4&Q.$flags$&&(an.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),Ut&&Ut.add(He)}}else i.constructableCSS&&!z.adoptedStyleSheets.includes(nt)&&(z.adoptedStyleSheets=[...z.adoptedStyleSheets,nt]);return He},st=(z,Q)=>"sc-"+(i.mode&&Q&&32&z.$flags$?z.$tagName$+"-"+Q:z.$tagName$),rt=(z,Q)=>{i.asyncLoading&&Q&&!z.$onRenderResolve$&&Q["s-p"]&&Q["s-p"].push(new Promise(Ee=>z.$onRenderResolve$=Ee))},Kt=(z,Q)=>{if(i.taskQueue&&i.updatable&&(z.$flags$|=16),i.asyncLoading&&4&z.$flags$)return void(z.$flags$|=512);rt(z,z.$ancestorComponent$);const Ee=()=>Et(z,Q);return i.taskQueue?Tn(Ee):Ee()},Et=(z,Q)=>{const Ee=z.$hostElement$,_e=un("scheduleUpdate",z.$cmpMeta$.$tagName$),He=i.lazyLoad?z.$lazyInstance$:Ee;if(!He)throw new Error(`Can't render component <${Ee.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let nt;return Q?(i.lazyLoad&&i.hostListener&&(z.$flags$|=256,z.$queuedListeners$&&(z.$queuedListeners$.map(([Ut,an])=>Ko(He,Ut,an)),z.$queuedListeners$=void 0)),ai(Ee,"componentWillLoad"),i.cmpWillLoad&&(nt=Ko(He,"componentWillLoad"))):(ai(Ee,"componentWillUpdate"),i.cmpWillUpdate&&(nt=Ko(He,"componentWillUpdate"))),ai(Ee,"componentWillRender"),i.cmpWillRender&&(nt=Yt(nt,()=>Ko(He,"componentWillRender"))),_e(),Yt(nt,()=>nn(z,He,Q))},Yt=(z,Q)=>$n(z)?z.then(Q).catch(Ee=>{console.error(Ee),Q()}):Q(),$n=z=>z instanceof Promise||z&&z.then&&"function"==typeof z.then,nn=function(){var z=(0,n.A)(function*(Q,Ee,_e){var He;const nt=Q.$hostElement$,Ut=un("update",Q.$cmpMeta$.$tagName$),an=nt["s-rc"];i.style&&_e&&(z=>{const Q=z.$cmpMeta$,Ee=z.$hostElement$,_e=Q.$flags$,He=un("attachStyles",Q.$tagName$),nt=Ce(i.shadowDom&&Vt&&Ee.shadowRoot?Ee.shadowRoot:Ee.getRootNode(),Q,z.$modeName$);(i.shadowDom||i.scoped)&&i.cssAnnotations&&10&_e&&2&_e&&(Ee["s-sc"]=nt,Ee.classList.add(nt+"-h")),He()})(Q);const on=un("render",Q.$cmpMeta$.$tagName$);if(i.isDev&&(Q.$flags$|=1024),i.hydrateServerSide?yield yo(Q,Ee,nt,_e):yo(Q,Ee,nt,_e),i.isDev&&(Q.$renderCount$=void 0===Q.$renderCount$?1:Q.$renderCount$+1,Q.$flags$&=-1025),i.hydrateServerSide)try{Qo(nt),_e&&(1&Q.$cmpMeta$.$flags$?nt["s-en"]="":2&Q.$cmpMeta$.$flags$&&(nt["s-en"]="c"))}catch(Mn){be(Mn,nt)}if(i.asyncLoading&&an&&(an.map(Mn=>Mn()),nt["s-rc"]=void 0),on(),Ut(),i.asyncLoading){const Mn=null!=(He=nt["s-p"])?He:[],Xt=()=>Ho(Q);0===Mn.length?Xt():(Promise.all(Mn).then(Xt),Q.$flags$|=4,Mn.length=0)}else Ho(Q)});return function(Ee,_e,He){return z.apply(this,arguments)}}(),yo=(z,Q,Ee,_e)=>{const He=!!i.allRenderFn,nt=!!i.lazyLoad,Ut=!!i.taskQueue,an=!!i.updatable;try{if(Q=(He||Q.render)&&Q.render(),an&&Ut&&(z.$flags$&=-17),(an||nt)&&(z.$flags$|=2),i.hasRenderFn||i.reflect)if(i.vdomRender||i.reflect){if(i.hydrateServerSide)return Promise.resolve(Q).then(on=>Wi(z,on,_e));Wi(z,Q,_e)}else 1&z.$cmpMeta$.$flags$?Ee.shadowRoot.textContent=Q:Ee.textContent=Q}catch(on){be(on,z.$hostElement$)}return null},Ho=z=>{const Q=z.$cmpMeta$.$tagName$,Ee=z.$hostElement$,_e=un("postUpdate",Q),He=i.lazyLoad?z.$lazyInstance$:Ee,nt=z.$ancestorComponent$;i.cmpDidRender&&(i.isDev&&(z.$flags$|=1024),Ko(He,"componentDidRender"),i.isDev&&(z.$flags$&=-1025)),ai(Ee,"componentDidRender"),64&z.$flags$?(i.cmpDidUpdate&&(i.isDev&&(z.$flags$|=1024),Ko(He,"componentDidUpdate"),i.isDev&&(z.$flags$&=-1025)),ai(Ee,"componentDidUpdate"),_e()):(z.$flags$|=64,i.asyncLoading&&i.cssAnnotations&&di(Ee),i.cmpDidLoad&&(i.isDev&&(z.$flags$|=2048),Ko(He,"componentDidLoad"),i.isDev&&(z.$flags$&=-2049)),ai(Ee,"componentDidLoad"),_e(),i.asyncLoading&&(z.$onReadyResolve$(Ee),nt||ui(Q))),i.method&&i.lazyLoad&&z.$onInstanceResolve$(Ee),i.asyncLoading&&(z.$onRenderResolve$&&(z.$onRenderResolve$(),z.$onRenderResolve$=void 0),512&z.$flags$&&vn(()=>Kt(z,!1)),z.$flags$&=-517)},Oi=z=>{if(i.updatable&&(_.isBrowser||_.isTesting)){const Q=R(z),Ee=Q.$hostElement$.isConnected;return Ee&&2==(18&Q.$flags$)&&Kt(Q,!1),Ee}return!1},ui=z=>{i.cssAnnotations&&di(jn.documentElement),i.asyncQueue&&(pt.$flags$|=2),vn(()=>B(En,"appload",{detail:{namespace:g}})),i.profile&&performance.measure&&performance.measure(`[Stencil] ${g} initial load (by ${z})`,"st:app:start")},Ko=(z,Q,Ee)=>{if(z&&z[Q])try{return z[Q](Ee)}catch(_e){be(_e)}},ai=(z,Q)=>{i.lifecycleDOMEvents&&B(z,"stencil_"+Q,{bubbles:!0,composed:!0,detail:{namespace:g}})},di=z=>{var Q,Ee;return i.hydratedClass?z.classList.add(null!=(Q=i.hydratedSelectorName)?Q:"hydrated"):i.hydratedAttribute?z.setAttribute(null!=(Ee=i.hydratedSelectorName)?Ee:"hydrated",""):void 0},Qo=z=>{const Q=z.children;if(null!=Q)for(let Ee=0,_e=Q.length;Ee<_e;Ee++){const He=Q[Ee];"function"==typeof He.connectedCallback&&He.connectedCallback(),Qo(He)}},li=(z,Q,Ee,_e)=>{const He=R(z);if(i.lazyLoad&&!He)throw new Error(`Couldn't find host element for "${_e.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const nt=i.lazyLoad?He.$hostElement$:z,Ut=He.$instanceValues$.get(Q),an=He.$flags$,on=i.lazyLoad?He.$lazyInstance$:nt;Ee=P(Ee,_e.$members$[Q][0]);const Mn=Number.isNaN(Ut)&&Number.isNaN(Ee);if((!i.lazyLoad||!(8&an)||void 0===Ut)&&Ee!==Ut&&!Mn&&(He.$instanceValues$.set(Q,Ee),i.isDev&&(1024&He.$flags$?je(`The state/prop "${Q}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",nt,"\nNew value",Ee,"\nOld value",Ut):2048&He.$flags$&&je(`The state/prop "${Q}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",nt,"\nNew value",Ee,"\nOld value",Ut)),!i.lazyLoad||on)){if(i.watchCallback&&_e.$watchers$&&128&an){const ve=_e.$watchers$[Q];ve&&ve.map(Fe=>{try{on[Fe](Ee,Ut,Q)}catch(Y){be(Y,nt)}})}if(i.updatable&&2==(18&an)){if(i.cmpShouldUpdate&&on.componentShouldUpdate&&!1===on.componentShouldUpdate(Ee,Ut,Q))return;Kt(He,!1)}}},Mi=(z,Q,Ee)=>{var _e,He;const nt=z.prototype;if(i.formAssociated&&64&Q.$flags$&&1&Ee&&fn.forEach(Ut=>{const an=nt[Ut];Object.defineProperty(nt,Ut,{value(...on){const Mn=R(this),Xt=i.lazyLoad?Mn.$lazyInstance$:this;if(Xt){const ve=i.lazyLoad?Xt[Ut]:an;"function"==typeof ve&&ve.call(Xt,...on)}else Mn.$onReadyPromise$.then(ve=>{const Fe=ve[Ut];"function"==typeof Fe&&Fe.call(ve,...on)})}})}),i.member&&Q.$members$||i.watchCallback&&(Q.$watchers$||z.watchers)){i.watchCallback&&z.watchers&&!Q.$watchers$&&(Q.$watchers$=z.watchers);const Ut=Object.entries(null!=(_e=Q.$members$)?_e:{});if(Ut.map(([an,[on]])=>{if((i.prop||i.state)&&(31&on||(!i.lazyLoad||2&Ee)&&32&on))if(2048&on){if(1&Ee&&2048&on&&(i.lazyLoad&&Object.defineProperty(nt,an,{get(){const Mn=R(this),Xt=i.lazyLoad&&Mn?Mn.$lazyInstance$:nt;if(Xt)return Xt[an]},configurable:!0,enumerable:!0}),4096&on)){const Mn=Object.getOwnPropertyDescriptor(nt,an).set;Object.defineProperty(nt,an,{set(Xt){const ve=R(this);if(Mn){const Y=ve.$hostElement$[an];return!ve.$instanceValues$.get(an)&&Y&&ve.$instanceValues$.set(an,Y),Mn.apply(this,[P(Xt,Q.$members$[an][0])]),void li(this,an,ve.$hostElement$[an],Q)}if(!ve)return;const Fe=()=>{const Y=ve.$lazyInstance$[an];!ve.$instanceValues$.get(an)&&Y&&ve.$instanceValues$.set(an,Y),ve.$lazyInstance$[an]=P(Xt,Q.$members$[an][0]),li(this,an,ve.$lazyInstance$[an],Q)};ve.$lazyInstance$?Fe():ve.$onReadyPromise$.then(()=>Fe())}})}}else Object.defineProperty(nt,an,{get(){return((z,Q)=>R(this).$instanceValues$.get(Q))(0,an)},set(Mn){if(i.isDev){const Xt=R(this);!(1&Ee)&&0===(Xt&&8&Xt.$flags$)&&31&on&&!(1024&on)&&je(`@Prop() "${an}" on <${Q.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}li(this,an,Mn,Q)},configurable:!0,enumerable:!0});else i.lazyLoad&&i.method&&1&Ee&&64&on&&Object.defineProperty(nt,an,{value(...Mn){var Xt;const ve=R(this);return null==(Xt=ve?.$onInstancePromise$)?void 0:Xt.then(()=>{var Fe;return null==(Fe=ve.$lazyInstance$)?void 0:Fe[an](...Mn)})}})}),i.observeAttribute&&(!i.lazyLoad||1&Ee)){const an=new Map;nt.attributeChangedCallback=function(on,Mn,Xt){pt.jmp(()=>{var ve;const Fe=an.get(on);if(this.hasOwnProperty(Fe)&&i.lazyLoad)Xt=this[Fe],delete this[Fe];else{if(nt.hasOwnProperty(Fe)&&"number"==typeof this[Fe]&&this[Fe]==Xt)return;if(null==Fe){const Pe=R(this),Ue=Pe?.$flags$;if(Ue&&!(8&Ue)&&128&Ue&&Xt!==Mn){const ao=i.lazyLoad?Pe.$lazyInstance$:i.lazyLoad?Pe.$hostElement$:this,ro=null==(ve=Q.$watchers$)?void 0:ve[on];ro?.forEach(Bo=>{null!=ao[Bo]&&ao[Bo].call(ao,Xt,Mn,on)})}return}}const Y=Object.getOwnPropertyDescriptor(nt,Fe);(!Y.get||Y.set)&&(this[Fe]=(null!==Xt||"boolean"!=typeof this[Fe])&&Xt)})},z.observedAttributes=Array.from(new Set([...Object.keys(null!=(He=Q.$watchers$)?He:{}),...Ut.filter(([on,Mn])=>15&Mn[0]).map(([on,Mn])=>{var Xt;const ve=Mn[1]||on;return an.set(ve,on),i.reflect&&512&Mn[0]&&(null==(Xt=Q.$attrsToReflect$)||Xt.push([on,ve])),ve})]))}}return z},Cr=function(){var z=(0,n.A)(function*(Q,Ee,_e,He){let nt;if(!(32&Ee.$flags$)){if(Ee.$flags$|=32,(i.lazyLoad||i.hydrateClientSide)&&_e.$lazyBundleId$){const Mn=((z,Q,Ee)=>{const _e=z.$tagName$.replace(/-/g,"_"),He=z.$lazyBundleId$;if(i.isDev&&"string"!=typeof He)return void ye(`Trying to lazily load component <${z.$tagName$}> with style mode "${Q.$modeName$}", but it does not exist.`);if(!He)return;const nt=!i.hotModuleReplacement&&Je.get(He);return nt?nt[_e]:l(54140)(`./${He}.entry.js${i.hotModuleReplacement&&Ee?"?s-hmr="+Ee:""}`).then(Ut=>(i.hotModuleReplacement||Je.set(He,Ut),Ut[_e]),be)})(_e,Ee,He);if(Mn&&"then"in Mn){const ve=((z,Q)=>i.profile&&performance.mark?(0===performance.getEntriesByName(z,"mark").length&&performance.mark(z),()=>{0===performance.getEntriesByName(Q,"measure").length&&performance.measure(Q,z)}):()=>{})(`st:load:${_e.$tagName$}:${Ee.$modeName$}`,`[Stencil] Load module for <${_e.$tagName$}>`);nt=yield Mn,ve()}else nt=Mn;if(!nt)throw new Error(`Constructor for "${_e.$tagName$}#${Ee.$modeName$}" was not found`);i.member&&!nt.isProxied&&(i.watchCallback&&(_e.$watchers$=nt.watchers),Mi(nt,_e,2),nt.isProxied=!0);const Xt=un("createInstance",_e.$tagName$);i.member&&(Ee.$flags$|=8);try{new nt(Ee)}catch(ve){be(ve)}i.member&&(Ee.$flags$&=-9),i.watchCallback&&(Ee.$flags$|=128),Xt(),Jr(Ee.$lazyInstance$)}else nt=Q.constructor,customElements.whenDefined(Q.localName).then(()=>Ee.$flags$|=128);if(i.style&&nt&&nt.style){let Mn;"string"==typeof nt.style?Mn=nt.style:i.mode&&"string"!=typeof nt.style&&(Ee.$modeName$=(z=>et.map(Q=>Q(z)).find(Q=>!!Q))(Q),Ee.$modeName$&&(Mn=nt.style[Ee.$modeName$]),i.hydrateServerSide&&Ee.$modeName$&&Q.setAttribute("s-mode",Ee.$modeName$));const Xt=st(_e,Ee.$modeName$);if(!Bt.has(Xt)){const ve=un("registerStyles",_e.$tagName$);!i.hydrateServerSide&&i.shadowDom&&i.shadowDomShim&&8&_e.$flags$&&(Mn=yield l.e(3687).then(l.bind(l,13687)).then(Fe=>Fe.scopeCss(Mn,Xt))),((z,Q,Ee)=>{let _e=Bt.get(z);pn&&Ee?(_e=_e||new CSSStyleSheet,"string"==typeof _e?_e=Q:_e.replaceSync(Q)):_e=Q,Bt.set(z,_e)})(Xt,Mn,!!(1&_e.$flags$)),ve()}}}const Ut=Ee.$ancestorComponent$,an=()=>Kt(Ee,!0);i.asyncLoading&&Ut&&Ut["s-rc"]?Ut["s-rc"].push(an):an()});return function(Ee,_e,He,nt){return z.apply(this,arguments)}}(),Jr=z=>{i.lazyLoad&&i.connectedCallback&&Ko(z,"connectedCallback")},Nr=z=>{const Q=z["s-cr"]=jn.createComment(i.isDebug?`content-ref (host=${z.localName})`:"");Q["s-cn"]=!0,qi(z,Q,z.firstChild)},zr=z=>{i.lazyLoad&&i.disconnectedCallback&&Ko(z,"disconnectedCallback"),i.cmpDidUnload&&Ko(z,"componentDidUnload")},Li=function(){var z=(0,n.A)(function*(Q){if(!(1&pt.$flags$)){const Ee=R(Q);i.hostListener&&Ee.$rmListeners$&&(Ee.$rmListeners$.map(_e=>_e()),Ee.$rmListeners$=void 0),i.lazyLoad?Ee?.$lazyInstance$?zr(Ee.$lazyInstance$):Ee?.$onReadyPromise$&&Ee.$onReadyPromise$.then(()=>zr(Ee.$lazyInstance$)):zr(Q)}});return function(Ee){return z.apply(this,arguments)}}(),pi=(z,Q)=>{const Ee={$flags$:Q[0],$tagName$:Q[1]};i.member&&(Ee.$members$=Q[2]),i.hostListener&&(Ee.$listeners$=Q[3]),i.watchCallback&&(Ee.$watchers$=z.$watchers$),i.reflect&&(Ee.$attrsToReflect$=[]),i.shadowDom&&!Vt&&1&Ee.$flags$&&(Ee.$flags$|=8),i.experimentalSlotFixes?i.scoped&&2&Ee.$flags$&&(z=>{Ir(z),fs(z),vi(z),ps(z),ys(z),As(z),Ps(z),Es(z),gs(z),Cs(z)})(z.prototype):(i.slotChildNodesFix&&gs(z.prototype),i.cloneNodeFix&&Ir(z.prototype),i.appendChildSlotFix&&fs(z.prototype),i.scopedSlotTextContentFix&&2&Ee.$flags$&&Es(z.prototype));const _e=z.prototype.connectedCallback,He=z.prototype.disconnectedCallback;return Object.assign(z.prototype,{__hasHostListenerAttached:!1,__registerHost(){((z,Q)=>{const Ee={$flags$:0,$hostElement$:z,$cmpMeta$:Q,$instanceValues$:new Map};i.isDev&&(Ee.$renderCount$=0),i.method&&i.lazyLoad&&(Ee.$onInstancePromise$=new Promise(He=>Ee.$onInstanceResolve$=He)),i.asyncLoading&&(Ee.$onReadyPromise$=new Promise(He=>Ee.$onReadyResolve$=He),z["s-p"]=[],z["s-rc"]=[]);const _e=I.set(z,Ee);!i.lazyLoad&&i.modernPropertyDecls&&(i.state||i.prop)&&he(z,Ee)})(this,Ee)},connectedCallback(){if(!this.__hasHostListenerAttached){const nt=R(this);Be(this,nt,Ee.$listeners$,!1),this.__hasHostListenerAttached=!0}(z=>{if(!(1&pt.$flags$)){const Q=R(z),Ee=Q.$cmpMeta$,_e=un("connectedCallback",Ee.$tagName$);if(i.hostListenerTargetParent&&Be(z,Q,Ee.$listeners$,!0),1&Q.$flags$)Be(z,Q,Ee.$listeners$,!1),Q?.$lazyInstance$?Jr(Q.$lazyInstance$):Q?.$onReadyPromise$&&Q.$onReadyPromise$.then(()=>Jr(Q.$lazyInstance$));else{let He;if(Q.$flags$|=1,i.hydrateClientSide&&(He=z.getAttribute(On),He)){if(i.shadowDom&&Vt&&1&Ee.$flags$){const nt=i.mode?Ce(z.shadowRoot,Ee,z.getAttribute("s-mode")):Ce(z.shadowRoot,Ee);z.classList.remove(nt+"-h",nt+"-s")}else if(i.scoped&&2&Ee.$flags$){const nt=st(Ee,i.mode?z.getAttribute("s-mode"):void 0);z["s-sc"]=nt}((z,Q,Ee,_e)=>{const He=un("hydrateClient",Q),nt=z.shadowRoot,Ut=[],an=[],on=[],Mn=i.shadowDom&&nt?[]:null,Xt=In(Q,null);let ve;if(Xt.$elm$=z,i.scoped){const Pi=_e.$cmpMeta$;Pi&&10&Pi.$flags$&&z["s-sc"]?(ve=z["s-sc"],z.classList.add(ve+"-h")):z["s-sc"]&&delete z["s-sc"]}pt.$orgLocNodes$||si(jn.body,pt.$orgLocNodes$=new Map),z[On]=Ee,z.removeAttribute(On),_e.$vnode$=hi(Xt,Ut,an,Mn,z,z,Ee,on);let Fe=0;const Y=Ut.length;let Pe;for(;Fe{Pe.$elm$.appendChild(gr.$elm$)})):Pe.$flags$|=1),Dr&&Dr.isConnected&&(nt&&""===Dr["s-en"]&&Dr.parentNode.insertBefore(ji,Dr.nextSibling),Dr.parentNode.removeChild(Dr),nt||(ji["s-oo"]=parseInt(Pe.$nodeId$))),pt.$orgLocNodes$.delete(Pi)}const Ue=[],Pn=on.length;let ro,Bo,Mo,Di,ao=0;for(;ao{Pi.$elm$.parentElement.classList.add(ve+"-s")}),i.shadowDom&&nt){let Pi=0;const Dr=Mn.length;for(;Pi{8===ji.nodeType&&"string"!=typeof ji["s-sn"]&&ji.parentNode.removeChild(ji)})}_e.$hostElement$=z,He()})(z,Ee.$tagName$,He,Q)}if(i.slotRelocation&&!He&&(i.hydrateServerSide||(i.slot||i.shadowDom)&&12&Ee.$flags$)&&Nr(z),i.asyncLoading){let nt=z;for(;nt=nt.parentNode||nt.host;)if(i.hydrateClientSide&&1===nt.nodeType&&nt.hasAttribute("s-id")&&nt["s-p"]||nt["s-p"]){rt(Q,Q.$ancestorComponent$=nt);break}}i.prop&&!i.hydrateServerSide&&Ee.$members$&&Object.entries(Ee.$members$).map(([nt,[Ut]])=>{if(31&Ut&&z.hasOwnProperty(nt)){const an=z[nt];delete z[nt],z[nt]=an}}),i.initializeNextTick?vn(()=>Cr(z,Q,Ee)):Cr(z,Q,Ee)}_e()}})(this),i.connectedCallback&&_e&&_e.call(this)},disconnectedCallback(){Li(this),i.disconnectedCallback&&He&&He.call(this)},__attachShadow(){if(Vt)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${Ee.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow(i.shadowDelegatesFocus?{mode:"open",delegatesFocus:!!(16&Ee.$flags$)}:{mode:"open"});else this.shadowRoot=this}}),z.is=Ee.$tagName$,Mi(z,Ee,3)},Be=(z,Q,Ee,_e)=>{i.hostListener&&Ee&&(i.hostListenerTargetParent&&(Ee=Ee.filter(_e?([He])=>32&He:([He])=>!(32&He))),Ee.map(([He,nt,Ut])=>{const an=i.hostListenerTarget?mt(z,He):z,on=Re(Q,Ut),Mn=qe(He);pt.ael(an,nt,on,Mn),(Q.$rmListeners$=Q.$rmListeners$||[]).push(()=>pt.rel(an,nt,on,Mn))}))},Re=(z,Q)=>Ee=>{var _e;try{i.lazyLoad?256&z.$flags$?null==(_e=z.$lazyInstance$)||_e[Q](Ee):(z.$queuedListeners$=z.$queuedListeners$||[]).push([Q,Ee]):z.$hostElement$[Q](Ee)}catch(He){be(He)}},mt=(z,Q)=>i.hostListenerTargetDocument&&4&Q?jn:i.hostListenerTargetWindow&&8&Q?En:i.hostListenerTargetBody&&16&Q?jn.body:i.hostListenerTargetParent&&32&Q&&z.parentElement?z.parentElement:z,qe=z=>cn?{passive:!!(1&z),capture:!!(2&z)}:!!(2&z)},33510:(ft,Z,l)=>{"use strict";l.d(Z,{A6:()=>Vt,Bs:()=>Jr,E8:()=>He,FN:()=>Ye,Hg:()=>Cn,NT:()=>n.d,No:()=>mt,PP:()=>Ur,Qw:()=>M,UA:()=>Qa,ZT:()=>Un,dN:()=>Rs,ij:()=>ot,kc:()=>Ar,m_:()=>Eo,s$:()=>Ds,t1:()=>Ho});var n=l(66935),f=new class i{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(b,h,k,E){const $=h.duration;h.listeners[E].forEach(q=>q({chart:b,initial:h.initial,numSteps:$,currentStep:Math.min(k-h.start,$)}))}_refresh(){this._request||(this._running=!0,this._request=n.r.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(b=Date.now()){let h=0;this._charts.forEach((k,E)=>{if(!k.running||!k.items.length)return;const S=k.items;let fe,$=S.length-1,q=!1;for(;$>=0;--$)fe=S[$],fe._active?(fe._total>k.duration&&(k.duration=fe._total),fe.tick(b),q=!0):(S[$]=S[S.length-1],S.pop());q&&(E.draw(),this._notify(E,k,b,"progress")),S.length||(k.running=!1,this._notify(E,k,b,"complete"),k.initial=!1),h+=S.length}),this._lastDate=b,0===h&&(this._running=!1)}_getAnims(b){const h=this._charts;let k=h.get(b);return k||(k={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},h.set(b,k)),k}listen(b,h,k){this._getAnims(b).listeners[h].push(k)}add(b,h){!h||!h.length||this._getAnims(b).items.push(...h)}has(b){return this._getAnims(b).items.length>0}start(b){const h=this._charts.get(b);h&&(h.running=!0,h.start=Date.now(),h.duration=h.items.reduce((k,E)=>Math.max(k,E._duration),0),this._refresh())}running(b){if(!this._running)return!1;const h=this._charts.get(b);return!(!h||!h.running||!h.items.length)}stop(b){const h=this._charts.get(b);if(!h||!h.items.length)return;const k=h.items;let E=k.length-1;for(;E>=0;--E)k[E].cancel();h.items=[],this._notify(b,h,Date.now(),"complete")}remove(b){return this._charts.delete(b)}};const g="transparent",s={boolean:(O,b,h)=>h>.5?b:O,color(O,b,h){const k=(0,n.c)(O||g),E=k.valid&&(0,n.c)(b||g);return E&&E.valid?E.mix(k,h).hexString():b},number:(O,b,h)=>O+(b-O)*h};class x{constructor(b,h,k,E){const S=h[k];E=(0,n.a)([b.to,E,S,b.from]);const $=(0,n.a)([b.from,S,E]);this._active=!0,this._fn=b.fn||s[b.type||typeof $],this._easing=n.e[b.easing]||n.e.linear,this._start=Math.floor(Date.now()+(b.delay||0)),this._duration=this._total=Math.floor(b.duration),this._loop=!!b.loop,this._target=h,this._prop=k,this._from=$,this._to=E,this._promises=void 0}active(){return this._active}update(b,h,k){if(this._active){this._notify(!1);const E=this._target[this._prop],S=k-this._start,$=this._duration-S;this._start=k,this._duration=Math.floor(Math.max($,b.duration)),this._total+=S,this._loop=!!b.loop,this._to=(0,n.a)([b.to,h,E,b.from]),this._from=(0,n.a)([b.from,E,h])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(b){const h=b-this._start,k=this._duration,E=this._prop,S=this._from,$=this._loop,q=this._to;let fe;if(this._active=S!==q&&($||h1?2-fe:fe,fe=this._easing(Math.min(1,Math.max(0,fe))),this._target[E]=this._fn(S,q,fe))}wait(){const b=this._promises||(this._promises=[]);return new Promise((h,k)=>{b.push({res:h,rej:k})})}_notify(b){const h=b?"res":"rej",k=this._promises||[];for(let E=0;E"onProgress"!==O&&"onComplete"!==O&&"fn"!==O}),n.d.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),n.d.describe("animations",{_fallback:"animation"}),n.d.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:O=>0|O}}}});class M{constructor(b,h){this._chart=b,this._properties=new Map,this.configure(h)}configure(b){if(!(0,n.i)(b))return;const h=this._properties;Object.getOwnPropertyNames(b).forEach(k=>{const E=b[k];if(!(0,n.i)(E))return;const S={};for(const $ of w)S[$]=E[$];((0,n.b)(E.properties)&&E.properties||[k]).forEach($=>{($===k||!h.has($))&&h.set($,S)})})}_animateOptions(b,h){const k=h.options,E=function R(O,b){if(!b)return;let h=O.options;if(h)return h.$shared&&(O.options=h=Object.assign({},h,{$shared:!1,$animations:{}})),h;O.options=b}(b,k);if(!E)return[];const S=this._createAnimations(E,k);return k.$shared&&function I(O,b){const h=[],k=Object.keys(b);for(let E=0;E{b.options=k},()=>{}),S}_createAnimations(b,h){const k=this._properties,E=[],S=b.$animations||(b.$animations={}),$=Object.keys(h),q=Date.now();let fe;for(fe=$.length-1;fe>=0;--fe){const Ie=$[fe];if("$"===Ie.charAt(0))continue;if("options"===Ie){E.push(...this._animateOptions(b,h));continue}const xt=h[Ie];let St=S[Ie];const yn=k.get(Ie);if(St){if(yn&&St.active()){St.update(yn,xt,q);continue}St.cancel()}yn&&yn.duration?(S[Ie]=St=new x(yn,b,Ie,xt),E.push(St)):b[Ie]=xt}return E}update(b,h){if(0===this._properties.size)return void Object.assign(b,h);const k=this._createAnimations(b,h);return k.length?(f.add(this._chart,k),!0):void 0}}function H(O,b){const h=O&&O.options||{},k=h.reverse,E=void 0===h.min?b:0,S=void 0===h.max?b:0;return{start:k?S:E,end:k?E:S}}function he(O,b){const h=[],k=O._getSortedDatasetMetas(b);let E,S;for(E=0,S=k.length;E0||!h&&S<0)return E.index}return null}function Je(O,b){const{chart:h,_cachedMeta:k}=O,E=h._stacks||(h._stacks={}),{iScale:S,vScale:$,index:q}=k,fe=S.axis,Ie=$.axis,xt=function ye(O,b,h){return`${O.id}.${b.id}.${h.stack||h.type}`}(S,$,k),St=b.length;let yn;for(let An=0;Anh[k].axis===b).shift()}function et(O,b){const h=O.controller.index,k=O.vScale&&O.vScale.axis;if(k){b=b||O._parsed;for(const E of b){const S=E._stacks;if(!S||void 0===S[k]||void 0===S[k][h])return;delete S[k][h]}}}const sn=O=>"reset"===O||"none"===O,tt=(O,b)=>b?O:Object.assign({},O);let Xe=(()=>{class O{constructor(h,k){this.chart=h,this._ctx=h.ctx,this.index=k,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const h=this._cachedMeta;this.configure(),this.linkScales(),h._stacked=Le(h.vScale,h),this.addElements()}updateIndex(h){this.index!==h&&et(this._cachedMeta),this.index=h}linkScales(){const h=this.chart,k=this._cachedMeta,E=this.getDataset(),S=(yn,An,Wn,Kn)=>"x"===yn?An:"r"===yn?Kn:Wn,$=k.xAxisID=(0,n.v)(E.xAxisID,lt(h,"x")),q=k.yAxisID=(0,n.v)(E.yAxisID,lt(h,"y")),fe=k.rAxisID=(0,n.v)(E.rAxisID,lt(h,"r")),Ie=k.indexAxis,xt=k.iAxisID=S(Ie,$,q,fe),St=k.vAxisID=S(Ie,q,$,fe);k.xScale=this.getScaleForId($),k.yScale=this.getScaleForId(q),k.rScale=this.getScaleForId(fe),k.iScale=this.getScaleForId(xt),k.vScale=this.getScaleForId(St)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(h){return this.chart.scales[h]}_getOtherScale(h){const k=this._cachedMeta;return h===k.iScale?k.vScale:k.iScale}reset(){this._update("reset")}_destroy(){const h=this._cachedMeta;this._data&&(0,n.u)(this._data,this),h._stacked&&et(h)}_dataCheck(){const h=this.getDataset(),k=h.data||(h.data=[]),E=this._data;if((0,n.i)(k))this._data=function be(O){const b=Object.keys(O),h=new Array(b.length);let k,E,S;for(k=0,E=b.length;k0&&E._parsed[h-1];if(!1===this._parsing)E._parsed=S,E._sorted=!0,An=S;else{An=(0,n.b)(S[h])?this.parseArrayData(E,S,h,k):(0,n.i)(S[h])?this.parseObjectData(E,S,h,k):this.parsePrimitiveData(E,S,h,k);const Wn=()=>null===yn[fe]||xt&&yn[fe]O&&!b.hidden&&b._stacked&&{keys:he(this.chart,!0),values:null})(k,E),xt={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:St,max:yn}=function je(O){const{min:b,max:h,minDefined:k,maxDefined:E}=O.getUserBounds();return{min:k?b:Number.NEGATIVE_INFINITY,max:E?h:Number.POSITIVE_INFINITY}}(fe);let An,Wn;function Kn(){Wn=S[An];const wo=Wn[fe.axis];return!(0,n.g)(Wn[h.axis])||St>wo||yn=0;--An)if(!Kn()){this.updateRangeFromParsed(xt,h,Wn,Ie);break}return xt}getAllParsedValues(h){const k=this._cachedMeta._parsed,E=[];let S,$,q;for(S=0,$=k.length;S<$;++S)q=k[S][h.axis],(0,n.g)(q)&&E.push(q);return E}getMaxOverflow(){return!1}getLabelAndValue(h){const k=this._cachedMeta,E=k.iScale,S=k.vScale,$=this.getParsed(h);return{label:E?""+E.getLabelForValue($[E.axis]):"",value:S?""+S.getLabelForValue($[S.axis]):""}}_update(h){const k=this._cachedMeta;this.update(h||"default"),k._clip=function L(O){let b,h,k,E;return(0,n.i)(O)?(b=O.top,h=O.right,k=O.bottom,E=O.left):b=h=k=E=O,{top:b,right:h,bottom:k,left:E,disabled:!1===O}}((0,n.v)(this.options.clip,function K(O,b,h){if(!1===h)return!1;const k=H(O,h),E=H(b,h);return{top:E.end,right:k.end,bottom:E.start,left:k.start}}(k.xScale,k.yScale,this.getMaxOverflow())))}update(h){}draw(){const h=this._ctx,E=this._cachedMeta,S=E.data||[],$=this.chart.chartArea,q=[],fe=this._drawStart||0,Ie=this._drawCount||S.length-fe,xt=this.options.drawActiveElementsOnTop;let St;for(E.dataset&&E.dataset.draw(h,$,fe,Ie),St=fe;St=0&&hthis.getContext(E,S),yn);return wo.$shared&&(wo.$shared=Ie,$[q]=Object.freeze(tt(wo,Ie))),wo}_resolveAnimations(h,k,E){const S=this.chart,$=this._cachedDataOpts,q=`animation-${k}`,fe=$[q];if(fe)return fe;let Ie;if(!1!==S.options.animation){const St=this.chart.config,yn=St.datasetAnimationScopeKeys(this._type,k),An=St.getOptionScopes(this.getDataset(),yn);Ie=St.createResolver(An,this.getContext(h,E,k))}const xt=new M(S,Ie&&Ie.animations);return Ie&&Ie._cacheable&&($[q]=Object.freeze(xt)),xt}getSharedOptions(h){if(h.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},h))}includeOptions(h,k){return!k||sn(h)||this.chart._animationsDisabled}_getSharedOptions(h,k){const E=this.resolveDataElementOptions(h,k),S=this._sharedOptions,$=this.getSharedOptions(E),q=this.includeOptions(k,$)||$!==S;return this.updateSharedOptions($,k,E),{sharedOptions:$,includeOptions:q}}updateElement(h,k,E,S){sn(S)?Object.assign(h,E):this._resolveAnimations(k,S).update(h,E)}updateSharedOptions(h,k,E){h&&!sn(k)&&this._resolveAnimations(void 0,k).update(h,E)}_setStyle(h,k,E,S){h.active=S;const $=this.getStyle(k,S);this._resolveAnimations(k,E,S).update(h,{options:!S&&this.getSharedOptions($)||$})}removeHoverStyle(h,k,E){this._setStyle(h,E,"active",!1)}setHoverStyle(h,k,E){this._setStyle(h,E,"active",!0)}_removeDatasetHoverStyle(){const h=this._cachedMeta.dataset;h&&this._setStyle(h,void 0,"active",!1)}_setDatasetHoverStyle(){const h=this._cachedMeta.dataset;h&&this._setStyle(h,void 0,"active",!0)}_resyncElements(h){const k=this._data,E=this._cachedMeta.data;for(const[fe,Ie,xt]of this._syncList)this[fe](Ie,xt);this._syncList=[];const S=E.length,$=k.length,q=Math.min($,S);q&&this.parse(0,q),$>S?this._insertElements(S,$-S,h):${for(xt.length+=k,fe=xt.length-1;fe>=q;fe--)xt[fe]=xt[fe-k]};for(Ie($),fe=h;feE-S))}return O._cache.$bar}(b,O.type);let E,S,$,q,k=b._length;const fe=()=>{32767===$||-32768===$||((0,n.j)(q)&&(k=Math.min(k,Math.abs($-q)||k)),q=$)};for(E=0,S=h.length;EMath.abs(q)&&(fe=q,Ie=$),b[h.axis]=Ie,b._custom={barStart:fe,barEnd:Ie,start:E,end:S,min:$,max:q}}(O,b,h,k):b[h.axis]=h.parse(O,k),b}function Ot(O,b,h,k){const E=O.iScale,S=O.vScale,$=E.getLabels(),q=E===S,fe=[];let Ie,xt,St,yn;for(Ie=h,xt=h+k;IeO.x,h="left",k="right"):(b=O.base{class O extends Xe{parsePrimitiveData(h,k,E,S){return Ot(h,k,E,S)}parseArrayData(h,k,E,S){return Ot(h,k,E,S)}parseObjectData(h,k,E,S){const{iScale:$,vScale:q}=h,{xAxisKey:fe="x",yAxisKey:Ie="y"}=this._parsing,xt="x"===$.axis?fe:Ie,St="x"===q.axis?fe:Ie,yn=[];let An,Wn,Kn,wo;for(An=E,Wn=E+S;AnIe.controller.options.grouped),$=E.options.stacked,q=[],fe=Ie=>{const xt=Ie.controller.getParsed(k),St=xt&&xt[Ie.vScale.axis];if((0,n.k)(St)||isNaN(St))return!0};for(const Ie of S)if((void 0===k||!fe(Ie))&&((!1===$||-1===q.indexOf(Ie.stack)||void 0===$&&void 0===Ie.stack)&&q.push(Ie.stack),Ie.index===h))break;return q.length||q.push(void 0),q}_getStackCount(h){return this._getStacks(void 0,h).length}_getStackIndex(h,k,E){const S=this._getStacks(h,E),$=void 0!==k?S.indexOf(k):-1;return-1===$?S.length-1:$}_getRuler(){const h=this.options,k=this._cachedMeta,E=k.iScale,S=[];let $,q;for($=0,q=k.data.length;$=h?1:-1)}(Kn,k,q)*$,St===q&&(Io-=Kn/2);const Fo=k.getPixelForDecimal(0),U=k.getPixelForDecimal(1),ae=Math.min(Fo,U),V=Math.max(Fo,U);Io=Math.max(Math.min(Io,V),ae),Wn=Io+Kn}if(Io===k.getPixelForValue(q)){const Fo=(0,n.s)(Kn)*k.getLineWidthForValue(q)/2;Io+=Fo,Kn-=Fo}return{size:Kn,base:Io,head:Wn,center:Wn+Kn/2}}_calculateBarIndexPixels(h,k){const E=k.scale,S=this.options,$=S.skipNull,q=(0,n.v)(S.maxBarThickness,1/0);let fe,Ie;if(k.grouped){const xt=$?this._getStackCount(h):k.stackCount,St="flex"===S.barThickness?function wt(O,b,h,k){const E=b.pixels,S=E[O];let $=O>0?E[O-1]:null,q=O{class O extends Xe{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(h){const k=this._cachedMeta,{dataset:E,data:S=[],_dataset:$}=k,q=this.chart._animationsDisabled;let{start:fe,count:Ie}=(0,n.q)(k,S,q);this._drawStart=fe,this._drawCount=Ie,(0,n.w)(k)&&(fe=0,Ie=S.length),E._chart=this.chart,E._datasetIndex=this.index,E._decimated=!!$._decimated,E.points=S;const xt=this.resolveDatasetElementOptions(h);this.options.showLine||(xt.borderWidth=0),xt.segment=this.options.segment,this.updateElement(E,void 0,{animated:!q,options:xt},h),this.updateElements(S,fe,Ie,h)}updateElements(h,k,E,S){const $="reset"===S,{iScale:q,vScale:fe,_stacked:Ie,_dataset:xt}=this._cachedMeta,{sharedOptions:St,includeOptions:yn}=this._getSharedOptions(k,S),An=q.axis,Wn=fe.axis,{spanGaps:Kn,segment:wo}=this.options,Io=(0,n.x)(Kn)?Kn:Number.POSITIVE_INFINITY,Fo=this.chart._animationsDisabled||$||"none"===S;let U=k>0&&this.getParsed(k-1);for(let ae=k;ae0&&Math.abs(ce[An]-U[An])>Io,wo&&(Ae.parsed=ce,Ae.raw=xt.data[ae]),yn&&(Ae.options=St||this.resolveDataElementOptions(ae,V.active?"active":S)),Fo||this.updateElement(V,ae,Ae,S),U=ce}}getMaxOverflow(){const h=this._cachedMeta,k=h.dataset,E=k.options&&k.options.borderWidth||0,S=h.data||[];if(!S.length)return E;const $=S[0].size(this.resolveDataElementOptions(0)),q=S[S.length-1].size(this.resolveDataElementOptions(S.length-1));return Math.max(E,$,q)/2}draw(){const h=this._cachedMeta;h.dataset.updateControlPoints(this.chart.chartArea,h.iScale.axis),super.draw()}}return O.id="line",O.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},O.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}},O})();class Cn{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(b){const{x:h,y:k}=this.getProps(["x","y"],b);return{x:h,y:k}}hasValue(){return(0,n.x)(this.x)&&(0,n.x)(this.y)}getProps(b,h){const k=this.$animations;if(!h||!k)return this;const E={};return b.forEach(S=>{E[S]=k[S]&&k[S].active()?k[S]._to:this[S]}),E}}Cn.defaults={},Cn.defaultRoutes=void 0;const Qt={values:O=>(0,n.b)(O)?O:""+O,numeric(O,b,h){if(0===O)return"0";const k=this.chart.options.locale;let E,S=O;if(h.length>1){const Ie=Math.max(Math.abs(h[0].value),Math.abs(h[h.length-1].value));(Ie<1e-4||Ie>1e15)&&(E="scientific"),S=function Nn(O,b){let h=b.length>3?b[2].value-b[1].value:b[1].value-b[0].value;return Math.abs(h)>=1&&O!==Math.floor(O)&&(h=O-Math.floor(O)),h}(O,h)}const $=(0,n.z)(Math.abs(S)),q=Math.max(Math.min(-1*Math.floor($),20),0),fe={notation:E,minimumFractionDigits:q,maximumFractionDigits:q};return Object.assign(fe,this.options.ticks.format),(0,n.o)(O,k,fe)},logarithmic(O,b,h){if(0===O)return"0";const k=O/Math.pow(10,Math.floor((0,n.z)(O)));return 1===k||2===k||5===k?Qt.numeric.call(this,O,b,h):""}};var Qn={formatters:Qt};function bo(O,b,h,k,E){const S=(0,n.v)(k,0),$=Math.min((0,n.v)(E,O.length),O.length);let fe,Ie,xt,q=0;for(h=Math.ceil(h),E&&(fe=E-k,h=fe/Math.floor(fe/h)),xt=S;xt<0;)q++,xt=Math.round(S+q*h);for(Ie=Math.max(S,0);Ie<$;Ie++)Ie===xt&&(b.push(O[Ie]),q++,xt=Math.round(S+q*h))}n.d.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(O,b)=>b.lineWidth,tickColor:(O,b)=>b.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Qn.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),n.d.route("scale.ticks","color","","color"),n.d.route("scale.grid","color","","borderColor"),n.d.route("scale.grid","borderColor","","borderColor"),n.d.route("scale.title","color","","color"),n.d.describe("scale",{_fallback:!1,_scriptable:O=>!O.startsWith("before")&&!O.startsWith("after")&&"callback"!==O&&"parser"!==O,_indexable:O=>"borderDash"!==O&&"tickBorderDash"!==O}),n.d.describe("scales",{_fallback:"scale"}),n.d.describe("scale.ticks",{_scriptable:O=>"backdropPadding"!==O&&"callback"!==O,_indexable:O=>"backdropPadding"!==O});const Go=(O,b,h)=>"top"===b||"left"===b?O[b]+h:O[b]-h;function zo(O,b){const h=[],k=O.length/b,E=O.length;let S=0;for(;S$+q)))return fe}function xr(O){return O.drawTicks?O.tickLength:0}function zi(O,b){if(!O.display)return 0;const h=(0,n.O)(O.font,b),k=(0,n.K)(O.padding);return((0,n.b)(O.text)?O.text.length:1)*h.lineHeight+k.height}function Gi(O,b,h){let k=(0,n.R)(O);return(h&&"right"!==b||!h&&"right"===b)&&(k=(O=>"left"===O?"right":"right"===O?"left":O)(k)),k}class Vn extends Cn{constructor(b){super(),this.id=b.id,this.type=b.type,this.options=void 0,this.ctx=b.ctx,this.chart=b.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(b){this.options=b.setContext(this.getContext()),this.axis=b.axis,this._userMin=this.parse(b.min),this._userMax=this.parse(b.max),this._suggestedMin=this.parse(b.suggestedMin),this._suggestedMax=this.parse(b.suggestedMax)}parse(b,h){return b}getUserBounds(){let{_userMin:b,_userMax:h,_suggestedMin:k,_suggestedMax:E}=this;return b=(0,n.B)(b,Number.POSITIVE_INFINITY),h=(0,n.B)(h,Number.NEGATIVE_INFINITY),k=(0,n.B)(k,Number.POSITIVE_INFINITY),E=(0,n.B)(E,Number.NEGATIVE_INFINITY),{min:(0,n.B)(b,k),max:(0,n.B)(h,E),minDefined:(0,n.g)(b),maxDefined:(0,n.g)(h)}}getMinMax(b){let $,{min:h,max:k,minDefined:E,maxDefined:S}=this.getUserBounds();if(E&&S)return{min:h,max:k};const q=this.getMatchingVisibleMetas();for(let fe=0,Ie=q.length;fek?k:h,k=E&&h>k?h:k,{min:(0,n.B)(h,(0,n.B)(k,h)),max:(0,n.B)(k,(0,n.B)(h,k))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const b=this.chart.data;return this.options.labels||(this.isHorizontal()?b.xLabels:b.yLabels)||b.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,n.C)(this.options.beforeUpdate,[this])}update(b,h,k){const{beginAtZero:E,grace:S,ticks:$}=this.options,q=$.sampleSize;this.beforeUpdate(),this.maxWidth=b,this.maxHeight=h,this._margins=k=Object.assign({left:0,right:0,top:0,bottom:0},k),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+k.left+k.right:this.height+k.top+k.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,n.D)(this,S,E),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const fe=qk)return function uo(O,b,h,k){let $,E=0,S=h[0];for(k=Math.ceil(k),$=0;$E)return fe}return Math.max(E,1)}(E,b,k);if(S>0){let xt,St;const yn=S>1?Math.round((q-$)/(S-1)):null;for(bo(b,fe,Ie,(0,n.k)(yn)?0:$-yn,$),xt=0,St=S-1;xt=S||k<=1||!this.isHorizontal())return void(this.labelRotation=E);const xt=this._getLabelSizes(),St=xt.widest.width,yn=xt.highest.height,An=(0,n.E)(this.chart.width-St,0,this.maxWidth);q=b.offset?this.maxWidth/k:An/(k-1),St+6>q&&(q=An/(k-(b.offset?.5:1)),fe=this.maxHeight-xr(b.grid)-h.padding-zi(b.title,this.chart.options.font),Ie=Math.sqrt(St*St+yn*yn),$=(0,n.F)(Math.min(Math.asin((0,n.E)((xt.highest.height+6)/q,-1,1)),Math.asin((0,n.E)(fe/Ie,-1,1))-Math.asin((0,n.E)(yn/Ie,-1,1)))),$=Math.max(E,Math.min(S,$))),this.labelRotation=$}afterCalculateLabelRotation(){(0,n.C)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,n.C)(this.options.beforeFit,[this])}fit(){const b={width:0,height:0},{chart:h,options:{ticks:k,title:E,grid:S}}=this,$=this._isVisible(),q=this.isHorizontal();if($){const fe=zi(E,h.options.font);if(q?(b.width=this.maxWidth,b.height=xr(S)+fe):(b.height=this.maxHeight,b.width=xr(S)+fe),k.display&&this.ticks.length){const{first:Ie,last:xt,widest:St,highest:yn}=this._getLabelSizes(),An=2*k.padding,Wn=(0,n.t)(this.labelRotation),Kn=Math.cos(Wn),wo=Math.sin(Wn);q?b.height=Math.min(this.maxHeight,b.height+(k.mirror?0:wo*St.width+Kn*yn.height)+An):b.width=Math.min(this.maxWidth,b.width+(k.mirror?0:Kn*St.width+wo*yn.height)+An),this._calculatePadding(Ie,xt,wo,Kn)}}this._handleMargins(),q?(this.width=this._length=h.width-this._margins.left-this._margins.right,this.height=b.height):(this.width=b.width,this.height=this._length=h.height-this._margins.top-this._margins.bottom)}_calculatePadding(b,h,k,E){const{ticks:{align:S,padding:$},position:q}=this.options,fe=0!==this.labelRotation,Ie="top"!==q&&"x"===this.axis;if(this.isHorizontal()){const xt=this.getPixelForTick(0)-this.left,St=this.right-this.getPixelForTick(this.ticks.length-1);let yn=0,An=0;fe?Ie?(yn=E*b.width,An=k*h.height):(yn=k*b.height,An=E*h.width):"start"===S?An=h.width:"end"===S?yn=b.width:"inner"!==S&&(yn=b.width/2,An=h.width/2),this.paddingLeft=Math.max((yn-xt+$)*this.width/(this.width-xt),0),this.paddingRight=Math.max((An-St+$)*this.width/(this.width-St),0)}else{let xt=h.height/2,St=b.height/2;"start"===S?(xt=0,St=b.height):"end"===S&&(xt=h.height,St=0),this.paddingTop=xt+$,this.paddingBottom=St+$}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,n.C)(this.options.afterFit,[this])}isHorizontal(){const{axis:b,position:h}=this.options;return"top"===h||"bottom"===h||"x"===b}isFullSize(){return this.options.fullSize}_convertTicksToLabels(b){let h,k;for(this.beforeTickToLabelConversion(),this.generateTickLabels(b),h=0,k=b.length;h{const k=h.gc,E=k.length/2;let S;if(E>b){for(S=0;S({width:S[Ae]||0,height:$[Ae]||0});return{first:ce(0),last:ce(h-1),widest:ce(ae),highest:ce(V),widths:S,heights:$}}getLabelForValue(b){return b}getPixelForValue(b,h){return NaN}getValueForPixel(b){}getPixelForTick(b){const h=this.ticks;return b<0||b>h.length-1?null:this.getPixelForValue(h[b].value)}getPixelForDecimal(b){this._reversePixels&&(b=1-b);const h=this._startPixel+b*this._length;return(0,n.I)(this._alignToPixels?(0,n.J)(this.chart,h,0):h)}getDecimalForPixel(b){const h=(b-this._startPixel)/this._length;return this._reversePixels?1-h:h}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:b,max:h}=this;return b<0&&h<0?h:b>0&&h>0?b:0}getContext(b){const h=this.ticks||[];if(b>=0&&bq*E?q/k:fe/E:fe*E0}_computeGridLineItems(b){const h=this.axis,k=this.chart,E=this.options,{grid:S,position:$}=E,q=S.offset,fe=this.isHorizontal(),xt=this.ticks.length+(q?1:0),St=xr(S),yn=[],An=S.setContext(this.getContext()),Wn=An.drawBorder?An.borderWidth:0,Kn=Wn/2,wo=function(Bi){return(0,n.J)(k,Bi,Wn)};let Io,Fo,U,ae,V,ce,Ae,bt,$t,io,zn,Lo;if("top"===$)Io=wo(this.bottom),ce=this.bottom-St,bt=Io-Kn,io=wo(b.top)+Kn,Lo=b.bottom;else if("bottom"===$)Io=wo(this.top),io=b.top,Lo=wo(b.bottom)-Kn,ce=Io+Kn,bt=this.top+St;else if("left"===$)Io=wo(this.right),V=this.right-St,Ae=Io-Kn,$t=wo(b.left)+Kn,zn=b.right;else if("right"===$)Io=wo(this.left),$t=b.left,zn=wo(b.right)-Kn,V=Io+Kn,Ae=this.left+St;else if("x"===h){if("center"===$)Io=wo((b.top+b.bottom)/2+.5);else if((0,n.i)($)){const Bi=Object.keys($)[0];Io=wo(this.chart.scales[Bi].getPixelForValue($[Bi]))}io=b.top,Lo=b.bottom,ce=Io+Kn,bt=ce+St}else if("y"===h){if("center"===$)Io=wo((b.left+b.right)/2);else if((0,n.i)($)){const Bi=Object.keys($)[0];Io=wo(this.chart.scales[Bi].getPixelForValue($[Bi]))}V=Io-Kn,Ae=V-St,$t=b.left,zn=b.right}const Ei=(0,n.v)(E.ticks.maxTicksLimit,xt),tr=Math.max(1,Math.ceil(xt/Ei));for(Fo=0;FoS.value===b);return E>=0?h.setContext(this.getContext(E)).lineWidth:0}drawGrid(b){const h=this.options.grid,k=this.ctx,E=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(b));let S,$;const q=(fe,Ie,xt)=>{!xt.width||!xt.color||(k.save(),k.lineWidth=xt.width,k.strokeStyle=xt.color,k.setLineDash(xt.borderDash||[]),k.lineDashOffset=xt.borderDashOffset,k.beginPath(),k.moveTo(fe.x,fe.y),k.lineTo(Ie.x,Ie.y),k.stroke(),k.restore())};if(h.display)for(S=0,$=E.length;S<$;++S){const fe=E[S];h.drawOnChartArea&&q({x:fe.x1,y:fe.y1},{x:fe.x2,y:fe.y2},fe),h.drawTicks&&q({x:fe.tx1,y:fe.ty1},{x:fe.tx2,y:fe.ty2},{color:fe.tickColor,width:fe.tickWidth,borderDash:fe.tickBorderDash,borderDashOffset:fe.tickBorderDashOffset})}}drawBorder(){const{chart:b,ctx:h,options:{grid:k}}=this,E=k.setContext(this.getContext()),S=k.drawBorder?E.borderWidth:0;if(!S)return;const $=k.setContext(this.getContext(0)).lineWidth,q=this._borderValue;let fe,Ie,xt,St;this.isHorizontal()?(fe=(0,n.J)(b,this.left,S)-S/2,Ie=(0,n.J)(b,this.right,$)+$/2,xt=St=q):(xt=(0,n.J)(b,this.top,S)-S/2,St=(0,n.J)(b,this.bottom,$)+$/2,fe=Ie=q),h.save(),h.lineWidth=E.borderWidth,h.strokeStyle=E.borderColor,h.beginPath(),h.moveTo(fe,xt),h.lineTo(Ie,St),h.stroke(),h.restore()}drawLabels(b){if(!this.options.ticks.display)return;const k=this.ctx,E=this._computeLabelArea();E&&(0,n.L)(k,E);const S=this._labelItems||(this._labelItems=this._computeLabelItems(b));let $,q;for($=0,q=S.length;${this.drawBackground(),this.drawGrid(E),this.drawTitle()}},{z:k+1,draw:()=>{this.drawBorder()}},{z:h,draw:E=>{this.drawLabels(E)}}]:[{z:h,draw:E=>{this.draw(E)}}]}getMatchingVisibleMetas(b){const h=this.chart.getSortedVisibleDatasetMetas(),k=this.axis+"AxisID",E=[];let S,$;for(S=0,$=h.length;S<$;++S){const q=h[S];q[k]===this.id&&(!b||q.type===b)&&E.push(q)}return E}_resolveTickFontOptions(b){const h=this.options.ticks.setContext(this.getContext(b));return(0,n.O)(h.font)}_maxDigits(){const b=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/b}}class mn{constructor(b,h,k){this.type=b,this.scope=h,this.override=k,this.items=Object.create(null)}isForType(b){return Object.prototype.isPrototypeOf.call(this.type.prototype,b.prototype)}register(b){const h=Object.getPrototypeOf(b);let k;(function Ft(O){return"id"in O&&"defaults"in O})(h)&&(k=this.register(h));const E=this.items,S=b.id,$=this.scope+"."+S;if(!S)throw new Error("class does not have id: "+b);return S in E||(E[S]=b,function ze(O,b,h){const k=(0,n.V)(Object.create(null),[h?n.d.get(h):{},n.d.get(b),O.defaults]);n.d.set(b,k),O.defaultRoutes&&function at(O,b){Object.keys(b).forEach(h=>{const k=h.split("."),E=k.pop(),S=[O].concat(k).join("."),$=b[h].split("."),q=$.pop(),fe=$.join(".");n.d.route(S,E,fe,q)})}(b,O.defaultRoutes),O.descriptors&&n.d.describe(b,O.descriptors)}(b,$,k),this.override&&n.d.override(b.id,b.overrides)),$}get(b){return this.items[b]}unregister(b){const h=this.items,k=b.id,E=this.scope;k in h&&delete h[k],E&&k in n.d[E]&&(delete n.d[E][k],this.override&&delete n.U[k])}}var fo=new class In{constructor(){this.controllers=new mn(Xe,"datasets",!0),this.elements=new mn(Cn,"elements"),this.plugins=new mn(Object,"plugins"),this.scales=new mn(Vn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...b){this._each("register",b)}remove(...b){this._each("unregister",b)}addControllers(...b){this._each("register",b,this.controllers)}addElements(...b){this._each("register",b,this.elements)}addPlugins(...b){this._each("register",b,this.plugins)}addScales(...b){this._each("register",b,this.scales)}getController(b){return this._get(b,this.controllers,"controller")}getElement(b){return this._get(b,this.elements,"element")}getPlugin(b){return this._get(b,this.plugins,"plugin")}getScale(b){return this._get(b,this.scales,"scale")}removeControllers(...b){this._each("unregister",b,this.controllers)}removeElements(...b){this._each("unregister",b,this.elements)}removePlugins(...b){this._each("unregister",b,this.plugins)}removeScales(...b){this._each("unregister",b,this.scales)}_each(b,h,k){[...h].forEach(E=>{const S=k||this._getRegistryForType(E);k||S.isForType(E)||S===this.plugins&&E.id?this._exec(b,S,E):(0,n.Q)(E,$=>{const q=k||this._getRegistryForType($);this._exec(b,q,$)})})}_exec(b,h,k){const E=(0,n.W)(b);(0,n.C)(k["before"+E],[],k),h[b](k),(0,n.C)(k["after"+E],[],k)}_getRegistryForType(b){for(let h=0;h{class O{constructor(h){this.options=h||{}}init(h){}formats(){return $e()}parse(h,k){return $e()}format(h,k){return $e()}add(h,k,E){return $e()}diff(h,k,E){return $e()}startOf(h,k,E){return $e()}endOf(h,k){return $e()}}return O.override=function(b){Object.assign(O.prototype,b)},O})()};function Wt(O,b,h,k){const{controller:E,data:S,_sorted:$}=O,q=E._cachedMeta.iScale;if(q&&b===q.axis&&"r"!==b&&$&&S.length){const fe=q._reversePixels?n.Y:n.Z;if(!k)return fe(S,b,h);if(E._sharedOptions){const Ie=S[0],xt="function"==typeof Ie.getRange&&Ie.getRange(b);if(xt){const St=fe(S,b,h-xt),yn=fe(S,b,h+xt);return{lo:St.lo,hi:yn.hi}}}}return{lo:0,hi:S.length-1}}function Dn(O,b,h,k,E){const S=O.getSortedVisibleDatasetMetas(),$=h[b];for(let q=0,fe=S.length;q{fe[$](b[h],E)&&(S.push({element:fe,datasetIndex:Ie,index:xt}),q=q||fe.inRange(b.x,b.y,E))}),k&&!q?[]:S}var Vo={evaluateInteractionItems:Dn,modes:{index(O,b,h,k){const E=(0,n.X)(b,O),S=h.axis||"x",$=h.includeInvisible||!1,q=h.intersect?co(O,E,S,k,$):Gn(O,E,S,!1,k,$),fe=[];return q.length?(O.getSortedVisibleDatasetMetas().forEach(Ie=>{const xt=q[0].index,St=Ie.data[xt];St&&!St.skip&&fe.push({element:St,datasetIndex:Ie.index,index:xt})}),fe):[]},dataset(O,b,h,k){const E=(0,n.X)(b,O),S=h.axis||"xy",$=h.includeInvisible||!1;let q=h.intersect?co(O,E,S,k,$):Gn(O,E,S,!1,k,$);if(q.length>0){const fe=q[0].datasetIndex,Ie=O.getDatasetMeta(fe).data;q=[];for(let xt=0;xtco(O,(0,n.X)(b,O),h.axis||"xy",k,h.includeInvisible||!1),nearest:(O,b,h,k)=>Gn(O,(0,n.X)(b,O),h.axis||"xy",h.intersect,k,h.includeInvisible||!1),x:(O,b,h,k)=>go(O,(0,n.X)(b,O),"x",h.intersect,k),y:(O,b,h,k)=>go(O,(0,n.X)(b,O),"y",h.intersect,k)}};const yi=["left","top","right","bottom"];function ci(O,b){return O.filter(h=>h.pos===b)}function er(O,b){return O.filter(h=>-1===yi.indexOf(h.pos)&&h.box.axis===b)}function ei(O,b){return O.sort((h,k)=>{const E=b?k:h,S=b?h:k;return E.weight===S.weight?E.index-S.index:E.weight-S.weight})}function wr(O,b,h,k){return Math.max(O[h],b[h])+Math.max(O[k],b[k])}function Qi(O,b){O.top=Math.max(O.top,b.top),O.left=Math.max(O.left,b.left),O.bottom=Math.max(O.bottom,b.bottom),O.right=Math.max(O.right,b.right)}function is(O,b,h,k){const{pos:E,box:S}=h,$=O.maxPadding;if(!(0,n.i)(E)){h.size&&(O[E]-=h.size);const St=k[h.stack]||{size:0,count:1};St.size=Math.max(St.size,h.horizontal?S.height:S.width),h.size=St.size/St.count,O[E]+=h.size}S.getPadding&&Qi($,S.getPadding());const q=Math.max(0,b.outerWidth-wr($,O,"left","right")),fe=Math.max(0,b.outerHeight-wr($,O,"top","bottom")),Ie=q!==O.w,xt=fe!==O.h;return O.w=q,O.h=fe,h.horizontal?{same:Ie,other:xt}:{same:xt,other:Ie}}function po(O,b){const h=b.maxPadding;return function k(E){const S={left:0,top:0,right:0,bottom:0};return E.forEach($=>{S[$]=Math.max(b[$],h[$])}),S}(O?["left","right"]:["top","bottom"])}function ni(O,b,h,k){const E=[];let S,$,q,fe,Ie,xt;for(S=0,$=O.length,Ie=0;S<$;++S){q=O[S],fe=q.box,fe.update(q.width||b.w,q.height||b.h,po(q.horizontal,b));const{same:St,other:yn}=is(b,h,q,k);Ie|=St&&E.length,xt=xt||yn,fe.fullSize||E.push(q)}return Ie&&ni(E,b,h,k)||xt}function Ci(O,b,h,k,E){O.top=h,O.left=b,O.right=b+k,O.bottom=h+E,O.width=k,O.height=E}function hr(O,b,h,k){const E=h.padding;let{x:S,y:$}=b;for(const q of O){const fe=q.box,Ie=k[q.stack]||{count:1,placed:0,weight:1},xt=q.stackWeight/Ie.weight||1;if(q.horizontal){const St=b.w*xt,yn=Ie.size||fe.height;(0,n.j)(Ie.start)&&($=Ie.start),fe.fullSize?Ci(fe,E.left,$,h.outerWidth-E.right-E.left,yn):Ci(fe,b.left+Ie.placed,$,St,yn),Ie.start=$,Ie.placed+=St,$=fe.bottom}else{const St=b.h*xt,yn=Ie.size||fe.width;(0,n.j)(Ie.start)&&(S=Ie.start),fe.fullSize?Ci(fe,S,E.top,yn,h.outerHeight-E.bottom-E.top):Ci(fe,S,b.top+Ie.placed,yn,St),Ie.start=S,Ie.placed+=St,S=fe.right}}b.x=S,b.y=$}n.d.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var Vi={addBox(O,b){O.boxes||(O.boxes=[]),b.fullSize=b.fullSize||!1,b.position=b.position||"top",b.weight=b.weight||0,b._layers=b._layers||function(){return[{z:0,draw(h){b.draw(h)}}]},O.boxes.push(b)},removeBox(O,b){const h=O.boxes?O.boxes.indexOf(b):-1;-1!==h&&O.boxes.splice(h,1)},configure(O,b,h){b.fullSize=h.fullSize,b.position=h.position,b.weight=h.weight},update(O,b,h,k){if(!O)return;const E=(0,n.K)(O.options.layout.padding),S=Math.max(b-E.width,0),$=Math.max(h-E.height,0),q=function Fr(O){const b=function dr(O){const b=[];let h,k,E,S,$,q;for(h=0,k=(O||[]).length;hIe.box.fullSize),!0),k=ei(ci(b,"left"),!0),E=ei(ci(b,"right")),S=ei(ci(b,"top"),!0),$=ei(ci(b,"bottom")),q=er(b,"x"),fe=er(b,"y");return{fullSize:h,leftAndTop:k.concat(S),rightAndBottom:E.concat(fe).concat($).concat(q),chartArea:ci(b,"chartArea"),vertical:k.concat(E).concat(fe),horizontal:S.concat($).concat(q)}}(O.boxes),fe=q.vertical,Ie=q.horizontal;(0,n.Q)(O.boxes,Kn=>{"function"==typeof Kn.beforeLayout&&Kn.beforeLayout()});const xt=fe.reduce((Kn,wo)=>wo.box.options&&!1===wo.box.options.display?Kn:Kn+1,0)||1,St=Object.freeze({outerWidth:b,outerHeight:h,padding:E,availableWidth:S,availableHeight:$,vBoxMaxWidth:S/2/xt,hBoxMaxHeight:$/2}),yn=Object.assign({},E);Qi(yn,(0,n.K)(k));const An=Object.assign({maxPadding:yn,w:S,h:$,x:E.left,y:E.top},E),Wn=function Vr(O,b){const h=function Lr(O){const b={};for(const h of O){const{stack:k,pos:E,stackWeight:S}=h;if(!k||!yi.includes(E))continue;const $=b[k]||(b[k]={count:0,placed:0,weight:0,size:0});$.count++,$.weight+=S}return b}(O),{vBoxMaxWidth:k,hBoxMaxHeight:E}=b;let S,$,q;for(S=0,$=O.length;S<$;++S){q=O[S];const{fullSize:fe}=q.box,Ie=h[q.stack],xt=Ie&&q.stackWeight/Ie.weight;q.horizontal?(q.width=xt?xt*k:fe&&b.availableWidth,q.height=E):(q.width=k,q.height=xt?xt*E:fe&&b.availableHeight)}return h}(fe.concat(Ie),St);ni(q.fullSize,An,St,Wn),ni(fe,An,St,Wn),ni(Ie,An,St,Wn)&&ni(fe,An,St,Wn),function en(O){const b=O.maxPadding;function h(k){const E=Math.max(b[k]-O[k],0);return O[k]+=E,E}O.y+=h("top"),O.x+=h("left"),h("right"),h("bottom")}(An),hr(q.leftAndTop,An,St,Wn),An.x+=An.w,An.y+=An.h,hr(q.rightAndBottom,An,St,Wn),O.chartArea={left:An.left,top:An.top,right:An.left+An.w,bottom:An.top+An.h,height:An.h,width:An.w},(0,n.Q)(q.chartArea,Kn=>{const wo=Kn.box;Object.assign(wo,O.chartArea),wo.update(An.w,An.h,{left:0,top:0,right:0,bottom:0})})}};class qi{acquireContext(b,h){}releaseContext(b){return!1}addEventListener(b,h,k){}removeEventListener(b,h,k){}getDevicePixelRatio(){return 1}getMaximumSize(b,h,k,E){return h=Math.max(0,h||b.width),k=k||b.height,{width:h,height:Math.max(0,E?Math.floor(h/E):k)}}isAttached(b){return!0}updateConfig(b){}}class ts extends qi{acquireContext(b){return b&&b.getContext&&b.getContext("2d")||null}updateConfig(b){b.options.animation=!1}}const Wi="$chartjs",sr={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Si=O=>null===O||""===O,Ir=!!n.a5&&{passive:!0};function Cs(O,b,h){O.canvas.removeEventListener(b,h,Ir)}function vi(O,b){for(const h of O)if(h===b||h.contains(b))return!0}function As(O,b,h){const k=O.canvas,E=new MutationObserver(S=>{let $=!1;for(const q of S)$=$||vi(q.addedNodes,k),$=$&&!vi(q.removedNodes,k);$&&h()});return E.observe(document,{childList:!0,subtree:!0}),E}function Ps(O,b,h){const k=O.canvas,E=new MutationObserver(S=>{let $=!1;for(const q of S)$=$||vi(q.removedNodes,k),$=$&&!vi(q.addedNodes,k);$&&h()});return E.observe(document,{childList:!0,subtree:!0}),E}const ys=new Map;let Es=0;function gs(){const O=window.devicePixelRatio;O!==Es&&(Es=O,ys.forEach((b,h)=>{h.currentDevicePixelRatio!==O&&b()}))}function Zr(O,b,h){const k=O.canvas,E=k&&(0,n.a2)(k);if(!E)return;const S=(0,n.a4)((q,fe)=>{const Ie=E.clientWidth;h(q,fe),Ie{const fe=q[0],Ie=fe.contentRect.width,xt=fe.contentRect.height;0===Ie&&0===xt||S(Ie,xt)});return $.observe(E),function vs(O,b){ys.size||window.addEventListener("resize",gs),ys.set(O,b)}(O,S),$}function Wr(O,b,h){h&&h.disconnect(),"resize"===b&&function ks(O){ys.delete(O),ys.size||window.removeEventListener("resize",gs)}(O)}function ws(O,b,h){const k=O.canvas,E=(0,n.a4)(S=>{null!==O.ctx&&h(function ps(O,b){const h=sr[O.type]||O.type,{x:k,y:E}=(0,n.X)(O,b);return{type:h,chart:b,native:O,x:void 0!==k?k:null,y:void 0!==E?E:null}}(S,O))},O,S=>{const $=S[0];return[$,$.offsetX,$.offsetY]});return function fs(O,b,h){O.addEventListener(b,h,Ir)}(k,b,E),E}class Or extends qi{acquireContext(b,h){const k=b&&b.getContext&&b.getContext("2d");return k&&k.canvas===b?(function rs(O,b){const h=O.style,k=O.getAttribute("height"),E=O.getAttribute("width");if(O[Wi]={initial:{height:k,width:E,style:{display:h.display,height:h.height,width:h.width}}},h.display=h.display||"block",h.boxSizing=h.boxSizing||"border-box",Si(E)){const S=(0,n.a3)(O,"width");void 0!==S&&(O.width=S)}if(Si(k))if(""===O.style.height)O.height=O.width/(b||2);else{const S=(0,n.a3)(O,"height");void 0!==S&&(O.height=S)}}(b,h),k):null}releaseContext(b){const h=b.canvas;if(!h[Wi])return!1;const k=h[Wi].initial;["height","width"].forEach(S=>{const $=k[S];(0,n.k)($)?h.removeAttribute(S):h.setAttribute(S,$)});const E=k.style||{};return Object.keys(E).forEach(S=>{h.style[S]=E[S]}),h.width=h.width,delete h[Wi],!0}addEventListener(b,h,k){this.removeEventListener(b,h),(b.$proxies||(b.$proxies={}))[h]=({attach:As,detach:Ps,resize:Zr}[h]||ws)(b,h,k)}removeEventListener(b,h){const k=b.$proxies||(b.$proxies={}),E=k[h];E&&(({attach:Wr,detach:Wr,resize:Wr}[h]||Cs)(b,h,E),k[h]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(b,h,k,E){return(0,n.a1)(b,h,k,E)}isAttached(b){const h=(0,n.a2)(b);return!(!h||!h.isConnected)}}class Ht{constructor(){this._init=[]}notify(b,h,k,E){"beforeInit"===h&&(this._init=this._createDescriptors(b,!0),this._notify(this._init,b,"install"));const S=E?this._descriptors(b).filter(E):this._descriptors(b),$=this._notify(S,b,h,k);return"afterDestroy"===h&&(this._notify(S,b,"stop"),this._notify(this._init,b,"uninstall")),$}_notify(b,h,k,E){E=E||{};for(const S of b){const $=S.plugin;if(!1===(0,n.C)($[k],[h,E,S.options],$)&&E.cancelable)return!1}return!0}invalidate(){(0,n.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(b){if(this._cache)return this._cache;const h=this._cache=this._createDescriptors(b);return this._notifyStateChanges(b),h}_createDescriptors(b,h){const k=b&&b.config,E=(0,n.v)(k.options&&k.options.plugins,{}),S=function Dt(O){const b={},h=[],k=Object.keys(fo.plugins.items);for(let S=0;SS.filter(q=>!$.some(fe=>q.plugin.id===fe.plugin.id));this._notify(E(h,k),b,"stop"),this._notify(E(k,h),b,"start")}}function un(O,b){return b||!1!==O?!0===O?{}:O:null}function so(O,{plugin:b,local:h},k,E){const S=O.pluginScopeKeys(b),$=O.getOptionScopes(k,S);return h&&b.defaults&&$.push(b.defaults),O.createResolver($,E,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function To(O,b){return((b.datasets||{})[O]||{}).indexAxis||b.indexAxis||(n.d.datasets[O]||{}).indexAxis||"x"}function Ao(O,b){return"x"===O||"y"===O?O:b.axis||function si(O){return"top"===O||"bottom"===O?"x":"left"===O||"right"===O?"y":void 0}(b.position)||O.charAt(0).toLowerCase()}function fi(O){const b=O.options||(O.options={});b.plugins=(0,n.v)(b.plugins,{}),b.scales=function eo(O,b){const h=n.U[O.type]||{scales:{}},k=b.scales||{},E=To(O.type,b),S=Object.create(null),$=Object.create(null);return Object.keys(k).forEach(q=>{const fe=k[q];if(!(0,n.i)(fe))return console.error(`Invalid scale configuration for scale: ${q}`);if(fe._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${q}`);const Ie=Ao(q,fe),xt=function hi(O,b){return O===b?"_index_":"_value_"}(Ie,E),St=h.scales||{};S[Ie]=S[Ie]||q,$[q]=(0,n.ac)(Object.create(null),[{axis:Ie},fe,St[Ie],St[xt]])}),O.data.datasets.forEach(q=>{const fe=q.type||O.type,Ie=q.indexAxis||To(fe,b),St=(n.U[fe]||{}).scales||{};Object.keys(St).forEach(yn=>{const An=function qo(O,b){let h=O;return"_index_"===O?h=b:"_value_"===O&&(h="x"===b?"y":"x"),h}(yn,Ie),Wn=q[An+"AxisID"]||S[An]||An;$[Wn]=$[Wn]||Object.create(null),(0,n.ac)($[Wn],[{axis:An},k[Wn],St[yn]])})}),Object.keys($).forEach(q=>{const fe=$[q];(0,n.ac)(fe,[n.d.scales[fe.type],n.d.scale])}),$}(O,b)}function ti(O){return(O=O||{}).datasets=O.datasets||[],O.labels=O.labels||[],O}const $i=new Map,P=new Set;function re(O,b){let h=$i.get(O);return h||(h=b(),$i.set(O,h),P.add(h)),h}const ie=(O,b,h)=>{const k=(0,n.f)(b,h);void 0!==k&&O.add(k)};class B{constructor(b){this._config=function Ti(O){return(O=O||{}).data=ti(O.data),fi(O),O}(b),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(b){this._config.type=b}get data(){return this._config.data}set data(b){this._config.data=ti(b)}get options(){return this._config.options}set options(b){this._config.options=b}get plugins(){return this._config.plugins}update(){const b=this._config;this.clearCache(),fi(b)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(b){return re(b,()=>[[`datasets.${b}`,""]])}datasetAnimationScopeKeys(b,h){return re(`${b}.transition.${h}`,()=>[[`datasets.${b}.transitions.${h}`,`transitions.${h}`],[`datasets.${b}`,""]])}datasetElementScopeKeys(b,h){return re(`${b}-${h}`,()=>[[`datasets.${b}.elements.${h}`,`datasets.${b}`,`elements.${h}`,""]])}pluginScopeKeys(b){const h=b.id;return re(`${this.type}-plugin-${h}`,()=>[[`plugins.${h}`,...b.additionalOptionScopes||[]]])}_cachedScopes(b,h){const k=this._scopeCache;let E=k.get(b);return(!E||h)&&(E=new Map,k.set(b,E)),E}getOptionScopes(b,h,k){const{options:E,type:S}=this,$=this._cachedScopes(b,k),q=$.get(h);if(q)return q;const fe=new Set;h.forEach(xt=>{b&&(fe.add(b),xt.forEach(St=>ie(fe,b,St))),xt.forEach(St=>ie(fe,E,St)),xt.forEach(St=>ie(fe,n.U[S]||{},St)),xt.forEach(St=>ie(fe,n.d,St)),xt.forEach(St=>ie(fe,n.a7,St))});const Ie=Array.from(fe);return 0===Ie.length&&Ie.push(Object.create(null)),P.has(h)&&$.set(h,Ie),Ie}chartOptionScopes(){const{options:b,type:h}=this;return[b,n.U[h]||{},n.d.datasets[h]||{},{type:h},n.d,n.a7]}resolveNamedOptions(b,h,k,E=[""]){const S={$shared:!0},{resolver:$,subPrefixes:q}=ne(this._resolverCache,b,E);let fe=$;if(function Ce(O,b){const{isScriptable:h,isIndexable:k}=(0,n.ab)(O);for(const E of b){const S=h(E),$=k(E),q=($||S)&&O[E];if(S&&((0,n.a8)(q)||de(q))||$&&(0,n.b)(q))return!0}return!1}($,h)){S.$shared=!1,k=(0,n.a8)(k)?k():k;const Ie=this.createResolver(b,k,q);fe=(0,n.a9)($,k,Ie)}for(const Ie of h)S[Ie]=fe[Ie];return S}createResolver(b,h,k=[""],E){const{resolver:S}=ne(this._resolverCache,b,k);return(0,n.i)(h)?(0,n.a9)(S,h,void 0,E):S}}function ne(O,b,h){let k=O.get(b);k||(k=new Map,O.set(b,k));const E=h.join();let S=k.get(E);return S||(S={resolver:(0,n.aa)(b,h),subPrefixes:h.filter(q=>!q.toLowerCase().includes("hover"))},k.set(E,S)),S}const de=O=>(0,n.i)(O)&&Object.getOwnPropertyNames(O).reduce((b,h)=>b||(0,n.a8)(O[h]),!1),st=["top","bottom","left","right","chartArea"];function rt(O,b){return"top"===O||"bottom"===O||-1===st.indexOf(O)&&"x"===b}function Kt(O,b){return function(h,k){return h[O]===k[O]?h[b]-k[b]:h[O]-k[O]}}function Et(O){const b=O.chart,h=b.options.animation;b.notifyPlugins("afterRender"),(0,n.C)(h&&h.onComplete,[O],b)}function Yt(O){const b=O.chart,h=b.options.animation;(0,n.C)(h&&h.onProgress,[O],b)}function $n(O){return(0,n.a6)()&&"string"==typeof O?O=document.getElementById(O):O&&O.length&&(O=O[0]),O&&O.canvas&&(O=O.canvas),O}const nn={},mo=O=>{const b=$n(O);return Object.values(nn).filter(h=>h.canvas===b).pop()};function yo(O,b,h){const k=Object.keys(O);for(const E of k){const S=+E;if(S>=b){const $=O[E];delete O[E],(h>0||S>b)&&(O[S+h]=$)}}}class Ho{constructor(b,h){const k=this.config=new B(h),E=$n(b),S=mo(E);if(S)throw new Error("Canvas is already in use. Chart with ID '"+S.id+"' must be destroyed before the canvas with ID '"+S.canvas.id+"' can be reused.");const $=k.createResolver(k.chartOptionScopes(),this.getContext());this.platform=new(k.platform||function Rt(O){return!(0,n.a6)()||typeof OffscreenCanvas<"u"&&O instanceof OffscreenCanvas?ts:Or}(E)),this.platform.updateConfig(k);const q=this.platform.acquireContext(E,$.aspectRatio),fe=q&&q.canvas,Ie=fe&&fe.height,xt=fe&&fe.width;this.id=(0,n.ad)(),this.ctx=q,this.canvas=fe,this.width=xt,this.height=Ie,this._options=$,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ht,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,n.ae)(St=>this.update(St),$.resizeDelay||0),this._dataChanges=[],nn[this.id]=this,q&&fe?(f.listen(this,"complete",Et),f.listen(this,"progress",Yt),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:b,maintainAspectRatio:h},width:k,height:E,_aspectRatio:S}=this;return(0,n.k)(b)?h&&S?S:E?k/E:null:b}get data(){return this.config.data}set data(b){this.config.data=b}get options(){return this._options}set options(b){this.config.options=b}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,n.af)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,n.ag)(this.canvas,this.ctx),this}stop(){return f.stop(this),this}resize(b,h){f.running(this)?this._resizeBeforeDraw={width:b,height:h}:this._resize(b,h)}_resize(b,h){const k=this.options,$=this.platform.getMaximumSize(this.canvas,b,h,k.maintainAspectRatio&&this.aspectRatio),q=k.devicePixelRatio||this.platform.getDevicePixelRatio(),fe=this.width?"resize":"attach";this.width=$.width,this.height=$.height,this._aspectRatio=this.aspectRatio,(0,n.af)(this,q,!0)&&(this.notifyPlugins("resize",{size:$}),(0,n.C)(k.onResize,[this,$],this),this.attached&&this._doResize(fe)&&this.render())}ensureScalesHaveIDs(){(0,n.Q)(this.options.scales||{},(k,E)=>{k.id=E})}buildOrUpdateScales(){const b=this.options,h=b.scales,k=this.scales,E=Object.keys(k).reduce(($,q)=>($[q]=!1,$),{});let S=[];h&&(S=S.concat(Object.keys(h).map($=>{const q=h[$],fe=Ao($,q),Ie="r"===fe,xt="x"===fe;return{options:q,dposition:Ie?"chartArea":xt?"bottom":"left",dtype:Ie?"radialLinear":xt?"category":"linear"}}))),(0,n.Q)(S,$=>{const q=$.options,fe=q.id,Ie=Ao(fe,q),xt=(0,n.v)(q.type,$.dtype);(void 0===q.position||rt(q.position,Ie)!==rt($.dposition))&&(q.position=$.dposition),E[fe]=!0;let St=null;fe in k&&k[fe].type===xt?St=k[fe]:(St=new(fo.getScale(xt))({id:fe,type:xt,ctx:this.ctx,chart:this}),k[St.id]=St),St.init(q,b)}),(0,n.Q)(E,($,q)=>{$||delete k[q]}),(0,n.Q)(k,$=>{Vi.configure(this,$,$.options),Vi.addBox(this,$)})}_updateMetasets(){const b=this._metasets,h=this.data.datasets.length,k=b.length;if(b.sort((E,S)=>E.index-S.index),k>h){for(let E=h;Eh.length&&delete this._stacks,b.forEach((k,E)=>{0===h.filter(S=>S===k._dataset).length&&this._destroyDatasetMeta(E)})}buildOrUpdateControllers(){const b=[],h=this.data.datasets;let k,E;for(this._removeUnreferencedMetasets(),k=0,E=h.length;k{this.getDatasetMeta(h).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(b){const h=this.config;h.update();const k=this._options=h.createResolver(h.chartOptionScopes(),this.getContext()),E=this._animationsDisabled=!k.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:b,cancelable:!0}))return;const S=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let $=0;for(let Ie=0,xt=this.data.datasets.length;Ie{Ie.reset()}),this._updateDatasets(b),this.notifyPlugins("afterUpdate",{mode:b}),this._layers.sort(Kt("z","_idx"));const{_active:q,_lastEvent:fe}=this;fe?this._eventHandler(fe,!0):q.length&&this._updateHoverStyles(q,q,!0),this.render()}_updateScales(){(0,n.Q)(this.scales,b=>{Vi.removeBox(this,b)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const b=this.options,h=new Set(Object.keys(this._listeners)),k=new Set(b.events);(!(0,n.ah)(h,k)||!!this._responsiveListeners!==b.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:b}=this,h=this._getUniformDataChanges()||[];for(const{method:k,start:E,count:S}of h)yo(b,E,"_removeElements"===k?-S:S)}_getUniformDataChanges(){const b=this._dataChanges;if(!b||!b.length)return;this._dataChanges=[];const h=this.data.datasets.length,k=S=>new Set(b.filter($=>$[0]===S).map(($,q)=>q+","+$.splice(1).join(","))),E=k(0);for(let S=1;SS.split(",")).map(S=>({method:S[1],start:+S[2],count:+S[3]}))}_updateLayout(b){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Vi.update(this,this.width,this.height,b);const h=this.chartArea,k=h.width<=0||h.height<=0;this._layers=[],(0,n.Q)(this.boxes,E=>{k&&"chartArea"===E.position||(E.configure&&E.configure(),this._layers.push(...E._layers()))},this),this._layers.forEach((E,S)=>{E._idx=S}),this.notifyPlugins("afterLayout")}_updateDatasets(b){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:b,cancelable:!0})){for(let h=0,k=this.data.datasets.length;h=0;--h)this._drawDataset(b[h]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(b){const h=this.ctx,k=b._clip,E=!k.disabled,S=this.chartArea,$={meta:b,index:b.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",$)&&(E&&(0,n.L)(h,{left:!1===k.left?0:S.left-k.left,right:!1===k.right?this.width:S.right+k.right,top:!1===k.top?0:S.top-k.top,bottom:!1===k.bottom?this.height:S.bottom+k.bottom}),b.controller.draw(),E&&(0,n.N)(h),$.cancelable=!1,this.notifyPlugins("afterDatasetDraw",$))}isPointInArea(b){return(0,n.$)(b,this.chartArea,this._minPadding)}getElementsAtEventForMode(b,h,k,E){const S=Vo.modes[h];return"function"==typeof S?S(this,b,k,E):[]}getDatasetMeta(b){const h=this.data.datasets[b],k=this._metasets;let E=k.filter(S=>S&&S._dataset===h).pop();return E||(E={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:h&&h.order||0,index:b,_dataset:h,_parsed:[],_sorted:!1},k.push(E)),E}getContext(){return this.$context||(this.$context=(0,n.h)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(b){const h=this.data.datasets[b];if(!h)return!1;const k=this.getDatasetMeta(b);return"boolean"==typeof k.hidden?!k.hidden:!h.hidden}setDatasetVisibility(b,h){this.getDatasetMeta(b).hidden=!h}toggleDataVisibility(b){this._hiddenIndices[b]=!this._hiddenIndices[b]}getDataVisibility(b){return!this._hiddenIndices[b]}_updateVisibility(b,h,k){const E=k?"show":"hide",S=this.getDatasetMeta(b),$=S.controller._resolveAnimations(void 0,E);(0,n.j)(h)?(S.data[h].hidden=!k,this.update()):(this.setDatasetVisibility(b,k),$.update(S,{visible:k}),this.update(q=>q.datasetIndex===b?E:void 0))}hide(b,h){this._updateVisibility(b,h,!1)}show(b,h){this._updateVisibility(b,h,!0)}_destroyDatasetMeta(b){const h=this._metasets[b];h&&h.controller&&h.controller._destroy(),delete this._metasets[b]}_stop(){let b,h;for(this.stop(),f.remove(this),b=0,h=this.data.datasets.length;b{h.addEventListener(this,S,$),b[S]=$},E=(S,$,q)=>{S.offsetX=$,S.offsetY=q,this._eventHandler(S)};(0,n.Q)(this.options.events,S=>k(S,E))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const b=this._responsiveListeners,h=this.platform,k=(fe,Ie)=>{h.addEventListener(this,fe,Ie),b[fe]=Ie},E=(fe,Ie)=>{b[fe]&&(h.removeEventListener(this,fe,Ie),delete b[fe])},S=(fe,Ie)=>{this.canvas&&this.resize(fe,Ie)};let $;const q=()=>{E("attach",q),this.attached=!0,this.resize(),k("resize",S),k("detach",$)};$=()=>{this.attached=!1,E("resize",S),this._stop(),this._resize(0,0),k("attach",q)},h.isAttached(this.canvas)?q():$()}unbindEvents(){(0,n.Q)(this._listeners,(b,h)=>{this.platform.removeEventListener(this,h,b)}),this._listeners={},(0,n.Q)(this._responsiveListeners,(b,h)=>{this.platform.removeEventListener(this,h,b)}),this._responsiveListeners=void 0}updateHoverStyle(b,h,k){const E=k?"set":"remove";let S,$,q,fe;for("dataset"===h&&(S=this.getDatasetMeta(b[0].datasetIndex),S.controller["_"+E+"DatasetHoverStyle"]()),q=0,fe=b.length;q{const q=this.getDatasetMeta(S);if(!q)throw new Error("No dataset found at index "+S);return{datasetIndex:S,element:q.data[$],index:$}});!(0,n.ai)(k,h)&&(this._active=k,this._lastEvent=null,this._updateHoverStyles(k,h))}notifyPlugins(b,h,k){return this._plugins.notify(this,b,h,k)}_updateHoverStyles(b,h,k){const E=this.options.hover,S=(fe,Ie)=>fe.filter(xt=>!Ie.some(St=>xt.datasetIndex===St.datasetIndex&&xt.index===St.index)),$=S(h,b),q=k?b:S(b,h);$.length&&this.updateHoverStyle($,E.mode,!1),q.length&&E.mode&&this.updateHoverStyle(q,E.mode,!0)}_eventHandler(b,h){const k={event:b,replay:h,cancelable:!0,inChartArea:this.isPointInArea(b)},E=$=>($.options.events||this.options.events).includes(b.native.type);if(!1===this.notifyPlugins("beforeEvent",k,E))return;const S=this._handleEvent(b,h,k.inChartArea);return k.cancelable=!1,this.notifyPlugins("afterEvent",k,E),(S||k.changed)&&this.render(),this}_handleEvent(b,h,k){const{_active:E=[],options:S}=this,q=this._getActiveElements(b,E,k,h),fe=(0,n.aj)(b),Ie=function Xo(O,b,h,k){return h&&"mouseout"!==O.type?k?b:O:null}(b,this._lastEvent,k,fe);k&&(this._lastEvent=null,(0,n.C)(S.onHover,[b,q,this],this),fe&&(0,n.C)(S.onClick,[b,q,this],this));const xt=!(0,n.ai)(q,E);return(xt||h)&&(this._active=q,this._updateHoverStyles(q,E,h)),this._lastEvent=Ie,xt}_getActiveElements(b,h,k,E){if("mouseout"===b.type)return[];if(!k)return h;const S=this.options.hover;return this.getElementsAtEventForMode(b,S.mode,S,E)}}const Oi=()=>(0,n.Q)(Ho.instances,O=>O._plugins.invalidate()),ui=!0;function Ko(O,b,h){const{startAngle:k,pixelMargin:E,x:S,y:$,outerRadius:q,innerRadius:fe}=b;let Ie=E/q;O.beginPath(),O.arc(S,$,q,k-Ie,h+Ie),fe>E?(Ie=E/fe,O.arc(S,$,fe,h+Ie,k-Ie,!0)):O.arc(S,$,E,h+n.H,k-n.H),O.closePath(),O.clip()}function Qo(O,b,h,k){return{x:h+O*Math.cos(b),y:k+O*Math.sin(b)}}function ki(O,b,h,k,E,S){const{x:$,y:q,startAngle:fe,pixelMargin:Ie,innerRadius:xt}=b,St=Math.max(b.outerRadius+k+h-Ie,0),yn=xt>0?xt+k+h+Ie:0;let An=0;const Wn=E-fe;if(k){const jr=((xt>0?xt-k:0)+(St>0?St-k:0))/2;An=(Wn-(0!==jr?Wn*jr/(jr+k):Wn))/2}const wo=(Wn-Math.max(.001,Wn*St-h/n.P)/St)/2,Io=fe+wo+An,Fo=E-wo-An,{outerStart:U,outerEnd:ae,innerStart:V,innerEnd:ce}=function di(O,b,h,k){const E=function ai(O){return(0,n.al)(O,["outerStart","outerEnd","innerStart","innerEnd"])}(O.options.borderRadius),S=(h-b)/2,$=Math.min(S,k*b/2),q=fe=>{const Ie=(h-Math.min(S,fe))*k/2;return(0,n.E)(fe,0,Math.min(S,Ie))};return{outerStart:q(E.outerStart),outerEnd:q(E.outerEnd),innerStart:(0,n.E)(E.innerStart,0,$),innerEnd:(0,n.E)(E.innerEnd,0,$)}}(b,yn,St,Fo-Io),Ae=St-U,bt=St-ae,$t=Io+U/Ae,io=Fo-ae/bt,zn=yn+V,Lo=yn+ce,Ei=Io+V/zn,tr=Fo-ce/Lo;if(O.beginPath(),S){if(O.arc($,q,St,$t,io),ae>0){const jr=Qo(bt,io,$,q);O.arc(jr.x,jr.y,ae,io,Fo+n.H)}const Bi=Qo(Lo,Fo,$,q);if(O.lineTo(Bi.x,Bi.y),ce>0){const jr=Qo(Lo,tr,$,q);O.arc(jr.x,jr.y,ce,Fo+n.H,tr+Math.PI)}if(O.arc($,q,yn,Fo-ce/yn,Io+V/yn,!0),V>0){const jr=Qo(zn,Ei,$,q);O.arc(jr.x,jr.y,V,Ei+Math.PI,Io-n.H)}const as=Qo(Ae,Io,$,q);if(O.lineTo(as.x,as.y),U>0){const jr=Qo(Ae,$t,$,q);O.arc(jr.x,jr.y,U,Io-n.H,$t)}}else{O.moveTo($,q);const Bi=Math.cos($t)*St+$,as=Math.sin($t)*St+q;O.lineTo(Bi,as);const jr=Math.cos(io)*St+$,Hs=Math.sin(io)*St+q;O.lineTo(jr,Hs)}O.closePath()}Object.defineProperties(Ho,{defaults:{enumerable:ui,value:n.d},instances:{enumerable:ui,value:nn},overrides:{enumerable:ui,value:n.U},registry:{enumerable:ui,value:fo},version:{enumerable:ui,value:"3.9.1"},getChart:{enumerable:ui,value:mo},register:{enumerable:ui,value:(...O)=>{fo.add(...O),Oi()}},unregister:{enumerable:ui,value:(...O)=>{fo.remove(...O),Oi()}}});class Jr extends Cn{constructor(b){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,b&&Object.assign(this,b)}inRange(b,h,k){const E=this.getProps(["x","y"],k),{angle:S,distance:$}=(0,n.a0)(E,{x:b,y:h}),{startAngle:q,endAngle:fe,innerRadius:Ie,outerRadius:xt,circumference:St}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],k),yn=this.options.spacing/2,Wn=(0,n.v)(St,fe-q)>=n.T||(0,n.p)(S,q,fe),Kn=(0,n.ak)($,Ie+yn,xt+yn);return Wn&&Kn}getCenterPoint(b){const{x:h,y:k,startAngle:E,endAngle:S,innerRadius:$,outerRadius:q}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],b),{offset:fe,spacing:Ie}=this.options,xt=(E+S)/2,St=($+q+Ie+fe)/2;return{x:h+Math.cos(xt)*St,y:k+Math.sin(xt)*St}}tooltipPosition(b){return this.getCenterPoint(b)}draw(b){const{options:h,circumference:k}=this,E=(h.offset||0)/2,S=(h.spacing||0)/2,$=h.circular;if(this.pixelMargin="inner"===h.borderAlign?.33:0,this.fullCircles=k>n.T?Math.floor(k/n.T):0,0===k||this.innerRadius<0||this.outerRadius<0)return;b.save();let q=0;if(E){q=E/2;const Ie=(this.startAngle+this.endAngle)/2;b.translate(Math.cos(Ie)*q,Math.sin(Ie)*q),this.circumference>=n.P&&(q=E)}b.fillStyle=h.backgroundColor,b.strokeStyle=h.borderColor;const fe=function li(O,b,h,k,E){const{fullCircles:S,startAngle:$,circumference:q}=b;let fe=b.endAngle;if(S){ki(O,b,h,k,$+n.T,E);for(let Ie=0;Ieq&&S>q)?k+Ie-fe:Ie-fe}}function Xi(O,b,h,k){const{points:E,options:S}=b,{count:$,start:q,loop:fe,ilen:Ie}=Li(E,h,k),xt=function zr(O){return O.stepped?n.as:O.tension||"monotone"===O.cubicInterpolationMode?n.at:Nr}(S);let An,Wn,Kn,{move:St=!0,reverse:yn}=k||{};for(An=0;An<=Ie;++An)Wn=E[(q+(yn?Ie-An:An))%$],!Wn.skip&&(St?(O.moveTo(Wn.x,Wn.y),St=!1):xt(O,Kn,Wn,yn,S.stepped),Kn=Wn);return fe&&(Wn=E[(q+(yn?Ie:0))%$],xt(O,Kn,Wn,yn,S.stepped)),!!fe}function pi(O,b,h,k){const E=b.points,{count:S,start:$,ilen:q}=Li(E,h,k),{move:fe=!0,reverse:Ie}=k||{};let yn,An,Wn,Kn,wo,Io,xt=0,St=0;const Fo=ae=>($+(Ie?q-ae:ae))%S,U=()=>{Kn!==wo&&(O.lineTo(xt,wo),O.lineTo(xt,Kn),O.lineTo(xt,Io))};for(fe&&(An=E[Fo(0)],O.moveTo(An.x,An.y)),yn=0;yn<=q;++yn){if(An=E[Fo(yn)],An.skip)continue;const ae=An.x,V=An.y,ce=0|ae;ce===Wn?(Vwo&&(wo=V),xt=(St*xt+ae)/++St):(U(),O.lineTo(ae,V),Wn=ce,St=0,Kn=wo=V),Io=V}U()}function m(O){const b=O.options;return O._decimated||O._loop||b.tension||"monotone"===b.cubicInterpolationMode||b.stepped||b.borderDash&&b.borderDash.length?Xi:pi}Jr.id="arc",Jr.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},Jr.defaultRoutes={backgroundColor:"backgroundColor"};const Be="function"==typeof Path2D;let mt=(()=>{class O extends Cn{constructor(h){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,h&&Object.assign(this,h)}updateControlPoints(h,k){const E=this.options;!E.tension&&"monotone"!==E.cubicInterpolationMode||E.stepped||this._pointsUpdated||((0,n.am)(this._points,E,h,E.spanGaps?this._loop:this._fullLoop,k),this._pointsUpdated=!0)}set points(h){this._points=h,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,n.an)(this,this.options.segment))}first(){const h=this.segments;return h.length&&this.points[h[0].start]}last(){const h=this.segments,E=h.length;return E&&this.points[h[E-1].end]}interpolate(h,k){const E=this.options,S=h[k],$=this.points,q=(0,n.ao)(this,{property:k,start:S,end:S});if(!q.length)return;const fe=[],Ie=function se(O){return O.stepped?n.ap:O.tension||"monotone"===O.cubicInterpolationMode?n.aq:n.ar}(E);let xt,St;for(xt=0,St=q.length;xt"borderDash"!==b&&"fill"!==b},O})();function qe(O,b,h,k){const E=O.options,{[h]:S}=O.getProps([h],k);return Math.abs(b-S){class O extends Cn{constructor(h){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,h&&Object.assign(this,h)}inRange(h,k,E){const S=this.options,{x:$,y:q}=this.getProps(["x","y"],E);return Math.pow(h-$,2)+Math.pow(k-q,2)O;b--){const k=h[b];if(!isNaN(k.x)&&!isNaN(k.y))break}return b}function Pn(O,b,h,k){return O&&b?k(O[h],b[h]):O?O[h]:b?b[h]:0}function ao(O,b){let h=[],k=!1;return(0,n.b)(O)?(k=!0,h=O):h=function Pe(O,b){const{x:h=null,y:k=null}=O||{},E=b.points,S=[];return b.segments.forEach(({start:$,end:q})=>{q=Ue($,q,E);const fe=E[$],Ie=E[q];null!==k?(S.push({x:fe.x,y:k}),S.push({x:Ie.x,y:k})):null!==h&&(S.push({x:h,y:fe.y}),S.push({x:h,y:Ie.y}))}),S}(O,b),h.length?new mt({points:h,options:{tension:0},_loop:k,_fullLoop:k}):null}function ro(O){return O&&!1!==O.fill}function Bo(O,b,h){let E=O[b].fill;const S=[b];let $;if(!h)return E;for(;!1!==E&&-1===S.indexOf(E);){if(!(0,n.g)(E))return E;if($=O[E],!$)return!1;if($.visible)return E;S.push(E),E=$.fill}return!1}function Mo(O,b,h){const k=function ji(O){const b=O.options,h=b.fill;let k=(0,n.v)(h&&h.target,h);return void 0===k&&(k=!!b.backgroundColor),!1!==k&&null!==k&&(!0===k?"origin":k)}(O);if((0,n.i)(k))return!isNaN(k.value)&&k;let E=parseFloat(k);return(0,n.g)(E)&&Math.floor(E)===E?function Di(O,b,h,k){return("-"===O||"+"===O)&&(h=b+h),!(h===b||h<0||h>=k)&&h}(k[0],b,E,h):["origin","start","end","stack","shape"].indexOf(k)>=0&&k}function xe(O,b,h){const k=[];for(let E=0;E=0;--$){const q=E[$].$filler;q&&(q.line.updateControlPoints(S,q.axis),k&&q.fill&&Uo(O.ctx,q,S))}},beforeDatasetsDraw(O,b,h){if("beforeDatasetsDraw"!==h.drawTime)return;const k=O.getSortedVisibleDatasetMetas();for(let E=k.length-1;E>=0;--E){const S=k[E].$filler;ro(S)&&Uo(O.ctx,S,O.chartArea)}},beforeDatasetDraw(O,b,h){const k=b.meta.$filler;!ro(k)||"beforeDatasetDraw"!==h.drawTime||Uo(O.ctx,k,O.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Us=(O,b)=>{let{boxHeight:h=b,boxWidth:k=b}=O;return O.usePointStyle&&(h=Math.min(h,b),k=O.pointStyleWidth||Math.min(k,b)),{boxWidth:k,boxHeight:h,itemHeight:Math.max(b,h)}};class ia extends Cn{constructor(b){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=b.chart,this.options=b.options,this.ctx=b.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(b,h,k){this.maxWidth=b,this.maxHeight=h,this._margins=k,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const b=this.options.labels||{};let h=(0,n.C)(b.generateLabels,[this.chart],this)||[];b.filter&&(h=h.filter(k=>b.filter(k,this.chart.data))),b.sort&&(h=h.sort((k,E)=>b.sort(k,E,this.chart.data))),this.options.reverse&&h.reverse(),this.legendItems=h}fit(){const{options:b,ctx:h}=this;if(!b.display)return void(this.width=this.height=0);const k=b.labels,E=(0,n.O)(k.font),S=E.size,$=this._computeTitleHeight(),{boxWidth:q,itemHeight:fe}=Us(k,S);let Ie,xt;h.font=E.string,this.isHorizontal()?(Ie=this.maxWidth,xt=this._fitRows($,S,q,fe)+10):(xt=this.maxHeight,Ie=this._fitCols($,S,q,fe)+10),this.width=Math.min(Ie,b.maxWidth||this.maxWidth),this.height=Math.min(xt,b.maxHeight||this.maxHeight)}_fitRows(b,h,k,E){const{ctx:S,maxWidth:$,options:{labels:{padding:q}}}=this,fe=this.legendHitBoxes=[],Ie=this.lineWidths=[0],xt=E+q;let St=b;S.textAlign="left",S.textBaseline="middle";let yn=-1,An=-xt;return this.legendItems.forEach((Wn,Kn)=>{const wo=k+h/2+S.measureText(Wn.text).width;(0===Kn||Ie[Ie.length-1]+wo+2*q>$)&&(St+=xt,Ie[Ie.length-(Kn>0?0:1)]=0,An+=xt,yn++),fe[Kn]={left:0,top:An,row:yn,width:wo,height:E},Ie[Ie.length-1]+=wo+q}),St}_fitCols(b,h,k,E){const{ctx:S,maxHeight:$,options:{labels:{padding:q}}}=this,fe=this.legendHitBoxes=[],Ie=this.columnSizes=[],xt=$-b;let St=q,yn=0,An=0,Wn=0,Kn=0;return this.legendItems.forEach((wo,Io)=>{const Fo=k+h/2+S.measureText(wo.text).width;Io>0&&An+E+2*q>xt&&(St+=yn+q,Ie.push({width:yn,height:An}),Wn+=yn+q,Kn++,yn=An=0),fe[Io]={left:Wn,top:An,col:Kn,width:Fo,height:E},yn=Math.max(yn,Fo),An+=E+q}),St+=yn,Ie.push({width:yn,height:An}),St}adjustHitBoxes(){if(!this.options.display)return;const b=this._computeTitleHeight(),{legendHitBoxes:h,options:{align:k,labels:{padding:E},rtl:S}}=this,$=(0,n.aA)(S,this.left,this.width);if(this.isHorizontal()){let q=0,fe=(0,n.S)(k,this.left+E,this.right-this.lineWidths[q]);for(const Ie of h)q!==Ie.row&&(q=Ie.row,fe=(0,n.S)(k,this.left+E,this.right-this.lineWidths[q])),Ie.top+=this.top+b+E,Ie.left=$.leftForLtr($.x(fe),Ie.width),fe+=Ie.width+E}else{let q=0,fe=(0,n.S)(k,this.top+b+E,this.bottom-this.columnSizes[q].height);for(const Ie of h)Ie.col!==q&&(q=Ie.col,fe=(0,n.S)(k,this.top+b+E,this.bottom-this.columnSizes[q].height)),Ie.top=fe,Ie.left+=this.left+E,Ie.left=$.leftForLtr($.x(Ie.left),Ie.width),fe+=Ie.height+E}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const b=this.ctx;(0,n.L)(b,this),this._draw(),(0,n.N)(b)}}_draw(){const{options:b,columnSizes:h,lineWidths:k,ctx:E}=this,{align:S,labels:$}=b,q=n.d.color,fe=(0,n.aA)(b.rtl,this.left,this.width),Ie=(0,n.O)($.font),{color:xt,padding:St}=$,yn=Ie.size,An=yn/2;let Wn;this.drawTitle(),E.textAlign=fe.textAlign("left"),E.textBaseline="middle",E.lineWidth=.5,E.font=Ie.string;const{boxWidth:Kn,boxHeight:wo,itemHeight:Io}=Us($,yn),ae=this.isHorizontal(),V=this._computeTitleHeight();Wn=ae?{x:(0,n.S)(S,this.left+St,this.right-k[0]),y:this.top+St+V,line:0}:{x:this.left+St,y:(0,n.S)(S,this.top+V+St,this.bottom-h[0].height),line:0},(0,n.aB)(this.ctx,b.textDirection);const ce=Io+St;this.legendItems.forEach((Ae,bt)=>{E.strokeStyle=Ae.fontColor||xt,E.fillStyle=Ae.fontColor||xt;const $t=E.measureText(Ae.text).width,io=fe.textAlign(Ae.textAlign||(Ae.textAlign=$.textAlign)),zn=Kn+An+$t;let Lo=Wn.x,Ei=Wn.y;fe.setWidth(this.width),ae?bt>0&&Lo+zn+St>this.right&&(Ei=Wn.y+=ce,Wn.line++,Lo=Wn.x=(0,n.S)(S,this.left+St,this.right-k[Wn.line])):bt>0&&Ei+ce>this.bottom&&(Lo=Wn.x=Lo+h[Wn.line].width+St,Wn.line++,Ei=Wn.y=(0,n.S)(S,this.top+V+St,this.bottom-h[Wn.line].height)),function(Ae,bt,$t){if(isNaN(Kn)||Kn<=0||isNaN(wo)||wo<0)return;E.save();const io=(0,n.v)($t.lineWidth,1);if(E.fillStyle=(0,n.v)($t.fillStyle,q),E.lineCap=(0,n.v)($t.lineCap,"butt"),E.lineDashOffset=(0,n.v)($t.lineDashOffset,0),E.lineJoin=(0,n.v)($t.lineJoin,"miter"),E.lineWidth=io,E.strokeStyle=(0,n.v)($t.strokeStyle,q),E.setLineDash((0,n.v)($t.lineDash,[])),$.usePointStyle){const zn={radius:wo*Math.SQRT2/2,pointStyle:$t.pointStyle,rotation:$t.rotation,borderWidth:io},Lo=fe.xPlus(Ae,Kn/2);(0,n.aE)(E,zn,Lo,bt+An,$.pointStyleWidth&&Kn)}else{const zn=bt+Math.max((yn-wo)/2,0),Lo=fe.leftForLtr(Ae,Kn),Ei=(0,n.ax)($t.borderRadius);E.beginPath(),Object.values(Ei).some(tr=>0!==tr)?(0,n.av)(E,{x:Lo,y:zn,w:Kn,h:wo,radius:Ei}):E.rect(Lo,zn,Kn,wo),E.fill(),0!==io&&E.stroke()}E.restore()}(fe.x(Lo),Ei,Ae),Lo=(0,n.aC)(io,Lo+Kn+An,ae?Lo+zn:this.right,b.rtl),function(Ae,bt,$t){(0,n.M)(E,$t.text,Ae,bt+Io/2,Ie,{strikethrough:$t.hidden,textAlign:fe.textAlign($t.textAlign)})}(fe.x(Lo),Ei,Ae),ae?Wn.x+=zn+St:Wn.y+=ce}),(0,n.aD)(this.ctx,b.textDirection)}drawTitle(){const b=this.options,h=b.title,k=(0,n.O)(h.font),E=(0,n.K)(h.padding);if(!h.display)return;const S=(0,n.aA)(b.rtl,this.left,this.width),$=this.ctx,q=h.position,Ie=E.top+k.size/2;let xt,St=this.left,yn=this.width;if(this.isHorizontal())yn=Math.max(...this.lineWidths),xt=this.top+Ie,St=(0,n.S)(b.align,St,this.right-yn);else{const Wn=this.columnSizes.reduce((Kn,wo)=>Math.max(Kn,wo.height),0);xt=Ie+(0,n.S)(b.align,this.top,this.bottom-Wn-b.labels.padding-this._computeTitleHeight())}const An=(0,n.S)(q,St,St+yn);$.textAlign=S.textAlign((0,n.R)(q)),$.textBaseline="middle",$.strokeStyle=h.color,$.fillStyle=h.color,$.font=k.string,(0,n.M)($,h.text,An,xt,k)}_computeTitleHeight(){const b=this.options.title,h=(0,n.O)(b.font),k=(0,n.K)(b.padding);return b.display?h.lineHeight+k.height:0}_getLegendItemAt(b,h){let k,E,S;if((0,n.ak)(b,this.left,this.right)&&(0,n.ak)(h,this.top,this.bottom))for(S=this.legendHitBoxes,k=0;knull!==O&&null!==b&&O.datasetIndex===b.datasetIndex&&O.index===b.index)(E,k);E&&!S&&(0,n.C)(h.onLeave,[b,E,this],this),this._hoveredItem=k,k&&!S&&(0,n.C)(h.onHover,[b,k,this],this)}else k&&(0,n.C)(h.onClick,[b,k,this],this)}}var Ds={id:"legend",_element:ia,start(O,b,h){const k=O.legend=new ia({ctx:O.ctx,options:h,chart:O});Vi.configure(O,k,h),Vi.addBox(O,k)},stop(O){Vi.removeBox(O,O.legend),delete O.legend},beforeUpdate(O,b,h){const k=O.legend;Vi.configure(O,k,h),k.options=h},afterUpdate(O){const b=O.legend;b.buildLabels(),b.adjustHitBoxes()},afterEvent(O,b){b.replay||O.legend.handleEvent(b.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(O,b,h){const k=b.datasetIndex,E=h.chart;E.isDatasetVisible(k)?(E.hide(k),b.hidden=!0):(E.show(k),b.hidden=!1)},onHover:null,onLeave:null,labels:{color:O=>O.chart.options.color,boxWidth:40,padding:10,generateLabels(O){const b=O.data.datasets,{labels:{usePointStyle:h,pointStyle:k,textAlign:E,color:S}}=O.legend.options;return O._getSortedDatasetMetas().map($=>{const q=$.controller.getStyle(h?0:void 0),fe=(0,n.K)(q.borderWidth);return{text:b[$.index].label,fillStyle:q.backgroundColor,fontColor:S,hidden:!$.visible,lineCap:q.borderCapStyle,lineDash:q.borderDash,lineDashOffset:q.borderDashOffset,lineJoin:q.borderJoinStyle,lineWidth:(fe.width+fe.height)/4,strokeStyle:q.borderColor,pointStyle:k||q.pointStyle,rotation:q.rotation,textAlign:E||q.textAlign,borderRadius:0,datasetIndex:$.index}},this)}},title:{color:O=>O.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:O=>!O.startsWith("on"),labels:{_scriptable:O=>!["generateLabels","filter","sort"].includes(O)}}};const Br={average(O){if(!O.length)return!1;let b,h,k=0,E=0,S=0;for(b=0,h=O.length;b-1?O.split("\n"):O}function ss(O,b){const{element:h,datasetIndex:k,index:E}=b,S=O.getDatasetMeta(k).controller,{label:$,value:q}=S.getLabelAndValue(E);return{chart:O,label:$,parsed:S.getParsed(E),raw:O.data.datasets[k].data[E],formattedValue:q,dataset:S.getDataset(),dataIndex:E,datasetIndex:k,element:h}}function bs(O,b){const h=O.chart.ctx,{body:k,footer:E,title:S}=O,{boxWidth:$,boxHeight:q}=b,fe=(0,n.O)(b.bodyFont),Ie=(0,n.O)(b.titleFont),xt=(0,n.O)(b.footerFont),St=S.length,yn=E.length,An=k.length,Wn=(0,n.K)(b.padding);let Kn=Wn.height,wo=0,Io=k.reduce((ae,V)=>ae+V.before.length+V.lines.length+V.after.length,0);Io+=O.beforeBody.length+O.afterBody.length,St&&(Kn+=St*Ie.lineHeight+(St-1)*b.titleSpacing+b.titleMarginBottom),Io&&(Kn+=An*(b.displayColors?Math.max(q,fe.lineHeight):fe.lineHeight)+(Io-An)*fe.lineHeight+(Io-1)*b.bodySpacing),yn&&(Kn+=b.footerMarginTop+yn*xt.lineHeight+(yn-1)*b.footerSpacing);let Fo=0;const U=function(ae){wo=Math.max(wo,h.measureText(ae).width+Fo)};return h.save(),h.font=Ie.string,(0,n.Q)(O.title,U),h.font=fe.string,(0,n.Q)(O.beforeBody.concat(O.afterBody),U),Fo=b.displayColors?$+2+b.boxPadding:0,(0,n.Q)(k,ae=>{(0,n.Q)(ae.before,U),(0,n.Q)(ae.lines,U),(0,n.Q)(ae.after,U)}),Fo=0,h.font=xt.string,(0,n.Q)(O.footer,U),h.restore(),wo+=Wn.width,{width:wo,height:Kn}}function Ea(O,b,h,k){const{x:E,width:S}=h,{width:$,chartArea:{left:q,right:fe}}=O;let Ie="center";return"center"===k?Ie=E<=(q+fe)/2?"left":"right":E<=S/2?Ie="left":E>=$-S/2&&(Ie="right"),function xs(O,b,h,k){const{x:E,width:S}=k,$=h.caretSize+h.caretPadding;if("left"===O&&E+S+$>b.width||"right"===O&&E-S-$<0)return!0}(Ie,O,b,h)&&(Ie="center"),Ie}function qr(O,b,h){const k=h.yAlign||b.yAlign||function $s(O,b){const{y:h,height:k}=b;return hO.height-k/2?"bottom":"center"}(O,h);return{xAlign:h.xAlign||b.xAlign||Ea(O,b,h,k),yAlign:k}}function ar(O,b,h,k){const{caretSize:E,caretPadding:S,cornerRadius:$}=O,{xAlign:q,yAlign:fe}=h,Ie=E+S,{topLeft:xt,topRight:St,bottomLeft:yn,bottomRight:An}=(0,n.ax)($);let Wn=function ms(O,b){let{x:h,width:k}=O;return"right"===b?h-=k:"center"===b&&(h-=k/2),h}(b,q);const Kn=function ra(O,b,h){let{y:k,height:E}=O;return"top"===b?k+=h:k-="bottom"===b?E+h:E/2,k}(b,fe,Ie);return"center"===fe?"left"===q?Wn+=Ie:"right"===q&&(Wn-=Ie):"left"===q?Wn-=Math.max(xt,yn)+E:"right"===q&&(Wn+=Math.max(St,An)+E),{x:(0,n.E)(Wn,0,k.width-b.width),y:(0,n.E)(Kn,0,k.height-b.height)}}function ue(O,b,h){const k=(0,n.K)(h.padding);return"center"===b?O.x+O.width/2:"right"===b?O.x+O.width-k.right:O.x+k.left}function gt(O){return Zo([],Zi(O))}function Ze(O,b){const h=b&&b.dataset&&b.dataset.tooltip&&b.dataset.tooltip.callbacks;return h?O.override(h):O}let bn=(()=>{class O extends Cn{constructor(h){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=h.chart||h._chart,this._chart=this.chart,this.options=h.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(h){this.options=h,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const h=this._cachedAnimations;if(h)return h;const k=this.chart,E=this.options.setContext(this.getContext()),S=E.enabled&&k.options.animation&&E.animations,$=new M(this.chart,S);return S._cacheable&&(this._cachedAnimations=Object.freeze($)),$}getContext(){return this.$context||(this.$context=function Oe(O,b,h){return(0,n.h)(O,{tooltip:b,tooltipItems:h,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(h,k){const{callbacks:E}=k,S=E.beforeTitle.apply(this,[h]),$=E.title.apply(this,[h]),q=E.afterTitle.apply(this,[h]);let fe=[];return fe=Zo(fe,Zi(S)),fe=Zo(fe,Zi($)),fe=Zo(fe,Zi(q)),fe}getBeforeBody(h,k){return gt(k.callbacks.beforeBody.apply(this,[h]))}getBody(h,k){const{callbacks:E}=k,S=[];return(0,n.Q)(h,$=>{const q={before:[],lines:[],after:[]},fe=Ze(E,$);Zo(q.before,Zi(fe.beforeLabel.call(this,$))),Zo(q.lines,fe.label.call(this,$)),Zo(q.after,Zi(fe.afterLabel.call(this,$))),S.push(q)}),S}getAfterBody(h,k){return gt(k.callbacks.afterBody.apply(this,[h]))}getFooter(h,k){const{callbacks:E}=k,S=E.beforeFooter.apply(this,[h]),$=E.footer.apply(this,[h]),q=E.afterFooter.apply(this,[h]);let fe=[];return fe=Zo(fe,Zi(S)),fe=Zo(fe,Zi($)),fe=Zo(fe,Zi(q)),fe}_createItems(h){const k=this._active,E=this.chart.data,S=[],$=[],q=[];let Ie,xt,fe=[];for(Ie=0,xt=k.length;Ieh.filter(St,yn,An,E))),h.itemSort&&(fe=fe.sort((St,yn)=>h.itemSort(St,yn,E))),(0,n.Q)(fe,St=>{const yn=Ze(h.callbacks,St);S.push(yn.labelColor.call(this,St)),$.push(yn.labelPointStyle.call(this,St)),q.push(yn.labelTextColor.call(this,St))}),this.labelColors=S,this.labelPointStyles=$,this.labelTextColors=q,this.dataPoints=fe,fe}update(h,k){const E=this.options.setContext(this.getContext()),S=this._active;let $,q=[];if(S.length){const fe=Br[E.position].call(this,S,this._eventPosition);q=this._createItems(E),this.title=this.getTitle(q,E),this.beforeBody=this.getBeforeBody(q,E),this.body=this.getBody(q,E),this.afterBody=this.getAfterBody(q,E),this.footer=this.getFooter(q,E);const Ie=this._size=bs(this,E),xt=Object.assign({},fe,Ie),St=qr(this.chart,E,xt),yn=ar(E,xt,St,this.chart);this.xAlign=St.xAlign,this.yAlign=St.yAlign,$={opacity:1,x:yn.x,y:yn.y,width:Ie.width,height:Ie.height,caretX:fe.x,caretY:fe.y}}else 0!==this.opacity&&($={opacity:0});this._tooltipItems=q,this.$context=void 0,$&&this._resolveAnimations().update(this,$),h&&E.external&&E.external.call(this,{chart:this.chart,tooltip:this,replay:k})}drawCaret(h,k,E,S){const $=this.getCaretPosition(h,E,S);k.lineTo($.x1,$.y1),k.lineTo($.x2,$.y2),k.lineTo($.x3,$.y3)}getCaretPosition(h,k,E){const{xAlign:S,yAlign:$}=this,{caretSize:q,cornerRadius:fe}=E,{topLeft:Ie,topRight:xt,bottomLeft:St,bottomRight:yn}=(0,n.ax)(fe),{x:An,y:Wn}=h,{width:Kn,height:wo}=k;let Io,Fo,U,ae,V,ce;return"center"===$?(V=Wn+wo/2,"left"===S?(Io=An,Fo=Io-q,ae=V+q,ce=V-q):(Io=An+Kn,Fo=Io+q,ae=V-q,ce=V+q),U=Io):(Fo="left"===S?An+Math.max(Ie,St)+q:"right"===S?An+Kn-Math.max(xt,yn)-q:this.caretX,"top"===$?(ae=Wn,V=ae-q,Io=Fo-q,U=Fo+q):(ae=Wn+wo,V=ae+q,Io=Fo+q,U=Fo-q),ce=ae),{x1:Io,x2:Fo,x3:U,y1:ae,y2:V,y3:ce}}drawTitle(h,k,E){const S=this.title,$=S.length;let q,fe,Ie;if($){const xt=(0,n.aA)(E.rtl,this.x,this.width);for(h.x=ue(this,E.titleAlign,E),k.textAlign=xt.textAlign(E.titleAlign),k.textBaseline="middle",q=(0,n.O)(E.titleFont),fe=E.titleSpacing,k.fillStyle=E.titleColor,k.font=q.string,Ie=0;Ie<$;++Ie)k.fillText(S[Ie],xt.x(h.x),h.y+q.lineHeight/2),h.y+=q.lineHeight+fe,Ie+1===$&&(h.y+=E.titleMarginBottom-fe)}}_drawColorBox(h,k,E,S,$){const q=this.labelColors[E],fe=this.labelPointStyles[E],{boxHeight:Ie,boxWidth:xt,boxPadding:St}=$,yn=(0,n.O)($.bodyFont),An=ue(this,"left",$),Wn=S.x(An),wo=k.y+(Ie0!==ae)?(h.beginPath(),h.fillStyle=$.multiKeyBackground,(0,n.av)(h,{x:Io,y:wo,w:xt,h:Ie,radius:U}),h.fill(),h.stroke(),h.fillStyle=q.backgroundColor,h.beginPath(),(0,n.av)(h,{x:Fo,y:wo+1,w:xt-2,h:Ie-2,radius:U}),h.fill()):(h.fillStyle=$.multiKeyBackground,h.fillRect(Io,wo,xt,Ie),h.strokeRect(Io,wo,xt,Ie),h.fillStyle=q.backgroundColor,h.fillRect(Fo,wo+1,xt-2,Ie-2))}h.fillStyle=this.labelTextColors[E]}drawBody(h,k,E){const{body:S}=this,{bodySpacing:$,bodyAlign:q,displayColors:fe,boxHeight:Ie,boxWidth:xt,boxPadding:St}=E,yn=(0,n.O)(E.bodyFont);let An=yn.lineHeight,Wn=0;const Kn=(0,n.aA)(E.rtl,this.x,this.width),wo=function($t){k.fillText($t,Kn.x(h.x+Wn),h.y+An/2),h.y+=An+$},Io=Kn.textAlign(q);let Fo,U,ae,V,ce,Ae,bt;for(k.textAlign=q,k.textBaseline="middle",k.font=yn.string,h.x=ue(this,Io,E),k.fillStyle=E.bodyColor,(0,n.Q)(this.beforeBody,wo),Wn=fe&&"right"!==Io?"center"===q?xt/2+St:xt+2+St:0,V=0,Ae=S.length;V0&&k.stroke()}_updateAnimationTarget(h){const k=this.chart,E=this.$animations,S=E&&E.x,$=E&&E.y;if(S||$){const q=Br[h.position].call(this,this._active,this._eventPosition);if(!q)return;const fe=this._size=bs(this,h),Ie=Object.assign({},q,this._size),xt=qr(k,h,Ie),St=ar(h,Ie,xt,k);(S._to!==St.x||$._to!==St.y)&&(this.xAlign=xt.xAlign,this.yAlign=xt.yAlign,this.width=fe.width,this.height=fe.height,this.caretX=q.x,this.caretY=q.y,this._resolveAnimations().update(this,St))}}_willRender(){return!!this.opacity}draw(h){const k=this.options.setContext(this.getContext());let E=this.opacity;if(!E)return;this._updateAnimationTarget(k);const S={width:this.width,height:this.height},$={x:this.x,y:this.y};E=Math.abs(E)<.001?0:E;const q=(0,n.K)(k.padding);k.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(h.save(),h.globalAlpha=E,this.drawBackground($,h,S,k),(0,n.aB)(h,k.textDirection),$.y+=q.top,this.drawTitle($,h,k),this.drawBody($,h,k),this.drawFooter($,h,k),(0,n.aD)(h,k.textDirection),h.restore())}getActiveElements(){return this._active||[]}setActiveElements(h,k){const E=this._active,S=h.map(({datasetIndex:fe,index:Ie})=>{const xt=this.chart.getDatasetMeta(fe);if(!xt)throw new Error("Cannot find a dataset at index "+fe);return{datasetIndex:fe,element:xt.data[Ie],index:Ie}}),$=!(0,n.ai)(E,S),q=this._positionChanged(S,k);($||q)&&(this._active=S,this._eventPosition=k,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(h,k,E=!0){if(k&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const S=this.options,$=this._active||[],q=this._getActiveElements(h,$,k,E),fe=this._positionChanged(q,h),Ie=k||!(0,n.ai)(q,$)||fe;return Ie&&(this._active=q,(S.enabled||S.external)&&(this._eventPosition={x:h.x,y:h.y},this.update(!0,k))),Ie}_getActiveElements(h,k,E,S){const $=this.options;if("mouseout"===h.type)return[];if(!S)return k;const q=this.chart.getElementsAtEventForMode(h,$.mode,$,E);return $.reverse&&q.reverse(),q}_positionChanged(h,k){const{caretX:E,caretY:S,options:$}=this,q=Br[$.position].call(this,h,k);return!1!==q&&(E!==q.x||S!==q.y)}}return O.positioners=Br,O})();var Eo={id:"tooltip",_element:bn,positioners:Br,afterInit(O,b,h){h&&(O.tooltip=new bn({chart:O,options:h}))},beforeUpdate(O,b,h){O.tooltip&&O.tooltip.initialize(h)},reset(O,b,h){O.tooltip&&O.tooltip.initialize(h)},afterDraw(O){const b=O.tooltip;if(b&&b._willRender()){const h={tooltip:b};if(!1===O.notifyPlugins("beforeTooltipDraw",h))return;b.draw(O.ctx),O.notifyPlugins("afterTooltipDraw",h)}},afterEvent(O,b){O.tooltip&&O.tooltip.handleEvent(b.event,b.replay,b.inChartArea)&&(b.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(O,b)=>b.bodyFont.size,boxWidth:(O,b)=>b.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:n.aF,title(O){if(O.length>0){const b=O[0],h=b.chart.data.labels,k=h?h.length:0;if(this&&this.options&&"dataset"===this.options.mode)return b.dataset.label||"";if(b.label)return b.label;if(k>0&&b.dataIndex"filter"!==O&&"itemSort"!==O&&"external"!==O,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};class Ur extends Vn{constructor(b){super(b),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(b){const h=this._addedLabels;if(h.length){const k=this.getLabels();for(const{index:E,label:S}of h)k[E]===S&&k.splice(E,1);this._addedLabels=[]}super.init(b)}parse(b,h){if((0,n.k)(b))return null;const k=this.getLabels();return((O,b)=>null===O?null:(0,n.E)(Math.round(O),0,b))(h=isFinite(h)&&k[h]===b?h:function Kr(O,b,h,k){const E=O.indexOf(b);return-1===E?((O,b,h,k)=>("string"==typeof b?(h=O.push(b)-1,k.unshift({index:h,label:b})):isNaN(b)&&(h=null),h))(O,b,h,k):E!==O.lastIndexOf(b)?h:E}(k,b,(0,n.v)(h,b),this._addedLabels),k.length-1)}determineDataLimits(){const{minDefined:b,maxDefined:h}=this.getUserBounds();let{min:k,max:E}=this.getMinMax(!0);"ticks"===this.options.bounds&&(b||(k=0),h||(E=this.getLabels().length-1)),this.min=k,this.max=E}buildTicks(){const b=this.min,h=this.max,k=this.options.offset,E=[];let S=this.getLabels();S=0===b&&h===S.length-1?S:S.slice(b,h+1),this._valueRange=Math.max(S.length-(k?0:1),1),this._startValue=this.min-(k?.5:0);for(let $=b;$<=h;$++)E.push({value:$});return E}getLabelForValue(b){const h=this.getLabels();return b>=0&&bh.length-1?null:this.getPixelForValue(h[b].value)}getValueForPixel(b){return Math.round(this._startValue+this.getDecimalForPixel(b)*this._valueRange)}getBasePixel(){return this.bottom}}function pr(O,b,{horizontal:h,minRotation:k}){const E=(0,n.t)(k),S=(h?Math.sin(E):Math.cos(E))||.001;return Math.min(b/S,.75*b*(""+O).length)}Ur.id="category",Ur.defaults={ticks:{callback:Ur.prototype.getLabelForValue}};class ii extends Vn{constructor(b){super(b),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(b,h){return(0,n.k)(b)||("number"==typeof b||b instanceof Number)&&!isFinite(+b)?null:+b}handleTickRangeOptions(){const{beginAtZero:b}=this.options,{minDefined:h,maxDefined:k}=this.getUserBounds();let{min:E,max:S}=this;const $=fe=>E=h?E:fe,q=fe=>S=k?S:fe;if(b){const fe=(0,n.s)(E),Ie=(0,n.s)(S);fe<0&&Ie<0?q(0):fe>0&&Ie>0&&$(0)}if(E===S){let fe=1;(S>=Number.MAX_SAFE_INTEGER||E<=Number.MIN_SAFE_INTEGER)&&(fe=Math.abs(.05*S)),q(S+fe),b||$(E-fe)}this.min=E,this.max=S}getTickLimit(){const b=this.options.ticks;let E,{maxTicksLimit:h,stepSize:k}=b;return k?(E=Math.ceil(this.max/k)-Math.floor(this.min/k)+1,E>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${k} would result generating up to ${E} ticks. Limiting to 1000.`),E=1e3)):(E=this.computeTickLimit(),h=h||11),h&&(E=Math.min(h,E)),E}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const b=this.options,h=b.ticks;let k=this.getTickLimit();k=Math.max(2,k);const $=function _r(O,b){const h=[],{bounds:E,step:S,min:$,max:q,precision:fe,count:Ie,maxTicks:xt,maxDigits:St,includeBounds:yn}=O,An=S||1,Wn=xt-1,{min:Kn,max:wo}=b,Io=!(0,n.k)($),Fo=!(0,n.k)(q),U=!(0,n.k)(Ie),ae=(wo-Kn)/(St+1);let ce,Ae,bt,$t,V=(0,n.aI)((wo-Kn)/Wn/An)*An;if(V<1e-14&&!Io&&!Fo)return[{value:Kn},{value:wo}];$t=Math.ceil(wo/V)-Math.floor(Kn/V),$t>Wn&&(V=(0,n.aI)($t*V/Wn/An)*An),(0,n.k)(fe)||(ce=Math.pow(10,fe),V=Math.ceil(V*ce)/ce),"ticks"===E?(Ae=Math.floor(Kn/V)*V,bt=Math.ceil(wo/V)*V):(Ae=Kn,bt=wo),Io&&Fo&&S&&(0,n.aJ)((q-$)/S,V/1e3)?($t=Math.round(Math.min((q-$)/V,xt)),V=(q-$)/$t,Ae=$,bt=q):U?(Ae=Io?$:Ae,bt=Fo?q:bt,$t=Ie-1,V=(bt-Ae)/$t):($t=(bt-Ae)/V,$t=(0,n.aK)($t,Math.round($t),V/1e3)?Math.round($t):Math.ceil($t));const io=Math.max((0,n.aL)(V),(0,n.aL)(Ae));ce=Math.pow(10,(0,n.k)(fe)?io:fe),Ae=Math.round(Ae*ce)/ce,bt=Math.round(bt*ce)/ce;let zn=0;for(Io&&(yn&&Ae!==$?(h.push({value:$}),Ae<$&&zn++,(0,n.aK)(Math.round((Ae+zn*V)*ce)/ce,$,pr($,ae,O))&&zn++):Ae<$&&zn++);zn<$t;++zn)h.push({value:Math.round((Ae+zn*V)*ce)/ce});return Fo&&yn&&bt!==q?h.length&&(0,n.aK)(h[h.length-1].value,q,pr(q,ae,O))?h[h.length-1].value=q:h.push({value:q}):(!Fo||bt===q)&&h.push({value:bt}),h}({maxTicks:k,bounds:b.bounds,min:b.min,max:b.max,precision:h.precision,step:h.stepSize,count:h.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:h.minRotation||0,includeBounds:!1!==h.includeBounds},this._range||this);return"ticks"===b.bounds&&(0,n.aH)($,this,"value"),b.reverse?($.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),$}configure(){const b=this.ticks;let h=this.min,k=this.max;if(super.configure(),this.options.offset&&b.length){const E=(k-h)/Math.max(b.length-1,1)/2;h-=E,k+=E}this._startValue=h,this._endValue=k,this._valueRange=k-h}getLabelForValue(b){return(0,n.o)(b,this.chart.options.locale,this.options.ticks.format)}}class Ar extends ii{determineDataLimits(){const{min:b,max:h}=this.getMinMax(!0);this.min=(0,n.g)(b)?b:0,this.max=(0,n.g)(h)?h:1,this.handleTickRangeOptions()}computeTickLimit(){const b=this.isHorizontal(),h=b?this.width:this.height,k=(0,n.t)(this.options.ticks.minRotation),E=(b?Math.sin(k):Math.cos(k))||.001,S=this._resolveTickFontOptions(0);return Math.ceil(h/Math.min(40,S.lineHeight/E))}getPixelForValue(b){return null===b?NaN:this.getPixelForDecimal((b-this._startValue)/this._valueRange)}getValueForPixel(b){return this._startValue+this.getDecimalForPixel(b)*this._valueRange}}function Ss(O){return O/Math.pow(10,Math.floor((0,n.z)(O)))==1}Ar.id="linear",Ar.defaults={ticks:{callback:Qn.formatters.numeric}};class la extends Vn{constructor(b){super(b),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(b,h){const k=ii.prototype.parse.apply(this,[b,h]);if(0!==k)return(0,n.g)(k)&&k>0?k:null;this._zero=!0}determineDataLimits(){const{min:b,max:h}=this.getMinMax(!0);this.min=(0,n.g)(b)?Math.max(0,b):null,this.max=(0,n.g)(h)?Math.max(0,h):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:b,maxDefined:h}=this.getUserBounds();let k=this.min,E=this.max;const S=fe=>k=b?k:fe,$=fe=>E=h?E:fe,q=(fe,Ie)=>Math.pow(10,Math.floor((0,n.z)(fe))+Ie);k===E&&(k<=0?(S(1),$(10)):(S(q(k,-1)),$(q(E,1)))),k<=0&&S(q(E,-1)),E<=0&&$(q(k,1)),this._zero&&this.min!==this._suggestedMin&&k===q(this.min,0)&&S(q(k,-1)),this.min=k,this.max=E}buildTicks(){const b=this.options,k=function Qr(O,b){const h=Math.floor((0,n.z)(b.max)),k=Math.ceil(b.max/Math.pow(10,h)),E=[];let S=(0,n.B)(O.min,Math.pow(10,Math.floor((0,n.z)(b.min)))),$=Math.floor((0,n.z)(S)),q=Math.floor(S/Math.pow(10,$)),fe=$<0?Math.pow(10,Math.abs($)):1;do{E.push({value:S,major:Ss(S)}),++q,10===q&&(q=1,++$,fe=$>=0?1:fe),S=Math.round(q*Math.pow(10,$)*fe)/fe}while($E?{start:b-h,end:b}:{start:b,end:b+h}}function Ta(O,b,h,k,E){const S=Math.abs(Math.sin(h)),$=Math.abs(Math.cos(h));let q=0,fe=0;k.startb.r&&(q=(k.end-b.r)/S,O.r=Math.max(O.r,b.r+q)),E.startb.b&&(fe=(E.end-b.b)/$,O.b=Math.max(O.b,b.b+fe))}function rl(O){return 0===O||180===O?"center":O<180?"left":"right"}function ca(O,b,h){return"right"===h?O-=b:"center"===h&&(O-=b/2),O}function Ts(O,b,h){return 90===h||270===h?O-=b/2:(h>270||h<90)&&(O-=b),O}function Pa(O,b,h,k){const{ctx:E}=O;if(h)E.arc(O.xCenter,O.yCenter,b,0,n.T);else{let S=O.getPointPosition(0,b);E.moveTo(S.x,S.y);for(let $=1;${const E=(0,n.C)(this.options.pointLabels.callback,[h,k],this);return E||0===E?E:""}).filter((h,k)=>this.chart.getDataVisibility(k))}fit(){const b=this.options;b.display&&b.pointLabels.display?function os(O){const b={l:O.left+O._padding.left,r:O.right-O._padding.right,t:O.top+O._padding.top,b:O.bottom-O._padding.bottom},h=Object.assign({},b),k=[],E=[],S=O._pointLabels.length,$=O.options.pointLabels,q=$.centerPointLabels?n.P/S:0;for(let fe=0;fe=0&&b=0;E--){const S=k.setContext(O.getPointLabelContext(E)),$=(0,n.O)(S.font),{x:q,y:fe,textAlign:Ie,left:xt,top:St,right:yn,bottom:An}=O._pointLabelItems[E],{backdropColor:Wn}=S;if(!(0,n.k)(Wn)){const Kn=(0,n.ax)(S.borderRadius),wo=(0,n.K)(S.backdropPadding);h.fillStyle=Wn;const Io=xt-wo.left,Fo=St-wo.top,U=yn-xt+wo.width,ae=An-St+wo.height;Object.values(Kn).some(V=>0!==V)?(h.beginPath(),(0,n.av)(h,{x:Io,y:Fo,w:U,h:ae,radius:Kn}),h.fill()):h.fillRect(Io,Fo,U,ae)}(0,n.M)(h,O._pointLabels[E],q,fe+$.lineHeight/2,$,{color:S.color,textAlign:Ie,textBaseline:"middle"})}}(this,S),E.display&&this.ticks.forEach((Ie,xt)=>{0!==xt&&(q=this.getDistanceFromCenterForValue(Ie.value),function ma(O,b,h,k){const E=O.ctx,S=b.circular,{color:$,lineWidth:q}=b;!S&&!k||!$||!q||h<0||(E.save(),E.strokeStyle=$,E.lineWidth=q,E.setLineDash(b.borderDash),E.lineDashOffset=b.borderDashOffset,E.beginPath(),Pa(O,h,S,k),E.closePath(),E.stroke(),E.restore())}(this,E.setContext(this.getContext(xt-1)),q,S))}),k.display){for(b.save(),$=S-1;$>=0;$--){const Ie=k.setContext(this.getPointLabelContext($)),{color:xt,lineWidth:St}=Ie;!St||!xt||(b.lineWidth=St,b.strokeStyle=xt,b.setLineDash(Ie.borderDash),b.lineDashOffset=Ie.borderDashOffset,q=this.getDistanceFromCenterForValue(h.ticks.reverse?this.min:this.max),fe=this.getPointPosition($,q),b.beginPath(),b.moveTo(this.xCenter,this.yCenter),b.lineTo(fe.x,fe.y),b.stroke())}b.restore()}}drawBorder(){}drawLabels(){const b=this.ctx,h=this.options,k=h.ticks;if(!k.display)return;const E=this.getIndexAngle(0);let S,$;b.save(),b.translate(this.xCenter,this.yCenter),b.rotate(E),b.textAlign="center",b.textBaseline="middle",this.ticks.forEach((q,fe)=>{if(0===fe&&!h.reverse)return;const Ie=k.setContext(this.getContext(fe)),xt=(0,n.O)(Ie.font);if(S=this.getDistanceFromCenterForValue(this.ticks[fe].value),Ie.showLabelBackdrop){b.font=xt.string,$=b.measureText(q.label).width,b.fillStyle=Ie.backdropColor;const St=(0,n.K)(Ie.backdropPadding);b.fillRect(-$/2-St.left,-S-xt.size/2-St.top,$+St.width,xt.size+St.height)}(0,n.M)(b,q.label,0,-S,xt,{color:Ie.color})}),b.restore()}drawTitle(){}}Xa.id="radialLinear",Xa.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Qn.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:O=>O,padding:5,centerPointLabels:!1}},Xa.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Xa.descriptors={angleLines:{_fallback:"grid"}};const ka={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Js=Object.keys(ka);function Fl(O,b){return O-b}function dl(O,b){if((0,n.k)(b))return null;const h=O._adapter,{parser:k,round:E,isoWeekday:S}=O._parseOpts;let $=b;return"function"==typeof k&&($=k($)),(0,n.g)($)||($="string"==typeof k?h.parse($,k):h.parse($)),null===$?null:(E&&($="week"!==E||!(0,n.x)(S)&&!0!==S?h.startOf($,E):h.startOf($,"isoWeek",S)),+$)}function Va(O,b,h,k){const E=Js.length;for(let S=Js.indexOf(O);S=b?h[k]:h[E]]=!0}}else O[b]=!0}function vl(O,b,h){const k=[],E={},S=b.length;let $,q;for($=0;$=0&&(b[fe].major=!0);return b}(O,k,E,h):k}let Qa=(()=>{class O extends Vn{constructor(h){super(h),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(h,k){const E=h.time||(h.time={}),S=this._adapter=new ot._date(h.adapters.date);S.init(k),(0,n.ac)(E.displayFormats,S.formats()),this._parseOpts={parser:E.parser,round:E.round,isoWeekday:E.isoWeekday},super.init(h),this._normalized=k.normalized}parse(h,k){return void 0===h?null:dl(this,h)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const h=this.options,k=this._adapter,E=h.time.unit||"day";let{min:S,max:$,minDefined:q,maxDefined:fe}=this.getUserBounds();function Ie(xt){!q&&!isNaN(xt.min)&&(S=Math.min(S,xt.min)),!fe&&!isNaN(xt.max)&&($=Math.max($,xt.max))}(!q||!fe)&&(Ie(this._getLabelBounds()),("ticks"!==h.bounds||"labels"!==h.ticks.source)&&Ie(this.getMinMax(!1))),S=(0,n.g)(S)&&!isNaN(S)?S:+k.startOf(Date.now(),E),$=(0,n.g)($)&&!isNaN($)?$:+k.endOf(Date.now(),E)+1,this.min=Math.min(S,$-1),this.max=Math.max(S+1,$)}_getLabelBounds(){const h=this.getLabelTimestamps();let k=Number.POSITIVE_INFINITY,E=Number.NEGATIVE_INFINITY;return h.length&&(k=h[0],E=h[h.length-1]),{min:k,max:E}}buildTicks(){const h=this.options,k=h.time,E=h.ticks,S="labels"===E.source?this.getLabelTimestamps():this._generate();"ticks"===h.bounds&&S.length&&(this.min=this._userMin||S[0],this.max=this._userMax||S[S.length-1]);const $=this.min,fe=(0,n.aN)(S,$,this.max);return this._unit=k.unit||(E.autoSkip?Va(k.minUnit,this.min,this.max,this._getLabelCapacity($)):function yl(O,b,h,k,E){for(let S=Js.length-1;S>=Js.indexOf(h);S--){const $=Js[S];if(ka[$].common&&O._adapter.diff(E,k,$)>=b-1)return $}return Js[h?Js.indexOf(h):0]}(this,fe.length,k.minUnit,this.min,this.max)),this._majorUnit=E.major.enabled&&"year"!==this._unit?function Dl(O){for(let b=Js.indexOf(O)+1,h=Js.length;b+h.value))}initOffsets(h){let S,$,k=0,E=0;this.options.offset&&h.length&&(S=this.getDecimalForValue(h[0]),k=1===h.length?1-S:(this.getDecimalForValue(h[1])-S)/2,$=this.getDecimalForValue(h[h.length-1]),E=1===h.length?$:($-this.getDecimalForValue(h[h.length-2]))/2);const q=h.length<3?.5:.25;k=(0,n.E)(k,0,q),E=(0,n.E)(E,0,q),this._offsets={start:k,end:E,factor:1/(k+1+E)}}_generate(){const h=this._adapter,k=this.min,E=this.max,S=this.options,$=S.time,q=$.unit||Va($.minUnit,k,E,this._getLabelCapacity(k)),fe=(0,n.v)($.stepSize,1),Ie="week"===q&&$.isoWeekday,xt=(0,n.x)(Ie)||!0===Ie,St={};let An,Wn,yn=k;if(xt&&(yn=+h.startOf(yn,"isoWeek",Ie)),yn=+h.startOf(yn,xt?"day":q),h.diff(E,k,q)>1e5*fe)throw new Error(k+" and "+E+" are too far apart with stepSize of "+fe+" "+q);const Kn="data"===S.ticks.source&&this.getDataTimestamps();for(An=yn,Wn=0;Anwo-Io).map(wo=>+wo)}getLabelForValue(h){const E=this.options.time;return this._adapter.format(h,E.tooltipFormat?E.tooltipFormat:E.displayFormats.datetime)}_tickFormatFunction(h,k,E,S){const $=this.options,q=$.time.displayFormats,fe=this._unit,Ie=this._majorUnit,St=Ie&&q[Ie],yn=E[k],Wn=this._adapter.format(h,S||(Ie&&St&&yn&&yn.major?St:fe&&q[fe])),Kn=$.ticks.callback;return Kn?(0,n.C)(Kn,[Wn,k,E],this):Wn}generateTickLabels(h){let k,E,S;for(k=0,E=h.length;k0?fe:1}getDataTimestamps(){let k,E,h=this._cache.data||[];if(h.length)return h;const S=this.getMatchingVisibleMetas();if(this._normalized&&S.length)return this._cache.data=S[0].controller.getAllParsedValues(this);for(k=0,E=S.length;k=O[k].pos&&b<=O[E].pos&&({lo:k,hi:E}=(0,n.Z)(O,"pos",b)),({pos:S,time:q}=O[k]),({pos:$,time:fe}=O[E])):(b>=O[k].time&&b<=O[E].time&&({lo:k,hi:E}=(0,n.Z)(O,"time",b)),({time:S,pos:q}=O[k]),({time:$,pos:fe}=O[E]));const Ie=$-S;return Ie?q+(fe-q)*(b-S)/Ie:q}class Wa extends Qa{constructor(b){super(b),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const b=this._getTimestampsForTable(),h=this._table=this.buildLookupTable(b);this._minPos=hl(h,this.min),this._tableRange=hl(h,this.max)-this._minPos,super.initOffsets(b)}buildLookupTable(b){const{min:h,max:k}=this,E=[],S=[];let $,q,fe,Ie,xt;for($=0,q=b.length;$=h&&Ie<=k&&E.push(Ie);if(E.length<2)return[{time:h,pos:0},{time:k,pos:1}];for($=0,q=E.length;${"use strict";function n(){}l.d(Z,{$:()=>Dt,A:()=>tn,B:()=>_,C:()=>I,D:()=>de,E:()=>Bn,F:()=>Nt,G:()=>Zr,H:()=>Pt,I:()=>_n,J:()=>ws,K:()=>ie,L:()=>un,M:()=>qo,N:()=>Jn,O:()=>B,P:()=>tt,Q:()=>R,R:()=>zo,S:()=>ri,T:()=>Ct,U:()=>As,V:()=>pe,W:()=>lt,X:()=>ht,Y:()=>Qn,Z:()=>Nn,_:()=>uo,a:()=>ne,a0:()=>cn,a1:()=>Jt,a2:()=>te,a3:()=>Ee,a4:()=>gi,a5:()=>Q,a6:()=>se,a7:()=>Ps,a8:()=>Bt,a9:()=>st,aA:()=>ve,aB:()=>Fe,aC:()=>Yi,aD:()=>Y,aE:()=>Ht,aF:()=>n,aG:()=>Fn,aH:()=>So,aI:()=>It,aJ:()=>jn,aK:()=>En,aL:()=>Vt,aM:()=>Wr,aN:()=>Zt,aO:()=>Qt,aa:()=>Ke,ab:()=>rt,ac:()=>be,ad:()=>i,ae:()=>Go,af:()=>z,ag:()=>Or,ah:()=>et,ai:()=>H,aj:()=>sn,ak:()=>Cn,al:()=>$i,am:()=>m,an:()=>Di,ao:()=>ro,ap:()=>He,aq:()=>nt,ar:()=>_e,as:()=>so,at:()=>To,au:()=>Rt,av:()=>Ao,aw:()=>P,ax:()=>re,ay:()=>ao,az:()=>Un,b:()=>g,b2:()=>On,c:()=>ps,d:()=>vs,e:()=>no,f:()=>ke,g:()=>x,h:()=>Ce,i:()=>s,j:()=>Mt,k:()=>f,l:()=>hn,m:()=>w,n:()=>M,o:()=>on,p:()=>Zn,q:()=>xr,r:()=>_o,s:()=>Ot,t:()=>pt,u:()=>Tn,v:()=>y,w:()=>zi,x:()=>fn,y:()=>li,z:()=>we});const i=function(){let N=0;return function(){return N++}}();function f(N){return null===N||typeof N>"u"}function g(N){if(Array.isArray&&Array.isArray(N))return!0;const xe=Object.prototype.toString.call(N);return"[object"===xe.slice(0,7)&&"Array]"===xe.slice(-6)}function s(N){return null!==N&&"[object Object]"===Object.prototype.toString.call(N)}const x=N=>("number"==typeof N||N instanceof Number)&&isFinite(+N);function _(N,xe){return x(N)?N:xe}function y(N,xe){return typeof N>"u"?xe:N}const w=(N,xe)=>"string"==typeof N&&N.endsWith("%")?parseFloat(N)/100:N/xe,M=(N,xe)=>"string"==typeof N&&N.endsWith("%")?parseFloat(N)/100*xe:+N;function I(N,xe,Ne){if(N&&"function"==typeof N.call)return N.apply(Ne,xe)}function R(N,xe,Ne,dt){let zt,gn,xn;if(g(N))if(gn=N.length,dt)for(zt=gn-1;zt>=0;zt--)xe.call(Ne,N[zt],zt);else for(zt=0;ztN,x:N=>N.x,y:N=>N.y};function ke(N,xe){return(je[xe]||(je[xe]=function De(N){const xe=function Je(N){const xe=N.split("."),Ne=[];let dt="";for(const zt of xe)dt+=zt,dt.endsWith("\\")?dt=dt.slice(0,-1)+".":(Ne.push(dt),dt="");return Ne}(N);return Ne=>{for(const dt of xe){if(""===dt)break;Ne=Ne&&Ne[dt]}return Ne}}(xe)))(N)}function lt(N){return N.charAt(0).toUpperCase()+N.slice(1)}const Mt=N=>typeof N<"u",Bt=N=>"function"==typeof N,et=(N,xe)=>{if(N.size!==xe.size)return!1;for(const Ne of N)if(!xe.has(Ne))return!1;return!0};function sn(N){return"mouseup"===N.type||"click"===N.type||"contextmenu"===N.type}const tt=Math.PI,Ct=2*tt,Xe=Ct+tt,e=Number.POSITIVE_INFINITY,On=tt/180,Pt=tt/2,wt=tt/4,At=2*tt/3,we=Math.log10,Ot=Math.sign;function It(N){const xe=Math.round(N);N=En(N,xe,N/1e3)?xe:N;const Ne=Math.pow(10,Math.floor(we(N))),dt=N/Ne;return(dt<=1?1:dt<=2?2:dt<=5?5:10)*Ne}function tn(N){const xe=[],Ne=Math.sqrt(N);let dt;for(dt=1;dtzt-gn).pop(),xe}function fn(N){return!isNaN(parseFloat(N))&&isFinite(N)}function En(N,xe,Ne){return Math.abs(N-xe)=N}function So(N,xe,Ne){let dt,zt,gn;for(dt=0,zt=N.length;dtDo&&Uo=Math.min(xe,Ne)-dt&&N<=Math.max(xe,Ne)+dt}function Qt(N,xe,Ne){Ne=Ne||(xn=>N[xn]1;)gn=zt+dt>>1,Ne(gn)?zt=gn:dt=gn;return{lo:zt,hi:dt}}const Nn=(N,xe,Ne,dt)=>Qt(N,Ne,dt?zt=>N[zt][xe]<=Ne:zt=>N[zt][xe]Qt(N,Ne,dt=>N[dt][xe]>=Ne);function Zt(N,xe,Ne){let dt=0,zt=N.length;for(;dtdt&&N[zt-1]>Ne;)zt--;return dt>0||zt{const dt="_onData"+lt(Ne),zt=N[Ne];Object.defineProperty(N,Ne,{configurable:!0,enumerable:!1,value(...gn){const xn=zt.apply(this,gn);return N._chartjs.listeners.forEach(Yn=>{"function"==typeof Yn[dt]&&Yn[dt](...gn)}),xn}})}))}function Tn(N,xe){const Ne=N._chartjs;if(!Ne)return;const dt=Ne.listeners,zt=dt.indexOf(xe);-1!==zt&&dt.splice(zt,1),!(dt.length>0)&&(vn.forEach(gn=>{delete N[gn]}),delete N._chartjs)}function uo(N){const xe=new Set;let Ne,dt;for(Ne=0,dt=N.length;Ne"u"?function(N){return N()}:window.requestAnimationFrame;function gi(N,xe,Ne){const dt=Ne||(xn=>Array.prototype.slice.call(xn));let zt=!1,gn=[];return function(...xn){gn=dt(xn),zt||(zt=!0,_o.call(window,()=>{zt=!1,N.apply(xe,gn)}))}}function Go(N,xe){let Ne;return function(...dt){return xe?(clearTimeout(Ne),Ne=setTimeout(N,xe,dt)):N.apply(this,dt),xe}}const zo=N=>"start"===N?"left":"end"===N?"right":"center",ri=(N,xe,Ne)=>"start"===N?xe:"end"===N?Ne:(xe+Ne)/2,Yi=(N,xe,Ne,dt)=>N===(dt?"left":"right")?Ne:"center"===N?(xe+Ne)/2:xe;function xr(N,xe,Ne){const dt=xe.length;let zt=0,gn=dt;if(N._sorted){const{iScale:xn,_parsed:Yn}=N,Do=xn.axis,{min:Uo,max:oi,minDefined:Ni,maxDefined:yr}=xn.getUserBounds();Ni&&(zt=Bn(Math.min(Nn(Yn,xn.axis,Uo).lo,Ne?dt:Nn(xe,Do,xn.getPixelForValue(Uo)).lo),0,dt-1)),gn=yr?Bn(Math.max(Nn(Yn,xn.axis,oi,!0).hi+1,Ne?0:Nn(xe,Do,xn.getPixelForValue(oi),!0).hi+1),zt,dt)-zt:dt-zt}return{start:zt,count:gn}}function zi(N){const{xScale:xe,yScale:Ne,_scaleRanges:dt}=N,zt={xmin:xe.min,xmax:xe.max,ymin:Ne.min,ymax:Ne.max};if(!dt)return N._scaleRanges=zt,!0;const gn=dt.xmin!==xe.min||dt.xmax!==xe.max||dt.ymin!==Ne.min||dt.ymax!==Ne.max;return Object.assign(dt,zt),gn}const Ji=N=>0===N||1===N,Pr=(N,xe,Ne)=>-Math.pow(2,10*(N-=1))*Math.sin((N-xe)*Ct/Ne),Gi=(N,xe,Ne)=>Math.pow(2,-10*N)*Math.sin((N-xe)*Ct/Ne)+1,no={linear:N=>N,easeInQuad:N=>N*N,easeOutQuad:N=>-N*(N-2),easeInOutQuad:N=>(N/=.5)<1?.5*N*N:-.5*(--N*(N-2)-1),easeInCubic:N=>N*N*N,easeOutCubic:N=>(N-=1)*N*N+1,easeInOutCubic:N=>(N/=.5)<1?.5*N*N*N:.5*((N-=2)*N*N+2),easeInQuart:N=>N*N*N*N,easeOutQuart:N=>-((N-=1)*N*N*N-1),easeInOutQuart:N=>(N/=.5)<1?.5*N*N*N*N:-.5*((N-=2)*N*N*N-2),easeInQuint:N=>N*N*N*N*N,easeOutQuint:N=>(N-=1)*N*N*N*N+1,easeInOutQuint:N=>(N/=.5)<1?.5*N*N*N*N*N:.5*((N-=2)*N*N*N*N+2),easeInSine:N=>1-Math.cos(N*Pt),easeOutSine:N=>Math.sin(N*Pt),easeInOutSine:N=>-.5*(Math.cos(tt*N)-1),easeInExpo:N=>0===N?0:Math.pow(2,10*(N-1)),easeOutExpo:N=>1===N?1:1-Math.pow(2,-10*N),easeInOutExpo:N=>Ji(N)?N:N<.5?.5*Math.pow(2,10*(2*N-1)):.5*(2-Math.pow(2,-10*(2*N-1))),easeInCirc:N=>N>=1?N:-(Math.sqrt(1-N*N)-1),easeOutCirc:N=>Math.sqrt(1-(N-=1)*N),easeInOutCirc:N=>(N/=.5)<1?-.5*(Math.sqrt(1-N*N)-1):.5*(Math.sqrt(1-(N-=2)*N)+1),easeInElastic:N=>Ji(N)?N:Pr(N,.075,.3),easeOutElastic:N=>Ji(N)?N:Gi(N,.075,.3),easeInOutElastic:N=>Ji(N)?N:N<.5?.5*Pr(2*N,.1125,.45):.5+.5*Gi(2*N-1,.1125,.45),easeInBack:N=>N*N*(2.70158*N-1.70158),easeOutBack:N=>(N-=1)*N*(2.70158*N+1.70158)+1,easeInOutBack(N){let xe=1.70158;return(N/=.5)<1?N*N*((1+(xe*=1.525))*N-xe)*.5:.5*((N-=2)*N*((1+(xe*=1.525))*N+xe)+2)},easeInBounce:N=>1-no.easeOutBounce(1-N),easeOutBounce:N=>N<1/2.75?7.5625*N*N:N<2/2.75?7.5625*(N-=1.5/2.75)*N+.75:N<2.5/2.75?7.5625*(N-=2.25/2.75)*N+.9375:7.5625*(N-=2.625/2.75)*N+.984375,easeInOutBounce:N=>N<.5?.5*no.easeInBounce(2*N):.5*no.easeOutBounce(2*N-1)+.5};function Vn(N){return N+.5|0}const mn=(N,xe,Ne)=>Math.max(Math.min(N,Ne),xe);function ze(N){return mn(Vn(2.55*N),0,255)}function at(N){return mn(Vn(255*N),0,255)}function Ft(N){return mn(Vn(N/2.55)/100,0,1)}function In(N){return mn(Vn(100*N),0,100)}const fo={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},wn=[..."0123456789ABCDEF"],dn=N=>wn[15&N],$e=N=>wn[(240&N)>>4]+wn[15&N],We=N=>(240&N)>>4==(15&N);const co=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Oo(N,xe,Ne){const dt=xe*Math.min(Ne,1-Ne),zt=(gn,xn=(gn+N/30)%12)=>Ne-dt*Math.max(Math.min(xn-3,9-xn,1),-1);return[zt(0),zt(8),zt(4)]}function ln(N,xe,Ne){const dt=(zt,gn=(zt+N/60)%6)=>Ne-Ne*xe*Math.max(Math.min(gn,4-gn,1),0);return[dt(5),dt(3),dt(1)]}function Gn(N,xe,Ne){const dt=Oo(N,1,.5);let zt;for(xe+Ne>1&&(zt=1/(xe+Ne),xe*=zt,Ne*=zt),zt=0;zt<3;zt++)dt[zt]*=1-xe-Ne,dt[zt]+=xe;return dt}function Vo(N){const Ne=N.r/255,dt=N.g/255,zt=N.b/255,gn=Math.max(Ne,dt,zt),xn=Math.min(Ne,dt,zt),Yn=(gn+xn)/2;let Do,Uo,oi;return gn!==xn&&(oi=gn-xn,Uo=Yn>.5?oi/(2-gn-xn):oi/(gn+xn),Do=function go(N,xe,Ne,dt,zt){return N===zt?(xe-Ne)/dt+(xeN<=.0031308?12.92*N:1.055*Math.pow(N,1/2.4)-.055,qi=N=>N<=.04045?N/12.92:Math.pow((N+.055)/1.055,2.4);function Wi(N,xe,Ne){if(N){let dt=Vo(N);dt[xe]=Math.max(0,Math.min(dt[xe]+dt[xe]*Ne,0===xe?360:1)),dt=ci(dt),N.r=dt[0],N.g=dt[1],N.b=dt[2]}}function sr(N,xe){return N&&Object.assign(xe||{},N)}function Si(N){var xe={r:0,g:0,b:0,a:255};return Array.isArray(N)?N.length>=3&&(xe={r:N[0],g:N[1],b:N[2],a:255},N.length>3&&(xe.a=at(N[3]))):(xe=sr(N,{r:0,g:0,b:0,a:1})).a=at(xe.a),xe}function rs(N){return"r"===N.charAt(0)?function Ci(N){const xe=ni.exec(N);let dt,zt,gn,Ne=255;if(xe){if(xe[7]!==dt){const xn=+xe[7];Ne=xe[8]?ze(xn):mn(255*xn,0,255)}return dt=+xe[1],zt=+xe[3],gn=+xe[5],dt=255&(xe[2]?ze(dt):mn(dt,0,255)),zt=255&(xe[4]?ze(zt):mn(zt,0,255)),gn=255&(xe[6]?ze(gn):mn(gn,0,255)),{r:dt,g:zt,b:gn,a:Ne}}}(N):function Lr(N){const xe=co.exec(N);let dt,Ne=255;if(!xe)return;xe[5]!==dt&&(Ne=xe[6]?ze(+xe[5]):at(+xe[5]));const zt=dr(+xe[2]),gn=+xe[3]/100,xn=+xe[4]/100;return dt="hwb"===xe[1]?function er(N,xe,Ne){return yi(Gn,N,xe,Ne)}(zt,gn,xn):"hsv"===xe[1]?function ei(N,xe,Ne){return yi(ln,N,xe,Ne)}(zt,gn,xn):ci(zt,gn,xn),{r:dt[0],g:dt[1],b:dt[2],a:Ne}}(N)}class Ir{constructor(xe){if(xe instanceof Ir)return xe;const Ne=typeof xe;let dt;"object"===Ne?dt=Si(xe):"string"===Ne&&(dt=function Wt(N){var Ne,xe=N.length;return"#"===N[0]&&(4===xe||5===xe?Ne={r:255&17*fo[N[1]],g:255&17*fo[N[2]],b:255&17*fo[N[3]],a:5===xe?17*fo[N[4]]:255}:(7===xe||9===xe)&&(Ne={r:fo[N[1]]<<4|fo[N[2]],g:fo[N[3]]<<4|fo[N[4]],b:fo[N[5]]<<4|fo[N[6]],a:9===xe?fo[N[7]]<<4|fo[N[8]]:255})),Ne}(xe)||function po(N){en||(en=function is(){const N={},xe=Object.keys(Qi),Ne=Object.keys(wr);let dt,zt,gn,xn,Yn;for(dt=0;dt>16&255,gn>>8&255,255&gn]}return N}(),en.transparent=[0,0,0,0]);const xe=en[N.toLowerCase()];return xe&&{r:xe[0],g:xe[1],b:xe[2],a:4===xe.length?xe[3]:255}}(xe)||rs(xe)),this._rgb=dt,this._valid=!!dt}get valid(){return this._valid}get rgb(){var xe=sr(this._rgb);return xe&&(xe.a=Ft(xe.a)),xe}set rgb(xe){this._rgb=Si(xe)}rgbString(){return this._valid?function hr(N){return N&&(N.a<255?`rgba(${N.r}, ${N.g}, ${N.b}, ${Ft(N.a)})`:`rgb(${N.r}, ${N.g}, ${N.b})`)}(this._rgb):void 0}hexString(){return this._valid?function to(N){var xe=(N=>We(N.r)&&We(N.g)&&We(N.b)&&We(N.a))(N)?dn:$e;return N?"#"+xe(N.r)+xe(N.g)+xe(N.b)+((N,xe)=>N<255?xe(N):"")(N.a,xe):void 0}(this._rgb):void 0}hslString(){return this._valid?function Fr(N){if(!N)return;const xe=Vo(N),Ne=xe[0],dt=In(xe[1]),zt=In(xe[2]);return N.a<255?`hsla(${Ne}, ${dt}%, ${zt}%, ${Ft(N.a)})`:`hsl(${Ne}, ${dt}%, ${zt}%)`}(this._rgb):void 0}mix(xe,Ne){if(xe){const dt=this.rgb,zt=xe.rgb;let gn;const xn=Ne===gn?.5:Ne,Yn=2*xn-1,Do=dt.a-zt.a,Uo=((Yn*Do==-1?Yn:(Yn+Do)/(1+Yn*Do))+1)/2;gn=1-Uo,dt.r=255&Uo*dt.r+gn*zt.r+.5,dt.g=255&Uo*dt.g+gn*zt.g+.5,dt.b=255&Uo*dt.b+gn*zt.b+.5,dt.a=xn*dt.a+(1-xn)*zt.a,this.rgb=dt}return this}interpolate(xe,Ne){return xe&&(this._rgb=function ts(N,xe,Ne){const dt=qi(Ft(N.r)),zt=qi(Ft(N.g)),gn=qi(Ft(N.b));return{r:at(Vi(dt+Ne*(qi(Ft(xe.r))-dt))),g:at(Vi(zt+Ne*(qi(Ft(xe.g))-zt))),b:at(Vi(gn+Ne*(qi(Ft(xe.b))-gn))),a:N.a+Ne*(xe.a-N.a)}}(this._rgb,xe._rgb,Ne)),this}clone(){return new Ir(this.rgb)}alpha(xe){return this._rgb.a=at(xe),this}clearer(xe){return this._rgb.a*=1-xe,this}greyscale(){const xe=this._rgb,Ne=Vn(.3*xe.r+.59*xe.g+.11*xe.b);return xe.r=xe.g=xe.b=Ne,this}opaquer(xe){return this._rgb.a*=1+xe,this}negate(){const xe=this._rgb;return xe.r=255-xe.r,xe.g=255-xe.g,xe.b=255-xe.b,this}lighten(xe){return Wi(this._rgb,2,xe),this}darken(xe){return Wi(this._rgb,2,-xe),this}saturate(xe){return Wi(this._rgb,1,xe),this}desaturate(xe){return Wi(this._rgb,1,-xe),this}rotate(xe){return function Vr(N,xe){var Ne=Vo(N);Ne[0]=dr(Ne[0]+xe),Ne=ci(Ne),N.r=Ne[0],N.g=Ne[1],N.b=Ne[2]}(this._rgb,xe),this}}function fs(N){return new Ir(N)}function Cs(N){if(N&&"object"==typeof N){const xe=N.toString();return"[object CanvasPattern]"===xe||"[object CanvasGradient]"===xe}return!1}function ps(N){return Cs(N)?N:fs(N)}function vi(N){return Cs(N)?N:fs(N).saturate(.5).darken(.1).hexString()}const As=Object.create(null),Ps=Object.create(null);function ys(N,xe){if(!xe)return N;const Ne=xe.split(".");for(let dt=0,zt=Ne.length;dtNe.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(Ne,dt)=>vi(dt.backgroundColor),this.hoverBorderColor=(Ne,dt)=>vi(dt.borderColor),this.hoverColor=(Ne,dt)=>vi(dt.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(xe)}set(xe,Ne){return Es(this,xe,Ne)}get(xe){return ys(this,xe)}describe(xe,Ne){return Es(Ps,xe,Ne)}override(xe,Ne){return Es(As,xe,Ne)}route(xe,Ne,dt,zt){const gn=ys(this,xe),xn=ys(this,dt),Yn="_"+Ne;Object.defineProperties(gn,{[Yn]:{value:gn[Ne],writable:!0},[Ne]:{enumerable:!0,get(){const Do=this[Yn],Uo=xn[zt];return s(Do)?Object.assign({},Uo,Do):y(Do,Uo)},set(Do){this[Yn]=Do}}})}}({_scriptable:N=>!N.startsWith("on"),_indexable:N=>"events"!==N,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Zr(N,xe,Ne,dt,zt){let gn=xe[zt];return gn||(gn=xe[zt]=N.measureText(zt).width,Ne.push(zt)),gn>dt&&(dt=gn),dt}function Wr(N,xe,Ne,dt){let zt=(dt=dt||{}).data=dt.data||{},gn=dt.garbageCollect=dt.garbageCollect||[];dt.font!==xe&&(zt=dt.data={},gn=dt.garbageCollect=[],dt.font=xe),N.save(),N.font=xe;let xn=0;const Yn=Ne.length;let Do,Uo,oi,Ni,yr;for(Do=0;DoNe.length){for(Do=0;Do0&&N.stroke()}}function Dt(N,xe,Ne){return Ne=Ne||.5,!xe||N&&N.x>xe.left-Ne&&N.xxe.top-Ne&&N.y0&&""!==gn.strokeColor;let Do,Uo;for(N.save(),N.font=zt.string,function hi(N,xe){xe.translation&&N.translate(xe.translation[0],xe.translation[1]),f(xe.rotation)||N.rotate(xe.rotation),xe.color&&(N.fillStyle=xe.color),xe.textAlign&&(N.textAlign=xe.textAlign),xe.textBaseline&&(N.textBaseline=xe.textBaseline)}(N,gn),Do=0;Do+N||0;function $i(N,xe){const Ne={},dt=s(xe),zt=dt?Object.keys(xe):xe,gn=s(N)?dt?xn=>y(N[xn],N[xe[xn]]):xn=>N[xn]:()=>N;for(const xn of zt)Ne[xn]=Ti(gn(xn));return Ne}function P(N){return $i(N,{top:"y",right:"x",bottom:"y",left:"x"})}function re(N){return $i(N,["topLeft","topRight","bottomLeft","bottomRight"])}function ie(N){const xe=P(N);return xe.width=xe.left+xe.right,xe.height=xe.top+xe.bottom,xe}function B(N,xe){let Ne=y((N=N||{}).size,(xe=xe||vs.font).size);"string"==typeof Ne&&(Ne=parseInt(Ne,10));let dt=y(N.style,xe.style);dt&&!(""+dt).match(fi)&&(console.warn('Invalid font style specified: "'+dt+'"'),dt="");const zt={family:y(N.family,xe.family),lineHeight:ti(y(N.lineHeight,xe.lineHeight),Ne),size:Ne,style:dt,weight:y(N.weight,xe.weight),string:""};return zt.string=function ks(N){return!N||f(N.size)||f(N.family)?null:(N.style?N.style+" ":"")+(N.weight?N.weight+" ":"")+N.size+"px "+N.family}(zt),zt}function ne(N,xe,Ne,dt){let gn,xn,Yn,zt=!0;for(gn=0,xn=N.length;gnNe&&0===Yn?0:Yn+Do;return{min:xn(dt,-Math.abs(gn)),max:xn(zt,gn)}}function Ce(N,xe){return Object.assign(Object.create(N),xe)}function Ke(N,xe=[""],Ne=N,dt,zt=()=>N[0]){Mt(dt)||(dt=di("_fallback",N));const gn={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:N,_rootScopes:Ne,_fallback:dt,_getTarget:zt,override:xn=>Ke([xn,...N],xe,Ne,dt)};return new Proxy(gn,{deleteProperty:(xn,Yn)=>(delete xn[Yn],delete xn._keys,delete N[0][Yn],!0),get:(xn,Yn)=>Yt(xn,Yn,()=>function ai(N,xe,Ne,dt){let zt;for(const gn of xe)if(zt=di(Kt(gn,N),Ne),Mt(zt))return Et(N,zt)?Oi(Ne,dt,N,zt):zt}(Yn,xe,N,xn)),getOwnPropertyDescriptor:(xn,Yn)=>Reflect.getOwnPropertyDescriptor(xn._scopes[0],Yn),getPrototypeOf:()=>Reflect.getPrototypeOf(N[0]),has:(xn,Yn)=>Qo(xn).includes(Yn),ownKeys:xn=>Qo(xn),set(xn,Yn,Do){const Uo=xn._storage||(xn._storage=zt());return xn[Yn]=Uo[Yn]=Do,delete xn._keys,!0}})}function st(N,xe,Ne,dt){const zt={_cacheable:!1,_proxy:N,_context:xe,_subProxy:Ne,_stack:new Set,_descriptors:rt(N,dt),setContext:gn=>st(N,gn,Ne,dt),override:gn=>st(N.override(gn),xe,Ne,dt)};return new Proxy(zt,{deleteProperty:(gn,xn)=>(delete gn[xn],delete N[xn],!0),get:(gn,xn,Yn)=>Yt(gn,xn,()=>function $n(N,xe,Ne){const{_proxy:dt,_context:zt,_subProxy:gn,_descriptors:xn}=N;let Yn=dt[xe];return Bt(Yn)&&xn.isScriptable(xe)&&(Yn=function nn(N,xe,Ne,dt){const{_proxy:zt,_context:gn,_subProxy:xn,_stack:Yn}=Ne;if(Yn.has(N))throw new Error("Recursion detected: "+Array.from(Yn).join("->")+"->"+N);return Yn.add(N),xe=xe(gn,xn||dt),Yn.delete(N),Et(N,xe)&&(xe=Oi(zt._scopes,zt,N,xe)),xe}(xe,Yn,N,Ne)),g(Yn)&&Yn.length&&(Yn=function mo(N,xe,Ne,dt){const{_proxy:zt,_context:gn,_subProxy:xn,_descriptors:Yn}=Ne;if(Mt(gn.index)&&dt(N))xe=xe[gn.index%xe.length];else if(s(xe[0])){const Do=xe,Uo=zt._scopes.filter(oi=>oi!==Do);xe=[];for(const oi of Do){const Ni=Oi(Uo,zt,N,oi);xe.push(st(Ni,gn,xn&&xn[N],Yn))}}return xe}(xe,Yn,N,xn.isIndexable)),Et(xe,Yn)&&(Yn=st(Yn,zt,gn&&gn[xe],xn)),Yn}(gn,xn,Yn)),getOwnPropertyDescriptor:(gn,xn)=>gn._descriptors.allKeys?Reflect.has(N,xn)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(N,xn),getPrototypeOf:()=>Reflect.getPrototypeOf(N),has:(gn,xn)=>Reflect.has(N,xn),ownKeys:()=>Reflect.ownKeys(N),set:(gn,xn,Yn)=>(N[xn]=Yn,delete gn[xn],!0)})}function rt(N,xe={scriptable:!0,indexable:!0}){const{_scriptable:Ne=xe.scriptable,_indexable:dt=xe.indexable,_allKeys:zt=xe.allKeys}=N;return{allKeys:zt,scriptable:Ne,indexable:dt,isScriptable:Bt(Ne)?Ne:()=>Ne,isIndexable:Bt(dt)?dt:()=>dt}}const Kt=(N,xe)=>N?N+lt(xe):xe,Et=(N,xe)=>s(xe)&&"adapters"!==N&&(null===Object.getPrototypeOf(xe)||xe.constructor===Object);function Yt(N,xe,Ne){if(Object.prototype.hasOwnProperty.call(N,xe))return N[xe];const dt=Ne();return N[xe]=dt,dt}function yo(N,xe,Ne){return Bt(N)?N(xe,Ne):N}const Xo=(N,xe)=>!0===N?xe:"string"==typeof N?ke(xe,N):void 0;function Ho(N,xe,Ne,dt,zt){for(const gn of xe){const xn=Xo(Ne,gn);if(xn){N.add(xn);const Yn=yo(xn._fallback,Ne,zt);if(Mt(Yn)&&Yn!==Ne&&Yn!==dt)return Yn}else if(!1===xn&&Mt(dt)&&Ne!==dt)return null}return!1}function Oi(N,xe,Ne,dt){const zt=xe._rootScopes,gn=yo(xe._fallback,Ne,dt),xn=[...N,...zt],Yn=new Set;Yn.add(dt);let Do=ui(Yn,xn,Ne,gn||Ne,dt);return!(null===Do||Mt(gn)&&gn!==Ne&&(Do=ui(Yn,xn,gn,Do,dt),null===Do))&&Ke(Array.from(Yn),[""],zt,gn,()=>function Ko(N,xe,Ne){const dt=N._getTarget();xe in dt||(dt[xe]={});const zt=dt[xe];return g(zt)&&s(Ne)?Ne:zt}(xe,Ne,dt))}function ui(N,xe,Ne,dt,zt){for(;Ne;)Ne=Ho(N,xe,Ne,dt,zt);return Ne}function di(N,xe){for(const Ne of xe){if(!Ne)continue;const dt=Ne[N];if(Mt(dt))return dt}}function Qo(N){let xe=N._keys;return xe||(xe=N._keys=function ki(N){const xe=new Set;for(const Ne of N)for(const dt of Object.keys(Ne).filter(zt=>!zt.startsWith("_")))xe.add(dt);return Array.from(xe)}(N._scopes)),xe}function li(N,xe,Ne,dt){const{iScale:zt}=N,{key:gn="r"}=this._parsing,xn=new Array(dt);let Yn,Do,Uo,oi;for(Yn=0,Do=dt;Ynxe"x"===N?"y":"x";function Ii(N,xe,Ne,dt){const zt=N.skip?xe:N,gn=xe,xn=Ne.skip?xe:Ne,Yn=Fn(gn,zt),Do=Fn(xn,gn);let Uo=Yn/(Yn+Do),oi=Do/(Yn+Do);Uo=isNaN(Uo)?0:Uo,oi=isNaN(oi)?0:oi;const Ni=dt*Uo,yr=dt*oi;return{previous:{x:gn.x-Ni*(xn.x-zt.x),y:gn.y-Ni*(xn.y-zt.y)},next:{x:gn.x+yr*(xn.x-zt.x),y:gn.y+yr*(xn.y-zt.y)}}}function Xi(N,xe,Ne){return Math.max(Math.min(N,Ne),xe)}function m(N,xe,Ne,dt,zt){let gn,xn,Yn,Do;if(xe.spanGaps&&(N=N.filter(Uo=>!Uo.skip)),"monotone"===xe.cubicInterpolationMode)!function Li(N,xe="x"){const Ne=Jr(xe),dt=N.length,zt=Array(dt).fill(0),gn=Array(dt);let xn,Yn,Do,Uo=Cr(N,0);for(xn=0;xnwindow.getComputedStyle(N,null),mt=["top","right","bottom","left"];function qe(N,xe,Ne){const dt={};Ne=Ne?"-"+Ne:"";for(let zt=0;zt<4;zt++){const gn=mt[zt];dt[gn]=parseFloat(N[xe+"-"+gn+Ne])||0}return dt.width=dt.left+dt.right,dt.height=dt.top+dt.bottom,dt}const Ye=(N,xe,Ne)=>(N>0||xe>0)&&(!Ne||!Ne.shadowRoot);function ht(N,xe){if("native"in N)return N;const{canvas:Ne,currentDevicePixelRatio:dt}=xe,zt=Be(Ne),gn="border-box"===zt.boxSizing,xn=qe(zt,"padding"),Yn=qe(zt,"border","width"),{x:Do,y:Uo,box:oi}=function ut(N,xe){const Ne=N.touches,dt=Ne&&Ne.length?Ne[0]:N,{offsetX:zt,offsetY:gn}=dt;let Yn,Do,xn=!1;if(Ye(zt,gn,N.target))Yn=zt,Do=gn;else{const Uo=xe.getBoundingClientRect();Yn=dt.clientX-Uo.left,Do=dt.clientY-Uo.top,xn=!0}return{x:Yn,y:Do,box:xn}}(N,Ne),Ni=xn.left+(oi&&Yn.left),yr=xn.top+(oi&&Yn.top);let{width:ir,height:bi}=xe;return gn&&(ir-=xn.width+Yn.width,bi-=xn.height+Yn.height),{x:Math.round((Do-Ni)/ir*Ne.width/dt),y:Math.round((Uo-yr)/bi*Ne.height/dt)}}const Gt=N=>Math.round(10*N)/10;function Jt(N,xe,Ne,dt){const zt=Be(N),gn=qe(zt,"margin"),xn=ge(zt.maxWidth,N,"clientWidth")||e,Yn=ge(zt.maxHeight,N,"clientHeight")||e,Do=function yt(N,xe,Ne){let dt,zt;if(void 0===xe||void 0===Ne){const gn=te(N);if(gn){const xn=gn.getBoundingClientRect(),Yn=Be(gn),Do=qe(Yn,"border","width"),Uo=qe(Yn,"padding");xe=xn.width-Uo.width-Do.width,Ne=xn.height-Uo.height-Do.height,dt=ge(Yn.maxWidth,gn,"clientWidth"),zt=ge(Yn.maxHeight,gn,"clientHeight")}else xe=N.clientWidth,Ne=N.clientHeight}return{width:xe,height:Ne,maxWidth:dt||e,maxHeight:zt||e}}(N,xe,Ne);let{width:Uo,height:oi}=Do;if("content-box"===zt.boxSizing){const Ni=qe(zt,"border","width"),yr=qe(zt,"padding");Uo-=yr.width+Ni.width,oi-=yr.height+Ni.height}return Uo=Math.max(0,Uo-gn.width),oi=Math.max(0,dt?Math.floor(Uo/dt):oi-gn.height),Uo=Gt(Math.min(Uo,xn,Do.maxWidth)),oi=Gt(Math.min(oi,Yn,Do.maxHeight)),Uo&&!oi&&(oi=Gt(Uo/2)),{width:Uo,height:oi}}function z(N,xe,Ne){const dt=xe||1,zt=Math.floor(N.height*dt),gn=Math.floor(N.width*dt);N.height=zt/dt,N.width=gn/dt;const xn=N.canvas;return xn.style&&(Ne||!xn.style.height&&!xn.style.width)&&(xn.style.height=`${N.height}px`,xn.style.width=`${N.width}px`),(N.currentDevicePixelRatio!==dt||xn.height!==zt||xn.width!==gn)&&(N.currentDevicePixelRatio=dt,xn.height=zt,xn.width=gn,N.ctx.setTransform(dt,0,0,dt,0,0),!0)}const Q=function(){let N=!1;try{const xe={get passive(){return N=!0,!1}};window.addEventListener("test",null,xe),window.removeEventListener("test",null,xe)}catch{}return N}();function Ee(N,xe){const Ne=function Re(N,xe){return Be(N).getPropertyValue(xe)}(N,xe),dt=Ne&&Ne.match(/^(\d+)(\.\d+)?px$/);return dt?+dt[1]:void 0}function _e(N,xe,Ne,dt){return{x:N.x+Ne*(xe.x-N.x),y:N.y+Ne*(xe.y-N.y)}}function He(N,xe,Ne,dt){return{x:N.x+Ne*(xe.x-N.x),y:"middle"===dt?Ne<.5?N.y:xe.y:"after"===dt?Ne<1?N.y:xe.y:Ne>0?xe.y:N.y}}function nt(N,xe,Ne,dt){const zt={x:N.cp2x,y:N.cp2y},gn={x:xe.cp1x,y:xe.cp1y},xn=_e(N,zt,Ne),Yn=_e(zt,gn,Ne),Do=_e(gn,xe,Ne),Uo=_e(xn,Yn,Ne),oi=_e(Yn,Do,Ne);return _e(Uo,oi,Ne)}const Ut=new Map;function on(N,xe,Ne){return function an(N,xe){xe=xe||{};const Ne=N+JSON.stringify(xe);let dt=Ut.get(Ne);return dt||(dt=new Intl.NumberFormat(N,xe),Ut.set(Ne,dt)),dt}(xe,Ne).format(N)}const Mn=function(N,xe){return{x:Ne=>N+N+xe-Ne,setWidth(Ne){xe=Ne},textAlign:Ne=>"center"===Ne?Ne:"right"===Ne?"left":"right",xPlus:(Ne,dt)=>Ne-dt,leftForLtr:(Ne,dt)=>Ne-dt}},Xt=function(){return{x:N=>N,setWidth(N){},textAlign:N=>N,xPlus:(N,xe)=>N+xe,leftForLtr:(N,xe)=>N}};function ve(N,xe,Ne){return N?Mn(xe,Ne):Xt()}function Fe(N,xe){let Ne,dt;("ltr"===xe||"rtl"===xe)&&(Ne=N.canvas.style,dt=[Ne.getPropertyValue("direction"),Ne.getPropertyPriority("direction")],Ne.setProperty("direction",xe,"important"),N.prevTextDirection=dt)}function Y(N,xe){void 0!==xe&&(delete N.prevTextDirection,N.canvas.style.setProperty("direction",xe[0],xe[1]))}function Pe(N){return"angle"===N?{between:Zn,compare:pn,normalize:Un}:{between:Cn,compare:(xe,Ne)=>xe-Ne,normalize:xe=>xe}}function Ue({start:N,end:xe,count:Ne,loop:dt,style:zt}){return{start:N%Ne,end:xe%Ne,loop:dt&&(xe-N+1)%Ne==0,style:zt}}function ao(N,xe,Ne){if(!Ne)return[N];const{property:dt,start:zt,end:gn}=Ne,xn=xe.length,{compare:Yn,between:Do,normalize:Uo}=Pe(dt),{start:oi,end:Ni,loop:yr,style:ir}=function Pn(N,xe,Ne){const{property:dt,start:zt,end:gn}=Ne,{between:xn,normalize:Yn}=Pe(dt),Do=xe.length;let yr,ir,{start:Uo,end:oi,loop:Ni}=N;if(Ni){for(Uo+=Do,oi+=Do,yr=0,ir=Do;yrzt&&N[gn%xe].skip;)gn--;return gn%=xe,{start:zt,end:gn}}(Ne,zt,gn,dt);return Pi(N,!0===dt?[{start:xn,end:Yn,loop:gn}]:function Mo(N,xe,Ne,dt){const zt=N.length,gn=[];let Do,xn=xe,Yn=N[xe];for(Do=xe+1;Do<=Ne;++Do){const Uo=N[Do%zt];Uo.skip||Uo.stop?Yn.skip||(gn.push({start:xe%zt,end:(Do-1)%zt,loop:dt=!1}),xe=xn=Uo.stop?Do:null):(xn=Do,Yn.skip&&(xe=Do)),Yn=Uo}return null!==xn&&gn.push({start:xe%zt,end:xn%zt,loop:dt}),gn}(Ne,xn,Yn{"use strict";l.d(Z,{PI:()=>n.P,tn:()=>n.b2,If:()=>n.av,E2:()=>n.C,uv:()=>n.L,sw:()=>n.j,Lt:()=>n.aG,DE:()=>n.au,__:()=>n.Q,cy:()=>n.b,MI:()=>n.g,Pj:()=>n.k,Gv:()=>n.i,h1:()=>n.V,hd:()=>n.a,di:()=>n.O,Lv:()=>n.K,eh:()=>n.t,u$:()=>n.ax,$J:()=>n.N,a4:()=>n.v});var n=l(66935)},99130:(ft,Z,l)=>{"use strict";l.d(Z,{uk:()=>_n,L_:()=>Zn}),l(78590);const _={year:0,month:1,day:2,hour:3,minute:4,second:5},M={},I=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),R="06/25/2014, 00:00:00"===I||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===I;function K(Qt,Nn,Qn,Zt,vn,hn,Tn){const uo=new Date(0);return uo.setUTCFullYear(Qt,Nn,Qn),uo.setUTCHours(Zt,vn,hn,Tn),uo}const L=36e5,he=6e4,pe={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function be(Qt,Nn,Qn){if(!Qt)return 0;let vn,hn,Zt=pe.timezoneZ.exec(Qt);if(Zt)return 0;if(Zt=pe.timezoneHH.exec(Qt),Zt)return vn=parseInt(Zt[1],10),ke(vn)?-vn*L:NaN;if(Zt=pe.timezoneHHMM.exec(Qt),Zt){vn=parseInt(Zt[2],10);const Tn=parseInt(Zt[3],10);return ke(vn,Tn)?(hn=Math.abs(vn)*L+Tn*he,"+"===Zt[1]?-hn:hn):NaN}if(function Je(Qt){if(De[Qt])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:Qt}),De[Qt]=!0,!0}catch{return!1}}(Qt)){Nn=new Date(Nn||Date.now());const Tn=Qn?Nn:function Le(Qt){return K(Qt.getFullYear(),Qt.getMonth(),Qt.getDate(),Qt.getHours(),Qt.getMinutes(),Qt.getSeconds(),Qt.getMilliseconds())}(Nn),uo=ye(Tn,Qt);return-(Qn?uo:function je(Qt,Nn,Qn){let vn=Qt.getTime()-Nn;const hn=ye(new Date(vn),Qn);if(Nn===hn)return Nn;vn-=hn-Nn;const Tn=ye(new Date(vn),Qn);return hn===Tn?hn:Math.max(hn,Tn)}(Nn,uo,Qt))}return NaN}function ye(Qt,Nn){const Qn=function x(Qt,Nn){const Qn=function H(Qt){return M[Qt]||(M[Qt]=R?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:Qt,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:Qt,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),M[Qt]}(Nn);return"formatToParts"in Qn?function y(Qt,Nn){try{const Qn=Qt.formatToParts(Nn),Zt=[];for(let vn=0;vn=0?hn:1e3+hn,Zt-vn}function ke(Qt,Nn){return-23<=Qt&&Qt<=23&&(null==Nn||0<=Nn&&Nn<=59)}const De={};function Xe(Qt){const Nn=new Date(Date.UTC(Qt.getFullYear(),Qt.getMonth(),Qt.getDate(),Qt.getHours(),Qt.getMinutes(),Qt.getSeconds(),Qt.getMilliseconds()));return Nn.setUTCFullYear(Qt.getFullYear()),+Qt-+Nn}const e=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,On=36e5,Pt=6e4,wt=2,At={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:e};function we(Qt,Nn={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===Qt)return new Date(NaN);const Qn=null==Nn.additionalDigits?wt:Number(Nn.additionalDigits);if(2!==Qn&&1!==Qn&&0!==Qn)throw new RangeError("additionalDigits must be 0, 1 or 2");if(Qt instanceof Date||"object"==typeof Qt&&"[object Date]"===Object.prototype.toString.call(Qt))return new Date(Qt.getTime());if("number"==typeof Qt||"[object Number]"===Object.prototype.toString.call(Qt))return new Date(Qt);if("[object String]"!==Object.prototype.toString.call(Qt))return new Date(NaN);const Zt=function Ot(Qt){const Nn={};let Zt,Qn=At.dateTimePattern.exec(Qt);if(Qn?(Nn.date=Qn[1],Zt=Qn[3]):(Qn=At.datePattern.exec(Qt),Qn?(Nn.date=Qn[1],Zt=Qn[2]):(Nn.date=null,Zt=Qt)),Zt){const vn=At.timeZone.exec(Zt);vn?(Nn.time=Zt.replace(vn[1],""),Nn.timeZone=vn[1].trim()):Nn.time=Zt}return Nn}(Qt),{year:vn,restDateString:hn}=function It(Qt,Nn){if(Qt){const Qn=At.YYY[Nn],Zt=At.YYYYY[Nn];let vn=At.YYYY.exec(Qt)||Zt.exec(Qt);if(vn){const hn=vn[1];return{year:parseInt(hn,10),restDateString:Qt.slice(hn.length)}}if(vn=At.YY.exec(Qt)||Qn.exec(Qt),vn){const hn=vn[1];return{year:100*parseInt(hn,10),restDateString:Qt.slice(hn.length)}}}return{year:null}}(Zt.date,Qn),Tn=function tn(Qt,Nn){if(null===Nn)return null;let Qn,Zt,vn;if(!Qt||!Qt.length)return Qn=new Date(0),Qn.setUTCFullYear(Nn),Qn;let hn=At.MM.exec(Qt);if(hn)return Qn=new Date(0),Zt=parseInt(hn[1],10)-1,Nt(Nn,Zt)?(Qn.setUTCFullYear(Nn,Zt),Qn):new Date(NaN);if(hn=At.DDD.exec(Qt),hn){Qn=new Date(0);const Tn=parseInt(hn[1],10);return function Vt(Qt,Nn){if(Nn<1)return!1;const Qn=pt(Qt);return!(Qn&&Nn>366||!Qn&&Nn>365)}(Nn,Tn)?(Qn.setUTCFullYear(Nn,0,Tn),Qn):new Date(NaN)}if(hn=At.MMDD.exec(Qt),hn){Qn=new Date(0),Zt=parseInt(hn[1],10)-1;const Tn=parseInt(hn[2],10);return Nt(Nn,Zt,Tn)?(Qn.setUTCFullYear(Nn,Zt,Tn),Qn):new Date(NaN)}if(hn=At.Www.exec(Qt),hn)return vn=parseInt(hn[1],10)-1,cn(vn)?En(Nn,vn):new Date(NaN);if(hn=At.WwwD.exec(Qt),hn){vn=parseInt(hn[1],10)-1;const Tn=parseInt(hn[2],10)-1;return cn(vn,Tn)?En(Nn,vn,Tn):new Date(NaN)}return null}(hn,vn);if(null===Tn||isNaN(Tn.getTime()))return new Date(NaN);if(Tn){const uo=Tn.getTime();let _o,bo=0;if(Zt.time&&(bo=function fn(Qt){let Nn,Qn,Zt=At.HH.exec(Qt);if(Zt)return Nn=parseFloat(Zt[1].replace(",",".")),Fn(Nn)?Nn%24*On:NaN;if(Zt=At.HHMM.exec(Qt),Zt)return Nn=parseInt(Zt[1],10),Qn=parseFloat(Zt[2].replace(",",".")),Fn(Nn,Qn)?Nn%24*On+Qn*Pt:NaN;if(Zt=At.HHMMSS.exec(Qt),Zt){Nn=parseInt(Zt[1],10),Qn=parseInt(Zt[2],10);const vn=parseFloat(Zt[3].replace(",","."));return Fn(Nn,Qn,vn)?Nn%24*On+Qn*Pt+1e3*vn:NaN}return null}(Zt.time),null===bo||isNaN(bo)))return new Date(NaN);if(Zt.timeZone||Nn.timeZone){if(_o=be(Zt.timeZone||Nn.timeZone,new Date(uo+bo)),isNaN(_o))return new Date(NaN)}else _o=Xe(new Date(uo+bo)),_o=Xe(new Date(uo+bo+_o));return new Date(uo+bo+_o)}return new Date(NaN)}function En(Qt,Nn,Qn){Nn=Nn||0,Qn=Qn||0;const Zt=new Date(0);Zt.setUTCFullYear(Qt,0,4);const hn=7*Nn+Qn+1-(Zt.getUTCDay()||7);return Zt.setUTCDate(Zt.getUTCDate()+hn),Zt}const jn=[31,28,31,30,31,30,31,31,30,31,30,31],So=[31,29,31,30,31,30,31,31,30,31,30,31];function pt(Qt){return Qt%400==0||Qt%4==0&&Qt%100!=0}function Nt(Qt,Nn,Qn){if(Nn<0||Nn>11)return!1;if(null!=Qn){if(Qn<1)return!1;const Zt=pt(Qt);if(Zt&&Qn>So[Nn]||!Zt&&Qn>jn[Nn])return!1}return!0}function cn(Qt,Nn){return!(Qt<0||Qt>52||null!=Nn&&(Nn<0||Nn>6))}function Fn(Qt,Nn,Qn){return!(Qt<0||Qt>=25||null!=Nn&&(Nn<0||Nn>=60)||null!=Qn&&(Qn<0||Qn>=60))}function Zn(Qt,Nn,Qn){const Zt=be(Nn,Qt=we(Qt,Qn),!0),vn=new Date(Qt.getTime()-Zt),hn=new Date(0);return hn.setFullYear(vn.getUTCFullYear(),vn.getUTCMonth(),vn.getUTCDate()),hn.setHours(vn.getUTCHours(),vn.getUTCMinutes(),vn.getUTCSeconds(),vn.getUTCMilliseconds()),hn}function _n(Qt,Nn,Qn){if("string"==typeof Qt&&!Qt.match(e))return we(Qt,{...Qn,timeZone:Nn});const Zt=K((Qt=we(Qt,Qn)).getFullYear(),Qt.getMonth(),Qt.getDate(),Qt.getHours(),Qt.getMinutes(),Qt.getSeconds(),Qt.getMilliseconds()).getTime(),vn=be(Nn,new Date(Zt));return new Date(Zt+vn)}},9807:(ft,Z,l)=>{"use strict";l.d(Z,{q:()=>i});let n={};function i(){return n}},83849:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>g});const n=(s,x)=>{switch(s){case"P":return x.date({width:"short"});case"PP":return x.date({width:"medium"});case"PPP":return x.date({width:"long"});default:return x.date({width:"full"})}},i=(s,x)=>{switch(s){case"p":return x.time({width:"short"});case"pp":return x.time({width:"medium"});case"ppp":return x.time({width:"long"});default:return x.time({width:"full"})}},g={p:i,P:(s,x)=>{const _=s.match(/(P+)(p+)?/)||[],y=_[1],w=_[2];if(!w)return n(s,x);let M;switch(y){case"P":M=x.dateTime({width:"short"});break;case"PP":M=x.dateTime({width:"medium"});break;case"PPP":M=x.dateTime({width:"long"});break;default:M=x.dateTime({width:"full"})}return M.replace("{{date}}",n(y,x)).replace("{{time}}",i(w,x))}}},48833:(ft,Z,l)=>{"use strict";l.d(Z,{G:()=>i});var n=l(91490);function i(f){const g=(0,n.a)(f),s=new Date(Date.UTC(g.getFullYear(),g.getMonth(),g.getDate(),g.getHours(),g.getMinutes(),g.getSeconds(),g.getMilliseconds()));return s.setUTCFullYear(g.getFullYear()),+f-+s}},77530:(ft,Z,l)=>{"use strict";l.d(Z,{x:()=>i});var n=l(91298);function i(f,...g){const s=n.w.bind(null,f||g.find(x=>"object"==typeof x));return g.map(s)}},18648:(ft,Z,l)=>{"use strict";l.d(Z,{Ss:()=>x,ef:()=>g,xM:()=>s});const n=/^D+$/,i=/^Y+$/,f=["D","DD","YY","YYYY"];function g(y){return n.test(y)}function s(y){return i.test(y)}function x(y,w,M){const I=function _(y,w,M){const I="Y"===y[0]?"years":"days of the month";return`Use \`${y.toLowerCase()}\` instead of \`${y}\` (in \`${w}\`) for formatting ${I} to the input \`${M}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(y,w,M);if(console.warn(I),f.includes(y))throw new RangeError(I)}},71479:(ft,Z,l)=>{"use strict";l.d(Z,{f:()=>f});var n=l(91298),i=l(91490);function f(s,x,_){const y=(0,i.a)(s,_?.in);return isNaN(x)?(0,n.w)(_?.in||s,NaN):(x&&y.setDate(y.getDate()+x),y)}},53759:(ft,Z,l)=>{"use strict";l.d(Z,{P:()=>f});var n=l(91298),i=l(91490);function f(s,x,_){const y=(0,i.a)(s,_?.in);if(isNaN(x))return(0,n.w)(_?.in||s,NaN);if(!x)return y;const w=y.getDate(),M=(0,n.w)(_?.in||s,y.getTime());return M.setMonth(y.getMonth()+x+1,0),w>=M.getDate()?M:(y.setFullYear(M.getFullYear(),M.getMonth(),w),y)}},72162:(ft,Z,l)=>{"use strict";l.d(Z,{Cg:()=>_,_P:()=>Je,_m:()=>w,my:()=>s,s0:()=>y,w4:()=>x}),Math.pow(10,8);const s=6048e5,x=864e5,_=6e4,y=36e5,w=1e3,Je=Symbol.for("constructDateFrom")},91298:(ft,Z,l)=>{"use strict";l.d(Z,{w:()=>i});var n=l(72162);function i(g,s){return"function"==typeof g?g(s):g&&"object"==typeof g&&n._P in g?g[n._P](s):g instanceof Date?new g.constructor(s):new Date(s)}},81266:(ft,Z,l)=>{"use strict";l.d(Z,{m:()=>s});var n=l(48833),i=l(77530),f=l(72162),g=l(30226);function s(_,y,w){const[M,I]=(0,i.x)(w?.in,_,y),R=(0,g.o)(M),H=(0,g.o)(I),K=+R-(0,n.G)(R),L=+H-(0,n.G)(H);return Math.round((K-L)/f.w4)}},69831:(ft,Z,l)=>{"use strict";l.d(Z,{$:()=>f});var n=l(9807),i=l(91490);function f(s,x){const _=(0,n.q)(),y=x?.weekStartsOn??x?.locale?.options?.weekStartsOn??_.weekStartsOn??_.locale?.options?.weekStartsOn??0,w=(0,i.a)(s,x?.in),M=w.getDay(),I=6+(M{"use strict";l.d(Z,{GP:()=>Bt});var n=l(54238),i=l(9807),f=l(81266),g=l(80167),s=l(91490),y=l(79865),w=l(98539),M=l(3719),I=l(4110);function R(tt,Ct){return(tt<0?"-":"")+Math.abs(tt).toString().padStart(Ct,"0")}const H={y(tt,Ct){const Xe=tt.getFullYear(),e=Xe>0?Xe:1-Xe;return R("yy"===Ct?e%100:e,Ct.length)},M(tt,Ct){const Xe=tt.getMonth();return"M"===Ct?String(Xe+1):R(Xe+1,2)},d:(tt,Ct)=>R(tt.getDate(),Ct.length),a(tt,Ct){const Xe=tt.getHours()/12>=1?"pm":"am";switch(Ct){case"a":case"aa":return Xe.toUpperCase();case"aaa":return Xe;case"aaaaa":return Xe[0];default:return"am"===Xe?"a.m.":"p.m."}},h:(tt,Ct)=>R(tt.getHours()%12||12,Ct.length),H:(tt,Ct)=>R(tt.getHours(),Ct.length),m:(tt,Ct)=>R(tt.getMinutes(),Ct.length),s:(tt,Ct)=>R(tt.getSeconds(),Ct.length),S(tt,Ct){const Xe=Ct.length,e=tt.getMilliseconds();return R(Math.trunc(e*Math.pow(10,Xe-3)),Ct.length)}},L={G:function(tt,Ct,Xe){const e=tt.getFullYear()>0?1:0;switch(Ct){case"G":case"GG":case"GGG":return Xe.era(e,{width:"abbreviated"});case"GGGGG":return Xe.era(e,{width:"narrow"});default:return Xe.era(e,{width:"wide"})}},y:function(tt,Ct,Xe){if("yo"===Ct){const e=tt.getFullYear();return Xe.ordinalNumber(e>0?e:1-e,{unit:"year"})}return H.y(tt,Ct)},Y:function(tt,Ct,Xe,e){const On=(0,I.h)(tt,e),Pt=On>0?On:1-On;return"YY"===Ct?R(Pt%100,2):"Yo"===Ct?Xe.ordinalNumber(Pt,{unit:"year"}):R(Pt,Ct.length)},R:function(tt,Ct){return R((0,w.p)(tt),Ct.length)},u:function(tt,Ct){return R(tt.getFullYear(),Ct.length)},Q:function(tt,Ct,Xe){const e=Math.ceil((tt.getMonth()+1)/3);switch(Ct){case"Q":return String(e);case"QQ":return R(e,2);case"Qo":return Xe.ordinalNumber(e,{unit:"quarter"});case"QQQ":return Xe.quarter(e,{width:"abbreviated",context:"formatting"});case"QQQQQ":return Xe.quarter(e,{width:"narrow",context:"formatting"});default:return Xe.quarter(e,{width:"wide",context:"formatting"})}},q:function(tt,Ct,Xe){const e=Math.ceil((tt.getMonth()+1)/3);switch(Ct){case"q":return String(e);case"qq":return R(e,2);case"qo":return Xe.ordinalNumber(e,{unit:"quarter"});case"qqq":return Xe.quarter(e,{width:"abbreviated",context:"standalone"});case"qqqqq":return Xe.quarter(e,{width:"narrow",context:"standalone"});default:return Xe.quarter(e,{width:"wide",context:"standalone"})}},M:function(tt,Ct,Xe){const e=tt.getMonth();switch(Ct){case"M":case"MM":return H.M(tt,Ct);case"Mo":return Xe.ordinalNumber(e+1,{unit:"month"});case"MMM":return Xe.month(e,{width:"abbreviated",context:"formatting"});case"MMMMM":return Xe.month(e,{width:"narrow",context:"formatting"});default:return Xe.month(e,{width:"wide",context:"formatting"})}},L:function(tt,Ct,Xe){const e=tt.getMonth();switch(Ct){case"L":return String(e+1);case"LL":return R(e+1,2);case"Lo":return Xe.ordinalNumber(e+1,{unit:"month"});case"LLL":return Xe.month(e,{width:"abbreviated",context:"standalone"});case"LLLLL":return Xe.month(e,{width:"narrow",context:"standalone"});default:return Xe.month(e,{width:"wide",context:"standalone"})}},w:function(tt,Ct,Xe,e){const On=(0,M.N)(tt,e);return"wo"===Ct?Xe.ordinalNumber(On,{unit:"week"}):R(On,Ct.length)},I:function(tt,Ct,Xe){const e=(0,y.s)(tt);return"Io"===Ct?Xe.ordinalNumber(e,{unit:"week"}):R(e,Ct.length)},d:function(tt,Ct,Xe){return"do"===Ct?Xe.ordinalNumber(tt.getDate(),{unit:"date"}):H.d(tt,Ct)},D:function(tt,Ct,Xe){const e=function x(tt,Ct){const Xe=(0,s.a)(tt,Ct?.in);return(0,f.m)(Xe,(0,g.D)(Xe))+1}(tt);return"Do"===Ct?Xe.ordinalNumber(e,{unit:"dayOfYear"}):R(e,Ct.length)},E:function(tt,Ct,Xe){const e=tt.getDay();switch(Ct){case"E":case"EE":case"EEE":return Xe.day(e,{width:"abbreviated",context:"formatting"});case"EEEEE":return Xe.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return Xe.day(e,{width:"short",context:"formatting"});default:return Xe.day(e,{width:"wide",context:"formatting"})}},e:function(tt,Ct,Xe,e){const On=tt.getDay(),Pt=(On-e.weekStartsOn+8)%7||7;switch(Ct){case"e":return String(Pt);case"ee":return R(Pt,2);case"eo":return Xe.ordinalNumber(Pt,{unit:"day"});case"eee":return Xe.day(On,{width:"abbreviated",context:"formatting"});case"eeeee":return Xe.day(On,{width:"narrow",context:"formatting"});case"eeeeee":return Xe.day(On,{width:"short",context:"formatting"});default:return Xe.day(On,{width:"wide",context:"formatting"})}},c:function(tt,Ct,Xe,e){const On=tt.getDay(),Pt=(On-e.weekStartsOn+8)%7||7;switch(Ct){case"c":return String(Pt);case"cc":return R(Pt,Ct.length);case"co":return Xe.ordinalNumber(Pt,{unit:"day"});case"ccc":return Xe.day(On,{width:"abbreviated",context:"standalone"});case"ccccc":return Xe.day(On,{width:"narrow",context:"standalone"});case"cccccc":return Xe.day(On,{width:"short",context:"standalone"});default:return Xe.day(On,{width:"wide",context:"standalone"})}},i:function(tt,Ct,Xe){const e=tt.getDay(),On=0===e?7:e;switch(Ct){case"i":return String(On);case"ii":return R(On,Ct.length);case"io":return Xe.ordinalNumber(On,{unit:"day"});case"iii":return Xe.day(e,{width:"abbreviated",context:"formatting"});case"iiiii":return Xe.day(e,{width:"narrow",context:"formatting"});case"iiiiii":return Xe.day(e,{width:"short",context:"formatting"});default:return Xe.day(e,{width:"wide",context:"formatting"})}},a:function(tt,Ct,Xe){const On=tt.getHours()/12>=1?"pm":"am";switch(Ct){case"a":case"aa":return Xe.dayPeriod(On,{width:"abbreviated",context:"formatting"});case"aaa":return Xe.dayPeriod(On,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return Xe.dayPeriod(On,{width:"narrow",context:"formatting"});default:return Xe.dayPeriod(On,{width:"wide",context:"formatting"})}},b:function(tt,Ct,Xe){const e=tt.getHours();let On;switch(On=12===e?"noon":0===e?"midnight":e/12>=1?"pm":"am",Ct){case"b":case"bb":return Xe.dayPeriod(On,{width:"abbreviated",context:"formatting"});case"bbb":return Xe.dayPeriod(On,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return Xe.dayPeriod(On,{width:"narrow",context:"formatting"});default:return Xe.dayPeriod(On,{width:"wide",context:"formatting"})}},B:function(tt,Ct,Xe){const e=tt.getHours();let On;switch(On=e>=17?"evening":e>=12?"afternoon":e>=4?"morning":"night",Ct){case"B":case"BB":case"BBB":return Xe.dayPeriod(On,{width:"abbreviated",context:"formatting"});case"BBBBB":return Xe.dayPeriod(On,{width:"narrow",context:"formatting"});default:return Xe.dayPeriod(On,{width:"wide",context:"formatting"})}},h:function(tt,Ct,Xe){if("ho"===Ct){let e=tt.getHours()%12;return 0===e&&(e=12),Xe.ordinalNumber(e,{unit:"hour"})}return H.h(tt,Ct)},H:function(tt,Ct,Xe){return"Ho"===Ct?Xe.ordinalNumber(tt.getHours(),{unit:"hour"}):H.H(tt,Ct)},K:function(tt,Ct,Xe){const e=tt.getHours()%12;return"Ko"===Ct?Xe.ordinalNumber(e,{unit:"hour"}):R(e,Ct.length)},k:function(tt,Ct,Xe){let e=tt.getHours();return 0===e&&(e=24),"ko"===Ct?Xe.ordinalNumber(e,{unit:"hour"}):R(e,Ct.length)},m:function(tt,Ct,Xe){return"mo"===Ct?Xe.ordinalNumber(tt.getMinutes(),{unit:"minute"}):H.m(tt,Ct)},s:function(tt,Ct,Xe){return"so"===Ct?Xe.ordinalNumber(tt.getSeconds(),{unit:"second"}):H.s(tt,Ct)},S:function(tt,Ct){return H.S(tt,Ct)},X:function(tt,Ct,Xe){const e=tt.getTimezoneOffset();if(0===e)return"Z";switch(Ct){case"X":return pe(e);case"XXXX":case"XX":return be(e);default:return be(e,":")}},x:function(tt,Ct,Xe){const e=tt.getTimezoneOffset();switch(Ct){case"x":return pe(e);case"xxxx":case"xx":return be(e);default:return be(e,":")}},O:function(tt,Ct,Xe){const e=tt.getTimezoneOffset();switch(Ct){case"O":case"OO":case"OOO":return"GMT"+he(e,":");default:return"GMT"+be(e,":")}},z:function(tt,Ct,Xe){const e=tt.getTimezoneOffset();switch(Ct){case"z":case"zz":case"zzz":return"GMT"+he(e,":");default:return"GMT"+be(e,":")}},t:function(tt,Ct,Xe){return R(Math.trunc(+tt/1e3),Ct.length)},T:function(tt,Ct,Xe){return R(+tt,Ct.length)}};function he(tt,Ct=""){const Xe=tt>0?"-":"+",e=Math.abs(tt),On=Math.trunc(e/60),Pt=e%60;return 0===Pt?Xe+String(On):Xe+String(On)+Ct+R(Pt,2)}function pe(tt,Ct){return tt%60==0?(tt>0?"-":"+")+R(Math.abs(tt)/60,2):be(tt,Ct)}function be(tt,Ct=""){const Xe=tt>0?"-":"+",e=Math.abs(tt);return Xe+R(Math.trunc(e/60),2)+Ct+R(e%60,2)}var Le=l(83849),ye=l(18648),je=l(6509);const ke=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,De=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Je=/^'([^]*?)'?$/,lt=/''/g,Mt=/[a-zA-Z]/;function Bt(tt,Ct,Xe){const e=(0,i.q)(),On=Xe?.locale??e.locale??n.c,Pt=Xe?.firstWeekContainsDate??Xe?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,wt=Xe?.weekStartsOn??Xe?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,At=(0,s.a)(tt,Xe?.in);if(!(0,je.f)(At))throw new RangeError("Invalid time value");let we=Ct.match(De).map(It=>{const tn=It[0];return"p"===tn||"P"===tn?(0,Le.m[tn])(It,On.formatLong):It}).join("").match(ke).map(It=>{if("''"===It)return{isToken:!1,value:"'"};const tn=It[0];if("'"===tn)return{isToken:!1,value:et(It)};if(L[tn])return{isToken:!0,value:It};if(tn.match(Mt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+tn+"`");return{isToken:!1,value:It}});On.localize.preprocessor&&(we=On.localize.preprocessor(At,we));const Ot={firstWeekContainsDate:Pt,weekStartsOn:wt,locale:On};return we.map(It=>{if(!It.isToken)return It.value;const tn=It.value;return(!Xe?.useAdditionalWeekYearTokens&&(0,ye.xM)(tn)||!Xe?.useAdditionalDayOfYearTokens&&(0,ye.ef)(tn))&&(0,ye.Ss)(tn,Ct,String(tt)),(0,L[tn[0]])(At,tn,On.localize,Ot)}).join("")}function et(tt){const Ct=tt.match(Je);return Ct?Ct[1].replace(lt,"'"):tt}},78590:(ft,Z,l)=>{"use strict";l.d(Z,{q:()=>i});var n=l(9807);function i(){return Object.assign({},(0,n.q)())}},79865:(ft,Z,l)=>{"use strict";l.d(Z,{s:()=>y});var n=l(72162),i=l(31337),f=l(91298),g=l(98539),_=l(91490);function y(M,I){const R=(0,_.a)(M,I?.in),H=+(0,i.b)(R)-+function s(M,I){const R=(0,g.p)(M,I),H=(0,f.w)(I?.in||M,0);return H.setFullYear(R,0,4),H.setHours(0,0,0,0),(0,i.b)(H)}(R);return Math.round(H/n.my)+1}},98539:(ft,Z,l)=>{"use strict";l.d(Z,{p:()=>g});var n=l(91298),i=l(31337),f=l(91490);function g(x,_){const y=(0,f.a)(x,_?.in),w=y.getFullYear(),M=(0,n.w)(y,0);M.setFullYear(w+1,0,4),M.setHours(0,0,0,0);const I=(0,i.b)(M),R=(0,n.w)(y,0);R.setFullYear(w,0,4),R.setHours(0,0,0,0);const H=(0,i.b)(R);return y.getTime()>=I.getTime()?w+1:y.getTime()>=H.getTime()?w:w-1}},3719:(ft,Z,l)=>{"use strict";l.d(Z,{N:()=>w});var n=l(72162),i=l(28034),f=l(9807),g=l(91298),s=l(4110),y=l(91490);function w(I,R){const H=(0,y.a)(I,R?.in),K=+(0,i.k)(H,R)-+function x(I,R){const H=(0,f.q)(),K=R?.firstWeekContainsDate??R?.locale?.options?.firstWeekContainsDate??H.firstWeekContainsDate??H.locale?.options?.firstWeekContainsDate??1,L=(0,s.h)(I,R),he=(0,g.w)(R?.in||I,0);return he.setFullYear(L,0,K),he.setHours(0,0,0,0),(0,i.k)(he,R)}(H,R);return Math.round(K/n.my)+1}},4110:(ft,Z,l)=>{"use strict";l.d(Z,{h:()=>s});var n=l(9807),i=l(91298),f=l(28034),g=l(91490);function s(_,y){const w=(0,g.a)(_,y?.in),M=w.getFullYear(),I=(0,n.q)(),R=y?.firstWeekContainsDate??y?.locale?.options?.firstWeekContainsDate??I.firstWeekContainsDate??I.locale?.options?.firstWeekContainsDate??1,H=(0,i.w)(y?.in||_,0);H.setFullYear(M+1,0,R),H.setHours(0,0,0,0);const K=(0,f.k)(H,y),L=(0,i.w)(y?.in||_,0);L.setFullYear(M,0,R),L.setHours(0,0,0,0);const he=(0,f.k)(L,y);return+w>=+K?M+1:+w>=+he?M:M-1}},6509:(ft,Z,l)=>{"use strict";l.d(Z,{f:()=>g});var f=l(91490);function g(x){return!(!function n(x){return x instanceof Date||"object"==typeof x&&"[object Date]"===Object.prototype.toString.call(x)}(x)&&"number"!=typeof x||isNaN(+(0,f.a)(x)))}},13130:(ft,Z,l)=>{"use strict";function n(i){return(f={})=>{const g=f.width?String(f.width):i.defaultWidth;return i.formats[g]||i.formats[i.defaultWidth]}}l.d(Z,{k:()=>n})},34228:(ft,Z,l)=>{"use strict";function n(i){return(f,g)=>{let x;if("formatting"===(g?.context?String(g.context):"standalone")&&i.formattingValues){const y=i.defaultFormattingWidth||i.defaultWidth,w=g?.width?String(g.width):y;x=i.formattingValues[w]||i.formattingValues[y]}else{const y=i.defaultWidth,w=g?.width?String(g.width):i.defaultWidth;x=i.values[w]||i.values[y]}return x[i.argumentCallback?i.argumentCallback(f):f]}}l.d(Z,{o:()=>n})},23990:(ft,Z,l)=>{"use strict";function n(g){return(s,x={})=>{const _=x.width,w=s.match(_&&g.matchPatterns[_]||g.matchPatterns[g.defaultMatchWidth]);if(!w)return null;const M=w[0],I=_&&g.parsePatterns[_]||g.parsePatterns[g.defaultParseWidth],R=Array.isArray(I)?function f(g,s){for(let x=0;xL.test(M)):function i(g,s){for(const x in g)if(Object.prototype.hasOwnProperty.call(g,x)&&s(g[x]))return x}(I,L=>L.test(M));let H;return H=g.valueCallback?g.valueCallback(R):R,H=x.valueCallback?x.valueCallback(H):H,{value:H,rest:s.slice(M.length)}}}l.d(Z,{A:()=>n})},8762:(ft,Z,l)=>{"use strict";function n(i){return(f,g={})=>{const s=f.match(i.matchPattern);if(!s)return null;const x=s[0],_=f.match(i.parsePattern);if(!_)return null;let y=i.valueCallback?i.valueCallback(_[0]):_[0];return y=g.valueCallback?g.valueCallback(y):y,{value:y,rest:f.slice(x.length)}}}l.d(Z,{K:()=>n})},54238:(ft,Z,l)=>{"use strict";l.d(Z,{c:()=>M});var n=l(98306),i=l(13130);const x={date:(0,i.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var _=l(80669),y=l(78157),w=l(39225);const M={code:"en-US",formatDistance:n.B,formatLong:x,formatRelative:_.o,localize:y.k,match:w.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}}},98306:(ft,Z,l)=>{"use strict";l.d(Z,{B:()=>i});const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=(f,g,s)=>{let x;const _=n[f];return x="string"==typeof _?_:1===g?_.one:_.other.replace("{{count}}",g.toString()),s?.addSuffix?s.comparison&&s.comparison>0?"in "+x:x+" ago":x}},80669:(ft,Z,l)=>{"use strict";l.d(Z,{o:()=>i});const n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},i=(f,g,s,x)=>n[f]},78157:(ft,Z,l)=>{"use strict";l.d(Z,{k:()=>w});var n=l(34228);const w={ordinalNumber:(M,I)=>{const R=Number(M),H=R%100;if(H>20||H<10)switch(H%10){case 1:return R+"st";case 2:return R+"nd";case 3:return R+"rd"}return R+"th"},era:(0,n.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,n.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:M=>M-1}),month:(0,n.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,n.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,n.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},39225:(ft,Z,l)=>{"use strict";l.d(Z,{Y:()=>L});var n=l(23990);const L={ordinalNumber:(0,l(8762).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:he=>parseInt(he,10)}),era:(0,n.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,n.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:he=>he+1}),month:(0,n.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,n.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,n.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},30226:(ft,Z,l)=>{"use strict";l.d(Z,{o:()=>i});var n=l(91490);function i(g,s){const x=(0,n.a)(g,s?.in);return x.setHours(0,0,0,0),x}},31337:(ft,Z,l)=>{"use strict";l.d(Z,{b:()=>i});var n=l(28034);function i(g,s){return(0,n.k)(g,{...s,weekStartsOn:1})}},85578:(ft,Z,l)=>{"use strict";l.d(Z,{w:()=>i});var n=l(91490);function i(g,s){const x=(0,n.a)(g,s?.in);return x.setDate(1),x.setHours(0,0,0,0),x}},28034:(ft,Z,l)=>{"use strict";l.d(Z,{k:()=>f});var n=l(9807),i=l(91490);function f(s,x){const _=(0,n.q)(),y=x?.weekStartsOn??x?.locale?.options?.weekStartsOn??_.weekStartsOn??_.locale?.options?.weekStartsOn??0,w=(0,i.a)(s,x?.in),M=w.getDay(),I=(M{"use strict";l.d(Z,{D:()=>i});var n=l(91490);function i(g,s){const x=(0,n.a)(g,s?.in);return x.setFullYear(x.getFullYear(),0,1),x.setHours(0,0,0,0),x}},91490:(ft,Z,l)=>{"use strict";l.d(Z,{a:()=>i});var n=l(91298);function i(g,s){return(0,n.w)(s||g,g)}},10467:(ft,Z,l)=>{"use strict";function n(f,g,s,x,_,y,w){try{var M=f[y](w),I=M.value}catch(R){return void s(R)}M.done?g(I):Promise.resolve(I).then(x,_)}function i(f){return function(){var g=this,s=arguments;return new Promise(function(x,_){var y=f.apply(g,s);function w(I){n(y,x,_,w,M,"next",I)}function M(I){n(y,x,_,w,M,"throw",I)}w(void 0)})}}l.d(Z,{A:()=>i})},31635:(ft,Z,l)=>{"use strict";function s(we,Ot,It,tn){var jn,fn=arguments.length,En=fn<3?Ot:null===tn?tn=Object.getOwnPropertyDescriptor(Ot,It):tn;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)En=Reflect.decorate(we,Ot,It,tn);else for(var So=we.length-1;So>=0;So--)(jn=we[So])&&(En=(fn<3?jn(En):fn>3?jn(Ot,It,En):jn(Ot,It))||En);return fn>3&&En&&Object.defineProperty(Ot,It,En),En}function R(we,Ot,It,tn){return new(It||(It=Promise))(function(En,jn){function So(Vt){try{Nt(tn.next(Vt))}catch(cn){jn(cn)}}function pt(Vt){try{Nt(tn.throw(Vt))}catch(cn){jn(cn)}}function Nt(Vt){Vt.done?En(Vt.value):function fn(En){return En instanceof It?En:new It(function(jn){jn(En)})}(Vt.value).then(So,pt)}Nt((tn=tn.apply(we,Ot||[])).next())})}function je(we){return this instanceof je?(this.v=we,this):new je(we)}function ke(we,Ot,It){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var fn,tn=It.apply(we,Ot||[]),En=[];return fn=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),So("next"),So("throw"),So("return",function jn(pn){return function(Un){return Promise.resolve(Un).then(pn,cn)}}),fn[Symbol.asyncIterator]=function(){return this},fn;function So(pn,Un){tn[pn]&&(fn[pn]=function(Zn){return new Promise(function(Bn,_n){En.push([pn,Zn,Bn,_n])>1||pt(pn,Zn)})},Un&&(fn[pn]=Un(fn[pn])))}function pt(pn,Un){try{!function Nt(pn){pn.value instanceof je?Promise.resolve(pn.value.v).then(Vt,cn):Fn(En[0][2],pn)}(tn[pn](Un))}catch(Zn){Fn(En[0][3],Zn)}}function Vt(pn){pt("next",pn)}function cn(pn){pt("throw",pn)}function Fn(pn,Un){pn(Un),En.shift(),En.length&&pt(En[0][0],En[0][1])}}function Je(we){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var It,Ot=we[Symbol.asyncIterator];return Ot?Ot.call(we):(we=function he(we){var Ot="function"==typeof Symbol&&Symbol.iterator,It=Ot&&we[Ot],tn=0;if(It)return It.call(we);if(we&&"number"==typeof we.length)return{next:function(){return we&&tn>=we.length&&(we=void 0),{value:we&&we[tn++],done:!we}}};throw new TypeError(Ot?"Object is not iterable.":"Symbol.iterator is not defined.")}(we),It={},tn("next"),tn("throw"),tn("return"),It[Symbol.asyncIterator]=function(){return this},It);function tn(En){It[En]=we[En]&&function(jn){return new Promise(function(So,pt){!function fn(En,jn,So,pt){Promise.resolve(pt).then(function(Nt){En({value:Nt,done:So})},jn)}(So,pt,(jn=we[En](jn)).done,jn.value)})}}}l.d(Z,{AQ:()=>ke,Cg:()=>s,N3:()=>je,sH:()=>R,xN:()=>Je}),"function"==typeof SuppressedError&&SuppressedError}},ft=>{ft(ft.s=37479)}]); \ No newline at end of file