From d07fa798265afcb77bc03372bf321fc0beec585b Mon Sep 17 00:00:00 2001 From: DRB-bot Date: Thu, 21 Nov 2024 19:00:06 +0000 Subject: [PATCH] Release: kby-3682-enhancement-a11y-improvements-for-menu --- branch/kby-3682-enhancement-a11y-improvements-for-menu/404.html | 2 +- .../kby-3682-enhancement-a11y-improvements-for-menu/index.html | 2 +- .../main.20f5b84005d827f5.js | 1 + .../runtime.6de009d48e2263f2.js | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 branch/kby-3682-enhancement-a11y-improvements-for-menu/main.20f5b84005d827f5.js create mode 100644 branch/kby-3682-enhancement-a11y-improvements-for-menu/runtime.6de009d48e2263f2.js diff --git a/branch/kby-3682-enhancement-a11y-improvements-for-menu/404.html b/branch/kby-3682-enhancement-a11y-improvements-for-menu/404.html index 379a27019f..934f4dbb67 100644 --- a/branch/kby-3682-enhancement-a11y-improvements-for-menu/404.html +++ b/branch/kby-3682-enhancement-a11y-improvements-for-menu/404.html @@ -9,5 +9,5 @@ - + diff --git a/branch/kby-3682-enhancement-a11y-improvements-for-menu/index.html b/branch/kby-3682-enhancement-a11y-improvements-for-menu/index.html index 379a27019f..934f4dbb67 100644 --- a/branch/kby-3682-enhancement-a11y-improvements-for-menu/index.html +++ b/branch/kby-3682-enhancement-a11y-improvements-for-menu/index.html @@ -9,5 +9,5 @@ - + diff --git a/branch/kby-3682-enhancement-a11y-improvements-for-menu/main.20f5b84005d827f5.js b/branch/kby-3682-enhancement-a11y-improvements-for-menu/main.20f5b84005d827f5.js new file mode 100644 index 0000000000..1e72364cb5 --- /dev/null +++ b/branch/kby-3682-enhancement-a11y-improvements-for-menu/main.20f5b84005d827f5.js @@ -0,0 +1 @@ +(self.webpackChunkcookbook=self.webpackChunkcookbook||[]).push([[8792],{72438:Ze=>{var i=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,M={},d={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function X(J){return J instanceof p?new p(J.type,X(J.content),J.alias):Array.isArray(J)?J.map(X):J.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(fe){var X=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(fe.stack)||[])[1];if(X){var J=document.getElementsByTagName("script");for(var G in J)if(J[G].src==X)return J[G]}return null}},isActive:function(X,J,G){for(var fe="no-"+J;X;){var he=X.classList;if(he.contains(J))return!0;if(he.contains(fe))return!1;X=X.parentElement}return!!G}},languages:{plain:M,plaintext:M,text:M,txt:M,extend:function(X,J){var G=d.util.clone(d.languages[X]);for(var fe in J)G[fe]=J[fe];return G},insertBefore:function(X,J,G,fe){var he=(fe=fe||d.languages)[X],Me={};for(var ke in he)if(he.hasOwnProperty(ke)){if(ke==J)for(var be in G)G.hasOwnProperty(be)&&(Me[be]=G[be]);G.hasOwnProperty(ke)||(Me[ke]=he[ke])}var Ne=fe[X];return fe[X]=Me,d.languages.DFS(d.languages,function(je,it){it===Ne&&je!=X&&(this[je]=Me)}),Me},DFS:function X(J,G,fe,he){he=he||{};var Me=d.util.objId;for(var ke in J)if(J.hasOwnProperty(ke)){G.call(J,ke,J[ke],fe||ke);var be=J[ke],Ne=d.util.type(be);"Object"!==Ne||he[Me(be)]?"Array"===Ne&&!he[Me(be)]&&(he[Me(be)]=!0,X(be,G,ke,he)):(he[Me(be)]=!0,X(be,G,null,he))}}},plugins:{},highlightAll:function(X,J){d.highlightAllUnder(document,X,J)},highlightAllUnder:function(X,J,G){var fe={callback:G,container:X,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};d.hooks.run("before-highlightall",fe),fe.elements=Array.prototype.slice.apply(fe.container.querySelectorAll(fe.selector)),d.hooks.run("before-all-elements-highlight",fe);for(var Me,he=0;Me=fe.elements[he++];)d.highlightElement(Me,!0===J,fe.callback)},highlightElement:function(X,J,G){var fe=d.util.getLanguage(X),he=d.languages[fe];d.util.setLanguage(X,fe);var Me=X.parentElement;Me&&"pre"===Me.nodeName.toLowerCase()&&d.util.setLanguage(Me,fe);var be={element:X,language:fe,grammar:he,code:X.textContent};function Ne(it){be.highlightedCode=it,d.hooks.run("before-insert",be),be.element.innerHTML=be.highlightedCode,d.hooks.run("after-highlight",be),d.hooks.run("complete",be),G&&G.call(be.element)}if(d.hooks.run("before-sanity-check",be),(Me=be.element.parentElement)&&"pre"===Me.nodeName.toLowerCase()&&!Me.hasAttribute("tabindex")&&Me.setAttribute("tabindex","0"),!be.code)return d.hooks.run("complete",be),void(G&&G.call(be.element));if(d.hooks.run("before-highlight",be),be.grammar)if(J&&e.Worker){var je=new Worker(d.filename);je.onmessage=function(it){Ne(it.data)},je.postMessage(JSON.stringify({language:be.language,code:be.code,immediateClose:!0}))}else Ne(d.highlight(be.code,be.grammar,be.language));else Ne(d.util.encode(be.code))},highlight:function(X,J,G){var fe={code:X,grammar:J,language:G};if(d.hooks.run("before-tokenize",fe),!fe.grammar)throw new Error('The language "'+fe.language+'" has no grammar.');return fe.tokens=d.tokenize(fe.code,fe.grammar),d.hooks.run("after-tokenize",fe),p.stringify(d.util.encode(fe.tokens),fe.language)},tokenize:function(X,J){var G=J.rest;if(G){for(var fe in G)J[fe]=G[fe];delete J.rest}var he=new v;return E(he,he.head,X),_(X,he,J,he.head,0),function O(X){for(var J=[],G=X.head.next;G!==X.tail;)J.push(G.value),G=G.next;return J}(he)},hooks:{all:{},add:function(X,J){var G=d.hooks.all;G[X]=G[X]||[],G[X].push(J)},run:function(X,J){var G=d.hooks.all[X];if(G&&G.length)for(var he,fe=0;he=G[fe++];)he(J)}},Token:p};function p(X,J,G,fe){this.type=X,this.content=J,this.alias=G,this.length=0|(fe||"").length}function a(X,J,G,fe){X.lastIndex=J;var he=X.exec(G);if(he&&fe&&he[1]){var Me=he[1].length;he.index+=Me,he[0]=he[0].slice(Me)}return he}function _(X,J,G,fe,he,Me){for(var ke in G)if(G.hasOwnProperty(ke)&&G[ke]){var be=G[ke];be=Array.isArray(be)?be:[be];for(var Ne=0;Ne=Me.reach);gt+=Ge.value.length,Ge=Ge.next){var mn=Ge.value;if(J.length>X.length)return;if(!(mn instanceof p)){var Ke,_t=1;if(Ye){if(!(Ke=a(at,gt,X,pt))||Ke.index>=X.length)break;var Bt=Ke.index,Je=Ke.index+Ke[0].length,Xe=gt;for(Xe+=Ge.value.length;Bt>=Xe;)Xe+=(Ge=Ge.next).value.length;if(gt=Xe-=Ge.value.length,Ge.value instanceof p)continue;for(var qe=Ge;qe!==J.tail&&(XeMe.reach&&(Me.reach=xo);var Kn=Ge.prev;if(Nn&&(Kn=E(J,Kn,Nn),gt+=Nn.length),u(J,Kn,_t),Ge=E(J,Kn,new p(ke,it?d.tokenize(It,it):It,St,It)),Hn&&E(J,Ge,Hn),_t>1){var Ht={cause:ke+","+Ne,reach:xo};_(X,J,G,Ge.prev,gt,Ht),Me&&Ht.reach>Me.reach&&(Me.reach=Ht.reach)}}}}}}function v(){var X={value:null,prev:null,next:null},J={value:null,prev:X,next:null};X.next=J,this.head=X,this.tail=J,this.length=0}function E(X,J,G){var fe=J.next,he={value:G,prev:J,next:fe};return J.next=he,fe.prev=he,X.length++,he}function u(X,J,G){for(var fe=J.next,he=0;he"+he.content+""},!e.document)return e.addEventListener&&(d.disableWorkerMessageHandler||e.addEventListener("message",function(X){var J=JSON.parse(X.data),G=J.language,he=J.immediateClose;e.postMessage(d.highlight(J.code,d.languages[G],G)),he&&e.close()},!1)),d;var A=d.util.currentScript();function $(){d.manual||d.highlightAll()}if(A&&(d.filename=A.src,A.hasAttribute("data-manual")&&(d.manual=!0)),!d.manual){var K=document.readyState;"loading"===K||"interactive"===K&&A&&A.defer?document.addEventListener("DOMContentLoaded",$):window.requestAnimationFrame?window.requestAnimationFrame($):window.setTimeout($,16)}return d}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});Ze.exports&&(Ze.exports=i),typeof global<"u"&&(global.Prism=i),i.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]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(t,l){var M={};M["language-"+l]={pattern:/(^$)/i,lookbehind:!0,inside:i.languages[l]},M.cdata=/^$/i;var d={"included-cdata":{pattern://i,inside:M}};d["language-"+l]={pattern:/[\s\S]+/,inside:i.languages[l]};var p={};p[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:d},i.languages.insertBefore("markup","cdata",p)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var l=e.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))}(i),i.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:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.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}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.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:i.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:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.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:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.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:i.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"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.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")),i.languages.js=i.languages.javascript,function(){if(!(typeof i>"u"||typeof document>"u")){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var M={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},d="data-src-status",p="loading",a="loaded",v="pre[data-src]:not(["+d+'="'+a+'"]):not(['+d+'="'+p+'"])';i.hooks.add("before-highlightall",function(A){A.selector+=", "+v}),i.hooks.add("before-sanity-check",function(A){var $=A.element;if($.matches(v)){A.code="",$.setAttribute(d,p);var K=$.appendChild(document.createElement("CODE"));K.textContent="Loading\u2026";var X=$.getAttribute("data-src"),J=A.language;if("none"===J){var G=(/\.(\w+)$/.exec(X)||[,"none"])[1];J=M[G]||G}i.util.setLanguage(K,J),i.util.setLanguage($,J);var fe=i.plugins.autoloader;fe&&fe.loadLanguages(J),function E(A,$,K){var X=new XMLHttpRequest;X.open("GET",A,!0),X.onreadystatechange=function(){4==X.readyState&&(X.status<400&&X.responseText?$(X.responseText):K(X.status>=400?function(A,$){return"\u2716 Error "+A+" while fetching file: "+$}(X.status,X.statusText):"\u2716 Error: File does not exist or is empty"))},X.send(null)}(X,function(he){$.setAttribute(d,a);var Me=function u(A){var $=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(A||"");if($){var K=Number($[1]),J=$[3];return $[2]?J?[K,Number(J)]:[K,void 0]:[K,K]}}($.getAttribute("data-range"));if(Me){var ke=he.split(/\r\n?|\n/g),be=Me[0],Ne=null==Me[1]?ke.length:Me[1];be<0&&(be+=ke.length),be=Math.max(0,Math.min(be-1,ke.length)),Ne<0&&(Ne+=ke.length),Ne=Math.max(0,Math.min(Ne,ke.length)),he=ke.slice(be,Ne).join("\n"),$.hasAttribute("data-start")||$.setAttribute("data-start",String(be+1))}K.textContent=he,i.highlightElement(K)},function(he){$.setAttribute(d,"failed"),K.textContent=he})}}),i.plugins.fileHighlight={highlight:function($){for(var J,K=($||document).querySelectorAll(v),X=0;J=K[X++];)i.highlightElement(J)}};var O=!1;i.fileHighlight=function(){O||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),O=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},90555:(Ze,z,i)=>{"use strict";i.d(z,{c:()=>p});var e=i(84878);let t;const M=(a,_,v)=>{const E=_.startsWith("animation")?(a=>(void 0===t&&(t=void 0===a.style.animationName&&void 0!==a.style.webkitAnimationName?"-webkit-":""),t))(a):"";a.style.setProperty(E+_,v)},d=(a=[],_)=>{if(void 0!==_){const v=Array.isArray(_)?_:[_];return[...a,...v]}return a},p=a=>{let _,v,E,u,O,A,G,it,pt,Ye,Ge,$=[],K=[],X=[],J=!1,fe={},he=[],Me=[],ke={},be=0,Ne=!1,je=!1,St=!0,mt=!1,at=!0,gt=!1;const mn=a,_t=[],Ke=[],Je=[],Xe=[],qe=[],Bt=[],It=[],Nn=[],Hn=[],xo=[],Kn=[],xt="function"==typeof AnimationEffect||void 0!==e.w&&"function"==typeof e.w.AnimationEffect,Ht="function"==typeof Element&&"function"==typeof Element.prototype.animate&&xt,$t=()=>Kn,Un=(Yt,io)=>{const Ho=io.findIndex(gi=>gi.c===Yt);Ho>-1&&io.splice(Ho,1)},dn=(Yt,io)=>((io?.oneTimeCallback?Ke:_t).push({c:Yt,o:io}),Ge),Vt=()=>{Ht&&(Kn.forEach(Yt=>{Yt.cancel()}),Kn.length=0)},Gt=()=>{Bt.forEach(Yt=>{Yt?.parentNode&&Yt.parentNode.removeChild(Yt)}),Bt.length=0},Go=()=>void 0!==O?O:G?G.getFill():"both",Ji=()=>void 0!==it?it:void 0!==A?A:G?G.getDirection():"normal",pi=()=>Ne?"linear":void 0!==E?E:G?G.getEasing():"linear",Si=()=>je?0:void 0!==pt?pt:void 0!==v?v:G?G.getDuration():0,hr=()=>void 0!==u?u:G?G.getIterations():1,Pi=()=>void 0!==Ye?Ye:void 0!==_?_:G?G.getDelay():0,Wn=()=>{0!==be&&(be--,0===be&&((()=>{Hn.forEach(xi=>xi()),xo.forEach(xi=>xi());const Yt=St?1:0,io=he,Ho=Me,gi=ke;Xe.forEach(xi=>{const Ii=xi.classList;io.forEach(qi=>Ii.add(qi)),Ho.forEach(qi=>Ii.remove(qi));for(const qi in gi)gi.hasOwnProperty(qi)&&M(xi,qi,gi[qi])}),pt=void 0,it=void 0,Ye=void 0,_t.forEach(xi=>xi.c(Yt,Ge)),Ke.forEach(xi=>xi.c(Yt,Ge)),Ke.length=0,at=!0,St&&(mt=!0),St=!0})(),G&&G.animationFinish()))},Do=()=>{(()=>{It.forEach(gi=>gi()),Nn.forEach(gi=>gi());const Yt=K,io=X,Ho=fe;Xe.forEach(gi=>{const xi=gi.classList;Yt.forEach(Ii=>xi.add(Ii)),io.forEach(Ii=>xi.remove(Ii));for(const Ii in Ho)Ho.hasOwnProperty(Ii)&&M(gi,Ii,Ho[Ii])})})(),$.length>0&&Ht&&(Xe.forEach(Yt=>{const io=Yt.animate($,{id:mn,delay:Pi(),duration:Si(),easing:pi(),iterations:hr(),fill:Go(),direction:Ji()});io.pause(),Kn.push(io)}),Kn.length>0&&(Kn[0].onfinish=()=>{Wn()})),J=!0},ao=Yt=>{Yt=Math.min(Math.max(Yt,0),.9999),Ht&&Kn.forEach(io=>{io.currentTime=io.effect.getComputedTiming().delay+Si()*Yt,io.pause()})},kn=Yt=>{Kn.forEach(io=>{io.effect.updateTiming({delay:Pi(),duration:Si(),easing:pi(),iterations:hr(),fill:Go(),direction:Ji()})}),void 0!==Yt&&ao(Yt)},On=(Yt=!1,io=!0,Ho)=>(Yt&&qe.forEach(gi=>{gi.update(Yt,io,Ho)}),Ht&&kn(Ho),Ge),$i=()=>{J&&(Ht?Kn.forEach(Yt=>{Yt.pause()}):Xe.forEach(Yt=>{M(Yt,"animation-play-state","paused")}),gt=!0)},wi=Yt=>new Promise(io=>{Yt?.sync&&(je=!0,dn(()=>je=!1,{oneTimeCallback:!0})),J||Do(),mt&&(Ht&&(ao(0),kn()),mt=!1),at&&(be=qe.length+1,at=!1);const Ho=()=>{Un(gi,Ke),io()},gi=()=>{Un(Ho,Je),io()};dn(gi,{oneTimeCallback:!0}),(Yt=>{Je.push({c:Yt,o:{oneTimeCallback:!0}})})(Ho),qe.forEach(xi=>{xi.play()}),Ht?(Kn.forEach(Yt=>{Yt.play()}),(0===$.length||0===Xe.length)&&Wn()):Wn(),gt=!1}),Ki=(Yt,io)=>{const Ho=$[0];return void 0===Ho||void 0!==Ho.offset&&0!==Ho.offset?$=[{offset:0,[Yt]:io},...$]:Ho[Yt]=io,Ge};return Ge={parentAnimation:G,elements:Xe,childAnimations:qe,id:mn,animationFinish:Wn,from:Ki,to:(Yt,io)=>{const Ho=$[$.length-1];return void 0===Ho||void 0!==Ho.offset&&1!==Ho.offset?$=[...$,{offset:1,[Yt]:io}]:Ho[Yt]=io,Ge},fromTo:(Yt,io,Ho)=>Ki(Yt,io).to(Yt,Ho),parent:Yt=>(G=Yt,Ge),play:wi,pause:()=>(qe.forEach(Yt=>{Yt.pause()}),$i(),Ge),stop:()=>{qe.forEach(Yt=>{Yt.stop()}),J&&(Vt(),J=!1),Ne=!1,je=!1,at=!0,it=void 0,pt=void 0,Ye=void 0,be=0,mt=!1,St=!0,gt=!1,Je.forEach(Yt=>Yt.c(0,Ge)),Je.length=0},destroy:Yt=>(qe.forEach(io=>{io.destroy(Yt)}),(Yt=>{Vt(),Yt&&Gt()})(Yt),Xe.length=0,qe.length=0,$.length=0,_t.length=0,Ke.length=0,J=!1,at=!0,Ge),keyframes:Yt=>{const io=$!==Yt;return $=Yt,io&&(Yt=>{Ht&&$t().forEach(io=>{const Ho=io.effect;if(Ho.setKeyframes)Ho.setKeyframes(Yt);else{const gi=new KeyframeEffect(Ho.target,Yt,Ho.getTiming());io.effect=gi}})})($),Ge},addAnimation:Yt=>{if(null!=Yt)if(Array.isArray(Yt))for(const io of Yt)io.parent(Ge),qe.push(io);else Yt.parent(Ge),qe.push(Yt);return Ge},addElement:Yt=>{if(null!=Yt)if(1===Yt.nodeType)Xe.push(Yt);else if(Yt.length>=0)for(let io=0;io(O=Yt,On(!0),Ge),direction:Yt=>(A=Yt,On(!0),Ge),iterations:Yt=>(u=Yt,On(!0),Ge),duration:Yt=>(!Ht&&0===Yt&&(Yt=1),v=Yt,On(!0),Ge),easing:Yt=>(E=Yt,On(!0),Ge),delay:Yt=>(_=Yt,On(!0),Ge),getWebAnimations:$t,getKeyframes:()=>$,getFill:Go,getDirection:Ji,getDelay:Pi,getIterations:hr,getEasing:pi,getDuration:Si,afterAddRead:Yt=>(Hn.push(Yt),Ge),afterAddWrite:Yt=>(xo.push(Yt),Ge),afterClearStyles:(Yt=[])=>{for(const io of Yt)ke[io]="";return Ge},afterStyles:(Yt={})=>(ke=Yt,Ge),afterRemoveClass:Yt=>(Me=d(Me,Yt),Ge),afterAddClass:Yt=>(he=d(he,Yt),Ge),beforeAddRead:Yt=>(It.push(Yt),Ge),beforeAddWrite:Yt=>(Nn.push(Yt),Ge),beforeClearStyles:(Yt=[])=>{for(const io of Yt)fe[io]="";return Ge},beforeStyles:(Yt={})=>(fe=Yt,Ge),beforeRemoveClass:Yt=>(X=d(X,Yt),Ge),beforeAddClass:Yt=>(K=d(K,Yt),Ge),onFinish:dn,isRunning:()=>0!==be&&!gt,progressStart:(Yt=!1,io)=>(qe.forEach(Ho=>{Ho.progressStart(Yt,io)}),$i(),Ne=Yt,J||Do(),On(!1,!0,io),Ge),progressStep:Yt=>(qe.forEach(io=>{io.progressStep(Yt)}),ao(Yt),Ge),progressEnd:(Yt,io,Ho)=>(Ne=!1,qe.forEach(gi=>{gi.progressEnd(Yt,io,Ho)}),void 0!==Ho&&(pt=Ho),mt=!1,St=!0,0===Yt?(it="reverse"===Ji()?"normal":"reverse","reverse"===it&&(St=!1),Ht?(On(),ao(1-io)):(Ye=(1-io)*Si()*-1,On(!1,!1))):1===Yt&&(Ht?(On(),ao(io)):(Ye=io*Si()*-1,On(!1,!1))),void 0!==Yt&&!G&&wi(),Ge)}}},76081:(Ze,z,i)=>{"use strict";i.d(z,{g:()=>t});var e=i(84878);const t=()=>{if(void 0!==e.w)return e.w.Capacitor}},62782:(Ze,z,i)=>{"use strict";i.d(z,{i:()=>e});const e=t=>t&&""!==t.dir?"rtl"===t.dir.toLowerCase():"rtl"===document?.dir.toLowerCase()},35498:(Ze,z,i)=>{"use strict";i.r(z),i.d(z,{startFocusVisible:()=>M});const e="ion-focused",l=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],M=d=>{let p=[],a=!0;const _=d?d.shadowRoot:document,v=d||document.body,E=X=>{p.forEach(J=>J.classList.remove(e)),X.forEach(J=>J.classList.add(e)),p=X},u=()=>{a=!1,E([])},O=X=>{a=l.includes(X.key),a||E([])},A=X=>{if(a&&void 0!==X.composedPath){const J=X.composedPath().filter(G=>!!G.classList&&G.classList.contains("ion-focusable"));E(J)}},$=()=>{_.activeElement===v&&E([])};return _.addEventListener("keydown",O),_.addEventListener("focusin",A),_.addEventListener("focusout",$),_.addEventListener("touchstart",u,{passive:!0}),_.addEventListener("mousedown",u),{destroy:()=>{_.removeEventListener("keydown",O),_.removeEventListener("focusin",A),_.removeEventListener("focusout",$),_.removeEventListener("touchstart",u),_.removeEventListener("mousedown",u)},setFocus:E}}},88875:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>M,G:()=>d});class t{constructor(a,_,v,E,u){this.id=_,this.name=v,this.disableScroll=u,this.priority=1e6*E+_,this.ctrl=a}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 a=this.ctrl.capture(this.name,this.id,this.priority);return a&&this.disableScroll&&this.ctrl.disableScroll(this.id),a}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class l{constructor(a,_,v,E){this.id=_,this.disable=v,this.disableScroll=E,this.ctrl=a}block(){if(this.ctrl){if(this.disable)for(const a of this.disable)this.ctrl.disableGesture(a,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const a of this.disable)this.ctrl.enableGesture(a,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const M="backdrop-no-scroll",d=new class e{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(a){var _;return new t(this,this.newID(),a.name,null!==(_=a.priority)&&void 0!==_?_:0,!!a.disableScroll)}createBlocker(a={}){return new l(this,this.newID(),a.disable,!!a.disableScroll)}start(a,_,v){return this.canStart(a)?(this.requestedStart.set(_,v),!0):(this.requestedStart.delete(_),!1)}capture(a,_,v){if(!this.start(a,_,v))return!1;const E=this.requestedStart;let u=-1e4;if(E.forEach(O=>{u=Math.max(u,O)}),u===v){this.capturedId=_,E.clear();const O=new CustomEvent("ionGestureCaptured",{detail:{gestureName:a}});return document.dispatchEvent(O),!0}return E.delete(_),!1}release(a){this.requestedStart.delete(a),this.capturedId===a&&(this.capturedId=void 0)}disableGesture(a,_){let v=this.disabledGestures.get(a);void 0===v&&(v=new Set,this.disabledGestures.set(a,v)),v.add(_)}enableGesture(a,_){const v=this.disabledGestures.get(a);void 0!==v&&v.delete(_)}disableScroll(a){this.disabledScroll.add(a),1===this.disabledScroll.size&&document.body.classList.add(M)}enableScroll(a){this.disabledScroll.delete(a),0===this.disabledScroll.size&&document.body.classList.remove(M)}canStart(a){return!(void 0!==this.capturedId||this.isDisabled(a))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(a){const _=this.disabledGestures.get(a);return!!(_&&_.size>0)}newID(){return this.gestureId++,this.gestureId}}},95098:(Ze,z,i)=>{"use strict";i.r(z),i.d(z,{MENU_BACK_BUTTON_PRIORITY:()=>_,OVERLAY_BACK_BUTTON_PRIORITY:()=>a,blockHardwareBackButton:()=>d,shouldUseCloseWatcher:()=>M,startHardwareBackButton:()=>p});var e=i(10467),t=i(84878),l=i(45531);const M=()=>l.c.get("experimentalCloseWatcher",!1)&&void 0!==t.w&&"CloseWatcher"in t.w,d=()=>{document.addEventListener("backbutton",()=>{})},p=()=>{const v=document;let E=!1;const u=()=>{if(E)return;let O=0,A=[];const $=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(J,G){A.push({priority:J,handler:G,id:O++})}}});v.dispatchEvent($);const K=function(){var J=(0,e.A)(function*(G){try{if(G?.handler){const fe=G.handler(X);null!=fe&&(yield fe)}}catch(fe){console.error(fe)}});return function(fe){return J.apply(this,arguments)}}(),X=()=>{if(A.length>0){let J={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};A.forEach(G=>{G.priority>=J.priority&&(J=G)}),E=!0,A=A.filter(G=>G.id!==J.id),K(J).then(()=>E=!1)}};X()};if(M()){let O;const A=()=>{O?.destroy(),O=new t.w.CloseWatcher,O.onclose=()=>{u(),A()}};A()}else v.addEventListener("backbutton",u)},a=100,_=99},1656:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>_,b:()=>v,c:()=>l,d:()=>d,e:()=>$,f:()=>A,g:()=>E,h:()=>O,i:()=>a,j:()=>M,k:()=>K,l:()=>fe,m:()=>G,p:()=>J,r:()=>u,s:()=>Me,t:()=>e});const e=(ke,be=0)=>new Promise(Ne=>{t(ke,be,Ne)}),t=(ke,be=0,Ne)=>{let je,it;const pt={passive:!0},St=()=>{je&&je()},mt=at=>{(void 0===at||ke===at.target)&&(St(),Ne(at))};return ke&&(ke.addEventListener("webkitTransitionEnd",mt,pt),ke.addEventListener("transitionend",mt,pt),it=setTimeout(mt,be+500),je=()=>{void 0!==it&&(clearTimeout(it),it=void 0),ke.removeEventListener("webkitTransitionEnd",mt,pt),ke.removeEventListener("transitionend",mt,pt)}),St},l=(ke,be)=>{ke.componentOnReady?ke.componentOnReady().then(Ne=>be(Ne)):u(()=>be(ke))},M=ke=>void 0!==ke.componentOnReady,d=(ke,be=[])=>{const Ne={};return be.forEach(je=>{ke.hasAttribute(je)&&(null!==ke.getAttribute(je)&&(Ne[je]=ke.getAttribute(je)),ke.removeAttribute(je))}),Ne},p=["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"],a=(ke,be)=>{let Ne=p;return be&&be.length>0&&(Ne=Ne.filter(je=>!be.includes(je))),d(ke,Ne)},_=(ke,be,Ne,je)=>{var it;if(typeof window<"u"){const pt=window,Ye=null===(it=pt?.Ionic)||void 0===it?void 0:it.config;if(Ye){const St=Ye.get("_ael");if(St)return St(ke,be,Ne,je);if(Ye._ael)return Ye._ael(ke,be,Ne,je)}}return ke.addEventListener(be,Ne,je)},v=(ke,be,Ne,je)=>{var it;if(typeof window<"u"){const pt=window,Ye=null===(it=pt?.Ionic)||void 0===it?void 0:it.config;if(Ye){const St=Ye.get("_rel");if(St)return St(ke,be,Ne,je);if(Ye._rel)return Ye._rel(ke,be,Ne,je)}}return ke.removeEventListener(be,Ne,je)},E=(ke,be=ke)=>ke.shadowRoot||be,u=ke=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(ke):"function"==typeof requestAnimationFrame?requestAnimationFrame(ke):setTimeout(ke),O=ke=>!!ke.shadowRoot&&!!ke.attachShadow,A=ke=>{if(ke.focus(),ke.classList.contains("ion-focusable")){const be=ke.closest("ion-app");be&&be.setFocus([ke])}},$=(ke,be,Ne,je,it)=>{if(ke||O(be)){let pt=be.querySelector("input.aux-input");pt||(pt=be.ownerDocument.createElement("input"),pt.type="hidden",pt.classList.add("aux-input"),be.appendChild(pt)),pt.disabled=it,pt.name=Ne,pt.value=je||""}},K=(ke,be,Ne)=>Math.max(ke,Math.min(be,Ne)),J=ke=>{if(ke){const be=ke.changedTouches;if(be&&be.length>0){const Ne=be[0];return{x:Ne.clientX,y:Ne.clientY}}if(void 0!==ke.pageX)return{x:ke.pageX,y:ke.pageY}}return{x:0,y:0}},G=ke=>{const be="rtl"===document.dir;switch(ke){case"start":return be;case"end":return!be;default:throw new Error(`"${ke}" is not a valid value for [side]. Use "start" or "end" instead.`)}},fe=(ke,be)=>{const Ne=ke._original||ke;return{_original:ke,emit:he(Ne.emit.bind(Ne),be)}},he=(ke,be=0)=>{let Ne;return(...je)=>{clearTimeout(Ne),Ne=setTimeout(ke,be,...je)}},Me=(ke,be)=>{if(ke??(ke={}),be??(be={}),ke===be)return!0;const Ne=Object.keys(ke);if(Ne.length!==Object.keys(be).length)return!1;for(const je of Ne)if(!(je in be)||ke[je]!==be[je])return!1;return!0}},46031:(Ze,z,i)=>{"use strict";i.d(z,{L:()=>p,a:()=>a,b:()=>_,c:()=>v,d:()=>E,e:()=>Ge,g:()=>_t,t:()=>G,w:()=>at});var e=i(10467),t=i(45531),l=i(51771),M=i(91979),d=i(1656);const p="ionViewWillEnter",a="ionViewDidEnter",_="ionViewWillLeave",v="ionViewDidLeave",E="ionViewWillUnload",u=Ke=>{Ke.tabIndex=-1,Ke.focus()},O=Ke=>null!==Ke.offsetParent,$="ion-last-focus",J_saveViewFocus=Xe=>{if(t.c.get("focusManagerPriority",!1)){const Bt=document.activeElement;null!==Bt&&Xe?.contains(Bt)&&Bt.setAttribute($,"true")}},J_setViewFocus=Xe=>{const qe=t.c.get("focusManagerPriority",!1);if(Array.isArray(qe)&&!Xe.contains(document.activeElement)){const Bt=Xe.querySelector(`[${$}]`);if(Bt&&O(Bt))return void u(Bt);for(const It of qe)switch(It){case"content":const Nn=Xe.querySelector('main, [role="main"]');if(Nn&&O(Nn))return void u(Nn);break;case"heading":const Hn=Xe.querySelector('h1, [role="heading"][aria-level="1"]');if(Hn&&O(Hn))return void u(Hn);break;case"banner":const xo=Xe.querySelector('header, [role="banner"]');if(xo&&O(xo))return void u(xo);break;default:(0,M.p)(`Unrecognized focus manager priority value ${It}`)}u(Xe)}},G=Ke=>new Promise((Je,Xe)=>{(0,l.bN)(()=>{fe(Ke),he(Ke).then(qe=>{qe.animation&&qe.animation.destroy(),Me(Ke),Je(qe)},qe=>{Me(Ke),Xe(qe)})})}),fe=Ke=>{const Je=Ke.enteringEl,Xe=Ke.leavingEl;J_saveViewFocus(Xe),mn(Je,Xe,Ke.direction),Ke.showGoBack?Je.classList.add("can-go-back"):Je.classList.remove("can-go-back"),gt(Je,!1),Je.style.setProperty("pointer-events","none"),Xe&&(gt(Xe,!1),Xe.style.setProperty("pointer-events","none"))},he=function(){var Ke=(0,e.A)(function*(Je){const Xe=yield ke(Je);return Xe&&l.L2.isBrowser?be(Xe,Je):Ne(Je)});return function(Xe){return Ke.apply(this,arguments)}}(),Me=Ke=>{const Je=Ke.enteringEl,Xe=Ke.leavingEl;Je.classList.remove("ion-page-invisible"),Je.style.removeProperty("pointer-events"),void 0!==Xe&&(Xe.classList.remove("ion-page-invisible"),Xe.style.removeProperty("pointer-events")),J_setViewFocus(Je)},ke=function(){var Ke=(0,e.A)(function*(Je){return Je.leavingEl&&Je.animated&&0!==Je.duration?Je.animationBuilder?Je.animationBuilder:"ios"===Je.mode?(yield i.e(4699).then(i.bind(i,84699))).iosTransitionAnimation:(yield i.e(7179).then(i.bind(i,47179))).mdTransitionAnimation:void 0});return function(Xe){return Ke.apply(this,arguments)}}(),be=function(){var Ke=(0,e.A)(function*(Je,Xe){yield je(Xe,!0);const qe=Je(Xe.baseEl,Xe);Ye(Xe.enteringEl,Xe.leavingEl);const Bt=yield pt(qe,Xe);return Xe.progressCallback&&Xe.progressCallback(void 0),Bt&&St(Xe.enteringEl,Xe.leavingEl),{hasCompleted:Bt,animation:qe}});return function(Xe,qe){return Ke.apply(this,arguments)}}(),Ne=function(){var Ke=(0,e.A)(function*(Je){const Xe=Je.enteringEl,qe=Je.leavingEl,Bt=t.c.get("focusManagerPriority",!1);return yield je(Je,Bt),Ye(Xe,qe),St(Xe,qe),{hasCompleted:!0}});return function(Xe){return Ke.apply(this,arguments)}}(),je=function(){var Ke=(0,e.A)(function*(Je,Xe){(void 0!==Je.deepWait?Je.deepWait:Xe)&&(yield Promise.all([Ge(Je.enteringEl),Ge(Je.leavingEl)])),yield it(Je.viewIsReady,Je.enteringEl)});return function(Xe,qe){return Ke.apply(this,arguments)}}(),it=function(){var Ke=(0,e.A)(function*(Je,Xe){Je&&(yield Je(Xe))});return function(Xe,qe){return Ke.apply(this,arguments)}}(),pt=(Ke,Je)=>{const Xe=Je.progressCallback,qe=new Promise(Bt=>{Ke.onFinish(It=>Bt(1===It))});return Xe?(Ke.progressStart(!0),Xe(Ke)):Ke.play(),qe},Ye=(Ke,Je)=>{mt(Je,_),mt(Ke,p)},St=(Ke,Je)=>{mt(Ke,a),mt(Je,v)},mt=(Ke,Je)=>{if(Ke){const Xe=new CustomEvent(Je,{bubbles:!1,cancelable:!1});Ke.dispatchEvent(Xe)}},at=()=>new Promise(Ke=>(0,d.r)(()=>(0,d.r)(()=>Ke()))),Ge=function(){var Ke=(0,e.A)(function*(Je){const Xe=Je;if(Xe){if(null!=Xe.componentOnReady){if(null!=(yield Xe.componentOnReady()))return}else if(null!=Xe.__registerHost)return void(yield new Promise(Bt=>(0,d.r)(Bt)));yield Promise.all(Array.from(Xe.children).map(Ge))}});return function(Xe){return Ke.apply(this,arguments)}}(),gt=(Ke,Je)=>{Je?(Ke.setAttribute("aria-hidden","true"),Ke.classList.add("ion-page-hidden")):(Ke.hidden=!1,Ke.removeAttribute("aria-hidden"),Ke.classList.remove("ion-page-hidden"))},mn=(Ke,Je,Xe)=>{void 0!==Ke&&(Ke.style.zIndex="back"===Xe?"99":"101"),void 0!==Je&&(Je.style.zIndex="100")},_t=Ke=>Ke.classList.contains("ion-page")?Ke:Ke.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||Ke},2104:(Ze,z,i)=>{"use strict";i.r(z),i.d(z,{GESTURE_CONTROLLER:()=>e.G,createGesture:()=>v});var e=i(88875);const t=(A,$,K,X)=>{const J=l(A)?{capture:!!X.capture,passive:!!X.passive}:!!X.capture;let G,fe;return A.__zone_symbol__addEventListener?(G="__zone_symbol__addEventListener",fe="__zone_symbol__removeEventListener"):(G="addEventListener",fe="removeEventListener"),A[G]($,K,J),()=>{A[fe]($,K,J)}},l=A=>{if(void 0===M)try{const $=Object.defineProperty({},"passive",{get:()=>{M=!0}});A.addEventListener("optsTest",()=>{},$)}catch{M=!1}return!!M};let M;const a=A=>A instanceof Document?A:A.ownerDocument,v=A=>{let $=!1,K=!1,X=!0,J=!1;const G=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},A),fe=G.canStart,he=G.onWillStart,Me=G.onStart,ke=G.onEnd,be=G.notCaptured,Ne=G.onMove,je=G.threshold,it=G.passive,pt=G.blurOnStart,Ye={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},St=((A,$,K)=>{const X=K*(Math.PI/180),J="x"===A,G=Math.cos(X),fe=$*$;let he=0,Me=0,ke=!1,be=0;return{start(Ne,je){he=Ne,Me=je,be=0,ke=!0},detect(Ne,je){if(!ke)return!1;const it=Ne-he,pt=je-Me,Ye=it*it+pt*pt;if(YeG?1:mt<-G?-1:0,ke=!1,!0},isGesture:()=>0!==be,getDirection:()=>be}})(G.direction,G.threshold,G.maxAngle),mt=e.G.createGesture({name:A.gestureName,priority:A.gesturePriority,disableScroll:A.disableScroll}),gt=()=>{$&&(J=!1,Ne&&Ne(Ye))},mn=()=>!!mt.capture()&&($=!0,X=!1,Ye.startX=Ye.currentX,Ye.startY=Ye.currentY,Ye.startTime=Ye.currentTime,he?he(Ye).then(Ke):Ke(),!0),Ke=()=>{pt&&(()=>{if(typeof document<"u"){const It=document.activeElement;It?.blur&&It.blur()}})(),Me&&Me(Ye),X=!0},Je=()=>{$=!1,K=!1,J=!1,X=!0,mt.release()},Xe=It=>{const Nn=$,Hn=X;if(Je(),Hn){if(E(Ye,It),Nn)return void(ke&&ke(Ye));be&&be(Ye)}},qe=((A,$,K,X,J)=>{let G,fe,he,Me,ke,be,Ne,je=0;const it=_t=>{je=Date.now()+2e3,$(_t)&&(!fe&&K&&(fe=t(A,"touchmove",K,J)),he||(he=t(_t.target,"touchend",Ye,J)),Me||(Me=t(_t.target,"touchcancel",Ye,J)))},pt=_t=>{je>Date.now()||$(_t)&&(!be&&K&&(be=t(a(A),"mousemove",K,J)),Ne||(Ne=t(a(A),"mouseup",St,J)))},Ye=_t=>{mt(),X&&X(_t)},St=_t=>{at(),X&&X(_t)},mt=()=>{fe&&fe(),he&&he(),Me&&Me(),fe=he=Me=void 0},at=()=>{be&&be(),Ne&&Ne(),be=Ne=void 0},Ge=()=>{mt(),at()},gt=(_t=!0)=>{_t?(G||(G=t(A,"touchstart",it,J)),ke||(ke=t(A,"mousedown",pt,J))):(G&&G(),ke&&ke(),G=ke=void 0,Ge())};return{enable:gt,stop:Ge,destroy:()=>{gt(!1),X=K=$=void 0}}})(G.el,It=>{const Nn=O(It);return!(K||!X||(u(It,Ye),Ye.startX=Ye.currentX,Ye.startY=Ye.currentY,Ye.startTime=Ye.currentTime=Nn,Ye.velocityX=Ye.velocityY=Ye.deltaX=Ye.deltaY=0,Ye.event=It,fe&&!1===fe(Ye))||(mt.release(),!mt.start()))&&(K=!0,0===je?mn():(St.start(Ye.startX,Ye.startY),!0))},It=>{$?!J&&X&&(J=!0,E(Ye,It),requestAnimationFrame(gt)):(E(Ye,It),St.detect(Ye.currentX,Ye.currentY)&&(!St.isGesture()||!mn())&&Bt())},Xe,{capture:!1,passive:it}),Bt=()=>{Je(),qe.stop(),be&&be(Ye)};return{enable(It=!0){It||($&&Xe(void 0),Je()),qe.enable(It)},destroy(){mt.destroy(),qe.destroy()}}},E=(A,$)=>{if(!$)return;const K=A.currentX,X=A.currentY,J=A.currentTime;u($,A);const G=A.currentX,fe=A.currentY,Me=(A.currentTime=O($))-J;if(Me>0&&Me<100){const be=(fe-X)/Me;A.velocityX=(G-K)/Me*.7+.3*A.velocityX,A.velocityY=.7*be+.3*A.velocityY}A.deltaX=G-A.startX,A.deltaY=fe-A.startY,A.event=$},u=(A,$)=>{let K=0,X=0;if(A){const J=A.changedTouches;if(J&&J.length>0){const G=J[0];K=G.clientX,X=G.clientY}else void 0!==A.pageX&&(K=A.pageX,X=A.pageY)}$.currentX=K,$.currentY=X},O=A=>A.timeStamp||Date.now()},84878:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>t,w:()=>e});const e=typeof window<"u"?window:void 0,t=typeof document<"u"?document:void 0},91979:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>t,b:()=>l,p:()=>e});const e=(M,...d)=>console.warn(`[Ionic Warning]: ${M}`,...d),t=(M,...d)=>console.error(`[Ionic Error]: ${M}`,...d),l=(M,...d)=>console.error(`<${M.tagName.toLowerCase()}> must be used inside ${d.join(" or ")}.`)},67849:(Ze,z,i)=>{"use strict";i.d(z,{I:()=>p,a:()=>u,b:()=>d,c:()=>A,d:()=>K,f:()=>E,g:()=>v,i:()=>_,p:()=>$,r:()=>X,s:()=>O});var e=i(10467),t=i(1656),l=i(91979);const d="ion-content",p=".ion-content-scroll-host",a=`${d}, ${p}`,_=J=>"ION-CONTENT"===J.tagName,v=function(){var J=(0,e.A)(function*(G){return _(G)?(yield new Promise(fe=>(0,t.c)(G,fe)),G.getScrollElement()):G});return function(fe){return J.apply(this,arguments)}}(),E=J=>J.querySelector(p)||J.querySelector(a),u=J=>J.closest(a),O=(J,G)=>_(J)?J.scrollToTop(G):Promise.resolve(J.scrollTo({top:0,left:0,behavior:G>0?"smooth":"auto"})),A=(J,G,fe,he)=>_(J)?J.scrollByPoint(G,fe,he):Promise.resolve(J.scrollBy({top:fe,left:G,behavior:he>0?"smooth":"auto"})),$=J=>(0,l.b)(J,d),K=J=>{if(_(J)){const fe=J.scrollY;return J.scrollY=!1,fe}return J.style.setProperty("overflow","hidden"),!0},X=(J,G)=>{_(J)?J.scrollY=G:J.style.removeProperty("overflow")}},45531:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>u,b:()=>gt,c:()=>l,g:()=>E,i:()=>mn});var e=i(51771);class t{constructor(){this.m=new Map}reset(Ke){this.m=new Map(Object.entries(Ke))}get(Ke,Je){const Xe=this.m.get(Ke);return void 0!==Xe?Xe:Je}getBoolean(Ke,Je=!1){const Xe=this.m.get(Ke);return void 0===Xe?Je:"string"==typeof Xe?"true"===Xe:!!Xe}getNumber(Ke,Je){const Xe=parseFloat(this.m.get(Ke));return isNaN(Xe)?void 0!==Je?Je:NaN:Xe}set(Ke,Je){this.m.set(Ke,Je)}}const l=new t,_="ionic:",v="ionic-persist-config",E=_t=>O(_t),u=(_t,Ke)=>("string"==typeof _t&&(Ke=_t,_t=void 0),E(_t).includes(Ke)),O=(_t=window)=>{if(typeof _t>"u")return[];_t.Ionic=_t.Ionic||{};let Ke=_t.Ionic.platforms;return null==Ke&&(Ke=_t.Ionic.platforms=A(_t),Ke.forEach(Je=>_t.document.documentElement.classList.add(`plt-${Je}`))),Ke},A=_t=>{const Ke=l.get("platform");return Object.keys(at).filter(Je=>{const Xe=Ke?.[Je];return"function"==typeof Xe?Xe(_t):at[Je](_t)})},K=_t=>!!(St(_t,/iPad/i)||St(_t,/Macintosh/i)&&ke(_t)),G=_t=>St(_t,/android|sink/i),ke=_t=>mt(_t,"(any-pointer:coarse)"),Ne=_t=>je(_t)||it(_t),je=_t=>!!(_t.cordova||_t.phonegap||_t.PhoneGap),it=_t=>{const Ke=_t.Capacitor;return!!Ke?.isNative},St=(_t,Ke)=>Ke.test(_t.navigator.userAgent),mt=(_t,Ke)=>{var Je;return null===(Je=_t.matchMedia)||void 0===Je?void 0:Je.call(_t,Ke).matches},at={ipad:K,iphone:_t=>St(_t,/iPhone/i),ios:_t=>St(_t,/iPhone|iPod/i)||K(_t),android:G,phablet:_t=>{const Ke=_t.innerWidth,Je=_t.innerHeight,Xe=Math.min(Ke,Je),qe=Math.max(Ke,Je);return Xe>390&&Xe<520&&qe>620&&qe<800},tablet:_t=>{const Ke=_t.innerWidth,Je=_t.innerHeight,Xe=Math.min(Ke,Je),qe=Math.max(Ke,Je);return K(_t)||(_t=>G(_t)&&!St(_t,/mobile/i))(_t)||Xe>460&&Xe<820&&qe>780&&qe<1400},cordova:je,capacitor:it,electron:_t=>St(_t,/electron/i),pwa:_t=>{var Ke;return!!(null!==(Ke=_t.matchMedia)&&void 0!==Ke&&Ke.call(_t,"(display-mode: standalone)").matches||_t.navigator.standalone)},mobile:ke,mobileweb:_t=>ke(_t)&&!Ne(_t),desktop:_t=>!ke(_t),hybrid:Ne};let Ge;const gt=_t=>_t&&(0,e.Wi)(_t)||Ge,mn=(_t={})=>{if(typeof window>"u")return;const Ke=window.document,Je=window,Xe=Je.Ionic=Je.Ionic||{},qe={};_t._ael&&(qe.ael=_t._ael),_t._rel&&(qe.rel=_t._rel),_t._ce&&(qe.ce=_t._ce),(0,e.zb)(qe);const Bt=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(_t=>{try{const Ke=_t.sessionStorage.getItem(v);return null!==Ke?JSON.parse(Ke):{}}catch{return{}}})(Je)),{persistConfig:!1}),Xe.config),(_t=>{const Ke={};return _t.location.search.slice(1).split("&").map(Je=>Je.split("=")).map(([Je,Xe])=>{try{return[decodeURIComponent(Je),decodeURIComponent(Xe)]}catch{return["",""]}}).filter(([Je])=>((_t,Ke)=>_t.substr(0,Ke.length)===Ke)(Je,_)).map(([Je,Xe])=>[Je.slice(6),Xe]).forEach(([Je,Xe])=>{Ke[Je]=Xe}),Ke})(Je)),_t);l.reset(Bt),l.getBoolean("persistConfig")&&((_t,Ke)=>{try{_t.sessionStorage.setItem(v,JSON.stringify(Ke))}catch{return}})(Je,Bt),O(Je),Xe.config=l,Xe.mode=Ge=l.get("mode",Ke.documentElement.getAttribute("mode")||(u(Je,"ios")?"ios":"md")),l.set("mode",Ge),Ke.documentElement.setAttribute("mode",Ge),Ke.documentElement.classList.add(Ge),l.getBoolean("_testing")&&l.set("animated",!1);const It=Hn=>{var xo;return null===(xo=Hn.tagName)||void 0===xo?void 0:xo.startsWith("ION-")},Nn=Hn=>["ios","md"].includes(Hn);(0,e.iY)(Hn=>{for(;Hn;){const xo=Hn.mode||Hn.getAttribute("mode");if(xo){if(Nn(xo))return xo;It(Hn)&&console.warn('Invalid ionic mode: "'+xo+'", expected: "ios" or "md"')}Hn=Hn.parentElement}return Ge})}},85680:(Ze,z,i)=>{"use strict";i.d(z,{K:()=>M,a:()=>l});var e=i(76081),t=function(d){return d.Unimplemented="UNIMPLEMENTED",d.Unavailable="UNAVAILABLE",d}(t||{}),l=function(d){return d.Body="body",d.Ionic="ionic",d.Native="native",d.None="none",d}(l||{});const M={getEngine(){const d=(0,e.g)();if(d?.isPluginAvailable("Keyboard"))return d.Plugins.Keyboard},getResizeMode(){const d=this.getEngine();return d?.getResizeMode?d.getResizeMode().catch(p=>{if(p.code!==t.Unimplemented)throw p}):Promise.resolve(void 0)}}},86008:(Ze,z,i)=>{"use strict";i.r(z),i.d(z,{KEYBOARD_DID_CLOSE:()=>l,KEYBOARD_DID_OPEN:()=>t,copyVisualViewport:()=>fe,keyboardDidClose:()=>K,keyboardDidOpen:()=>A,keyboardDidResize:()=>$,resetKeyboardAssist:()=>_,setKeyboardClose:()=>O,setKeyboardOpen:()=>u,startKeyboardAssist:()=>v,trackViewportChanges:()=>G});var e=i(85680);const t="ionKeyboardDidShow",l="ionKeyboardDidHide";let d={},p={},a=!1;const _=()=>{d={},p={},a=!1},v=he=>{if(e.K.getEngine())E(he);else{if(!he.visualViewport)return;p=fe(he.visualViewport),he.visualViewport.onresize=()=>{G(he),A()||$(he)?u(he):K(he)&&O(he)}}},E=he=>{he.addEventListener("keyboardDidShow",Me=>u(he,Me)),he.addEventListener("keyboardDidHide",()=>O(he))},u=(he,Me)=>{X(he,Me),a=!0},O=he=>{J(he),a=!1},A=()=>!a&&d.width===p.width&&(d.height-p.height)*p.scale>150,$=he=>a&&!K(he),K=he=>a&&p.height===he.innerHeight,X=(he,Me)=>{const be=new CustomEvent(t,{detail:{keyboardHeight:Me?Me.keyboardHeight:he.innerHeight-p.height}});he.dispatchEvent(be)},J=he=>{const Me=new CustomEvent(l);he.dispatchEvent(Me)},G=he=>{d=Object.assign({},p),p=fe(he.visualViewport)},fe=he=>({width:Math.round(he.width),height:Math.round(he.height),offsetTop:he.offsetTop,offsetLeft:he.offsetLeft,pageTop:he.pageTop,pageLeft:he.pageLeft,scale:he.scale})},19986:(Ze,z,i)=>{"use strict";i.d(z,{c:()=>p});var e=i(28476);let t;const M=(a,_,v)=>{const E=_.startsWith("animation")?(a=>(void 0===t&&(t=void 0===a.style.animationName&&void 0!==a.style.webkitAnimationName?"-webkit-":""),t))(a):"";a.style.setProperty(E+_,v)},d=(a=[],_)=>{if(void 0!==_){const v=Array.isArray(_)?_:[_];return[...a,...v]}return a},p=a=>{let _,v,E,u,O,A,G,it,pt,Ye,Ge,$=[],K=[],X=[],J=!1,fe={},he=[],Me=[],ke={},be=0,Ne=!1,je=!1,St=!0,mt=!1,at=!0,gt=!1;const mn=a,_t=[],Ke=[],Je=[],Xe=[],qe=[],Bt=[],It=[],Nn=[],Hn=[],xo=[],Kn=[],xt="function"==typeof AnimationEffect||void 0!==e.w&&"function"==typeof e.w.AnimationEffect,Ht="function"==typeof Element&&"function"==typeof Element.prototype.animate&&xt,$t=()=>Kn,Un=(Yt,io)=>{const Ho=io.findIndex(gi=>gi.c===Yt);Ho>-1&&io.splice(Ho,1)},dn=(Yt,io)=>((io?.oneTimeCallback?Ke:_t).push({c:Yt,o:io}),Ge),Vt=()=>{Ht&&(Kn.forEach(Yt=>{Yt.cancel()}),Kn.length=0)},Gt=()=>{Bt.forEach(Yt=>{Yt?.parentNode&&Yt.parentNode.removeChild(Yt)}),Bt.length=0},Go=()=>void 0!==O?O:G?G.getFill():"both",Ji=()=>void 0!==it?it:void 0!==A?A:G?G.getDirection():"normal",pi=()=>Ne?"linear":void 0!==E?E:G?G.getEasing():"linear",Si=()=>je?0:void 0!==pt?pt:void 0!==v?v:G?G.getDuration():0,hr=()=>void 0!==u?u:G?G.getIterations():1,Pi=()=>void 0!==Ye?Ye:void 0!==_?_:G?G.getDelay():0,Wn=()=>{0!==be&&(be--,0===be&&((()=>{Hn.forEach(xi=>xi()),xo.forEach(xi=>xi());const Yt=St?1:0,io=he,Ho=Me,gi=ke;Xe.forEach(xi=>{const Ii=xi.classList;io.forEach(qi=>Ii.add(qi)),Ho.forEach(qi=>Ii.remove(qi));for(const qi in gi)gi.hasOwnProperty(qi)&&M(xi,qi,gi[qi])}),pt=void 0,it=void 0,Ye=void 0,_t.forEach(xi=>xi.c(Yt,Ge)),Ke.forEach(xi=>xi.c(Yt,Ge)),Ke.length=0,at=!0,St&&(mt=!0),St=!0})(),G&&G.animationFinish()))},Do=()=>{(()=>{It.forEach(gi=>gi()),Nn.forEach(gi=>gi());const Yt=K,io=X,Ho=fe;Xe.forEach(gi=>{const xi=gi.classList;Yt.forEach(Ii=>xi.add(Ii)),io.forEach(Ii=>xi.remove(Ii));for(const Ii in Ho)Ho.hasOwnProperty(Ii)&&M(gi,Ii,Ho[Ii])})})(),$.length>0&&Ht&&(Xe.forEach(Yt=>{const io=Yt.animate($,{id:mn,delay:Pi(),duration:Si(),easing:pi(),iterations:hr(),fill:Go(),direction:Ji()});io.pause(),Kn.push(io)}),Kn.length>0&&(Kn[0].onfinish=()=>{Wn()})),J=!0},ao=Yt=>{Yt=Math.min(Math.max(Yt,0),.9999),Ht&&Kn.forEach(io=>{io.currentTime=io.effect.getComputedTiming().delay+Si()*Yt,io.pause()})},kn=Yt=>{Kn.forEach(io=>{io.effect.updateTiming({delay:Pi(),duration:Si(),easing:pi(),iterations:hr(),fill:Go(),direction:Ji()})}),void 0!==Yt&&ao(Yt)},On=(Yt=!1,io=!0,Ho)=>(Yt&&qe.forEach(gi=>{gi.update(Yt,io,Ho)}),Ht&&kn(Ho),Ge),$i=()=>{J&&(Ht?Kn.forEach(Yt=>{Yt.pause()}):Xe.forEach(Yt=>{M(Yt,"animation-play-state","paused")}),gt=!0)},wi=Yt=>new Promise(io=>{Yt?.sync&&(je=!0,dn(()=>je=!1,{oneTimeCallback:!0})),J||Do(),mt&&(Ht&&(ao(0),kn()),mt=!1),at&&(be=qe.length+1,at=!1);const Ho=()=>{Un(gi,Ke),io()},gi=()=>{Un(Ho,Je),io()};dn(gi,{oneTimeCallback:!0}),(Yt=>{Je.push({c:Yt,o:{oneTimeCallback:!0}})})(Ho),qe.forEach(xi=>{xi.play()}),Ht?(Kn.forEach(Yt=>{Yt.play()}),(0===$.length||0===Xe.length)&&Wn()):Wn(),gt=!1}),Ki=(Yt,io)=>{const Ho=$[0];return void 0===Ho||void 0!==Ho.offset&&0!==Ho.offset?$=[{offset:0,[Yt]:io},...$]:Ho[Yt]=io,Ge};return Ge={parentAnimation:G,elements:Xe,childAnimations:qe,id:mn,animationFinish:Wn,from:Ki,to:(Yt,io)=>{const Ho=$[$.length-1];return void 0===Ho||void 0!==Ho.offset&&1!==Ho.offset?$=[...$,{offset:1,[Yt]:io}]:Ho[Yt]=io,Ge},fromTo:(Yt,io,Ho)=>Ki(Yt,io).to(Yt,Ho),parent:Yt=>(G=Yt,Ge),play:wi,pause:()=>(qe.forEach(Yt=>{Yt.pause()}),$i(),Ge),stop:()=>{qe.forEach(Yt=>{Yt.stop()}),J&&(Vt(),J=!1),Ne=!1,je=!1,at=!0,it=void 0,pt=void 0,Ye=void 0,be=0,mt=!1,St=!0,gt=!1,Je.forEach(Yt=>Yt.c(0,Ge)),Je.length=0},destroy:Yt=>(qe.forEach(io=>{io.destroy(Yt)}),(Yt=>{Vt(),Yt&&Gt()})(Yt),Xe.length=0,qe.length=0,$.length=0,_t.length=0,Ke.length=0,J=!1,at=!0,Ge),keyframes:Yt=>{const io=$!==Yt;return $=Yt,io&&(Yt=>{Ht&&$t().forEach(io=>{const Ho=io.effect;if(Ho.setKeyframes)Ho.setKeyframes(Yt);else{const gi=new KeyframeEffect(Ho.target,Yt,Ho.getTiming());io.effect=gi}})})($),Ge},addAnimation:Yt=>{if(null!=Yt)if(Array.isArray(Yt))for(const io of Yt)io.parent(Ge),qe.push(io);else Yt.parent(Ge),qe.push(Yt);return Ge},addElement:Yt=>{if(null!=Yt)if(1===Yt.nodeType)Xe.push(Yt);else if(Yt.length>=0)for(let io=0;io(O=Yt,On(!0),Ge),direction:Yt=>(A=Yt,On(!0),Ge),iterations:Yt=>(u=Yt,On(!0),Ge),duration:Yt=>(!Ht&&0===Yt&&(Yt=1),v=Yt,On(!0),Ge),easing:Yt=>(E=Yt,On(!0),Ge),delay:Yt=>(_=Yt,On(!0),Ge),getWebAnimations:$t,getKeyframes:()=>$,getFill:Go,getDirection:Ji,getDelay:Pi,getIterations:hr,getEasing:pi,getDuration:Si,afterAddRead:Yt=>(Hn.push(Yt),Ge),afterAddWrite:Yt=>(xo.push(Yt),Ge),afterClearStyles:(Yt=[])=>{for(const io of Yt)ke[io]="";return Ge},afterStyles:(Yt={})=>(ke=Yt,Ge),afterRemoveClass:Yt=>(Me=d(Me,Yt),Ge),afterAddClass:Yt=>(he=d(he,Yt),Ge),beforeAddRead:Yt=>(It.push(Yt),Ge),beforeAddWrite:Yt=>(Nn.push(Yt),Ge),beforeClearStyles:(Yt=[])=>{for(const io of Yt)fe[io]="";return Ge},beforeStyles:(Yt={})=>(fe=Yt,Ge),beforeRemoveClass:Yt=>(X=d(X,Yt),Ge),beforeAddClass:Yt=>(K=d(K,Yt),Ge),onFinish:dn,isRunning:()=>0!==be&&!gt,progressStart:(Yt=!1,io)=>(qe.forEach(Ho=>{Ho.progressStart(Yt,io)}),$i(),Ne=Yt,J||Do(),On(!1,!0,io),Ge),progressStep:Yt=>(qe.forEach(io=>{io.progressStep(Yt)}),ao(Yt),Ge),progressEnd:(Yt,io,Ho)=>(Ne=!1,qe.forEach(gi=>{gi.progressEnd(Yt,io,Ho)}),void 0!==Ho&&(pt=Ho),mt=!1,St=!0,0===Yt?(it="reverse"===Ji()?"normal":"reverse","reverse"===it&&(St=!1),Ht?(On(),ao(1-io)):(Ye=(1-io)*Si()*-1,On(!1,!1))):1===Yt&&(Ht?(On(),ao(io)):(Ye=io*Si()*-1,On(!1,!1))),void 0!==Yt&&!G&&wi(),Ge)}}},58621:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>d,a:()=>l,d:()=>M});var e=i(10467),t=i(84920);const l=function(){var p=(0,e.A)(function*(a,_,v,E,u,O){var A;if(a)return a.attachViewToDom(_,v,u,E);if(!(O||"string"==typeof v||v instanceof HTMLElement))throw new Error("framework delegate is missing");const $="string"==typeof v?null===(A=_.ownerDocument)||void 0===A?void 0:A.createElement(v):v;return E&&E.forEach(K=>$.classList.add(K)),u&&Object.assign($,u),_.appendChild($),yield new Promise(K=>(0,t.c)($,K)),$});return function(_,v,E,u,O,A){return p.apply(this,arguments)}}(),M=(p,a)=>{if(a){if(p)return p.removeViewFromDom(a.parentElement,a);a.remove()}return Promise.resolve()},d=()=>{let p,a;return{attachViewToDom:function(){var E=(0,e.A)(function*(u,O,A={},$=[]){var K,X;let J;if(p=u,O){const fe="string"==typeof O?null===(K=p.ownerDocument)||void 0===K?void 0:K.createElement(O):O;$.forEach(he=>fe.classList.add(he)),Object.assign(fe,A),p.appendChild(fe),J=fe,yield new Promise(he=>(0,t.c)(fe,he))}else if(p.children.length>0&&("ION-MODAL"===p.tagName||"ION-POPOVER"===p.tagName)&&!(J=p.children[0]).classList.contains("ion-delegate-host")){const he=null===(X=p.ownerDocument)||void 0===X?void 0:X.createElement("div");he.classList.add("ion-delegate-host"),$.forEach(Me=>he.classList.add(Me)),he.append(...p.children),p.appendChild(he),J=he}const G=document.querySelector("ion-app")||document.body;return a=document.createComment("ionic teleport"),p.parentNode.insertBefore(a,p),G.appendChild(p),J??p});return function(O,A){return E.apply(this,arguments)}}(),removeViewFromDom:()=>(p&&a&&(a.parentNode.insertBefore(p,a),a.remove()),Promise.resolve())}}},11970:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>M,G:()=>d});class t{constructor(a,_,v,E,u){this.id=_,this.name=v,this.disableScroll=u,this.priority=1e6*E+_,this.ctrl=a}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 a=this.ctrl.capture(this.name,this.id,this.priority);return a&&this.disableScroll&&this.ctrl.disableScroll(this.id),a}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class l{constructor(a,_,v,E){this.id=_,this.disable=v,this.disableScroll=E,this.ctrl=a}block(){if(this.ctrl){if(this.disable)for(const a of this.disable)this.ctrl.disableGesture(a,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const a of this.disable)this.ctrl.enableGesture(a,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const M="backdrop-no-scroll",d=new class e{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(a){var _;return new t(this,this.newID(),a.name,null!==(_=a.priority)&&void 0!==_?_:0,!!a.disableScroll)}createBlocker(a={}){return new l(this,this.newID(),a.disable,!!a.disableScroll)}start(a,_,v){return this.canStart(a)?(this.requestedStart.set(_,v),!0):(this.requestedStart.delete(_),!1)}capture(a,_,v){if(!this.start(a,_,v))return!1;const E=this.requestedStart;let u=-1e4;if(E.forEach(O=>{u=Math.max(u,O)}),u===v){this.capturedId=_,E.clear();const O=new CustomEvent("ionGestureCaptured",{detail:{gestureName:a}});return document.dispatchEvent(O),!0}return E.delete(_),!1}release(a){this.requestedStart.delete(a),this.capturedId===a&&(this.capturedId=void 0)}disableGesture(a,_){let v=this.disabledGestures.get(a);void 0===v&&(v=new Set,this.disabledGestures.set(a,v)),v.add(_)}enableGesture(a,_){const v=this.disabledGestures.get(a);void 0!==v&&v.delete(_)}disableScroll(a){this.disabledScroll.add(a),1===this.disabledScroll.size&&document.body.classList.add(M)}enableScroll(a){this.disabledScroll.delete(a),0===this.disabledScroll.size&&document.body.classList.remove(M)}canStart(a){return!(void 0!==this.capturedId||this.isDisabled(a))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(a){const _=this.disabledGestures.get(a);return!!(_&&_.size>0)}newID(){return this.gestureId++,this.gestureId}}},37192:(Ze,z,i)=>{"use strict";i.r(z),i.d(z,{MENU_BACK_BUTTON_PRIORITY:()=>v,OVERLAY_BACK_BUTTON_PRIORITY:()=>_,blockHardwareBackButton:()=>p,shouldUseCloseWatcher:()=>d,startHardwareBackButton:()=>a});var e=i(10467),t=i(28476),l=i(9483);i(54261);const d=()=>l.c.get("experimentalCloseWatcher",!1)&&void 0!==t.w&&"CloseWatcher"in t.w,p=()=>{document.addEventListener("backbutton",()=>{})},a=()=>{const E=document;let u=!1;const O=()=>{if(u)return;let A=0,$=[];const K=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(G,fe){$.push({priority:G,handler:fe,id:A++})}}});E.dispatchEvent(K);const X=function(){var G=(0,e.A)(function*(fe){try{if(fe?.handler){const he=fe.handler(J);null!=he&&(yield he)}}catch(he){console.error(he)}});return function(he){return G.apply(this,arguments)}}(),J=()=>{if($.length>0){let G={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};$.forEach(fe=>{fe.priority>=G.priority&&(G=fe)}),u=!0,$=$.filter(fe=>fe.id!==G.id),X(G).then(()=>u=!1)}};J()};if(d()){let A;const $=()=>{A?.destroy(),A=new t.w.CloseWatcher,A.onclose=()=>{O(),$()}};$()}else E.addEventListener("backbutton",O)},_=100,v=99},84920:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>_,b:()=>v,c:()=>l,d:()=>$,e:()=>fe,f:()=>A,g:()=>E,h:()=>d,i:()=>a,j:()=>K,k:()=>M,l:()=>O,m:()=>X,n:()=>G,o:()=>he,p:()=>J,r:()=>u,s:()=>Me,t:()=>e});const e=(ke,be=0)=>new Promise(Ne=>{t(ke,be,Ne)}),t=(ke,be=0,Ne)=>{let je,it;const pt={passive:!0},St=()=>{je&&je()},mt=at=>{(void 0===at||ke===at.target)&&(St(),Ne(at))};return ke&&(ke.addEventListener("webkitTransitionEnd",mt,pt),ke.addEventListener("transitionend",mt,pt),it=setTimeout(mt,be+500),je=()=>{void 0!==it&&(clearTimeout(it),it=void 0),ke.removeEventListener("webkitTransitionEnd",mt,pt),ke.removeEventListener("transitionend",mt,pt)}),St},l=(ke,be)=>{ke.componentOnReady?ke.componentOnReady().then(Ne=>be(Ne)):u(()=>be(ke))},M=ke=>void 0!==ke.componentOnReady,d=(ke,be=[])=>{const Ne={};return be.forEach(je=>{ke.hasAttribute(je)&&(null!==ke.getAttribute(je)&&(Ne[je]=ke.getAttribute(je)),ke.removeAttribute(je))}),Ne},p=["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"],a=(ke,be)=>{let Ne=p;return be&&be.length>0&&(Ne=Ne.filter(je=>!be.includes(je))),d(ke,Ne)},_=(ke,be,Ne,je)=>{var it;if(typeof window<"u"){const pt=window,Ye=null===(it=pt?.Ionic)||void 0===it?void 0:it.config;if(Ye){const St=Ye.get("_ael");if(St)return St(ke,be,Ne,je);if(Ye._ael)return Ye._ael(ke,be,Ne,je)}}return ke.addEventListener(be,Ne,je)},v=(ke,be,Ne,je)=>{var it;if(typeof window<"u"){const pt=window,Ye=null===(it=pt?.Ionic)||void 0===it?void 0:it.config;if(Ye){const St=Ye.get("_rel");if(St)return St(ke,be,Ne,je);if(Ye._rel)return Ye._rel(ke,be,Ne,je)}}return ke.removeEventListener(be,Ne,je)},E=(ke,be=ke)=>ke.shadowRoot||be,u=ke=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(ke):"function"==typeof requestAnimationFrame?requestAnimationFrame(ke):setTimeout(ke),O=ke=>!!ke.shadowRoot&&!!ke.attachShadow,A=ke=>{if(ke.focus(),ke.classList.contains("ion-focusable")){const be=ke.closest("ion-app");be&&be.setFocus([ke])}},$=(ke,be,Ne,je,it)=>{if(ke||O(be)){let pt=be.querySelector("input.aux-input");pt||(pt=be.ownerDocument.createElement("input"),pt.type="hidden",pt.classList.add("aux-input"),be.appendChild(pt)),pt.disabled=it,pt.name=Ne,pt.value=je||""}},K=(ke,be,Ne)=>Math.max(ke,Math.min(be,Ne)),X=(ke,be)=>{if(!ke){const Ne="ASSERT: "+be;throw console.error(Ne),new Error(Ne)}},J=ke=>{if(ke){const be=ke.changedTouches;if(be&&be.length>0){const Ne=be[0];return{x:Ne.clientX,y:Ne.clientY}}if(void 0!==ke.pageX)return{x:ke.pageX,y:ke.pageY}}return{x:0,y:0}},G=ke=>{const be="rtl"===document.dir;switch(ke){case"start":return be;case"end":return!be;default:throw new Error(`"${ke}" is not a valid value for [side]. Use "start" or "end" instead.`)}},fe=(ke,be)=>{const Ne=ke._original||ke;return{_original:ke,emit:he(Ne.emit.bind(Ne),be)}},he=(ke,be=0)=>{let Ne;return(...je)=>{clearTimeout(Ne),Ne=setTimeout(ke,be,...je)}},Me=(ke,be)=>{if(ke??(ke={}),be??(be={}),ke===be)return!0;const Ne=Object.keys(ke);if(Ne.length!==Object.keys(be).length)return!1;for(const je of Ne)if(!(je in be)||ke[je]!==be[je])return!1;return!0}},54261:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>p,d:()=>hr,e:()=>Hn,f:()=>Mn,g:()=>Ji,h:()=>Lt,i:()=>Si,j:()=>xr,k:()=>Kn,r:()=>v,w:()=>xo});var e=i(10467);var M=Object.defineProperty,p={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a=new WeakMap,_=ie=>a.get(ie),v=(ie,Be)=>a.set(Be.$lazyInstance$=ie,Be),u=(ie,Be)=>Be in ie,O=(ie,Be)=>(0,console.error)(ie,Be),K=new Map,it="http://www.w3.org/1999/xlink",pt=typeof window<"u"?window:{},Ye=pt.document||{head:{}},mt={$flags$:0,$resourcesUrl$:"",jmp:ie=>ie(),raf:ie=>requestAnimationFrame(ie),ael:(ie,Be,Qe,ct)=>ie.addEventListener(Be,Qe,ct),rel:(ie,Be,Qe,ct)=>ie.removeEventListener(Be,Qe,ct),ce:(ie,Be)=>new CustomEvent(ie,Be)},Ke=!1,Je=[],Xe=[],qe=(ie,Be)=>Qe=>{ie.push(Qe),Ke||(Ke=!0,Be&&4&mt.$flags$?Nn(It):mt.raf(It))},Bt=ie=>{for(let Be=0;Be{Bt(Je),Bt(Xe),(Ke=Je.length>0)&&mt.raf(It)},Nn=ie=>Promise.resolve(void 0).then(ie),Hn=qe(Je,!1),xo=qe(Xe,!0),Kn=ie=>{const Be=new URL(ie,mt.$resourcesUrl$);return Be.origin!==pt.location.origin?Be.href:Be.pathname},xt={},ln=ie=>"object"==(ie=typeof ie)||"function"===ie;((ie,Be)=>{for(var Qe in Be)M(ie,Qe,{get:Be[Qe],enumerable:!0})})({},{err:()=>Tn,map:()=>dn,ok:()=>Un,unwrap:()=>gn,unwrapErr:()=>Vt});var Un=ie=>({isOk:!0,isErr:!1,value:ie}),Tn=ie=>({isOk:!1,isErr:!0,value:ie});function dn(ie,Be){if(ie.isOk){const Qe=Be(ie.value);return Qe instanceof Promise?Qe.then(ct=>Un(ct)):Un(Qe)}if(ie.isErr)return Tn(ie.value);throw"should never get here"}var gn=ie=>{if(ie.isOk)return ie.value;throw ie.value},Vt=ie=>{if(ie.isErr)return ie.value;throw ie.value},Lt=(ie,Be,...Qe)=>{let ct=null,Mt=null,Dt=null,fn=!1,un=!1;const In=[],$n=Mo=>{for(let po=0;poMo[po]).join(" "))}}if("function"==typeof ie)return ie(null===Be?{}:Be,In,Bn);const vo=yn(ie,null);return vo.$attrs$=Be,In.length>0&&(vo.$children$=In),vo.$key$=Mt,vo.$name$=Dt,vo},yn=(ie,Be)=>({$flags$:0,$tag$:ie,$text$:Be,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Mn={},Bn={forEach:(ie,Be)=>ie.map(yo).forEach(Be),map:(ie,Be)=>ie.map(yo).map(Be).map(oo)},yo=ie=>({vattrs:ie.$attrs$,vchildren:ie.$children$,vkey:ie.$key$,vname:ie.$name$,vtag:ie.$tag$,vtext:ie.$text$}),oo=ie=>{if("function"==typeof ie.vtag){const Qe={...ie.vattrs};return ie.vkey&&(Qe.key=ie.vkey),ie.vname&&(Qe.name=ie.vname),Lt(ie.vtag,Qe,...ie.vchildren||[])}const Be=yn(ie.vtag,ie.vtext);return Be.$attrs$=ie.vattrs,Be.$children$=ie.vchildren,Be.$key$=ie.vkey,Be.$name$=ie.vname,Be},Ji=ie=>_(ie).$modeName$,Si=ie=>_(ie).$hostElement$,hr=(ie,Be,Qe)=>{const ct=Si(ie);return{emit:Mt=>Pi(ct,Be,{bubbles:!!(4&Qe),composed:!!(2&Qe),cancelable:!!(1&Qe),detail:Mt})}},Pi=(ie,Be,Qe)=>{const ct=mt.ce(Be,Qe);return ie.dispatchEvent(ct),ct},Gn=new WeakMap,De=(ie,Be)=>"sc-"+(Be&&32&ie.$flags$?ie.$tagName$+"-"+Be:ie.$tagName$),Fe=(ie,Be,Qe,ct,Mt,Dt)=>{if(Qe!==ct){let fn=u(ie,Be),un=Be.toLowerCase();if("class"===Be){const In=ie.classList,$n=en(Qe),vo=en(ct);In.remove(...$n.filter(Mo=>Mo&&!vo.includes(Mo))),In.add(...vo.filter(Mo=>Mo&&!$n.includes(Mo)))}else if("style"===Be){for(const In in Qe)(!ct||null==ct[In])&&(In.includes("-")?ie.style.removeProperty(In):ie.style[In]="");for(const In in ct)(!Qe||ct[In]!==Qe[In])&&(In.includes("-")?ie.style.setProperty(In,ct[In]):ie.style[In]=ct[In])}else if("key"!==Be)if("ref"===Be)ct&&ct(ie);else if(fn||"o"!==Be[0]||"n"!==Be[1]){const In=ln(ct);if((fn||In&&null!==ct)&&!Mt)try{if(ie.tagName.includes("-"))ie[Be]=ct;else{const vo=ct??"";"list"===Be?fn=!1:(null==Qe||ie[Be]!=vo)&&(ie[Be]=vo)}}catch{}let $n=!1;un!==(un=un.replace(/^xlink\:?/,""))&&(Be=un,$n=!0),null==ct||!1===ct?(!1!==ct||""===ie.getAttribute(Be))&&($n?ie.removeAttributeNS(it,Be):ie.removeAttribute(Be)):(!fn||4&Dt||Mt)&&!In&&(ct=!0===ct?"":ct,$n?ie.setAttributeNS(it,Be,ct):ie.setAttribute(Be,ct))}else if(Be="-"===Be[2]?Be.slice(3):u(pt,un)?un.slice(2):un[2]+Be.slice(3),Qe||ct){const In=Be.endsWith(Xn);Be=Be.replace(sn,""),Qe&&mt.rel(ie,Be,Qe,In),ct&&mt.ael(ie,Be,ct,In)}}},tt=/\s/,en=ie=>ie?ie.split(tt):[],Xn="Capture",sn=new RegExp(Xn+"$"),zt=(ie,Be,Qe)=>{const ct=11===Be.$elm$.nodeType&&Be.$elm$.host?Be.$elm$.host:Be.$elm$,Mt=ie&&ie.$attrs$||xt,Dt=Be.$attrs$||xt;for(const fn of _n(Object.keys(Mt)))fn in Dt||Fe(ct,fn,Mt[fn],void 0,Qe,Be.$flags$);for(const fn of _n(Object.keys(Dt)))Fe(ct,fn,Mt[fn],Dt[fn],Qe,Be.$flags$)};function _n(ie){return ie.includes("ref")?[...ie.filter(Be=>"ref"!==Be),"ref"]:ie}var kt,an,Wn,Jn=!1,Do=!1,ao=!1,kn=!1,On=(ie,Be,Qe,ct)=>{var Mt;const Dt=Be.$children$[Qe];let un,In,$n,fn=0;if(Jn||(ao=!0,"slot"===Dt.$tag$&&(kt&&ct.classList.add(kt+"-s"),Dt.$flags$|=Dt.$children$?2:1)),null!==Dt.$text$)un=Dt.$elm$=Ye.createTextNode(Dt.$text$);else if(1&Dt.$flags$)un=Dt.$elm$=Ye.createTextNode("");else{if(kn||(kn="svg"===Dt.$tag$),un=Dt.$elm$=Ye.createElementNS(kn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Jn&&2&Dt.$flags$?"slot-fb":Dt.$tag$),kn&&"foreignObject"===Dt.$tag$&&(kn=!1),zt(null,Dt,kn),!!un.getRootNode().querySelector("body")&&(ie=>null!=ie)(kt)&&un["s-si"]!==kt&&un.classList.add(un["s-si"]=kt),gi(un,ct),Dt.$children$)for(fn=0;fn{mt.$flags$|=1;const Be=ie.closest(Wn.toLowerCase());if(null!=Be){const Qe=Array.from(Be.childNodes).find(Mt=>Mt["s-cr"]),ct=Array.from(ie.childNodes);for(const Mt of Qe?ct.reverse():ct)null!=Mt["s-sh"]&&(io(Be,Mt,Qe??null),Mt["s-sh"]=void 0,ao=!0)}mt.$flags$&=-2},Ro=(ie,Be)=>{mt.$flags$|=1;const Qe=Array.from(ie.childNodes);if(ie["s-sr"]){let ct=ie;for(;ct=ct.nextSibling;)ct&&ct["s-sn"]===ie["s-sn"]&&ct["s-sh"]===Wn&&Qe.push(ct)}for(let ct=Qe.length-1;ct>=0;ct--){const Mt=Qe[ct];Mt["s-hn"]!==Wn&&Mt["s-ol"]&&(io(Sr(Mt),Mt,tr(Mt)),Mt["s-ol"].remove(),Mt["s-ol"]=void 0,Mt["s-sh"]=void 0,ao=!0),Be&&Ro(Mt,Be)}mt.$flags$&=-2},bo=(ie,Be,Qe,ct,Mt,Dt)=>{let un,fn=ie["s-cr"]&&ie["s-cr"].parentNode||ie;for(fn.shadowRoot&&fn.tagName===Wn&&(fn=fn.shadowRoot);Mt<=Dt;++Mt)ct[Mt]&&(un=On(null,Qe,Mt,ie),un&&(ct[Mt].$elm$=un,io(fn,un,tr(Be))))},$i=(ie,Be,Qe)=>{for(let ct=Be;ct<=Qe;++ct){const Mt=ie[ct];if(Mt){const Dt=Mt.$elm$;Yt(Mt),Dt&&(Do=!0,Dt["s-ol"]?Dt["s-ol"].remove():Ro(Dt,!0),Dt.remove())}}},Gi=(ie,Be,Qe=!1)=>!(ie.$tag$!==Be.$tag$||("slot"===ie.$tag$?"$nodeId$"in ie&&Qe&&8!==ie.$elm$.nodeType||ie.$name$!==Be.$name$:!Qe&&ie.$key$!==Be.$key$)),tr=ie=>ie&&ie["s-ol"]||ie,Sr=ie=>(ie["s-ol"]?ie["s-ol"]:ie).parentNode,wi=(ie,Be,Qe=!1)=>{const ct=Be.$elm$=ie.$elm$,Mt=ie.$children$,Dt=Be.$children$,fn=Be.$tag$,un=Be.$text$;let In;null===un?(kn="svg"===fn||"foreignObject"!==fn&&kn,"slot"!==fn||Jn?zt(ie,Be,kn):ie.$name$!==Be.$name$&&(Be.$elm$["s-sn"]=Be.$name$||"",ni(Be.$elm$.parentElement)),null!==Mt&&null!==Dt?((ie,Be,Qe,ct,Mt=!1)=>{let Co,Vo,Dt=0,fn=0,un=0,In=0,$n=Be.length-1,vo=Be[0],Mo=Be[$n],po=ct.length-1,uo=ct[0],Po=ct[po];for(;Dt<=$n&&fn<=po;)if(null==vo)vo=Be[++Dt];else if(null==Mo)Mo=Be[--$n];else if(null==uo)uo=ct[++fn];else if(null==Po)Po=ct[--po];else if(Gi(vo,uo,Mt))wi(vo,uo,Mt),vo=Be[++Dt],uo=ct[++fn];else if(Gi(Mo,Po,Mt))wi(Mo,Po,Mt),Mo=Be[--$n],Po=ct[--po];else if(Gi(vo,Po,Mt))("slot"===vo.$tag$||"slot"===Po.$tag$)&&Ro(vo.$elm$.parentNode,!1),wi(vo,Po,Mt),io(ie,vo.$elm$,Mo.$elm$.nextSibling),vo=Be[++Dt],Po=ct[--po];else if(Gi(Mo,uo,Mt))("slot"===vo.$tag$||"slot"===Po.$tag$)&&Ro(Mo.$elm$.parentNode,!1),wi(Mo,uo,Mt),io(ie,Mo.$elm$,vo.$elm$),Mo=Be[--$n],uo=ct[++fn];else{for(un=-1,In=Dt;In<=$n;++In)if(Be[In]&&null!==Be[In].$key$&&Be[In].$key$===uo.$key$){un=In;break}un>=0?(Vo=Be[un],Vo.$tag$!==uo.$tag$?Co=On(Be&&Be[fn],Qe,un,ie):(wi(Vo,uo,Mt),Be[un]=void 0,Co=Vo.$elm$),uo=ct[++fn]):(Co=On(Be&&Be[fn],Qe,fn,ie),uo=ct[++fn]),Co&&io(Sr(vo.$elm$),Co,tr(vo.$elm$))}Dt>$n?bo(ie,null==ct[po+1]?null:ct[po+1].$elm$,Qe,ct,fn,po):fn>po&&$i(Be,Dt,$n)})(ct,Mt,Be,Dt,Qe):null!==Dt?(null!==ie.$text$&&(ct.textContent=""),bo(ct,null,Be,Dt,0,Dt.length-1)):!Qe&&null!==Mt&&$i(Mt,0,Mt.length-1),kn&&"svg"===fn&&(kn=!1)):(In=ct["s-cr"])?In.parentNode.textContent=un:ie.$text$!==un&&(ct.data=un)},mr=ie=>{const Be=ie.childNodes;for(const Qe of Be)if(1===Qe.nodeType){if(Qe["s-sr"]){const ct=Qe["s-sn"];Qe.hidden=!1;for(const Mt of Be)if(Mt!==Qe)if(Mt["s-hn"]!==Qe["s-hn"]||""!==ct){if(1===Mt.nodeType&&(ct===Mt.getAttribute("slot")||ct===Mt["s-sn"])||3===Mt.nodeType&&ct===Mt["s-sn"]){Qe.hidden=!0;break}}else if(1===Mt.nodeType||3===Mt.nodeType&&""!==Mt.textContent.trim()){Qe.hidden=!0;break}}mr(Qe)}},Ki=[],kr=ie=>{let Be,Qe,ct;for(const Mt of ie.childNodes){if(Mt["s-sr"]&&(Be=Mt["s-cr"])&&Be.parentNode){Qe=Be.parentNode.childNodes;const Dt=Mt["s-sn"];for(ct=Qe.length-1;ct>=0;ct--)if(Be=Qe[ct],!(Be["s-cn"]||Be["s-nr"]||Be["s-hn"]===Mt["s-hn"]||Be["s-sh"]&&Be["s-sh"]===Mt["s-hn"]))if(Wr(Be,Dt)){let fn=Ki.find(un=>un.$nodeToRelocate$===Be);Do=!0,Be["s-sn"]=Be["s-sn"]||Dt,fn?(fn.$nodeToRelocate$["s-sh"]=Mt["s-hn"],fn.$slotRefNode$=Mt):(Be["s-sh"]=Mt["s-hn"],Ki.push({$slotRefNode$:Mt,$nodeToRelocate$:Be})),Be["s-sr"]&&Ki.map(un=>{Wr(un.$nodeToRelocate$,Be["s-sn"])&&(fn=Ki.find(In=>In.$nodeToRelocate$===Be),fn&&!un.$slotRefNode$&&(un.$slotRefNode$=fn.$slotRefNode$))})}else Ki.some(fn=>fn.$nodeToRelocate$===Be)||Ki.push({$nodeToRelocate$:Be})}1===Mt.nodeType&&kr(Mt)}},Wr=(ie,Be)=>1===ie.nodeType?null===ie.getAttribute("slot")&&""===Be||ie.getAttribute("slot")===Be:ie["s-sn"]===Be||""===Be,Yt=ie=>{ie.$attrs$&&ie.$attrs$.ref&&ie.$attrs$.ref(null),ie.$children$&&ie.$children$.map(Yt)},io=(ie,Be,Qe)=>{const ct=ie?.insertBefore(Be,Qe);return gi(Be,ie),ct},Ho=ie=>{const Be=[];return ie&&Be.push(...ie["s-scs"]||[],ie["s-si"],ie["s-sc"],...Ho(ie.parentElement)),Be},gi=(ie,Be,Qe=!1)=>{var ct;if(ie&&Be&&1===ie.nodeType){const Mt=new Set(Ho(Be).filter(Boolean));if(Mt.size&&(null==(ct=ie.classList)||ct.add(...ie["s-scs"]=[...Mt]),ie["s-ol"]||Qe))for(const Dt of Array.from(ie.childNodes))gi(Dt,ie,!0)}},qi=(ie,Be)=>{if(ie.$flags$|=16,!(4&ie.$flags$))return((ie,Be)=>{Be&&!ie.$onRenderResolve$&&Be["s-p"]&&Be["s-p"].push(new Promise(Qe=>ie.$onRenderResolve$=Qe))})(ie,ie.$ancestorComponent$),xo(()=>bi(ie,Be));ie.$flags$|=512},bi=(ie,Be)=>{const Mt=ie.$lazyInstance$;if(!Mt)throw new Error(`Can't render component <${ie.$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 Dt;return Be&&(ie.$flags$|=256,ie.$queuedListeners$&&(ie.$queuedListeners$.map(([fn,un])=>Kr(Mt,fn,un)),ie.$queuedListeners$=void 0),Dt=Kr(Mt,"componentWillLoad")),Dt=Rr(Dt,()=>Kr(Mt,"componentWillRender")),Rr(Dt,()=>ri(ie,Mt,Be))},Rr=(ie,Be)=>Fi(ie)?ie.then(Be).catch(Qe=>{console.error(Qe),Be()}):Be(),Fi=ie=>ie instanceof Promise||ie&&ie.then&&"function"==typeof ie.then,ri=function(){var ie=(0,e.A)(function*(Be,Qe,ct){var Mt;const Dt=Be.$hostElement$,un=Dt["s-rc"];ct&&(ie=>{const Be=ie.$cmpMeta$,Qe=ie.$hostElement$,ct=Be.$flags$,Dt=((ie,Be,Qe)=>{var ct;const Mt=De(Be,Qe),Dt=K.get(Mt);if(ie=11===ie.nodeType?ie:Ye,Dt)if("string"==typeof Dt){let un,fn=Gn.get(ie=ie.head||ie);if(fn||Gn.set(ie,fn=new Set),!fn.has(Mt)){if(ie.host&&(un=ie.querySelector(`[sty-id="${Mt}"]`)))un.innerHTML=Dt;else{un=Ye.createElement("style"),un.innerHTML=Dt;const In=null!=(ct=mt.$nonce$)?ct:function tn(ie){var Be,Qe,ct;return null!=(ct=null==(Qe=null==(Be=ie.head)?void 0:Be.querySelector('meta[name="csp-nonce"]'))?void 0:Qe.getAttribute("content"))?ct:void 0}(Ye);null!=In&&un.setAttribute("nonce",In),(!(1&Be.$flags$)||1&Be.$flags$&&"HEAD"!==ie.nodeName)&&ie.insertBefore(un,ie.querySelector("link"))}4&Be.$flags$&&(un.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),fn&&fn.add(Mt)}}else ie.adoptedStyleSheets.includes(Dt)||(ie.adoptedStyleSheets=[...ie.adoptedStyleSheets,Dt]);return Mt})(Qe.shadowRoot?Qe.shadowRoot:Qe.getRootNode(),Be,ie.$modeName$);10&ct&&2&ct&&(Qe["s-sc"]=Dt,Qe.classList.add(Dt+"-h"),2&ct&&Qe.classList.add(Dt+"-s"))})(Be);is(Be,Qe,Dt,ct),un&&(un.map($n=>$n()),Dt["s-rc"]=void 0);{const $n=null!=(Mt=Dt["s-p"])?Mt:[],vo=()=>wr(Be);0===$n.length?vo():(Promise.all($n).then(vo),Be.$flags$|=4,$n.length=0)}});return function(Qe,ct,Mt){return ie.apply(this,arguments)}}(),is=(ie,Be,Qe,ct)=>{try{Be=Be.render&&Be.render(),ie.$flags$&=-17,ie.$flags$|=2,((ie,Be,Qe=!1)=>{var ct,Mt,Dt,fn,un;const In=ie.$hostElement$,$n=ie.$cmpMeta$,vo=ie.$vnode$||yn(null,null),Mo=(ie=>ie&&ie.$tag$===Mn)(Be)?Be:Lt(null,null,Be);if(Wn=In.tagName,$n.$attrsToReflect$&&(Mo.$attrs$=Mo.$attrs$||{},$n.$attrsToReflect$.map(([po,uo])=>Mo.$attrs$[uo]=In[po])),Qe&&Mo.$attrs$)for(const po of Object.keys(Mo.$attrs$))In.hasAttribute(po)&&!["key","ref","style","class"].includes(po)&&(Mo.$attrs$[po]=In[po]);if(Mo.$tag$=null,Mo.$flags$|=4,ie.$vnode$=Mo,Mo.$elm$=vo.$elm$=In.shadowRoot||In,kt=In["s-sc"],Jn=!!(1&$n.$flags$),an=In["s-cr"],Do=!1,wi(vo,Mo,Qe),mt.$flags$|=1,ao){kr(Mo.$elm$);for(const po of Ki){const uo=po.$nodeToRelocate$;if(!uo["s-ol"]){const Po=Ye.createTextNode("");Po["s-nr"]=uo,io(uo.parentNode,uo["s-ol"]=Po,uo)}}for(const po of Ki){const uo=po.$nodeToRelocate$,Po=po.$slotRefNode$;if(Po){const Co=Po.parentNode;let Vo=Po.nextSibling;if(Vo&&1===Vo.nodeType){let So=null==(ct=uo["s-ol"])?void 0:ct.previousSibling;for(;So;){let Yo=null!=(Mt=So["s-nr"])?Mt:null;if(Yo&&Yo["s-sn"]===uo["s-sn"]&&Co===Yo.parentNode){for(Yo=Yo.nextSibling;Yo===uo||Yo?.["s-sr"];)Yo=Yo?.nextSibling;if(!Yo||!Yo["s-nr"]){Vo=Yo;break}}So=So.previousSibling}}(!Vo&&Co!==uo.parentNode||uo.nextSibling!==Vo)&&uo!==Vo&&(io(Co,uo,Vo),1===uo.nodeType&&(uo.hidden=null!=(Dt=uo["s-ih"])&&Dt)),uo&&"function"==typeof Po["s-rf"]&&Po["s-rf"](uo)}else 1===uo.nodeType&&(Qe&&(uo["s-ih"]=null!=(fn=uo.hidden)&&fn),uo.hidden=!0)}}if(Do&&mr(Mo.$elm$),mt.$flags$&=-2,Ki.length=0,2&$n.$flags$)for(const po of Mo.$elm$.childNodes)po["s-hn"]!==Wn&&!po["s-sh"]&&(Qe&&null==po["s-ih"]&&(po["s-ih"]=null!=(un=po.hidden)&&un),po.hidden=!0);an=void 0})(ie,Be,ct)}catch(Mt){O(Mt,ie.$hostElement$)}return null},wr=ie=>{const Qe=ie.$hostElement$,Mt=ie.$lazyInstance$,Dt=ie.$ancestorComponent$;Kr(Mt,"componentDidRender"),64&ie.$flags$?Kr(Mt,"componentDidUpdate"):(ie.$flags$|=64,Mr(Qe),Kr(Mt,"componentDidLoad"),ie.$onReadyResolve$(Qe),Dt||Zr()),ie.$onInstanceResolve$(Qe),ie.$onRenderResolve$&&(ie.$onRenderResolve$(),ie.$onRenderResolve$=void 0),512&ie.$flags$&&Nn(()=>qi(ie,!1)),ie.$flags$&=-517},xr=ie=>{{const Be=_(ie),Qe=Be.$hostElement$.isConnected;return Qe&&2==(18&Be.$flags$)&&qi(Be,!1),Qe}},Zr=ie=>{Mr(Ye.documentElement),Nn(()=>Pi(pt,"appload",{detail:{namespace:"ionic"}}))},Kr=(ie,Be,Qe)=>{if(ie&&ie[Be])try{return ie[Be](Qe)}catch(ct){O(ct)}},Mr=ie=>ie.classList.add("hydrated")},28607:(Ze,z,i)=>{"use strict";i.r(z),i.d(z,{GESTURE_CONTROLLER:()=>e.G,createGesture:()=>v});var e=i(11970);const t=(A,$,K,X)=>{const J=l(A)?{capture:!!X.capture,passive:!!X.passive}:!!X.capture;let G,fe;return A.__zone_symbol__addEventListener?(G="__zone_symbol__addEventListener",fe="__zone_symbol__removeEventListener"):(G="addEventListener",fe="removeEventListener"),A[G]($,K,J),()=>{A[fe]($,K,J)}},l=A=>{if(void 0===M)try{const $=Object.defineProperty({},"passive",{get:()=>{M=!0}});A.addEventListener("optsTest",()=>{},$)}catch{M=!1}return!!M};let M;const a=A=>A instanceof Document?A:A.ownerDocument,v=A=>{let $=!1,K=!1,X=!0,J=!1;const G=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},A),fe=G.canStart,he=G.onWillStart,Me=G.onStart,ke=G.onEnd,be=G.notCaptured,Ne=G.onMove,je=G.threshold,it=G.passive,pt=G.blurOnStart,Ye={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},St=((A,$,K)=>{const X=K*(Math.PI/180),J="x"===A,G=Math.cos(X),fe=$*$;let he=0,Me=0,ke=!1,be=0;return{start(Ne,je){he=Ne,Me=je,be=0,ke=!0},detect(Ne,je){if(!ke)return!1;const it=Ne-he,pt=je-Me,Ye=it*it+pt*pt;if(YeG?1:mt<-G?-1:0,ke=!1,!0},isGesture:()=>0!==be,getDirection:()=>be}})(G.direction,G.threshold,G.maxAngle),mt=e.G.createGesture({name:A.gestureName,priority:A.gesturePriority,disableScroll:A.disableScroll}),gt=()=>{$&&(J=!1,Ne&&Ne(Ye))},mn=()=>!!mt.capture()&&($=!0,X=!1,Ye.startX=Ye.currentX,Ye.startY=Ye.currentY,Ye.startTime=Ye.currentTime,he?he(Ye).then(Ke):Ke(),!0),Ke=()=>{pt&&(()=>{if(typeof document<"u"){const It=document.activeElement;It?.blur&&It.blur()}})(),Me&&Me(Ye),X=!0},Je=()=>{$=!1,K=!1,J=!1,X=!0,mt.release()},Xe=It=>{const Nn=$,Hn=X;if(Je(),Hn){if(E(Ye,It),Nn)return void(ke&&ke(Ye));be&&be(Ye)}},qe=((A,$,K,X,J)=>{let G,fe,he,Me,ke,be,Ne,je=0;const it=_t=>{je=Date.now()+2e3,$(_t)&&(!fe&&K&&(fe=t(A,"touchmove",K,J)),he||(he=t(_t.target,"touchend",Ye,J)),Me||(Me=t(_t.target,"touchcancel",Ye,J)))},pt=_t=>{je>Date.now()||$(_t)&&(!be&&K&&(be=t(a(A),"mousemove",K,J)),Ne||(Ne=t(a(A),"mouseup",St,J)))},Ye=_t=>{mt(),X&&X(_t)},St=_t=>{at(),X&&X(_t)},mt=()=>{fe&&fe(),he&&he(),Me&&Me(),fe=he=Me=void 0},at=()=>{be&&be(),Ne&&Ne(),be=Ne=void 0},Ge=()=>{mt(),at()},gt=(_t=!0)=>{_t?(G||(G=t(A,"touchstart",it,J)),ke||(ke=t(A,"mousedown",pt,J))):(G&&G(),ke&&ke(),G=ke=void 0,Ge())};return{enable:gt,stop:Ge,destroy:()=>{gt(!1),X=K=$=void 0}}})(G.el,It=>{const Nn=O(It);return!(K||!X||(u(It,Ye),Ye.startX=Ye.currentX,Ye.startY=Ye.currentY,Ye.startTime=Ye.currentTime=Nn,Ye.velocityX=Ye.velocityY=Ye.deltaX=Ye.deltaY=0,Ye.event=It,fe&&!1===fe(Ye))||(mt.release(),!mt.start()))&&(K=!0,0===je?mn():(St.start(Ye.startX,Ye.startY),!0))},It=>{$?!J&&X&&(J=!0,E(Ye,It),requestAnimationFrame(gt)):(E(Ye,It),St.detect(Ye.currentX,Ye.currentY)&&(!St.isGesture()||!mn())&&Bt())},Xe,{capture:!1,passive:it}),Bt=()=>{Je(),qe.stop(),be&&be(Ye)};return{enable(It=!0){It||($&&Xe(void 0),Je()),qe.enable(It)},destroy(){mt.destroy(),qe.destroy()}}},E=(A,$)=>{if(!$)return;const K=A.currentX,X=A.currentY,J=A.currentTime;u($,A);const G=A.currentX,fe=A.currentY,Me=(A.currentTime=O($))-J;if(Me>0&&Me<100){const be=(fe-X)/Me;A.velocityX=(G-K)/Me*.7+.3*A.velocityX,A.velocityY=.7*be+.3*A.velocityY}A.deltaX=G-A.startX,A.deltaY=fe-A.startY,A.event=$},u=(A,$)=>{let K=0,X=0;if(A){const J=A.changedTouches;if(J&&J.length>0){const G=J[0];K=G.clientX,X=G.clientY}else void 0!==A.pageX&&(K=A.pageX,X=A.pageY)}$.currentX=K,$.currentY=X},O=A=>A.timeStamp||Date.now()},3604:(Ze,z,i)=>{"use strict";i.d(z,{b:()=>_,c:()=>v,d:()=>E,e:()=>Ge,g:()=>_t,l:()=>mt,s:()=>gt,t:()=>G,w:()=>at});var e=i(10467),t=i(9483),l=i(54261),M=i(74929),d=i(84920);const _="ionViewWillLeave",v="ionViewDidLeave",E="ionViewWillUnload",u=Ke=>{Ke.tabIndex=-1,Ke.focus()},O=Ke=>null!==Ke.offsetParent,$="ion-last-focus",J_saveViewFocus=Xe=>{if(t.c.get("focusManagerPriority",!1)){const Bt=document.activeElement;null!==Bt&&Xe?.contains(Bt)&&Bt.setAttribute($,"true")}},J_setViewFocus=Xe=>{const qe=t.c.get("focusManagerPriority",!1);if(Array.isArray(qe)&&!Xe.contains(document.activeElement)){const Bt=Xe.querySelector(`[${$}]`);if(Bt&&O(Bt))return void u(Bt);for(const It of qe)switch(It){case"content":const Nn=Xe.querySelector('main, [role="main"]');if(Nn&&O(Nn))return void u(Nn);break;case"heading":const Hn=Xe.querySelector('h1, [role="heading"][aria-level="1"]');if(Hn&&O(Hn))return void u(Hn);break;case"banner":const xo=Xe.querySelector('header, [role="banner"]');if(xo&&O(xo))return void u(xo);break;default:(0,M.p)(`Unrecognized focus manager priority value ${It}`)}u(Xe)}},G=Ke=>new Promise((Je,Xe)=>{(0,l.w)(()=>{fe(Ke),he(Ke).then(qe=>{qe.animation&&qe.animation.destroy(),Me(Ke),Je(qe)},qe=>{Me(Ke),Xe(qe)})})}),fe=Ke=>{const Je=Ke.enteringEl,Xe=Ke.leavingEl;J_saveViewFocus(Xe),mn(Je,Xe,Ke.direction),Ke.showGoBack?Je.classList.add("can-go-back"):Je.classList.remove("can-go-back"),gt(Je,!1),Je.style.setProperty("pointer-events","none"),Xe&&(gt(Xe,!1),Xe.style.setProperty("pointer-events","none"))},he=function(){var Ke=(0,e.A)(function*(Je){const Xe=yield ke(Je);return Xe&&l.B.isBrowser?be(Xe,Je):Ne(Je)});return function(Xe){return Ke.apply(this,arguments)}}(),Me=Ke=>{const Je=Ke.enteringEl,Xe=Ke.leavingEl;Je.classList.remove("ion-page-invisible"),Je.style.removeProperty("pointer-events"),void 0!==Xe&&(Xe.classList.remove("ion-page-invisible"),Xe.style.removeProperty("pointer-events")),J_setViewFocus(Je)},ke=function(){var Ke=(0,e.A)(function*(Je){return Je.leavingEl&&Je.animated&&0!==Je.duration?Je.animationBuilder?Je.animationBuilder:"ios"===Je.mode?(yield Promise.resolve().then(i.bind(i,5022))).iosTransitionAnimation:(yield Promise.resolve().then(i.bind(i,43615))).mdTransitionAnimation:void 0});return function(Xe){return Ke.apply(this,arguments)}}(),be=function(){var Ke=(0,e.A)(function*(Je,Xe){yield je(Xe,!0);const qe=Je(Xe.baseEl,Xe);Ye(Xe.enteringEl,Xe.leavingEl);const Bt=yield pt(qe,Xe);return Xe.progressCallback&&Xe.progressCallback(void 0),Bt&&St(Xe.enteringEl,Xe.leavingEl),{hasCompleted:Bt,animation:qe}});return function(Xe,qe){return Ke.apply(this,arguments)}}(),Ne=function(){var Ke=(0,e.A)(function*(Je){const Xe=Je.enteringEl,qe=Je.leavingEl,Bt=t.c.get("focusManagerPriority",!1);return yield je(Je,Bt),Ye(Xe,qe),St(Xe,qe),{hasCompleted:!0}});return function(Xe){return Ke.apply(this,arguments)}}(),je=function(){var Ke=(0,e.A)(function*(Je,Xe){(void 0!==Je.deepWait?Je.deepWait:Xe)&&(yield Promise.all([Ge(Je.enteringEl),Ge(Je.leavingEl)])),yield it(Je.viewIsReady,Je.enteringEl)});return function(Xe,qe){return Ke.apply(this,arguments)}}(),it=function(){var Ke=(0,e.A)(function*(Je,Xe){Je&&(yield Je(Xe))});return function(Xe,qe){return Ke.apply(this,arguments)}}(),pt=(Ke,Je)=>{const Xe=Je.progressCallback,qe=new Promise(Bt=>{Ke.onFinish(It=>Bt(1===It))});return Xe?(Ke.progressStart(!0),Xe(Ke)):Ke.play(),qe},Ye=(Ke,Je)=>{mt(Je,_),mt(Ke,"ionViewWillEnter")},St=(Ke,Je)=>{mt(Ke,"ionViewDidEnter"),mt(Je,v)},mt=(Ke,Je)=>{if(Ke){const Xe=new CustomEvent(Je,{bubbles:!1,cancelable:!1});Ke.dispatchEvent(Xe)}},at=()=>new Promise(Ke=>(0,d.r)(()=>(0,d.r)(()=>Ke()))),Ge=function(){var Ke=(0,e.A)(function*(Je){const Xe=Je;if(Xe){if(null!=Xe.componentOnReady){if(null!=(yield Xe.componentOnReady()))return}else if(null!=Xe.__registerHost)return void(yield new Promise(Bt=>(0,d.r)(Bt)));yield Promise.all(Array.from(Xe.children).map(Ge))}});return function(Xe){return Ke.apply(this,arguments)}}(),gt=(Ke,Je)=>{Je?(Ke.setAttribute("aria-hidden","true"),Ke.classList.add("ion-page-hidden")):(Ke.hidden=!1,Ke.removeAttribute("aria-hidden"),Ke.classList.remove("ion-page-hidden"))},mn=(Ke,Je,Xe)=>{void 0!==Ke&&(Ke.style.zIndex="back"===Xe?"99":"101"),void 0!==Je&&(Je.style.zIndex="100")},_t=Ke=>Ke.classList.contains("ion-page")?Ke:Ke.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||Ke},74929:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>t,b:()=>l,p:()=>e});const e=(M,...d)=>console.warn(`[Ionic Warning]: ${M}`,...d),t=(M,...d)=>console.error(`[Ionic Error]: ${M}`,...d),l=(M,...d)=>console.error(`<${M.tagName.toLowerCase()}> must be used inside ${d.join(" or ")}.`)},28476:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>t,w:()=>e});const e=typeof window<"u"?window:void 0,t=typeof document<"u"?document:void 0},49568:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>A});var e=i(10467),t=i(28476),l=i(37192),M=i(74929),d=i(84920),p=i(9483),a=i(19986);const _=$=>(0,a.c)().duration($?400:300),v=$=>{let K,X;const J=$.width+8,G=(0,a.c)(),fe=(0,a.c)();$.isEndSide?(K=J+"px",X="0px"):(K=-J+"px",X="0px"),G.addElement($.menuInnerEl).fromTo("transform",`translateX(${K})`,`translateX(${X})`);const Me="ios"===(0,p.b)($),ke=Me?.2:.25;return fe.addElement($.backdropEl).fromTo("opacity",.01,ke),_(Me).addAnimation([G,fe])},E=$=>{let K,X;const J=(0,p.b)($),G=$.width;$.isEndSide?(K=-G+"px",X=G+"px"):(K=G+"px",X=-G+"px");const fe=(0,a.c)().addElement($.menuInnerEl).fromTo("transform",`translateX(${X})`,"translateX(0px)"),he=(0,a.c)().addElement($.contentEl).fromTo("transform","translateX(0px)",`translateX(${K})`),Me=(0,a.c)().addElement($.backdropEl).fromTo("opacity",.01,.32);return _("ios"===J).addAnimation([fe,he,Me])},u=$=>{const K=(0,p.b)($),X=$.width*($.isEndSide?-1:1)+"px",J=(0,a.c)().addElement($.contentEl).fromTo("transform","translateX(0px)",`translateX(${X})`);return _("ios"===K).addAnimation(J)},A=(()=>{const $=new Map,K=[],X=function(){var Je=(0,e.A)(function*(Xe){const qe=yield be(Xe,!0);return!!qe&&qe.open()});return function(qe){return Je.apply(this,arguments)}}(),J=function(){var Je=(0,e.A)(function*(Xe){const qe=yield void 0!==Xe?be(Xe,!0):Ne();return void 0!==qe&&qe.close()});return function(qe){return Je.apply(this,arguments)}}(),G=function(){var Je=(0,e.A)(function*(Xe){const qe=yield be(Xe,!0);return!!qe&&qe.toggle()});return function(qe){return Je.apply(this,arguments)}}(),fe=function(){var Je=(0,e.A)(function*(Xe,qe){const Bt=yield be(qe);return Bt&&(Bt.disabled=!Xe),Bt});return function(qe,Bt){return Je.apply(this,arguments)}}(),he=function(){var Je=(0,e.A)(function*(Xe,qe){const Bt=yield be(qe);return Bt&&(Bt.swipeGesture=Xe),Bt});return function(qe,Bt){return Je.apply(this,arguments)}}(),Me=function(){var Je=(0,e.A)(function*(Xe){if(null!=Xe){const qe=yield be(Xe);return void 0!==qe&&qe.isOpen()}return void 0!==(yield Ne())});return function(qe){return Je.apply(this,arguments)}}(),ke=function(){var Je=(0,e.A)(function*(Xe){const qe=yield be(Xe);return!!qe&&!qe.disabled});return function(qe){return Je.apply(this,arguments)}}(),be=function(){var Je=(0,e.A)(function*(Xe,qe=!1){if(yield Ke(),"start"===Xe||"end"===Xe){const It=K.filter(Hn=>Hn.side===Xe&&!Hn.disabled);if(It.length>=1)return It.length>1&&qe&&(0,M.p)(`menuController queried for a menu on the "${Xe}" side, but ${It.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.`,It.map(Hn=>Hn.el)),It[0].el;const Nn=K.filter(Hn=>Hn.side===Xe);if(Nn.length>=1)return Nn.length>1&&qe&&(0,M.p)(`menuController queried for a menu on the "${Xe}" side, but ${Nn.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.`,Nn.map(Hn=>Hn.el)),Nn[0].el}else if(null!=Xe)return _t(It=>It.menuId===Xe);return _t(It=>!It.disabled)||(K.length>0?K[0].el:void 0)});return function(qe){return Je.apply(this,arguments)}}(),Ne=function(){var Je=(0,e.A)(function*(){return yield Ke(),Ge()});return function(){return Je.apply(this,arguments)}}(),je=function(){var Je=(0,e.A)(function*(){return yield Ke(),gt()});return function(){return Je.apply(this,arguments)}}(),it=function(){var Je=(0,e.A)(function*(){return yield Ke(),mn()});return function(){return Je.apply(this,arguments)}}(),pt=(Je,Xe)=>{$.set(Je,Xe)},mt=function(){var Je=(0,e.A)(function*(Xe,qe,Bt){if(mn())return!1;if(qe){const It=yield Ne();It&&Xe.el!==It&&(yield It.setOpen(!1,!1))}return Xe._setOpen(qe,Bt)});return function(qe,Bt,It){return Je.apply(this,arguments)}}(),Ge=()=>_t(Je=>Je._isOpen),gt=()=>K.map(Je=>Je.el),mn=()=>K.some(Je=>Je.isAnimating),_t=Je=>{const Xe=K.find(Je);if(void 0!==Xe)return Xe.el},Ke=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(Je=>new Promise(Xe=>(0,d.c)(Je,Xe))));return pt("reveal",u),pt("push",E),pt("overlay",v),null==t.d||t.d.addEventListener("ionBackButton",Je=>{const Xe=Ge();Xe&&Je.detail.register(l.MENU_BACK_BUTTON_PRIORITY,()=>Xe.close())}),{registerAnimation:pt,get:be,getMenus:je,getOpen:Ne,isEnabled:ke,swipeGesture:he,isAnimating:it,isOpen:Me,enable:fe,toggle:G,close:J,open:X,_getOpenSync:Ge,_createAnimation:(Je,Xe)=>{const qe=$.get(Je);if(!qe)throw new Error("animation not registered");return qe(Xe)},_register:Je=>{K.indexOf(Je)<0&&K.push(Je)},_unregister:Je=>{const Xe=K.indexOf(Je);Xe>-1&&K.splice(Xe,1)},_setOpen:mt}})()},90617:(Ze,z,i)=>{"use strict";i.d(z,{K6:()=>a.c}),i(19986),i(3604),i(5022),i(43615),i(28607),i(9483);var a=i(84920);i(49568),i(99440),i(28476),i(54261),i(11970),i(37192)},9483:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>u,b:()=>gt,c:()=>l});var e=i(54261);class t{constructor(){this.m=new Map}reset(Ke){this.m=new Map(Object.entries(Ke))}get(Ke,Je){const Xe=this.m.get(Ke);return void 0!==Xe?Xe:Je}getBoolean(Ke,Je=!1){const Xe=this.m.get(Ke);return void 0===Xe?Je:"string"==typeof Xe?"true"===Xe:!!Xe}getNumber(Ke,Je){const Xe=parseFloat(this.m.get(Ke));return isNaN(Xe)?void 0!==Je?Je:NaN:Xe}set(Ke,Je){this.m.set(Ke,Je)}}const l=new t,u=(_t,Ke)=>("string"==typeof _t&&(Ke=_t,_t=void 0),(_t=>O(_t))(_t).includes(Ke)),O=(_t=window)=>{if(typeof _t>"u")return[];_t.Ionic=_t.Ionic||{};let Ke=_t.Ionic.platforms;return null==Ke&&(Ke=_t.Ionic.platforms=A(_t),Ke.forEach(Je=>_t.document.documentElement.classList.add(`plt-${Je}`))),Ke},A=_t=>{const Ke=l.get("platform");return Object.keys(at).filter(Je=>{const Xe=Ke?.[Je];return"function"==typeof Xe?Xe(_t):at[Je](_t)})},K=_t=>!!(St(_t,/iPad/i)||St(_t,/Macintosh/i)&&ke(_t)),G=_t=>St(_t,/android|sink/i),ke=_t=>mt(_t,"(any-pointer:coarse)"),Ne=_t=>je(_t)||it(_t),je=_t=>!!(_t.cordova||_t.phonegap||_t.PhoneGap),it=_t=>{const Ke=_t.Capacitor;return!!Ke?.isNative},St=(_t,Ke)=>Ke.test(_t.navigator.userAgent),mt=(_t,Ke)=>{var Je;return null===(Je=_t.matchMedia)||void 0===Je?void 0:Je.call(_t,Ke).matches},at={ipad:K,iphone:_t=>St(_t,/iPhone/i),ios:_t=>St(_t,/iPhone|iPod/i)||K(_t),android:G,phablet:_t=>{const Ke=_t.innerWidth,Je=_t.innerHeight,Xe=Math.min(Ke,Je),qe=Math.max(Ke,Je);return Xe>390&&Xe<520&&qe>620&&qe<800},tablet:_t=>{const Ke=_t.innerWidth,Je=_t.innerHeight,Xe=Math.min(Ke,Je),qe=Math.max(Ke,Je);return K(_t)||(_t=>G(_t)&&!St(_t,/mobile/i))(_t)||Xe>460&&Xe<820&&qe>780&&qe<1400},cordova:je,capacitor:it,electron:_t=>St(_t,/electron/i),pwa:_t=>{var Ke;return!!(null!==(Ke=_t.matchMedia)&&void 0!==Ke&&Ke.call(_t,"(display-mode: standalone)").matches||_t.navigator.standalone)},mobile:ke,mobileweb:_t=>ke(_t)&&!Ne(_t),desktop:_t=>!ke(_t),hybrid:Ne};const gt=_t=>_t&&(0,e.g)(_t)||undefined},5022:(Ze,z,i)=>{"use strict";i.r(z),i.d(z,{iosTransitionAnimation:()=>$,shadow:()=>_});var e=i(19986),t=i(3604);i(28476),i(9483),i(54261);const a=X=>document.querySelector(`${X}.ion-cloned-element`),_=X=>X.shadowRoot||X,v=X=>{const J="ION-TABS"===X.tagName?X:X.querySelector("ion-tabs"),G="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=J){const fe=J.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=fe?fe.querySelector(G):null}return X.querySelector(G)},E=(X,J)=>{const G="ION-TABS"===X.tagName?X:X.querySelector("ion-tabs");let fe=[];if(null!=G){const he=G.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=he&&(fe=he.querySelectorAll("ion-buttons"))}else fe=X.querySelectorAll("ion-buttons");for(const he of fe){const Me=he.closest("ion-header"),ke=Me&&!Me.classList.contains("header-collapse-condense-inactive"),be=he.querySelector("ion-back-button"),Ne=he.classList.contains("buttons-collapse");if(null!==be&&("start"===he.slot||""===he.slot)&&(Ne&&ke&&J||!Ne))return be}return null},O=(X,J,G,fe,he,Me,ke,be,Ne)=>{var je,it;const pt=J?`calc(100% - ${he.right+4}px)`:he.left-4+"px",Ye=J?"right":"left",St=J?"left":"right",mt=J?"right":"left";let at=1,Ge=1,gt=`scale(${Ge})`;const mn="scale(1)";if(Me&&ke){const gn=(null===(je=Me.textContent)||void 0===je?void 0:je.trim())===(null===(it=be.textContent)||void 0===it?void 0:it.trim());at=Ne.width/ke.width,Ge=(Ne.height-K)/ke.height,gt=gn?`scale(${at}, ${Ge})`:`scale(${Ge})`}const Ke=_(fe).querySelector("ion-icon").getBoundingClientRect(),Je=J?Ke.width/2-(Ke.right-he.right)+"px":he.left-Ke.width/2+"px",Xe=J?`-${window.innerWidth-he.right}px`:`${he.left}px`,qe=`${Ne.top}px`,Bt=`${he.top}px`,Hn=G?[{offset:0,transform:`translate3d(${Xe}, ${Bt}, 0)`},{offset:1,transform:`translate3d(${Je}, ${qe}, 0)`}]:[{offset:0,transform:`translate3d(${Je}, ${qe}, 0)`},{offset:1,transform:`translate3d(${Xe}, ${Bt}, 0)`}],xt=G?[{offset:0,opacity:1,transform:mn},{offset:1,opacity:0,transform:gt}]:[{offset:0,opacity:0,transform:gt},{offset:1,opacity:1,transform:mn}],Xt=G?[{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)"}],ln=(0,e.c)(),tn=(0,e.c)(),En=(0,e.c)(),Un=a("ion-back-button"),Tn=_(Un).querySelector(".button-text"),dn=_(Un).querySelector("ion-icon");Un.text=fe.text,Un.mode=fe.mode,Un.icon=fe.icon,Un.color=fe.color,Un.disabled=fe.disabled,Un.style.setProperty("display","block"),Un.style.setProperty("position","fixed"),tn.addElement(dn),ln.addElement(Tn),En.addElement(Un),En.beforeStyles({position:"absolute",top:"0px",[mt]:"0px"}).beforeAddWrite(()=>{fe.style.setProperty("display","none"),Un.style.setProperty(Ye,pt)}).afterAddWrite(()=>{fe.style.setProperty("display",""),Un.style.setProperty("display","none"),Un.style.removeProperty(Ye)}).keyframes(Hn),ln.beforeStyles({"transform-origin":`${Ye} top`}).keyframes(xt),tn.beforeStyles({"transform-origin":`${St} center`}).keyframes(Xt),X.addAnimation([ln,tn,En])},A=(X,J,G,fe,he,Me,ke,be,Ne)=>{var je,it;const pt=J?"right":"left",Ye=J?`calc(100% - ${he.right}px)`:`${he.left}px`,mt=`${he.top}px`;let Ge=J?`-${window.innerWidth-ke.right-8}px`:`${ke.x+8}px`,gt=.5;const mn="scale(1)";let _t=`scale(${gt})`;if(be&&Ne){Ge=J?`-${window.innerWidth-Ne.right-8}px`:Ne.x-8+"px";const xo=(null===(je=be.textContent)||void 0===je?void 0:je.trim())===(null===(it=fe.textContent)||void 0===it?void 0:it.trim());gt=Ne.height/(Me.height-K),_t=xo?`scale(${Ne.width/Me.width}, ${gt})`:`scale(${gt})`}const Xe=ke.top+ke.height/2-he.height*gt/2+"px",It=G?[{offset:0,opacity:0,transform:`translate3d(${Ge}, ${Xe}, 0) ${_t}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${mt}, 0) ${mn}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${mt}, 0) ${mn}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${Ge}, ${Xe}, 0) ${_t}`}],Nn=a("ion-title"),Hn=(0,e.c)();Nn.innerText=fe.innerText,Nn.size=fe.size,Nn.color=fe.color,Hn.addElement(Nn),Hn.beforeStyles({"transform-origin":`${pt} top`,height:`${he.height}px`,display:"",position:"relative",[pt]:Ye}).beforeAddWrite(()=>{fe.style.setProperty("opacity","0")}).afterAddWrite(()=>{fe.style.setProperty("opacity",""),Nn.style.setProperty("display","none")}).keyframes(It),X.addAnimation(Hn)},$=(X,J)=>{var G;try{const fe="cubic-bezier(0.32,0.72,0,1)",he="opacity",Me="transform",ke="0%",Ne="rtl"===X.ownerDocument.dir,je=Ne?"-99.5%":"99.5%",it=Ne?"33%":"-33%",pt=J.enteringEl,Ye=J.leavingEl,St="back"===J.direction,mt=pt.querySelector(":scope > ion-content"),at=pt.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),Ge=pt.querySelectorAll(":scope > ion-header > ion-toolbar"),gt=(0,e.c)(),mn=(0,e.c)();if(gt.addElement(pt).duration((null!==(G=J.duration)&&void 0!==G?G:0)||540).easing(J.easing||fe).fill("both").beforeRemoveClass("ion-page-invisible"),Ye&&null!=X){const Xe=(0,e.c)();Xe.addElement(X),gt.addAnimation(Xe)}if(mt||0!==Ge.length||0!==at.length?(mn.addElement(mt),mn.addElement(at)):mn.addElement(pt.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),gt.addAnimation(mn),St?mn.beforeClearStyles([he]).fromTo("transform",`translateX(${it})`,`translateX(${ke})`).fromTo(he,.8,1):mn.beforeClearStyles([he]).fromTo("transform",`translateX(${je})`,`translateX(${ke})`),mt){const Xe=_(mt).querySelector(".transition-effect");if(Xe){const qe=Xe.querySelector(".transition-cover"),Bt=Xe.querySelector(".transition-shadow"),It=(0,e.c)(),Nn=(0,e.c)(),Hn=(0,e.c)();It.addElement(Xe).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Nn.addElement(qe).beforeClearStyles([he]).fromTo(he,0,.1),Hn.addElement(Bt).beforeClearStyles([he]).fromTo(he,.03,.7),It.addAnimation([Nn,Hn]),mn.addAnimation([It])}}const _t=pt.querySelector("ion-header.header-collapse-condense"),{forward:Ke,backward:Je}=((X,J,G,fe,he)=>{const Me=E(fe,G),ke=v(he),be=v(fe),Ne=E(he,G),je=null!==Me&&null!==ke&&!G,it=null!==be&&null!==Ne&&G;if(je){const pt=ke.getBoundingClientRect(),Ye=Me.getBoundingClientRect(),St=_(Me).querySelector(".button-text"),mt=St?.getBoundingClientRect(),Ge=_(ke).querySelector(".toolbar-title").getBoundingClientRect();A(X,J,G,ke,pt,Ge,Ye,St,mt),O(X,J,G,Me,Ye,St,mt,ke,Ge)}else if(it){const pt=be.getBoundingClientRect(),Ye=Ne.getBoundingClientRect(),St=_(Ne).querySelector(".button-text"),mt=St?.getBoundingClientRect(),Ge=_(be).querySelector(".toolbar-title").getBoundingClientRect();A(X,J,G,be,pt,Ge,Ye,St,mt),O(X,J,G,Ne,Ye,St,mt,be,Ge)}return{forward:je,backward:it}})(gt,Ne,St,pt,Ye);if(Ge.forEach(Xe=>{const qe=(0,e.c)();qe.addElement(Xe),gt.addAnimation(qe);const Bt=(0,e.c)();Bt.addElement(Xe.querySelector("ion-title"));const It=(0,e.c)(),Nn=Array.from(Xe.querySelectorAll("ion-buttons,[menuToggle]")),Hn=Xe.closest("ion-header"),xo=Hn?.classList.contains("header-collapse-condense-inactive");let Kn;Kn=Nn.filter(St?ln=>{const tn=ln.classList.contains("buttons-collapse");return tn&&!xo||!tn}:ln=>!ln.classList.contains("buttons-collapse")),It.addElement(Kn);const xt=(0,e.c)();xt.addElement(Xe.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const Ht=(0,e.c)();Ht.addElement(_(Xe).querySelector(".toolbar-background"));const $t=(0,e.c)(),Xt=Xe.querySelector("ion-back-button");if(Xt&&$t.addElement(Xt),qe.addAnimation([Bt,It,xt,Ht,$t]),It.fromTo(he,.01,1),xt.fromTo(he,.01,1),St)xo||Bt.fromTo("transform",`translateX(${it})`,`translateX(${ke})`).fromTo(he,.01,1),xt.fromTo("transform",`translateX(${it})`,`translateX(${ke})`),$t.fromTo(he,.01,1);else if(_t||Bt.fromTo("transform",`translateX(${je})`,`translateX(${ke})`).fromTo(he,.01,1),xt.fromTo("transform",`translateX(${je})`,`translateX(${ke})`),Ht.beforeClearStyles([he,"transform"]),Hn?.translucent?Ht.fromTo("transform",Ne?"translateX(-100%)":"translateX(100%)","translateX(0px)"):Ht.fromTo(he,.01,"var(--opacity)"),Ke||$t.fromTo(he,.01,1),Xt&&!Ke){const tn=(0,e.c)();tn.addElement(_(Xt).querySelector(".button-text")).fromTo("transform",Ne?"translateX(-100px)":"translateX(100px)","translateX(0px)"),qe.addAnimation(tn)}}),Ye){const Xe=(0,e.c)(),qe=Ye.querySelector(":scope > ion-content"),Bt=Ye.querySelectorAll(":scope > ion-header > ion-toolbar"),It=Ye.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(qe||0!==Bt.length||0!==It.length?(Xe.addElement(qe),Xe.addElement(It)):Xe.addElement(Ye.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),gt.addAnimation(Xe),St){Xe.beforeClearStyles([he]).fromTo("transform",`translateX(${ke})`,Ne?"translateX(-100%)":"translateX(100%)");const Nn=(0,t.g)(Ye);gt.afterAddWrite(()=>{"normal"===gt.getDirection()&&Nn.style.setProperty("display","none")})}else Xe.fromTo("transform",`translateX(${ke})`,`translateX(${it})`).fromTo(he,1,.8);if(qe){const Nn=_(qe).querySelector(".transition-effect");if(Nn){const Hn=Nn.querySelector(".transition-cover"),xo=Nn.querySelector(".transition-shadow"),Kn=(0,e.c)(),xt=(0,e.c)(),Ht=(0,e.c)();Kn.addElement(Nn).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),xt.addElement(Hn).beforeClearStyles([he]).fromTo(he,.1,0),Ht.addElement(xo).beforeClearStyles([he]).fromTo(he,.7,.03),Kn.addAnimation([xt,Ht]),Xe.addAnimation([Kn])}}Bt.forEach(Nn=>{const Hn=(0,e.c)();Hn.addElement(Nn);const xo=(0,e.c)();xo.addElement(Nn.querySelector("ion-title"));const Kn=(0,e.c)(),xt=Nn.querySelectorAll("ion-buttons,[menuToggle]"),Ht=Nn.closest("ion-header"),$t=Ht?.classList.contains("header-collapse-condense-inactive"),Xt=Array.from(xt).filter(dn=>{const gn=dn.classList.contains("buttons-collapse");return gn&&!$t||!gn});Kn.addElement(Xt);const ln=(0,e.c)(),tn=Nn.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");tn.length>0&&ln.addElement(tn);const En=(0,e.c)();En.addElement(_(Nn).querySelector(".toolbar-background"));const Un=(0,e.c)(),Tn=Nn.querySelector("ion-back-button");if(Tn&&Un.addElement(Tn),Hn.addAnimation([xo,Kn,ln,Un,En]),gt.addAnimation(Hn),Un.fromTo(he,.99,0),Kn.fromTo(he,.99,0),ln.fromTo(he,.99,0),St){if($t||xo.fromTo("transform",`translateX(${ke})`,Ne?"translateX(-100%)":"translateX(100%)").fromTo(he,.99,0),ln.fromTo("transform",`translateX(${ke})`,Ne?"translateX(-100%)":"translateX(100%)"),En.beforeClearStyles([he,"transform"]),Ht?.translucent?En.fromTo("transform","translateX(0px)",Ne?"translateX(-100%)":"translateX(100%)"):En.fromTo(he,"var(--opacity)",0),Tn&&!Je){const gn=(0,e.c)();gn.addElement(_(Tn).querySelector(".button-text")).fromTo("transform",`translateX(${ke})`,`translateX(${(Ne?-124:124)+"px"})`),Hn.addAnimation(gn)}}else $t||xo.fromTo("transform",`translateX(${ke})`,`translateX(${it})`).fromTo(he,.99,0).afterClearStyles([Me,he]),ln.fromTo("transform",`translateX(${ke})`,`translateX(${it})`).afterClearStyles([Me,he]),Un.afterClearStyles([he]),xo.afterClearStyles([he]),Kn.afterClearStyles([he])})}return gt}catch(fe){throw fe}},K=10},43615:(Ze,z,i)=>{"use strict";i.r(z),i.d(z,{mdTransitionAnimation:()=>p});var e=i(19986),t=i(3604);i(28476),i(9483),i(54261);const p=(a,_)=>{var v,E,u;const O="40px",$="back"===_.direction,X=_.leavingEl,J=(0,t.g)(_.enteringEl),G=J.querySelector("ion-toolbar"),fe=(0,e.c)();if(fe.addElement(J).fill("both").beforeRemoveClass("ion-page-invisible"),$?fe.duration((null!==(v=_.duration)&&void 0!==v?v:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):fe.duration((null!==(E=_.duration)&&void 0!==E?E:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${O})`,"translateY(0px)").fromTo("opacity",.01,1),G){const he=(0,e.c)();he.addElement(G),fe.addAnimation(he)}if(X&&$){fe.duration((null!==(u=_.duration)&&void 0!==u?u:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const he=(0,e.c)();he.addElement((0,t.g)(X)).onFinish(Me=>{1===Me&&he.elements.length>0&&he.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${O})`).fromTo("opacity",1,0),fe.addAnimation(he)}return fe}},99440:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>xt,F:()=>Un,G:()=>Ht,O:()=>$t,a:()=>J,b:()=>G,c:()=>ke,d:()=>Xt,e:()=>ln,f:()=>Ke,g:()=>Xe,h:()=>It,i:()=>Hn,j:()=>Ne,k:()=>je,n:()=>E,o:()=>mn,q:()=>u,s:()=>Kn});var e=i(10467),t=i(28476),l=i(84920),M=i(37192),d=i(9483),p=i(58621),a=i(11970),_=i(74929);const v='[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])',E=(Tn,dn)=>{const gn=Tn.querySelector(v);O(gn,dn??Tn)},u=(Tn,dn)=>{const gn=Array.from(Tn.querySelectorAll(v));O(gn.length>0?gn[gn.length-1]:null,dn??Tn)},O=(Tn,dn)=>{let gn=Tn;const Vt=Tn?.shadowRoot;Vt&&(gn=Vt.querySelector(v)||Tn),gn?(0,l.f)(gn):dn.focus()};let A=0,$=0;const K=new WeakMap,X=Tn=>({create:dn=>it(Tn,dn),dismiss:(dn,gn,Vt)=>at(document,dn,gn,Tn,Vt),getTop:()=>(0,e.A)(function*(){return mn(document,Tn)})()}),J=X("ion-alert"),G=X("ion-action-sheet"),ke=X("ion-popover"),Ne=Tn=>{typeof document<"u"&&mt(document);const dn=A++;Tn.overlayIndex=dn},je=Tn=>(Tn.hasAttribute("id")||(Tn.id="ion-overlay-"+ ++$),Tn.id),it=(Tn,dn)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Tn).then(()=>{const gn=document.createElement(Tn);return gn.classList.add("overlay-hidden"),Object.assign(gn,Object.assign(Object.assign({},dn),{hasController:!0})),qe(document).appendChild(gn),new Promise(Vt=>(0,l.c)(gn,Vt))}):Promise.resolve(),Ye=(Tn,dn)=>{let gn=Tn;const Vt=Tn?.shadowRoot;Vt&&(gn=Vt.querySelector(v)||Tn),gn?(0,l.f)(gn):dn.focus()},mt=Tn=>{0===A&&(A=1,Tn.addEventListener("focus",dn=>{((Tn,dn)=>{const gn=mn(dn,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),Vt=Tn.target;gn&&Vt&&!gn.classList.contains(Un)&&(gn.shadowRoot?(()=>{if(gn.contains(Vt))gn.lastFocus=Vt;else if("ION-TOAST"===Vt.tagName)Ye(gn.lastFocus,gn);else{const Lt=gn.lastFocus;E(gn),Lt===dn.activeElement&&u(gn),gn.lastFocus=dn.activeElement}})():(()=>{if(gn===Vt)gn.lastFocus=void 0;else if("ION-TOAST"===Vt.tagName)Ye(gn.lastFocus,gn);else{const Lt=(0,l.g)(gn);if(!Lt.contains(Vt))return;const yn=Lt.querySelector(".ion-overlay-wrapper");if(!yn)return;if(yn.contains(Vt)||Vt===Lt.querySelector("ion-backdrop"))gn.lastFocus=Vt;else{const Mn=gn.lastFocus;E(yn,gn),Mn===dn.activeElement&&u(yn,gn),gn.lastFocus=dn.activeElement}}})())})(dn,Tn)},!0),Tn.addEventListener("ionBackButton",dn=>{const gn=mn(Tn);gn?.backdropDismiss&&dn.detail.register(M.OVERLAY_BACK_BUTTON_PRIORITY,()=>{gn.dismiss(void 0,xt)})}),(0,M.shouldUseCloseWatcher)()||Tn.addEventListener("keydown",dn=>{if("Escape"===dn.key){const gn=mn(Tn);gn?.backdropDismiss&&gn.dismiss(void 0,xt)}}))},at=(Tn,dn,gn,Vt,Gt)=>{const Ln=mn(Tn,Vt,Gt);return Ln?Ln.dismiss(dn,gn):Promise.reject("overlay does not exist")},gt=(Tn,dn)=>((Tn,dn)=>(void 0===dn&&(dn="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(Tn.querySelectorAll(dn)).filter(gn=>gn.overlayIndex>0)))(Tn,dn).filter(gn=>!(Tn=>Tn.classList.contains("overlay-hidden"))(gn)),mn=(Tn,dn,gn)=>{const Vt=gt(Tn,dn);return void 0===gn?Vt[Vt.length-1]:Vt.find(Gt=>Gt.id===gn)},_t=(Tn=!1)=>{const gn=qe(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");gn&&(Tn?gn.setAttribute("aria-hidden","true"):gn.removeAttribute("aria-hidden"))},Ke=function(){var Tn=(0,e.A)(function*(dn,gn,Vt,Gt,Ln){var Lt,yn;if(dn.presented)return;_t(!0),document.body.classList.add(a.B),tn(dn.el),dn.presented=!0,dn.willPresent.emit(),null===(Lt=dn.willPresentShorthand)||void 0===Lt||Lt.emit();const Mn=(0,d.b)(dn),bn=dn.enterAnimation?dn.enterAnimation:d.c.get(gn,"ios"===Mn?Vt:Gt);(yield Bt(dn,bn,dn.el,Ln))&&(dn.didPresent.emit(),null===(yn=dn.didPresentShorthand)||void 0===yn||yn.emit()),"ION-TOAST"!==dn.el.tagName&&Je(dn.el),dn.keyboardClose&&(null===document.activeElement||!dn.el.contains(document.activeElement))&&dn.el.focus(),dn.el.removeAttribute("aria-hidden")});return function(gn,Vt,Gt,Ln,Lt){return Tn.apply(this,arguments)}}(),Je=function(){var Tn=(0,e.A)(function*(dn){let gn=document.activeElement;if(!gn)return;const Vt=gn?.shadowRoot;Vt&&(gn=Vt.querySelector(v)||gn),yield dn.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&gn.focus()});return function(gn){return Tn.apply(this,arguments)}}(),Xe=function(){var Tn=(0,e.A)(function*(dn,gn,Vt,Gt,Ln,Lt,yn){var Mn,bn;if(!dn.presented)return!1;void 0!==t.d&&1===gt(t.d).length&&(_t(!1),document.body.classList.remove(a.B)),dn.presented=!1;try{dn.el.style.setProperty("pointer-events","none"),dn.willDismiss.emit({data:gn,role:Vt}),null===(Mn=dn.willDismissShorthand)||void 0===Mn||Mn.emit({data:gn,role:Vt});const yo=(0,d.b)(dn),oo=dn.leaveAnimation?dn.leaveAnimation:d.c.get(Gt,"ios"===yo?Ln:Lt);Vt!==Ht&&(yield Bt(dn,oo,dn.el,yn)),dn.didDismiss.emit({data:gn,role:Vt}),null===(bn=dn.didDismissShorthand)||void 0===bn||bn.emit({data:gn,role:Vt}),(K.get(dn)||[]).forEach(ci=>ci.destroy()),K.delete(dn),dn.el.classList.add("overlay-hidden"),dn.el.style.removeProperty("pointer-events"),void 0!==dn.el.lastFocus&&(dn.el.lastFocus=void 0)}catch(yo){console.error(yo)}return dn.el.remove(),En(),!0});return function(gn,Vt,Gt,Ln,Lt,yn,Mn){return Tn.apply(this,arguments)}}(),qe=Tn=>Tn.querySelector("ion-app")||Tn.body,Bt=function(){var Tn=(0,e.A)(function*(dn,gn,Vt,Gt){Vt.classList.remove("overlay-hidden");const Lt=gn(dn.el,Gt);(!dn.animated||!d.c.getBoolean("animated",!0))&&Lt.duration(0),dn.keyboardClose&&Lt.beforeAddWrite(()=>{const Mn=Vt.ownerDocument.activeElement;Mn?.matches("input,ion-input, ion-textarea")&&Mn.blur()});const yn=K.get(dn)||[];return K.set(dn,[...yn,Lt]),yield Lt.play(),!0});return function(gn,Vt,Gt,Ln){return Tn.apply(this,arguments)}}(),It=(Tn,dn)=>{let gn;const Vt=new Promise(Gt=>gn=Gt);return Nn(Tn,dn,Gt=>{gn(Gt.detail)}),Vt},Nn=(Tn,dn,gn)=>{const Vt=Gt=>{(0,l.b)(Tn,dn,Vt),gn(Gt)};(0,l.a)(Tn,dn,Vt)},Hn=Tn=>"cancel"===Tn||Tn===xt,xo=Tn=>Tn(),Kn=(Tn,dn)=>{if("function"==typeof Tn)return d.c.get("_zoneGate",xo)(()=>{try{return Tn(dn)}catch(Vt){throw Vt}})},xt="backdrop",Ht="gesture",$t=39,Xt=Tn=>{let gn,dn=!1;const Vt=(0,p.C)(),Gt=(yn=!1)=>{if(gn&&!yn)return{delegate:gn,inline:dn};const{el:Mn,hasController:bn,delegate:Bn}=Tn;return dn=null!==Mn.parentNode&&!bn,gn=dn?Bn||Vt:Bn,{inline:dn,delegate:gn}};return{attachViewToDom:function(){var yn=(0,e.A)(function*(Mn){const{delegate:bn}=Gt(!0);if(bn)return yield bn.attachViewToDom(Tn.el,Mn);const{hasController:Bn}=Tn;if(Bn&&void 0!==Mn)throw new Error("framework delegate is missing");return null});return function(bn){return yn.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:yn}=Gt();yn&&void 0!==Tn.el&&yn.removeViewFromDom(Tn.el.parentElement,Tn.el)}}},ln=()=>{let Tn;const dn=()=>{Tn&&(Tn(),Tn=void 0)};return{addClickListener:(Vt,Gt)=>{dn();const Ln=void 0!==Gt?document.getElementById(Gt):null;Ln?Tn=((yn,Mn)=>{const bn=()=>{Mn.present()};return yn.addEventListener("click",bn),()=>{yn.removeEventListener("click",bn)}})(Ln,Vt):(0,_.p)(`A trigger element with the ID "${Gt}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Vt)},removeClickListener:dn}},tn=Tn=>{var dn;if(void 0===t.d)return;const gn=gt(t.d);for(let Vt=gn.length-1;Vt>=0;Vt--){const Gt=gn[Vt],Ln=null!==(dn=gn[Vt+1])&&void 0!==dn?dn:Tn;(Ln.hasAttribute("aria-hidden")||"ION-TOAST"!==Ln.tagName)&&Gt.setAttribute("aria-hidden","true")}},En=()=>{if(void 0===t.d)return;const Tn=gt(t.d);for(let dn=Tn.length-1;dn>=0;dn--){const gn=Tn[dn];if(gn.removeAttribute("aria-hidden"),"ION-TOAST"!==gn.tagName)break}},Un="ion-disable-focus-trap"},34894:(Ze,z,i)=>{"use strict";i.d(z,{L:()=>E});var e=i(60881),t=i(54438),l=i(98990),M=i(82470),d=i(81365),p=i(29756);function a(u,O){if(1&u&&(t.j41(0,"kirby-item")(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"p",4),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",5)(7,"data",6),t.EFF(8),t.k0s(),t.j41(9,"data",7),t.EFF(10),t.k0s()()()),2&u){const A=O.$implicit;t.R7$(3),t.JRh(A.title),t.R7$(2),t.JRh(A.subTitle),t.R7$(2),t.Y8G("value",A.amount),t.R7$(),t.JRh(A.amount),t.R7$(),t.Y8G("value",A.detail),t.R7$(),t.JRh(A.detail)}}function _(u,O){if(1&u&&(t.j41(0,"kirby-item")(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"p",4),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",5)(7,"data",6),t.EFF(8),t.k0s(),t.j41(9,"data",7),t.EFF(10),t.k0s()()()),2&u){const A=O.$implicit;t.R7$(3),t.JRh(A.title),t.R7$(2),t.JRh(A.subTitle),t.R7$(2),t.Y8G("value",A.amount),t.R7$(),t.JRh(A.amount),t.R7$(),t.Y8G("value",A.detail),t.R7$(),t.JRh(A.detail)}}const v_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 E=(()=>{var u;class O extends e.p{constructor(){super(...arguments),this.template=v_template}}return(u=O).\u0275fac=(()=>{let A;return function(K){return(A||(A=t.xGo(u)))(K||u)}})(),u.\u0275cmp=t.VBU({type:u,selectors:[["cookbook-accordion-with-list-in-card-example"]],features:[t.Vt3],decls:8,vars:3,consts:[["title","Transactions",3,"isExpanded"],[3,"items"],[4,"kirbyListItemTemplate"],["title","More Transactions"],["subtitle",""],["slot","end"],[3,"value"],["detail","",3,"value"]],template:function($,K){1&$&&(t.j41(0,"kirby-card")(1,"kirby-accordion")(2,"kirby-accordion-item",0)(3,"kirby-list",1),t.DNE(4,a,11,6,"kirby-item",2),t.k0s()(),t.j41(5,"kirby-accordion-item",3)(6,"kirby-list",1),t.DNE(7,_,11,6,"kirby-item",2),t.k0s()()()()),2&$&&(t.R7$(2),t.Y8G("isExpanded",!0),t.R7$(),t.Y8G("items",K.itemsFullList.slice(0,4)),t.R7$(3),t.Y8G("items",K.itemsFullList.slice(4,7)))},dependencies:[l.ib,M.aF,M.fv,d.JA,d.UF,p.sB,p.bx],encapsulation:2}),O})()},24649:(Ze,z,i)=>{"use strict";i.d(z,{W:()=>d});var e=i(54438),t=i(98990),l=i(82470);const M_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 d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"kirby-card")(1,"kirby-accordion")(2,"kirby-accordion-item",0),e.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. "),e.k0s(),e.j41(4,"kirby-accordion-item",1),e.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. "),e.k0s(),e.j41(6,"kirby-accordion-item",2),e.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. "),e.k0s(),e.j41(8,"kirby-accordion-item",3),e.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. "),e.k0s()()())},dependencies:[t.ib,l.aF,l.fv],encapsulation:2}),a})()},32534:(Ze,z,i)=>{"use strict";i.d(z,{n:()=>M});var e=i(54438),t=i(82470);const l_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 M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-accordion")(1,"kirby-accordion-item",0),e.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. "),e.k0s(),e.j41(3,"kirby-accordion-item",1),e.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. "),e.k0s(),e.j41(5,"kirby-accordion-item",2),e.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. "),e.k0s(),e.j41(7,"kirby-accordion-item",3),e.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. "),e.k0s()())},dependencies:[t.aF,t.fv],encapsulation:2}),p})()},47790:(Ze,z,i)=>{"use strict";i.d(z,{n:()=>d});var e=i(54438),t=i(57017),l=i(82470);const M_template='\n \n Click item to see "toggle" event in action\n \n \n Click item to see "toggle" event in action\n \n',M_codeSnippet="onToggleChange(isOpen: boolean, item: string) {\n ...\n}";let d=(()=>{var p;class a{constructor(v){this.toastController=v,this.template=M_template,this.codeSnippet=M_codeSnippet}onToggleChange(v,E){this.toastController.showToast({message:`Accordion ${E} toggled - is open: ${v}`,messageType:v?"success":"warning",durationInMs:1500})}}return(p=a).\u0275fac=function(v){return new(v||p)(e.rXU(t.K))},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"kirby-accordion")(1,"kirby-accordion-item",0),e.bIt("toggle",function(O){return E.onToggleChange(O,"item 1")}),e.EFF(2,' Click item to see "toggle" event in action '),e.k0s(),e.j41(3,"kirby-accordion-item",1),e.bIt("toggle",function(O){return E.onToggleChange(O,"item 2")}),e.EFF(4,' Click item to see "toggle" event in action '),e.k0s()()),2&v&&(e.R7$(),e.Y8G("isExpanded",!0))},dependencies:[l.aF,l.fv],encapsulation:2}),a})()},12494:(Ze,z,i)=>{"use strict";i.d(z,{j:()=>M});var e=i(54438),t=i(82470);const l_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 M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-accordion")(1,"kirby-accordion-item",0),e.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. "),e.k0s(),e.j41(3,"kirby-accordion-item",1),e.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. "),e.k0s()()),2&_&&(e.R7$(),e.Y8G("isExpanded",!0))},dependencies:[t.aF,t.fv],encapsulation:2}),p})()},231:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>v});var e=i(60881),t=i(54438),l=i(82470),M=i(81365),d=i(29756);function p(E,u){if(1&E&&(t.j41(0,"kirby-item")(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"p",4),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",5)(7,"data",6),t.EFF(8),t.k0s(),t.j41(9,"data",7),t.EFF(10),t.k0s()()()),2&E){const O=u.$implicit;t.R7$(3),t.JRh(O.title),t.R7$(2),t.JRh(O.subTitle),t.R7$(2),t.Y8G("value",O.amount),t.R7$(),t.JRh(O.amount),t.R7$(),t.Y8G("value",O.detail),t.R7$(),t.JRh(O.detail)}}function a(E,u){if(1&E&&(t.j41(0,"kirby-item")(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"p",4),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",5)(7,"data",6),t.EFF(8),t.k0s(),t.j41(9,"data",7),t.EFF(10),t.k0s()()()),2&E){const O=u.$implicit;t.R7$(3),t.JRh(O.title),t.R7$(2),t.JRh(O.subTitle),t.R7$(2),t.Y8G("value",O.amount),t.R7$(),t.JRh(O.amount),t.R7$(),t.Y8G("value",O.detail),t.R7$(),t.JRh(O.detail)}}const __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 v=(()=>{var E;class u extends e.p{constructor(){super(...arguments),this.template=__template}}return(E=u).\u0275fac=(()=>{let O;return function($){return(O||(O=t.xGo(E)))($||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["cookbook-accordion-with-list-example"]],features:[t.Vt3],decls:7,vars:3,consts:[["title","Transactions",3,"isExpanded"],[3,"items"],[4,"kirbyListItemTemplate"],["title","More Transactions"],["subtitle",""],["slot","end"],[3,"value"],["detail","",3,"value"]],template:function(A,$){1&A&&(t.j41(0,"kirby-accordion")(1,"kirby-accordion-item",0)(2,"kirby-list",1),t.DNE(3,p,11,6,"kirby-item",2),t.k0s()(),t.j41(4,"kirby-accordion-item",3)(5,"kirby-list",1),t.DNE(6,a,11,6,"kirby-item",2),t.k0s()()()),2&A&&(t.R7$(),t.Y8G("isExpanded",!0),t.R7$(),t.Y8G("items",$.itemsFullList.slice(0,4)),t.R7$(3),t.Y8G("items",$.itemsFullList.slice(4,7)))},dependencies:[l.aF,l.fv,M.JA,M.UF,d.sB,d.bx],encapsulation:2}),u})()},19963:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>M});var e=i(54438),t=i(81443),l=i(47008);let M=(()=>{var d;class p{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(_)}`)}}return(d=p).\u0275fac=function(_){return new(_||d)(e.rXU(t.W3))},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-action-sheet-example"]],decls:2,vars:0,consts:[["kirby-button","",3,"click"]],template:function(_,v){1&_&&(e.j41(0,"button",0),e.bIt("click",function(){return v.showActionSheet()}),e.EFF(1,"Show action sheet"),e.k0s())},dependencies:[l.Q],encapsulation:2}),p})()},49267:(Ze,z,i)=>{"use strict";i.d(z,{_:()=>K});var A,e=i(21413),t=i(41584),l=i(7673),M=i(96354),d=i(56977),p=i(39974),a=i(54360),v=i(54438),E=i(81443),u=i(57017),O=i(47008);const $={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 stringify(J){return JSON.stringify(J,null,"\t").replace(/"(\w+)":/g,"$1:").replace(/"/g,"'")}constructor(J,G){this.modalController=J,this.toastController=G,this.alertClose$=new e.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($,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 ke=(0,t.O)(0,1e3).pipe((0,M.T)(it=>6e4-1e3*it),(0,d.Q)(this.alertClose$),function _(X,J=!1){return(0,p.N)((G,fe)=>{let he=0;G.subscribe((0,a._)(fe,Me=>{const ke=X(Me,he++);(ke||J)&&fe.next(Me),!ke&&fe.complete()}))})}(it=>it>=0)),be=(0,l.of)("Need more time?"),Ne=ke.pipe((0,M.T)(it=>`Time remaining: ${(it=>Math.ceil(it/1e3))(it)}`));this.modalController.showAlert({title:be,icon:{name:"clock",themeColor:"warning"},message:Ne,okBtn:"Logout",cancelBtn:"Take me back"},this.onAlertClosed.bind(this))}onAlertClosed(J){this.toastController.showToast({message:`Alert selection: ${J}`,messageType:J?"success":"warning",durationInMs:1500}),this.alertClose$.next()}onAlertDestructiveClosed(J){this.toastController.showToast({message:J?"Message deleted":"Nothing happened",messageType:J?"warning":"success",durationInMs:1500})}}(A=K).alertConfigWithIcon=`const config: AlertConfig = ${A.stringify($)}\n \nthis.modalController.showAlert(config);`,A.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);",A.\u0275fac=function(J){return new(J||A)(v.rXU(E.W3),v.rXU(u.K))},A.\u0275cmp=v.VBU({type:A,selectors:[["cookbook-alert-example"]],decls:12,vars:0,consts:[["kirby-button","",3,"click"],["kirby-button","",1,"destructive",3,"click"]],template:function(J,G){1&J&&(v.j41(0,"button",0),v.bIt("click",function(){return G.showAlert()}),v.EFF(1,"Show alert"),v.k0s(),v.j41(2,"button",0),v.bIt("click",function(){return G.showAlertWithIcon()}),v.EFF(3,"Show alert with icon"),v.k0s(),v.j41(4,"button",0),v.bIt("click",function(){return G.showAlertWithoutCancel()}),v.EFF(5,"Show alert without cancel"),v.k0s(),v.j41(6,"button",1),v.bIt("click",function(){return G.showDestructiveAlert()}),v.EFF(7," Show destructive alert\n"),v.k0s(),v.j41(8,"button",0),v.bIt("click",function(){return G.showAlertWithNewline()}),v.EFF(9,"Show alert with newline"),v.k0s(),v.j41(10,"button",0),v.bIt("click",function(){return G.showAlertWithDynamicValues()}),v.EFF(11,"Show alert with dynamic values"),v.k0s())},dependencies:[O.Q],styles:["[_nghost-%COMP%]{display:block}"]})},25713:(Ze,z,i)=>{"use strict";i.d(z,{K:()=>p});var e=i(54438),t=i(28287),l=i(75797),M=i(35043);const d_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 p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-avatar-example-badge"]],decls:16,vars:0,consts:[["size","xs"],["name","kirby"],["name","attach"],["size","sm"],["size","md"],["size","lg"]],template:function(E,u){1&E&&(e.j41(0,"kirby-avatar",0),e.nrm(1,"kirby-icon",1),e.j41(2,"kirby-badge"),e.nrm(3,"kirby-icon",2),e.k0s()(),e.j41(4,"kirby-avatar",3),e.nrm(5,"kirby-icon",1),e.j41(6,"kirby-badge"),e.nrm(7,"kirby-icon",2),e.k0s()(),e.j41(8,"kirby-avatar",4),e.nrm(9,"kirby-icon",1),e.j41(10,"kirby-badge"),e.nrm(11,"kirby-icon",2),e.k0s()(),e.j41(12,"kirby-avatar",5),e.nrm(13,"kirby-icon",1),e.j41(14,"kirby-badge"),e.nrm(15,"kirby-icon",2),e.k0s()())},dependencies:[t.f,l.n,M.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"}[_nghost-%COMP%]{padding:32px}']}),_})()},54368:(Ze,z,i)=>{"use strict";i.d(z,{v:()=>p});var e=i(54438),t=i(28287),l=i(35043),M=i(13339);const d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.shouldWrap=!0}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-avatar-example-colors"]],hostVars:2,hostBindings:function(E,u){2&E&&e.AVh("wrap",u.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(E,u){1&E&&(e.j41(0,"kirby-avatar",0),e.nrm(1,"kirby-icon",1),e.k0s(),e.j41(2,"kirby-avatar",2),e.nrm(3,"kirby-icon",1),e.k0s(),e.j41(4,"kirby-avatar",3),e.nrm(5,"kirby-icon",1),e.k0s(),e.j41(6,"kirby-avatar",4),e.nrm(7,"kirby-icon",1),e.k0s(),e.j41(8,"kirby-avatar",5),e.nrm(9,"kirby-icon",1),e.k0s(),e.j41(10,"kirby-avatar",6),e.nrm(11,"kirby-icon",1),e.k0s(),e.j41(12,"kirby-avatar",7),e.nrm(13,"kirby-icon",1),e.k0s(),e.j41(14,"kirby-avatar",8),e.nrm(15,"kirby-icon",1),e.k0s(),e.j41(16,"kirby-avatar",9),e.nrm(17,"kirby-icon",1),e.k0s(),e.j41(18,"kirby-avatar",10),e.nrm(19,"kirby-icon",1),e.k0s(),e.j41(20,"kirby-avatar",11),e.nrm(21,"kirby-icon",1),e.k0s())},dependencies:[t.f,l.Rl,M.Cd],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"}']}),_})()},99551:(Ze,z,i)=>{"use strict";i.d(z,{k:()=>M});var e=i(54438),t=i(28287);const l_template='\n\n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-avatar",0)(1,"kirby-avatar",1)(2,"kirby-avatar",2)(3,"kirby-avatar",3)},dependencies:[t.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"}']}),p})()},33625:(Ze,z,i)=>{"use strict";i.d(z,{i:()=>d});var e=i(54438),t=i(28287),l=i(35043);const M_template='\n \n\n\n\n \n\n\n\n \n\n\n\n \n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-avatar-example-icon"]],decls:8,vars:0,consts:[["size","xs"],["name","kirby"],["size","sm"],["size","md"],["size","lg"]],template:function(v,E){1&v&&(e.j41(0,"kirby-avatar",0),e.nrm(1,"kirby-icon",1),e.k0s(),e.j41(2,"kirby-avatar",2),e.nrm(3,"kirby-icon",1),e.k0s(),e.j41(4,"kirby-avatar",3),e.nrm(5,"kirby-icon",1),e.k0s(),e.j41(6,"kirby-avatar",4),e.nrm(7,"kirby-icon",1),e.k0s())},dependencies:[t.f,l.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"}']}),a})()},99696:(Ze,z,i)=>{"use strict";i.d(z,{k:()=>M});var e=i(54438),t=i(28287);const l_template='',l_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 M=(()=>{var d;class p{constructor(){this.template=l_template,this.ts=l_ts,this.avatarSrc="bad-image-url.png"}showFallbackImageOnError(_){this.avatarSrc="assets/images/avatar-not-found.png"}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-avatar-example-image-error"]],decls:1,vars:1,consts:[["size","lg",3,"imageError","imageSrc"]],template:function(_,v){1&_&&(e.j41(0,"kirby-avatar",0),e.bIt("imageError",function(u){return v.showFallbackImageOnError(u)}),e.k0s()),2&_&&e.Y8G("imageSrc",v.avatarSrc)},dependencies:[t.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"}']}),p})()},48492:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>M});var e=i(54438),t=i(28287);const l_template='\n\n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-avatar",0)(1,"kirby-avatar",1)(2,"kirby-avatar",2)(3,"kirby-avatar",3)},dependencies:[t.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"}']}),p})()},49851:(Ze,z,i)=>{"use strict";i.d(z,{Q:()=>M});var e=i(54438),t=i(28287);const l_template='\n\n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-avatar-example-image"]],hostVars:2,hostBindings:function(_,v){2&_&&e.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(_,v){1&_&&e.nrm(0,"kirby-avatar",0)(1,"kirby-avatar",1)(2,"kirby-avatar",2)},dependencies:[t.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"}']}),p})()},36143:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>M});var e=i(54438),t=i(28287);const l_template='\n\n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-avatar",0)(1,"kirby-avatar",1)(2,"kirby-avatar",2)(3,"kirby-avatar",3)},dependencies:[t.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"}']}),p})()},45997:(Ze,z,i)=>{"use strict";i.d(z,{I:()=>d});var e=i(54438),t=i(75797),l=i(35043);const M_template='\n \n\n\n\n \n\n\n\n \n\n\n\n \n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-badge-example-icon"]],decls:8,vars:0,consts:[["name","attach"],["themeColor","success"],["themeColor","warning"],["themeColor","danger"]],template:function(v,E){1&v&&(e.j41(0,"kirby-badge"),e.nrm(1,"kirby-icon",0),e.k0s(),e.j41(2,"kirby-badge",1),e.nrm(3,"kirby-icon",0),e.k0s(),e.j41(4,"kirby-badge",2),e.nrm(5,"kirby-icon",0),e.k0s(),e.j41(6,"kirby-badge",3),e.nrm(7,"kirby-icon",0),e.k0s())},dependencies:[t.n,l.Rl],styles:["[_nghost-%COMP%] kirby-badge[_ngcontent-%COMP%] + kirby-badge[_ngcontent-%COMP%]{margin-left:16px}"]}),a})()},20509:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>M});var e=i(54438),t=i(75797);const l_template='1\n7\n99\n123';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-badge-example-number"]],decls:8,vars:0,consts:[["themeColor","success"],["themeColor","warning"],["themeColor","danger"]],template:function(_,v){1&_&&(e.j41(0,"kirby-badge"),e.EFF(1,"1"),e.k0s(),e.j41(2,"kirby-badge",0),e.EFF(3,"7"),e.k0s(),e.j41(4,"kirby-badge",1),e.EFF(5,"99"),e.k0s(),e.j41(6,"kirby-badge",2),e.EFF(7,"123"),e.k0s())},dependencies:[t.n],styles:["[_nghost-%COMP%] kirby-badge[_ngcontent-%COMP%] + kirby-badge[_ngcontent-%COMP%]{margin-left:16px}"]}),p})()},95203:(Ze,z,i)=>{"use strict";i.d(z,{e:()=>M});var e=i(54438),t=i(75797);const l_template='\n\n\n\n\n\n\n\n\n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-badge",0)(1,"kirby-badge",1)(2,"kirby-badge",2)(3,"kirby-badge",3)},dependencies:[t.n],styles:["[_nghost-%COMP%] kirby-badge[_ngcontent-%COMP%] + kirby-badge[_ngcontent-%COMP%]{margin-left:16px}"]}),p})()},94811:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>M});var e=i(54438),t=i(75797);const l_template='Default\nSuccess\nWarning\nDanger\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-badge-example-text"]],decls:8,vars:0,consts:[["themeColor","success"],["themeColor","warning"],["themeColor","danger"]],template:function(_,v){1&_&&(e.j41(0,"kirby-badge"),e.EFF(1,"Default"),e.k0s(),e.j41(2,"kirby-badge",0),e.EFF(3,"Success"),e.k0s(),e.j41(4,"kirby-badge",1),e.EFF(5,"Warning"),e.k0s(),e.j41(6,"kirby-badge",2),e.EFF(7,"Danger"),e.k0s())},dependencies:[t.n],styles:["[_nghost-%COMP%] kirby-badge[_ngcontent-%COMP%] + kirby-badge[_ngcontent-%COMP%]{margin-left:16px}"]}),p})()},53697:(Ze,z,i)=>{"use strict";i.d(z,{z:()=>M});var e=i(54438),t=i(47008);const l_template='\nAria Disabled Link';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-button-example-aria-disabled"]],decls:4,vars:0,consts:[["kirby-button","","aria-disabled","true"],["kirby-button","","aria-disabled","true","href","/"]],template:function(_,v){1&_&&(e.j41(0,"button",0),e.EFF(1,"Aria Disabled"),e.k0s(),e.j41(2,"a",1),e.EFF(3,"Aria Disabled Link"),e.k0s())},dependencies:[t.Q],styles:["[_nghost-%COMP%]{display:block}"]}),p})()},8344:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>a});var e=i(54438),t=i(47008),l=i(98990),M=i(13339),d=i(41727);const p={selector:"cookbook-button-example-attention-level",template:'\n \n \n \n\n
\n Configuration\n \n \n
'};let a=(()=>{var _;class v{constructor(){this.template=p.template.split("{"use strict";i.d(z,{B:()=>M});var e=i(54438),t=i(47008);let M=(()=>{var d;class p{constructor(){this.template=''}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-button-example-block"]],decls:2,vars:0,consts:[["kirby-button","","expand","block"]],template:function(_,v){1&_&&(e.j41(0,"button",0),e.EFF(1,"Block Button"),e.k0s())},dependencies:[t.Q],styles:["[_nghost-%COMP%]{display:block}"]}),p})()},92908:(Ze,z,i)=>{"use strict";i.d(z,{N:()=>M});var e=i(54438),t=i(47008);let M=(()=>{var d;class p{constructor(){this.template=""}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-button-example-default"]],decls:2,vars:0,consts:[["kirby-button",""]],template:function(_,v){1&_&&(e.j41(0,"button",0),e.EFF(1,"Default Button"),e.k0s())},dependencies:[t.Q],styles:["[_nghost-%COMP%]{display:block}"]}),p})()},17313:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>d});var e=i(54438),t=i(47008),l=i(35043);const M_template='\n\n\n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"button",0),e.EFF(1," Disabled\n"),e.k0s(),e.j41(2,"button",0),e.nrm(3,"kirby-icon",1),e.EFF(4," Disabled with icon\n"),e.k0s(),e.j41(5,"button",2),e.nrm(6,"kirby-icon",3),e.k0s(),e.j41(7,"button",4),e.nrm(8,"kirby-icon",3),e.k0s()),2&v&&(e.R7$(7),e.Y8G("noDecoration",!0))},dependencies:[t.Q,l.Rl],styles:["[_nghost-%COMP%]{display:block}"]}),a})()},10303:(Ze,z,i)=>{"use strict";i.d(z,{t:()=>d});var e=i(54438),t=i(47008),l=i(35043);const M_template='\n\n\n\n\n\n\n\n\n\n\n\n\n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"button",0),e.nrm(1,"kirby-icon",1),e.k0s(),e.j41(2,"button",2),e.nrm(3,"kirby-icon",1),e.k0s(),e.j41(4,"button",3),e.nrm(5,"kirby-icon",1),e.k0s(),e.j41(6,"button",4),e.nrm(7,"kirby-icon",1),e.k0s(),e.j41(8,"button",5),e.EFF(9," Search "),e.nrm(10,"kirby-icon",6),e.k0s(),e.j41(11,"button",7),e.EFF(12," Search "),e.nrm(13,"kirby-icon",6),e.k0s(),e.j41(14,"button",8),e.nrm(15,"kirby-icon",6),e.EFF(16," Search\n"),e.k0s(),e.j41(17,"button",9),e.nrm(18,"kirby-icon",6),e.EFF(19," Search\n"),e.k0s(),e.j41(20,"button",10),e.nrm(21,"kirby-icon",11),e.k0s(),e.j41(22,"button",12),e.nrm(23,"kirby-icon",11),e.k0s(),e.j41(24,"button",13),e.nrm(25,"kirby-icon",11),e.k0s(),e.j41(26,"button",14),e.nrm(27,"kirby-icon",11),e.k0s()),2&v&&(e.R7$(8),e.Y8G("showIconOnly",!0),e.R7$(3),e.Y8G("showIconOnly",!0),e.R7$(3),e.Y8G("showIconOnly",!0),e.R7$(3),e.Y8G("showIconOnly",!0))},dependencies:[t.Q,l.Rl],styles:["[_nghost-%COMP%]{display:inline-grid;grid-template-columns:repeat(4,auto);place-items:center center;gap:16px}"]}),a})()},4855:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>d});var e=i(54438),t=i(47008),l=i(35043);const M_template='\n\n\n\n\n\n\n\n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"button",0),e.nrm(1,"kirby-icon",1),e.EFF(2," Icon left\n"),e.k0s(),e.j41(3,"button",2),e.nrm(4,"kirby-icon",1),e.EFF(5," Icon left\n"),e.k0s(),e.j41(6,"button",3),e.nrm(7,"kirby-icon",1),e.EFF(8," Icon left\n"),e.k0s(),e.j41(9,"button",4),e.nrm(10,"kirby-icon",1),e.EFF(11," Icon left\n"),e.k0s(),e.j41(12,"button",0),e.EFF(13," Icon right "),e.nrm(14,"kirby-icon",5),e.k0s(),e.j41(15,"button",2),e.EFF(16," Icon right "),e.nrm(17,"kirby-icon",5),e.k0s(),e.j41(18,"button",3),e.EFF(19," Icon right "),e.nrm(20,"kirby-icon",5),e.k0s(),e.j41(21,"button",4),e.EFF(22," Icon right "),e.nrm(23,"kirby-icon",5),e.k0s())},dependencies:[t.Q,l.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}}"]}),a})()},17337:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>M});var e=i(54438),t=i(47008);const l_template='Link\nLink (new tab/window)';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-button-example-link"]],decls:4,vars:0,consts:[["kirby-button","","href","/"],["kirby-button","","href","/","target","_blank"]],template:function(_,v){1&_&&(e.j41(0,"a",0),e.EFF(1,"Link"),e.k0s(),e.j41(2,"a",1),e.EFF(3,"Link (new tab/window)"),e.k0s())},dependencies:[t.Q],styles:["[_nghost-%COMP%]{display:inline-grid;grid-template-columns:repeat(4,auto);place-items:center center;gap:16px}"]}),p})()},4631:(Ze,z,i)=>{"use strict";i.d(z,{_:()=>M});var e=i(54438),t=i(47008);const l_template='\n\n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"button",0),e.EFF(1,"Extra Small Button"),e.k0s(),e.j41(2,"button",1),e.EFF(3,"Small Button"),e.k0s(),e.j41(4,"button",2),e.EFF(5,"Medium Button"),e.k0s(),e.j41(6,"button",3),e.EFF(7,"Large Button"),e.k0s())},dependencies:[t.Q],styles:["[_nghost-%COMP%]{display:inline-flex;flex-direction:column;align-items:center;gap:16px}@media (min-width: 768px){[_nghost-%COMP%]{flex-direction:row}}"]}),p})()},3925:(Ze,z,i)=>{"use strict";i.d(z,{I:()=>d});var e=i(54438),t=i(47008),l=i(35043);const M_template='';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-button-example-undecorated"]],decls:2,vars:1,consts:[["kirby-button","","aria-label","Close",3,"noDecoration"],["name","close"]],template:function(v,E){1&v&&(e.j41(0,"button",0),e.nrm(1,"kirby-icon",1),e.k0s()),2&v&&e.Y8G("noDecoration",!0)},dependencies:[t.Q,l.Rl],styles:["[_nghost-%COMP%]{display:block}"]}),a})()},39490:(Ze,z,i)=>{"use strict";i.d(z,{u:()=>O});var e=i(30226),t=i(71479),d=i(99130),p=i(54438),a=i(34100),_=i(98990),v=i(47008),E=i(60177);const u_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 ',u_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 O=(()=>{var A;class ${constructor(){this.template=u_template,this.codeSnippet=u_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(X){X.useTimezoneUTC&&(this.updateInputDates(),this.selectedDate&&(this.selectedDate=this.useTimezoneUTC?(0,d.uk)(this.subtractTimezoneOffset(this.selectedDate),this.timeZoneName):(0,d.L_)(this.selectedDate,this.timeZoneName)))}onDateChange(X){this.selectedDate=X}selectNextMonth(){const X=new Date,J=new Date(X.getFullYear(),X.getMonth()+1,1);this.selectedDate=J}selectToday(){this.selectedDate=new Date}deselectDate(){this.selectedDate=null}updateInputDates(){const X=(0,e.o)(new Date);this.minDate=function l(A,$,K){return(0,t.f)(A,-$,K)}(X,60),this.maxDate=(0,t.f)(X,60),this.todayDate=(0,t.f)(X,3),this.disabledDates=[3,5,7,10,15,25,28,35].map(J=>(0,t.f)(X,J)),this.enabledDates=[3,5,7,10,15,25,28,35].map(J=>(0,t.f)(X,J))}subtractTimezoneOffset(X){return new Date(X.getTime()-60*X.getTimezoneOffset()*1e3)}}return(A=$).\u0275fac=function(X){return new(X||A)},A.\u0275cmp=p.VBU({type:A,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:[p.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(X,J){1&X&&(p.j41(0,"kirby-card")(1,"kirby-calendar",0),p.bIt("dateChange",function(fe){return J.onDateChange(fe)}),p.k0s()(),p.j41(2,"kirby-card",1)(3,"kirby-card-header",2)(4,"p"),p.EFF(5),p.nI1(6,"date"),p.k0s()(),p.j41(7,"div",3)(8,"button",4),p.bIt("click",function(){return J.selectNextMonth()}),p.EFF(9," Next month "),p.k0s(),p.j41(10,"button",4),p.bIt("click",function(){return J.selectToday()}),p.EFF(11,"Now"),p.k0s(),p.j41(12,"button",4),p.bIt("click",function(){return J.deselectDate()}),p.EFF(13,"Deselect"),p.k0s()()()),2&X&&(p.R7$(),p.Y8G("timezone",J.useTimezoneUTC?"UTC":"local")("disableWeekends",J.disableWeekends)("disablePastDates",J.disablePastDates)("disableFutureDates",J.disableFutureDates)("disabledDates",J.setDisabledDates?J.disabledDates:null)("enabledDates",J.setEnabledDates?J.enabledDates:null)("minDate",J.setMinDate?J.minDate:null)("maxDate",J.setMaxDate?J.maxDate:null)("todayDate",J.setTodayDate?J.todayDate:null)("selectedDate",J.selectedDate),p.R7$(),p.Y8G("hasPadding",!0),p.R7$(),p.Y8G("hasPadding",!1),p.R7$(2),p.SpI(" Selected Date: ",J.selectedDate?p.brH(6,13,J.selectedDate,"MMM d, y z",J.useTimezoneUTC?"UTC":void 0):"none"," "))},dependencies:[a.S,_.ib,_.lM,v.Q,E.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}"]}),$})()},47333:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>M});var e=i(54438),t=i(34100);let M=(()=>{var d;class p{constructor(){this.template=""}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-calendar-no-background-example"]],decls:1,vars:0,template:function(_,v){1&_&&e.nrm(0,"kirby-calendar")},dependencies:[t.S],styles:["[_nghost-%COMP%]{display:block;max-width:320px;margin:0 auto}"]}),p})()},3418:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>d});var e=i(54438),t=i(34100),l=i(98990);const M_template='\n \n';let d=(()=>{var p;class a{constructor(){this.template=M_template,this.yearNavigatorOptions={from:-6,to:3}}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-calendar-year-navigator-example"]],decls:2,vars:2,consts:[[3,"yearNavigatorOptions","usePopover"]],template:function(v,E){1&v&&(e.j41(0,"kirby-card"),e.nrm(1,"kirby-calendar",0),e.k0s()),2&v&&(e.R7$(),e.Y8G("yearNavigatorOptions",E.yearNavigatorOptions)("usePopover",!0))},dependencies:[t.S,l.ib],styles:["[_nghost-%COMP%]{display:block;max-width:320px;margin:0 auto}"]}),a})()},1039:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>p});var e=i(85343),t=i(54438),l=i(98990),M=i(13339);const d_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
',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.style=d_style,this.noop=e.l}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-card-example-background-image"]],decls:7,vars:1,consts:[["themeColor","dark",3,"click","hasPadding"]],template:function(E,u){1&E&&(t.j41(0,"kirby-card",0),t.bIt("click",function(){return u.noop()}),t.j41(1,"strong"),t.EFF(2,"A card with background image"),t.k0s(),t.j41(3,"p"),t.EFF(4," Try resizing the viewport to see the media queries in action! "),t.k0s(),t.j41(5,"p"),t.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. "),t.k0s()()),2&E&&t.Y8G("hasPadding",!0)},dependencies:[l.ib,l.qq,M.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)}}"]}),_})()},64840:(Ze,z,i)=>{"use strict";i.d(z,{t:()=>d});var e=i(54438),t=i(98990),l=i(13339);const M_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
",M_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 d=(()=>{var p;class a{constructor(){this.template=M_template,this.codeSnippet=M_codeSnippet,this.color="secondary"}setThemeColor(v){this.color=v}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"kirby-card",0)(1,"strong"),e.EFF(2,"A themed card"),e.k0s(),e.j41(3,"p"),e.EFF(4,"This cards color is defined by the "),e.j41(5,"code"),e.EFF(6,"themeColor"),e.k0s(),e.EFF(7," input property."),e.k0s(),e.j41(8,"p"),e.EFF(9,"Recommended values for themeColor are: "),e.nrm(10,"br"),e.j41(11,"code"),e.EFF(12,"'secondary' | 'tertiary' | 'medium' | 'dark'"),e.k0s()(),e.j41(13,"p"),e.EFF(14,"Use the buttons below to see the different options \u{1f447}"),e.k0s()(),e.j41(15,"div",1)(16,"button",2),e.bIt("click",function(){return E.setThemeColor("secondary")}),e.k0s(),e.j41(17,"button",3),e.bIt("click",function(){return E.setThemeColor("tertiary")}),e.k0s(),e.j41(18,"button",4),e.bIt("click",function(){return E.setThemeColor("medium")}),e.k0s(),e.j41(19,"button",5),e.bIt("click",function(){return E.setThemeColor("dark")}),e.k0s()()),2&v&&e.Y8G("themeColor",E.color)},dependencies:[t.ib,l.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)}"]}),a})()},26826:(Ze,z,i)=>{"use strict";i.d(z,{r:()=>a});var e=i(85343),t=i(54438),l=i(98990),M=i(8346),d=i(81365);const p_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
',p_style="kirby-card {\n --kirby-card-padding-top: 0px; \n}";let a=(()=>{var _;class v{constructor(){this.template=p_template,this.style=p_style,this.noop=e.l}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=t.VBU({type:_,selectors:[["cookbook-card-example-disclosure"]],decls:17,vars:3,consts:[[3,"click","hasPadding"],[3,"hasPadding"],[3,"disclosure"],[1,"kirby-text-bold"],[1,"kirby-text-large"],["themeColor","danger",2,"float","right"],["themeColor","success",2,"float","right"]],template:function(u,O){1&u&&(t.j41(0,"kirby-card",0),t.bIt("click",function(){return O.noop()}),t.j41(1,"kirby-card-header",1)(2,"kirby-item",2)(3,"h3",3),t.EFF(4,"Item disclosure in header"),t.k0s()()(),t.j41(5,"p",4),t.EFF(6,"A card with state and disclosure"),t.k0s(),t.j41(7,"p"),t.EFF(8," Note how this card can be focussed with tab keyboard navigation and enter or space triggers the click function. "),t.k0s(),t.j41(9,"p"),t.EFF(10," You are free to slot any content inside. "),t.j41(11,"kirby-flag",5),t.EFF(12," Danger "),t.k0s()(),t.j41(13,"p"),t.EFF(14," Could be a couple of flags! "),t.j41(15,"kirby-flag",6),t.EFF(16," Success "),t.k0s()()()),2&u&&(t.Y8G("hasPadding",!0),t.R7$(),t.Y8G("hasPadding",!1),t.R7$(),t.Y8G("disclosure","arrow-more"))},dependencies:[l.ib,l.lM,l.qq,M.q,d.JA],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}"]}),v})()},25777:(Ze,z,i)=>{"use strict";i.d(z,{y:()=>d});var e=i(54438),t=i(98990),l=i(35043);const M_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
",M_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 d=(()=>{var p;class a{constructor(){this.template=M_template,this.codeSnippet=M_codeSnippet,this.flagLevel="success"}setFlagLevel(v){this.flagLevel=v}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"kirby-card",0),e.nrm(1,"kirby-card-header",1),e.j41(2,"strong"),e.EFF(3,"A flagged card"),e.k0s(),e.j41(4,"p"),e.EFF(5,"This is a card that uses a "),e.j41(6,"em"),e.EFF(7,"kirby-card-header"),e.k0s(),e.EFF(8," with the "),e.j41(9,"code"),e.EFF(10,"flagged"),e.k0s(),e.EFF(11," input set."),e.k0s(),e.j41(12,"p"),e.EFF(13,"Possible values for the flagged header are: "),e.nrm(14,"br"),e.j41(15,"code"),e.EFF(16,"'success' | 'warning' | 'danger' | 'info'"),e.k0s()(),e.j41(17,"p"),e.EFF(18,"Use the buttons below to see the different options \u{1f447}"),e.k0s()(),e.j41(19,"div",2)(20,"button",3),e.bIt("click",function(){return E.setFlagLevel("success")}),e.nrm(21,"kirby-icon",4),e.k0s(),e.j41(22,"button",5),e.bIt("click",function(){return E.setFlagLevel("warning")}),e.nrm(23,"kirby-icon",4),e.k0s(),e.j41(24,"button",6),e.bIt("click",function(){return E.setFlagLevel("danger")}),e.nrm(25,"kirby-icon",4),e.k0s(),e.j41(26,"button",7),e.bIt("click",function(){return E.setFlagLevel("info")}),e.nrm(27,"kirby-icon",4),e.k0s()()),2&v&&(e.R7$(),e.Y8G("title","Flagged card header")("flagged",E.flagLevel))},dependencies:[t.ib,t.lM,l.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)}"]}),a})()},31270:(Ze,z,i)=>{"use strict";i.d(z,{n:()=>M});var e=i(54438),t=i(98990);const l_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 M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"div",0)(1,"kirby-card",1)(2,"strong"),e.EFF(3,"Elevated (default)"),e.k0s(),e.j41(4,"p"),e.EFF(5,"The card is slightly elevated from the background with a drop shadow."),e.k0s()(),e.j41(6,"kirby-card",2)(7,"strong"),e.EFF(8,"Flat"),e.k0s(),e.j41(9,"p"),e.EFF(10,"Has no shadow and appears lower in the visual hierarchy."),e.k0s()(),e.j41(11,"kirby-card",3)(12,"strong"),e.EFF(13,"Outlined card"),e.k0s(),e.j41(14,"p"),e.EFF(15,"Has a border and no background. Appear lowest in the visual hierarchy."),e.k0s()()()),2&_&&(e.R7$(11),e.Y8G("hasPadding",!0))},dependencies:[t.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}}"]}),p})()},67285:(Ze,z,i)=>{"use strict";i.d(z,{w:()=>p});var e=i(54438),t=i(91022);const l=()=>[739,1200,584,902,30],M=()=>["Monday","Tuesday","Wednesday","Thursday","Friday"],d_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 p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-chart-example-accessibility"]],decls:32,vars:4,consts:[["type","column",3,"data","labels"]],template:function(E,u){1&E&&(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&E&&e.Y8G("data",e.lJ4(2,l))("labels",e.lJ4(3,M))},dependencies:[t.Qe],encapsulation:2}),_})()},55827:(Ze,z,i)=>{"use strict";i.d(z,{_:()=>d});var e=i(54438),t=i(91022);const l=()=>[7,12,5,9,3],M_template='',M_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 d=(()=>{var p;class a{constructor(){this.template=M_template,this.codeSnippet=M_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]}]}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-chart-example-annotations"]],decls:1,vars:3,consts:[[3,"data","annotations"]],template:function(v,E){1&v&&e.nrm(0,"kirby-chart",0),2&v&&e.Y8G("data",e.lJ4(2,l))("annotations",E.annotations)},dependencies:[t.Qe],encapsulation:2}),a})()},17555:(Ze,z,i)=>{"use strict";i.d(z,{X:()=>d});var e=i(54438),t=i(91022);const l=()=>["1950","1951","1952","1953","1954","1955","1956","1957","1958","1959","1960"],M_template="\n \n ",M_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 d=(()=>{var p;class a{constructor(){this.template=M_template,this.codeSnippet=M_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"}]}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-chart-example-area-line"]],decls:1,vars:4,consts:[["type","line",3,"data","labels","customOptions"]],template:function(v,E){1&v&&e.nrm(0,"kirby-chart",0),2&v&&e.Y8G("data",E.data)("labels",e.lJ4(3,l))("customOptions",E._customOptions)},dependencies:[t.Qe],encapsulation:2}),a})()},31172:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>p});var e=i(54438),t=i(91022);const l=()=>[7,12,5,9,3],M=()=>["2021","2020","2019","2018","2017"],d_template="";let p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-chart-example-bar"]],decls:1,vars:4,consts:[["type","bar",3,"data","labels"]],template:function(E,u){1&E&&e.nrm(0,"kirby-chart",0),2&E&&e.Y8G("data",e.lJ4(2,l))("labels",e.lJ4(3,M))},dependencies:[t.Qe],encapsulation:2}),_})()},9868:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>M});var e=i(54438),t=i(91022);const l_template='',l_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 M=(()=>{var d;class p{constructor(){this.template=l_template,this.codeSnippet=l_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"]}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-chart-example-column"]],decls:1,vars:2,consts:[["type","column",3,"data","labels"]],template:function(_,v){1&_&&e.nrm(0,"kirby-chart",0),2&_&&e.Y8G("data",v.data)("labels",v.labels)},dependencies:[t.Qe],encapsulation:2}),p})()},3717:(Ze,z,i)=>{"use strict";i.d(z,{J:()=>p});var e=i(44354),t=i(54438),l=i(91022);const M=()=>["Monday","Tuesday","Wednesday","Thursday","Friday"],d_template="",d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.codeSnippet=d_codeSnippet,this._datasets=[{data:[.8,2,3,3.5,.5]},{data:[.6,2,1,2.1,.2],backgroundColor:e.A.getThemeColorHexString("primary")}],this._customOptions={scales:{y:{stacked:!0},x:{stacked:!0}}}}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-chart-example-column-stacked"]],decls:1,vars:4,consts:[["type","column",3,"data","labels","customOptions"]],template:function(E,u){1&E&&t.nrm(0,"kirby-chart",0),2&E&&t.Y8G("data",u._datasets)("labels",t.lJ4(3,M))("customOptions",u._customOptions)},dependencies:[l.Qe],encapsulation:2}),_})()},95417:(Ze,z,i)=>{"use strict";i.d(z,{u:()=>d});var e=i(54438),t=i(91022);const l=()=>[7,12,5,9,3],M_template='

{{_text}}

\n',M_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 d=(()=>{var p;class a{constructor(){this.template=M_template,this.codeSnippet=M_codeSnippet,this._text="Nothing has been clicked",this._labels=["Monday","Tuesday","Wednesday","Thursday","Friday"],this._customOptions={onClick:(v,E)=>{const u=E[0];u?(this._highlighted=[[u.datasetIndex,u.index]],this._text=`${this._labels[u.index]} was clicked`):(this._text="The background was clicked",this._highlighted=[])}}}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-chart-example-interaction"]],decls:3,vars:6,consts:[["type","column",3,"data","labels","customOptions","highlightedElements"]],template:function(v,E){1&v&&(e.j41(0,"p"),e.EFF(1),e.k0s(),e.nrm(2,"kirby-chart",0)),2&v&&(e.R7$(),e.JRh(E._text),e.R7$(),e.Y8G("data",e.lJ4(5,l))("labels",E._labels)("customOptions",E._customOptions)("highlightedElements",E._highlighted))},dependencies:[t.Qe],encapsulation:2}),a})()},90329:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>p});var e=i(54438),t=i(91022);const l=()=>[6,6.37,6.46,6.64,6.78,7.44,7.92,8.18,8.41,8.85,9.33],M=()=>["1950","1951","1952","1953","1954","1955","1956","1957","1958","1959","1960"],d_template='\n ';let p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-chart-example-line"]],decls:1,vars:4,consts:[["type","line",3,"data","labels"]],template:function(E,u){1&E&&e.nrm(0,"kirby-chart",0),2&E&&e.Y8G("data",e.lJ4(2,l))("labels",e.lJ4(3,M))},dependencies:[t.Qe],encapsulation:2}),_})()},33847:(Ze,z,i)=>{"use strict";i.d(z,{P:()=>_});var e=i(44354),t=i(54438),l=i(91022);const M=()=>["Wednes-","day"],d=v=>["Monday","Tuesday",v,"Thursday","Friday"],{getThemeColorHexString:p}=e.A,a_template="\n",a_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 _=(()=>{var v;class E{constructor(){this.template=a_template,this.codeSnippet=a_codeSnippet,this._datasets=[{data:[30,50,89.5,22,48]},{data:[60,32,38,44,12],backgroundColor:p("primary")},{type:"line",data:[45,65,105,37,70]}]}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-chart-example-multiple-datasets"]],decls:1,vars:5,consts:[["type","column",3,"data","labels"]],template:function(O,A){1&O&&t.nrm(0,"kirby-chart",0),2&O&&t.Y8G("data",A._datasets)("labels",t.eq3(3,d,t.lJ4(2,M)))},dependencies:[l.Qe],encapsulation:2}),E})()},12983:(Ze,z,i)=>{"use strict";i.d(z,{e:()=>d});var e=i(54438),t=i(91022);const l=()=>[50,200,83,102];let d=(()=>{var p;class a{constructor(){this.template=''}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-chart-example-simple-column"]],decls:1,vars:2,consts:[[3,"data"]],template:function(v,E){1&v&&e.nrm(0,"kirby-chart",0),2&v&&e.Y8G("data",e.lJ4(1,l))},dependencies:[t.Qe],encapsulation:2}),a})()},53375:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>p});var e=i(91022),t=i(33510),l=i(1511),M=i(54438);const d_template='
\n \x3c!-- Your accessible content here --\x3e \n
',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.codeSnippet=d_codeSnippet,this.canvasId="configBarBaseCanvas"+1e3*Math.random(),this.demoData=l.B.barDemoData}ngAfterViewInit(){this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let E=e.q0.baseConfig;E={...E,options:{...E.options},data:{datasets:[{data:this.demoData}],labels:this.demoData.map(()=>"")}},this._chart=new t.t1(this.canvasId,E)}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=M.VBU({type:a,selectors:[["cookbook-chart-example-config-base-bar"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(E,u){1&E&&(M.j41(0,"div",0),M.nrm(1,"canvas",1),M.k0s()),2&E&&(M.R7$(),M.FS9("id",u.canvasId))},encapsulation:2}),_})()},1511:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>e});let e=(()=>{var t;class l{static get barDemoDataString(){return this.demoDataToString(l.barDemoData)}static get demoDataString(){return this.demoDataToString(l.demoData)}}return(t=l).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}],t.barDemoData=[{x:1,y:50},{x:2,y:200},{x:3,y:83},{x:4,y:102}],t.demoDataToString=M=>{let d="";return M.forEach(p=>{d+=` { x: ${p.x}, y: ${p.y} },\n`}),`demoData: ScatterDataPoint[] = [ \n${d}]`},l})()},7177:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>p});var e=i(91022),t=i(33510),l=i(1511),M=i(54438);const d_template='
\n \x3c!-- Your accessible content here --\x3e \n
',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.codeSnippet=d_codeSnippet,this.canvasId="configStockBaseCanvas"+1e3*Math.random(),this.demoData=l.B.demoData}ngAfterViewInit(){e.TL.registerPlugins(),this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let E=e.TL.baseConfig;E={...E,data:{datasets:[{data:this.demoData.map(u=>u)}],labels:this.demoData.map(u=>u.x)}},this._chart=new t.t1(this.canvasId,E)}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=M.VBU({type:a,selectors:[["cookbook-chart-example-config-base-stock"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(E,u){1&E&&(M.j41(0,"div",0),M.nrm(1,"canvas",1),M.k0s()),2&E&&(M.R7$(),M.FS9("id",u.canvasId))},encapsulation:2}),_})()},78755:(Ze,z,i)=>{"use strict";i.d(z,{f:()=>a});var e=i(91022),t=i(33510),l=i(58258),M=i(1511),d=i(54438);const p_template='
\n \x3c!-- Your accessible content here --\x3e \n
',p_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 a=(()=>{var _;class v{constructor(){this.template=p_template,this.codeSnippet=p_codeSnippet,this.canvasId="configStockDatalabelsCanvas",this.demoData=M.B.demoData}ngAfterViewInit(){e.TL.registerPlugins(),this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let u=e.TL.baseConfig;u={...u,plugins:[l.A],options:{...u.options,plugins:{datalabels:e.TL.dataLabelsPluginConfig}},data:{datasets:[{data:this.demoData.map(O=>O)}],labels:this.demoData.map(O=>O.x)}},this._chart=new t.t1(this.canvasId,u)}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=d.VBU({type:_,selectors:[["cookbook-chart-example-config-datalabels-stock"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(u,O){1&u&&(d.j41(0,"div",0),d.nrm(1,"canvas",1),d.k0s()),2&u&&(d.R7$(),d.FS9("id",O.canvasId))},encapsulation:2}),v})()},39351:(Ze,z,i)=>{"use strict";i.d(z,{u:()=>a});var e=i(33510),t=i(91022),l=i(58258),M=i(1511),d=i(54438);const p_template='
\n \x3c!-- Your accessible content here --\x3e \n
',p_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 a=(()=>{var _;class v{constructor(){this.template=p_template,this.codeSnippet=p_codeSnippet,this.canvasId="configStockCanvas",this.demoData=M.B.demoData}ngAfterViewInit(){t.TL.registerPlugins(),this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let u=t.TL.baseConfig;u={...u,plugins:[t.TL.verticalLinePluginConfig,l.A],options:{...u.options,plugins:{tooltip:t.TL.tooltipPlugin,datalabels:t.TL.dataLabelsPluginConfig}},data:{datasets:[{data:this.demoData.map(O=>O)}],labels:this.demoData.map(O=>O.x)}},this._chart=new e.t1(this.canvasId,u)}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=d.VBU({type:_,selectors:[["cookbook-chart-example-config-stock"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(u,O){1&u&&(d.j41(0,"div",0),d.nrm(1,"canvas",1),d.k0s()),2&u&&(d.R7$(),d.FS9("id",O.canvasId))},encapsulation:2}),v})()},54149:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>p});var e=i(91022),t=i(33510),l=i(1511),M=i(54438);const d_template='
\n \x3c!-- Your accessible content here --\x3e \n
',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.codeSnippet=d_codeSnippet,this.canvasId="configStockTooltipCanvas",this.demoData=l.B.demoData}ngAfterViewInit(){e.TL.registerPlugins(),this.createChart()}ngOnDestroy(){this._chart.destroy()}createChart(){let E=e.TL.baseConfig;E={...E,plugins:[e.TL.verticalLinePluginConfig],options:{...E.options,plugins:{tooltip:e.TL.tooltipPlugin}},data:{datasets:[{data:this.demoData.map(u=>u)}],labels:this.demoData.map(u=>u.x)}},this._chart=new t.t1(this.canvasId,E)}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=M.VBU({type:a,selectors:[["cookbook-chart-example-config-tooltip-stock"]],decls:2,vars:1,consts:[[2,"position","relative","height","300px"],[3,"id"]],template:function(E,u){1&E&&(M.j41(0,"div",0),M.nrm(1,"canvas",1),M.k0s()),2&E&&(M.R7$(),M.FS9("id",u.canvasId))},encapsulation:2}),_})()},14999:(Ze,z,i)=>{"use strict";i.d(z,{J:()=>p});var e=i(44354),t=i(54438),l=i(91022);const{getThemeColorHexString:M}=e.A,d_template='\n \n ',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.codeSnippet=d_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:M("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:M("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:M("semi-dark")}]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-chart-example-stock-comparison"]],decls:1,vars:2,consts:[[3,"data","dataLabelOptions"]],template:function(E,u){1&E&&t.nrm(0,"kirby-stock-chart",0),2&E&&t.Y8G("data",u._datasets)("dataLabelOptions",u._dataLabelOptions)},dependencies:[l._n],encapsulation:2}),_})()},94095:(Ze,z,i)=>{"use strict";i.d(z,{e:()=>p});var e=i(44354),t=i(54438),l=i(91022);const{getThemeColorHexString:M}=e.A,d_template='\n \n ',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.codeSnippet=d_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:M("secondary")}]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-chart-example-stock"]],decls:1,vars:2,consts:[[3,"data","dataLabelOptions"]],template:function(E,u){1&E&&t.nrm(0,"kirby-stock-chart",0),2&E&&t.Y8G("data",u._dataset)("dataLabelOptions",u._dataLabelOptions)},dependencies:[l._n],encapsulation:2}),_})()},73414:(Ze,z,i)=>{"use strict";i.d(z,{n:()=>M});var e=i(54438),t=i(11235);let M=(()=>{var d;class p{constructor(){this.template=''}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-checkbox-confirm-example"]],decls:1,vars:1,consts:[["attentionLevel","1","text","Confirm terms",3,"checked"]],template:function(_,v){1&_&&e.nrm(0,"kirby-checkbox",0),2&_&&e.Y8G("checked",!0)},dependencies:[t.P],encapsulation:2}),p})()},44247:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>M});var e=i(54438),t=i(11235);const l_template='\n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-checkbox",0)(1,"kirby-checkbox",1)(2,"kirby-checkbox",2),2&_&&(e.Y8G("checked",!0),e.R7$(),e.Y8G("checked",!1),e.R7$(),e.Y8G("checked",!1))},dependencies:[t.P],encapsulation:2}),p})()},76949:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>d});var e=i(54438),t=i(57017),l=i(11235);const M_template='\n',M_codeSnippet="onCheckedChange(checked: boolean) {\n ...\n}";let d=(()=>{var p;class a{constructor(v){this.toastController=v,this.template=M_template,this.codeSnippet=M_codeSnippet}onCheckedChange(v){this.toastController.showToast({message:`Checkbox changed - checked: ${v}`,messageType:v?"success":"warning",durationInMs:1500})}}return(p=a).\u0275fac=function(v){return new(v||p)(e.rXU(t.K))},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-checkbox-events-example"]],decls:1,vars:0,consts:[["text","Toggle to see 'checkedChange' event in action",3,"checkedChange"]],template:function(v,E){1&v&&(e.j41(0,"kirby-checkbox",0),e.bIt("checkedChange",function(O){return E.onCheckedChange(O)}),e.k0s())},dependencies:[l.P],encapsulation:2}),a})()},47640:(Ze,z,i)=>{"use strict";i.d(z,{j:()=>a});var e=i(54438),t=i(11235),l=i(81365),M=i(29756);function d(_,v){if(1&_&&(e.j41(0,"kirby-item"),e.nrm(1,"kirby-checkbox",2),e.j41(2,"kirby-label"),e.EFF(3),e.k0s()()),2&_){const E=v.$implicit;e.R7$(),e.Y8G("checked",E.checked),e.R7$(2),e.JRh(E.label)}}const p_template='\n \n \n {{ item.label }}\n \n',p_codeSnippet="checkboxItems = [\n { label: 'Checkbox 1', checked: true },\n { label: 'Checkbox 2', checked: false },\n { label: 'Checkbox 3', checked: false },\n];";let a=(()=>{var _;class v{constructor(){this.template=p_template,this.codeSnippet=p_codeSnippet,this.checkboxItems=[{label:"Checkbox 1",checked:!0},{label:"Checkbox 2",checked:!1},{label:"Checkbox 3",checked:!1}]}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["cookbook-checkbox-list-example"]],decls:2,vars:2,consts:[[3,"items","showDivider"],[4,"kirbyListItemTemplate"],["slot","start",3,"checked"]],template:function(u,O){1&u&&(e.j41(0,"kirby-list",0),e.DNE(1,d,4,2,"kirby-item",1),e.k0s()),2&u&&e.Y8G("items",O.checkboxItems)("showDivider",!0)},dependencies:[t.P,l.JA,l.UF,M.sB,M.bx],encapsulation:2}),v})()},32881:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>M});var e=i(54438),t=i(11235);const l_template='\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-checkbox",0)},dependencies:[t.P],encapsulation:2}),p})()},89965:(Ze,z,i)=>{"use strict";i.d(z,{X:()=>a});var e=i(84341),t=i(54438),l=i(2923),M=i(88075),d=i(11235);const p={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 a=(()=>{var _;class v{constructor(u){this.formBuilder=u,this.template=p.template.split("")[0],this.codeSnippet=p.codeSnippet,this.form=this.formBuilder.group({Bacon:new e.MJ(!1),Salami:new e.MJ(!1),Tenderloin:new e.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())}}return(_=v).\u0275fac=function(u){return new(u||_)(t.rXU(e.ok))},_.\u0275cmp=t.VBU({type:_,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(u,O){1&u&&(t.j41(0,"form",0),t.nrm(1,"kirby-checkbox",1)(2,"kirby-checkbox",2)(3,"kirby-checkbox",3),t.k0s(),t.j41(4,"cookbook-example-configuration-wrapper")(5,"kirby-checkbox",4),t.bIt("checkedChange",function(){return O.toggleCanSelectFavorite()}),t.k0s(),t.nrm(6,"cookbook-reactive-form-state",5),t.k0s()),2&u&&(t.Y8G("formGroup",O.form),t.R7$(),t.Y8G("disabled",!O.canSelectFavorite),t.R7$(),t.Y8G("disabled",!O.canSelectFavorite),t.R7$(),t.Y8G("disabled",!O.canSelectFavorite),t.R7$(3),t.Y8G("form",O.form))},dependencies:[e.qT,e.BC,e.cb,l.V,e.j4,e.JD,M.m,d.P],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");}}']}),v})()},82740:(Ze,z,i)=>{"use strict";i.d(z,{D:()=>d});var e=i(54438),t=i(11235),l=i(32667);const M_template='\n\n\n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&e.nrm(0,"kirby-checkbox",0)(1,"kirby-divider",1)(2,"kirby-checkbox",2)(3,"kirby-checkbox",3),2&v&&(e.R7$(),e.Y8G("hasMargin",!0))},dependencies:[t.P,l.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}']}),a})()},21078:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>M});var e=i(54438),t=i(11235);const l_template='\n\n\n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-checkbox",0)(1,"kirby-checkbox",1)(2,"kirby-checkbox",2)(3,"kirby-checkbox",3)(4,"kirby-checkbox",4),2&_&&(e.R7$(),e.Y8G("checked",!0),e.R7$(2),e.Y8G("checked",!0))},dependencies:[t.P],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:wrap}"]}),p})()},33515:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>t,h:()=>e});const e=[{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}],t=[{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:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>_});var e=i(33515),t=i(54438),l=i(57017),M=i(60177),d=i(98990);function p(v,E){if(1&v){const u=t.RV6();t.j41(0,"tr",3),t.bIt("click",function(){const A=t.eBV(u).index,$=t.XpG();return t.Njj($.onClickRow(A))}),t.j41(1,"td"),t.EFF(2),t.k0s(),t.j41(3,"td"),t.EFF(4),t.k0s(),t.j41(5,"td"),t.EFF(6),t.k0s(),t.j41(7,"td"),t.EFF(8),t.k0s(),t.j41(9,"td"),t.EFF(10),t.k0s(),t.j41(11,"td"),t.EFF(12),t.k0s(),t.j41(13,"td",1),t.EFF(14),t.k0s(),t.j41(15,"td",1),t.EFF(16),t.k0s()()}if(2&v){const u=E.$implicit;t.R7$(2),t.JRh(u.name),t.R7$(2),t.JRh(u.eye_color),t.R7$(2),t.JRh(u.gender),t.R7$(2),t.JRh(u.hair_color),t.R7$(2),t.JRh(u.skin_color),t.R7$(2),t.JRh(u.birth_year),t.R7$(2),t.JRh(u.height),t.R7$(2),t.JRh(u.mass)}}const a_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 _=(()=>{var v;class E{constructor(O){this.toastController=O,this.tableData=[...e.$],this.template=a_template}onClickRow(O){this.toastController.showToast({message:`You pressed row with index: ${O}`,messageType:"success",durationInMs:2e3})}}return(v=E).\u0275fac=function(O){return new(O||v)(t.rXU(l.K))},v.\u0275cmp=t.VBU({type:v,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(O,A){1&O&&(t.j41(0,"kirby-card")(1,"table",0)(2,"thead")(3,"tr")(4,"th"),t.EFF(5,"Name"),t.k0s(),t.j41(6,"th"),t.EFF(7,"Eyes"),t.k0s(),t.j41(8,"th"),t.EFF(9,"Gender"),t.k0s(),t.j41(10,"th"),t.EFF(11,"Hair"),t.k0s(),t.j41(12,"th"),t.EFF(13,"Skin"),t.k0s(),t.j41(14,"th"),t.EFF(15,"Birth year"),t.k0s(),t.j41(16,"th",1),t.EFF(17,"Height (cm)"),t.k0s(),t.j41(18,"th",1),t.EFF(19,"Weight (kg)"),t.k0s()()(),t.j41(20,"tbody"),t.DNE(21,p,17,8,"tr",2),t.k0s()()()),2&O&&(t.R7$(21),t.Y8G("ngForOf",A.tableData))},dependencies:[M.Sq,d.ib],encapsulation:2}),E})()},26695:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>a});var e=i(33515),t=i(86413),l=i(54438),M=i(60177);function d(_,v){if(1&_&&(l.j41(0,"tr")(1,"td"),l.EFF(2),l.k0s(),l.j41(3,"td",1),l.EFF(4),l.k0s(),l.j41(5,"td",1),l.EFF(6),l.k0s()()),2&_){const E=v.$implicit;l.R7$(2),l.JRh(E.name),l.R7$(2),l.JRh(E.height),l.R7$(2),l.JRh(E.mass)}}const p_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 a=(()=>{var _;class v{constructor(){this.template=p_template,this.tableData=e.$.slice(0,3),this.dataSnippet=`tableData = ${(0,t.i)(this.tableData.map(u=>{const{name:O,height:A,mass:$}=u;return{name:O,height:A,mass:$}}))};`}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=l.VBU({type:_,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(u,O){1&u&&(l.j41(0,"table",0)(1,"thead")(2,"tr")(3,"th"),l.EFF(4,"Name"),l.k0s(),l.j41(5,"th",1),l.EFF(6,"Height (cm)"),l.k0s(),l.j41(7,"th",1),l.EFF(8,"Weight (kg)"),l.k0s()()(),l.j41(9,"tbody"),l.DNE(10,d,7,3,"tr",2),l.k0s()()),2&u&&(l.R7$(10),l.Y8G("ngForOf",O.tableData))},dependencies:[M.Sq],encapsulation:2}),v})()},92088:(Ze,z,i)=>{"use strict";i.d(z,{i:()=>v});var e=i(33515),t=i(54438),l=i(60177),M=i(98990),d=i(11723);function p(E,u){if(1&E){const O=t.RV6();t.j41(0,"th",3),t.bIt("click",function(){const $=t.eBV(O),K=$.$implicit,X=$.index,J=t.XpG();return t.Njj(J.sortData(X,K.title))}),t.EFF(1),t.k0s()}if(2&E){const O=u.$implicit;t.Y8G("sortable",O.sortable)("sortDirection",O.sortDirection)("iconAlignment",O.iconAlignment)("alignment",O.textAlignment)("active",O.active),t.R7$(),t.SpI(" ",O.title," ")}}function a(E,u){if(1&E&&(t.j41(0,"tr")(1,"td"),t.EFF(2),t.k0s(),t.j41(3,"td"),t.EFF(4),t.k0s(),t.j41(5,"td"),t.EFF(6),t.k0s(),t.j41(7,"td"),t.EFF(8),t.k0s(),t.j41(9,"td"),t.EFF(10),t.k0s(),t.j41(11,"td"),t.EFF(12),t.k0s(),t.j41(13,"td",4),t.EFF(14),t.k0s(),t.j41(15,"td",4),t.EFF(16),t.k0s()()),2&E){const O=u.$implicit;t.R7$(2),t.JRh(O.name),t.R7$(2),t.JRh(O.eye_color),t.R7$(2),t.JRh(O.gender),t.R7$(2),t.JRh(O.hair_color),t.R7$(2),t.JRh(O.skin_color),t.R7$(2),t.JRh(O.birth_year),t.R7$(2),t.JRh(O.height),t.R7$(2),t.JRh(O.mass)}}const __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
',__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 {}",__sortingSnippet="headings = [\n { title: 'Name', sortable: true, sortDirection: 'asc', active: true },\n { title: 'Eyes' },\n ...\n]";let v=(()=>{var E;class u{constructor(){this.tableData=e.$,this.headings=e.h,this.template=__template,this.importSnippet=__importSnippet,this.sortingSnippet=__sortingSnippet}ngOnInit(){this.headings[0].sortDirection="desc",this.sortData(0,"Name")}sortData(A,$){this.headings[A].active=this._activeHelper(A),this.headings[A].sortDirection="asc"==this.headings[A].sortDirection?"desc":"asc",this.tableData.sort((K,X)=>{switch($){case"Name":return this._sortHelper(K.name,X.name,this.headings[A].sortDirection);case"Height (cm)":return this._sortHelper(K.height,X.height,this.headings[A].sortDirection);case"Weight (kg)":return this._sortHelper(K.mass,X.mass,this.headings[A].sortDirection)}})}_sortHelper(A,$,K){return"asc"==K?A>$?1:A<$?-1:0:A<$?1:A>$?-1:0}_activeHelper(A){return this.headings[A].active||this.headings.forEach($=>{$.active=!1}),!0}}return(E=u).\u0275fac=function(A){return new(A||E)},E.\u0275cmp=t.VBU({type:E,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(A,$){1&A&&(t.j41(0,"kirby-card")(1,"table",0)(2,"thead")(3,"tr"),t.DNE(4,p,2,6,"th",1),t.k0s()(),t.j41(5,"tbody"),t.DNE(6,a,17,8,"tr",2),t.k0s()()()),2&A&&(t.R7$(4),t.Y8G("ngForOf",$.headings),t.R7$(2),t.Y8G("ngForOf",$.tableData))},dependencies:[l.Sq,M.ib,d.K],encapsulation:2}),u})()},85860:(Ze,z,i)=>{"use strict";i.d(z,{t:()=>t});var e=i(54438);let t=(()=>{var l;class M{constructor(){this.sizeChanged=new e.bkB}}return(l=M).\u0275fac=function(p){return new(p||l)},l.\u0275cmp=e.VBU({type:l,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(p,a){1&p&&(e.j41(0,"fieldset")(1,"legend"),e.EFF(2,"Dropdown size for examples below"),e.k0s(),e.j41(3,"p")(4,"strong"),e.EFF(5,"Size:"),e.k0s(),e.nrm(6,"br"),e.j41(7,"label")(8,"input",0),e.bIt("change",function(v){return a.sizeChanged.emit(v.target.value)}),e.k0s(),e.EFF(9," Small ( "),e.j41(10,"code"),e.EFF(11,"sm"),e.k0s(),e.EFF(12," ) "),e.k0s(),e.j41(13,"label")(14,"input",1),e.bIt("change",function(v){return a.sizeChanged.emit(v.target.value)}),e.k0s(),e.EFF(15," Medium ( "),e.j41(16,"code"),e.EFF(17,"md"),e.k0s(),e.EFF(18," ) - default "),e.k0s()()()),2&p&&(e.R7$(8),e.Y8G("checked","sm"===a.size),e.R7$(6),e.Y8G("checked","md"===a.size))},styles:["fieldset[_ngcontent-%COMP%]{display:inline-block}"]}),M})()},93615:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>v});var e=i(54438),t=i(60177),l=i(13339),M=i(98990),d=i(41727),p=i(84341);function a(E,u){if(1&E&&(e.j41(0,"option",7),e.EFF(1),e.k0s()),2&E){const O=u.$implicit,A=e.XpG();e.FS9("value",O),e.BMQ("selected",A.themeColor===O||null),e.R7$(),e.SpI(" Card color: ",O," ")}}const __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 v=(()=>{var E;class u{constructor(){this.template=__template,this.items=["Item 1","Item 2","Item 3","Item 4","Item 5"],this.themeColors=["light","white","dark"],this.themeColor="white"}onChange(A){this.themeColor=A}}return(E=u).\u0275fac=function(A){return new(A||E)},E.\u0275cmp=e.VBU({type:E,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(A,$){1&A&&(e.j41(0,"kirby-card",0),e.nrm(1,"kirby-dropdown",1)(2,"kirby-dropdown",2)(3,"kirby-dropdown",3),e.k0s(),e.j41(4,"div")(5,"select",4),e.bIt("change",function(X){return $.onChange(X.target.value)}),e.DNE(6,a,2,3,"option",5),e.k0s()(),e.j41(7,"p",6)(8,"em")(9,"strong"),e.EFF(10,"Please note"),e.k0s(),e.EFF(11,", these examples have "),e.j41(12,"code"),e.EFF(13,"usePopover"),e.k0s(),e.EFF(14," enabled to not be cut off by the card. "),e.k0s()()),2&A&&(e.Y8G("themeColor",$.themeColor),e.R7$(),e.Y8G("size",$.size)("items",$.items),e.R7$(),e.Y8G("size",$.size)("items",$.items),e.R7$(),e.Y8G("size",$.size)("items",$.items),e.R7$(3),e.Y8G("ngForOf",$.themeColors))},dependencies:[t.Sq,l.Cd,M.ib,d.Ps,p.xH,p.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}"]}),u})()},74086:(Ze,z,i)=>{"use strict";i.d(z,{X:()=>E});var e=i(54438),t=i(60177),l=i(35043),M=i(81365),d=i(29756),p=i(41727);function a(u,O){1&u&&e.nrm(0,"kirby-icon",8)}function _(u,O){if(1&u&&(e.j41(0,"kirby-item",4),e.DNE(1,a,1,0,"kirby-icon",5),e.j41(2,"kirby-label")(3,"h3"),e.EFF(4),e.k0s(),e.j41(5,"p",6),e.EFF(6),e.k0s()(),e.j41(7,"kirby-label",7)(8,"data"),e.EFF(9,"Value"),e.k0s(),e.j41(10,"data",6),e.EFF(11),e.k0s()()()),2&u){const A=O.$implicit,$=O.selected;e.AVh("focused",O.focused),e.Y8G("selected",$),e.R7$(),e.Y8G("ngIf",$),e.R7$(3),e.JRh(A.title),e.R7$(2),e.JRh(A.subtitle),e.R7$(5),e.JRh(A.value)}}const v_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 E=(()=>{var u;class O{constructor(){this.template=v_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}]}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=e.VBU({type:u,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"],["detail",""],["slot","end"],["name","checkmark-selected","slot","start"]],template:function($,K){if(1&$&&(e.j41(0,"kirby-dropdown",1,0),e.DNE(2,_,12,7,"kirby-item",2),e.k0s(),e.j41(3,"p",3),e.EFF(4),e.nI1(5,"json"),e.k0s()),2&$){const X=e.sdS(1);e.Y8G("size",K.size)("items",K.items),e.R7$(4),e.SpI("Selected item: ",e.bMT(5,3,X.value),"")}},dependencies:[t.bT,l.Rl,M.JA,M.UF,d.bx,p.Ps,t.TG],styles:[".selection[_ngcontent-%COMP%]{margin-left:12px;font-size:12px;font-style:italic}"]}),O})()},51363:(Ze,z,i)=>{"use strict";i.d(z,{W:()=>d});var e=i(54438),t=i(41727);const l=()=>["Item 1","Item 2","Item 3","Item 4","Item 5"],M_template="";let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-dropdown-example-default"]],inputs:{size:"size"},decls:1,vars:3,consts:[["placeholder","Dropdown with plain text",3,"size","items"]],template:function(v,E){1&v&&e.nrm(0,"kirby-dropdown",0),2&v&&e.Y8G("size",E.size)("items",e.lJ4(2,l))},dependencies:[t.Ps],encapsulation:2}),a})()},47780:(Ze,z,i)=>{"use strict";i.d(z,{J:()=>M});var e=i(54438),t=i(41727);const l_template='';let M=(()=>{var d;class p{constructor(){this.template=l_template,this.items=["Item 1","Item 2","Item 3","Item 4","Item 5"]}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-dropdown-example-expand"]],inputs:{size:"size"},decls:1,vars:2,consts:[["placeholder","Block level Dropdown","expand","block",3,"size","items"]],template:function(_,v){1&_&&e.nrm(0,"kirby-dropdown",0),2&_&&e.Y8G("size",v.size)("items",v.items)},dependencies:[t.Ps],encapsulation:2}),p})()},71708:(Ze,z,i)=>{"use strict";i.d(z,{w:()=>d});var e=i(54438),t=i(57017),l=i(41727);const M_template='';let d=(()=>{var p;class a{constructor(v){this.toastController=v,this.template=M_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(v){this.toastController.showToast({message:`Item '${v.text} (id=${v.id})' was selected.`,messageType:"success",durationInMs:1500})}}return(p=a).\u0275fac=function(v){return new(v||p)(e.rXU(t.K))},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"kirby-dropdown",0),e.bIt("change",function(O){return E.onItemSelect(O)}),e.k0s()),2&v&&e.Y8G("size",E.size)("items",E.items)},dependencies:[l.Ps],encapsulation:2}),a})()},99513:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>a});var e=i(84341),t=i(54438),l=i(41727),M=i(11235),d=i(60177);const p={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 a=(()=>{var _;class v{constructor(){this.template=p.template.split("
")[0],this.codeSnippet=p.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(u){this.canSelectFavorite=u,u?this.favoriteFoodControl.enable():this.favoriteFoodControl.disable()}toggleRequired(u){this.favoriteRequired=u,this.favoriteFoodControl.setValidators(u?e.k0.required:null),this.favoriteFoodControl.updateValueAndValidity()}buildForm(){this.favoriteFoodControl=new e.hs(null,this.favoriteRequired?e.k0.required:null),this.canSelectFavorite||this.favoriteFoodControl.disable(),this.form=new e.J3({favoriteFood:this.favoriteFoodControl})}get favFoodControl(){return this.form.controls.favoriteFood}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=t.VBU({type:_,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(u,O){1&u&&(t.j41(0,"form",0),t.nrm(1,"kirby-dropdown",1),t.k0s(),t.j41(2,"fieldset")(3,"legend"),t.EFF(4,"Configuration"),t.k0s(),t.j41(5,"kirby-checkbox",2),t.bIt("checkedChange",function($){return O.toggleEnabled($)}),t.k0s(),t.j41(6,"kirby-checkbox",3),t.bIt("checkedChange",function($){return O.toggleRequired($)}),t.k0s(),t.j41(7,"p",4),t.EFF(8),t.nI1(9,"json"),t.nrm(10,"br"),t.EFF(11," form.favoriteFood: "),t.j41(12,"span"),t.EFF(13),t.k0s(),t.j41(14,"span"),t.EFF(15),t.k0s(),t.j41(16,"span"),t.EFF(17),t.k0s()()()),2&u&&(t.Y8G("formGroup",O.form),t.R7$(),t.Y8G("size",O.size)("items",O.items),t.R7$(4),t.Y8G("checked",O.canSelectFavorite),t.R7$(),t.Y8G("checked",O.favoriteRequired),t.R7$(2),t.SpI(" form.value: ",t.bMT(9,15,O.form.value),""),t.R7$(4),t.AVh("state-true",O.favoriteFoodControl.valid),t.R7$(),t.SpI("valid: ",O.favoriteFoodControl.valid,""),t.R7$(),t.AVh("state-true",O.favoriteFoodControl.enabled),t.R7$(),t.SpI("enabled: ",O.favoriteFoodControl.enabled,""),t.R7$(),t.AVh("state-true",O.favoriteFoodControl.touched),t.R7$(),t.SpI("touched: ",O.favoriteFoodControl.touched,""))},dependencies:[l.Ps,M.P,e.qT,e.BC,e.cb,e.j4,e.JD,d.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}"]}),v})()},54245:(Ze,z,i)=>{"use strict";i.d(z,{T:()=>d});var e=i(54438),t=i(41727);const l=()=>["Item 1","Item 2","Item 3","Item 4","Item 5 (preselected)"],M_template="";let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-dropdown-example-pre-selected"]],inputs:{size:"size"},decls:1,vars:4,consts:[[3,"size","items","selectedIndex"]],template:function(v,E){1&v&&e.nrm(0,"kirby-dropdown",0),2&v&&e.Y8G("size",E.size)("items",e.lJ4(3,l))("selectedIndex",4)},dependencies:[t.Ps],encapsulation:2}),a})()},30521:(Ze,z,i)=>{"use strict";i.d(z,{z:()=>d});var e=i(54438),t=i(41727);const l=()=>["Item 1","Item 2","Item 3","Item 4","Item 5"],M={selector:"cookbook-dropdown-example-right-aligned",template:"",styles:[":host(.right-align) {\n display: flex;\n}","kirby-dropdown {\n margin-left: auto;\n}"]};let d=(()=>{var p;class a{constructor(){this.template=M.template,this.styles=M.styles.join("\n")}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-dropdown-example-right-aligned"]],hostVars:2,hostBindings:function(v,E){2&v&&e.AVh("right-align",!0)},inputs:{size:"size"},decls:1,vars:3,consts:[["placeholder","Right aligned (opens left)","popout","left",3,"size","items"]],template:function(v,E){1&v&&e.nrm(0,"kirby-dropdown",0),2&v&&e.Y8G("size",E.size)("items",e.lJ4(2,l))},dependencies:[t.Ps],styles:[".right-align[_nghost-%COMP%]{display:flex}","kirby-dropdown[_ngcontent-%COMP%]{margin-left:auto}"]}),a})()},62889:(Ze,z,i)=>{"use strict";i.d(z,{g:()=>d});var e=i(54438),t=i(41727);const l=()=>["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"],M_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 d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-dropdown-example-scroll"]],inputs:{size:"size"},decls:1,vars:3,consts:[["placeholder","Dropdown with scroll (> 8 items)",3,"size","items"]],template:function(v,E){1&v&&e.nrm(0,"kirby-dropdown",0),2&v&&e.Y8G("size",E.size)("items",e.lJ4(2,l))},dependencies:[t.Ps],encapsulation:2}),a})()},7767:(Ze,z,i)=>{"use strict";i.d(z,{X:()=>d});var e=i(54438),t=i(49711),l=i(47008);const M_template='\n \n \n\n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"kirby-empty-state",0)(1,"button",1),e.EFF(2,"Primary action"),e.k0s(),e.j41(3,"button",2),e.EFF(4,"Secondary action"),e.k0s()())},dependencies:[t.o,l.Q],encapsulation:2}),a})()},97737:(Ze,z,i)=>{"use strict";i.d(z,{s:()=>d});var e=i(54438),t=i(49711),l=i(13339);const M_template='
\n \n \n \n
';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"div",0),e.nrm(1,"kirby-empty-state",1)(2,"kirby-empty-state",2)(3,"kirby-empty-state",3),e.k0s())},dependencies:[t.o,l.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}}"]}),a})()},40638:(Ze,z,i)=>{"use strict";i.d(z,{W:()=>d});var e=i(54438),t=i(49711),l=i(47008);const M_template='\n \n\n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"kirby-empty-state",0)(1,"button",1),e.EFF(2,"Resolve state"),e.k0s()())},dependencies:[t.o,l.Q],encapsulation:2}),a})()},2923:(Ze,z,i)=>{"use strict";i.d(z,{V:()=>A});var e=i(60177),t=i(47008),l=i(98990),M=i(35043),d=i(54438);const p=["*"];function a($,K){1&$&&d.nrm(0,"kirby-icon",6)}function _($,K){1&$&&d.nrm(0,"kirby-icon",7)}function v($,K){if(1&$){const X=d.RV6();d.j41(0,"button",3),d.bIt("click",function(){d.eBV(X);const G=d.XpG();return d.Njj(G.toggleConfig())}),d.EFF(1," Configure "),d.DNE(2,a,1,0,"kirby-icon",4)(3,_,1,0,"kirby-icon",5),d.k0s()}if(2&$){const X=d.XpG();d.R7$(2),d.Y8G("ngIf",!X.showConfig),d.R7$(),d.Y8G("ngIf",X.showConfig)}}function E($,K){1&$&&d.eu8(0)}function u($,K){if(1&$&&(d.qex(0),d.j41(1,"kirby-card"),d.DNE(2,E,1,0,"ng-container",8),d.k0s(),d.bVm()),2&$){d.XpG();const X=d.sdS(3);d.R7$(2),d.Y8G("ngTemplateOutlet",X)}}function O($,K){if(1&$&&(d.j41(0,"fieldset")(1,"legend"),d.EFF(2),d.k0s(),d.SdG(3),d.k0s()),2&$){const X=d.XpG();d.R7$(2),d.JRh(X.title)}}let A=(()=>{var $;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}}return($=K).\u0275fac=function(J){return new(J||$)},$.\u0275cmp=d.VBU({type:$,selectors:[["cookbook-example-configuration-wrapper"]],hostVars:4,hostBindings:function(J,G){2&J&&(d.HbH(G._cssClass),d.AVh("show-config",G.showConfig))},inputs:{configAppearance:"configAppearance",title:"title",align:"align"},standalone:!0,features:[d.aNF],ngContentSelectors:p,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(J,G){if(1&J&&(d.NAR(),d.DNE(0,v,4,2,"button",1)(1,u,3,1,"ng-container",2)(2,O,4,1,"ng-template",null,0,d.C5r)),2&J){const fe=d.sdS(3);d.Y8G("ngIf","toggle"===G.configAppearance),d.R7$(),d.Y8G("ngIf","block"!==G.configAppearance)("ngIfElse",fe)}},dependencies:[e.MD,e.bT,e.T3,t.Q,l.Dw,l.ib,M.op,M.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}']}),K})()},60167:(Ze,z,i)=>{"use strict";i.d(z,{u:()=>p});var e=i(54438),t=i(57017),l=i(35043),M=i(50589),d=i(81443);let p=(()=>{var a;class _{constructor(E){this.toastController=E,this.disableFabSheet=!1,this.items=[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}]}onItemSelect(E){this.toastController.showToast({message:`'${E.text}' was selected.`,messageType:"success",durationInMs:1500})}}return(a=_).\u0275fac=function(E){return new(E||a)(e.rXU(t.K))},a.\u0275cmp=e.VBU({type:a,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(E,u){1&E&&(e.j41(0,"kirby-fab-sheet",0),e.nrm(1,"kirby-icon",1),e.j41(2,"kirby-action-sheet",2),e.bIt("itemSelect",function(A){return u.onItemSelect(A)}),e.k0s()()),2&E&&(e.Y8G("disabled",u.disableFabSheet),e.R7$(2),e.Y8G("items",u.items))},dependencies:[l.Rl,M.U,d.vL],encapsulation:2}),_})()},84083:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>M});var e=i(54438),t=i(8346);const l_template='Success\nWarning\nDanger\nSemi-Light\nTransparent';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-flag",0),e.EFF(1,"Success"),e.k0s(),e.j41(2,"kirby-flag",1),e.EFF(3,"Warning"),e.k0s(),e.j41(4,"kirby-flag",2),e.EFF(5,"Danger"),e.k0s(),e.j41(6,"kirby-flag",3),e.EFF(7,"Semi-Light"),e.k0s(),e.j41(8,"kirby-flag",4),e.EFF(9,"Transparent"),e.k0s())},dependencies:[t.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)"}']}),p})()},80177:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>M});var e=i(54438),t=i(8346);const l_template='Extra Small (xs)\nSmall (sm)\nMedium (md)';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-flag-example-sizes"]],decls:6,vars:0,consts:[["size","xs"],["size","sm"],["size","md","title","(default)"]],template:function(_,v){1&_&&(e.j41(0,"kirby-flag",0),e.EFF(1,"Extra Small (xs)"),e.k0s(),e.j41(2,"kirby-flag",1),e.EFF(3,"Small (sm)"),e.k0s(),e.j41(4,"kirby-flag",2),e.EFF(5,"Medium (md)"),e.k0s())},dependencies:[t.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)"}']}),p})()},78977:(Ze,z,i)=>{"use strict";i.d(z,{s:()=>p});var e=i(54438),t=i(35043),l=i(90599),M=i(56297);const d_template='\n \n \n\n\n\n \n kr/md\n\n\n\n \n \n \n';let p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,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(E,u){1&E&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"kirby-icon",1)(2,"input",2),e.k0s(),e.j41(3,"kirby-form-field",3),e.nrm(4,"input",4),e.j41(5,"span",5),e.EFF(6,"kr/md"),e.k0s()(),e.j41(7,"kirby-form-field",6),e.nrm(8,"kirby-icon",7)(9,"input",8)(10,"kirby-spinner",5),e.k0s()),2&E&&(e.R7$(2),e.Y8G("size",u.size),e.R7$(2),e.Y8G("size",u.size)("size",u.size),e.R7$(5),e.Y8G("size",u.size))},dependencies:[t.Rl,l.t,M.KS,M.Sj,M.ke],encapsulation:2}),_})()},65064:(Ze,z,i)=>{"use strict";i.d(z,{H:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s()),2&_&&(e.R7$(),e.Y8G("size",v.size))},dependencies:[t.KS,t.Sj],encapsulation:2}),p})()},8060:(Ze,z,i)=>{"use strict";i.d(z,{j:()=>p});var e=i(54438),t=i(13339),l=i(98990),M=i(56297);const d={selector:"cookbook-form-field-input-color-example",template:'\n \n \n \n\n
\n \n \n \n \n
\n'};let p=(()=>{var a;class _{constructor(){this.color="white"}get template(){return d.template.split('
')[0]}setThemeColor(E){this.color=E}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,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(E,u){1&E&&(e.j41(0,"kirby-card",0)(1,"kirby-form-field"),e.nrm(2,"input",1),e.k0s()(),e.j41(3,"div",2)(4,"button",3),e.bIt("click",function(){return u.setThemeColor("white")}),e.k0s(),e.j41(5,"button",4),e.bIt("click",function(){return u.setThemeColor("light")}),e.k0s(),e.j41(6,"button",5),e.bIt("click",function(){return u.setThemeColor("secondary")}),e.k0s(),e.j41(7,"button",6),e.bIt("click",function(){return u.setThemeColor("dark")}),e.k0s()()),2&E&&e.Y8G("themeColor",u.color)},dependencies:[t.Cd,l.ib,M.KS,M.Sj],styles:["kirby-page-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(cookbook-example-configuration-wrapper){display:block}kirby-page-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]:not(cookbook-example-configuration-wrapper){margin-top:24px}kirby-card[_ngcontent-%COMP%]{--kirby-card-width: min(500px, 100%);margin:1rem auto}.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)}"]}),_})()},51067:(Ze,z,i)=>{"use strict";i.d(z,{Q:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n \n\n\n\n \n \n\n\n\n \n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){if(1&_&&(e.j41(0,"kirby-form-field"),e.nrm(1,"input",3,0)(3,"kirby-input-counter",4),e.k0s(),e.j41(4,"kirby-form-field"),e.nrm(5,"input",5,1)(7,"kirby-input-counter",4),e.k0s(),e.j41(8,"kirby-form-field",6),e.nrm(9,"input",7,2)(11,"kirby-input-counter",4),e.k0s()),2&_){const E=e.sdS(2),u=e.sdS(6),O=e.sdS(10);e.R7$(),e.Y8G("size",v.size),e.R7$(2),e.Y8G("listenTo",E),e.R7$(2),e.Y8G("size",v.size),e.R7$(2),e.Y8G("listenTo",u),e.R7$(2),e.Y8G("size",v.size),e.R7$(2),e.Y8G("listenTo",O)}},dependencies:[t.KS,t.sP,t.Sj],encapsulation:2}),p})()},88351:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>d});var e=i(54438),t=i(35043),l=i(56297);const M_template='\n \n\n\n\n \n \n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,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(v,E){1&v&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s(),e.j41(2,"kirby-form-field",2),e.nrm(3,"input",1)(4,"kirby-icon",3),e.k0s()),2&v&&(e.R7$(),e.Y8G("size",E.size)("useNativeDatePicker",!0),e.R7$(2),e.Y8G("size",E.size)("useNativeDatePicker",!0))},dependencies:[t.Rl,l.KS,l.Sj,l.ke],encapsulation:2}),a})()},64911:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s()),2&_&&(e.R7$(),e.Y8G("size",v.size))},dependencies:[t.KS,t.Sj],encapsulation:2}),p})()},9645:(Ze,z,i)=>{"use strict";i.d(z,{L:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s())},dependencies:[t.KS,t.Ry,t.Sj],encapsulation:2}),p})()},24998:(Ze,z,i)=>{"use strict";i.d(z,{t:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field"),e.nrm(1,"input",0),e.k0s()),2&_&&(e.R7$(),e.Y8G("size",v.size))},dependencies:[t.KS,t.Sj],encapsulation:2}),p})()},50627:(Ze,z,i)=>{"use strict";i.d(z,{M:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field"),e.nrm(1,"input",0),e.k0s()),2&_&&(e.R7$(),e.Y8G("size",v.size))},dependencies:[t.KS,t.Sj],encapsulation:2}),p})()},67477:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s()),2&_&&(e.R7$(),e.Y8G("size",v.size))},dependencies:[t.KS,t.Sj],encapsulation:2}),p})()},22847:(Ze,z,i)=>{"use strict";i.d(z,{M:()=>p});var e=i(54438),t=i(56297),l=i(11235);const M=["formfield"],d_template='\n\n\n \n',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.codeSnippet=d_codeSnippet,this.inputEnabled=!1}onToggleInput(E){this.inputEnabled=E,E&&this.formfield.focus()}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-form-field-focus-example"]],viewQuery:function(E,u){if(1&E&&e.GBs(M,7),2&E){let O;e.mGM(O=e.lsd())&&(u.formfield=O.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(E,u){if(1&E){const O=e.RV6();e.j41(0,"kirby-checkbox",1),e.bIt("checkedChange",function($){return e.eBV(O),e.Njj(u.onToggleInput($))}),e.k0s(),e.j41(1,"kirby-form-field",null,0),e.nrm(3,"input",2),e.k0s()}2&E&&(e.Y8G("checked",u.inputEnabled),e.R7$(3),e.Y8G("size",u.size)("disabled",!u.inputEnabled))},dependencies:[t.KS,t.Sj,l.P],styles:["kirby-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-right:4px}"]}),_})()},45415:(Ze,z,i)=>{"use strict";i.d(z,{Z:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s()),2&_&&(e.R7$(),e.Y8G("size",v.size))},dependencies:[t.KS,t.Sj],encapsulation:2}),p})()},54521:(Ze,z,i)=>{"use strict";i.d(z,{o:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s()),2&_&&(e.R7$(),e.Y8G("size",v.size))},dependencies:[t.KS,t.Sj],encapsulation:2}),p})()},83108:(Ze,z,i)=>{"use strict";i.d(z,{f:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"input",1),e.k0s()),2&_&&(e.R7$(),e.Y8G("size",v.size))},dependencies:[t.KS,t.Sj],encapsulation:2}),p})()},19503:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n \n\n\n\n \n \n\n\n\n \n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){if(1&_&&(e.j41(0,"kirby-form-field"),e.nrm(1,"textarea",3,0)(3,"kirby-input-counter",4),e.k0s(),e.j41(4,"kirby-form-field"),e.nrm(5,"textarea",5,1)(7,"kirby-input-counter",4),e.k0s(),e.j41(8,"kirby-form-field",6),e.nrm(9,"textarea",7,2)(11,"kirby-input-counter",4),e.k0s()),2&_){const E=e.sdS(2),u=e.sdS(6),O=e.sdS(10);e.R7$(3),e.Y8G("listenTo",E),e.R7$(4),e.Y8G("listenTo",u),e.R7$(4),e.Y8G("listenTo",O)}},dependencies:[t.KS,t.sP,t.QC],encapsulation:2}),p})()},79186:(Ze,z,i)=>{"use strict";i.d(z,{H:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-form-field-textarea-example"]],decls:2,vars:0,consts:[["kirby-textarea","","placeholder","Default textarea with placeholder text"]],template:function(_,v){1&_&&(e.j41(0,"kirby-form-field"),e.nrm(1,"textarea",0),e.k0s())},dependencies:[t.KS,t.QC],encapsulation:2}),p})()},37965:(Ze,z,i)=>{"use strict";i.d(z,{W:()=>M});var e=i(54438),t=i(56297);const l_template='\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-form-field-textarea-label-example"]],decls:2,vars:0,consts:[["label","Textarea with label"],["kirby-textarea",""]],template:function(_,v){1&_&&(e.j41(0,"kirby-form-field",0),e.nrm(1,"textarea",1),e.k0s())},dependencies:[t.KS,t.QC],encapsulation:2}),p})()},15874:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>M});var e=i(54438),t=i(56297),l=i(27037);let M=(()=>{var d;class p{constructor(){this.items=[{title:"Medium (md)",value:t.YI.medium},{title:"Large (lg) - default",value:t.YI.large}],this.size=t.YI.large,this.sizeChange=new e.bkB,this.onChange=_=>{this.size=_.value,this.sizeChange.emit(_.value)}}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"fieldset")(1,"legend"),e.EFF(2,"Input field size for examples below"),e.k0s(),e.j41(3,"p")(4,"strong"),e.EFF(5,"Size:"),e.k0s(),e.nrm(6,"br"),e.j41(7,"kirby-radio-group",0),e.bIt("valueChange",function(u){return v.onChange(u)}),e.k0s()()()),2&_&&(e.R7$(7),e.Y8G("items",v.items)("selectedIndex",1))},dependencies:[l.Y2],styles:["fieldset[_ngcontent-%COMP%]{display:inline-block}"]}),p})()},98299:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>a});var e=i(54438),t=i(60177),l=i(98990);function M(_,v){if(1&_&&(e.j41(0,"option",13),e.EFF(1),e.k0s()),2&_){const E=v.$implicit,u=e.XpG();e.FS9("value",E.value),e.BMQ("selected",u.spacingSizes===E.value||null),e.R7$(),e.SpI(" ",E.text," ")}}function d(_,v){if(1&_&&(e.j41(0,"option",13),e.EFF(1),e.k0s()),2&_){const E=v.$implicit,u=e.XpG();e.FS9("value",E.value),e.BMQ("selected",u.spacingSizes===E.value||null),e.R7$(),e.SpI(" ",E.text," ")}}function p(_,v){if(1&_&&(e.j41(0,"option",13),e.EFF(1),e.k0s()),2&_){const E=v.$implicit,u=e.XpG();e.FS9("value",E.value),e.BMQ("selected",u.spacingSizes===E.value||null),e.R7$(),e.SpI(" ",E.text," ")}}let a=(()=>{var _;class v{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(u){this.spacing=u}onRowSpacingSizeChange(u){this.rowSpacing=u}onColumnSpacingSizeChange(u){this.columnSpacing=u}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,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(u,O){1&u&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2,"Basic Grid"),e.k0s(),e.j41(3,"div",1)(4,"div",2)(5,"kirby-card"),e.nrm(6,"kirby-card-header",3),e.k0s()(),e.j41(7,"div",4)(8,"kirby-card"),e.nrm(9,"kirby-card-header",5),e.k0s()(),e.j41(10,"div",4)(11,"kirby-card"),e.nrm(12,"kirby-card-header",5),e.k0s()(),e.j41(13,"div",2)(14,"kirby-card"),e.nrm(15,"kirby-card-header",3),e.k0s()()()(),e.j41(16,"div",0)(17,"h2"),e.EFF(18,"Multiple breakpoints"),e.k0s(),e.j41(19,"div",1)(20,"div",6)(21,"kirby-card"),e.nrm(22,"kirby-card-header",7),e.k0s()(),e.j41(23,"div",8)(24,"kirby-card"),e.nrm(25,"kirby-card-header",9),e.k0s()(),e.j41(26,"div",8)(27,"kirby-card"),e.nrm(28,"kirby-card-header",9),e.k0s()(),e.j41(29,"div",6)(30,"kirby-card"),e.nrm(31,"kirby-card-header",7),e.k0s()()()(),e.j41(32,"div",0)(33,"h2"),e.EFF(34,"Spacing"),e.k0s(),e.j41(35,"fieldset")(36,"legend"),e.EFF(37,"Grid Spacing"),e.k0s(),e.j41(38,"select",10),e.bIt("change",function($){return O.onSpacingSizeChange($.target.value)}),e.j41(39,"option",11),e.EFF(40,"-"),e.k0s(),e.DNE(41,M,2,3,"option",12),e.k0s(),e.j41(42,"legend"),e.EFF(43,"Grid Row Spacing"),e.k0s(),e.j41(44,"select",10),e.bIt("change",function($){return O.onRowSpacingSizeChange($.target.value)}),e.j41(45,"option",11),e.EFF(46,"-"),e.k0s(),e.DNE(47,d,2,3,"option",12),e.k0s(),e.j41(48,"legend"),e.EFF(49,"Grid Column Spacing"),e.k0s(),e.j41(50,"select",10),e.bIt("change",function($){return O.onColumnSpacingSizeChange($.target.value)}),e.j41(51,"option",11),e.EFF(52,"-"),e.k0s(),e.DNE(53,p,2,3,"option",12),e.k0s()(),e.j41(54,"div",1)(55,"div",2)(56,"kirby-card"),e.nrm(57,"kirby-card-header",3),e.k0s()(),e.j41(58,"div",4)(59,"kirby-card"),e.nrm(60,"kirby-card-header",5),e.k0s()(),e.j41(61,"div",4)(62,"kirby-card"),e.nrm(63,"kirby-card-header",3),e.k0s()(),e.j41(64,"div",2)(65,"kirby-card"),e.nrm(66,"kirby-card-header",3),e.k0s()()()()),2&u&&(e.R7$(41),e.Y8G("ngForOf",O.spacingSizes),e.R7$(6),e.Y8G("ngForOf",O.spacingSizes),e.R7$(6),e.Y8G("ngForOf",O.spacingSizes),e.R7$(),e.BMQ("spacing",O.spacing)("row-spacing",O.rowSpacing)("column-spacing",O.columnSpacing))},dependencies:[t.Sq,l.ib,l.lM],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}"]}),v})()},52556:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>O});var v,e=i(72211),t=i(54438),l=i(57017),M=i(91365),d=i(52375),p=i(35043),a=i(29660),_=i(47008);function E(A,$){if(1&A){const K=t.RV6();t.j41(0,"kirby-action-group")(1,"button",4),t.bIt("click",function(){t.eBV(K);const J=t.XpG();return t.Njj(J.actionClicked("Action 1"))}),t.nrm(2,"kirby-icon",5),t.j41(3,"span",6),t.EFF(4,"Action 1"),t.k0s()(),t.j41(5,"button",4),t.bIt("click",function(){t.eBV(K);const J=t.XpG();return t.Njj(J.actionClicked("Action 2"))}),t.EFF(6," Action 2 "),t.k0s(),t.j41(7,"button",4),t.bIt("click",function(){t.eBV(K);const J=t.XpG();return t.Njj(J.actionClicked("Action 3"))}),t.EFF(8," Action 3 "),t.k0s()()}}class O extends e.y{constructor($){super(),this.toastController=$}actionClicked($){this.toastController.showToast({message:`${$} was selected.`,messageType:"success",durationInMs:1500})}}(v=O).template='\n \n \n \n \n \n \n \n\n \n
\n
\n
'.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">..."),v.\u0275fac=function($){return new($||v)(t.rXU(l.K))},v.\u0275cmp=t.VBU({type:v,selectors:[["ng-component"]],features:[t.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){1&$&&(t.j41(0,"kirby-page",0)(1,"kirby-header",1),t.DNE(2,E,9,0,"kirby-action-group",2),t.k0s(),t.j41(3,"kirby-page-content"),t.nrm(4,"div",3),t.k0s()()),2&$&&(t.R7$(),t.Y8G("title","Action Group"),t.R7$(3),t.Y8G("innerHTML",K.content,t.npT))},dependencies:[M.H1,M.Uu,d.lZ,d.eg,p.Rl,a.p,_.Q],encapsulation:2})},23769:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>p});var e=i(54438),t=i(28287),l=i(52375),M=i(35043);const d_template='\n \n \n \n';let p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-header-example-avatar"]],decls:3,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],["size","lg"],["name","kirby"]],template:function(E,u){1&E&&(e.j41(0,"kirby-header",0)(1,"kirby-avatar",1),e.nrm(2,"kirby-icon",2),e.k0s()()),2&E&&e.Y8G("title","Title")},dependencies:[t.f,l.lZ,M.Rl],encapsulation:2}),_})()},47999:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>K});var e=i(54005),t=i(54438),l=i(57017),M=i(28287),d=i(29660),p=i(47008),a=i(8346),_=i(75797),v=i(52375),E=i(35043);function u(X,J){1&X&&t.nrm(0,"kirby-icon",7)}function O(X,J){1&X&&(t.j41(0,"kirby-action-group")(1,"button",8),t.nrm(2,"kirby-icon",4),t.EFF(3," Action 1 "),t.k0s(),t.j41(4,"button",8),t.EFF(5," Action 2 "),t.k0s(),t.j41(6,"button",8),t.EFF(7," Action 3 "),t.k0s()())}function A(X,J){1&X&&(t.j41(0,"div",9),t.nrm(1,"kirby-badge",10),t.EFF(2," Custom section "),t.k0s())}const $={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:e.$.styles};let K=(()=>{var X;class J{constructor(fe){this.toastController=fe,this.template=$.template,this.styles=$.styles.join("\n\n")}onTitleClick(fe){this.toastController.showToast({message:"Title clicked...",messageType:"success",durationInMs:1500})}}return(X=J).\u0275fac=function(fe){return new(fe||X)(t.rXU(l.K))},X.\u0275cmp=t.VBU({type:X,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(fe,he){1&fe&&(t.j41(0,"kirby-header",0),t.bIt("titleClick",function(ke){return he.onTitleClick(ke)}),t.DNE(1,u,1,0,"kirby-icon",1)(2,O,8,0,"kirby-action-group",2),t.j41(3,"kirby-avatar",3),t.nrm(4,"kirby-icon",4),t.k0s(),t.j41(5,"kirby-flag",5),t.EFF(6,"Warning"),t.k0s(),t.DNE(7,A,3,0,"div",6),t.k0s()),2&fe&&t.Y8G("title","Title")},dependencies:[M.f,d.p,_.n,p.Q,a.q,v.lZ,v.eg,v.vg,v.mx,E.Rl],styles:[".custom-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--kirby-text-color-semi-dark)}"]}),J})()},71613:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>A});var E,e=i(72211),t=i(54438),l=i(57017),M=i(91365),d=i(52375),p=i(35043),a=i(81365),_=i(92585),v=i(47008);function u($,K){if(1&$){const X=t.RV6();t.qex(0),t.j41(1,"kirby-menu")(2,"button",4),t.nrm(3,"kirby-icon",5),t.j41(4,"span"),t.EFF(5,"Action"),t.k0s()(),t.j41(6,"kirby-item",6),t.bIt("click",function(){t.eBV(X);const G=t.XpG();return t.Njj(G.actionClicked("Primary Action 1"))}),t.EFF(7," Primary Action 1 "),t.k0s(),t.j41(8,"kirby-item",6),t.bIt("click",function(){t.eBV(X);const G=t.XpG();return t.Njj(G.actionClicked("Primary Action 2"))}),t.EFF(9," Primary Action 2 "),t.k0s()(),t.j41(10,"kirby-menu")(11,"kirby-item",6),t.bIt("click",function(){t.eBV(X);const G=t.XpG();return t.Njj(G.actionClicked("Secondary Action 1"))}),t.EFF(12," Secondary Action 1 "),t.k0s(),t.j41(13,"kirby-item",6),t.bIt("click",function(){t.eBV(X);const G=t.XpG();return t.Njj(G.actionClicked("Secondary Action 2"))}),t.EFF(14," Secondary Action 2 "),t.k0s()(),t.bVm()}2&$&&(t.R7$(6),t.Y8G("selectable",!0),t.R7$(2),t.Y8G("selectable",!0),t.R7$(3),t.Y8G("selectable",!0),t.R7$(2),t.Y8G("selectable",!0))}class A extends e.y{constructor(K){super(),this.toastController=K,this.document=window.document.body}actionClicked(K){this.toastController.showToast({message:`${K} was selected.`,messageType:"success",durationInMs:1500})}}(E=A).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
'.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">..."),E.\u0275fac=function(K){return new(K||E)(t.rXU(l.K))},E.\u0275cmp=t.VBU({type:E,selectors:[["ng-component"]],features:[t.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(K,X){1&K&&(t.j41(0,"kirby-page",0)(1,"kirby-header",1),t.DNE(2,u,15,4,"ng-container",2),t.k0s(),t.j41(3,"kirby-page-content"),t.nrm(4,"div",3),t.k0s()()),2&K&&(t.R7$(),t.Y8G("title","Custom actions"),t.R7$(3),t.Y8G("innerHTML",X.content,t.npT))},dependencies:[M.H1,M.Uu,d.lZ,d.eg,p.Rl,a.JA,_.Z,v.Q],encapsulation:2})},48982:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>p});var e=i(54438),t=i(75797),l=i(52375);function M(a,_){1&a&&(e.j41(0,"div",2),e.nrm(1,"kirby-badge",3),e.EFF(2," Custom content in flag section "),e.k0s())}const d={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 p=(()=>{var a;class _{constructor(){this.template=d.template,this.styles=d.styles.join("\n\n")}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,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(E,u){1&E&&(e.j41(0,"kirby-header",0),e.DNE(1,M,3,0,"div",1),e.k0s()),2&E&&e.Y8G("title","Title")},dependencies:[t.n,l.lZ,l.w0],styles:[".custom-flag[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}"]}),_})()},54005:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>d,V:()=>p});var e=i(54438),t=i(75797),l=i(52375);function M(a,_){1&a&&(e.j41(0,"div",2),e.nrm(1,"kirby-badge",3),e.EFF(2," Custom section "),e.k0s())}const d={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 p=(()=>{var a;class _{constructor(){this.template=d.template,this.styles=d.styles.join("\n\n")}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,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(E,u){1&E&&(e.j41(0,"kirby-header",0),e.DNE(1,M,3,0,"div",1),e.k0s()),2&E&&e.Y8G("title","Title")},dependencies:[t.n,l.lZ,l.vg],styles:[".custom-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--kirby-text-color-semi-dark)}"]}),_})()},20867:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>M});var e=i(54438),t=i(52375);const l_template='\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-header-example-default"]],decls:1,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"]],template:function(_,v){1&_&&e.nrm(0,"kirby-header",0),2&_&&e.Y8G("title","Title")},dependencies:[t.lZ],encapsulation:2}),p})()},70900:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>O});var v,e=i(72211),t=i(54438),l=i(57017),M=i(91365),d=i(52375),p=i(35043),a=i(29660),_=i(47008);function E(A,$){if(1&A){const K=t.RV6();t.j41(0,"kirby-action-group")(1,"button",4),t.bIt("click",function(){t.eBV(K);const J=t.XpG();return t.Njj(J.actionClicked("Action 1"))}),t.nrm(2,"kirby-icon",5),t.j41(3,"span",6),t.EFF(4,"Action 1"),t.k0s()(),t.j41(5,"button",7),t.bIt("click",function(){t.eBV(K);const J=t.XpG();return t.Njj(J.actionClicked("Action 2"))}),t.nrm(6,"kirby-icon",8),t.j41(7,"span",6),t.EFF(8,"Action 2"),t.k0s()()()}}class O extends e.y{constructor($){super(),this.toastController=$}actionClicked($){this.toastController.showToast({message:`${$} was selected.`,messageType:"success",durationInMs:1500})}}(v=O).template='\n \n \n \n \n \n \n\n \n
\n
\n
'.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">..."),v.\u0275fac=function($){return new($||v)(t.rXU(l.K))},v.\u0275cmp=t.VBU({type:v,selectors:[["ng-component"]],features:[t.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){1&$&&(t.j41(0,"kirby-page",0)(1,"kirby-header",1),t.DNE(2,E,9,0,"kirby-action-group",2),t.k0s(),t.j41(3,"kirby-page-content"),t.nrm(4,"div",3),t.k0s()()),2&$&&(t.R7$(),t.Y8G("emphasizeActions",!0)("title","Emphasize Actions"),t.R7$(3),t.Y8G("innerHTML",K.content,t.npT))},dependencies:[M.H1,M.Uu,d.lZ,d.eg,p.Rl,a.p,_.Q],encapsulation:2})},46954:(Ze,z,i)=>{"use strict";i.d(z,{H:()=>d});var e=i(54438),t=i(8346),l=i(52375);const M_template='\n Warning\n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-header-example-flag"]],decls:3,vars:1,consts:[["subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"],["themeColor","warning"]],template:function(v,E){1&v&&(e.j41(0,"kirby-header",0)(1,"kirby-flag",1),e.EFF(2,"Warning"),e.k0s()()),2&v&&e.Y8G("title","Title")},dependencies:[t.q,l.lZ],encapsulation:2}),a})()},80505:(Ze,z,i)=>{"use strict";i.d(z,{z:()=>E});var a,e=i(72211),t=i(54438),l=i(57017),M=i(91365),d=i(52375),p=i(35043);function _(u,O){1&u&&t.nrm(0,"kirby-icon",4)}class E extends e.y{constructor(O){super(),this.toastController=O}onTitleClick(O){const K={message:`Title ${O.currentTarget.closest("kirby-header")?"in header":"in toolbar"} clicked...`,messageType:"success",durationInMs:1500};this.toastController.showToast(K)}}(a=E).template='\n \n \n \n\n \n
\n
\n
'.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">..."),a.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}",a.\u0275fac=function(O){return new(O||a)(t.rXU(l.K))},a.\u0275cmp=t.VBU({type:a,selectors:[["ng-component"]],features:[t.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(O,A){1&O&&(t.j41(0,"kirby-page",0)(1,"kirby-header",1),t.bIt("titleClick",function(K){return A.onTitleClick(K)}),t.DNE(2,_,1,0,"kirby-icon",2),t.k0s(),t.j41(3,"kirby-page-content"),t.nrm(4,"div",3),t.k0s()()),2&O&&(t.R7$(),t.Y8G("title","Interactive Title"),t.R7$(3),t.Y8G("innerHTML",A.content,t.npT))},dependencies:[M.H1,M.Uu,d.lZ,d.mx,p.Rl],encapsulation:2})},57203:(Ze,z,i)=>{"use strict";i.d(z,{V:()=>_});var e=i(54438),t=i(28287),l=i(72882),M=i(52375),d=i(35043),p=i(13339);const a_template='\n \n \n \n \n \n';let _=(()=>{var v;class E{constructor(){this.template=a_template}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=e.VBU({type:v,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(O,A){1&O&&(e.j41(0,"kirby-header",0)(1,"kirby-progress-circle",1)(2,"kirby-avatar",2),e.nrm(3,"kirby-icon",3),e.k0s()()()),2&O&&e.Y8G("title","Title")},dependencies:[t.f,M.lZ,l.Z,d.Rl,p.Cd],encapsulation:2}),E})()},12203:(Ze,z,i)=>{"use strict";i.d(z,{P:()=>d});var e=i(54438),t=i(52375);const l=()=>["Mrs. Lady Like Tiff Tuff Escargoon Tokkori","&","Mr. Chef Kawasaki Tokkori"],M_template="\n";let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-header-example-subtitle-list"]],decls:1,vars:3,consts:[[3,"title","subtitle1"]],template:function(v,E){1&v&&e.nrm(0,"kirby-header",0),2&v&&e.Y8G("title","Title")("subtitle1",e.lJ4(2,l))},dependencies:[t.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}"]}),a})()},52436:(Ze,z,i)=>{"use strict";i.d(z,{e:()=>M});var e=i(54438),t=i(52375);const l_template='\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-header-example-title-scaling"]],decls:1,vars:1,consts:[["titleMaxLines","2","subtitle1","Subtitle one","subtitle2","Subtitle two",3,"title"]],template:function(_,v){1&_&&e.nrm(0,"kirby-header",0),2&_&&e.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:[t.lZ],encapsulation:2}),p})()},31519:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>M});var e=i(54438),t=i(52375);const l_template='\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-header",0),2&_&&e.Y8G("title","Title")},dependencies:[t.lZ],encapsulation:2}),p})()},58311:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>d});var l,e=i(54438),t=i(35043);const M_htmlSnippet='\n \n ',M_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 d{}(l=d).codeSnippet=M_codeSnippet,l.htmlSnippet=M_htmlSnippet,l.\u0275fac=function(a){return new(a||l)},l.\u0275cmp=e.VBU({type:l,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(a,_){1&a&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"kirby-icon",2),e.j41(3,"span",3),e.EFF(4,"football"),e.k0s()()(),e.j41(5,"div",0)(6,"div",1),e.nrm(7,"kirby-icon",4),e.j41(8,"span",3),e.EFF(9,"umbrella"),e.k0s()()())},dependencies:[t.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:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>u});var a,e=i(10467),t=i(35043),l=i(44354),M=i(54438),d=i(60177),p=i(13339);function _(O,A){if(1&O){const $=M.RV6();M.j41(0,"div",3)(1,"div",4)(2,"kirby-icon",5),M.bIt("click",function(X){const J=M.eBV($).$implicit,G=M.XpG();return M.Njj(G.onIconClick(X,J))}),M.k0s(),M.j41(3,"span",6),M.EFF(4),M.k0s()()()}if(2&O){const $=A.$implicit,K=M.XpG();M.R7$(2),M.Y8G("name",$)("title",$)("themeColor",null==K.color?null:K.color.name),M.R7$(2),M.JRh($)}}function v(O,A){if(1&O){const $=M.RV6();M.j41(0,"button",7),M.bIt("click",function(){const X=M.eBV($).$implicit,J=M.XpG();return M.Njj(J.changeColor(X))}),M.k0s()}2&O&&M.Y8G("ngClass",A.$implicit.name)}class u{constructor(){this.icons=t.o$,this.colors=[...l.A.brandColors,...l.A.notificationColors]}changeColor(A){this.color=A}onIconClick(A,$){return(0,e.A)(function*(){const K=``;yield navigator.clipboard.writeText(K);const X=A.target.closest("kirby-icon");X.classList.add("copied"),window.setTimeout(()=>{X.classList.remove("copied")},1500)})()}}(a=u).htmlSnippet='',a.\u0275fac=function(A){return new(A||a)},a.\u0275cmp=M.VBU({type:a,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(A,$){1&A&&(M.j41(0,"div"),M.DNE(1,_,5,4,"div",0),M.j41(2,"div")(3,"p"),M.EFF(4,"Icons automatically inherit the value set via the "),M.j41(5,"code"),M.EFF(6,"color"),M.k0s(),M.EFF(7," css property. You can experiment with various colors for the icons above here:"),M.k0s(),M.j41(8,"div",1),M.DNE(9,v,1,1,"button",2),M.k0s()()()),2&A&&(M.R7$(),M.Y8G("ngForOf",$.icons),M.R7$(8),M.Y8G("ngForOf",$.colors))},dependencies:[d.YU,d.Sq,t.Rl,p.Cd],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:(Ze,z,i)=>{"use strict";i.d(z,{l:()=>a});var M,e=i(35043),t=i(54438),l=i(60177);function d(_,v){if(1&_&&(t.j41(0,"div",1)(1,"div",2),t.nrm(2,"kirby-icon",3),t.j41(3,"span",4),t.EFF(4),t.k0s()()()),2&_){const E=v.$implicit;t.R7$(2),t.Y8G("size",E.value)("title",E.value),t.R7$(2),t.JRh(E.value)}}class a{constructor(){this.sizes=e.lK}}(M=a).htmlSnippet='\n\n\n',M.\u0275fac=function(v){return new(v||M)},M.\u0275cmp=t.VBU({type:M,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(v,E){1&v&&(t.DNE(0,d,5,3,"div",0),t.nI1(1,"keyvalue")),2&v&&t.Y8G("ngForOf",t.bMT(1,1,E.sizes))},dependencies:[l.Sq,e.Rl,l.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:(Ze,z,i)=>{"use strict";i.d(z,{y:()=>p});var e=i(54438),t=i(28287),l=i(35043),M=i(81365);const d_template='\n \n \n \n

Attach image

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

Title

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

Title

\n -849,00\n
';let p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-item-example-avatar"]],decls:7,vars:0,consts:[["overlay","true","slot","start"],["name","moneybag"],["slot","end","value","-849.00"]],template:function(E,u){1&E&&(e.j41(0,"kirby-item")(1,"kirby-avatar",0),e.nrm(2,"kirby-icon",1),e.k0s(),e.j41(3,"h3"),e.EFF(4,"Title"),e.k0s(),e.j41(5,"data",2),e.EFF(6,"-849,00"),e.k0s()())},dependencies:[t.f,l.Rl,M.JA],encapsulation:2}),_})()},39457:(Ze,z,i)=>{"use strict";i.d(z,{F:()=>a});var e=i(54438),t=i(28287),l=i(75797),M=i(35043),d=i(81365);const p_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
',p_styles=['div[slot="outside"] {\n display: flex;\n flex-direction: column;\n}'];let a=(()=>{var _;class v{constructor(){this.template=p_template,this.styles=p_styles[0]}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,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"],["subtitle",""],["detail",""],["slot","end","value","value",1,"kirby-text-bold"]],template:function(u,O){1&u&&(e.j41(0,"kirby-item")(1,"div",0),e.nrm(2,"kirby-badge",1)(3,"kirby-badge",2),e.k0s(),e.j41(4,"kirby-avatar",3),e.nrm(5,"kirby-icon",4),e.k0s(),e.j41(6,"kirby-label")(7,"h3"),e.EFF(8,"Jake The Snake Insurance"),e.k0s(),e.j41(9,"p",5),e.EFF(10,"Basic Insurance"),e.k0s(),e.j41(11,"p",6),e.EFF(12,"Account - Budget Account"),e.k0s()(),e.j41(13,"data",7),e.EFF(14,"Value"),e.k0s()())},dependencies:[t.f,l.n,M.Rl,d.JA,d.UF],styles:["div[slot=outside][_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),v})()},94430:(Ze,z,i)=>{"use strict";i.d(z,{y:()=>_});var e=i(54438),t=i(28287),l=i(75797),M=i(8346),d=i(35043),p=i(81365);const a_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
',a_styles=['div[slot="outside"] {\n display: flex;\n flex-direction: column;\n}'];let _=(()=>{var v;class E{constructor(){this.template=a_template,this.styles=a_styles[0]}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=e.VBU({type:v,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"],["detail",""],["slot","end","themeColor","success"],["value","300.00"]],template:function(O,A){1&O&&(e.j41(0,"kirby-item")(1,"div",0),e.nrm(2,"kirby-badge",1)(3,"kirby-badge",2),e.k0s(),e.j41(4,"kirby-avatar",3),e.nrm(5,"kirby-icon",4),e.j41(6,"kirby-badge"),e.nrm(7,"kirby-icon",5),e.k0s()(),e.j41(8,"kirby-label")(9,"h3"),e.EFF(10,"Lorem ipsum quam notem andamus gepulowitzh onga bonga bimmelon sid est insula"),e.k0s(),e.j41(11,"p",6),e.EFF(12,"Phone, Internet, Streaming services og other"),e.k0s()(),e.j41(13,"kirby-flag",7)(14,"data",8),e.EFF(15,"EUR 300,00"),e.k0s()()())},dependencies:[t.f,l.n,M.q,d.Rl,p.JA,p.UF],styles:["div[slot=outside][_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),E})()},25174:(Ze,z,i)=>{"use strict";i.d(z,{n:()=>d});var e=i(54438),t=i(47008),l=i(81365);const M_template='\n \n

Title

\n

Detail

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

Title

\n \n
\n
';let p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-item-example-card"]],decls:5,vars:0,consts:[["selectable","true"],["slot","end"]],template:function(E,u){1&E&&(e.j41(0,"kirby-card")(1,"kirby-item",0)(2,"h3"),e.EFF(3,"Title"),e.k0s(),e.nrm(4,"kirby-toggle",1),e.k0s()())},dependencies:[t.ib,l.JA,M.a],encapsulation:2}),_})()},68368:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>p});var e=i(49969),t=i(54438),l=i(98990),M=i(81365);const d_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
',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.animationCodeSnippetTS=d_animationCodeSnippetTS,this.isExpanded=!1}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-item-example-disclosure-animation"]],decls:10,vars:4,consts:[[3,"click","hasPadding"],[3,"hasPadding"],["disclosure","arrow-down",3,"rotateIcon"],[1,"kirby-text-bold"]],template:function(E,u){1&E&&(t.j41(0,"kirby-card",0),t.bIt("click",function(){return u.isExpanded=!u.isExpanded}),t.j41(1,"kirby-card-header",1)(2,"kirby-item",2)(3,"h3",3),t.EFF(4,"Disclosure animation example"),t.k0s()()(),t.j41(5,"div")(6,"p",3),t.EFF(7,"A card with animated disclosure icon"),t.k0s(),t.j41(8,"p"),t.EFF(9,"Lorem ipsum dolor sit amet, consectetur adipiscing elit."),t.k0s()()()),2&E&&(t.Y8G("hasPadding",!0),t.R7$(),t.Y8G("hasPadding",!1),t.R7$(),t.Y8G("rotateIcon",u.isExpanded),t.R7$(3),t.Y8G("@isExpanded",u.isExpanded))},dependencies:[l.ib,l.lM,l.qq,M.JA],styles:["[_nghost-%COMP%]{--kirby-card-padding-top: 0;--kirby-card-padding-bottom: 0}"],data:{animation:[(0,e.hZ)("isExpanded",[(0,e.wk)("true",(0,e.iF)({height:"*",visibility:"visible"})),(0,e.wk)("false",(0,e.iF)({height:"0px",visibility:"hidden"})),(0,e.kY)("true <=> false",(0,e.i0)("0.2s"))])]}}),_})()},66015:(Ze,z,i)=>{"use strict";i.d(z,{K:()=>a});var e=i(54438),t=i(28287),l=i(8346),M=i(35043),d=i(81365);const p_template='\n \n \n \n

Title

\n \n 60\n \n
';let a=(()=>{var _;class v{constructor(){this.template=p_template}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["cookbook-item-example-disclosure"]],decls:8,vars:1,consts:[["selectable","true",3,"disclosure"],["overlay","true","slot","start"],["name","moneybag"],["slot","end","themeColor","success"],["value","60.0"]],template:function(u,O){1&u&&(e.j41(0,"kirby-item",0)(1,"kirby-avatar",1),e.nrm(2,"kirby-icon",2),e.k0s(),e.j41(3,"h3"),e.EFF(4,"Title"),e.k0s(),e.j41(5,"kirby-flag",3)(6,"data",4),e.EFF(7,"60"),e.k0s()()()),2&u&&e.Y8G("disclosure","arrow-more")},dependencies:[t.f,l.q,M.Rl,d.JA],encapsulation:2}),v})()},91917:(Ze,z,i)=>{"use strict";i.d(z,{L:()=>d});var e=i(54438),t=i(28287),l=i(81365);const M_template='\n \n

Line Maria S\xf8rensen

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

Title

\n

Detail

\n
\n \n 60\n \n
',d_styles=['div[slot="outside"] {\n display: flex;\n flex-direction: column;\n}'];let p=(()=>{var a;class _{constructor(){this.template=d_template,this.styles=d_styles[0]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-item-example-flagged"]],decls:12,vars:0,consts:[["slot","outside"],["themeColor","success","size","sm"],["themeColor","warning","size","sm"],[1,"kirby-text-bold"],["detail",""],["slot","end","themeColor","success"],["value","60.0"]],template:function(E,u){1&E&&(e.j41(0,"kirby-item")(1,"div",0),e.nrm(2,"kirby-badge",1)(3,"kirby-badge",2),e.k0s(),e.j41(4,"kirby-label")(5,"h3",3),e.EFF(6,"Title"),e.k0s(),e.j41(7,"p",4),e.EFF(8,"Detail"),e.k0s()(),e.j41(9,"kirby-flag",5)(10,"data",6),e.EFF(11,"60"),e.k0s()()())},dependencies:[t.n,l.q,M.JA,M.UF],styles:["div[slot=outside][_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),_})()},85782:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>a});var e=i(54438),t=i(28287),l=i(75797),M=i(35043),d=i(81365);const p_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 a=(()=>{var _;class v{constructor(){this.template=p_template}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["cookbook-item-example-horizontal"]],decls:12,vars:0,consts:[["slot","start","overlay","true","imageSrc","/assets/images/woman.png"],["name","attach"],["direction","horizontal"],["detail",""]],template:function(u,O){1&u&&(e.j41(0,"kirby-item")(1,"kirby-avatar",0)(2,"kirby-badge"),e.nrm(3,"kirby-icon",1),e.k0s()(),e.j41(4,"kirby-label")(5,"kirby-label",2)(6,"h3"),e.EFF(7,"Lorem ipsum quam notem andamus gepulowitzh onga bonga bimmelon sid est insula"),e.k0s(),e.j41(8,"time",3),e.EFF(9,"20.12.2017"),e.k0s()(),e.j41(10,"p"),e.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."),e.k0s()()())},dependencies:[t.f,l.n,M.Rl,d.JA,d.UF],encapsulation:2}),v})()},27138:(Ze,z,i)=>{"use strict";i.d(z,{e:()=>a});var e=i(54438),t=i(28287),l=i(56297),M=i(35043),d=i(81365);const p_template='\n \n \n \n

Title

\n \n \n \n
';let a=(()=>{var _;class v{constructor(){this.template=p_template}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["cookbook-item-example-input-default"]],decls:7,vars:0,consts:[["slot","start"],["name","moneybag"],["slot","end"],["type","text","kirby-input","","value","Item with input","borderless","true"]],template:function(u,O){1&u&&(e.j41(0,"kirby-item")(1,"kirby-avatar",0),e.nrm(2,"kirby-icon",1),e.k0s(),e.j41(3,"h3"),e.EFF(4,"Title"),e.k0s(),e.j41(5,"kirby-form-field",2),e.nrm(6,"input",3),e.k0s()())},dependencies:[t.f,l.KS,M.Rl,l.Sj,d.JA],encapsulation:2}),v})()},23904:(Ze,z,i)=>{"use strict";i.d(z,{_:()=>a});var e=i(54438),t=i(28287),l=i(56297),M=i(35043),d=i(81365);const p_template='\n \n \n \n

Title

\n \n \n \n
';let a=(()=>{var _;class v{constructor(){this.template=p_template}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["cookbook-item-example-input-numeric"]],decls:7,vars:0,consts:[["slot","start"],["name","moneybag"],["slot","end"],["type","number","kirby-input","","value","100.00","borderless","true"]],template:function(u,O){1&u&&(e.j41(0,"kirby-item")(1,"kirby-avatar",0),e.nrm(2,"kirby-icon",1),e.k0s(),e.j41(3,"h3"),e.EFF(4,"Title"),e.k0s(),e.j41(5,"kirby-form-field",2),e.nrm(6,"input",3),e.k0s()())},dependencies:[t.f,l.KS,M.Rl,l.Sj,d.JA],encapsulation:2}),v})()},31686:(Ze,z,i)=>{"use strict";i.d(z,{J:()=>p});var e=i(54438),t=i(28287),l=i(35043),M=i(81365);const d_template='\n \n \n \n

Title

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

Title

\n

Detail

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

Title

\n

Detail

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

Title

\n

Detail

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

Disabled

\n \n
';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-item-example-settings-disabled"]],decls:4,vars:0,consts:[["disabled",""],["slot","end"]],template:function(v,E){1&v&&(e.j41(0,"kirby-item",0)(1,"h3"),e.EFF(2,"Disabled"),e.k0s(),e.nrm(3,"kirby-toggle",1),e.k0s())},dependencies:[t.JA,l.a],encapsulation:2}),a})()},69843:(Ze,z,i)=>{"use strict";i.d(z,{g:()=>d});var e=i(54438),t=i(81365),l=i(57808);const M_template='\n

Title

\n \n
';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-item-example-settings"]],decls:4,vars:0,consts:[["slot","end","checked","true"]],template:function(v,E){1&v&&(e.j41(0,"kirby-item")(1,"h3"),e.EFF(2,"Title"),e.k0s(),e.nrm(3,"kirby-toggle",0),e.k0s())},dependencies:[t.JA,l.a],encapsulation:2}),a})()},8730:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>M});var e=i(54438),t=i(81365);const l_template="\n

Medium (default)

\n
";let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-item-example-simple-md"]],decls:3,vars:0,template:function(_,v){1&_&&(e.j41(0,"kirby-item")(1,"h3"),e.EFF(2,"Medium (default)"),e.k0s()())},dependencies:[t.JA],encapsulation:2}),p})()},82795:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>M});var e=i(54438),t=i(81365);const l_template='\n

Small

\n
';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-item-example-simple-sm"]],decls:3,vars:0,consts:[["size","sm"]],template:function(_,v){1&_&&(e.j41(0,"kirby-item",0)(1,"h3"),e.EFF(2,"Small"),e.k0s()())},dependencies:[t.JA],encapsulation:2}),p})()},89958:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>M});var e=i(54438),t=i(81365);const l_template='\n

Extra small

\n
';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-item-example-simple-xs"]],decls:3,vars:0,consts:[["size","xs"]],template:function(_,v){1&_&&(e.j41(0,"kirby-item",0)(1,"h3"),e.EFF(2,"Extra small"),e.k0s()())},dependencies:[t.JA],encapsulation:2}),p})()},53098:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>M});var e=i(54438),t=i(81365);const l_template='\n

Title

\n Value\n
';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-item-example-simple"]],decls:5,vars:0,consts:[["slot","end"]],template:function(_,v){1&_&&(e.j41(0,"kirby-item")(1,"h3"),e.EFF(2,"Title"),e.k0s(),e.j41(3,"data",0),e.EFF(4,"Value"),e.k0s()())},dependencies:[t.JA],encapsulation:2}),p})()},21662:(Ze,z,i)=>{"use strict";i.d(z,{v:()=>M});var e=i(54438),t=i(81365);const l_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 M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-item-example-long-title"]],decls:5,vars:0,consts:[["slot","end"]],template:function(_,v){1&_&&(e.j41(0,"kirby-item")(1,"h3"),e.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"),e.k0s(),e.j41(3,"data",0),e.EFF(4,"Value"),e.k0s()())},dependencies:[t.JA],encapsulation:2}),p})()},51436:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>M});var e=i(54438),t=i(81365);const l_template="\n \n

Title

\n

With the 'wrap' attribute - text no longer faces the risk of abrupt truncation. With '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 M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-item-example-simple-multiline"]],decls:13,vars:0,consts:[["wrap","","subtitle",""],["detail",""],["slot","end","value","value"]],template:function(_,v){1&_&&(e.j41(0,"kirby-item")(1,"kirby-label")(2,"h3"),e.EFF(3,"Title"),e.k0s(),e.j41(4,"p",0),e.EFF(5," With the 'wrap' attribute - text no longer faces the risk of abrupt truncation. With "),e.j41(6,"code"),e.EFF(7,"'wrap'"),e.k0s(),e.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."),e.k0s(),e.j41(9,"p",1),e.EFF(10,"Detail"),e.k0s()(),e.j41(11,"data",2),e.EFF(12,"Value"),e.k0s()())},dependencies:[t.JA,t.UF],encapsulation:2}),p})()},20289:(Ze,z,i)=>{"use strict";i.d(z,{Q:()=>M});var e=i(54438),t=i(81365);const l_template='\n \n

Title

\n

Subtitle

\n

Detail

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

Title

\n

Detail

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

Inventory with a long name

\n \n 50 pcs.\n

2 currently in stock

\n
\n
';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-item-example-simple-two-value-lines"]],decls:8,vars:0,consts:[[1,"kirby-text-bold"],["slot","end"],["value","50"],["detail",""]],template:function(_,v){1&_&&(e.j41(0,"kirby-item")(1,"h3",0),e.EFF(2,"Inventory with a long name"),e.k0s(),e.j41(3,"kirby-label",1)(4,"data",2),e.EFF(5,"50 pcs."),e.k0s(),e.j41(6,"p",3),e.EFF(7,"2 currently in stock"),e.k0s()()())},dependencies:[t.JA,t.UF],encapsulation:2}),p})()},33382:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>d});var e=i(54438),t=i(81365),l=i(67155);const M_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 d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-simple-item-group-example"]],decls:38,vars:0,consts:[[1,"kirby-text-bold"],["detail",""],["slot","end"]],template:function(v,E){1&v&&(e.j41(0,"kirby-item-group")(1,"kirby-item")(2,"kirby-label")(3,"h3",0),e.EFF(4,"Title"),e.k0s(),e.j41(5,"p",1),e.EFF(6,"Detail"),e.k0s()(),e.j41(7,"kirby-label",2)(8,"data"),e.EFF(9,"Value"),e.k0s()()(),e.j41(10,"kirby-item")(11,"kirby-label")(12,"h3",0),e.EFF(13,"Title"),e.k0s(),e.j41(14,"p",1),e.EFF(15,"Detail"),e.k0s()(),e.j41(16,"kirby-label",2)(17,"data"),e.EFF(18,"Value"),e.k0s()()()(),e.j41(19,"kirby-item-group")(20,"kirby-item")(21,"kirby-label")(22,"h3",0),e.EFF(23,"Title"),e.k0s(),e.j41(24,"p",1),e.EFF(25,"Detail"),e.k0s()(),e.j41(26,"kirby-label",2)(27,"data"),e.EFF(28,"Value"),e.k0s()()(),e.j41(29,"kirby-item")(30,"kirby-label")(31,"h3",0),e.EFF(32,"Title"),e.k0s(),e.j41(33,"p",1),e.EFF(34,"Detail"),e.k0s()(),e.j41(35,"kirby-label",2)(36,"data"),e.EFF(37,"Value"),e.k0s()()()())},dependencies:[t.JA,t.UF,l._],encapsulation:2}),a})()},35728:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>p});var e=i(54438),t=i(81365),l=i(67155),M=i(18713);const d_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 p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-item-group-with-section-header-example"]],decls:44,vars:0,consts:[["heading",""],[1,"kirby-text-bold"],["detail",""],["slot","end"]],template:function(E,u){1&E&&(e.j41(0,"kirby-item-group")(1,"kirby-section-header")(2,"h3",0),e.EFF(3,"Item Group"),e.k0s()(),e.j41(4,"kirby-item")(5,"kirby-label")(6,"h3",1),e.EFF(7,"Title"),e.k0s(),e.j41(8,"p",2),e.EFF(9,"Detail"),e.k0s()(),e.j41(10,"kirby-label",3)(11,"data"),e.EFF(12,"Value"),e.k0s()()(),e.j41(13,"kirby-item")(14,"kirby-label")(15,"h3",1),e.EFF(16,"Title"),e.k0s(),e.j41(17,"p",2),e.EFF(18,"Detail"),e.k0s()(),e.j41(19,"kirby-label",3)(20,"data"),e.EFF(21,"Value"),e.k0s()()()(),e.j41(22,"kirby-item-group")(23,"kirby-section-header")(24,"h3",0),e.EFF(25,"Item Group"),e.k0s()(),e.j41(26,"kirby-item")(27,"kirby-label")(28,"h3",1),e.EFF(29,"Title"),e.k0s(),e.j41(30,"p",2),e.EFF(31,"Detail"),e.k0s()(),e.j41(32,"kirby-label",3)(33,"data"),e.EFF(34,"Value"),e.k0s()()(),e.j41(35,"kirby-item")(36,"kirby-label")(37,"h3",1),e.EFF(38,"Title"),e.k0s(),e.j41(39,"p",2),e.EFF(40,"Detail"),e.k0s()(),e.j41(41,"kirby-label",3)(42,"data"),e.EFF(43,"Value"),e.k0s()()()())},dependencies:[t.JA,t.UF,l._,M.U],encapsulation:2}),_})()},11330:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>_});var e=i(54438),t=i(60177),l=i(81365),M=i(29756),d=i(84584);function p(v,E){if(1&v&&(e.j41(0,"kirby-item-sliding",1)(1,"kirby-item"),e.EFF(2),e.k0s()()),2&v){const u=E.$implicit,O=E.index,A=e.XpG();e.Y8G("swipeActions",A.getSwipeActions(O)),e.R7$(2),e.JRh(u.value)}}const a_template='

{{text}}

\n\n \n {{ item.value }}\n \n',a_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 _=(()=>{var v;class E{constructor(){this.template=a_template,this.codeSnippet=a_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(O){const{isDeleteable:A}=this.items[O];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:!A}]}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=e.VBU({type:v,selectors:[["cookbook-item-sliding-conditional-example"]],decls:4,vars:2,consts:[[3,"swipeActions",4,"ngFor","ngForOf"],[3,"swipeActions"]],template:function(O,A){1&O&&(e.j41(0,"p"),e.EFF(1),e.k0s(),e.j41(2,"kirby-list-experimental"),e.DNE(3,p,3,2,"kirby-item-sliding",0),e.k0s()),2&O&&(e.R7$(),e.JRh(A.text),e.R7$(2),e.Y8G("ngForOf",A.items))},dependencies:[t.Sq,l.JA,M.qN,d.d],encapsulation:2}),E})()},4714:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>p});var e=i(54438),t=i(81365),l=i(29756),M=i(84584);const d_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',d_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 p=(()=>{var a;class _{constructor(){this.template=d_template,this.codeSnippet=d_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"}]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-item-sliding-simple-example"]],decls:15,vars:5,consts:[[3,"swipeActions"]],template:function(E,u){1&E&&(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&E&&(e.R7$(),e.JRh(u.text),e.R7$(2),e.Y8G("swipeActions",u.swipeActions),e.R7$(3),e.Y8G("swipeActions",u.swipeActions),e.R7$(3),e.Y8G("swipeActions",u.swipeActions),e.R7$(3),e.Y8G("swipeActions",u.swipeActions))},dependencies:[t.JA,l.qN,M.d],encapsulation:2}),_})()},81568:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>M});var e=i(54438),t=i(22694);const l_template='Extra small\nSmall\nNormal (default)';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"a",0),e.EFF(1,"Extra small"),e.k0s(),e.j41(2,"a",1),e.EFF(3,"Small"),e.k0s(),e.j41(4,"a",2),e.EFF(5,"Normal (default)"),e.k0s()),2&_&&(e.Y8G("routerLink","/home/changelog"),e.R7$(2),e.Y8G("routerLink","/home/changelog"),e.R7$(2),e.Y8G("routerLink","/home/changelog"))},dependencies:[t.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)}']}),p})()},96325:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>l});var e=i(54438);let l=(()=>{var M;class d{constructor(){this.template='Kirby on Github'}}return(M=d).\u0275fac=function(a){return new(a||M)},M.\u0275cmp=e.VBU({type:M,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(a,_){1&a&&(e.j41(0,"a",0),e.EFF(1,"Kirby on Github"),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)}']}),d})()},42959:(Ze,z,i)=>{"use strict";i.d(z,{f:()=>l});var e=i(54438);const t_template='Trailing icon',t_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 l=(()=>{var M;class d{constructor(){this.template=t_template,this.style=t_style}}return(M=d).\u0275fac=function(a){return new(a||M)},M.\u0275cmp=e.VBU({type:M,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(a,_){1&a&&(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)}']}),d})()},35022:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>a,w:()=>_});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(v,E){if(1&v&&(t.j41(0,"kirby-item",3)(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"p",4),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",5)(7,"data",6),t.EFF(8),t.k0s(),t.j41(9,"data",7),t.EFF(10),t.k0s()()()),2&v){const u=E.$implicit;t.Y8G("selectable",!0),t.R7$(3),t.JRh(u.title),t.R7$(2),t.JRh(u.subTitle),t.R7$(2),t.Y8G("value",u.amount),t.R7$(),t.JRh(u.amount),t.R7$(),t.Y8G("value",u.detail),t.R7$(),t.JRh(u.detail)}}const a='\n \n \n

{{item.title}}

\n

{{item.subTitle}}

\n
\n \n {{item.amount}}\n {{item.detail}}\n \n
\n';let _=(()=>{var v;class E extends e.p{constructor(){super(...arguments),this.getItemColor=O=>O.color}}return(v=E).\u0275fac=(()=>{let u;return function(A){return(u||(u=t.xGo(v)))(A||v)}})(),v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-list-colored-items-example"]],features:[t.Vt3],decls:4,vars:2,consts:[["title","List colored items"],[3,"itemSelect","items","getItemColor"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"selectable"],["subtitle",""],["slot","end"],[3,"value"],["detail","",3,"value"]],template:function(O,A){1&O&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.bIt("itemSelect",function(K){return A.onItemSelect(K)}),t.DNE(3,p,11,7,"kirby-item",2),t.k0s()()()),2&O&&(t.R7$(2),t.Y8G("items",A.items)("getItemColor",A.getItemColor))},dependencies:[l.H1,l.Uu,M.JA,M.UF,d.sB,d.bx],encapsulation:2}),E})()},33082:(Ze,z,i)=>{"use strict";i.d(z,{V:()=>u,w:()=>E});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756),p=i(47008);function a(O,A){1&O&&(t.j41(0,"kirby-list-header")(1,"p"),t.EFF(2,"Name"),t.k0s(),t.j41(3,"p"),t.EFF(4,"Value"),t.k0s()())}function _(O,A){if(1&O&&(t.j41(0,"kirby-item",5)(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"p",6),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",7)(7,"data",8),t.EFF(8),t.k0s(),t.j41(9,"data",9),t.EFF(10),t.k0s()()()),2&O){const $=A.$implicit;t.Y8G("selectable",!0),t.R7$(3),t.JRh($.title),t.R7$(2),t.JRh($.subTitle),t.R7$(2),t.Y8G("value",$.amount),t.R7$(),t.JRh($.amount),t.R7$(),t.Y8G("value",$.detail),t.R7$(),t.JRh($.detail)}}function v(O,A){1&O&&(t.j41(0,"div",10)(1,"p"),t.EFF(2,"An appropriate footer"),t.k0s(),t.j41(3,"button",11),t.EFF(4,"Click me!"),t.k0s()())}const E='\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 u=(()=>{var O;class A extends e.p{}return(O=A).\u0275fac=(()=>{let $;return function(X){return($||($=t.xGo(O)))(X||O)}})(),O.\u0275cmp=t.VBU({type:O,selectors:[["cookbook-list-with-header-and-footer-example"]],features:[t.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"],["subtitle",""],["slot","end"],[3,"value"],["detail","",3,"value"],[1,"footer"],["kirby-button",""]],template:function(K,X){1&K&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.bIt("itemSelect",function(G){return X.onItemSelect(G)}),t.DNE(3,a,5,0,"kirby-list-header",2)(4,_,11,7,"kirby-item",3)(5,v,5,0,"div",4),t.k0s()()()),2&K&&(t.R7$(2),t.Y8G("items",X.items))},dependencies:[l.H1,l.Uu,M.JA,M.UF,d.sB,d.bx,d.L9,d.px,d.HO,p.Q],styles:["p[_ngcontent-%COMP%]{margin:0}",".footer[_ngcontent-%COMP%]{text-align:center;width:100%}"]}),A})()},99080:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>a,F:()=>_});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(v,E){if(1&v&&(t.j41(0,"kirby-item")(1,"h3"),t.EFF(2),t.k0s(),t.j41(3,"data",3),t.EFF(4),t.k0s()()),2&v){const u=E.$implicit;t.R7$(2),t.JRh(u.title),t.R7$(2),t.JRh(u.amount)}}const a='\n \n

{{item.title}}

\n {{item.amount}}\n
\n
';let _=(()=>{var v;class E extends e.p{}return(v=E).\u0275fac=(()=>{let u;return function(A){return(u||(u=t.xGo(v)))(A||v)}})(),v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-list-items-no-dividers-example"]],features:[t.Vt3],decls:4,vars:2,consts:[["title","Items with no dividers"],[3,"items","showDivider"],[4,"kirbyListItemTemplate"],["slot","end"]],template:function(O,A){1&O&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.DNE(3,p,5,2,"kirby-item",2),t.k0s()()()),2&O&&(t.R7$(2),t.Y8G("items",A.items)("showDivider",!1))},dependencies:[l.H1,l.Uu,M.JA,d.sB,d.bx],encapsulation:2}),E})()},32737:(Ze,z,i)=>{"use strict";i.d(z,{K:()=>_,X:()=>a});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(v,E){if(1&v&&(t.j41(0,"kirby-item")(1,"h3"),t.EFF(2),t.k0s(),t.j41(3,"data",3),t.EFF(4),t.k0s()()),2&v){const u=E.$implicit;t.R7$(2),t.JRh(u.title),t.R7$(2),t.JRh(u.amount)}}const a='\n \n

{{item.title}}

\n {{item.amount}}\n
\n
';let _=(()=>{var v;class E extends e.p{}return(v=E).\u0275fac=(()=>{let u;return function(A){return(u||(u=t.xGo(v)))(A||v)}})(),v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-list-items-example"]],features:[t.Vt3],decls:4,vars:1,consts:[["title","Items"],[3,"items"],[4,"kirbyListItemTemplate"],["slot","end"]],template:function(O,A){1&O&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.DNE(3,p,5,2,"kirby-item",2),t.k0s()()()),2&O&&(t.R7$(2),t.Y8G("items",A.items))},dependencies:[l.H1,l.Uu,M.JA,d.sB,d.bx],encapsulation:2}),E})()},23579:(Ze,z,i)=>{"use strict";i.d(z,{M:()=>_,r:()=>v});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(E,u){1&E&&t.nrm(0,"kirby-list-section-header",4),2&E&&t.Y8G("title",u.$implicit)}function a(E,u){if(1&E&&(t.j41(0,"kirby-item",5)(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"data",6),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",7)(7,"data",8),t.EFF(8),t.k0s()()()),2&E){const O=u.$implicit;t.Y8G("selectable",!0),t.R7$(3),t.JRh(O.title),t.R7$(),t.Y8G("value",O.detail),t.R7$(),t.JRh(O.detail),t.R7$(2),t.Y8G("value",O.amount),t.R7$(),t.JRh(O.amount)}}const _='\n \n \n \n

{{ item.title }}

\n {{ item.detail }}\n
\n \n {{ item.amount }}\n \n
\n';let v=(()=>{var E;class u extends e.p{constructor(){super(...arguments),this.getItemColor=A=>A.color}getSectionName(A){return A.detail>0?"Positive":"Negative"}}return(E=u).\u0275fac=(()=>{let O;return function($){return(O||(O=t.xGo(E)))($||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["cookbook-list-with-sections-and-colored-items-example"]],features:[t.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"],["detail","",3,"value"],["slot","end"],[3,"value"]],template:function(A,$){1&A&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.bIt("itemSelect",function(X){return $.onItemSelect(X)}),t.DNE(3,p,1,1,"kirby-list-section-header",2)(4,a,9,6,"kirby-item",3),t.k0s()()()),2&A&&(t.R7$(2),t.Y8G("items",$.items)("getSectionName",$.getSectionName)("getItemColor",$.getItemColor))},dependencies:[l.H1,l.Uu,M.JA,M.UF,d.sB,d.bx,d.Wi,d.yr],encapsulation:2}),u})()},69780:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>v,t:()=>_});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(E,u){1&E&&t.nrm(0,"kirby-list-section-header",4),2&E&&t.Y8G("title",u.$implicit)}function a(E,u){if(1&E&&(t.j41(0,"kirby-item",5)(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"data",6),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",7)(7,"data",8),t.EFF(8),t.k0s()()()),2&E){const O=u.$implicit;t.Y8G("selectable",!0),t.R7$(3),t.JRh(O.title),t.R7$(),t.Y8G("value",O.detail),t.R7$(),t.JRh(O.detail),t.R7$(2),t.Y8G("value",O.amount),t.R7$(),t.JRh(O.amount)}}const _='\n \n \n \n

{{ item.title }}

\n {{ item.detail }}\n
\n \n {{ item.amount }}\n \n
\n';let v=(()=>{var E;class u extends e.p{getSectionName(A){return A.detail>0?"Positive":"Negative"}}return(E=u).\u0275fac=(()=>{let O;return function($){return(O||(O=t.xGo(E)))($||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["cookbook-list-with-stand-alone-example"]],features:[t.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"],["detail","",3,"value"],["slot","end"],[3,"value"]],template:function(A,$){1&A&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.bIt("itemSelect",function(X){return $.onItemSelect(X)}),t.DNE(3,p,1,1,"kirby-list-section-header",2)(4,a,9,6,"kirby-item",3),t.k0s()()()),2&A&&(t.R7$(2),t.Y8G("items",$.items)("getStandAloneByProperty","isStandAlone")("getSectionName",$.getSectionName)("standAloneSpacing","xxs"))},dependencies:[l.H1,l.Uu,M.JA,M.UF,d.sB,d.bx,d.Wi,d.yr],encapsulation:2}),u})()},40041:(Ze,z,i)=>{"use strict";i.d(z,{I:()=>v,p:()=>_});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(E,u){1&E&&t.nrm(0,"kirby-list-section-header",4),2&E&&t.Y8G("title",u.$implicit)}function a(E,u){if(1&E&&(t.j41(0,"kirby-item",5)(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"data",6),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",7)(7,"data",8),t.EFF(8),t.k0s()()()),2&E){const O=u.$implicit;t.Y8G("selectable",!0),t.R7$(3),t.JRh(O.title),t.R7$(),t.Y8G("value",O.detail),t.R7$(),t.JRh(O.detail),t.R7$(2),t.Y8G("value",O.amount),t.R7$(),t.JRh(O.amount)}}const _='\n \n \n \n

{{ item.title }}

\n {{ item.detail }}\n
\n \n {{ item.amount }}\n \n
\n';let v=(()=>{var E;class u extends e.p{getSectionName(A){return A.detail>0?"Positive":"Negative"}}return(E=u).\u0275fac=(()=>{let O;return function($){return(O||(O=t.xGo(E)))($||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["cookbook-list-with-sections-example"]],features:[t.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"],["detail","",3,"value"],["slot","end"],[3,"value"]],template:function(A,$){1&A&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.bIt("itemSelect",function(X){return $.onItemSelect(X)}),t.DNE(3,p,1,1,"kirby-list-section-header",2)(4,a,9,6,"kirby-item",3),t.k0s()()()),2&A&&(t.R7$(2),t.Y8G("items",$.items)("getSectionName",$.getSectionName))},dependencies:[l.H1,l.Uu,M.JA,M.UF,d.sB,d.bx,d.Wi,d.yr],encapsulation:2}),u})()},98988:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>_,z:()=>a});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(v,E){if(1&v&&(t.j41(0,"kirby-item",3)(1,"h3"),t.EFF(2),t.k0s(),t.j41(3,"data",4),t.EFF(4),t.k0s()()),2&v){const u=E.$implicit;t.Y8G("selectable",!0),t.R7$(2),t.JRh(u.title),t.R7$(2),t.JRh(u.amount)}}const a='\n \n

{{item.title}}

\n {{item.amount}}\n
\n
';let _=(()=>{var v;class E extends e.p{}return(v=E).\u0275fac=(()=>{let u;return function(A){return(u||(u=t.xGo(v)))(A||v)}})(),v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-list-selectable-items-example"]],features:[t.Vt3],decls:4,vars:1,consts:[["title","Selectable items"],[3,"itemSelect","items"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"selectable"],["slot","end",1,"kirby-text-bold"]],template:function(O,A){1&O&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.bIt("itemSelect",function(K){return A.onItemSelect(K)}),t.DNE(3,p,5,3,"kirby-item",2),t.k0s()()()),2&O&&(t.R7$(2),t.Y8G("items",A.items))},dependencies:[l.H1,l.Uu,M.JA,d.sB,d.bx],encapsulation:2}),E})()},53903:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>a,n:()=>_});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(v,E){if(1&v&&(t.j41(0,"kirby-item",3)(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"data",4),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",5)(7,"data",6),t.EFF(8),t.k0s()()()),2&v){const u=E.$implicit;t.Y8G("selectable",!0),t.R7$(3),t.JRh(u.title),t.R7$(),t.Y8G("value",u.detail),t.R7$(),t.JRh(u.detail),t.R7$(2),t.Y8G("value",u.amount),t.R7$(),t.JRh(u.amount)}}const a='\n \n \n

{{ item.title }}

\n {{ item.detail }}\n
\n \n {{ item.amount }}\n \n
\n';let _=(()=>{var v;class E extends e.p{}return(v=E).\u0275fac=(()=>{let u;return function(A){return(u||(u=t.xGo(v)))(A||v)}})(),v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-list-with-stand-alone-example"]],features:[t.Vt3],decls:4,vars:3,consts:[["title","List with stand alone"],[3,"itemSelect","items","getStandAloneByProperty","standAloneSpacing"],[3,"selectable",4,"kirbyListItemTemplate"],[3,"selectable"],["detail","",3,"value"],["slot","end"],[3,"value"]],template:function(O,A){1&O&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.bIt("itemSelect",function(K){return A.onItemSelect(K)}),t.DNE(3,p,9,6,"kirby-item",2),t.k0s()()()),2&O&&(t.R7$(2),t.Y8G("items",A.items)("getStandAloneByProperty","isStandAlone")("standAloneSpacing","xxs"))},dependencies:[l.H1,l.Uu,M.JA,M.UF,d.sB,d.bx],encapsulation:2}),E})()},46692:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>v});var e=i(60881),t=i(54438),l=i(60177),M=i(81365),d=i(29756),p=i(84584);function a(E,u){if(1&E&&(t.j41(0,"kirby-item-sliding",1)(1,"kirby-item")(2,"p"),t.EFF(3),t.k0s(),t.j41(4,"data",2),t.EFF(5),t.k0s()()()),2&E){const O=u.$implicit,A=t.XpG();t.Y8G("swipeActions",A.swipeActions),t.R7$(3),t.JRh(O.title),t.R7$(2),t.JRh(O.amount)}}let v=(()=>{var E;class u extends e.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"}]}}return(E=u).\u0275fac=(()=>{let O;return function($){return(O||(O=t.xGo(E)))($||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["cookbook-list-experimental-sliding-items-example"]],features:[t.Vt3],decls:2,vars:1,consts:[[3,"swipeActions",4,"ngFor","ngForOf"],[3,"swipeActions"],["slot","end",1,"kirby-text-bold"]],template:function(A,$){1&A&&(t.j41(0,"kirby-list-experimental"),t.DNE(1,a,6,3,"kirby-item-sliding",0),t.k0s()),2&A&&(t.R7$(),t.Y8G("ngForOf",$.items))},dependencies:[l.Sq,M.JA,d.qN,p.d],encapsulation:2}),u})()},57671:(Ze,z,i)=>{"use strict";i.d(z,{s:()=>v});var e=i(60881),t=i(54438),l=i(60177),M=i(81365),d=i(29756),p=i(18713);function a(E,u){if(1&E&&(t.j41(0,"kirby-item")(1,"p"),t.EFF(2),t.k0s(),t.j41(3,"data",3),t.EFF(4),t.k0s()()),2&E){const O=u.$implicit;t.R7$(2),t.JRh(O.title),t.R7$(2),t.JRh(O.amount)}}let v=(()=>{var E;class u extends e.p{constructor(){super(...arguments),this.template='\n \n

Stocks

\n
\n \n

{{ item.title }}

\n {{item.amount}}\n
\n
'}}return(E=u).\u0275fac=(()=>{let O;return function($){return(O||(O=t.xGo(E)))($||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["cookbook-list-experimental-items-example"]],features:[t.Vt3],decls:5,vars:1,consts:[["outside",""],["heading",""],[4,"ngFor","ngForOf"],["slot","end",1,"kirby-text-bold"]],template:function(A,$){1&A&&(t.j41(0,"kirby-list-experimental")(1,"kirby-section-header",0)(2,"h2",1),t.EFF(3,"Stocks"),t.k0s()(),t.DNE(4,a,5,2,"kirby-item",2),t.k0s()),2&A&&(t.R7$(4),t.Y8G("ngForOf",$.items))},dependencies:[l.Sq,M.JA,d.qN,p.U],encapsulation:2}),u})()},34823:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>_,f:()=>a});var e=i(60881),t=i(54438),l=i(91365),M=i(81365),d=i(29756);function p(v,E){if(1&v&&(t.j41(0,"kirby-item")(1,"kirby-label")(2,"h3"),t.EFF(3),t.k0s(),t.j41(4,"p",3),t.EFF(5),t.k0s()(),t.j41(6,"kirby-label",4)(7,"data",5),t.EFF(8),t.k0s(),t.j41(9,"data",6),t.EFF(10),t.k0s()()()),2&v){const u=E.$implicit;t.R7$(3),t.JRh(u.title),t.R7$(2),t.JRh(u.subTitle),t.R7$(2),t.Y8G("value",u.amount),t.R7$(),t.JRh(u.amount),t.R7$(),t.Y8G("value",u.detail),t.R7$(),t.JRh(u.detail)}}const a='\n\n \n \n

{{ item.title }}

\n

{{ item.subTitle }}

\n
\n \n {{ item.amount }}\n {{ item.detail }}\n \n
\n
';let _=(()=>{var v;class E extends e.p{constructor(){super(),this.itemCount=0,this.items.push(...this.generateItems())}onLoadDemand(O){this.itemCount<=20?setTimeout(()=>{this.items.push(...this.generateItems()),O.complete()},2e3):O.complete(!0)}generateItems(){const O=[];for(let $=0;$<10;$++){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())};O.push(K)}return O}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-list-load-on-demand-example"]],features:[t.Vt3],decls:4,vars:1,consts:[["title","Load On Demand"],["noMoreItemsText","No more items",3,"loadOnDemand","items"],[4,"kirbyListItemTemplate"],["subtitle",""],["slot","end"],[3,"value"],["detail","",3,"value"]],template:function(O,A){1&O&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"kirby-list",1),t.bIt("loadOnDemand",function(K){return A.onLoadDemand(K)}),t.DNE(3,p,11,6,"kirby-item",2),t.k0s()()()),2&O&&(t.R7$(2),t.Y8G("items",A.items))},dependencies:[l.H1,l.Uu,M.JA,M.UF,d.sB,d.bx],encapsulation:2}),E})()},19701:(Ze,z,i)=>{"use strict";i.d(z,{w:()=>e});class e{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:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>u});var e=i(19701),t=i(54438),l=i(81365),M=i(29756),d=i(98990),p=i(41727),a=i(60177);const _=()=>["Much cool","Such items","Wow"];function v(O,A){if(1&O&&(t.j41(0,"kirby-item")(1,"h3",3),t.EFF(2),t.k0s(),t.j41(3,"data",4),t.EFF(4),t.nI1(5,"currency"),t.k0s()()),2&O){const $=A.$implicit;t.R7$(2),t.JRh($.title),t.R7$(),t.Y8G("value",$.amount),t.R7$(),t.SpI(" ",t.bMT(5,3,$.amount)," ")}}let u=(()=>{var O;class A extends e.w{constructor(){super(...arguments),this.template='\n \n \n \n

{{ item.title }}

\n \n {{ item.amount | currency }}\n \n
\n
\n
'}}return(O=A).\u0275fac=(()=>{let $;return function(X){return($||($=t.xGo(O)))(X||O)}})(),O.\u0275cmp=t.VBU({type:O,selectors:[["cookbook-detailed-card-with-list-no-shape-example"]],features:[t.Vt3],decls:4,vars:3,consts:[["placeholder","Options",1,"margin",3,"items"],["shape","none",3,"items"],[4,"kirbyListItemTemplate"],[1,"kirby-text-bold"],["slot","end",3,"value"]],template:function(K,X){1&K&&(t.j41(0,"kirby-card"),t.nrm(1,"kirby-dropdown",0),t.j41(2,"kirby-list",1),t.DNE(3,v,6,5,"kirby-item",2),t.k0s()()),2&K&&(t.R7$(),t.Y8G("items",t.lJ4(2,_)),t.R7$(),t.Y8G("items",X.items))},dependencies:[l.JA,M.sB,M.bx,d.ib,p.Ps,a.oe],styles:[".margin[_ngcontent-%COMP%]{margin-top:16px;margin-inline:16px}","kirby-card[_ngcontent-%COMP%]{min-height:224px}"]}),A})()},23114:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>u});var e=i(19701),t=i(54438),l=i(60177),M=i(81365),d=i(29756),p=i(98990);function a(O,A){1&O&&t.nrm(0,"kirby-card-header",6),2&O&&t.Y8G("flagged","warning")}function _(O,A){if(1&O&&(t.j41(0,"kirby-item")(1,"h4"),t.EFF(2),t.k0s(),t.j41(3,"data",7),t.EFF(4),t.nI1(5,"currency"),t.k0s()()),2&O){const $=A.$implicit;t.R7$(2),t.JRh($.title),t.R7$(),t.Y8G("value",$.amount),t.R7$(),t.JRh(t.bMT(5,3,$.amount))}}function v(O,A){if(1&O&&(t.j41(0,"kirby-card"),t.DNE(1,a,1,1,"kirby-card-header",2),t.j41(2,"kirby-item")(3,"h4",3),t.EFF(4),t.k0s(),t.j41(5,"data",4),t.EFF(6),t.nI1(7,"currency"),t.k0s()(),t.DNE(8,_,6,5,"kirby-item",5),t.k0s()),2&O){const $=A.$implicit;t.R7$(),t.Y8G("ngIf",$.amount<0),t.R7$(3),t.JRh($.title),t.R7$(),t.Y8G("value",$.amount),t.R7$(),t.SpI(" ",t.bMT(7,5,$.amount)," "),t.R7$(2),t.Y8G("ngForOf",$.shadowAccounts)}}let u=(()=>{var O;class A extends e.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'}}return(O=A).\u0275fac=(()=>{let $;return function(X){return($||($=t.xGo(O)))(X||O)}})(),O.\u0275cmp=t.VBU({type:O,selectors:[["cookbook-multi-card-list-no-shape-example"]],features:[t.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(K,X){1&K&&(t.j41(0,"kirby-list",0),t.DNE(1,v,9,7,"kirby-card",1),t.k0s()),2&K&&t.Y8G("items",X.items)("showDivider",!1)},dependencies:[l.Sq,l.bT,M.JA,d.sB,d.bx,p.ib,p.lM,l.oe],encapsulation:2}),A})()},73182:(Ze,z,i)=>{"use strict";i.d(z,{i:()=>_});var e=i(19701),t=i(54438),l=i(81365),M=i(29756),d=i(60177);function p(v,E){if(1&v&&(t.j41(0,"kirby-item")(1,"h3",2),t.EFF(2),t.k0s(),t.j41(3,"data",3),t.EFF(4),t.nI1(5,"currency"),t.k0s()()),2&v){const u=E.$implicit;t.R7$(2),t.JRh(u.title),t.R7$(),t.Y8G("value",u.amount),t.R7$(),t.SpI(" ",t.bMT(5,3,u.amount)," ")}}let _=(()=>{var v;class E extends e.w{constructor(){super(...arguments),this.template='\n \n

{{ item.title }}

\n \n {{ item.amount | currency }}\n \n
\n
'}}return(v=E).\u0275fac=(()=>{let u;return function(A){return(u||(u=t.xGo(v)))(A||v)}})(),v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-simple-list-no-shape-example"]],features:[t.Vt3],decls:2,vars:1,consts:[["shape","none",3,"items"],[4,"kirbyListItemTemplate"],[1,"kirby-text-bold"],["slot","end",3,"value"]],template:function(O,A){1&O&&(t.j41(0,"kirby-list",0),t.DNE(1,p,6,5,"kirby-item",1),t.k0s()),2&O&&t.Y8G("items",A.items)},dependencies:[l.JA,M.sB,M.bx,d.oe],encapsulation:2}),E})()},60881:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>e});class e{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(l){alert(`You have clicked the row [${l.title} ${l.amount}]`)}}},50753:(Ze,z,i)=>{"use strict";i.d(z,{k:()=>v});var e=i(54438),t=i(57017),l=i(60177),M=i(81365),d=i(29756);function p(E,u){1&E&&e.nrm(0,"div",6)}function a(E,u){1&E&&e.nrm(0,"div",7)}function _(E,u){if(1&E&&(e.j41(0,"kirby-item")(1,"div",2),e.DNE(2,p,1,0,"div",3)(3,a,1,0,"div",4),e.k0s(),e.j41(4,"h3"),e.EFF(5),e.k0s(),e.j41(6,"data",5),e.EFF(7),e.k0s()()),2&E){const O=u.$implicit;e.R7$(2),e.Y8G("ngIf",O.flagged),e.R7$(),e.Y8G("ngIf",O.archived),e.R7$(2),e.JRh(O.title),e.R7$(2),e.JRh(O.amount)}}let v=(()=>{var E;class u{constructor(A){this.toastController=A,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:$=>this.onArchiveItem($),isDisabled:$=>$.archived||3===$.id},{position:"left",title:$=>$.flagged?"Remove flag":"Flag",icon:$=>$.flagged?null:"flag",type:"success",onSelected:$=>this.onFlagItem($),isDisabled:$=>3===$.id},{position:"right",title:$=>$.deleted?"Restore":"Delete",icon:$=>$.deleted?"swap":"trash",type:$=>$.deleted?"warning":"danger",onSelected:$=>$.deleted?this.onRestoreItem($):this.onDeleteItem($),isDisabled:$=>3===$.id}]}onArchiveItem(A){A.archived=!A.archived,this.toastController.showToast({message:`Item '${A.title}' has been archived.`,messageType:"warning",durationInMs:1500})}onFlagItem(A){A.flagged=!A.flagged,this.toastController.showToast({message:`Item '${A.title}' has been ${A.flagged?"flagged":"un-flagged"}.`,messageType:"success",durationInMs:1500})}onDeleteItem(A){A.deleted=!A.deleted,this.toastController.showToast({message:`Item '${A.title}' has been deleted.`,messageType:"warning",durationInMs:1500})}onRestoreItem(A){A.deleted=!A.deleted,this.toastController.showToast({message:`Item '${A.title}' has been restored.`,messageType:"warning",durationInMs:1500})}}return(E=u).\u0275fac=function(A){return new(A||E)(e.rXU(t.K))},E.\u0275cmp=e.VBU({type:E,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(A,$){1&A&&(e.j41(0,"h2"),e.EFF(1,"List with swipe actions:"),e.k0s(),e.j41(2,"kirby-list",0),e.DNE(3,_,8,4,"kirby-item",1),e.k0s()),2&A&&(e.R7$(2),e.Y8G("items",$.items)("swipeActions",$.swipeActions))},dependencies:[l.bT,M.JA,d.sB,d.bx],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}"]}),u})()},50751:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>M});var e=i(54438),t=i(36667),l=i(47008);let M=(()=>{var d;class p{constructor(){this.isLoading=!1,this.showBackdrop=!1,this.hideContent=!1}showWrapperLoadingOverlay(_,v){this.showBackdrop=_,this.hideContent=v,this.isLoading=!0,setTimeout(()=>{this.isLoading=!1},5e3)}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-loading-overlay",0)(1,"button",1),e.bIt("click",function(){return v.showWrapperLoadingOverlay(!0)}),e.EFF(2," Show wrapper loading overlay "),e.k0s(),e.j41(3,"button",1),e.bIt("click",function(){return v.showWrapperLoadingOverlay(!1,!0)}),e.EFF(4," Show wrapper loading overlay that hides content "),e.k0s(),e.j41(5,"button",1),e.bIt("click",function(){return v.showWrapperLoadingOverlay(!1)}),e.EFF(6," Show wrapper loading overlay without backdrop "),e.k0s()()),2&_&&e.Y8G("isLoading",v.isLoading)("showBackdrop",v.showBackdrop)("hideContent",v.hideContent)},dependencies:[t.q,l.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}"]}),p})()},8488:(Ze,z,i)=>{"use strict";i.d(z,{F:()=>p});var t=i(54438),l=i(36667),M=i(47008),d=i(86413);let p=(()=>{var a;class _{constructor(E){this.loadingOverlayService=E,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(E,u){this.loadingOverlayService.showLoadingOverlay(E,u),setTimeout(()=>{this.loadingOverlayService.hideLoadingOverlay()},5e3)}}return(a=_).\u0275fac=function(E){return new(E||a)(t.rXU(l.a))},a.\u0275cmp=t.VBU({type:a,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(E,u){1&E&&(t.j41(0,"button",0),t.bIt("click",function(){return u.showFullscreenLoadingOverlay(!0)}),t.EFF(1," Show full page loading overlay\n"),t.k0s(),t.j41(2,"button",0),t.bIt("click",function(){return u.showFullscreenLoadingOverlay(!1,!0)}),t.EFF(3," Show full page loading overlay that hides content\n"),t.k0s(),t.j41(4,"button",0),t.bIt("click",function(){return u.showFullscreenLoadingOverlay(!1)}),t.EFF(5," Show full page loading overlay without backdrop\n"),t.k0s(),t.nrm(6,"cookbook-code-viewer",1)),2&E&&(t.R7$(6),t.Y8G("ts",u.loadingOverlayServiceExample))},dependencies:[M.Q,d.B],encapsulation:2}),_})()},51816:(Ze,z,i)=>{"use strict";i.d(z,{b:()=>a});var e=i(54438),t=i(35043),l=i(81365),M=i(11235),d=i(92585);const p_template='\n \n \n \n \n

Face-id

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

Notifications

\n
\n
\n
\n
';let a=(()=>{var _;class v{constructor(){this.template=p_template}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["cookbook-menu-advanced-example"]],decls:13,vars:1,consts:[[3,"closeOnSelect"],["selectable","true"],["name","person","slot","start"],["slot","end"],["name","notification","slot","start"]],template:function(u,O){1&u&&(e.j41(0,"kirby-menu",0)(1,"kirby-item",1),e.nrm(2,"kirby-icon",2),e.j41(3,"kirby-checkbox",3)(4,"kirby-label")(5,"h3"),e.EFF(6,"Face-id"),e.k0s()()()(),e.j41(7,"kirby-item",1),e.nrm(8,"kirby-icon",4),e.j41(9,"kirby-checkbox",3)(10,"kirby-label")(11,"h3"),e.EFF(12,"Notifications"),e.k0s()()()()()),2&u&&e.Y8G("closeOnSelect",!1)},dependencies:[t.Rl,l.JA,l.UF,M.P,d.Z],encapsulation:2}),v})()},80921:(Ze,z,i)=>{"use strict";i.d(z,{s:()=>a});var e=i(54438),t=i(35043),l=i(81365),M=i(92585),d=i(47008);const p_template='\n \n \n \n \n

Action 1

\n
\n \n

Action 2

\n
\n \n

Action 3

\n
\n
';let a=(()=>{var _;class v{constructor(){this.template=p_template}actionClicked(){console.log("Action clicked")}toggled(){console.log("Toggle changed")}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["cookbook-menu-custom-button-example"]],decls:12,vars:5,consts:[["kirby-button","","type","button",3,"attentionLevel"],[3,"name"],[3,"selectable"]],template:function(u,O){1&u&&(e.j41(0,"kirby-menu")(1,"button",0),e.nrm(2,"kirby-icon",1),e.k0s(),e.j41(3,"kirby-item",2)(4,"h3"),e.EFF(5,"Action 1"),e.k0s()(),e.j41(6,"kirby-item",2)(7,"h3"),e.EFF(8,"Action 2"),e.k0s()(),e.j41(9,"kirby-item",2)(10,"h3"),e.EFF(11,"Action 3"),e.k0s()()()),2&u&&(e.R7$(),e.Y8G("attentionLevel","3"),e.R7$(),e.Y8G("name","menu-outline"),e.R7$(),e.Y8G("selectable",!0),e.R7$(3),e.Y8G("selectable",!0),e.R7$(3),e.Y8G("selectable",!0))},dependencies:[t.Rl,l.JA,M.Z,d.Q],encapsulation:2}),v})()},82722:(Ze,z,i)=>{"use strict";i.d(z,{L:()=>d});var e=i(54438),t=i(81365),l=i(92585);const M_template='\n \n

Action 1

\n
\n ...\n
';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-menu-custom-placement-example"]],decls:5,vars:2,consts:[[3,"placement"],[3,"selectable"]],template:function(v,E){1&v&&(e.j41(0,"kirby-menu",0)(1,"kirby-item",1)(2,"h3"),e.EFF(3,"Action 1"),e.k0s()(),e.EFF(4," ...\n"),e.k0s()),2&v&&(e.Y8G("placement","bottom-end"),e.R7$(),e.Y8G("selectable",!0))},dependencies:[t.JA,l.Z],encapsulation:2}),a})()},61785:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>d});var e=i(54438),t=i(81365),l=i(92585);const M_template='\n \n

No Action 1

\n
\n \n

No Action 2

\n
\n \n

No Action 3

\n
\n
\n';let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-menu-default-example"]],decls:10,vars:3,consts:[[3,"selectable"]],template:function(v,E){1&v&&(e.j41(0,"kirby-menu")(1,"kirby-item",0)(2,"h3"),e.EFF(3,"No Action 1"),e.k0s()(),e.j41(4,"kirby-item",0)(5,"h3"),e.EFF(6,"No Action 2"),e.k0s()(),e.j41(7,"kirby-item",0)(8,"h3"),e.EFF(9,"No Action 3"),e.k0s()()()),2&v&&(e.R7$(),e.Y8G("selectable",!0),e.R7$(3),e.Y8G("selectable",!0),e.R7$(3),e.Y8G("selectable",!0))},dependencies:[t.JA,l.Z],encapsulation:2}),a})()},49685:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>E});var e=i(54438),t=i(81365),l=i(29756);const M=[[["","header",""]],[["","body",""]]],d=["[header]","[body]"],p=()=>({}),a=(u,O)=>[u,O];function _(u,O){1&u&&(e.j41(0,"kirby-list-header"),e.SdG(1),e.k0s())}function v(u,O){1&u&&(e.j41(0,"kirby-item"),e.SdG(1,1),e.k0s())}let E=(()=>{var u;class O{}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["cookbook-menu-portal-in-list-wrapper-example"]],ngContentSelectors:d,decls:4,vars:6,consts:[[3,"items"],[4,"kirbyListHeader"],[4,"kirbyListItemTemplate"]],template:function($,K){1&$&&(e.NAR(M),e.j41(0,"kirby-list",0),e.DNE(1,_,2,0,"kirby-list-header",1),e.j41(2,"kirby-list-item"),e.DNE(3,v,2,0,"kirby-item",2),e.k0s()()),2&$&&e.Y8G("items",e.l_i(3,a,e.lJ4(1,p),e.lJ4(2,p)))},dependencies:[t.JA,l.sB,l.Pt,l.bx,l.L9,l.px],encapsulation:2}),O})()},21564:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>d});var e=i(54438),t=i(81365),l=i(92585);const M_template='\n \n

Action 1

\n
\n \n

Action 2

\n
\n
\n';let d=(()=>{var p;class a{constructor(v){this.cd=v,this.template=M_template,this.outletTag="cookbook-root",this.outletElement=this.getOutletElement()}set isOutletElementSet(v){this._outlet=v?this.outletElement:null}getOutletElement(){const v=document.getElementsByTagName(this.outletTag);if(!v||0===v.length)throw Error(`Could not locate HTMLElement for ${this.outletTag}. Did you misspell it?`);if(v.length>1)throw Error(`Multiple HTMLElements found for ${this.outletTag}.\n This can lead to unintended behaviours. Provide an unique outlet`);return v[0]}}return(p=a).\u0275fac=function(v){return new(v||p)(e.rXU(e.gRc))},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-menu-portal-example"]],inputs:{isOutletElementSet:"isOutletElementSet"},decls:7,vars:3,consts:[[3,"DOMPortalOutlet"],[3,"selectable"]],template:function(v,E){1&v&&(e.j41(0,"kirby-menu",0)(1,"kirby-item",1)(2,"h3"),e.EFF(3,"Action 1"),e.k0s()(),e.j41(4,"kirby-item",1)(5,"h3"),e.EFF(6,"Action 2"),e.k0s()()()),2&v&&(e.Y8G("DOMPortalOutlet",E._outlet),e.R7$(),e.Y8G("selectable",!0),e.R7$(3),e.Y8G("selectable",!0))},dependencies:[t.JA,l.Z],encapsulation:2}),a})()},12510:(Ze,z,i)=>{"use strict";i.d(z,{b:()=>p});var e=i(65762),t=i(54438),l=i(81365),M=i(92585);const d_template='\n \n

Action 1

\n
\n \n

Action 2

\n
\n
';let p=(()=>{var a;class _{constructor(){this.template=d_template,this.outletConfig={selector:e.h8.tag,value:"cookbook-root"}}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-menu-portal-config-example"]],decls:7,vars:3,consts:[[3,"portalOutletConfig"],[3,"selectable"]],template:function(E,u){1&E&&(t.j41(0,"kirby-menu",0)(1,"kirby-item",1)(2,"h3"),t.EFF(3,"Action 1"),t.k0s()(),t.j41(4,"kirby-item",1)(5,"h3"),t.EFF(6,"Action 2"),t.k0s()()()),2&E&&(t.Y8G("portalOutletConfig",u.outletConfig),t.R7$(),t.Y8G("selectable",!0),t.R7$(3),t.Y8G("selectable",!0))},dependencies:[l.JA,M.Z],encapsulation:2}),_})()},28850:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>p});var e=i(54438),t=i(57017),l=i(81365),M=i(92585);const d_template='\n \n

Action 1

\n
\n \n

Action 2

\n
\n
';let p=(()=>{var a;class _{constructor(E){this.toastController=E,this.template=d_template}actionClicked(E){this.toastController.showToast({message:`${E} was selected.`,messageType:"success",durationInMs:1500})}}return(a=_).\u0275fac=function(E){return new(E||a)(e.rXU(t.K))},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-menu-selectable-example"]],decls:7,vars:2,consts:[[3,"click","selectable"]],template:function(E,u){1&E&&(e.j41(0,"kirby-menu")(1,"kirby-item",0),e.bIt("click",function(){return u.actionClicked("Action 1")}),e.j41(2,"h3"),e.EFF(3,"Action 1"),e.k0s()(),e.j41(4,"kirby-item",0),e.bIt("click",function(){return u.actionClicked("Action 2")}),e.j41(5,"h3"),e.EFF(6,"Action 2"),e.k0s()()()),2&E&&(e.R7$(),e.Y8G("selectable",!0),e.R7$(3),e.Y8G("selectable",!0))},dependencies:[l.JA,M.Z],encapsulation:2}),_})()},49217:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>v});var e=i(54438),t=i(22694),l=i(60177);function M(E,u){if(1&E&&(e.j41(0,"a",3),e.EFF(1),e.k0s()),2&E){const O=e.XpG().$implicit;e.Y8G("routerLink",O.route)("target",O.target),e.R7$(),e.SpI(" ",O.text," ")}}function d(E,u){if(1&E&&(e.qex(0),e.EFF(1),e.bVm()),2&E){const O=e.XpG().$implicit;e.R7$(),e.SpI(" ",O.text," ")}}function p(E,u){if(1&E&&(e.j41(0,"li",5)(1,"a",6),e.EFF(2),e.k0s()()),2&E){const O=u.$implicit;e.R7$(),e.Y8G("routerLink",O.route)("target",O.target),e.R7$(),e.SpI(" ",O.text," ")}}function a(E,u){if(1&E&&(e.j41(0,"ul"),e.DNE(1,p,3,3,"li",4),e.k0s()),2&E){const O=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",O.steps)}}function _(E,u){if(1&E&&(e.j41(0,"li"),e.DNE(1,M,2,3,"a",1)(2,d,2,1,"ng-container",2)(3,a,2,1,"ul",2),e.k0s()),2&E){const O=u.$implicit,A=u.index,$=e.XpG();e.AVh("active",$.currentStep-1===A&&!O.steps),e.R7$(),e.Y8G("ngIf",A===$.currentStep-1&&!!O.route),e.R7$(),e.Y8G("ngIf",A!==$.currentStep-1||A===$.currentStep-1&&!O.route),e.R7$(),e.Y8G("ngIf",$.currentStep-1===A&&!!O.steps)}}let v=(()=>{var E;class u{constructor(A){this.route=A,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)}}return(E=u).\u0275fac=function(A){return new(A||E)(e.rXU(t.nX))},E.\u0275cmp=e.VBU({type:E,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(A,$){1&A&&(e.j41(0,"ol"),e.DNE(1,_,4,5,"li",0),e.k0s()),2&A&&(e.R7$(),e.Y8G("ngForOf",$.steps))},dependencies:[l.Sq,l.bT,t.Wk],styles:["[_nghost-%COMP%]{display:block}li.active[_ngcontent-%COMP%]{font-weight:700}"]}),u})()},3745:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>A});var E,e=i(81443),t=i(54438),l=i(60177),M=i(84341),d=i(91365),p=i(56297),a=i(32667),_=i(47008),v=i(49217);function u($,K){1&$&&(t.qex(0),t.nrm(1,"cookbook-modal-example-alert-with-guard-stepper",5)(2,"kirby-divider",6),t.bVm()),2&$&&(t.R7$(),t.Y8G("currentStep",3),t.R7$(),t.Y8G("hasMargin",!0))}class A{constructor(K,X){this.modal=K,this.componentProps=X,this.showStepper=!0,this.firstName="Jane",this.lastName=""}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"}}}}(E=A).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 ",E.\u0275fac=function(K){return new(K||E)(t.rXU(e.aF,12),t.rXU(e.vr,8))},E.\u0275cmp=t.VBU({type:E,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(K,X){1&K&&(t.j41(0,"kirby-page-title"),t.EFF(1,"Modal with alert"),t.k0s(),t.DNE(2,u,3,2,"ng-container",0),t.j41(3,"div",1)(4,"kirby-form-field")(5,"input",2),t.mxI("ngModelChange",function(G){return t.DH7(X.firstName,G)||(X.firstName=G),G}),t.k0s()(),t.j41(6,"kirby-form-field")(7,"input",3),t.mxI("ngModelChange",function(G){return t.DH7(X.lastName,G)||(X.lastName=G),G}),t.k0s()(),t.j41(8,"button",4),t.bIt("click",function(){return X.clearForm()}),t.EFF(9,"Clear form"),t.k0s()(),t.j41(10,"kirby-modal-footer")(11,"em")(12,"strong"),t.EFF(13,"Please note:"),t.k0s(),t.EFF(14," If any data has been entered in the form fields, this modal will prompt the user to confirm before closing. "),t.k0s()()),2&K&&(t.R7$(2),t.Y8G("ngIf",X.showStepper),t.R7$(3),t.R50("ngModel",X.firstName),t.R7$(2),t.R50("ngModel",X.lastName))},dependencies:[l.bT,M.me,M.BC,M.vS,d.jg,p.KS,p.Sj,a.h,e.s$,_.Q,v.p],styles:[".form-wrapper[_ngcontent-%COMP%]{margin-block-start:1em;display:flex;flex-direction:column}button[_ngcontent-%COMP%]{align-self:flex-end}"]})},75902:(Ze,z,i)=>{"use strict";i.d(z,{g:()=>p});var e=i(54438),t=i(81443),l=i(13339),M=i(49711),d=i(47008);let p=(()=>{var a;class _{constructor(E){this.modal=E}onHideModal(){this.modal.close()}}return(a=_).\u0275fac=function(E){return new(E||a)(e.rXU(t.aF,12))},a.\u0275cmp=e.VBU({type:a,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(E,u){1&E&&(e.j41(0,"kirby-empty-state",0)(1,"button",1),e.bIt("click",function(){return u.onHideModal()}),e.EFF(2,"Hide modal"),e.k0s()())},dependencies:[l.Cd,M.o,d.Q],encapsulation:2}),_})()},75966:(Ze,z,i)=>{"use strict";i.d(z,{v:()=>Ye});var e=i(81443),t=i(53715),l=i(54438),M=i(57017),d=i(60177),p=i(91365),a=i(35043),_=i(13339),v=i(98990),E=i(56297),u=i(32667),O=i(72882),A=i(36667),$=i(47008),K=i(2923),X=i(36234),J=i(43081);function G(St,mt){1&St&&(l.j41(0,"kirby-page-progress")(1,"kirby-progress-circle",5),l.EFF(2," 2/4 "),l.k0s()())}function fe(St,mt){if(1&St){const at=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(gt){l.eBV(at);const mn=l.XpG(3);return l.Njj(mn.setSelectedModalSize(gt))}),l.k0s(),l.bVm()}2&St&&(l.R7$(),l.Y8G("hasMargin",!0))}function he(St,mt){if(1&St){const at=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(at);const gt=l.XpG(2);return l.Njj(gt.showNestedModal())}),l.EFF(4,"Modal"),l.k0s(),l.j41(5,"button",8),l.bIt("click",function(){l.eBV(at);const gt=l.XpG(2);return l.Njj(gt.showNestedDrawer())}),l.EFF(6,"Drawer"),l.k0s(),l.j41(7,"button",8),l.bIt("click",function(){l.eBV(at);const gt=l.XpG(2);return l.Njj(gt.showNestedAlert())}),l.EFF(8,"Alert"),l.k0s(),l.j41(9,"button",8),l.bIt("click",function(){l.eBV(at);const gt=l.XpG(2);return l.Njj(gt.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(gt){l.eBV(at);const mn=l.XpG(2);return l.DH7(mn.showNestedPageProgress,gt)||(mn.showNestedPageProgress=gt),l.Njj(gt)})("showFooterChange",function(gt){l.eBV(at);const mn=l.XpG(2);return l.DH7(mn.showNestedFooter,gt)||(mn.showNestedFooter=gt),l.Njj(gt)})("snapFooterToKeyboardChange",function(gt){l.eBV(at);const mn=l.XpG(2);return l.DH7(mn.snapNestedFooterToKeyboard,gt)||(mn.snapNestedFooterToKeyboard=gt),l.Njj(gt)})("displayFooterAsInlineChange",function(gt){l.eBV(at);const mn=l.XpG(2);return l.DH7(mn.displayNestedFooterAsInline,gt)||(mn.displayNestedFooterAsInline=gt),l.Njj(gt)})("showDummyContentChange",function(gt){l.eBV(at);const mn=l.XpG(2);return l.DH7(mn.showNestedDummyContent,gt)||(mn.showNestedDummyContent=gt),l.Njj(gt)})("collapseTitleChange",function(gt){l.eBV(at);const mn=l.XpG(2);return l.DH7(mn.showNestedCollapseTitle,gt)||(mn.showNestedCollapseTitle=gt),l.Njj(gt)})("delayLoadDummyContentChange",function(gt){l.eBV(at);const mn=l.XpG(2);return l.DH7(mn.delayLoadDummyContent,gt)||(mn.delayLoadDummyContent=gt),l.Njj(gt)})("loadAdditionalContentChange",function(gt){l.eBV(at);const mn=l.XpG(2);return l.DH7(mn.loadAdditionalContent,gt)||(mn.loadAdditionalContent=gt),l.Njj(gt)}),l.k0s(),l.DNE(15,fe,8,1,"ng-container",0),l.k0s()()}if(2&St){const at=l.XpG(2);l.R7$(14),l.R50("showPageProgress",at.showNestedPageProgress)("showFooter",at.showNestedFooter)("snapFooterToKeyboard",at.snapNestedFooterToKeyboard)("displayFooterAsInline",at.displayNestedFooterAsInline)("showDummyContent",at.showNestedDummyContent)("collapseTitle",at.showNestedCollapseTitle)("delayLoadDummyContent",at.delayLoadDummyContent)("loadAdditionalContent",at.loadAdditionalContent),l.R7$(),l.Y8G("ngIf",void 0!==at.showModalSizeSelector)}}function Me(St,mt){1&St&&(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(St,mt){if(1&St&&(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&St){const at=l.XpG(3);l.R7$(8),l.JRh(at.exampleProperties.stringProperty),l.R7$(5),l.JRh(at.exampleProperties.numberProperty),l.R7$(5),l.JRh(at.exampleProperties.booleanProperty)}}function be(St,mt){1&St&&(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 Ne(St,mt){if(1&St){const at=l.RV6();l.j41(0,"button",14),l.bIt("click",function(){l.eBV(at);const gt=l.XpG(3);return l.Njj(gt.scrollToTop())}),l.EFF(1," Scroll to top "),l.nrm(2,"kirby-icon",20),l.k0s()}}function je(St,mt){if(1&St){const at=l.RV6();l.qex(0),l.DNE(1,ke,19,3,"div",13),l.j41(2,"button",14),l.bIt("click",function(){l.eBV(at);const gt=l.XpG(2);return l.Njj(gt.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(at);const gt=l.XpG(2);return l.Njj(gt.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,be,5,0,"div",0),l.k0s(),l.DNE(15,Ne,3,0,"button",18),l.bVm()}if(2&St){const at=l.XpG(2);l.R7$(),l.Y8G("ngIf",at.exampleProperties),l.R7$(12),l.Y8G("isLoading",at.isLoadingAdditionalContent),l.R7$(),l.Y8G("ngIf",!at.isLoadingAdditionalContent),l.R7$(),l.Y8G("ngIf",!at.showFooter)}}function it(St,mt){if(1&St&&(l.j41(0,"div"),l.DNE(1,he,16,9,"kirby-card",6)(2,Me,5,0,"div",0)(3,je,16,4,"ng-container",0),l.k0s()),2&St){const at=l.XpG();l.R7$(),l.Y8G("ngIf",at.showNestedOptions),l.R7$(),l.Y8G("ngIf",at.showStaticDummyContent),l.R7$(),l.Y8G("ngIf",at.showDummyContent)}}function pt(St,mt){if(1&St){const at=l.RV6();l.j41(0,"kirby-modal-footer",21)(1,"div")(2,"button",14),l.bIt("click",function(){l.eBV(at);const gt=l.XpG();return l.Njj(gt.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(at);const gt=l.XpG();return l.Njj(gt.close())}),l.EFF(6,"Close"),l.k0s()()()}if(2&St){const at=l.XpG();l.Y8G("type",at._footerType)("snapToKeyboard",at.snapFooterToKeyboard)}}let Ye=(()=>{var St;class mt{get _footerType(){return this.displayFooterAsInline?"inline":"fixed"}constructor(Ge,gt,mn,_t){this.modalController=gt,this.toastController=mn,this.modal=_t,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,Ge)}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(Ge){const gt="modal"===Ge?"Nested Modal Title":"Nested Drawer Title",mn={flavor:Ge,drawerSupplementaryAction:{iconName:"edit",action:this.onSupplementaryActionSelect.bind(this)},component:mt,size:this.selectedModalSize,collapseTitle:this.showNestedCollapseTitle,componentProps:{title:gt,subtitle:"Hello from second embedded example component!",flavor:Ge,delayLoadDummyContent:this.delayLoadDummyContent,loadAdditionalContent:this.loadAdditionalContent,showPageProgress:this.showNestedPageProgress,showFooter:this.showNestedFooter,snapFooterToKeyboard:this.snapNestedFooterToKeyboard,displayFooterAsInline:this.displayNestedFooterAsInline,showDummyContent:this.showNestedDummyContent}};this.modalController.showModal(mn)}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(t.ez.Duration.EXTRA_LONG)}scrollToTop(){this.modal.scrollToTop(t.ez.Duration.SHORT)}toggleDisableScroll(Ge){this.modal.scrollDisabled=Ge}togglePageProgress(){this.showPageProgress=!this.showPageProgress}toggleFooter(){this.showFooter=!this.showFooter}close(){const Ge=Math.PI;this.modal.close(Ge)}onSupplementaryActionSelect(){this.toastController.showToast({message:"Supplementary action selected",messageType:"success",durationInMs:1500})}onSnapFooterToKeyboardCheckbox(Ge){this.snapFooterToKeyboard=Ge}onAlertClose(Ge){console.log(`Alert closed: ${Ge}`)}setSelectedModalSize(Ge){this.selectedModalSize=Ge.value}}return(St=mt).\u0275fac=function(Ge){return new(Ge||St)(l.rXU(e.vr),l.rXU(e.W3),l.rXU(M.K),l.rXU(e.aF,12))},St.\u0275cmp=l.VBU({type:St,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(Ge,gt){1&Ge&&(l.DNE(0,G,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(_t){return l.DH7(gt.showDummyContent,_t)||(gt.showDummyContent=_t),_t})("showPageProgressChange",function(_t){return l.DH7(gt.showPageProgress,_t)||(gt.showPageProgress=_t),_t})("showFooterChange",function(_t){return l.DH7(gt.showFooter,_t)||(gt.showFooter=_t),_t})("snapFooterToKeyboardChange",function(_t){return l.DH7(gt.snapFooterToKeyboard,_t)||(gt.snapFooterToKeyboard=_t),_t})("displayFooterAsInlineChange",function(_t){return l.DH7(gt.displayFooterAsInline,_t)||(gt.displayFooterAsInline=_t),_t})("alertBeforeCloseChange",function(_t){return l.DH7(gt.alertBeforeClose,_t)||(gt.alertBeforeClose=_t),_t}),l.k0s()(),l.j41(7,"kirby-loading-overlay",3),l.DNE(8,it,4,3,"div",0),l.k0s(),l.DNE(9,pt,7,2,"kirby-modal-footer",4)),2&Ge&&(l.Y8G("ngIf",gt.showPageProgress&&"modal"===gt.flavor),l.R7$(2),l.JRh(gt.title),l.R7$(2),l.JRh(gt.subtitle),l.R7$(),l.Y8G("title","Current modal configuration"),l.R7$(),l.Y8G("flavor",gt.flavor),l.R50("showDummyContent",gt.showDummyContent)("showPageProgress",gt.showPageProgress)("showFooter",gt.showFooter)("snapFooterToKeyboard",gt.snapFooterToKeyboard)("displayFooterAsInline",gt.displayFooterAsInline)("alertBeforeClose",gt.alertBeforeClose),l.R7$(),l.Y8G("isLoading",gt.isLoading),l.R7$(),l.Y8G("ngIf",!gt.isLoading),l.R7$(),l.Y8G("ngIf",!gt.isLoading&>.showFooter))},dependencies:[d.bT,p.AB,p.jg,a.Rl,_.Cd,v.ib,E.KS,E.Sj,u.h,O.Z,A.q,e.s$,$.Q,K.V,X.r,J.Z],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}"]}),mt})()},26005:(Ze,z,i)=>{"use strict";i.d(z,{K:()=>X});var v,e=i(54438),t=i(91365),l=i(13339),M=i(98990),d=i(49711),p=i(81443),a=i(47008),_=i(43081);function E(J,G){1&J&&(e.j41(0,"kirby-page-title"),e.EFF(1,"Modal Component"),e.k0s(),e.j41(2,"p"),e.EFF(3," Lorem ipsum. "),e.k0s(),e.j41(4,"kirby-modal-footer")(5,"button",7),e.EFF(6,"Button in footer"),e.k0s()())}function u(J,G){1&J&&(e.j41(0,"kirby-page-title"),e.EFF(1,"Modal Component"),e.k0s(),e.j41(2,"p"),e.EFF(3," Lorem ipsum. "),e.k0s(),e.j41(4,"kirby-modal-footer")(5,"button",7),e.EFF(6,"Button in footer"),e.k0s()())}function O(J,G){1&J&&e.nrm(0,"kirby-empty-state",8)}const A="\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 ${A}\n\n\n\x3c!-- Additional flavor examples omitted from example for brevity --\x3e\n\n ${A}\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 X{constructor(){this.size="medium",this.isOpen=!1}sizeChange(G){this.size=G.value}}(v=X).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:(Ze,z,i)=>{"use strict";i.d(z,{T:()=>K});var u,e=i(10467),t=i(75902),l=i(75966),M=i(54438),d=i(81443),p=i(35519),a=i(60177),_=i(47008),v=i(2923),E=i(36234);function O(X,J){1&X&&(M.j41(0,"p"),M.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. "),M.k0s())}function A(X,J){if(1&X&&(M.qex(0),M.j41(1,"section",4),M.DNE(2,O,2,0,"p",5),M.k0s(),M.bVm()),2&X){const G=M.XpG();M.R7$(2),M.Y8G("ngForOf",G.dummyBackgroundTexts)}}const $={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{constructor(J,G){this.modalController=J,this.windowRef=G,this.showDummyKeyboard=!!this.windowRef.nativeWindow.sessionStorage.getItem("kirby-cookbook-show-dummy-keyboard"),this.showPageProgress=!1,this.showFooter=!1,this.snapFooterToKeyboard=!1,this.displayFooterAsInline=!1,this.collapseTitle=!1,this.alertBeforeClose=!1,this.showDummyContent=!0,this.delayLoadDummyContent=!0,this.loadAdditionalContent=!1,this.interactWithBackground=!1,this.customCssClass=!1,this.dummyBackgroundTexts=new Array(100).map(()=>""),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(J){var G=this;return(0,e.A)(function*(){let fe="modal"===J?"Modal Title":"Drawer Title";G.customCssClass&&(fe="modal"===J?"Modal with Custom CSS":"Drawer with Custom CSS"),G.preventInteraction=G.interactWithBackground;const he={flavor:J,collapseTitle:G.collapseTitle,component:l.v,interactWithBackground:G.interactWithBackground,cssClass:G.customCssClass?["my-custom-modal-class"]:[],componentProps:{title:fe,subtitle:"Hello from the first embedded example component!",flavor:J,exampleProperties:{stringProperty:"Value injected from parent component",numberProperty:123,booleanProperty:!0},showNestedOptions:!G.interactWithBackground,showDummyKeyboard:G.showDummyKeyboard,showPageProgress:G.showPageProgress,showFooter:G.showFooter,snapFooterToKeyboard:G.snapFooterToKeyboard,showDummyContent:G.showDummyContent&&!G.interactWithBackground,showStaticDummyContent:G.interactWithBackground,delayLoadDummyContent:G.delayLoadDummyContent,loadAdditionalContent:G.loadAdditionalContent,displayFooterAsInline:G.displayFooterAsInline,showModalSizeSelector:!0,disableScroll:G.disableScroll,showNestedCollapseTitle:G.showNestedCollapseTitle,alertBeforeClose:G.alertBeforeClose}};yield G.modalController.showModal(he,G.onOverlayClose.bind(G))})()}showModal(){var J=this;return(0,e.A)(function*(){yield J.showOverlay("modal")})()}showCompact(){var J=this;return(0,e.A)(function*(){const G={flavor:"compact",component:t.g};yield J.modalController.showModal(G,J.onOverlayClose.bind(J))})()}showDrawer(){var J=this;return(0,e.A)(function*(){yield J.showOverlay("drawer")})()}onOverlayClose(J){this.preventInteraction=!1,console.log("Callback from Embedded Modal:"),console.log(`Data received: ${JSON.stringify(J)}`)}}(u=K).template=$.template.split(" 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:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>_});var p,e=i(10467),t=i(3745),l=i(54438),M=i(81443),d=i(47008);const a_template='',a_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 _{constructor(E){this.modalController=E}showModal(E){var u=this;return(0,e.A)(function*(){const O={component:t.x,flavor:E,componentProps:{showStepper:!1}};yield u.modalController.showModal(O)})()}}(p=_).template=a_template,p.codeSnippet=a_codeSnippet,p.\u0275fac=function(E){return new(E||p)(l.rXU(M.W3))},p.\u0275cmp=l.VBU({type:p,selectors:[["cookbook-modal-example-alert"]],decls:2,vars:0,consts:[["kirby-button","","size","lg",3,"click"]],template:function(E,u){1&E&&(l.j41(0,"button",0),l.bIt("click",function(){return u.showModal("modal")}),l.EFF(1,"Show modal (with alert)"),l.k0s())},dependencies:[d.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:(Ze,z,i)=>{"use strict";i.d(z,{r:()=>he});var e=i(54438),t=i(35519),l=i(60177),M=i(32667),d=i(11235);function p(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",12),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleDummyKeyboard(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.showDummyKeyboard&&!be.interactWithBackground)("disabled",be.interactWithBackground||be.disabled)}}function a(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",13),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleShowPageProgress(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.showPageProgress&&!be.interactWithBackground)("disabled",be.interactWithBackground||be.disabled)}}function _(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",14),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleShowFooter(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.showFooter&&!be.interactWithBackground)("disabled",be.interactWithBackground||be.disabled)}}function v(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",15),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleDisplayFooterAsInline(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.displayFooterAsInline)("disabled",be.disabled||!be.showFooter)}}function E(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",16),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleSnapFooterToKeyboard(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.snapFooterToKeyboard)("disabled",be.disabled||!be.showFooter)}}function u(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",17),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleDisableScroll(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.disableScroll)("disabled",be.disabled)}}function O(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",18),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleShowDummyContent(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.showDummyContent)("disabled",be.interactWithBackground||be.disabled)}}function A(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",19),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleDelayLoadDummyContent(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.delayLoadDummyContent&&!be.interactWithBackground)("disabled",!be.showDummyContent||be.interactWithBackground||be.disabled)}}function $(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",20),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleLoadAdditionalContent(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.loadAdditionalContent&&!be.interactWithBackground)("disabled",!be.showDummyContent||be.interactWithBackground||be.disabled)}}function K(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",21),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleCollapseTitle(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.collapseTitle)("disabled",be.disabled)}}function X(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",22),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG();return e.Njj(it.toggleAlertBeforeClose(je))}),e.k0s()}if(2&Me){const be=e.XpG();e.Y8G("checked",be.alertBeforeClose)("disabled",be.disabled)}}function J(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",26),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG(2);return e.Njj(it.toggleInteractWithBackground(je))}),e.k0s()}if(2&Me){const be=e.XpG(2);e.Y8G("checked",be.interactWithBackground)("disabled",be.disabled)}}function G(Me,ke){if(1&Me){const be=e.RV6();e.j41(0,"kirby-checkbox",27),e.bIt("checkedChange",function(je){e.eBV(be);const it=e.XpG(2);return e.Njj(it.toggleCustomCssClass(je))}),e.k0s()}if(2&Me){const be=e.XpG(2);e.Y8G("checked",be.customCssClass)("disabled",be.disabled)}}function fe(Me,ke){if(1&Me&&(e.qex(0),e.nrm(1,"kirby-divider",23),e.j41(2,"p"),e.EFF(3,"Custom modal/drawer:"),e.k0s(),e.DNE(4,J,1,2,"kirby-checkbox",24)(5,G,1,2,"kirby-checkbox",25),e.bVm()),2&Me){const be=e.XpG();e.R7$(),e.Y8G("hasMargin",!0),e.R7$(3),e.Y8G("ngIf",void 0!==be.interactWithBackground),e.R7$(),e.Y8G("ngIf",void 0!==be.customCssClass)}}let he=(()=>{var Me;class ke{constructor(Ne){this.windowRef=Ne,this.showDummyKeyboardChange=new e.bkB,this.showPageProgressChange=new e.bkB,this.collapseTitleChange=new e.bkB,this.alertBeforeCloseChange=new e.bkB,this.showFooterChange=new e.bkB,this.displayFooterAsInlineChange=new e.bkB,this.showDummyContentChange=new e.bkB,this.delayLoadDummyContentChange=new e.bkB,this.loadAdditionalContentChange=new e.bkB,this.disableScrollChange=new e.bkB,this.interactWithBackgroundChange=new e.bkB,this.customCssClassChange=new e.bkB,this.snapFooterToKeyboardChange=new e.bkB,this.preventChangeEvent=!1}toggleDummyKeyboard(Ne){const je="kirby-cookbook-show-dummy-keyboard";this.showDummyKeyboard=Ne,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(Ne){void 0!==this.showDummyKeyboard&&(this.showDummyKeyboard=Ne)}toggleShowPageProgress(Ne){this.preventChangeEvent||(this.showPageProgress=Ne,this.showPageProgressChange.emit(this.showPageProgress))}toggleShowFooter(Ne){this.preventChangeEvent||(this.showFooter=Ne,this.showFooterChange.emit(this.showFooter))}toggleDisplayFooterAsInline(Ne){this.preventChangeEvent||(this.displayFooterAsInline=Ne,this.displayFooterAsInlineChange.emit(this.displayFooterAsInline))}toggleCollapseTitle(Ne){this.preventChangeEvent||(this.collapseTitle=Ne,this.collapseTitleChange.emit(this.collapseTitle))}toggleAlertBeforeClose(Ne){this.preventChangeEvent||(this.alertBeforeClose=Ne,this.alertBeforeCloseChange.emit(this.alertBeforeClose))}toggleShowDummyContent(Ne){this.showDummyContent=Ne,this.showDummyContentChange.emit(this.showDummyContent)}toggleDelayLoadDummyContent(Ne){this.preventChangeEvent||(this.delayLoadDummyContent=Ne,this.delayLoadDummyContentChange.emit(this.delayLoadDummyContent))}toggleLoadAdditionalContent(Ne){this.preventChangeEvent||(this.loadAdditionalContent=Ne,this.loadAdditionalContentChange.emit(this.loadAdditionalContent))}toggleDisableScroll(Ne){this.preventChangeEvent||(this.disableScroll=Ne,this.disableScrollChange.emit(this.disableScroll))}toggleInteractWithBackground(Ne){this.preventChangeEvent=!0,this.interactWithBackground=Ne,this.toggleCustomCssClass(Ne),Ne&&this.toggleShowDummyContent(!0),this.interactWithBackgroundChange.emit(Ne),setTimeout(()=>this.preventChangeEvent=!1)}toggleCustomCssClass(Ne){this.customCssClass=Ne,this.customCssClassChange.emit(Ne)}toggleSnapFooterToKeyboard(Ne){this.snapFooterToKeyboard=Ne,this.snapFooterToKeyboardChange.emit(Ne)}}return(Me=ke).\u0275fac=function(Ne){return new(Ne||Me)(e.rXU(t.W))},Me.\u0275cmp=e.VBU({type:Me,selectors:[["cookbook-modal-example-configuration"]],hostBindings:function(Ne,je){1&Ne&&e.bIt("kirbyToggleDummyKeyboard",function(pt){return je._onToggleDummyKeyboard(pt.detail)},!1,e.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(Ne,je){1&Ne&&e.DNE(0,p,1,2,"kirby-checkbox",0)(1,a,1,2,"kirby-checkbox",1)(2,_,1,2,"kirby-checkbox",2)(3,v,1,2,"kirby-checkbox",3)(4,E,1,2,"kirby-checkbox",4)(5,u,1,2,"kirby-checkbox",5)(6,O,1,2,"kirby-checkbox",6)(7,A,1,2,"kirby-checkbox",7)(8,$,1,2,"kirby-checkbox",8)(9,K,1,2,"kirby-checkbox",9)(10,X,1,2,"kirby-checkbox",10)(11,fe,6,3,"ng-container",11),2&Ne&&(e.Y8G("ngIf",void 0!==je.showDummyKeyboard),e.R7$(),e.Y8G("ngIf",void 0!==je.showPageProgress&&(void 0===je.flavor||"modal"===je.flavor)),e.R7$(),e.Y8G("ngIf",void 0!==je.showFooter),e.R7$(),e.Y8G("ngIf",void 0!==je.displayFooterAsInline),e.R7$(),e.Y8G("ngIf",void 0!==je.snapFooterToKeyboard),e.R7$(),e.Y8G("ngIf",void 0!==je.disableScroll),e.R7$(),e.Y8G("ngIf",void 0!==je.showDummyContent),e.R7$(),e.Y8G("ngIf",void 0!==je.delayLoadDummyContent),e.R7$(),e.Y8G("ngIf",void 0!==je.loadAdditionalContent),e.R7$(),e.Y8G("ngIf",void 0!==je.collapseTitle),e.R7$(),e.Y8G("ngIf",void 0!==je.alertBeforeClose),e.R7$(),e.Y8G("ngIf",void 0!==je.interactWithBackground||void 0!==je.customCssClass))},dependencies:[l.bT,M.h,d.P],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}"]}),ke})()},43081:(Ze,z,i)=>{"use strict";i.d(z,{Z:()=>p});var e=i(54438),t=i(60177),l=i(81365),M=i(27037);function d(a,_){if(1&a&&(e.j41(0,"kirby-item",2),e.nrm(1,"kirby-radio",3),e.j41(2,"kirby-label"),e.EFF(3),e.k0s()()),2&a){const v=_.$implicit;e.R7$(),e.Y8G("value",v),e.R7$(2),e.JRh(v.text)}}let p=(()=>{var a;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 e.bkB}onValueChange(E){this.size=E,this.sizeChange.emit(this.size)}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,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(E,u){1&E&&(e.j41(0,"kirby-radio-group",0),e.bIt("valueChange",function(A){return u.onValueChange(A)}),e.DNE(1,d,4,2,"kirby-item",1),e.k0s()),2&E&&(e.Y8G("value",u.size),e.R7$(),e.Y8G("ngForOf",u.modalSizeOptions))},dependencies:[t.Sq,l.JA,l.UF,M.v2,M.Y2],styles:["[_nghost-%COMP%]{display:block}"]}),_})()},34607:(Ze,z,i)=>{"use strict";i.d(z,{I:()=>_});var d,e=i(54438),t=i(81443),l=i(3271),M=i(47008);const p=()=>({awesomeQueryParam:"awesome value"}),a_template="\n",a_defaultCodeSnippet="constructor(private modalController: ModalController) {}\n\nnavigateToModalRoute(path: string | string[], queryParams?: Params) {\n this.modalController.navigateToModal(path, queryParams);\n}",a_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];",a_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 {}",a_deeplinkedRouterLinkWithUrlParamCodeSnippet="\n Link text for your deeplinked modal\n",a_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",a_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",a_routerLinkWithinModalOutletCodeSnippet='\x3c!-- Relative path to sibling modal route: --\x3e\nPage 2\n\n\x3c!-- Passing query parameters (OPTIONAL): --\x3e\nPage 2\n',a_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 _{constructor(E){this.modalController=E}navigateToModalRoute(E,u){this.modalController.navigateToModal(E,u)}}(d=_).template=a_template,d.defaultCodeSnippet=a_defaultCodeSnippet,d.modalRouteCodeSnippet=a_modalRouteCodeSnippet,d.modalRouteWithGuardCodeSnippet=a_modalRouteWithGuardCodeSnippet,d.deeplinkedRouterLinkWithUrlParamCodeSnippet=a_deeplinkedRouterLinkWithUrlParamCodeSnippet,d.routerLinkForModalOutletCodeSnippet=a_routerLinkForModalOutletCodeSnippet,d.modalControllerForModalOutletCodeSnippet=a_modalControllerForModalOutletCodeSnippet,d.routerLinkWithinModalOutletCodeSnippet=a_routerLinkWithinModalOutletCodeSnippet,d.modalControllerWithinModalOutletCodeSnippet=a_modalControllerWithinModalOutletCodeSnippet,d.\u0275fac=function(E){return new(E||d)(e.rXU(t.W3))},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-modal-example-outlet"]],decls:4,vars:2,consts:[["kirby-button","",3,"click"],["kirby-button","","kirbyModalRouterLink","page1",3,"kirbyModalQueryParams"]],template:function(E,u){1&E&&(e.j41(0,"button",0),e.bIt("click",function(){return u.navigateToModalRoute("page1",{awesomeQueryParam:"awesome value"})}),e.EFF(1,"Open modal by route"),e.k0s(),e.j41(2,"button",1),e.EFF(3,"Open modal by router link"),e.k0s()),2&E&&(e.R7$(2),e.Y8G("kirbyModalQueryParams",e.lJ4(1,p)))},dependencies:[M.Q,l.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:(Ze,z,i)=>{"use strict";i.d(z,{J:()=>u});var v,e=i(10467),t=i(75966),l=i(75902),M=i(43081),d=i(54438),p=i(81443),a=i(98990),_=i(47008);const E={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 u{constructor(A){this.modalController=A}ngOnInit(){this.size=this.sizeSelector.size}showModal(A,$){var K=this;return(0,e.A)(function*(){let X;X="compact"===A?{component:l.g,flavor:A}:{component:t.v,flavor:A,size:$.value,componentProps:{title:`${"modal"===A?"Modal":"Drawer"} - ${$.text}`,subtitle:"Hello from the first embedded example component!",showNestedOptions:!0,showDummyContent:!1,showModalSizeSelector:!0}},yield K.modalController.showModal(X)})()}sizeChange(A){this.size=A}}(v=u).template=E.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:(Ze,z,i)=>{"use strict";i.d(z,{D:()=>Ne});var E,e=i(72211),t=i(54438),l=i(57017),M=i(81443),d=i(60177),p=i(91365),a=i(35043),_=i(50589),v=i(47008);const u=()=>({fixed:!0});function O(je,it){1&je&&t.eu8(0)}function A(je,it){if(1&je&&(t.j41(0,"div")(1,"h1"),t.DNE(2,O,1,0,"ng-container",9),t.k0s()()),2&je){t.XpG();const pt=t.sdS(5);t.R7$(2),t.Y8G("ngTemplateOutlet",pt)}}function $(je,it){1&je&&(t.j41(0,"div"),t.EFF(1," Custom subtitle with a long long long long name "),t.k0s())}function K(je,it){1&je&&t.eu8(0)}function X(je,it){if(1&je&&t.DNE(0,K,1,0,"ng-container",9),2&je){t.XpG();const pt=t.sdS(5);t.Y8G("ngTemplateOutlet",pt)}}function J(je,it){1&je&&t.EFF(0," Custom Title with a very long name ")}function G(je,it){1&je&&t.EFF(0," Custom subtitle of custom title with a very long name ")}function fe(je,it){if(1&je){const pt=t.RV6();t.j41(0,"kirby-page-actions")(1,"button",10),t.bIt("click",function(){t.eBV(pt);const St=t.XpG();return t.Njj(St.onMoreSelect())}),t.nrm(2,"kirby-icon",11),t.k0s()()}}function he(je,it){if(1&je){const pt=t.RV6();t.j41(0,"kirby-page-actions")(1,"button",12),t.bIt("click",function(){t.eBV(pt);const St=t.XpG();return t.Njj(St.onCogSelect())}),t.nrm(2,"kirby-icon",13),t.k0s()()}}function Me(je,it){if(1&je&&t.nrm(0,"div",14),2&je){const pt=t.XpG();t.Y8G("innerHTML",pt.content,t.npT)}}function ke(je,it){if(1&je){const pt=t.RV6();t.j41(0,"kirby-fab-sheet",15),t.nrm(1,"kirby-icon",16),t.j41(2,"kirby-action-sheet",17),t.bIt("itemSelect",function(St){t.eBV(pt);const mt=t.XpG();return t.Njj(mt.onItemSelect(St))}),t.k0s()()}if(2&je){const pt=t.XpG();t.R7$(2),t.Y8G("items",pt.items)}}class Ne extends e.y{constructor(it,pt){super(),this.toastController=it,this.modalController=pt,this.items=[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}]}onItemSelect(it){it&&this.toastController.showToast({message:`'${it.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))}}(E=Ne).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
'.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">..."),E.\u0275fac=function(it){return new(it||E)(t.rXU(l.K),t.rXU(M.W3))},E.\u0275cmp=t.VBU({type:E,selectors:[["ng-component"]],features:[t.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(it,pt){1&it&&(t.j41(0,"kirby-page",2),t.DNE(1,A,3,1,"div",3)(2,$,2,0,"div",4)(3,X,1,1,"ng-template",5)(4,J,1,0,"ng-template",null,0,t.C5r)(6,G,1,0,"ng-template",null,1,t.C5r)(8,fe,3,0,"kirby-page-actions",6)(9,he,3,0,"kirby-page-actions",6)(10,Me,1,1,"div",7)(11,ke,3,1,"kirby-fab-sheet",8),t.k0s()),2&it&&(t.R7$(8),t.Y8G("kirbyPageActions",t.lJ4(2,u)),t.R7$(3),t.Y8G("kirbyPageContent",t.lJ4(3,u)))},dependencies:[d.T3,p.H1,p.cr,p.eR,p.wH,p.Bk,p.HE,p.Im,a.Rl,_.U,M.vL,v.Q],styles:[".custom-page-title[_ngcontent-%COMP%]{display:inline-flex}"]})},43765:(Ze,z,i)=>{"use strict";i.d(z,{i:()=>fe});var v,e=i(72211),t=i(54438),l=i(57017),M=i(81443),d=i(91365),p=i(13339),a=i(35043),_=i(47008);const E=()=>({fixed:!0}),u=()=>({maxLines:2});function O(he,Me){1&he&&(t.j41(0,"div")(1,"div",6)(2,"h1",7),t.EFF(3," Custom Titles with very long names that span multiple lines will be truncated "),t.k0s(),t.nrm(4,"kirby-icon",8),t.k0s()()),2&he&&(t.R7$(2),t.Y8G("kirbyFitHeading",t.lJ4(1,u)))}function A(he,Me){1&he&&(t.j41(0,"div"),t.EFF(1," Custom subtitles with very long names that span multiple lines will wrap. "),t.k0s())}function $(he,Me){1&he&&(t.j41(0,"div",9)(1,"div",10),t.EFF(2," Custom Titles with very long names that span multiple lines will be truncated "),t.k0s(),t.nrm(3,"kirby-icon",8),t.k0s())}function K(he,Me){if(1&he){const ke=t.RV6();t.j41(0,"kirby-page-actions")(1,"button",11),t.bIt("click",function(){t.eBV(ke);const Ne=t.XpG();return t.Njj(Ne.onMoreSelect())}),t.nrm(2,"kirby-icon",12),t.k0s()()}}function X(he,Me){if(1&he){const ke=t.RV6();t.j41(0,"kirby-page-actions")(1,"button",13),t.bIt("click",function(){t.eBV(ke);const Ne=t.XpG();return t.Njj(Ne.onCogSelect())}),t.nrm(2,"kirby-icon",14),t.k0s()()}}function J(he,Me){if(1&he&&t.nrm(0,"div",15),2&he){const ke=t.XpG();t.Y8G("innerHTML",ke.content,t.npT)}}class fe extends e.y{constructor(Me,ke){super(),this.toastController=Me,this.modalController=ke,this.items=[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}]}onItemSelect(Me){Me&&this.toastController.showToast({message:`'${Me.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))}}(v=fe).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
'.replace(' defaultBackHref="/"',"").replace(' [innerHTML]="content">',">..."),v.\u0275fac=function(Me){return new(Me||v)(t.rXU(l.K),t.rXU(M.W3))},v.\u0275cmp=t.VBU({type:v,selectors:[["ng-component"]],features:[t.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(Me,ke){1&Me&&(t.j41(0,"kirby-page",0),t.DNE(1,O,5,2,"div",1)(2,A,2,0,"div",2)(3,$,4,0,"div",3)(4,K,3,0,"kirby-page-actions",4)(5,X,3,0,"kirby-page-actions",4)(6,J,1,1,"div",5),t.k0s()),2&Me&&(t.R7$(4),t.Y8G("kirbyPageActions",t.lJ4(1,E)))},dependencies:[d.H1,d.cr,d.eR,d.wH,d.Bk,d.HE,d.Im,p.r2,a.Rl,_.Q],encapsulation:2})},83741:(Ze,z,i)=>{"use strict";i.d(z,{u:()=>p});var M,e=i(72211),t=i(54438),l=i(91365);class p extends e.y{constructor(){super()}}(M=p).template='\n \n
\n
\n'.replace(' defaultBackHref="/"',"").replace('
',"..."),M.\u0275fac=function(_){return new(_||M)},M.\u0275cmp=t.VBU({type:M,selectors:[["ng-component"]],features:[t.Vt3],decls:3,vars:1,consts:[["titleAlignment","center","title","Centered Title","subtitle","Centered Subtitle","toolbarTitle","A Different Title","defaultBackHref","/"],[3,"innerHTML"]],template:function(_,v){1&_&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content"),t.nrm(2,"div",1),t.k0s()()),2&_&&(t.R7$(2),t.Y8G("innerHTML",v.content,t.npT))},dependencies:[l.H1,l.Uu],encapsulation:2})},72211:(Ze,z,i)=>{"use strict";i.d(z,{y:()=>e});class e{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:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>K});var v,e=i(19402),t=i(72211),l=i(54438),M=i(60177),d=i(91365),p=i(81365),a=i(29756),_=i(41727);function E(X,J){if(1&X&&(l.j41(0,"code",7),l.EFF(1),l.k0s()),2&X){const G=l.XpG().$implicit;l.R7$(),l.SpI('maxWidth="',G.value,'"')}}function u(X,J){if(1&X&&(l.j41(0,"kirby-item",4)(1,"kirby-label")(2,"h3"),l.EFF(3),l.k0s(),l.DNE(4,E,2,1,"code",5),l.k0s(),l.j41(5,"kirby-label",6)(6,"data",7),l.EFF(7),l.k0s()()()),2&X){const G=J.$implicit,fe=J.selected;l.AVh("focused",J.focused),l.Y8G("selected",fe),l.R7$(3),l.JRh(G.text),l.R7$(),l.Y8G("ngIf","default"!==G.value),l.R7$(3),l.JRh(G.width)}}const O=e.Q.pageContentMaxWidth,A='\n
\n Max Width\n \n \n \n

{{ item.text }}

\n maxWidth="{{item.value}}"\n
\n \n {{ item.width }}\n \n \n \n
\n',$={template:`\n ${A}\n
\n
\n
`};class K extends t.y{constructor(){super(...arguments),this.maxWidthOptions=[{text:"Default",value:"default",width:O("default")},{text:"Large",value:"lg",width:O("lg")},{text:"X-Large",value:"xl",width:O("xl")},{text:"Full",value:"full",width:O("full")}],this.maxWidth=this.maxWidthOptions[0].value}onMaxWidthChange(J){this.maxWidth=J}}(v=K).template=$.template.replace(A,"").replace('
',"..."),v.\u0275fac=(()=>{let X;return function(G){return(X||(X=l.xGo(v)))(G||v)}})(),v.\u0275cmp=l.VBU({type:v,selectors:[["ng-component"]],features:[l.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"],["detail","",4,"ngIf"],["slot","end"],["detail",""]],template:function(J,G){1&J&&(l.j41(0,"kirby-page",0)(1,"kirby-page-content")(2,"fieldset")(3,"legend"),l.EFF(4,"Max Width"),l.k0s(),l.j41(5,"kirby-dropdown",1),l.bIt("change",function(he){return G.onMaxWidthChange(he.value)}),l.DNE(6,u,8,6,"kirby-item",2),l.k0s()(),l.nrm(7,"div",3),l.k0s()()),2&J&&(l.Y8G("maxWidth",G.maxWidth),l.R7$(5),l.Y8G("items",G.maxWidthOptions)("selectedIndex",0),l.R7$(2),l.Y8G("innerHTML",G.content,l.npT))},dependencies:[M.bT,d.H1,d.Uu,p.JA,p.UF,a.bx,_.Ps],styles:["fieldset[_ngcontent-%COMP%]{margin-bottom:16px}"]})},43511:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>p});var M,e=i(72211),t=i(54438),l=i(91365);class p extends e.y{}(M=p).template='\n \n
\n
\n'.replace(' defaultBackHref="/"',"").replace('
',"..."),M.\u0275fac=(()=>{let a;return function(v){return(a||(a=t.xGo(M)))(v||M)}})(),M.\u0275cmp=t.VBU({type:M,selectors:[["ng-component"]],features:[t.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(_,v){1&_&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content"),t.nrm(2,"div",1),t.k0s()()),2&_&&(t.R7$(2),t.Y8G("innerHTML",v.content,t.npT))},dependencies:[l.H1,l.Uu],encapsulation:2})},80956:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>fe});var u,e=i(91365),t=i(72211),l=i(54438),M=i(22694),d=i(60177),p=i(35043),a=i(81365),_=i(98990),v=i(57808),E=i(47008);function O(he,Me){1&he&&l.eu8(0)}function A(he,Me){1&he&&l.eu8(0)}function $(he,Me){if(1&he){const ke=l.RV6();l.j41(0,"kirby-page-footer")(1,"h3"),l.EFF(2,"0 selected"),l.k0s(),l.EFF(3," This is a fixed footer "),l.j41(4,"button",5),l.bIt("click",function(){l.eBV(ke);const Ne=l.XpG();return l.Njj(Ne.onCloseClick())}),l.nrm(5,"kirby-icon",6),l.k0s()()}}function K(he,Me){if(1&he){const ke=l.RV6();l.j41(0,"kirby-card")(1,"kirby-item")(2,"h3"),l.EFF(3,"Show tabs"),l.k0s(),l.j41(4,"kirby-toggle",7),l.bIt("click",function(){l.eBV(ke);const Ne=l.XpG();return l.Njj(Ne.toggleTabs())}),l.k0s()(),l.j41(5,"kirby-item")(6,"h3"),l.EFF(7,"Show footer"),l.k0s(),l.j41(8,"kirby-toggle",7),l.bIt("click",function(){l.eBV(ke);const Ne=l.XpG();return l.Njj(Ne.toggleFooter())}),l.k0s()()()}if(2&he){const ke=l.XpG();l.R7$(4),l.Y8G("checked",ke.showTabs),l.R7$(4),l.Y8G("checked",ke.showFooter)}}class fe extends t.y{constructor(Me){super(),this.route=Me,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}}(u=fe).template='\n \n \n
\n \n
\n \n

0 selected

\n This is a fixed footer\n \n
\n
'.replace(/]*>(.|\s)*?<\/kirby-page-content>/,"..."),u.\u0275fac=function(Me){return new(Me||u)(l.rXU(M.nX))},u.\u0275cmp=l.VBU({type:u,selectors:[["ng-component"]],viewQuery:function(Me,ke){if(1&Me&&l.GBs(e.oX,5),2&Me){let be;l.mGM(be=l.lsd())&&(ke.pageFooter=be.first)}},features:[l.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(Me,ke){if(1&Me&&(l.j41(0,"kirby-page",1)(1,"kirby-page-content"),l.DNE(2,O,1,0,"ng-container",2),l.nrm(3,"div",3),l.DNE(4,A,1,0,"ng-container",2),l.k0s(),l.DNE(5,$,6,0,"kirby-page-footer",4),l.k0s(),l.DNE(6,K,9,2,"ng-template",null,0,l.C5r)),2&Me){const be=l.sdS(7);l.Y8G("title",ke.title)("tabBarBottomHidden",!ke.showTabs),l.R7$(2),l.Y8G("ngTemplateOutlet",be),l.R7$(),l.Y8G("innerHTML",ke.content,l.npT),l.R7$(),l.Y8G("ngTemplateOutlet",be),l.R7$(),l.Y8G("ngIf",ke.showFooter)}},dependencies:[d.bT,d.T3,e.H1,e.Uu,e.oX,p.Rl,a.JA,_.ib,v.a,E.Q],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:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>$});var _,e=i(72211),t=i(54438),l=i(57017),M=i(81443),d=i(91365),p=i(35043),a=i(47008);const v=()=>({fixed:!0});function E(K,X){if(1&K){const J=t.RV6();t.j41(0,"kirby-page-actions")(1,"button",3),t.bIt("click",function(){t.eBV(J);const fe=t.XpG();return t.Njj(fe.onMoreSelect())}),t.nrm(2,"kirby-icon",4),t.k0s()()}}class $ extends e.y{constructor(X,J){super(),this.toastController=X,this.modalController=J,this.items=[{id:"1",text:"Option 1"},{id:"2",text:"Option 2"},{id:"3",text:"Option 3"}]}onItemSelect(X){X&&this.toastController.showToast({message:`'${X.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))}}(_=$).template='\n \x3c!-- Fixed Page Actions --\x3e\n \n \n \n \x3c!-- Page Content --\x3e\n \n
\n
\n
'.replace(' defaultBackHref="/"',"").replace('
',"..."),_.customTitleTemplate="\n
A Fixed Title
\n ...\n
",_.fixedActionsTemplate='\n \n ...\n \n ...\n',_.\u0275fac=function(X){return new(X||_)(t.rXU(l.K),t.rXU(M.W3))},_.\u0275cmp=t.VBU({type:_,selectors:[["ng-component"]],features:[t.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(X,J){1&X&&(t.j41(0,"kirby-page",0),t.DNE(1,E,3,0,"kirby-page-actions",1),t.j41(2,"kirby-page-content"),t.nrm(3,"div",2),t.k0s()()),2&X&&(t.R7$(),t.Y8G("kirbyPageActions",t.lJ4(2,v)),t.R7$(2),t.Y8G("innerHTML",J.content,t.npT))},dependencies:[d.H1,d.cr,d.eR,d.Uu,p.Rl,a.Q],encapsulation:2})},13743:(Ze,z,i)=>{"use strict";i.d(z,{i:()=>p});var M,e=i(72211),t=i(54438),l=i(91365);class p extends e.y{loadData(_){console.log("Begin async operation"),setTimeout(()=>{console.log("Async operation has ended"),_.complete()},3e3)}}(M=p).template='\n \n
\n
\n
'.replace(' defaultBackHref="/"',"").replace('
',"..."),M.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}",M.\u0275fac=(()=>{let a;return function(v){return(a||(a=t.xGo(M)))(v||M)}})(),M.\u0275cmp=t.VBU({type:M,selectors:[["ng-component"]],features:[t.Vt3],decls:3,vars:1,consts:[["title","Pull-to-refresh","defaultBackHref","/",3,"refresh"],[3,"innerHTML"]],template:function(_,v){1&_&&(t.j41(0,"kirby-page",0),t.bIt("refresh",function(u){return v.loadData(u)}),t.j41(1,"kirby-page-content"),t.nrm(2,"div",1),t.k0s()()),2&_&&(t.R7$(2),t.Y8G("innerHTML",v.content,t.npT))},dependencies:[l.H1,l.Uu],encapsulation:2})},80295:(Ze,z,i)=>{"use strict";i.d(z,{P:()=>p});var M,e=i(72211),t=i(54438),l=i(91365);class p extends e.y{}(M=p).template='\n \n
\n
\n
'.replace(' defaultBackHref="/"',"").replace('
',"..."),M.\u0275fac=(()=>{let a;return function(v){return(a||(a=t.xGo(M)))(v||M)}})(),M.\u0275cmp=t.VBU({type:M,selectors:[["ng-component"]],features:[t.Vt3],decls:3,vars:1,consts:[["title","Simple Page","subtitle","Subtitle of simple page","defaultBackHref","/"],[3,"innerHTML"]],template:function(_,v){1&_&&(t.j41(0,"kirby-page",0)(1,"kirby-page-content"),t.nrm(2,"div",1),t.k0s()()),2&_&&(t.R7$(2),t.Y8G("innerHTML",v.content,t.npT))},dependencies:[l.H1,l.Uu],encapsulation:2})},17464:(Ze,z,i)=>{"use strict";i.d(z,{F:()=>O});var _,e=i(72211),t=i(54438),l=i(60177),M=i(91365),d=i(6260),p=i(35043),a=i(75797);function v(A,$){if(1&A){const K=t.RV6();t.j41(0,"kirby-tab-navigation",4),t.mxI("selectedIndexChange",function(J){t.eBV(K);const G=t.XpG();return t.DH7(G.selectedIndex,J)||(G.selectedIndex=J),t.Njj(J)}),t.nrm(1,"kirby-tab-navigation-item",5),t.j41(2,"kirby-tab-navigation-item",5)(3,"kirby-badge",6),t.nrm(4,"kirby-icon",7),t.k0s()(),t.j41(5,"kirby-tab-navigation-item",8)(6,"kirby-badge",9),t.EFF(7," 3 "),t.k0s()(),t.nrm(8,"kirby-tab-navigation-item",5),t.j41(9,"kirby-tab-navigation-item",5)(10,"kirby-badge"),t.nrm(11,"kirby-icon",10),t.k0s()(),t.j41(12,"kirby-tab-navigation-item",5)(13,"kirby-badge"),t.nrm(14,"kirby-icon",10),t.k0s()()()}if(2&A){const K=t.XpG();t.R50("selectedIndex",K.selectedIndex),t.R7$(),t.FS9("label",K.labels[0]),t.R7$(),t.FS9("label",K.labels[1]),t.R7$(3),t.FS9("label",K.labels[2]),t.Y8G("truncate",!1),t.R7$(3),t.FS9("label",K.labels[3]),t.R7$(),t.FS9("label",K.labels[4]),t.R7$(3),t.FS9("label",K.labels[5])}}function E(A,$){1&A&&(t.j41(0,"p"),t.EFF(1," Aut, dignissimos dolorum ducimus et rem reprehenderit rerum sunt ut! "),t.k0s())}class O extends e.y{constructor(){super(...arguments),this.selectedIndex=0,this.labels=["Item 1","Item 2 truncated","Item 3 not truncated","Item 4","Item 5","Item 6"]}}(_=O).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
'.replace(' defaultBackHref="/"',"").replace('
',"..."),_.codeSnippet="selectedIndex = 0;\nlabels = ['Item 1', 'Item 2 truncated', 'Item 3 not truncated', 'Item 4', 'Item 5', 'Item 6']];\n",_.\u0275fac=(()=>{let A;return function(K){return(A||(A=t.xGo(_)))(K||_)}})(),_.\u0275cmp=t.VBU({type:_,selectors:[["ng-component"]],features:[t.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){1&$&&(t.j41(0,"kirby-page",0),t.DNE(1,v,15,8,"kirby-tab-navigation",1),t.j41(2,"kirby-page-content")(3,"h4"),t.EFF(4),t.k0s(),t.DNE(5,E,2,0,"p",2),t.nrm(6,"div",3),t.k0s()()),2&$&&(t.R7$(4),t.SpI("About ",K.labels[K.selectedIndex],""),t.R7$(),t.Y8G("ngIf",K.selectedIndex%2==0),t.R7$(),t.Y8G("innerHTML",K.content,t.npT))},dependencies:[l.bT,M.H1,M.Uu,M.dJ,d.FK,d.uE,p.Rl,a.n],encapsulation:2})},53214:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>d});var e=i(54438),t=i(72882),l=i(60177);const M_template='\n {{ progress | number: \'1.1-1\' }}%\n',M_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 d=(()=>{var p;class a{constructor(){this.template=M_template,this.codeSnippet=M_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)}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-progress-circle-example-animated"]],decls:3,vars:6,consts:[["size","lg",3,"themeColor","value"]],template:function(v,E){1&v&&(e.j41(0,"kirby-progress-circle",0),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&v&&(e.Y8G("themeColor",E.themeColor)("value",E.progress),e.R7$(),e.SpI(" ",e.i5U(2,3,E.progress,"1.1-1"),"%\n"))},dependencies:[t.Z,l.QX],encapsulation:2}),a})()},28690:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>a});var e=i(54438),t=i(35043),l=i(13339),M=i(72882),d=i(28287);const p_template='\n \n \n \n\n\n\n \n \n \n\n\n\n \n \n \n';let a=(()=>{var _;class v{constructor(){this.template=p_template}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,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(u,O){1&u&&(e.j41(0,"kirby-progress-circle",0)(1,"kirby-avatar",1),e.nrm(2,"kirby-icon",2),e.k0s()(),e.j41(3,"kirby-progress-circle",3)(4,"kirby-avatar",1),e.nrm(5,"kirby-icon",2),e.k0s()(),e.j41(6,"kirby-progress-circle",4)(7,"kirby-avatar",1),e.nrm(8,"kirby-icon",2),e.k0s()())},dependencies:[t.Rl,l.Cd,M.Z,d.f],styles:["[_nghost-%COMP%]{display:flex!important;align-items:center}kirby-progress-circle[_ngcontent-%COMP%]{margin-right:20px}"]}),v})()},28481:(Ze,z,i)=>{"use strict";i.d(z,{D:()=>_});var e=i(54438),t=i(35043),l=i(81365),M=i(98990),d=i(72882),p=i(60177);const a_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 _=(()=>{var v;class E{constructor(){this.template=a_template}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=e.VBU({type:v,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(O,A){1&O&&(e.j41(0,"kirby-card",0)(1,"kirby-item")(2,"kirby-label")(3,"h2"),e.EFF(4,"Your investment savings"),e.k0s(),e.j41(5,"div")(6,"data",1),e.EFF(7),e.nI1(8,"currency"),e.k0s()()(),e.j41(9,"kirby-progress-circle",2),e.nrm(10,"kirby-icon",3),e.k0s()()(),e.j41(11,"kirby-card",0)(12,"kirby-item")(13,"kirby-progress-circle",4),e.nrm(14,"kirby-icon",3),e.k0s(),e.j41(15,"h2"),e.EFF(16,"Your investment savings"),e.k0s(),e.j41(17,"data",5),e.EFF(18),e.nI1(19,"currency"),e.k0s()()()),2&O&&(e.R7$(7),e.JRh(e.bMT(8,2,2435034)),e.R7$(11),e.JRh(e.bMT(19,4,2435034)))},dependencies:[t.Rl,l.JA,l.UF,M.ib,d.Z,p.oe],styles:["[_nghost-%COMP%]{width:100%;max-width:500px}kirby-card[_ngcontent-%COMP%]:not(:first-of-type){margin-top:12px}"]}),E})()},22322:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>M});var e=i(54438),t=i(72882);let M=(()=>{var d;class p{constructor(){this.template='33%'}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-progress-circle-example-content-percent"]],decls:2,vars:0,consts:[["value","33","size","lg"]],template:function(_,v){1&_&&(e.j41(0,"kirby-progress-circle",0),e.EFF(1,"33%"),e.k0s())},dependencies:[t.Z],encapsulation:2}),p})()},64616:(Ze,z,i)=>{"use strict";i.d(z,{v:()=>M});var e=i(54438),t=i(72882);const l_template='\n 2/4\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-progress-circle-example-content-steps"]],decls:2,vars:0,consts:[["themeColor","warning","value","50","size","sm",1,"kirby-text-xsmall"]],template:function(_,v){1&_&&(e.j41(0,"kirby-progress-circle",0),e.EFF(1," 2/4\n"),e.k0s())},dependencies:[t.Z],encapsulation:2}),p})()},8238:(Ze,z,i)=>{"use strict";i.d(z,{e:()=>M});var e=i(54438),t=i(72882);let M=(()=>{var d;class p{constructor(){this.template=''}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-progress-circle-example-default"]],decls:1,vars:0,consts:[["value","33"]],template:function(_,v){1&_&&e.nrm(0,"kirby-progress-circle",0)},dependencies:[t.Z],encapsulation:2}),p})()},26913:(Ze,z,i)=>{"use strict";i.d(z,{F:()=>M});var e=i(54438),t=i(72882);const l_template='

sm

\n

md (default)

\n

lg

';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-progress-circle",0)(1,"p"),e.EFF(2,"sm"),e.k0s()(),e.j41(3,"kirby-progress-circle",1)(4,"p"),e.EFF(5,"md "),e.j41(6,"em"),e.EFF(7,"(default)"),e.k0s()()(),e.j41(8,"kirby-progress-circle",2)(9,"p"),e.EFF(10,"lg"),e.k0s()())},dependencies:[t.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}"]}),p})()},93093:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>a});var e=i(86413),t=i(54438),l=i(57017),M=i(27037);const d=[{title:"Bacon",value:1},{title:"Salami",value:2},{title:"Tenderloin",value:3},{title:"Veggie (not an option)",value:4,disabled:!0}],p={selector:"cookbook-radio-example-binding",template:'\n',twoWayBindingTemplate:'',codeSnippet:`items = ${(0,e.i)(d)};\n\nselected = this.items[0];\n\nonChange(value: string | YourDataType) {\n ...\n}`};let a=(()=>{var _;class v{constructor(u){this.toastController=u,this.template=p.template,this.twoWayBindingTemplate=p.twoWayBindingTemplate,this.codeSnippet=p.codeSnippet,this.items=d,this.selected=this.items[0]}onChange(u){this.toastController.showToast({message:`Item '${u.title} (value: ${u.value})' was selected.`,messageType:"success",durationInMs:1500})}}return(_=v).\u0275fac=function(u){return new(u||_)(t.rXU(l.K))},_.\u0275cmp=t.VBU({type:_,selectors:[["cookbook-radio-example-binding"]],decls:1,vars:2,consts:[["itemTextProperty","title",3,"valueChange","items","value"]],template:function(u,O){1&u&&(t.j41(0,"kirby-radio-group",0),t.bIt("valueChange",function($){return O.onChange($)}),t.k0s()),2&u&&t.Y8G("items",O.items)("value",O.selected)},dependencies:[M.Y2],encapsulation:2}),v})()},34889:(Ze,z,i)=>{"use strict";i.d(z,{H:()=>_});var e=i(86413),t=i(54438),l=i(27037),M=i(29756);function d(v,E){if(1&v&&(t.j41(0,"div",2),t.nrm(1,"kirby-radio",3),t.j41(2,"span",4),t.EFF(3),t.k0s()()),2&v){const u=E.$implicit;t.AVh("is-selected",E.selected),t.R7$(),t.Y8G("value",u)("text",u.label),t.BMQ("title",u.description),t.R7$(2),t.SpI("Rating: ",u.rating,"")}}const p=[{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}],a={selector:"cookbook-radio-custom-content-example",template:'\n \n \n \n Rating: {{item.rating}}\n
\n',slottedTemplate:'\n \n \n \n',codeSnippet:`items = ${(0,e.i)(p)};\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 _=(()=>{var v;class E{constructor(){this.template=`\x3c!-- 1. Using slotted --\x3e\n${a.slottedTemplate}\n\n\x3c!-- 2. Using *kirbyListItemTemplate --\x3e\n${a.template}`,this.codeSnippet=a.codeSnippet,this.styles=a.styles.join("\n"),this.items=p,this.selected=this.items[1]}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=t.VBU({type:v,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(O,A){1&O&&(t.j41(0,"kirby-radio-group",0),t.DNE(1,d,4,6,"div",1),t.k0s()),2&O&&t.Y8G("value",A.selected)("items",A.items)},dependencies:[l.v2,l.Y2,M.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)}"]}),E})()},92973:(Ze,z,i)=>{"use strict";i.d(z,{i:()=>d});var e=i(54438),t=i(27037);const l=()=>["Bacon","Salami","Tenderloin"],M_template="";let d=(()=>{var p;class a{constructor(){this.template=M_template}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-radio-default-example"]],decls:1,vars:2,consts:[[3,"items"]],template:function(v,E){1&v&&e.nrm(0,"kirby-radio-group",0),2&v&&e.Y8G("items",e.lJ4(1,l))},dependencies:[t.Y2],encapsulation:2}),a})()},90565:(Ze,z,i)=>{"use strict";i.d(z,{M:()=>p});var e=i(54438),t=i(27037),l=i(56297);const M=()=>["Bacon","Salami","Tenderloin"],d_template='\n \n\n\n\n \n';let p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,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(E,u){if(1&E){const O=e.RV6();e.j41(0,"kirby-form-field",1),e.nrm(1,"kirby-radio-group",2),e.k0s(),e.j41(2,"kirby-form-field",3)(3,"kirby-radio-group",4,0),e.bIt("valueChange",function(){e.eBV(O);const $=e.sdS(4);return e.Njj($.hasError=!1)}),e.k0s()()}2&E&&(e.R7$(),e.Y8G("items",e.lJ4(3,M)),e.R7$(2),e.Y8G("hasError",!0)("items",e.lJ4(4,M)))},dependencies:[t.Y2,l.KS],styles:["[_nghost-%COMP%]{display:flex}kirby-form-field[_ngcontent-%COMP%]:not(:last-of-type){margin-right:40px}"]}),_})()},58553:(Ze,z,i)=>{"use strict";i.d(z,{D:()=>E});var e=i(86413),t=i(54438),l=i(60177),M=i(27037),d=i(81365),p=i(98990);function a(u,O){if(1&u&&(t.j41(0,"kirby-item")(1,"kirby-radio",2),t.EFF(2),t.k0s()()),2&u){const A=O.$implicit;t.R7$(),t.Y8G("value",A)("disabled",A.disabled),t.R7$(),t.SpI(" ",A.title," ")}}const _=[{title:"Bacon",value:1},{title:"Salami (disabled)",value:2,disabled:!0},{title:"Tenderloin",value:3}],v={selector:"cookbook-radio-in-item-example",template:'\n \n \n \n {{item.title}}\n \n \n \n',codeSnippet:`items = ${(0,e.i)(_)};\nselected = this.items[2];`};let E=(()=>{var u;class O{constructor(){this.template=v.template,this.codeSnippet=v.codeSnippet,this.items=_,this.selected=this.items[2]}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["cookbook-radio-in-item-example"]],decls:3,vars:2,consts:[[3,"value"],[4,"ngFor","ngForOf"],["slot","start",3,"value","disabled"]],template:function($,K){1&$&&(t.j41(0,"kirby-card")(1,"kirby-radio-group",0),t.DNE(2,a,3,3,"kirby-item",1),t.k0s()()),2&$&&(t.R7$(),t.Y8G("value",K.selected),t.R7$(),t.Y8G("ngForOf",K.items))},dependencies:[l.Sq,M.v2,M.Y2,d.JA,p.ib],encapsulation:2}),O})()},43319:(Ze,z,i)=>{"use strict";i.d(z,{u:()=>M});var e=i(54438),t=i(27037);const l_template='\n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-radio",0)},dependencies:[t.v2],encapsulation:2}),p})()},1199:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>u});var e=i(84341),t=i(86413),l=i(54438),M=i(2923),d=i(88075),p=i(27037),a=i(11235),_=i(47008);const v=["Bacon","Salami","Tenderloin","Tongue","Drumstick"],E={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,t.i)(v)};\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 u=(()=>{var O;class A{constructor(){this.template=E.template.split("")[0],this.codeSnippet=E.codeSnippet,this.items=v,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?e.k0.required:null),this.favoriteFoodControl.updateValueAndValidity()}clearForm(){this.favoriteFoodControl.setValue(null)}buildForm(){this.favoriteFoodControl=new e.hs(null,this.favoriteRequired?e.k0.required:null),this.canSelectFavorite||this.favoriteFoodControl.disable(),this.form=new e.J3({favoriteFood:this.favoriteFoodControl})}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=l.VBU({type:O,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(K,X){1&K&&(l.j41(0,"form",0),l.nrm(1,"kirby-radio-group",1),l.k0s(),l.j41(2,"cookbook-example-configuration-wrapper")(3,"kirby-checkbox",2),l.bIt("checkedChange",function(G){return X.toggleEnabled(G)}),l.k0s(),l.j41(4,"kirby-checkbox",3),l.bIt("checkedChange",function(G){return X.toggleRequired(G)}),l.k0s(),l.j41(5,"button",4),l.bIt("click",function(){return X.clearForm()}),l.EFF(6," Clear form "),l.k0s(),l.nrm(7,"cookbook-reactive-form-state",5),l.k0s()),2&K&&(l.Y8G("formGroup",X.form),l.R7$(),l.Y8G("items",X.items),l.R7$(2),l.Y8G("checked",X.canSelectFavorite),l.R7$(),l.Y8G("checked",X.favoriteRequired),l.R7$(),l.Y8G("disabled",null===X.favoriteFoodControl.value),l.R7$(2),l.Y8G("form",X.form))},dependencies:[M.V,e.qT,e.BC,e.cb,e.j4,e.JD,d.m,p.Y2,a.P,_.Q],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)}"]}),A})()},97010:(Ze,z,i)=>{"use strict";i.d(z,{D:()=>M});var e=i(54438),t=i(27037);const l_template='\n \n \n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-radio-group"),e.nrm(1,"kirby-radio",0)(2,"kirby-radio",1)(3,"kirby-radio",2)(4,"kirby-radio-group"),e.k0s())},dependencies:[t.v2,t.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}']}),p})()},564:(Ze,z,i)=>{"use strict";i.d(z,{H:()=>M});var e=i(54438),t=i(27037);const l_template='\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n';let M=(()=>{var d;class p{constructor(){this.template=l_template}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&(e.j41(0,"kirby-radio-group"),e.nrm(1,"kirby-radio",0),e.k0s(),e.j41(2,"kirby-radio-group",1),e.nrm(3,"kirby-radio",2),e.k0s(),e.j41(4,"kirby-radio-group"),e.nrm(5,"kirby-radio",3),e.k0s(),e.j41(6,"kirby-radio-group",1),e.nrm(7,"kirby-radio",4),e.k0s(),e.j41(8,"kirby-radio-group",5),e.nrm(9,"kirby-radio",6),e.k0s()),2&_&&(e.R7$(5),e.Y8G("disabled",!0),e.R7$(3),e.Y8G("hasError",!0))},dependencies:[t.v2,t.Y2],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:wrap}kirby-radio[_ngcontent-%COMP%]{margin-right:16px}"]}),p})()},72449:(Ze,z,i)=>{"use strict";i.d(z,{Q:()=>u});var e=i(86413),t=i(54438),l=i(2923),M=i(84341),d=i(27037),p=i(11235),a=i(47008),_=i(60177);const v=["Bacon","Salami","Tenderloin","Tongue","Drumstick"],E={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,e.i)(v)};\n\nselected = null;\ncanSelectFavorite = true;\nfavoriteRequired = true;`};let u=(()=>{var O;class A{constructor(){this.template=E.template.split("")[0],this.codeSnippet=E.codeSnippet,this.items=v,this.selected=null,this.canSelectFavorite=!0,this.favoriteRequired=!0}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=t.VBU({type:O,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(K,X){if(1&K){const J=t.RV6();t.j41(0,"kirby-radio-group",1,0),t.mxI("ngModelChange",function(fe){return t.eBV(J),t.DH7(X.selected,fe)||(X.selected=fe),t.Njj(fe)}),t.k0s(),t.j41(2,"cookbook-example-configuration-wrapper")(3,"kirby-checkbox",2),t.bIt("checkedChange",function(){return t.eBV(J),t.Njj(X.canSelectFavorite=!X.canSelectFavorite)}),t.k0s(),t.j41(4,"kirby-checkbox",3),t.bIt("checkedChange",function(){return t.eBV(J),t.Njj(X.favoriteRequired=!X.favoriteRequired)}),t.k0s(),t.j41(5,"button",4),t.bIt("click",function(){return t.eBV(J),t.Njj(X.selected=null)}),t.EFF(6," Clear selection "),t.k0s(),t.j41(7,"section",5)(8,"h4"),t.EFF(9,"Form state:"),t.k0s(),t.j41(10,"p")(11,"strong"),t.EFF(12,"Selected:"),t.k0s(),t.EFF(13),t.nI1(14,"json"),t.k0s(),t.j41(15,"p")(16,"strong"),t.EFF(17,"ngModel: "),t.k0s(),t.j41(18,"span"),t.EFF(19),t.k0s(),t.j41(20,"span"),t.EFF(21),t.k0s(),t.j41(22,"span"),t.EFF(23),t.k0s()(),t.j41(24,"p")(25,"strong"),t.EFF(26,"ngModel.errors: "),t.k0s(),t.j41(27,"span"),t.EFF(28),t.nI1(29,"json"),t.k0s()()()()}if(2&K){const J=t.sdS(1);t.Y8G("items",X.items),t.R50("ngModel",X.selected),t.Y8G("required",X.favoriteRequired)("disabled",!X.canSelectFavorite||null),t.R7$(3),t.Y8G("checked",X.canSelectFavorite),t.R7$(),t.Y8G("checked",X.favoriteRequired),t.R7$(),t.Y8G("disabled",null===X.selected),t.R7$(8),t.SpI(" ",t.bMT(14,20,X.selected)," "),t.R7$(5),t.AVh("state-true",J.valid),t.R7$(),t.SpI("valid: ",J.valid,""),t.R7$(),t.AVh("state-true",J.enabled),t.R7$(),t.SpI("enabled: ",J.enabled,""),t.R7$(),t.AVh("state-true",J.touched),t.R7$(),t.SpI("touched: ",J.touched,""),t.R7$(4),t.AVh("state-true",!J.errors),t.R7$(),t.JRh(t.bMT(29,22,J.errors))}},dependencies:[l.V,M.BC,M.YS,M.vS,d.Y2,p.P,a.Q,_.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)}"]}),A})()},25994:(Ze,z,i)=>{"use strict";i.d(z,{u:()=>M});var e=i(54438),t=i(35987);let M=(()=>{var d;class p{constructor(){this.template=''}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-range-default-example"]],decls:1,vars:0,consts:[["minLabel","Min label","maxLabel","Max label","max","100","min","1","value","25"]],template:function(_,v){1&_&&e.nrm(0,"kirby-range",0)},dependencies:[t.V],encapsulation:2}),p})()},85337:(Ze,z,i)=>{"use strict";i.d(z,{P:()=>M});var e=i(54438),t=i(35987);let M=(()=>{var d;class p{constructor(){this.template=''}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-range-disabled-form-example"]],decls:1,vars:0,consts:[["disabled","","minLabel","Min value","maxLabel","Max value","max","15","min","1"]],template:function(_,v){1&_&&e.nrm(0,"kirby-range",0)},dependencies:[t.V],encapsulation:2}),p})()},53664:(Ze,z,i)=>{"use strict";i.d(z,{W:()=>d});var e=i(54438),t=i(35987);let d=(()=>{var p;class a{constructor(){this.template='',this.pinFormatterFunction="pinFormatter(value: number) {\n return `${value}%`;\n}",this.pinFormatterTemplate=''}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-range-pin-example"]],decls:1,vars:0,consts:[["pin","true","minLabel","Min value","maxLabel","Max value","max","15","min","1"]],template:function(v,E){1&v&&e.nrm(0,"kirby-range",0)},dependencies:[t.V],encapsulation:2}),a})()},73123:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>M});var e=i(54438),t=i(35987);let M=(()=>{var d;class p{constructor(){this.template=''}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-range",0)},dependencies:[t.V],encapsulation:2}),p})()},88075:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>d});var e=i(54438),t=i(60177);function l(p,a){if(1&p&&(e.j41(0,"p")(1,"strong"),e.EFF(2),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"json"),e.k0s()()),2&p){const _=e.XpG().$implicit;e.R7$(2),e.SpI("form.",_.key,".errors: "),e.R7$(),e.AVh("state-true",!_.value.errors),e.R7$(),e.JRh(e.bMT(5,4,_.value.errors))}}function M(p,a){if(1&p&&(e.qex(0),e.j41(1,"p")(2,"strong"),e.EFF(3),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s(),e.j41(6,"span"),e.EFF(7),e.k0s(),e.j41(8,"span"),e.EFF(9),e.k0s()(),e.DNE(10,l,6,6,"p",2),e.bVm()),2&p){const _=a.$implicit;e.R7$(3),e.SpI("form.",_.key,": "),e.R7$(),e.AVh("state-true",_.value.valid),e.R7$(),e.SpI("valid: ",_.value.valid,""),e.R7$(),e.AVh("state-true",_.value.enabled),e.R7$(),e.SpI("enabled: ",_.value.enabled,""),e.R7$(),e.AVh("state-true",_.value.touched),e.R7$(),e.SpI("touched: ",_.value.touched,""),e.R7$(),e.Y8G("ngIf",!!_.value.validator)}}let d=(()=>{var p;class a{}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-reactive-form-state"]],inputs:{form:"form"},decls:11,vars:6,consts:[[1,"form-state"],[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(v,E){1&v&&(e.j41(0,"section",0)(1,"h4"),e.EFF(2,"Form state:"),e.k0s(),e.j41(3,"p")(4,"strong"),e.EFF(5,"form.value:"),e.k0s(),e.EFF(6),e.nI1(7,"json"),e.nrm(8,"br"),e.k0s(),e.DNE(9,M,11,11,"ng-container",1),e.nI1(10,"keyvalue"),e.k0s()),2&v&&(e.R7$(6),e.SpI(" ",e.bMT(7,2,E.form.value)," "),e.R7$(3),e.Y8G("ngForOf",e.bMT(10,4,E.form.controls)))},dependencies:[t.Sq,t.bT,t.TG,t.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)}"]}),a})()},60039:(Ze,z,i)=>{"use strict";i.d(z,{_:()=>a});var e=i(54438),t=i(81365),l=i(98990),M=i(18713),d=i(28287);const p_template='\n

Contact Info

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

Name

\n

Telephone

\n
\n \n

contact@mail.com

\n
\n
\n
';let a=(()=>{var _;class v{constructor(){this.template=p_template}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,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-bold"],["detail",""],["slot","end"]],template:function(u,O){1&u&&(e.j41(0,"kirby-section-header")(1,"h3",0),e.EFF(2,"Contact Info"),e.k0s()(),e.j41(3,"kirby-card",1)(4,"kirby-item"),e.nrm(5,"kirby-avatar",2),e.j41(6,"kirby-label")(7,"h3",3),e.EFF(8,"Name"),e.k0s(),e.j41(9,"p",4),e.EFF(10,"Telephone"),e.k0s()(),e.j41(11,"kirby-label",5)(12,"p",4),e.EFF(13,"contact@mail.com"),e.k0s()()()()),2&u&&(e.R7$(3),e.Y8G("hasPadding",!0))},dependencies:[t.JA,t.UF,l.ib,M.U,d.f],encapsulation:2}),v})()},39968:(Ze,z,i)=>{"use strict";i.d(z,{M:()=>p});var e=i(54438),t=i(81365),l=i(98990),M=i(18713);const d_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 p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-section-header-heading-with-label"]],decls:17,vars:1,consts:[["heading",""],["label",""],[3,"hasPadding"],["slot","end"]],template:function(E,u){1&E&&(e.j41(0,"kirby-section-header")(1,"kirby-label")(2,"h3",0),e.EFF(3,"Section Header"),e.k0s(),e.j41(4,"p",1),e.EFF(5,"With a label"),e.k0s()()(),e.j41(6,"kirby-card",2)(7,"kirby-item")(8,"h3"),e.EFF(9,"Title"),e.k0s(),e.j41(10,"data",3),e.EFF(11,"Value"),e.k0s()(),e.j41(12,"kirby-item")(13,"h3"),e.EFF(14,"Title"),e.k0s(),e.j41(15,"data",3),e.EFF(16,"Value"),e.k0s()()()),2&E&&(e.R7$(6),e.Y8G("hasPadding",!0))},dependencies:[t.JA,t.UF,l.ib,M.U],encapsulation:2}),_})()},22226:(Ze,z,i)=>{"use strict";i.d(z,{j:()=>p});var e=i(54438),t=i(81365),l=i(98990),M=i(18713);const d_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 p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-section-header-heading-with-multiline-label"]],decls:15,vars:1,consts:[["heading",""],["label","","wrap",""],[3,"hasPadding"],["slot","end"]],template:function(E,u){1&E&&(e.j41(0,"kirby-section-header")(1,"kirby-label")(2,"h3",0),e.EFF(3," Section Header with multiline label"),e.k0s(),e.j41(4,"p",1),e.EFF(5,"This label is quite lengthy, typically prone to truncation within a section header. However, with the "),e.j41(6,"code"),e.EFF(7,"'wrap'"),e.k0s(),e.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?"),e.k0s()()(),e.j41(9,"kirby-card",2)(10,"kirby-item")(11,"h3"),e.EFF(12,"Title"),e.k0s(),e.j41(13,"data",3),e.EFF(14,"Value"),e.k0s()()()),2&E&&(e.R7$(9),e.Y8G("hasPadding",!0))},dependencies:[t.JA,t.UF,l.ib,M.U],encapsulation:2}),_})()},54670:(Ze,z,i)=>{"use strict";i.d(z,{e:()=>p});var e=i(54438),t=i(81365),l=i(98990),M=i(18713);const d_template='\n

Label

\n

Detail in end-slot

\n
\n\n \n

Title

\n Value\n
\n \n

Title

\n Value\n
\n
';let p=(()=>{var a;class _{constructor(){this.template=d_template}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-section-header-label-and-detail"]],decls:16,vars:1,consts:[["label",""],["detail","","slot","end"],[3,"hasPadding"],["slot","end"]],template:function(E,u){1&E&&(e.j41(0,"kirby-section-header")(1,"p",0),e.EFF(2,"Label"),e.k0s(),e.j41(3,"p",1),e.EFF(4,"Detail in end-slot"),e.k0s()(),e.j41(5,"kirby-card",2)(6,"kirby-item")(7,"h3"),e.EFF(8,"Title"),e.k0s(),e.j41(9,"data",3),e.EFF(10,"Value"),e.k0s()(),e.j41(11,"kirby-item")(12,"h3"),e.EFF(13,"Title"),e.k0s(),e.j41(14,"data",3),e.EFF(15,"Value"),e.k0s()()()),2&E&&(e.R7$(5),e.Y8G("hasPadding",!0))},dependencies:[t.JA,l.ib,M.U],encapsulation:2}),_})()},85562:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>a});var e=i(37310),t=i(54438),l=i(3271),M=i(98990),d=i(13339);const p={template:' \n \n\n
\n \n \n \n \n
'};let a=(()=>{var _;class v extends e.Y{constructor(){super(...arguments),this.template=p.template.split('
')[0],this.color="secondary"}setThemeColor(u){this.color=u}}return(_=v).\u0275fac=(()=>{let E;return function(O){return(E||(E=t.xGo(_)))(O||_)}})(),_.\u0275cmp=t.VBU({type:_,selectors:[["cookbook-segmented-control-example-color"]],features:[t.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(u,O){1&u&&(t.j41(0,"kirby-card",0),t.nrm(1,"kirby-segmented-control",1),t.k0s(),t.j41(2,"div",2)(3,"button",3),t.bIt("click",function(){return O.setThemeColor("white")}),t.k0s(),t.j41(4,"button",4),t.bIt("click",function(){return O.setThemeColor("light")}),t.k0s(),t.j41(5,"button",5),t.bIt("click",function(){return O.setThemeColor("secondary")}),t.k0s(),t.j41(6,"button",6),t.bIt("click",function(){return O.setThemeColor("dark")}),t.k0s()()),2&u&&(t.Y8G("themeColor",O.color),t.R7$(),t.Y8G("items",O.items)("value",O.selectedSegment))},dependencies:[l.vyB,M.ib,d.Cd],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)}"]}),v})()},2422:(Ze,z,i)=>{"use strict";i.d(z,{_:()=>p});var e=i(37310),t=i(54438),l=i(3271),M=i(98990);const d_template='\n\n\n

Content for {{ selectedSegment.text }} segment

\n

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

\n
\n',d_codeSnippet="onSegmentSelect(segment: SegmentItem) {\n this.selectedSegment = segment;\n}";let p=(()=>{var a;class _ extends e.Y{constructor(){super(...arguments),this.template=d_template,this.codeSnippet=d_codeSnippet}}return(a=_).\u0275fac=(()=>{let v;return function(u){return(v||(v=t.xGo(a)))(u||a)}})(),a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-segmented-control-example-default"]],features:[t.Vt3],decls:6,vars:5,consts:[[3,"segmentSelect","items","value"],["hasPadding","true"]],template:function(E,u){1&E&&(t.j41(0,"kirby-segmented-control",0),t.bIt("segmentSelect",function(A){return u.onSegmentSelect(A)}),t.k0s(),t.j41(1,"kirby-card",1)(2,"h2"),t.EFF(3),t.k0s(),t.j41(4,"p"),t.EFF(5),t.k0s()()),2&E&&(t.Y8G("items",u.items)("value",u.selectedSegment),t.R7$(3),t.SpI("Content for ",u.selectedSegment.text," segment"),t.R7$(2),t.Lme('The selected segment has text "',u.selectedSegment.text,'" and id "',u.selectedSegment.id,'"'))},dependencies:[l.vyB,M.ib],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}"]}),_})()},53514:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>_});var e=i(54438),t=i(3271),l=i(47008),M=i(81365),d=i(29756);function p(v,E){if(1&v&&(e.j41(0,"kirby-item")(1,"kirby-label")(2,"h3"),e.EFF(3),e.k0s(),e.j41(4,"p",5),e.EFF(5),e.k0s()(),e.j41(6,"kirby-label",6)(7,"data",7),e.EFF(8),e.k0s()()()),2&v){const u=E.$implicit;e.R7$(3),e.JRh(u.title),e.R7$(2),e.JRh(u.mix.join(", ")),e.R7$(2),e.Y8G("value",u.count),e.R7$(),e.JRh(u.count)}}const a={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 _=(()=>{var v;class E{constructor(){this.template=a.template,this.styles="@use '@kirbydesign/core/src/scss/utils';\n\n"+a.styles[0].replace("8px;","utils.size('xxs');").replace("16px;","utils.size('s');"),this.codeSnippet=a.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(O){this.selectedSegment=O}get filteredListItems(){const O=this.selectedSegment.id;return"all"===O?this.listItems:this.listItems.filter(A=>A.mix.indexOf(O)>-1)}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=e.VBU({type:v,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"],["detail",""],["slot","end"],[3,"value"]],template:function(O,A){1&O&&(e.j41(0,"div",0)(1,"kirby-segmented-control",1),e.bIt("segmentSelect",function(K){return A.onSegmentSelect(K)}),e.k0s(),e.j41(2,"button",2),e.bIt("click",function(){return A.onSegmentSelect(A.separateSegment)}),e.EFF(3),e.k0s()(),e.j41(4,"kirby-list",3),e.DNE(5,p,9,4,"kirby-item",4),e.k0s()),2&O&&(e.R7$(),e.Y8G("items",A.segmentItems)("value",A.selectedSegment)("size",A.size),e.R7$(),e.Y8G("size",A.size)("attentionLevel",A.selectedSegment===A.separateSegment?"2":"3"),e.R7$(),e.SpI(" ",A.separateSegment.text," "),e.R7$(),e.Y8G("items",A.filteredListItems))},dependencies:[t.vyB,l.Q,M.JA,M.UF,d.sB,d.bx],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}"]}),E})()},80726:(Ze,z,i)=>{"use strict";i.d(z,{b:()=>M});var e=i(54438),t=i(3271);const l_template='\n\n',l_codeSnippetChipItems="chipItems = [...'123456'].map((i) => ({ text: `Chip-${i}`, id: i }));",l_codeSnippetCompactChipItems="compactChipItems = [...'12345678'].map((i) => ({ text: `c${i}`, id: i }));";let M=(()=>{var d;class p{constructor(){this.template=l_template,this.codeSnippet=l_codeSnippetChipItems+"\n\n"+l_codeSnippetCompactChipItems,this.chipItems=[..."123456"].map(_=>({text:`Chip-${_}`,id:_})),this.compactChipItems=[..."12345678"].map(_=>({text:`c${_}`,id:_}))}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,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(_,v){1&_&&e.nrm(0,"kirby-segmented-control",0)(1,"kirby-segmented-control",1),2&_&&(e.Y8G("items",v.chipItems)("selectedIndex",0),e.R7$(),e.Y8G("items",v.compactChipItems)("selectedIndex",0))},dependencies:[t.vyB],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}"]}),p})()},37310:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>t});var e=i(54438);let t=(()=>{var l;class M{constructor(){this.items=[{text:"First item",id:"first"},{text:"Second item",id:"second"}],this.selectedSegment=this.items[0]}onSegmentSelect(p){this.selectedSegment=p}}return(l=M).\u0275fac=function(p){return new(p||l)},l.\u0275cmp=e.VBU({type:l,selectors:[["ng-component"]],decls:0,vars:0,template:function(p,a){},encapsulation:2}),M})()},59014:(Ze,z,i)=>{"use strict";i.d(z,{X:()=>d});var e=i(37310),t=i(54438),l=i(3271);const M_template='\n\n';let d=(()=>{var p;class a extends e.Y{constructor(){super(...arguments),this.template=M_template}}return(p=a).\u0275fac=(()=>{let _;return function(E){return(_||(_=t.xGo(p)))(E||p)}})(),p.\u0275cmp=t.VBU({type:p,selectors:[["cookbook-segmented-control-example-sizes"]],features:[t.Vt3],decls:2,vars:4,consts:[["size","sm",3,"items","value"],["size","md",3,"items","value"]],template:function(v,E){1&v&&t.nrm(0,"kirby-segmented-control",0)(1,"kirby-segmented-control",1),2&v&&(t.Y8G("items",E.items)("value",E.selectedSegment),t.R7$(),t.Y8G("items",E.items)("value",E.selectedSegment))},dependencies:[l.vyB],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}"]}),a})()},91876:(Ze,z,i)=>{"use strict";i.d(z,{i:()=>M});var e=i(54438),t=i(3271);const l_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 M=(()=>{var d;class p{constructor(){this.codeSnippet=l_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]}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-segmented-control-example-with-badge"]],decls:1,vars:2,consts:[[3,"items","value"]],template:function(_,v){1&_&&e.nrm(0,"kirby-segmented-control",0),2&_&&e.Y8G("items",v.items)("value",v.selectedSegment)},dependencies:[t.vyB],styles:["[_nghost-%COMP%]{display:block}kirby-card[_ngcontent-%COMP%], kirby-segmented-control[_ngcontent-%COMP%]{margin-bottom:16px}"]}),p})()},99955:(Ze,z,i)=>{"use strict";i.d(z,{l:()=>M});var e=i(54438),t=i(81443),l=i(26396);let M=(()=>{var d;class p{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: ${_}`)}}return(d=p).\u0275fac=function(_){return new(_||d)(e.rXU(t.W3))},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-slide-button-example"]],decls:2,vars:2,consts:[[3,"slideDone","text"],["expand","block",3,"slideDone","text"]],template:function(_,v){1&_&&(e.j41(0,"kirby-slide-button",0),e.bIt("slideDone",function(){return v.showAlert()}),e.k0s(),e.j41(1,"kirby-slide-button",1),e.bIt("slideDone",function(){return v.showAlert()}),e.k0s()),2&_&&(e.Y8G("text","Slide to unlock"),e.R7$(),e.Y8G("text","Slide to unlock"))},dependencies:[l.V],encapsulation:2}),p})()},57123:(Ze,z,i)=>{"use strict";i.d(z,{L:()=>l});var e=i(54438),t=i(90599);let l=(()=>{var M;class d{}return(M=d).\u0275fac=function(a){return new(a||M)},M.\u0275cmp=e.VBU({type:M,selectors:[["cookbook-spinner-example"]],decls:1,vars:0,template:function(a,_){1&a&&e.nrm(0,"kirby-spinner")},dependencies:[t.t],encapsulation:2}),d})()},90107:(Ze,z,i)=>{"use strict";i.d(z,{Q:()=>l});var e=i(54438),t=i(98990);let l=(()=>{var M;class d{}return(M=d).\u0275fac=function(a){return new(a||M)},M.\u0275cmp=e.VBU({type:M,selectors:[["cookbook-styling-html-lists-example"]],decls:122,vars:0,template:function(a,_){1&a&&(e.j41(0,"section")(1,"h2"),e.EFF(2,"Examples"),e.k0s(),e.j41(3,"div")(4,"kirby-card")(5,"h3"),e.EFF(6,"Unordered list"),e.k0s(),e.j41(7,"p"),e.EFF(8," Lorem ipsum dolor sit, amet consectetur adipisicing delectus perspiciatis illo corrupti ad, eius voluptas. "),e.k0s(),e.j41(9,"ul")(10,"li"),e.EFF(11,"Aenean id odio turpis"),e.k0s(),e.j41(12,"li"),e.EFF(13,"Lorem ipsum dolor sit amet"),e.k0s(),e.j41(14,"li"),e.EFF(15,"Donec ullamcorper, risus id venenatis"),e.k0s()(),e.j41(16,"p"),e.EFF(17," Voluptatum hic consectetur ea odit cupiditate corrupti, doloremque, nisi, cumque quisquam ipsa? "),e.k0s()(),e.j41(18,"kirby-card")(19,"h3"),e.EFF(20,"Ordered list"),e.k0s(),e.j41(21,"p"),e.EFF(22," Lorem ipsum dolor sit amet consectetur adipisicing pariatur accusantium optio debitis dolore beatae. "),e.k0s(),e.j41(23,"ol")(24,"li"),e.EFF(25,"Nulla cursus sem nulla"),e.k0s(),e.j41(26,"li"),e.EFF(27,"Sed egestas lorem pharetra"),e.k0s(),e.j41(28,"li"),e.EFF(29,"Pellentesque habitant morbi"),e.k0s()(),e.j41(30,"p"),e.EFF(31,"Ipsum, vero est? Iusto ipsum cumque nemo aut exercitationem!"),e.k0s()(),e.j41(32,"kirby-card")(33,"h3"),e.EFF(34,"Nested list (unordered)"),e.k0s(),e.j41(35,"p"),e.EFF(36," Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure unde eos enim omnis, nulla veniam laudantium. "),e.k0s(),e.j41(37,"ul")(38,"li"),e.EFF(39," Dignissim et lorem mollis "),e.j41(40,"ul")(41,"li"),e.EFF(42,"Duis eget tincidunt sapien"),e.k0s(),e.j41(43,"li"),e.EFF(44," Donec pulvinar aliquet turpis "),e.j41(45,"ul")(46,"li"),e.EFF(47,"Praesent vitae augue sed"),e.k0s(),e.j41(48,"li"),e.EFF(49,"Vitae convallis enim lobortis"),e.k0s()()(),e.j41(50,"li"),e.EFF(51,"Phasellus viverra ipsum sed"),e.k0s()()(),e.j41(52,"li"),e.EFF(53,"Maecenas purus sapien"),e.k0s(),e.j41(54,"li"),e.EFF(55,"Pellentesque ultricies mi"),e.k0s()(),e.j41(56,"p"),e.EFF(57," Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque ipsum quas modi temporibus iusto, error commodi minima architecto nam iste nulla perferendis. "),e.k0s()(),e.j41(58,"kirby-card")(59,"h3"),e.EFF(60,"Nested list (ordered)"),e.k0s(),e.j41(61,"p"),e.EFF(62," Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatem deserunt libero rerum excepturi. "),e.k0s(),e.j41(63,"ol")(64,"li"),e.EFF(65," Vestibulum in tortor vulputate "),e.j41(66,"ol")(67,"li"),e.EFF(68,"Fusce iaculis ante ac diam"),e.k0s(),e.j41(69,"li"),e.EFF(70," Maecenas nec convallis orci "),e.j41(71,"ol")(72,"li"),e.EFF(73,"Praesent ut felis quis"),e.k0s(),e.j41(74,"li"),e.EFF(75,"Etiam quis placerat neque"),e.k0s()()(),e.j41(76,"li"),e.EFF(77,"Ac elementum nisi eleifend"),e.k0s()()(),e.j41(78,"li"),e.EFF(79,"Proin consectetur pharetra"),e.k0s(),e.j41(80,"li"),e.EFF(81,"Aeneanlobortis porta dictum"),e.k0s()(),e.j41(82,"p"),e.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. "),e.k0s()(),e.j41(84,"kirby-card")(85,"h3"),e.EFF(86,"Nested list (mixed unordered and ordered)"),e.k0s(),e.j41(87,"p"),e.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. "),e.k0s(),e.j41(89,"ol")(90,"li"),e.EFF(91,"Proin at pharetra ligula"),e.k0s(),e.j41(92,"li"),e.EFF(93," Sit amet blandit tortor dignissim "),e.j41(94,"ul")(95,"li"),e.EFF(96," In pulvinar massa ac porttitor "),e.j41(97,"ul")(98,"li"),e.EFF(99,"Proin at pharetra ligula"),e.k0s()()(),e.j41(100,"li"),e.EFF(101,"Consectetur adipiscing elit"),e.k0s(),e.j41(102,"li"),e.EFF(103,"Mauris fringilla sodales nulla"),e.k0s()()(),e.j41(104,"li"),e.EFF(105,"Integer id diam eleifend ac"),e.k0s()(),e.j41(106,"p"),e.EFF(107," Optio culpa, consequatur necessitatibus repellat, laborum eum sunt reprehenderit tempora aperiam facilis? "),e.k0s()(),e.j41(108,"kirby-card")(109,"h3"),e.EFF(110,"Text overflow (normal wrap)"),e.k0s(),e.j41(111,"p"),e.EFF(112," Lorem ipsum dolor sit amet consectetur adipisicing elit recusandae eum officiis cupiditate quos, quod non ad veniam ex voluptatibus tempore enim modi. "),e.k0s(),e.j41(113,"ul")(114,"li"),e.EFF(115," Proin at pharetra ligula, donec ullamcorper, risus id venenatis. Integer id diam eleifend ac, consectetur adipiscing elit. Fusce iaculis ante ac diam. "),e.k0s(),e.j41(116,"li"),e.EFF(117," Proin at pharetra ligula, donec ullamcorper, risus id venenatis. Integer id diam eleifend ac, consectetur adipiscing elit. Fusce iaculis ante ac diam. "),e.k0s(),e.j41(118,"li"),e.EFF(119," Proin at pharetra ligula, donec ullamcorper, risus id venenatis. Integer id diam eleifend ac, consectetur adipiscing elit. Fusce iaculis ante ac diam. "),e.k0s()(),e.j41(120,"p"),e.EFF(121,"Quidem magnam ad architecto quod modi explicabo reiciendis omnis perferendis."),e.k0s()()()())},dependencies:[t.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}"]}),d})()},7387:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>M});var e=i(54438),t=i(57017),l=i(47008);let M=(()=>{var d;class p{constructor(_){this.toastController=_}showToast(_){this.toastController.showToast({message:"Your toast message",messageType:_,durationInMs:5e3},this.onToastClosed)}onToastClosed(){console.log("Toast closed")}}return(d=p).\u0275fac=function(_){return new(_||d)(e.rXU(t.K))},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-toast-example"]],decls:6,vars:0,consts:[["kirby-button","",3,"click"]],template:function(_,v){1&_&&(e.j41(0,"button",0),e.bIt("click",function(){return v.showToast()}),e.EFF(1,"Show default toast (success)"),e.k0s(),e.j41(2,"button",0),e.bIt("click",function(){return v.showToast("success")}),e.EFF(3,"Show toast (success)"),e.k0s(),e.j41(4,"button",0),e.bIt("click",function(){return v.showToast("warning")}),e.EFF(5,"Show toast (warning)"),e.k0s())},dependencies:[l.Q],encapsulation:2}),p})()},83747:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>d});var e=i(54438),t=i(30077),l=i(47008);const M_template='\n \n \n\n\n\n \n \n\n\n\n \n \n\n\n\n \n \n';let d=(()=>{var p;class a{constructor(){this.template=M_template}onCheckChanged(v){console.log(`Toggle onCheckChanged: ${v}`)}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["cookbook-toggle-button-example"]],decls:20,vars:3,consts:[[3,"checkChanged","checked"],["kirby-button","","unchecked","","attentionLevel","3"],["kirby-button","","checked","","themeColor","success"],["kirby-button","","checked","","themeColor","warning"],["kirby-button","","checked","","themeColor","danger"],[3,"checkChanged"],["kirby-button","","unchecked","","disabled","","attentionLevel","3"],["kirby-button","","checked",""]],template:function(v,E){1&v&&(e.j41(0,"kirby-toggle-button",0),e.bIt("checkChanged",function(O){return E.onCheckChanged(O)}),e.j41(1,"button",1),e.EFF(2,"Deactivated"),e.k0s(),e.j41(3,"button",2),e.EFF(4,"Activated"),e.k0s()(),e.j41(5,"kirby-toggle-button",0),e.bIt("checkChanged",function(O){return E.onCheckChanged(O)}),e.j41(6,"button",1),e.EFF(7,"Deactivated"),e.k0s(),e.j41(8,"button",3),e.EFF(9,"Activated"),e.k0s()(),e.j41(10,"kirby-toggle-button",0),e.bIt("checkChanged",function(O){return E.onCheckChanged(O)}),e.j41(11,"button",1),e.EFF(12,"Deactivated"),e.k0s(),e.j41(13,"button",4),e.EFF(14,"Activated"),e.k0s()(),e.j41(15,"kirby-toggle-button",5),e.bIt("checkChanged",function(O){return E.onCheckChanged(O)}),e.j41(16,"button",6),e.EFF(17,"Disabled"),e.k0s(),e.j41(18,"button",7),e.EFF(19,"Activated"),e.k0s()()),2&v&&(e.Y8G("checked",!0),e.R7$(5),e.Y8G("checked",!1),e.R7$(5),e.Y8G("checked",!0))},dependencies:[t.o,l.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}kirby-toggle-button[_ngcontent-%COMP%]{margin-right:24px}"]}),a})()},55644:(Ze,z,i)=>{"use strict";i.d(z,{j:()=>M});var e=i(54438),t=i(57808);const l_template='Default\nChecked\nDisabled';let M=(()=>{var d;class p{constructor(){this.template=l_template}onCheckedChange(_){console.log(`Toggle onCheckedChange: ${_}`)}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-toggle-default-example"]],decls:6,vars:0,consts:[["checked","true",3,"checkedChange"],["disabled","true"]],template:function(_,v){1&_&&(e.j41(0,"kirby-toggle"),e.EFF(1,"Default"),e.k0s(),e.j41(2,"kirby-toggle",0),e.bIt("checkedChange",function(u){return v.onCheckedChange(u)}),e.EFF(3,"Checked"),e.k0s(),e.j41(4,"kirby-toggle",1),e.EFF(5,"Disabled"),e.k0s())},dependencies:[t.a],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:16px}@media (min-width: 768px){[_nghost-%COMP%]{flex-direction:row;gap:40px}}"]}),p})()},92772:(Ze,z,i)=>{"use strict";i.d(z,{y:()=>v});var e=i(54438),t=i(84341),l=i(81365),M=i(57808),d=i(11235),p=i(2923),a=i(88075);const _={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 v=(()=>{var E;class u{constructor(A){this.fb=A,this.template=_.template.split("")[0],this.codeSnippet=_.codeSnippet}ngOnInit(){this.form=this.fb.group({myToggle:[!1]})}onCheckedChange(){console.log("Value:",this.form.get("myToggle")?.value)}toggleEnabled(A){A?this.form.get("myToggle")?.enable():this.form.get("myToggle")?.disable()}}return(E=u).\u0275fac=function(A){return new(A||E)(e.rXU(t.ok))},E.\u0275cmp=e.VBU({type:E,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(A,$){1&A&&(e.j41(0,"form",0)(1,"kirby-item")(2,"kirby-toggle",1),e.bIt("checkedChange",function(){return $.onCheckedChange()}),e.EFF(3,"Toggle in form"),e.k0s()()(),e.j41(4,"cookbook-example-configuration-wrapper")(5,"kirby-checkbox",2),e.bIt("checkedChange",function(X){return $.toggleEnabled(X)}),e.k0s(),e.nrm(6,"cookbook-reactive-form-state",3),e.k0s()),2&A&&(e.Y8G("formGroup",$.form),e.R7$(5),e.Y8G("checked",!0),e.R7$(),e.Y8G("form",$.form))},dependencies:[l.JA,M.a,d.P,p.V,t.qT,t.BC,t.cb,t.j4,t.JD,a.m],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:16px}@media (min-width: 768px){[_nghost-%COMP%]{flex-direction:row;gap:40px}}"]}),u})()},77551:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>_});var e=i(60177),t=i(54438),l=i(345),M=i(57808);const d=["iframe"];function p(v,E){if(1&v){const u=t.RV6();t.j41(0,"div",12),t.EFF(1," Device view "),t.j41(2,"kirby-toggle",13),t.bIt("checkedChange",function(A){t.eBV(u);const $=t.XpG();return t.Njj($.onViewModeToggleChange(A))}),t.k0s()()}if(2&v){const u=t.XpG();t.R7$(2),t.Y8G("checked","device"===u.viewMode)}}function a(v,E){if(1&v&&(t.j41(0,"a",14),t.EFF(1," Pop out "),t.k0s()),2&v){const u=t.XpG();t.Y8G("href",u.trustedSrc,t.B4B)}}let _=(()=>{var v;class E{constructor(O,A){this.sanitizer=O,this.locationStrategy=A,this.showViewModeToggle=!1}ngOnChanges(O){O.src&&(this.trustedSrc=this.createTrustedSrc(O.src.currentValue))}ngAfterViewInit(){this.iframe.nativeElement.onload=()=>this.onIframeLoaded()}onIframeLoaded(){const O=this.iframe.nativeElement.contentWindow.document.documentElement;"full-size"===this.viewMode?(O.style.setProperty("--ion-safe-area-top","0px"),O.style.setProperty("--ion-safe-area-bottom","0px")):(O.style.setProperty("--ion-safe-area-top","20px"),O.style.setProperty("--ion-safe-area-bottom","22px"))}createTrustedSrc(O){return this.sanitizer.bypassSecurityTrustResourceUrl(this.locationStrategy instanceof e.fw?`#${O}`:O)}onViewModeToggleChange(O){this.viewMode=O?"device":"full-size",this.onIframeLoaded()}}return(v=E).\u0275fac=function(O){return new(O||v)(t.rXU(l.up),t.rXU(e.hb))},v.\u0275cmp=t.VBU({type:v,selectors:[["cookbook-iphone"]],viewQuery:function(O,A){if(1&O&&t.GBs(d,5,t.aKT),2&O){let $;t.mGM($=t.lsd())&&(A.iframe=$.first)}},hostVars:2,hostBindings:function(O,A){2&O&&t.HbH(A.viewMode)},inputs:{src:"src",showExternalLink:"showExternalLink",viewMode:"viewMode",showViewModeToggle:"showViewModeToggle"},features:[t.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(O,A){1&O&&(t.j41(0,"div",1),t.DNE(1,p,3,1,"div",2),t.j41(2,"div",3)(3,"figure"),t.qSk(),t.j41(4,"svg",4),t.nrm(5,"path",5)(6,"circle",6)(7,"path",7),t.k0s(),t.j41(8,"svg",8),t.nrm(9,"path",9),t.k0s(),t.joV(),t.nrm(10,"iframe",10,0),t.k0s()(),t.DNE(12,a,2,1,"a",11),t.k0s()),2&O&&(t.R7$(),t.Y8G("ngIf",A.showViewModeToggle),t.R7$(9),t.Y8G("src",A.trustedSrc,t.f$h),t.R7$(2),t.Y8G("ngIf",A.showExternalLink))},dependencies:[e.bT,M.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}']}),E})()},83597:(Ze,z,i)=>{"use strict";i.d(z,{b:()=>u});var e=i(54438),t=i(60177);function l(O,A){if(1&O&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&O){const $=e.XpG();e.R7$(),e.JRh($.columns.name)}}function M(O,A){if(1&O&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&O){const $=e.XpG();e.R7$(),e.JRh($.columns.description)}}function d(O,A){if(1&O&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&O){const $=e.XpG();e.R7$(),e.JRh($.columns.type)}}function p(O,A){if(1&O&&(e.j41(0,"td")(1,"code"),e.EFF(2),e.k0s()()),2&O){const $=e.XpG().$implicit;e.R7$(2),e.JRh($.name)}}function a(O,A){if(1&O&&(e.j41(0,"td",4),e.EFF(1),e.k0s()),2&O){const $=e.XpG().$implicit;e.R7$(),e.JRh($.description)}}function _(O,A){if(1&O&&(e.qex(0),e.j41(1,"code"),e.EFF(2),e.k0s(),e.bVm()),2&O){const $=e.XpG(2).$implicit;e.R7$(2),e.JRh($.signature)}}function v(O,A){if(1&O&&(e.j41(0,"td"),e.DNE(1,_,3,1,"ng-container",1),e.k0s()),2&O){const $=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",$.signature)}}function E(O,A){if(1&O&&(e.j41(0,"tr"),e.DNE(1,p,3,1,"td",1)(2,a,2,1,"td",3)(3,v,2,1,"td",1),e.k0s()),2&O){const $=e.XpG();e.R7$(),e.Y8G("ngIf",$.columns.name),e.R7$(),e.Y8G("ngIf",$.columns.description),e.R7$(),e.Y8G("ngIf",$.columns.type)}}let u=(()=>{var O;class A{constructor(){this.columns={name:"Name",description:"Description",type:"Signature"}}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=e.VBU({type:O,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(K,X){1&K&&(e.j41(0,"table",0)(1,"thead"),e.DNE(2,l,2,1,"th",1)(3,M,2,1,"th",1)(4,d,2,1,"th",1),e.k0s(),e.j41(5,"tbody"),e.DNE(6,E,4,3,"tr",2),e.k0s()()),2&K&&(e.R7$(2),e.Y8G("ngIf",X.columns.name),e.R7$(),e.Y8G("ngIf",X.columns.description),e.R7$(),e.Y8G("ngIf",X.columns.type),e.R7$(2),e.Y8G("ngForOf",X.events))},dependencies:[t.Sq,t.bT],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}"]}),A})()},97825:(Ze,z,i)=>{"use strict";i.d(z,{Q:()=>E});var e=i(54438),t=i(60177);function l(u,O){if(1&u&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&u){const A=e.XpG();e.R7$(),e.JRh(A.columns.name)}}function M(u,O){if(1&u&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&u){const A=e.XpG();e.R7$(),e.JRh(A.columns.description)}}function d(u,O){if(1&u&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&u){const A=e.XpG();e.R7$(),e.JRh(A.columns.type)}}function p(u,O){if(1&u&&(e.j41(0,"td")(1,"code"),e.EFF(2),e.k0s()()),2&u){const A=e.XpG().$implicit;e.R7$(2),e.JRh(A.name)}}function a(u,O){if(1&u&&(e.j41(0,"td",4),e.EFF(1),e.k0s()),2&u){const A=e.XpG().$implicit;e.R7$(),e.JRh(A.description)}}function _(u,O){if(1&u&&(e.j41(0,"td")(1,"code"),e.EFF(2),e.k0s()()),2&u){const A=e.XpG().$implicit;e.R7$(2),e.JRh(A.signature)}}function v(u,O){if(1&u&&(e.j41(0,"tr"),e.DNE(1,p,3,1,"td",1)(2,a,2,1,"td",3)(3,_,3,1,"td",1),e.k0s()),2&u){const A=e.XpG();e.R7$(),e.Y8G("ngIf",A.columns.name),e.R7$(),e.Y8G("ngIf",A.columns.description),e.R7$(),e.Y8G("ngIf",A.columns.type)}}let E=(()=>{var u;class O{constructor(){this.columns={name:"Name",description:"Description",type:"Signature"}}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=e.VBU({type:u,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($,K){1&$&&(e.j41(0,"table",0)(1,"thead"),e.DNE(2,l,2,1,"th",1)(3,M,2,1,"th",1)(4,d,2,1,"th",1),e.k0s(),e.j41(5,"tbody"),e.DNE(6,v,4,3,"tr",2),e.k0s()()),2&$&&(e.R7$(2),e.Y8G("ngIf",K.columns.name),e.R7$(),e.Y8G("ngIf",K.columns.description),e.R7$(),e.Y8G("ngIf",K.columns.type),e.R7$(2),e.Y8G("ngForOf",K.methods))},dependencies:[t.Sq,t.bT],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}"]}),O})()},25981:(Ze,z,i)=>{"use strict";i.d(z,{T:()=>K});var e=i(54438),t=i(60177);function l(X,J){if(1&X&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&X){const G=e.XpG();e.R7$(),e.JRh(G.columns.name)}}function M(X,J){if(1&X&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&X){const G=e.XpG();e.R7$(),e.JRh(G.columns.description)}}function d(X,J){if(1&X&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&X){const G=e.XpG();e.R7$(),e.JRh(G.columns.type)}}function p(X,J){if(1&X&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&X){const G=e.XpG();e.R7$(),e.JRh(G.columns.default)}}function a(X,J){if(1&X&&(e.j41(0,"td",5)(1,"code"),e.EFF(2),e.k0s()()),2&X){const G=e.XpG().$implicit;e.R7$(2),e.JRh(G.name)}}function _(X,J){if(1&X&&(e.j41(0,"td",6),e.EFF(1),e.k0s()),2&X){const G=e.XpG().$implicit;e.R7$(),e.JRh(G.description)}}function v(X,J){if(1&X&&(e.qex(0),e.j41(1,"code"),e.EFF(2),e.k0s(),e.bVm()),2&X){const G=e.XpG(2).$implicit;e.R7$(2),e.JRh(G.type.join(" | "))}}function E(X,J){if(1&X&&(e.j41(0,"pre")(1,"code"),e.EFF(2),e.k0s()()),2&X){const G=e.XpG(2).$implicit;e.R7$(2),e.JRh(G.type.join(" | "))}}function u(X,J){if(1&X&&(e.j41(0,"td"),e.DNE(1,v,3,1,"ng-container",1)(2,E,3,1,"pre",1),e.k0s()),2&X){const G=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",!G.preserveTypeWhitespaces&&G.type),e.R7$(),e.Y8G("ngIf",G.preserveTypeWhitespaces&&G.type)}}function O(X,J){if(1&X&&(e.qex(0),e.j41(1,"code"),e.EFF(2),e.k0s(),e.bVm()),2&X){const G=e.XpG(2).$implicit;e.R7$(2),e.JRh(G.defaultValue)}}function A(X,J){if(1&X&&(e.j41(0,"td"),e.DNE(1,O,3,1,"ng-container",1),e.k0s()),2&X){const G=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",G.defaultValue)}}function $(X,J){if(1&X&&(e.j41(0,"tr"),e.DNE(1,a,3,1,"td",3)(2,_,2,1,"td",4)(3,u,3,2,"td",1)(4,A,2,1,"td",1),e.k0s()),2&X){const G=e.XpG();e.R7$(),e.Y8G("ngIf",G.columns.name),e.R7$(),e.Y8G("ngIf",G.columns.description),e.R7$(),e.Y8G("ngIf",G.columns.type),e.R7$(),e.Y8G("ngIf",G.columns.default)}}let K=(()=>{var X;class J{constructor(){this.columns={name:"Attribute",description:"Description",type:"Type",default:"Default"}}}return(X=J).\u0275fac=function(fe){return new(fe||X)},X.\u0275cmp=e.VBU({type:X,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(fe,he){1&fe&&(e.j41(0,"table",0)(1,"thead"),e.DNE(2,l,2,1,"th",1)(3,M,2,1,"th",1)(4,d,2,1,"th",1)(5,p,2,1,"th",1),e.k0s(),e.j41(6,"tbody"),e.DNE(7,$,5,4,"tr",2),e.k0s()()),2&fe&&(e.R7$(2),e.Y8G("ngIf",he.columns.name),e.R7$(),e.Y8G("ngIf",he.columns.description),e.R7$(),e.Y8G("ngIf",he.columns.type),e.R7$(),e.Y8G("ngIf",he.columns.default),e.R7$(2),e.Y8G("ngForOf",he.properties))},dependencies:[t.Sq,t.bT],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}"]}),J})()},86413:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>O,i:()=>u});var e=i(54438),t=i(72438),M=i(60177);const d=["codeElement"],p=["*"];function a(A,$){if(1&A&&(e.j41(0,"h4"),e.EFF(1),e.k0s()),2&A){const K=e.XpG();e.R7$(),e.SpI("",K.languageTitle,":")}}function _(A,$){if(1&A&&(e.qex(0),e.EFF(1),e.bVm()),2&A){const K=e.XpG();e.R7$(),e.JRh(K.code)}}function v(A,$){1&A&&e.SdG(0,0,["*ngIf","!code"])}function E(A,$){if(1&A&&(e.j41(0,"span",3),e.EFF(1),e.k0s()),2&A){const K=e.XpG();e.R7$(),e.JRh(K.languageTitle)}}function u(A){return JSON.stringify(A,null,2).replace(/"/g,"'").replace(/'(\w+)':/g,"$1:").replace(/(\[\n)|(\},\n)|(\n\])|(\s+)/g,"$1$2$3 ").trim()}let O=(()=>{var A;class ${constructor(){this.inlineLabel=!1,this.supportedLanguages={html:"html",css:"css",scss:"css",js:"js",ts:"js",typescript:"js"}}set html(X){this.code=X,this.language="html"}set css(X){this.code=X,this.language="css"}set scss(X){this.code=X,this.language="css"}set js(X){this.code=X,this.language="js"}set ts(X){this.code=X,this.language="ts"}ngAfterViewInit(){(0,t.highlightElement)(this.codeElement.nativeElement)}ngOnChanges(){this.languageTitle=this.language.toUpperCase(),this.codeViewerLanguage=`language-${this.supportedLanguages[this.language]}`}}return(A=$).\u0275fac=function(X){return new(X||A)},A.\u0275cmp=e.VBU({type:A,selectors:[["cookbook-code-viewer"]],viewQuery:function(X,J){if(1&X&&e.GBs(d,7,e.aKT),2&X){let G;e.mGM(G=e.lsd())&&(J.codeElement=G.first)}},inputs:{language:"language",inlineLabel:"inlineLabel",html:"html",css:"css",scss:"scss",js:"js",ts:"ts"},features:[e.OA$],ngContentSelectors:p,decls:7,vars:6,consts:[["codeElement",""],[4,"ngIf"],["class","label",4,"ngIf"],[1,"label"]],template:function(X,J){1&X&&(e.NAR(),e.DNE(0,a,2,1,"h4",1),e.j41(1,"pre")(2,"code",null,0),e.DNE(4,_,2,1,"ng-container",1)(5,v,1,0,"ng-content",1),e.k0s(),e.DNE(6,E,2,1,"span",2),e.k0s()),2&X&&(e.Y8G("ngIf",!J.inlineLabel),e.R7$(2),e.HbH(J.codeViewerLanguage),e.R7$(2),e.Y8G("ngIf",J.code),e.R7$(),e.Y8G("ngIf",!J.code),e.R7$(),e.Y8G("ngIf",J.inlineLabel))},dependencies:[M.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}),$})()},34929:(Ze,z,i)=>{"use strict";i.d(z,{s:()=>E});var e=i(54438),t=i(86413),l=i(60177),M=i(47008);const d=["*"];function p(u,O){if(1&u){const A=e.RV6();e.j41(0,"button",4),e.bIt("click",function(){e.eBV(A);const K=e.XpG();return e.Njj(K.expanded=!K.expanded)}),e.EFF(1),e.k0s()}if(2&u){const A=e.XpG();e.R7$(),e.SpI(" ",A.expanded?"Hide Code":"View Code","\n")}}function a(u,O){if(1&u&&e.nrm(0,"cookbook-code-viewer",5),2&u){const A=e.XpG();e.Y8G("html",A.html)}}function _(u,O){if(1&u&&e.nrm(0,"cookbook-code-viewer",6),2&u){const A=e.XpG();e.Y8G("ts",A.ts)}}function v(u,O){if(1&u&&e.nrm(0,"cookbook-code-viewer",7),2&u){const A=e.XpG();e.Y8G("css",A.css)}}let E=(()=>{var u;class O{}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["cookbook-example-viewer"]],inputs:{html:"html",ts:"ts",css:"css",expanded:"expanded"},ngContentSelectors:d,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){1&$&&(e.NAR(),e.SdG(0),e.DNE(1,p,2,1,"button",0)(2,a,1,1,"cookbook-code-viewer",1)(3,_,1,1,"cookbook-code-viewer",2)(4,v,1,1,"cookbook-code-viewer",3)),2&$&&(e.R7$(),e.Y8G("ngIf",K.html||K.ts||K.css),e.R7$(),e.Y8G("ngIf",K.expanded&&K.html),e.R7$(),e.Y8G("ngIf",K.expanded&&K.ts),e.R7$(),e.Y8G("ngIf",K.expanded&&K.css))},dependencies:[t.B,l.bT,M.Q],styles:["[_nghost-%COMP%]{display:block}button[kirby-button][_ngcontent-%COMP%]{display:block}"]}),O})()},64523:(Ze,z,i)=>{"use strict";i.d(z,{j:()=>u});var e=i(54438),t=i(24649),l=i(32534),M=i(12494),d=i(47790),p=i(231),a=i(34894),_=i(34929),v=i(83597),E=i(25981);let u=(()=>{var O;class A{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"}]}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=e.VBU({type:O,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(K,X){if(1&K&&(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&K){const J=e.sdS(14),G=e.sdS(21),fe=e.sdS(28),he=e.sdS(35),Me=e.sdS(42),ke=e.sdS(49);e.R7$(12),e.Y8G("html",J.template),e.R7$(7),e.Y8G("html",G.template),e.R7$(7),e.Y8G("html",fe.template),e.R7$(7),e.Y8G("html",he.template),e.R7$(7),e.Y8G("html",Me.template),e.R7$(7),e.Y8G("html",ke.template)("ts",ke.codeSnippet),e.R7$(5),e.Y8G("properties",X.properties),e.R7$(3),e.Y8G("events",X.events)}},dependencies:[t.W,l.n,M.j,d.n,p.U,a.L,_.s,v.b,E.T],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}"]}),A})()},74614:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>p});var t=i(54438),l=i(19963),M=i(86413),d=i(25981);let p=(()=>{var a;class _{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"]}]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-action-sheet-showcase"]],decls:42,vars:12,consts:[[1,"example"],[3,"html"],["language","ts"],[3,"properties"]],template:function(E,u){1&E&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.nrm(2,"cookbook-action-sheet-example"),t.EFF(3,"\n "),t.nrm(4,"cookbook-code-viewer",1),t.EFF(5,"\n "),t.j41(6,"p"),t.EFF(7,"\n To show the action sheet, create an\n "),t.j41(8,"code"),t.EFF(9,"ActionSheetConfig"),t.k0s(),t.EFF(10,"\n and pass it to\n "),t.j41(11,"code"),t.EFF(12,"modalController.showActionSheet"),t.k0s(),t.EFF(13,"\n . Each item must to be of type\n "),t.j41(14,"code"),t.EFF(15,"ActionSheetItem"),t.k0s(),t.EFF(16,"\n .\n "),t.EFF(17,"\n "),t.j41(18,"cookbook-code-viewer",2),t.EFF(19),t.k0s(),t.EFF(20,"\n (Optional) if you need to obtain data back from the action sheet, you can pass a callback\n function:\n "),t.EFF(21,"\n "),t.j41(22,"cookbook-code-viewer",2),t.EFF(23,"this.modalController.showActionSheet(config, onItemSelect);"),t.k0s(),t.EFF(24,"\n where\n "),t.j41(25,"code"),t.EFF(26,"onItemSelect"),t.k0s(),t.EFF(27,"\n can be e.g.:\n "),t.EFF(28,"\n "),t.j41(29,"cookbook-code-viewer",2),t.EFF(30),t.k0s(),t.EFF(31,"\n We can use\n "),t.j41(32,"code"),t.EFF(33,"modalController.hideTopmost"),t.k0s(),t.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 "),t.k0s(),t.EFF(35,"\n "),t.j41(36,"h4"),t.EFF(37,"Action sheet properties:"),t.k0s(),t.EFF(38,"\n "),t.nrm(39,"cookbook-api-description-properties",3),t.EFF(40,"\n"),t.k0s(),t.EFF(41,"\n")),2&E&&(t.R7$(4),t.Y8G("html",u.exampleHtml),t.R7$(15),t.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);"),t.R7$(11),t.Lme("onItemSelect(item: ActionSheetItem) ","{","...","}",""),t.R7$(9),t.Y8G("properties",u.properties))},dependencies:[l.p,M.B,d.T],encapsulation:2}),_})()},81863:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>d});var e=i(49267),t=i(54438),l=i(86413),M=i(25981);let d=(()=>{var p;class a{constructor(){this.alertConfigWithIcon=e._.alertConfigWithIcon,this.alertConfigWithDynamicValues=e._.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"]}]}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=t.VBU({type:p,selectors:[["cookbook-alert-showcase"]],decls:59,vars:5,consts:[[1,"example"],[3,"ts"],["language","ts"],[3,"properties"]],template:function(v,E){1&v&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.nrm(2,"cookbook-alert-example"),t.EFF(3,"\n "),t.j41(4,"p"),t.EFF(5,"\xa0"),t.k0s(),t.EFF(6,"\n "),t.j41(7,"p"),t.EFF(8,"\n To show an alert, inject the Kirby\n "),t.j41(9,"code"),t.EFF(10,"modalController"),t.k0s(),t.EFF(11,"\n in your constructor, create an\n "),t.j41(12,"code"),t.EFF(13,"AlertConfig"),t.k0s(),t.EFF(14,"\n and pass it to\n "),t.j41(15,"code"),t.EFF(16,"modalController.showAlert"),t.k0s(),t.EFF(17,"\n .\n "),t.nrm(18,"cookbook-code-viewer",1),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.j41(21,"p"),t.EFF(22,"\n "),t.j41(23,"code"),t.EFF(24,"title"),t.k0s(),t.EFF(25,"\n and\n "),t.j41(26,"code"),t.EFF(27,"message"),t.k0s(),t.EFF(28,"\n properties in\n "),t.j41(29,"code"),t.EFF(30,"AlertConfig"),t.k0s(),t.EFF(31,"\n also accept an Observable for dynamic values:\n "),t.nrm(32,"br"),t.EFF(33,"\n "),t.j41(34,"em"),t.EFF(35,'\n (see "Example on github" for implementation details of the\n '),t.j41(36,"code"),t.EFF(37,"remainingSeconds$"),t.k0s(),t.EFF(38,"\n timer)\n "),t.k0s(),t.EFF(39,"\n :\n "),t.nrm(40,"cookbook-code-viewer",1),t.EFF(41,"\n "),t.k0s(),t.EFF(42,"\n "),t.j41(43,"p"),t.EFF(44,"\n "),t.j41(45,"em"),t.EFF(46,"[Optional]"),t.k0s(),t.EFF(47,"\n If you need to obtain data back from the alert, you can pass a callback function:\n "),t.EFF(48,"\n "),t.j41(49,"cookbook-code-viewer",2),t.EFF(50),t.k0s(),t.EFF(51,"\n "),t.k0s(),t.EFF(52,"\n "),t.j41(53,"h4"),t.EFF(54,"Alert config properties:"),t.k0s(),t.EFF(55,"\n "),t.nrm(56,"cookbook-api-description-properties",3),t.EFF(57,"\n"),t.k0s(),t.EFF(58,"\n")),2&v&&(t.R7$(18),t.Y8G("ts",E.alertConfigWithIcon),t.R7$(22),t.Y8G("ts",E.alertConfigWithDynamicValues),t.R7$(10),t.Lme("this.modalController.showAlert(config, onAlertClose);\n\nprivate onAlertClose(result: boolean) ","{","\n ...\n","}",""),t.R7$(6),t.Y8G("properties",E.properties))},dependencies:[e._,l.B,M.T],encapsulation:2}),a})()},85405:(Ze,z,i)=>{"use strict";i.d(z,{I:()=>$});var e=i(28287),t=i(54438),l=i(99551),M=i(54368),d=i(36143),p=i(33625),a=i(25713),_=i(49851),v=i(48492),E=i(99696),u=i(34929),O=i(83597),A=i(25981);let $=(()=>{var K;class X{constructor(){this.properties=[{name:"imageSrc",description:"Points to the src of the image location",defaultValue:"null",type:["string"]},{name:"size",description:"Sets the size of the avatar.",defaultValue:e.P.SM,type:Object.values(e.P)},{name:"altText",description:'Must be filled out - its the alt text attribute that screenreaders use when "viewing" the image.',defaultValue:"null",type:["string"]},{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"}]}}return(K=X).\u0275fac=function(G){return new(G||K)},K.\u0275cmp=t.VBU({type:K,selectors:[["cookbook-avatar-showcase"]],decls:50,vars:11,consts:[["defaultExample",""],["colorsExample",""],["textExample",""],["iconExample",""],["badgeExample",""],["imageExample",""],["imageSizeExample",""],["imageErrorExample",""],[1,"example"],[3,"html"],[3,"html","ts"],[3,"properties"],[3,"events"]],template:function(G,fe){if(1&G&&(t.j41(0,"div",8)(1,"h2"),t.EFF(2,"Default"),t.k0s(),t.j41(3,"cookbook-example-viewer",9),t.nrm(4,"cookbook-avatar-example-default",null,0),t.k0s(),t.j41(6,"h2"),t.EFF(7,"Colors"),t.k0s(),t.j41(8,"cookbook-example-viewer",9),t.nrm(9,"cookbook-avatar-example-colors",null,1),t.k0s(),t.j41(11,"h2"),t.EFF(12,"Avatar with text"),t.k0s(),t.j41(13,"cookbook-example-viewer",9),t.nrm(14,"cookbook-avatar-example-text",null,2),t.k0s(),t.j41(16,"h2"),t.EFF(17,"Avatar with icon"),t.k0s(),t.j41(18,"cookbook-example-viewer",9),t.nrm(19,"cookbook-avatar-example-icon",null,3),t.k0s(),t.j41(21,"h2"),t.EFF(22,"Avatar with badge"),t.k0s(),t.j41(23,"cookbook-example-viewer",9),t.nrm(24,"cookbook-avatar-example-badge",null,4),t.k0s(),t.j41(26,"h2"),t.EFF(27,"Avatar with image"),t.k0s(),t.j41(28,"cookbook-example-viewer",9),t.nrm(29,"cookbook-avatar-example-image",null,5),t.k0s(),t.j41(31,"cookbook-example-viewer",9),t.nrm(32,"cookbook-avatar-example-image-size",null,6),t.k0s(),t.j41(34,"h2"),t.EFF(35,"Avatar with fallback image"),t.k0s(),t.j41(36,"p"),t.EFF(37," The image avatar will emit an "),t.j41(38,"code"),t.EFF(39,"ErrorEvent"),t.k0s(),t.EFF(40," 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. "),t.k0s(),t.j41(41,"cookbook-example-viewer",10),t.nrm(42,"cookbook-avatar-example-image-error",null,7),t.k0s(),t.j41(44,"h2"),t.EFF(45,"Properties:"),t.k0s(),t.nrm(46,"cookbook-api-description-properties",11),t.j41(47,"h2"),t.EFF(48,"Events:"),t.k0s(),t.nrm(49,"cookbook-api-description-events",12),t.k0s()),2&G){const he=t.sdS(5),Me=t.sdS(10),ke=t.sdS(15),be=t.sdS(20),Ne=t.sdS(25),je=t.sdS(30),it=t.sdS(33),pt=t.sdS(43);t.R7$(3),t.Y8G("html",he.template),t.R7$(5),t.Y8G("html",Me.template),t.R7$(5),t.Y8G("html",ke.template),t.R7$(5),t.Y8G("html",be.template),t.R7$(5),t.Y8G("html",Ne.template),t.R7$(5),t.Y8G("html",je.template),t.R7$(3),t.Y8G("html",it.template),t.R7$(10),t.Y8G("html",pt.template)("ts",pt.ts),t.R7$(5),t.Y8G("properties",fe.properties),t.R7$(3),t.Y8G("events",fe.events)}},dependencies:[l.k,M.v,d.A,p.i,a.K,_.Q,v.R,E.k,u.s,O.b,A.T],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}"]}),X})()},87936:(Ze,z,i)=>{"use strict";i.d(z,{g:()=>u});var t=i(54438),l=i(45997),M=i(20509),d=i(94811),p=i(95203),a=i(98990),_=i(32667),v=i(34929),E=i(25981);let u=(()=>{var O;class A{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."}]}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=t.VBU({type:O,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(K,X){if(1&K&&(t.j41(0,"p"),t.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"),t.k0s(),t.nrm(2,"kirby-divider",4),t.j41(3,"h2"),t.EFF(4,"Examples"),t.k0s(),t.j41(5,"h3"),t.EFF(6,"Badge with numbers"),t.k0s(),t.j41(7,"p"),t.EFF(8,"Using a badge with a number can be a good way to indicate specific status on an element."),t.k0s(),t.j41(9,"p")(10,"kirby-card",5),t.nrm(11,"cookbook-badge-example-number",null,0)(13,"cookbook-example-viewer",6),t.k0s()(),t.j41(14,"h3"),t.EFF(15,"Badge with text"),t.k0s(),t.j41(16,"p"),t.EFF(17," Badges can also be used together with a text. Flags might in some cases be a better alternative.\n"),t.k0s(),t.j41(18,"p")(19,"kirby-card",5),t.nrm(20,"cookbook-badge-example-text",null,1)(22,"cookbook-example-viewer",6),t.k0s()(),t.j41(23,"h3"),t.EFF(24,"Badge with icons"),t.k0s(),t.j41(25,"p"),t.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"),t.k0s(),t.j41(27,"p")(28,"kirby-card",5),t.nrm(29,"cookbook-badge-example-icon",null,2)(31,"br")(32,"cookbook-example-viewer",6),t.k0s()(),t.j41(33,"h3"),t.EFF(34,"Small Badges"),t.k0s(),t.j41(35,"p"),t.EFF(36," Setting the input property "),t.j41(37,"code"),t.EFF(38,"size"),t.k0s(),t.EFF(39," to "),t.j41(40,"code"),t.EFF(41,"'sm'"),t.k0s(),t.EFF(42," will display a small badge without any content. This can be useful to indicate status on an element.\n"),t.k0s(),t.j41(43,"p")(44,"kirby-card",5),t.nrm(45,"cookbook-badge-example-small",null,3)(47,"cookbook-example-viewer",6),t.k0s()(),t.nrm(48,"kirby-divider",4),t.j41(49,"h2"),t.EFF(50,"API"),t.k0s(),t.j41(51,"h3"),t.EFF(52,"Properties"),t.k0s(),t.nrm(53,"cookbook-api-description-properties",7),t.j41(54,"h3"),t.EFF(55,"CSS Custom Properties"),t.k0s(),t.nrm(56,"cookbook-api-description-properties",8)),2&K){const J=t.sdS(12),G=t.sdS(21),fe=t.sdS(30),he=t.sdS(46);t.R7$(2),t.Y8G("hasMargin",!0),t.R7$(8),t.Y8G("hasPadding",X._cardHasPadding),t.R7$(3),t.Y8G("html",J.template),t.R7$(6),t.Y8G("hasPadding",X._cardHasPadding),t.R7$(3),t.Y8G("html",G.template),t.R7$(6),t.Y8G("hasPadding",X._cardHasPadding),t.R7$(4),t.Y8G("html",fe.template),t.R7$(12),t.Y8G("hasPadding",X._cardHasPadding),t.R7$(3),t.Y8G("html",he.template),t.R7$(),t.Y8G("hasMargin",!0),t.R7$(5),t.Y8G("properties",X._properties),t.R7$(3),t.Y8G("properties",X._cssCustomProperties)("columns",X._cssCustomPropertiesColumns)}},dependencies:[l.I,M.G,d.E,p.e,a.ib,_.h,v.s,E.T],encapsulation:2}),A})()},43569:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>X});var e=i(54438),t=i(92908),l=i(4631),M=i(76448),d=i(8344),p=i(4855),a=i(10303),_=i(17313),v=i(53697),E=i(3925),u=i(17337),O=i(22694),A=i(32667),$=i(34929),K=i(25981);let X=(()=>{var J;class G{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(he){return he.scrollIntoView({behavior:"smooth"}),!1}}return(J=G).\u0275fac=function(he){return new(he||J)},J.\u0275cmp=e.VBU({type:J,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(he,Me){if(1&he){const ke=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(ke);const Ne=e.sdS(46);return e.Njj(Me.scrollTo(Ne))}),e.EFF(9,"size"),e.k0s(),e.EFF(10," , has the highest "),e.j41(11,"a",16),e.bIt("click",function(){e.eBV(ke);const Ne=e.sdS(18);return e.Njj(Me.scrollTo(Ne))}),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(ke);const Ne=e.sdS(107);return e.Njj(Me.scrollTo(Ne))}),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(ke);const Ne=e.sdS(107);return e.Njj(Me.scrollTo(Ne))}),e.EFF(199,"Accessible Icon Buttons"),e.k0s()(),e.j41(200,"li")(201,"a",16),e.bIt("click",function(){e.eBV(ke);const Ne=e.sdS(148);return e.Njj(Me.scrollTo(Ne))}),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&he){const ke=e.sdS(16),be=e.sdS(44),Ne=e.sdS(60),je=e.sdS(77),it=e.sdS(84),pt=e.sdS(122),Ye=e.sdS(136),St=e.sdS(146),mt=e.sdS(178),at=e.sdS(191);e.R7$(3),e.Y8G("hasMargin",!0),e.R7$(11),e.Y8G("html",ke.template),e.R7$(28),e.Y8G("html",be.template),e.R7$(16),e.Y8G("html",Ne.template),e.R7$(17),e.Y8G("html",je.template),e.R7$(7),e.Y8G("html",it.template),e.R7$(38),e.Y8G("html",pt.template),e.R7$(14),e.Y8G("html",Ye.template),e.R7$(10),e.Y8G("html",St.template),e.R7$(32),e.Y8G("html",mt.template),e.R7$(13),e.Y8G("html",at.template),e.R7$(18),e.Y8G("properties",Me.properties)}},dependencies:[t.N,l._,M.B,d.Y,p.G,a.t,_.q,v.z,E.I,u.G,O.Wk,A.h,$.s,K.T],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}"]}),G})()},65819:(Ze,z,i)=>{"use strict";i.d(z,{t:()=>A});var t=i(54438),l=i(86413),M=i(2923),d=i(39490),p=i(47333),a=i(3418),_=i(11235),v=i(34929),E=i(83597),u=i(25981),O=i(60177);let A=(()=>{var $;class K{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 J=new Date;this.minDate=new Date,this.minDate.setDate(J.getDate()-60),this.maxDate=new Date,this.maxDate.setDate(J.getDate()+60),this.todayDate=new Date,this.todayDate.setDate(J.getDate()+3)}}return($=K).\u0275fac=function(J){return new(J||$)},$.\u0275cmp=t.VBU({type:$,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(J,G){if(1&J){const fe=t.RV6();t.j41(0,"p"),t.EFF(1," The calendar is a picker interface that displays a date grid with month navigation, for users to select a single date.\n"),t.k0s(),t.j41(2,"h2",3),t.EFF(3,"Calendar in card"),t.k0s(),t.j41(4,"p"),t.EFF(5,"The calendar should in most use-cases be placed inside a card to stand out from the canvas."),t.k0s(),t.j41(6,"p"),t.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"),t.k0s(),t.j41(8,"p"),t.EFF(9," This example showcases the many different options, and will also allow you to play around with setting the "),t.j41(10,"code"),t.EFF(11,"selectedDate"),t.k0s(),t.EFF(12," programmatically.\n"),t.k0s(),t.j41(13,"cookbook-example-viewer",4)(14,"div",5),t.nrm(15,"cookbook-calendar-card-example",6,0),t.j41(17,"cookbook-example-configuration-wrapper",7)(18,"kirby-checkbox",8),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.disableWeekends,Me)||(G.disableWeekends=Me),t.Njj(Me)}),t.k0s(),t.j41(19,"kirby-checkbox",9),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.alwaysEnableToday,Me)||(G.alwaysEnableToday=Me),t.Njj(Me)}),t.k0s(),t.j41(20,"kirby-checkbox",10),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.disablePastDates,Me)||(G.disablePastDates=Me),t.Njj(Me)}),t.k0s(),t.j41(21,"kirby-checkbox",11),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.disableFutureDates,Me)||(G.disableFutureDates=Me),t.Njj(Me)}),t.k0s(),t.j41(22,"kirby-checkbox",12),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.setDisabledDates,Me)||(G.setDisabledDates=Me),t.Njj(Me)}),t.k0s(),t.j41(23,"kirby-checkbox",13),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.setEnabledDates,Me)||(G.setEnabledDates=Me),t.Njj(Me)}),t.k0s(),t.j41(24,"kirby-checkbox",14),t.nI1(25,"date"),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.setMinDate,Me)||(G.setMinDate=Me),t.Njj(Me)}),t.k0s(),t.j41(26,"kirby-checkbox",14),t.nI1(27,"date"),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.setMaxDate,Me)||(G.setMaxDate=Me),t.Njj(Me)}),t.k0s(),t.j41(28,"kirby-checkbox",14),t.nI1(29,"date"),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.setTodayDate,Me)||(G.setTodayDate=Me),t.Njj(Me)}),t.k0s(),t.j41(30,"kirby-checkbox",15),t.mxI("checkedChange",function(Me){return t.eBV(fe),t.DH7(G.useTimezoneUTC,Me)||(G.useTimezoneUTC=Me),t.Njj(Me)}),t.k0s()()()(),t.j41(31,"h2"),t.EFF(32,"Calendar with year navigator"),t.k0s(),t.j41(33,"p"),t.EFF(34," A year-navigator can be shown in the calendars header to provide quick navigation between years.\n"),t.k0s(),t.j41(35,"cookbook-example-viewer",16)(36,"div",5),t.nrm(37,"cookbook-calendar-year-navigator-example",null,1),t.k0s()(),t.j41(39,"h2"),t.EFF(40,"Calendar without background"),t.k0s(),t.j41(41,"p"),t.EFF(42," The calendar comes with minimal styling out of the box and we recommend to place it in a "),t.j41(43,"code"),t.EFF(44,"kirby-card"),t.k0s(),t.EFF(45," .\n"),t.k0s(),t.j41(46,"p"),t.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"),t.k0s(),t.j41(48,"cookbook-example-viewer",16)(49,"div",5),t.nrm(50,"cookbook-calendar-no-background-example",null,2),t.k0s()(),t.j41(52,"h2"),t.EFF(53,"Accessibility"),t.k0s(),t.j41(54,"p"),t.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"),t.k0s(),t.j41(56,"p"),t.EFF(57," When using the calendar on another background than a white "),t.j41(58,"code"),t.EFF(59,"kirby-card"),t.k0s(),t.EFF(60," , additional care should be taken by implementers to ensure proper contrast and readability of the date grid and controls.\n"),t.k0s(),t.j41(61,"h2"),t.EFF(62,"Keyboard support"),t.k0s(),t.j41(63,"p"),t.EFF(64,"The calendar has full keyboard support to make it easier to navigate and select dates."),t.k0s(),t.j41(65,"p"),t.EFF(66,"The following keys can be used to move the currently focussed date:"),t.k0s(),t.j41(67,"ul")(68,"li")(69,"b"),t.EFF(70,"Arrow keys"),t.k0s(),t.j41(71,"ul")(72,"li")(73,"kbd"),t.EFF(74,"\u2190"),t.k0s(),t.EFF(75," and "),t.j41(76,"kbd"),t.EFF(77,"\u2192"),t.k0s(),t.EFF(78," moves focus to previous and next day "),t.k0s(),t.j41(79,"li")(80,"kbd"),t.EFF(81,"\u2191"),t.k0s(),t.EFF(82," and "),t.j41(83,"kbd"),t.EFF(84,"\u2193"),t.k0s(),t.EFF(85," moves focus to same weekday of previous and next week "),t.k0s()()(),t.j41(86,"li")(87,"kbd"),t.EFF(88,"Home"),t.k0s(),t.EFF(89," and "),t.j41(90,"kbd"),t.EFF(91,"End"),t.k0s(),t.EFF(92," moves focus to first day (Monday) and last day (Sunday) of the current week "),t.k0s(),t.j41(93,"li")(94,"kbd"),t.EFF(95,"PageUp"),t.k0s(),t.EFF(96," and "),t.j41(97,"kbd"),t.EFF(98,"PageDown"),t.k0s(),t.EFF(99," moves focus to same day of previous and next month "),t.k0s(),t.j41(100,"li")(101,"kbd"),t.EFF(102,"Shift"),t.k0s(),t.EFF(103," + "),t.j41(104,"kbd"),t.EFF(105,"PageUp"),t.k0s(),t.EFF(106," and "),t.j41(107,"kbd"),t.EFF(108,"Shift"),t.k0s(),t.EFF(109," + "),t.j41(110,"kbd"),t.EFF(111,"PageDown"),t.k0s(),t.EFF(112," moves focus to same day and month of previous and next year "),t.k0s()(),t.j41(113,"p"),t.EFF(114," When focussed, a date can be selected with "),t.j41(115,"kbd"),t.EFF(116,"Enter \u21b5"),t.k0s(),t.EFF(117," and "),t.j41(118,"kbd"),t.EFF(119,"Space"),t.k0s(),t.EFF(120,".\n"),t.k0s(),t.j41(121,"h2"),t.EFF(122,"Specifying locale"),t.k0s(),t.j41(123,"p"),t.EFF(124," The locale of the calendar (i.e. day and month names) can be set by providing a "),t.j41(125,"code"),t.EFF(126,"LOCALE_ID"),t.k0s(),t.EFF(127," . The calendar currently supports LOCALE_IDs "),t.j41(128,"code"),t.EFF(129,"da"),t.k0s(),t.EFF(130," , "),t.j41(131,"code"),t.EFF(132,"en-GB"),t.k0s(),t.EFF(133," and "),t.j41(134,"code"),t.EFF(135,"en-US"),t.k0s(),t.EFF(136," and it defaults to "),t.j41(137,"code"),t.EFF(138,"en-GB"),t.k0s(),t.EFF(139," if none is provided.\n"),t.k0s(),t.j41(140,"p"),t.EFF(141," Usually the locale should be configured for the entire app, typically in "),t.j41(142,"code"),t.EFF(143,"AppModule"),t.k0s(),t.EFF(144," like this:\n"),t.k0s(),t.nrm(145,"cookbook-code-viewer",17),t.j41(146,"h2"),t.EFF(147,"Properties"),t.k0s(),t.nrm(148,"cookbook-api-description-properties",18),t.j41(149,"h2"),t.EFF(150,"Events"),t.k0s(),t.nrm(151,"cookbook-api-description-events",19)}if(2&J){const fe=t.sdS(16),he=t.sdS(38),Me=t.sdS(51);t.R7$(13),t.Y8G("html",fe.template)("ts",fe.codeSnippet),t.R7$(2),t.Y8G("disableWeekends",G.disableWeekends)("disablePastDates",G.disablePastDates)("disableFutureDates",G.disableFutureDates)("setDisabledDates",G.setDisabledDates)("setEnabledDates",G.setEnabledDates)("setMinDate",G.setMinDate)("setMaxDate",G.setMaxDate)("setTodayDate",G.setTodayDate)("useTimezoneUTC",G.useTimezoneUTC)("showYearNavigator",G.showYearNavigator),t.R7$(3),t.R50("checked",G.disableWeekends),t.R7$(),t.R50("checked",G.alwaysEnableToday),t.R7$(),t.R50("checked",G.disablePastDates),t.R7$(),t.R50("checked",G.disableFutureDates),t.R7$(),t.R50("checked",G.setDisabledDates),t.R7$(),t.R50("checked",G.setEnabledDates),t.R7$(),t.Mz_("text","Set min date (",t.brH(25,33,G.minDate,"dd-MM-yyyy",G.useTimezoneUTC?"UTC":void 0),")"),t.R50("checked",G.setMinDate),t.R7$(2),t.Mz_("text","Set max date (",t.brH(27,37,G.maxDate,"dd-MM-yyyy",G.useTimezoneUTC?"UTC":void 0),")"),t.R50("checked",G.setMaxDate),t.R7$(2),t.Mz_("text","Set today date (",t.brH(29,41,G.todayDate,"dd-MM-yyyy",G.useTimezoneUTC?"UTC":void 0),")"),t.R50("checked",G.setTodayDate),t.R7$(2),t.R50("checked",G.useTimezoneUTC),t.R7$(5),t.Y8G("html",he.template),t.R7$(13),t.Y8G("html",Me.template),t.R7$(97),t.Y8G("ts",G.moduleProviderExample),t.R7$(3),t.Y8G("properties",G.properties),t.R7$(3),t.Y8G("events",G.events)}},dependencies:[l.B,M.V,d.u,p.B,a.a,_.P,v.s,E.b,u.T,O.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}"]}),K})()},12748:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>u});var t=i(54438),l=i(31270),M=i(25777),d=i(64840),p=i(26826),a=i(1039),_=i(32667),v=i(34929),E=i(25981);let u=(()=>{var O;class A{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"}]}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=t.VBU({type:O,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(K,X){if(1&K&&(t.j41(0,"p"),t.EFF(1," Cards are containers that display content about a single subject. They are also useful for grouping a list of related information.\n"),t.k0s(),t.j41(2,"p"),t.EFF(3," In its definition cards are containers that need to include other components like list/items, images, buttons, avatars etc.\n"),t.k0s(),t.j41(4,"h2"),t.EFF(5,"Variants"),t.k0s(),t.j41(6,"p"),t.EFF(7,"The card comes in three variants:"),t.k0s(),t.j41(8,"ul")(9,"li")(10,"strong"),t.EFF(11,"Elevated (default)"),t.k0s(),t.EFF(12," - The card is slightly elevated from the background with a drop shadow. "),t.k0s(),t.j41(13,"li")(14,"strong"),t.EFF(15,"Flat"),t.k0s(),t.EFF(16," - Has no shadow and appears lower in the visual hierarchy. "),t.k0s(),t.j41(17,"li")(18,"strong"),t.EFF(19,"Outlined"),t.k0s(),t.EFF(20," - Has a border and no background. Appear lowest in the visual hierarchy. "),t.k0s()(),t.j41(21,"cookbook-example-viewer",5),t.nrm(22,"cookbook-card-example-variant",null,0),t.k0s(),t.j41(24,"p"),t.EFF(25,"The card and its variants supports different use cases:"),t.k0s(),t.j41(26,"ul")(27,"li")(28,"strong"),t.EFF(29,"Layout and grouping"),t.k0s(),t.EFF(30," - In this case, use one of the three variants - Elevated, Flat or Outlined. "),t.k0s(),t.j41(31,"li")(32,"strong"),t.EFF(33,"Navigation"),t.k0s(),t.EFF(34," - Use the Elevated (default) variant whenever the entire card is clickable. Consider adding a disclosure indicator to the card. "),t.k0s()(),t.j41(35,"h2"),t.EFF(36,"State & Disclosure"),t.k0s(),t.j41(37,"p"),t.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"),t.k0s(),t.j41(39,"p"),t.EFF(40," Registering any click event "),t.j41(41,"code"),t.EFF(42,'(click)="function()"'),t.k0s(),t.EFF(43," on the card will activate its state behavior when hovered or pressed.\n"),t.k0s(),t.j41(44,"p"),t.EFF(45," A card with a disclosure indicator is composed of a card-header with a slotted "),t.j41(46,"code"),t.EFF(47,"kirby-item"),t.k0s(),t.EFF(48," , using the "),t.j41(49,"code"),t.EFF(50,"--kirby-card-padding-top"),t.k0s(),t.EFF(51," CSS Custom Property to set the padding top in card content area to "),t.j41(52,"code"),t.EFF(53,"0px"),t.k0s(),t.EFF(54," . The card header input property "),t.j41(55,"code"),t.EFF(56,"hasPadding"),t.k0s(),t.EFF(57," is set to "),t.j41(58,"code"),t.EFF(59,"false"),t.k0s(),t.EFF(60," to adjust to the use of item.\n"),t.k0s(),t.j41(61,"cookbook-example-viewer",6),t.nrm(62,"cookbook-card-example-disclosure",null,1),t.k0s(),t.j41(64,"h2"),t.EFF(65,"Flagged header"),t.k0s(),t.j41(66,"p"),t.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"),t.k0s(),t.j41(68,"cookbook-example-viewer",5),t.nrm(69,"cookbook-card-example-flag",null,2),t.k0s(),t.j41(71,"h2"),t.EFF(72,"Colors"),t.k0s(),t.j41(73,"p"),t.EFF(74,"Cards can have a colored background to stand out even more."),t.k0s(),t.j41(75,"cookbook-example-viewer",5),t.nrm(76,"cookbook-card-example-color",null,3),t.k0s(),t.j41(78,"h2"),t.EFF(79,"Background image"),t.k0s(),t.j41(80,"p"),t.EFF(81," The recommended approach for setting a background image on the card is with the "),t.j41(82,"code"),t.EFF(83,"--kirby-card-background-image"),t.k0s(),t.EFF(84," CSS Custom Property.\n"),t.k0s(),t.j41(85,"p"),t.EFF(86," Alternatively, it can be set programatically via the "),t.j41(87,"code"),t.EFF(88,"backgroundImageUrl"),t.k0s(),t.EFF(89," input property.\n"),t.k0s(),t.j41(90,"p"),t.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"),t.k0s(),t.j41(92,"cookbook-example-viewer",6),t.nrm(93,"cookbook-card-example-background-image",null,4),t.k0s(),t.j41(95,"p")(96,"em"),t.EFF(97,"Note:"),t.k0s(),t.EFF(98," this example uses "),t.j41(99,"a",7),t.EFF(100,"include-media"),t.k0s(),t.EFF(101," for media queries. This is re-exported from the "),t.j41(102,"code"),t.EFF(103,"@kirbydesign/designsystem/scss/utils"),t.k0s(),t.EFF(104," Sass module.\n"),t.k0s(),t.nrm(105,"kirby-divider",8),t.j41(106,"h2"),t.EFF(107,"API Description"),t.k0s(),t.j41(108,"h3"),t.EFF(109,"Card properties:"),t.k0s(),t.nrm(110,"cookbook-api-description-properties",9),t.j41(111,"h3"),t.EFF(112,"Card CSS Custom Properties"),t.k0s(),t.nrm(113,"cookbook-api-description-properties",10),t.j41(114,"h3"),t.EFF(115,"Card header and footer properties:"),t.k0s(),t.nrm(116,"cookbook-api-description-properties",9)),2&K){const J=t.sdS(23),G=t.sdS(63),fe=t.sdS(70),he=t.sdS(77),Me=t.sdS(94);t.R7$(21),t.Y8G("html",J.template),t.R7$(40),t.Y8G("html",G.template)("css",G.style),t.R7$(7),t.Y8G("html",fe.codeSnippet),t.R7$(7),t.Y8G("html",he.codeSnippet),t.R7$(17),t.Y8G("html",Me.template)("css",Me.style),t.R7$(13),t.Y8G("hasMargin",!0),t.R7$(5),t.Y8G("properties",X.properties),t.R7$(3),t.Y8G("properties",X.customCssProperties)("columns",X.customCssPropertiesColumns),t.R7$(3),t.Y8G("properties",X.propertiesHeaderAndFooter)}},dependencies:[l.n,M.y,d.t,p.r,a.B,_.h,v.s,E.T],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)}}"]}),A})()},60883:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>_});var e=i(1511),t=i(54438),l=i(86413),M=i(22694),d=i(98990),p=i(34929),a=i(53375);let _=(()=>{var v;class E{constructor(){this.data=e.B.barDemoDataString}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=t.VBU({type:v,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(O,A){if(1&O&&(t.j41(0,"h2"),t.EFF(1,"Bar Chart built from configs"),t.k0s(),t.j41(2,"p"),t.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 "),t.j41(4,"a",1),t.EFF(5,"this guide"),t.k0s(),t.EFF(6," .\n"),t.k0s(),t.j41(7,"h3"),t.EFF(8,"Demo data"),t.k0s(),t.j41(9,"p"),t.EFF(10,"The data used to exemplify these charts is displayed below:"),t.k0s(),t.j41(11,"p"),t.nrm(12,"cookbook-code-viewer",2),t.k0s(),t.j41(13,"h3"),t.EFF(14,"Bar chart"),t.k0s(),t.j41(15,"kirby-card",3)(16,"cookbook-example-viewer",4),t.nrm(17,"cookbook-chart-example-config-base-bar",null,0),t.k0s()()),2&O){const $=t.sdS(18);t.R7$(12),t.Y8G("inlineLabel",!0)("ts",A.data)("language","ts"),t.R7$(3),t.Y8G("hasPadding",!0),t.R7$(),t.Y8G("html",$.template)("ts",$.codeSnippet)}},dependencies:[l.B,M.Wk,d.ib,p.s,a.S],encapsulation:2}),E})()},51861:(Ze,z,i)=>{"use strict";i.d(z,{w:()=>u});var e=i(1511),t=i(54438),l=i(86413),M=i(39351),d=i(7177),p=i(78755),a=i(54149),_=i(22694),v=i(98990),E=i(34929);let u=(()=>{var O;class A{constructor(){this.data=e.B.demoDataString}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=t.VBU({type:O,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(K,X){if(1&K&&(t.j41(0,"h2"),t.EFF(1,"Stock Chart built from configs"),t.k0s(),t.j41(2,"p"),t.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 "),t.j41(4,"a",4),t.EFF(5,"this guide"),t.k0s(),t.EFF(6," .\n"),t.k0s(),t.j41(7,"p"),t.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"),t.k0s(),t.j41(9,"p"),t.EFF(10," The idea behind Kirby chart config is "),t.j41(11,"em"),t.EFF(12,"only"),t.k0s(),t.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"),t.k0s(),t.j41(14,"p"),t.EFF(15,"Below is a guide on how to implement different variations of the stock chart."),t.k0s(),t.j41(16,"h3"),t.EFF(17,"Demo data"),t.k0s(),t.j41(18,"p"),t.EFF(19,"The data used to exemplify these charts is displayed below:"),t.k0s(),t.j41(20,"p"),t.nrm(21,"cookbook-code-viewer",5),t.k0s(),t.j41(22,"h3"),t.EFF(23,"stock chart"),t.k0s(),t.j41(24,"p")(25,"kirby-card",6)(26,"cookbook-example-viewer",7),t.nrm(27,"cookbook-chart-example-config-base-stock",null,0),t.k0s()()(),t.j41(29,"h3"),t.EFF(30,"Chart with min & max datalabels"),t.k0s(),t.j41(31,"p")(32,"kirby-card",6)(33,"cookbook-example-viewer",7),t.nrm(34,"cookbook-chart-example-config-datalabels-stock",null,1),t.k0s()()(),t.j41(36,"h3"),t.EFF(37,"Chart with a tooltip"),t.k0s(),t.j41(38,"p")(39,"kirby-card",6)(40,"cookbook-example-viewer",7),t.nrm(41,"cookbook-chart-example-config-tooltip-stock",null,2),t.k0s()()(),t.j41(43,"h3"),t.EFF(44,"A chart with all features available"),t.k0s(),t.j41(45,"p")(46,"kirby-card",6)(47,"cookbook-example-viewer",7),t.nrm(48,"cookbook-chart-example-config-stock",null,3),t.k0s()()()),2&K){const J=t.sdS(28),G=t.sdS(35),fe=t.sdS(42),he=t.sdS(49);t.R7$(21),t.Y8G("inlineLabel",!0)("ts",X.data)("language","ts"),t.R7$(4),t.Y8G("hasPadding",!0),t.R7$(),t.Y8G("html",J.template)("ts",J.codeSnippet),t.R7$(6),t.Y8G("hasPadding",!0),t.R7$(),t.Y8G("html",G.template)("ts",G.codeSnippet),t.R7$(6),t.Y8G("hasPadding",!0),t.R7$(),t.Y8G("html",fe.template)("ts",fe.codeSnippet),t.R7$(6),t.Y8G("hasPadding",!0),t.R7$(),t.Y8G("html",he.template)("ts",he.codeSnippet)}},dependencies:[l.B,M.u,d.$,p.f,a.d,_.Wk,v.ib,E.s],encapsulation:2}),A})()},43641:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>e,r:()=>t});const e=[{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][]"]}],t={columns:{name:"Name",description:"Description"},apiDescription:[{name:"--kirby-chart-height",description:"Height of the chart."}]}},69935:(Ze,z,i)=>{"use strict";i.d(z,{X:()=>G});var e=i(43641),t=i(54438),l=i(12983),M=i(9868),d=i(31172),p=i(95417),a=i(3717),_=i(33847),v=i(67285),E=i(55827),u=i(90329),O=i(17555),A=i(22694),$=i(98990),K=i(32667),X=i(34929),J=i(25981);let G=(()=>{var fe;class he{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"},...e.a],this._cssCustomPropertiesColumns=e.r.columns,this._cssCustomProperties=e.r.apiDescription}}return(fe=he).\u0275fac=function(ke){return new(ke||fe)},fe.\u0275cmp=t.VBU({type:fe,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(ke,be){if(1&ke&&(t.j41(0,"p")(1,"em"),t.EFF(2," Looking for the stock chart? It has been moved to a separate "),t.j41(3,"code"),t.EFF(4,"kirby-stock-chart"),t.k0s(),t.EFF(5," element! "),t.nrm(6,"br"),t.EFF(7," See: "),t.j41(8,"a",10),t.EFF(9,"the stock chart showcase"),t.k0s(),t.EFF(10," . "),t.k0s()(),t.j41(11,"p"),t.EFF(12," The "),t.j41(13,"code"),t.EFF(14,"kirby-chart"),t.k0s(),t.EFF(15," component is used to show data in various chart types. To show the default column chart all that is needed is a "),t.j41(16,"code"),t.EFF(17,"number[]"),t.k0s(),t.EFF(18," which will produce a simple chart using colors from the "),t.j41(19,"a",11),t.EFF(20,"Kirby color palette"),t.k0s(),t.EFF(21," as can be seen below.\n"),t.k0s(),t.j41(22,"p"),t.EFF(23," It is possible to customize the "),t.j41(24,"code"),t.EFF(25,"kirby-chart"),t.k0s(),t.EFF(26," component with different chart types, labels, interactions, more complex datasets & custom options.\n"),t.k0s(),t.j41(27,"p")(28,"kirby-card",12)(29,"cookbook-example-viewer",13),t.nrm(30,"cookbook-chart-example-simple-column",null,0),t.k0s()()(),t.nrm(32,"kirby-divider",14),t.j41(33,"h2"),t.EFF(34,"Types of Charts"),t.k0s(),t.j41(35,"p"),t.EFF(36," The type of a "),t.j41(37,"code"),t.EFF(38,"kirby-chart"),t.k0s(),t.EFF(39," is set through the "),t.j41(40,"code"),t.EFF(41,"type"),t.k0s(),t.EFF(42," input property.\n"),t.k0s(),t.j41(43,"h3"),t.EFF(44,"Column Chart"),t.k0s(),t.j41(45,"p"),t.EFF(46,"The column chart visualizes data from different categories as rectangles."),t.k0s(),t.j41(47,"p"),t.EFF(48," To render a column chart set "),t.j41(49,"code"),t.EFF(50,"type"),t.k0s(),t.EFF(51," to "),t.j41(52,"code"),t.EFF(53,'"column"'),t.k0s(),t.EFF(54," .\n"),t.k0s(),t.j41(55,"p")(56,"kirby-card",12)(57,"cookbook-example-viewer",15),t.nrm(58,"cookbook-chart-example-column",null,1),t.k0s()()(),t.j41(60,"h3"),t.EFF(61,"Bar Chart"),t.k0s(),t.j41(62,"p"),t.EFF(63,"The bar chart visualizes data from different categories as rectangles along the x-axis."),t.k0s(),t.j41(64,"p"),t.EFF(65," To render a bar chart set "),t.j41(66,"code"),t.EFF(67,"type"),t.k0s(),t.EFF(68," to "),t.j41(69,"code"),t.EFF(70,"'bar'"),t.k0s(),t.EFF(71," .\n"),t.k0s(),t.j41(72,"p")(73,"kirby-card",12)(74,"cookbook-example-viewer",13),t.nrm(75,"cookbook-chart-example-bar",null,2),t.k0s()()(),t.j41(77,"h3"),t.EFF(78,"Line Chart"),t.k0s(),t.j41(79,"p"),t.EFF(80,"The line chart visualizes data from different categories as a line along the x-axis."),t.k0s(),t.j41(81,"p"),t.EFF(82," To render a line chart set "),t.j41(83,"code"),t.EFF(84,"type"),t.k0s(),t.EFF(85," to "),t.j41(86,"code"),t.EFF(87,"'line'"),t.k0s(),t.EFF(88," .\n"),t.k0s(),t.j41(89,"p")(90,"kirby-card",12)(91,"cookbook-example-viewer",13),t.nrm(92,"cookbook-chart-example-line",null,3),t.k0s()()(),t.nrm(94,"kirby-divider",14),t.j41(95,"h2",16),t.EFF(96,"Custom Options"),t.k0s(),t.j41(97,"p"),t.EFF(98," The "),t.j41(99,"code"),t.EFF(100,"kirby-chart"),t.k0s(),t.EFF(101," component is based on "),t.j41(102,"a",17),t.EFF(103,"chart.js"),t.k0s(),t.EFF(104," . Under the hood all Kirby chart types are a set of pre-configured options for chart.js that has been Kirbyfied.\n"),t.k0s(),t.j41(105,"p"),t.EFF(106," These options can be overwritten via the "),t.j41(107,"code"),t.EFF(108,"customOptions"),t.k0s(),t.EFF(109," input property. Among other things, this can be useful for implementing interactions with your charts and creating stacked bar charts.\n"),t.k0s(),t.j41(110,"p"),t.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 "),t.j41(112,"a",11),t.EFF(113,"Kirby color palette"),t.k0s(),t.EFF(114," .\n"),t.k0s(),t.j41(115,"p"),t.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"),t.k0s(),t.j41(117,"p"),t.EFF(118," For documentation on the options object see the "),t.j41(119,"a",18),t.EFF(120," chart.js options documentation "),t.k0s(),t.EFF(121," .\n"),t.k0s(),t.j41(122,"h3"),t.EFF(123,"Interacting with charts"),t.k0s(),t.j41(124,"p"),t.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 "),t.j41(126,"a",19),t.EFF(127," the chart.js interactions documentation "),t.k0s(),t.EFF(128," .\n"),t.k0s(),t.j41(129,"p")(130,"kirby-card",12)(131,"cookbook-example-viewer",15),t.nrm(132,"cookbook-chart-example-interaction",null,4),t.k0s()()(),t.j41(134,"h3",20),t.EFF(135,"Stacked Bar & column charts"),t.k0s(),t.j41(136,"p"),t.EFF(137,"Stacked charts can be created using a combination of custom options and datasets."),t.k0s(),t.j41(138,"p")(139,"kirby-card",12)(140,"cookbook-example-viewer",15),t.nrm(141,"cookbook-chart-example-column-stacked",null,5),t.k0s()()(),t.j41(143,"h3"),t.EFF(144,"Option resolving"),t.k0s(),t.j41(145,"p"),t.EFF(146," Besides custom options it is also possible to provide options for each dataset as can be seen in the above "),t.j41(147,"i"),t.EFF(148,"stacked bar & column charts"),t.k0s(),t.EFF(149," example where it is used to change the background- & hover background color for one of the datsets.\n"),t.k0s(),t.j41(150,"p"),t.EFF(151,"Options are resolved such that:"),t.k0s(),t.j41(152,"ul")(153,"li"),t.EFF(154,"Defaults are overwritten by custom options."),t.k0s(),t.j41(155,"li"),t.EFF(156,"Custom options are overwritten by dataset options."),t.k0s()(),t.nrm(157,"kirby-divider",14),t.j41(158,"h2")(159,"a",21),t.EFF(160,"Datasets"),t.k0s()(),t.j41(161,"p"),t.EFF(162," It is possible to provide data as an array of "),t.j41(163,"a",22),t.EFF(164," chart.js datasets "),t.k0s(),t.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"),t.k0s(),t.j41(166,"p"),t.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"),t.k0s(),t.j41(168,"p")(169,"kirby-card",12)(170,"cookbook-example-viewer",15),t.nrm(171,"cookbook-chart-example-multiple-datasets",null,6),t.k0s()()(),t.nrm(173,"kirby-divider",14),t.j41(174,"h2"),t.EFF(175,"Annotations"),t.k0s(),t.j41(176,"p")(177,"strong"),t.EFF(178,"Note:"),t.k0s(),t.EFF(179," It is currently not possible to use annotations with type "),t.j41(180,"code"),t.EFF(181,"point"),t.k0s(),t.EFF(182," as these are not rendered. For progress see issue "),t.j41(183,"a",23),t.EFF(184," #1674 "),t.k0s(),t.nrm(185,"br"),t.k0s(),t.j41(186,"p"),t.EFF(187," Lines, boxes, ellipses can be drawn to annotate the charts using the "),t.j41(188,"code"),t.EFF(189,"annotations"),t.k0s(),t.EFF(190," input property. Annotations are drawn using the "),t.j41(191,"a",24),t.EFF(192," chartjs-plugin-annotation "),t.k0s(),t.EFF(193," plugin for Chart.js\n"),t.k0s(),t.j41(194,"p"),t.EFF(195," The Chart component has some defaults for the different chart types - these can however be overwritten on a per annotation basis.\n"),t.k0s(),t.j41(196,"p"),t.EFF(197,"More documentation of the individual annotation types can be found here:"),t.k0s(),t.j41(198,"ul")(199,"li")(200,"a",25),t.EFF(201," Box annotation documentation "),t.k0s()(),t.j41(202,"li")(203,"a",26),t.EFF(204," Ellipse annotation documentation "),t.k0s()(),t.j41(205,"li")(206,"a",27),t.EFF(207," Line annotation documentation "),t.k0s()()(),t.j41(208,"p"),t.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"),t.k0s(),t.j41(210,"p")(211,"kirby-card",12)(212,"cookbook-example-viewer",15),t.nrm(213,"cookbook-chart-example-annotations",null,7),t.k0s()()(),t.nrm(215,"kirby-divider",14),t.j41(216,"h2"),t.EFF(217,"Line Chart with fill"),t.k0s(),t.j41(218,"p"),t.EFF(219,"The fill allows for better visual explanation by allowing for different colors between lines."),t.k0s(),t.j41(220,"p"),t.EFF(221," To render the fill set the "),t.j41(222,"code"),t.EFF(223,"fill"),t.k0s(),t.EFF(224," inside your dataset.\n"),t.k0s(),t.j41(225,"p"),t.EFF(226," More information can be found here: "),t.j41(227,"a",28),t.EFF(228,"Area charts"),t.k0s()(),t.j41(229,"p")(230,"kirby-card",12)(231,"cookbook-example-viewer",15),t.nrm(232,"cookbook-chart-example-area-line",null,8),t.k0s()()(),t.nrm(234,"kirby-divider",14),t.j41(235,"h2"),t.EFF(236,"Responsiveness"),t.k0s(),t.j41(237,"p"),t.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 "),t.j41(239,"code"),t.EFF(240,"height"),t.k0s(),t.EFF(241," input property or the "),t.j41(242,"code"),t.EFF(243,"--kirby-chart-height"),t.k0s(),t.EFF(244," custom css property.\n"),t.k0s(),t.j41(245,"h3"),t.EFF(246,"Resize delay"),t.k0s(),t.j41(247,"p"),t.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"),t.k0s(),t.j41(249,"p"),t.EFF(250," It is possible to change this delay through the "),t.j41(251,"code"),t.EFF(252,"customOptions"),t.k0s(),t.EFF(253," input property by setting "),t.j41(254,"a",29)(255,"code"),t.EFF(256,"resizeDelay"),t.k0s()(),t.EFF(257," to a delay in milliseconds.\n"),t.k0s(),t.j41(258,"h3"),t.EFF(259,"Aspect Ratio"),t.k0s(),t.EFF(260,"\nThe aspect ratio of the chart is not preserved whenever it is resized. This can be changed using\n"),t.j41(261,"code"),t.EFF(262,"customOptions"),t.k0s(),t.EFF(263,"\nby setting\n"),t.j41(264,"a",29)(265,"code"),t.EFF(266,"maintainAspectRatio"),t.k0s()(),t.EFF(267,"\nto\n"),t.j41(268,"code"),t.EFF(269,"false"),t.k0s(),t.EFF(270,"\n. "),t.nrm(271,"kirby-divider",14),t.j41(272,"h2"),t.EFF(273,"Accessibility"),t.k0s(),t.j41(274,"p"),t.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 "),t.j41(276,"a",30),t.EFF(277," image element "),t.k0s(),t.EFF(278," .\n"),t.k0s(),t.j41(279,"p"),t.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"),t.k0s(),t.j41(281,"p"),t.EFF(282," For more on accessibility when working with the canvas element have a look at "),t.j41(283,"a",31),t.EFF(284," this great article from Paul J. Adam "),t.k0s(),t.EFF(285," .\n"),t.k0s(),t.j41(286,"p")(287,"kirby-card",12)(288,"cookbook-example-viewer",15),t.nrm(289,"cookbook-chart-example-accessibility",null,9),t.k0s()()(),t.nrm(291,"kirby-divider",14),t.j41(292,"h2"),t.EFF(293,"API Description"),t.k0s(),t.nrm(294,"cookbook-api-description-properties",32),t.j41(295,"h2"),t.EFF(296,"CSS Custom Properties"),t.k0s(),t.nrm(297,"cookbook-api-description-properties",33)),2&ke){const Ne=t.sdS(31),je=t.sdS(59),it=t.sdS(76),pt=t.sdS(93),Ye=t.sdS(133),St=t.sdS(142),mt=t.sdS(172),at=t.sdS(214),Ge=t.sdS(233),gt=t.sdS(290);t.R7$(28),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",Ne.template),t.R7$(3),t.Y8G("hasMargin",!0),t.R7$(24),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",je.template)("ts",je.codeSnippet),t.R7$(16),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",it.template),t.R7$(16),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",pt.template),t.R7$(3),t.Y8G("hasMargin",!0),t.R7$(36),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",Ye.template)("ts",Ye.codeSnippet),t.R7$(8),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",St.template)("ts",St.codeSnippet),t.R7$(17),t.Y8G("hasMargin",!0),t.R7$(12),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",mt.template)("ts",mt.codeSnippet),t.R7$(3),t.Y8G("hasMargin",!0),t.R7$(38),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",at.template)("ts",at.codeSnippet),t.R7$(3),t.Y8G("hasMargin",!0),t.R7$(15),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",Ge.template)("ts",Ge.codeSnippet),t.R7$(3),t.Y8G("hasMargin",!0),t.R7$(37),t.Y8G("hasMargin",!0),t.R7$(16),t.Y8G("hasPadding",be._cardHasPadding),t.R7$(),t.Y8G("html",gt.template)("ts",gt.codeSnippet),t.R7$(3),t.Y8G("hasMargin",!0),t.R7$(3),t.Y8G("properties",be._apiDescriptionProperties),t.R7$(3),t.Y8G("properties",be._cssCustomProperties)("columns",be._cssCustomPropertiesColumns)}},dependencies:[l.e,M.U,d.h,p.u,a.J,_.P,v.w,E._,u.G,O.X,A.Wk,$.ib,K.h,X.s,J.T],encapsulation:2}),he})()},46865:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>K});var e=i(54438),t=i(86413),l=i(44247),M=i(47640),d=i(73414),p=i(21078),a=i(82740),_=i(76949),v=i(32881),E=i(89965),u=i(22694),O=i(34929),A=i(83597),$=i(25981);let K=(()=>{var X;class J{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"}]}}return(X=J).\u0275fac=function(fe){return new(fe||X)},X.\u0275cmp=e.VBU({type:X,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(fe,he){if(1&fe&&(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&fe){const Me=e.sdS(15),ke=e.sdS(20),be=e.sdS(29),Ne=e.sdS(34),je=e.sdS(45),it=e.sdS(58),pt=e.sdS(63),Ye=e.sdS(81);e.R7$(13),e.Y8G("html",Me.template),e.R7$(5),e.Y8G("html",ke.template),e.R7$(9),e.Y8G("html",be.template)("ts",be.codeSnippet),e.R7$(5),e.Y8G("html",Ne.template),e.R7$(11),e.Y8G("html",je.template),e.R7$(13),e.Y8G("html",it.template),e.R7$(5),e.Y8G("html",pt.template)("ts",pt.codeSnippet),e.R7$(16),e.Y8G("inlineLabel",!0),e.R7$(2),e.Y8G("html",Ye.template)("ts",Ye.codeSnippet),e.R7$(14),e.Y8G("properties",he.properties),e.R7$(3),e.Y8G("events",he.events)}},dependencies:[t.B,l.A,M.j,d.n,p.d,a.D,_.Y,v.U,E.X,u.Wk,O.s,A.b,$.T],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}"]}),J})()},65897:(Ze,z,i)=>{"use strict";i.d(z,{j:()=>X});var e=i(10467),t=i(44354),l=i(54438),M=i(60177);const d=J=>({$implicit:J});function p(J,G){1&J&&l.eu8(0)}function a(J,G){1&J&&l.eu8(0)}function _(J,G){1&J&&l.eu8(0)}function v(J,G){1&J&&l.eu8(0)}function E(J,G){if(1&J&&(l.j41(0,"li")(1,"div")(2,"h3",10),l.EFF(3),l.k0s(),l.j41(4,"dl",11)(5,"dt"),l.EFF(6,"Value"),l.k0s(),l.j41(7,"dd"),l.EFF(8),l.k0s()()()()),2&J){const fe=G.$implicit;l.ZvI("text-color-box ",fe.name,""),l.R7$(3),l.JRh(fe.name),l.R7$(5),l.JRh(fe.value)}}function u(J,G){if(1&J){const fe=l.RV6();l.j41(0,"li",14),l.bIt("click",function(){const Me=l.eBV(fe).$implicit,ke=l.XpG(2);return l.Njj(ke.onColorClick(Me))}),l.j41(1,"h3",10),l.EFF(2),l.k0s(),l.j41(3,"div",15)(4,"div")(5,"h3"),l.EFF(6),l.nI1(7,"slice"),l.k0s()(),l.nrm(8,"div")(9,"div"),l.k0s(),l.j41(10,"dl",11)(11,"dt"),l.EFF(12,"Base"),l.k0s(),l.j41(13,"dd"),l.EFF(14),l.k0s(),l.j41(15,"dt"),l.EFF(16,"Tint"),l.k0s(),l.j41(17,"dd"),l.EFF(18),l.k0s(),l.j41(19,"dt"),l.EFF(20,"Shade"),l.k0s(),l.j41(21,"dd"),l.EFF(22),l.k0s(),l.j41(23,"dt"),l.EFF(24,"Contrast"),l.k0s(),l.j41(25,"dd"),l.EFF(26),l.k0s()()()}if(2&J){const fe=G.$implicit;l.R7$(2),l.JRh(fe.name),l.R7$(2),l.ZvI("color-sample ",fe.name,""),l.R7$(2),l.JRh(l.brH(7,15,fe.name,0,2)),l.R7$(2),l.ZvI("color-sample ",fe.tint.name,""),l.R7$(),l.ZvI("color-sample ",fe.shade.name,""),l.R7$(5),l.JRh(fe.value),l.R7$(4),l.JRh(fe.tint.value),l.R7$(4),l.JRh(fe.shade.value),l.R7$(4),l.JRh(fe.contrast.value)}}function O(J,G){if(1&J&&(l.j41(0,"ul",12),l.DNE(1,u,27,19,"li",13),l.k0s()),2&J){const fe=G.$implicit;l.R7$(),l.Y8G("ngForOf",fe)}}function A(J,G){if(1&J){const fe=l.RV6();l.qex(0,18),l.j41(1,"dd"),l.EFF(2),l.k0s(),l.j41(3,"dt",19),l.bIt("click",function(Me){const ke=l.eBV(fe).$implicit,be=l.XpG().$implicit,Ne=l.XpG(2);return l.Njj(Ne.onDecorationColorClick(Me,be.name,ke.step))}),l.k0s(),l.bVm()}if(2&J){const fe=G.$implicit,he=l.XpG().$implicit,Me=l.XpG(2);l.R7$(2),l.JRh(fe.step),l.R7$(),l.STu("color-ramp-sample ",he.name,"-",fe.step,""),l.FS9("title",Me.getDecorationColorVariable(he.name,fe.step))}}function $(J,G){if(1&J&&(l.j41(0,"div",18)(1,"h3",10),l.EFF(2),l.k0s(),l.j41(3,"dl"),l.DNE(4,A,4,6,"ng-container",17),l.k0s()()),2&J){const fe=G.$implicit;l.R7$(2),l.JRh(fe.name),l.R7$(2),l.Y8G("ngForOf",fe.ramp)}}function K(J,G){if(1&J&&(l.j41(0,"div",16),l.DNE(1,$,5,2,"div",17),l.k0s()),2&J){const fe=G.$implicit;l.R7$(),l.Y8G("ngForOf",fe)}}let X=(()=>{var J;class G{constructor(){this.selectedColor="primary",this.selectedOnColor="primary-contrast",this.brandColors=t.A.brandColors,this.notificationColors=t.A.notificationColors,this.decorationColors=t.A.decorationColors,this.systemColors=t.A.systemColors,this.textColors=t.A.textColors}onColorClick(he){this.selectedColor=he.name,this.selectedOnColor=he.name+"-contrast"}onDecorationColorClick(he,Me,ke){var be=this;return(0,e.A)(function*(){const Ne=be.getDecorationColorVariable(Me,ke);yield navigator.clipboard.writeText(Ne);const je=he.target;je.classList.add("copied"),window.setTimeout(()=>{je.classList.remove("copied")},1500)})()}getDecorationColorVariable(he,Me){return`var(--kirby-decoration-color-${he}-${Me})`}}return(J=G).\u0275fac=function(he){return new(he||J)},J.\u0275cmp=l.VBU({type:J,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(he,Me){if(1&he&&(l.j41(0,"p"),l.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 "),l.j41(2,"code"),l.EFF(3,"scss/themes/_colors.scss"),l.k0s(),l.EFF(4," file.\n"),l.k0s(),l.j41(5,"div",2)(6,"div",3),l.EFF(7,"Example use (Click on a color below to change it):"),l.k0s(),l.j41(8,"div",4)(9,"div")(10,"div",5),l.EFF(11,"Contrast Text"),l.k0s(),l.j41(12,"div"),l.EFF(13,"Tint"),l.k0s(),l.j41(14,"div"),l.EFF(15,"Shade"),l.k0s()(),l.j41(16,"pre",6),l.EFF(17),l.k0s()()(),l.j41(18,"h2"),l.EFF(19,"Brand colors"),l.k0s(),l.DNE(20,p,1,0,"ng-container",7),l.j41(21,"h2"),l.EFF(22,"Notification colors"),l.k0s(),l.DNE(23,a,1,0,"ng-container",7),l.j41(24,"h2"),l.EFF(25,"Decoration colors (click to copy)"),l.k0s(),l.DNE(26,_,1,0,"ng-container",7),l.j41(27,"h2"),l.EFF(28,"System colors"),l.k0s(),l.DNE(29,v,1,0,"ng-container",7),l.j41(30,"h2"),l.EFF(31,"Text colors"),l.k0s(),l.j41(32,"ul",8),l.DNE(33,E,9,5,"li",9),l.k0s(),l.DNE(34,O,2,1,"ng-template",null,0,l.C5r)(36,K,2,1,"ng-template",null,1,l.C5r)),2&he){const ke=l.sdS(35),be=l.sdS(37);l.R7$(9),l.ZvI("color-sample-example color-sample ",Me.selectedColor,""),l.R7$(3),l.ZvI("color-sample ",Me.selectedColor,"-tint"),l.R7$(2),l.ZvI("color-sample ",Me.selectedColor,"-shade"),l.R7$(3),l.xRd(["@use '@kirbydesign/designsystem/scss/utils';\n\n.color-sample-example ","{","\n background-color: utils.get-color('",Me.selectedColor,"');\n color: utils.get-color('",Me.selectedOnColor,"');\n","}","\n.color-sample-tint ","{","\n background-color: utils.get-color('",Me.selectedColor,"-tint');\n","}","\n.color-sample-shade ","{","\n background-color: utils.get-color('",Me.selectedColor,"-shade');\n","}",""]),l.R7$(3),l.Y8G("ngTemplateOutlet",ke)("ngTemplateOutletContext",l.eq3(28,d,Me.brandColors)),l.R7$(3),l.Y8G("ngTemplateOutlet",ke)("ngTemplateOutletContext",l.eq3(30,d,Me.notificationColors)),l.R7$(3),l.Y8G("ngTemplateOutlet",be)("ngTemplateOutletContext",l.eq3(32,d,Me.decorationColors)),l.R7$(3),l.Y8G("ngTemplateOutlet",ke)("ngTemplateOutletContext",l.eq3(34,d,Me.systemColors)),l.R7$(4),l.Y8G("ngForOf",Me.textColors)}},dependencies:[M.Sq,M.T3,M.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}']}),G})()},25217:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>_});const e=[{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"}];var t=i(54438),l=i(86118),M=i(26695),d=i(92088),p=i(34929),a=i(25981);let _=(()=>{var v;class E{constructor(){this._apiDescriptionPropertiesTable=[...e]}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=t.VBU({type:v,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(O,A){if(1&O&&(t.j41(0,"div",3)(1,"p"),t.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. "),t.k0s(),t.j41(3,"h2"),t.EFF(4,"Setup"),t.k0s(),t.EFF(5," The Kirby data table is a set of CSS classes that styles the native HTML "),t.j41(6,"code"),t.EFF(7,"table"),t.k0s(),t.EFF(8," element. "),t.nrm(9,"br"),t.EFF(10," Ensure your application includes the global Kirby styles as "),t.j41(11,"a",4),t.EFF(12," explained in our readme file "),t.k0s(),t.EFF(13," . "),t.j41(14,"h2"),t.EFF(15,"Simple data table"),t.k0s(),t.j41(16,"p"),t.EFF(17," By default the data table has minimal styling - only the headers are styled and divider lines are added between the rows. "),t.k0s(),t.j41(18,"cookbook-example-viewer",5),t.nrm(19,"cookbook-data-table-default-example",null,0),t.k0s(),t.j41(21,"h2"),t.EFF(22,"Additional styling and interactions"),t.k0s(),t.j41(23,"p"),t.EFF(24,"The data table can be wrapped in a Kirby Card to make it stand out from the canvas."),t.k0s(),t.j41(25,"p"),t.EFF(26," The rows can be made selectable by applying the "),t.j41(27,"code"),t.EFF(28,"kirby-selectable-row"),t.k0s(),t.EFF(29," CSS class and handling the "),t.j41(30,"code"),t.EFF(31,"click()"),t.k0s(),t.EFF(32," event. "),t.k0s(),t.j41(33,"cookbook-example-viewer",6),t.nrm(34,"cookbook-data-table-card-example",null,1),t.k0s(),t.j41(36,"h2"),t.EFF(37,"Sortable table"),t.k0s(),t.j41(38,"p"),t.EFF(39,"The data table exposes styling and hooks for making the table sortable."),t.k0s(),t.j41(40,"p"),t.EFF(41," To enable sorting you must import the "),t.j41(42,"code"),t.EFF(43,"TableSortableComponent"),t.k0s(),t.EFF(44," into your Angular module or standalone component. "),t.k0s(),t.nrm(45,"cookbook-example-viewer",7),t.j41(46,"p"),t.EFF(47," In this example the "),t.j41(48,"code"),t.EFF(49,"Name"),t.k0s(),t.EFF(50," , "),t.j41(51,"code"),t.EFF(52,"Height"),t.k0s(),t.EFF(53," & "),t.j41(54,"code"),t.EFF(55,"Weight"),t.k0s(),t.EFF(56," columns are sortable: "),t.k0s(),t.j41(57,"cookbook-example-viewer",5),t.nrm(58,"cookbook-data-table-sortable-example",null,2),t.k0s(),t.j41(60,"p")(61,"em")(62,"strong"),t.EFF(63,"Please note:"),t.k0s(),t.EFF(64," the Kirby data table does not do any sorting on it's own. "),t.k0s()(),t.j41(65,"p"),t.EFF(66," The sorting logic must be implemented manually and can be triggered by handling the "),t.j41(67,"code"),t.EFF(68,"click()"),t.k0s(),t.EFF(69," event on the table header as shown in the code example above. By adding "),t.j41(70,"code"),t.EFF(71,'[sortable]="true"'),t.k0s(),t.EFF(72," to the "),t.j41(73,"code"),t.EFF(74,"th"),t.k0s(),t.EFF(75," element, it will render the sorting icon (up/down arrow) when the element is clicked. "),t.k0s(),t.j41(76,"p"),t.EFF(77," We recommend visiting the "),t.j41(78,"a",8),t.EFF(79," MDN docs "),t.k0s(),t.EFF(80," on sorting, if you are performing client side sorting. "),t.k0s(),t.j41(81,"p"),t.EFF(82," To render a column as initially sorted you can set the "),t.j41(83,"code"),t.EFF(84,"active"),t.k0s(),t.EFF(85," and "),t.j41(86,"code"),t.EFF(87,"sortDirection"),t.k0s(),t.EFF(88," properties on the corresponding "),t.j41(89,"code"),t.EFF(90,"th"),t.k0s(),t.EFF(91," element as shown in the code example above. Ensure your data is initially sorted accordingly. "),t.k0s()(),t.j41(92,"h2"),t.EFF(93,"API Description"),t.k0s(),t.nrm(94,"cookbook-api-description-properties",9)),2&O){const $=t.sdS(20),K=t.sdS(35),X=t.sdS(59);t.R7$(18),t.Y8G("html",$.template)("ts",$.dataSnippet),t.R7$(15),t.Y8G("html",K.template),t.R7$(12),t.Y8G("ts",X.importSnippet),t.R7$(12),t.Y8G("html",X.template)("ts",X.sortingSnippet),t.R7$(37),t.Y8G("properties",A._apiDescriptionPropertiesTable)}},dependencies:[l.C,M.h,d.i,p.s,a.T],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}"]}),E})()},9662:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>u});var t=i(54438),l=i(13339),M=i(98990),d=i(32667);let p=(()=>{var O;class A{constructor(){this.themeColor="white",this.hasMargin=!0}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=t.VBU({type:O,selectors:[["cookbook-divider-example"]],inputs:{themeColor:"themeColor",hasMargin:"hasMargin"},decls:11,vars:4,consts:[[3,"hasMargin"],[3,"hasPadding","themeColor"]],template:function(K,X){1&K&&(t.j41(0,"h1"),t.EFF(1,"Divider on background"),t.k0s(),t.nrm(2,"kirby-divider",0),t.j41(3,"p"),t.EFF(4,"Some text below divider"),t.k0s(),t.j41(5,"kirby-card",1)(6,"h1"),t.EFF(7,"Divider on card"),t.k0s(),t.nrm(8,"kirby-divider",0),t.j41(9,"p"),t.EFF(10,"Some text below divider"),t.k0s()()),2&K&&(t.R7$(2),t.Y8G("hasMargin",X.hasMargin),t.R7$(3),t.Y8G("hasPadding",!0)("themeColor",X.themeColor),t.R7$(3),t.Y8G("hasMargin",X.hasMargin))},dependencies:[l.Cd,M.ib,d.h],encapsulation:2}),A})();var a=i(86413),_=i(60177),v=i(84341);function E(O,A){if(1&O&&(t.j41(0,"option",8),t.EFF(1),t.k0s()),2&O){const $=A.$implicit,K=t.XpG();t.FS9("value",$),t.BMQ("selected",K.themeColor===$||null),t.R7$(),t.SpI(" Card color: ",$," ")}}let u=(()=>{var O;class A{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(K){this.themeColor=K}onMarginChange(K){this.hasMargin=K}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=t.VBU({type:O,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(K,X){1&K&&(t.j41(0,"div",0),t.nrm(1,"cookbook-divider-example",1),t.j41(2,"div")(3,"select",2),t.bIt("change",function(G){return X.onThemeChange(G.target.value)}),t.j41(4,"option",3),t.EFF(5,"Card color: None"),t.k0s(),t.DNE(6,E,2,3,"option",4),t.k0s()(),t.j41(7,"div")(8,"select",2),t.bIt("change",function(G){return X.onMarginChange(G.target.value)}),t.j41(9,"option",5),t.EFF(10,"Margin: Off"),t.k0s(),t.j41(11,"option",6),t.EFF(12,"Margin: On"),t.k0s()()(),t.nrm(13,"cookbook-code-viewer",7),t.k0s()),2&K&&(t.R7$(),t.Y8G("themeColor",X.themeColor)("hasMargin",X.hasMargin),t.R7$(5),t.Y8G("ngForOf",X.themeColors),t.R7$(5),t.BMQ("selected",!!X.hasMargin||null),t.R7$(2),t.Y8G("html",X.exampleHtml))},dependencies:[p,a.B,_.Sq,v.xH,v.y7],encapsulation:2}),A})()},43369:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>X});var e=i(54438),t=i(85860),l=i(51363),M=i(62889),d=i(54245),p=i(47780),a=i(30521),_=i(93615),v=i(71708),E=i(74086),u=i(99513),O=i(34929),A=i(83597),$=i(97825),K=i(25981);let X=(()=>{var J;class G{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(he){this.size=he}}return(J=G).\u0275fac=function(he){return new(he||J)},J.\u0275cmp=e.VBU({type:J,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(he,Me){if(1&he){const ke=e.RV6();e.j41(0,"cookbook-dropdown-example-configuration",9),e.bIt("sizeChanged",function(Ne){return e.eBV(ke),e.Njj(Me.setSize(Ne))}),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&he){const ke=e.sdS(8),be=e.sdS(14),Ne=e.sdS(20),je=e.sdS(26),it=e.sdS(32),pt=e.sdS(38),Ye=e.sdS(44),St=e.sdS(52),mt=e.sdS(58);e.Y8G("size",Me.size),e.R7$(5),e.Y8G("html",ke.template),e.R7$(2),e.Y8G("size",Me.size),e.R7$(4),e.Y8G("html",be.template),e.R7$(2),e.Y8G("size",Me.size),e.R7$(4),e.Y8G("html",Ne.template),e.R7$(2),e.Y8G("size",Me.size),e.R7$(4),e.Y8G("html",je.template),e.R7$(2),e.Y8G("size",Me.size),e.R7$(4),e.Y8G("html",it.template)("css",it.styles),e.R7$(2),e.Y8G("size",Me.size),e.R7$(4),e.Y8G("html",pt.template),e.R7$(2),e.Y8G("size",Me.size),e.R7$(4),e.Y8G("html",Ye.template),e.R7$(2),e.Y8G("size",Me.size),e.R7$(6),e.Y8G("html",St.template),e.R7$(2),e.Y8G("size",Me.size),e.R7$(4),e.Y8G("html",mt.template)("ts",mt.codeSnippet),e.R7$(2),e.Y8G("size",Me.size),e.R7$(4),e.Y8G("properties",Me.properties),e.R7$(3),e.Y8G("events",Me.events),e.R7$(3),e.Y8G("methods",Me.methods)}},dependencies:[t.t,l.W,M.g,d.T,p.J,a.z,_.R,v.w,E.X,u.d,O.s,A.b,$.Q,K.T],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}"]}),G})()},7709:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>_});var e=i(54438),t=i(7767),l=i(97737),M=i(40638),d=i(8346),p=i(34929),a=i(25981);let _=(()=>{var v;class E{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"]}]}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=e.VBU({type:v,selectors:[["cookbook-empty-state-showcase"]],decls:80,vars:4,consts:[["themeColorExample",""],["simpleExample",""],["buttonsExample",""],["themeColor","warning"],[1,"comment"],[3,"html"],[1,"example-frame"],[3,"properties"]],template:function(O,A){if(1&O&&(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,"Properties:"),e.k0s(),e.nrm(79,"cookbook-api-description-properties",7)),2&O){const $=e.sdS(41),K=e.sdS(61),X=e.sdS(76);e.R7$(38),e.Y8G("html",$.template),e.R7$(20),e.Y8G("html",K.template),e.R7$(15),e.Y8G("html",X.template),e.R7$(6),e.Y8G("properties",A.properties)}},dependencies:[t.X,l.s,M.W,d.q,p.s,a.T],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)}"]}),E})()},86426:(Ze,z,i)=>{"use strict";i.d(z,{z:()=>a});var t=i(54438),l=i(60167),M=i(86413),d=i(11235),p=i(25981);let a=(()=>{var _;class v{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"]}]}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=t.VBU({type:_,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(u,O){1&u&&(t.j41(0,"div",0)(1,"p")(2,"em")(3,"strong"),t.EFF(4,"Please note:"),t.k0s(),t.EFF(5," The floating action button is placed at the bottom right corner of the page. "),t.k0s()(),t.j41(6,"fieldset")(7,"legend"),t.EFF(8,"Configuration"),t.k0s(),t.j41(9,"kirby-checkbox",1),t.bIt("checkedChange",function($){return O.disableFabSheet=$}),t.k0s()(),t.nrm(10,"cookbook-fab-sheet-example",2)(11,"cookbook-code-viewer",3),t.j41(12,"p"),t.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 "),t.j41(14,"a",4),t.EFF(15," the project readme "),t.k0s(),t.EFF(16," . "),t.k0s(),t.j41(17,"p"),t.EFF(18," (Optional) if you need to obtain data back from the fab sheet, you can pass a callback function: "),t.k0s(),t.j41(19,"cookbook-code-viewer",5),t.EFF(20,'(itemSelect)="onItemSelect($event)"'),t.k0s(),t.EFF(21," where "),t.j41(22,"code"),t.EFF(23,"onItemSelect"),t.k0s(),t.EFF(24," can be e.g.: "),t.j41(25,"cookbook-code-viewer",6),t.EFF(26),t.k0s(),t.j41(27,"h4"),t.EFF(28,"Fab sheet properties:"),t.k0s(),t.nrm(29,"cookbook-api-description-properties",7),t.k0s()),2&u&&(t.R7$(9),t.Y8G("checked",O.disableFabSheet),t.R7$(),t.Y8G("disableFabSheet",O.disableFabSheet),t.R7$(),t.Y8G("html",O.exampleHtml),t.R7$(15),t.Lme("onItemSelect(item: ActionSheetItem) ","{","...","}",""),t.R7$(3),t.Y8G("properties",O.properties))},dependencies:[l.u,M.B,d.P,p.T],styles:["fieldset[_ngcontent-%COMP%]{display:inline-block}"]}),v})()},38393:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>p});var e=i(54438),t=i(84083),l=i(80177),M=i(34929),d=i(25981);let p=(()=>{var a;class _{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"]}]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-flag-showcase"]],decls:14,vars:3,consts:[["colorsExample",""],["sizesExample",""],[1,"example"],[3,"html"],[3,"properties"]],template:function(E,u){if(1&E&&(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&E){const O=e.sdS(5),A=e.sdS(10);e.R7$(3),e.Y8G("html",O.template),e.R7$(5),e.Y8G("html",A.template),e.R7$(5),e.Y8G("properties",u.properties)}},dependencies:[t.S,l.G,M.s,d.T],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}"]}),_})()},32514:(Ze,z,i)=>{"use strict";i.d(z,{z:()=>M});var e=i(54438),l=i(86413);let M=(()=>{var d;class p{constructor(){this.exampleHtml='

Heading 1

\n

Heading 2

\n\n

Kirby-text-large

\n\n

xsmall text

\n\n

xxsmall text

\n',this.isCTABoxShown=new e.bkB}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-fonts-showcase"]],outputs:{isCTABoxShown:"isCTABoxShown"},decls:114,vars:3,consts:[[1,"fonts"],[1,"kirby-text-display-1"],[1,"info-box"],[1,"highlight"],[1,"kirby-text-display-2"],[1,"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-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(_,v){1&_&&(e.j41(0,"p"),e.EFF(1," The font sizes can be set by either using the font classes, e.g. "),e.j41(2,"code"),e.EFF(3,"kirby-text-large"),e.k0s(),e.EFF(4," , or by using the right tags like "),e.j41(5,"code"),e.EFF(6,"h1, h2 & h3"),e.k0s()(),e.j41(7,"p"),e.EFF(8,"Font can also be set with the font-size function directly on your own classes, e.g:"),e.k0s(),e.j41(9,"pre"),e.EFF(10),e.k0s(),e.j41(11,"div",0)(12,"div")(13,"p",1),e.EFF(14,"Display 1"),e.k0s(),e.j41(15,"div",2)(16,"code"),e.EFF(17,'font-size: font-size("xxxxl");'),e.k0s(),e.j41(18,"code"),e.EFF(19,'font-weight: font-weight("black");'),e.k0s(),e.j41(20,"code",3),e.EFF(21,"CLASS: kirby-text-display-1"),e.k0s()(),e.j41(22,"p",4),e.EFF(23,"Display 2"),e.k0s(),e.j41(24,"div",2)(25,"code"),e.EFF(26,'font-size: font-size("xxxl");'),e.k0s(),e.j41(27,"code"),e.EFF(28,'font-weight: font-weight("black");'),e.k0s(),e.j41(29,"code",3),e.EFF(30,"CLASS: kirby-text-display-2"),e.k0s()(),e.j41(31,"p",5),e.EFF(32,"Display 3"),e.k0s(),e.j41(33,"div",2)(34,"code"),e.EFF(35,'font-size: font-size("xxl");'),e.k0s(),e.j41(36,"code"),e.EFF(37,'font-weight: font-weight("black");'),e.k0s(),e.j41(38,"code",3),e.EFF(39,"CLASS: kirby-text-display-3"),e.k0s()(),e.j41(40,"h1",6),e.EFF(41,"h1 - Heading 1"),e.k0s(),e.j41(42,"div",2)(43,"code"),e.EFF(44,'font-size: font-size("xl");'),e.k0s(),e.j41(45,"code"),e.EFF(46,'font-weight: font-weight("black");'),e.k0s(),e.j41(47,"code",3),e.EFF(48,"CLASS: kirby-text-xlarge"),e.k0s()(),e.j41(49,"h2",7),e.EFF(50,"h2 - Heading 2"),e.k0s(),e.j41(51,"div",2)(52,"code"),e.EFF(53,'font-size: font-size("l");'),e.k0s(),e.j41(54,"code"),e.EFF(55,'font-weight: font-weight("bold");'),e.k0s(),e.j41(56,"code",3),e.EFF(57,"CLASS: kirby-text-large"),e.k0s()(),e.j41(58,"h3",8),e.EFF(59,"h3 - Heading 3"),e.k0s(),e.j41(60,"div",2)(61,"code"),e.EFF(62,'font-size: font-size("m");'),e.k0s(),e.j41(63,"code"),e.EFF(64,'font-weight: font-weight("bold");'),e.k0s(),e.j41(65,"code",3),e.EFF(66,"CLASS: kirby-text-medium"),e.k0s()(),e.j41(67,"h4",9),e.EFF(68,"h4 - Section header"),e.k0s(),e.j41(69,"div",2)(70,"code"),e.EFF(71,'font-size: font-size("n");'),e.k0s(),e.j41(72,"code"),e.EFF(73,'font-weight: font-weight("bold");'),e.k0s(),e.j41(74,"code",3),e.EFF(75,"CLASS: kirby-text-normal-bold"),e.k0s()(),e.j41(76,"p",10),e.EFF(77,"p - Paragraph (Default body font)"),e.k0s(),e.j41(78,"div",2)(79,"code"),e.EFF(80,'font-size: font-size("n");'),e.k0s(),e.j41(81,"code",3),e.EFF(82,"CLASS: kirby-text-normal"),e.k0s()(),e.j41(83,"p",11),e.EFF(84,"Small text"),e.k0s(),e.j41(85,"div",2)(86,"code"),e.EFF(87,'font-size: font-size("s");'),e.k0s(),e.j41(88,"code",3),e.EFF(89,"CLASS: kirby-text-small"),e.k0s()(),e.j41(90,"p",12),e.EFF(91,"Small text - light"),e.k0s(),e.j41(92,"div",2)(93,"code"),e.EFF(94,'font-size: font-size("s");'),e.k0s(),e.j41(95,"code"),e.EFF(96,'font-weight: font-weight("light");'),e.k0s(),e.j41(97,"code",3),e.EFF(98,"CLASS: kirby-text-small-light"),e.k0s()(),e.j41(99,"p",13),e.EFF(100,"x-small text"),e.k0s(),e.j41(101,"div",2)(102,"code"),e.EFF(103,'font-size: font-size("xs");'),e.k0s(),e.j41(104,"code",3),e.EFF(105,"CLASS: kirby-text-xsmall"),e.k0s()(),e.j41(106,"p",14),e.EFF(107,"xx-small text"),e.k0s(),e.j41(108,"div",2)(109,"code"),e.EFF(110,'font-size: font-size("xxs");'),e.k0s(),e.j41(111,"code",3),e.EFF(112,"CLASS: kirby-text-xxsmall"),e.k0s()()(),e.nrm(113,"cookbook-code-viewer",15),e.k0s()),2&_&&(e.R7$(10),e.Lme(" .my-own-class ","{",'\n font-size: font-size("l");\n ...\n ',"}","\n"),e.R7$(103),e.Y8G("html",v.exampleHtml))},dependencies:[l.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}.sample-header-1[_ngcontent-%COMP%], .sample-header-2[_ngcontent-%COMP%], .sample-header-3[_ngcontent-%COMP%], .sample-header-4[_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-top:1rem;margin-bottom:1rem}.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{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;margin-left:24px}.info-box[_ngcontent-%COMP%]{background-color:var(--kirby-white);padding:.5rem 1rem;margin-right:1rem;border:1px solid var(--kirby-medium)}']}),p})()},98425:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>Ne});var e=i(54438),t=i(15874),l=i(24998),M=i(54521),d=i(45415),p=i(51067),a=i(83108),_=i(9645),v=i(64911),E=i(88351),u=i(50627),O=i(78977),A=i(67477),$=i(65064),K=i(8060),X=i(22847),J=i(79186),G=i(37965),fe=i(19503),he=i(34929),Me=i(83597),ke=i(97825),be=i(25981);let Ne=(()=>{var je;class it{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"]}]}}return(je=it).\u0275fac=function(Ye){return new(Ye||je)},je.\u0275cmp=e.VBU({type:je,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(Ye,St){if(1&Ye){const mt=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(Ge){return e.eBV(mt),e.DH7(St.size,Ge)||(St.size=Ge),e.Njj(Ge)}),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&Ye){const mt=e.sdS(7),at=e.sdS(12),Ge=e.sdS(17),gt=e.sdS(22),mn=e.sdS(34),_t=e.sdS(39),Ke=e.sdS(48),Je=e.sdS(82),Xe=e.sdS(95),qe=e.sdS(124),Bt=e.sdS(134),It=e.sdS(139),Nn=e.sdS(144),Hn=e.sdS(149),xo=e.sdS(156),Kn=e.sdS(161),xt=e.sdS(166);e.R7$(2),e.R50("size",St.size),e.R7$(3),e.Y8G("html",mt.template),e.R7$(),e.Y8G("size",St.size),e.R7$(4),e.Y8G("html",at.template),e.R7$(5),e.Y8G("html",Ge.template),e.R7$(),e.Y8G("size",St.size),e.R7$(4),e.Y8G("html",gt.template),e.R7$(),e.Y8G("size",St.size),e.R7$(11),e.Y8G("html",mn.template),e.R7$(),e.Y8G("size",St.size),e.R7$(4),e.Y8G("html",_t.template),e.R7$(),e.Y8G("size",St.size),e.R7$(8),e.Y8G("html",Ke.template),e.R7$(),e.Y8G("size",St.size),e.R7$(33),e.Y8G("html",Je.template),e.R7$(),e.Y8G("size",St.size),e.R7$(12),e.Y8G("html",Xe.template),e.R7$(),e.Y8G("size",St.size),e.R7$(28),e.Y8G("html",qe.template),e.R7$(),e.Y8G("size",St.size),e.R7$(9),e.Y8G("html",Bt.template),e.R7$(),e.Y8G("size",St.size),e.R7$(4),e.Y8G("html",It.template),e.R7$(),e.Y8G("size",St.size),e.R7$(4),e.Y8G("html",Nn.template),e.R7$(),e.Y8G("size",St.size),e.R7$(4),e.Y8G("html",Hn.template)("ts",Hn.codeSnippet),e.R7$(),e.Y8G("size",St.size),e.R7$(6),e.Y8G("html",xo.template),e.R7$(5),e.Y8G("html",Kn.template),e.R7$(5),e.Y8G("html",xt.template),e.R7$(7),e.Y8G("properties",St.formFieldProperties),e.R7$(3),e.Y8G("methods",St.formFieldMethods),e.R7$(5),e.Y8G("properties",St.sharedProperties),e.R7$(3),e.Y8G("events",St.sharedEvents),e.R7$(5),e.Y8G("properties",St.inputProperties),e.R7$(5),e.Y8G("properties",St.decimalMaskProperties),e.R7$(5),e.Y8G("properties",St.dateMaskProperties),e.R7$(5),e.Y8G("properties",St.textareaProperties),e.R7$(5),e.Y8G("properties",St.counterProperties)}},dependencies:[t.a,l.t,M.o,d.Z,p.Q,a.f,_.L,v.E,E.B,u.M,O.s,A.S,$.H,K.j,X.M,J.H,G.W,fe.S,he.s,Me.b,ke.Q,be.T],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}"]}),it})()},92403:(Ze,z,i)=>{"use strict";i.d(z,{l:()=>E});var e=i(19402),l=i(54438),M=i(98299),d=i(60177),p=i(34929),a=i(25981);function _(u,O){if(1&u&&(l.j41(0,"li"),l.EFF(1),l.k0s()),2&u){const A=O.$implicit;l.R7$(),l.Lme(" ",A.key,": ",A.value," ")}}const{breakpoints:v}=e.Q;let E=(()=>{var u;class O{constructor(){this.shorthandToBreakpointMap={xs:v.xsmall,sm:v.small,md:v.medium,lg:v.large,xl:v.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}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=l.VBU({type:u,selectors:[["cookbook-grid-showcase"]],decls:33,vars:7,consts:[[1,"example"],[4,"ngFor","ngForOf"],[1,"page-example"],[3,"html"],[3,"properties"]],template:function($,K){1&$&&(l.j41(0,"div",0)(1,"p"),l.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. "),l.k0s(),l.j41(3,"h3"),l.EFF(4,"Breakpoints"),l.k0s(),l.j41(5,"p"),l.EFF(6,"Each breakpoint is named using t-shirt sizes and maps to a defined screen size or bigger:"),l.k0s(),l.j41(7,"ul"),l.DNE(8,_,2,2,"li",1),l.nI1(9,"keyvalue"),l.k0s(),l.j41(10,"h3"),l.EFF(11,"HTML validity"),l.k0s(),l.j41(12,"p"),l.EFF(13," If you have concerns about HTML validity related to the custom attributes, you can prefix the attributes above with "),l.j41(14,"code"),l.EFF(15,"data-*"),l.k0s(),l.EFF(16," . That way your HTML will be valid and it will function exactly the same. Here is an example: "),l.j41(17,"code"),l.EFF(18,'
'),l.k0s()()(),l.j41(19,"div",2)(20,"h1"),l.EFF(21,"Examples"),l.k0s(),l.j41(22,"cookbook-example-viewer",3),l.nrm(23,"cookbook-grid-example"),l.k0s(),l.nrm(24,"br"),l.j41(25,"h1"),l.EFF(26,"Attributes"),l.k0s(),l.j41(27,"h2"),l.EFF(28,"Grid"),l.k0s(),l.nrm(29,"cookbook-api-description-properties",4),l.j41(30,"h2"),l.EFF(31,"Grid Item"),l.k0s(),l.nrm(32,"cookbook-api-description-properties",4),l.k0s()),2&$&&(l.R7$(8),l.Y8G("ngForOf",l.i5U(9,4,K.shorthandToBreakpointMap,K.originalOrder)),l.R7$(14),l.Y8G("html",K.exampleHtml),l.R7$(7),l.Y8G("properties",K.gridProperties),l.R7$(3),l.Y8G("properties",K.gridItemProperties))},dependencies:[M.C,d.Sq,p.s,a.T,d.lG],encapsulation:2}),O})()},24001:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>he});var e=i(52556),t=i(70900),l=i(71613),M=i(80505),d=i(54438),p=i(20867),a=i(12203),_=i(23769),v=i(57203),E=i(46954),u=i(31519),O=i(47999),A=i(54005),$=i(48982),K=i(52436),X=i(77551),J=i(34929),G=i(83597),fe=i(25981);let he=(()=>{var Me;class ke{constructor(){this.actionGroupTemplate=e.U.template,this.emphasizedActionGroupTemplate=t.Y.template,this.customActionsTemplate=l.$.template,this.interactiveTitleTemplate=M.z.template,this.interactiveTitleSnippet=M.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(Ne){return Ne.scrollIntoView({behavior:"smooth"}),!1}}return(Me=ke).\u0275fac=function(Ne){return new(Ne||Me)},Me.\u0275cmp=d.VBU({type:Me,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(Ne,je){if(1&Ne){const it=d.RV6();d.j41(0,"div",15),d.EFF(1,"\n "),d.j41(2,"div",16),d.EFF(3,"\n "),d.j41(4,"p"),d.EFF(5,"\n Header is a component that manages the layout of the header section of\n "),d.j41(6,"code"),d.EFF(7,"kirby-page"),d.k0s(),d.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 "),d.k0s(),d.EFF(9,"\n\n "),d.j41(10,"h2"),d.EFF(11,"Default"),d.k0s(),d.EFF(12,"\n\n "),d.j41(13,"cookbook-example-viewer",17),d.EFF(14,"\n "),d.j41(15,"div",18),d.EFF(16,"\n "),d.nrm(17,"cookbook-header-example-default",null,0),d.EFF(19,"\n "),d.k0s(),d.EFF(20,"\n "),d.k0s(),d.EFF(21,"\n "),d.k0s(),d.EFF(22,"\n\n "),d.j41(23,"div",16),d.EFF(24,"\n "),d.j41(25,"h2"),d.EFF(26,"Subtitle list"),d.k0s(),d.EFF(27,"\n\n "),d.j41(28,"p"),d.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 "),d.k0s(),d.EFF(30,"\n "),d.j41(31,"p"),d.EFF(32,"Try rezising the header below and watch how the subtitles wrap and truncate:"),d.k0s(),d.EFF(33,"\n "),d.j41(34,"cookbook-example-viewer",17),d.EFF(35,"\n "),d.j41(36,"div",18),d.EFF(37,"\n "),d.nrm(38,"cookbook-header-example-subtitle-list",null,1),d.EFF(40,"\n "),d.k0s(),d.EFF(41,"\n "),d.k0s(),d.EFF(42,"\n "),d.k0s(),d.EFF(43,"\n\n "),d.j41(44,"div",16),d.EFF(45,"\n "),d.j41(46,"h2"),d.EFF(47,"Flag"),d.k0s(),d.EFF(48,"\n "),d.j41(49,"p"),d.EFF(50,"\n A flag can be used to indicate a status. To use a flag you simply add a\n "),d.j41(51,"code"),d.EFF(52,""),d.k0s(),d.EFF(53,"\n in the header which will position the flag correctly and manage spacing.\n "),d.k0s(),d.EFF(54,"\n "),d.j41(55,"cookbook-example-viewer",17),d.EFF(56,"\n "),d.j41(57,"div",18),d.EFF(58,"\n "),d.nrm(59,"cookbook-header-example-flag",null,2),d.EFF(61,"\n "),d.k0s(),d.EFF(62,"\n "),d.k0s(),d.EFF(63,"\n "),d.k0s(),d.EFF(64,"\n\n "),d.j41(65,"div",16),d.EFF(66,"\n "),d.j41(67,"h2"),d.EFF(68,"Custom Flag"),d.k0s(),d.EFF(69,"\n "),d.j41(70,"p"),d.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 "),d.j41(72,"code"),d.EFF(73,"*kirbyHeaderCustomFlag"),d.k0s(),d.EFF(74,"\n to your custom flag markup.\n "),d.k0s(),d.EFF(75,"\n "),d.j41(76,"cookbook-example-viewer",19),d.EFF(77,"\n "),d.j41(78,"div",18),d.EFF(79,"\n "),d.nrm(80,"cookbook-header-example-custom-flag",null,3),d.EFF(82,"\n "),d.k0s(),d.EFF(83,"\n "),d.k0s(),d.EFF(84,"\n "),d.k0s(),d.EFF(85,"\n\n "),d.j41(86,"div",16),d.EFF(87,"\n "),d.j41(88,"h2"),d.EFF(89,"Key value"),d.k0s(),d.EFF(90,"\n "),d.j41(91,"p"),d.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 "),d.j41(93,"code"),d.EFF(94,"value"),d.k0s(),d.EFF(95,"\n prop\n "),d.j41(96,"em"),d.EFF(97,"in addition to"),d.k0s(),d.EFF(98,"\n the\n "),d.j41(99,"code"),d.EFF(100,"title"),d.k0s(),d.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 "),d.k0s(),d.EFF(102,"\n "),d.j41(103,"cookbook-example-viewer",17),d.EFF(104,"\n "),d.j41(105,"div",18),d.EFF(106,"\n "),d.nrm(107,"cookbook-header-example-value",null,4),d.EFF(109,"\n "),d.k0s(),d.EFF(110,"\n "),d.k0s(),d.EFF(111,"\n "),d.j41(112,"p"),d.EFF(113,"\n "),d.j41(114,"em"),d.EFF(115,"\n See also:\n "),d.j41(116,"a",20),d.bIt("click",function(){d.eBV(it);const Ye=d.sdS(373);return d.Njj(je.scrollTo(Ye))}),d.EFF(117,"\n Interactive Title (in key value scenarios)\n "),d.k0s(),d.EFF(118,"\n "),d.k0s(),d.EFF(119,"\n "),d.k0s(),d.EFF(120,"\n "),d.k0s(),d.EFF(121,"\n\n "),d.j41(122,"div",16),d.EFF(123,"\n "),d.j41(124,"h2"),d.EFF(125,"Avatar"),d.k0s(),d.EFF(126,"\n "),d.j41(127,"p"),d.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 "),d.j41(129,"code"),d.EFF(130,"kirby-avatar"),d.k0s(),d.EFF(131,"\n in the header which will position the avatar correctly and manage spacing.\n "),d.nrm(132,"br"),d.EFF(133,"\n "),d.j41(134,"em"),d.EFF(135,"\n "),d.j41(136,"strong"),d.EFF(137,"Please note:"),d.k0s(),d.EFF(138,"\n This will change the layout to centered.\n "),d.k0s(),d.EFF(139,"\n "),d.k0s(),d.EFF(140,"\n "),d.j41(141,"cookbook-example-viewer",17),d.EFF(142,"\n "),d.j41(143,"div",18),d.EFF(144,"\n "),d.nrm(145,"cookbook-header-example-avatar",null,5),d.EFF(147,"\n "),d.k0s(),d.EFF(148,"\n "),d.k0s(),d.EFF(149,"\n "),d.k0s(),d.EFF(150,"\n "),d.j41(151,"div",16),d.EFF(152,"\n "),d.j41(153,"h3"),d.EFF(154,"Progress Circle with Avatar"),d.k0s(),d.EFF(155,"\n "),d.j41(156,"p"),d.EFF(157,"\n The avatar can also be nested within a\n "),d.j41(158,"code"),d.EFF(159,"kirby-progress-circle"),d.k0s(),d.EFF(160,"\n to show progress:\n "),d.k0s(),d.EFF(161,"\n "),d.j41(162,"cookbook-example-viewer",17),d.EFF(163,"\n "),d.j41(164,"div",18),d.EFF(165,"\n "),d.nrm(166,"cookbook-header-example-progress-circle-with-avatar",null,6),d.EFF(168,"\n "),d.k0s(),d.EFF(169,"\n "),d.k0s(),d.EFF(170,"\n "),d.k0s(),d.EFF(171,"\n\n "),d.j41(172,"div",16),d.EFF(173,"\n "),d.j41(174,"h2"),d.EFF(175,"Scaling of title"),d.k0s(),d.EFF(176,"\n "),d.j41(177,"p"),d.EFF(178,"\n Titles are default rendered as\n "),d.j41(179,"code"),d.EFF(180,"h1"),d.k0s(),d.EFF(181,"\n .\n "),d.k0s(),d.EFF(182,"\n "),d.j41(183,"p"),d.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 "),d.j41(185,"code"),d.EFF(186,"\u2026"),d.k0s(),d.EFF(187,"\n ).\n "),d.k0s(),d.EFF(188,"\n "),d.j41(189,"p"),d.EFF(190,"\n This can be configured by setting the\n "),d.j41(191,"code"),d.EFF(192,'titleMaxLines="NUMBER OF MAXIMUM LINES"'),d.k0s(),d.EFF(193,"\n attribute of\n "),d.j41(194,"code"),d.EFF(195,"kirby-header"),d.k0s(),d.EFF(196,"\n .\n "),d.k0s(),d.EFF(197,"\n "),d.j41(198,"cookbook-example-viewer",17),d.EFF(199,"\n "),d.j41(200,"div",18),d.EFF(201,"\n "),d.nrm(202,"cookbook-header-example-title-scaling",null,7),d.EFF(204,"\n "),d.k0s(),d.EFF(205,"\n "),d.k0s(),d.EFF(206,"\n "),d.k0s(),d.EFF(207,"\n\n "),d.j41(208,"div",16),d.EFF(209,"\n "),d.j41(210,"h2"),d.EFF(211,"Actions"),d.k0s(),d.EFF(212,"\n "),d.j41(213,"p"),d.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 "),d.k0s(),d.EFF(215,"\n\n "),d.j41(216,"p"),d.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 "),d.k0s(),d.EFF(218,"\n\n "),d.j41(219,"p"),d.EFF(220,"Actions can be suppplied through:"),d.k0s(),d.EFF(221,"\n "),d.j41(222,"ul"),d.EFF(223,"\n "),d.j41(224,"li"),d.EFF(225,"\n "),d.j41(226,"a",20),d.bIt("click",function(){d.eBV(it);const Ye=d.sdS(256);return d.Njj(je.scrollTo(Ye))}),d.EFF(227,"Action Group component - common use case"),d.k0s(),d.EFF(228,"\n "),d.k0s(),d.EFF(229,"\n "),d.j41(230,"li"),d.EFF(231,"\n "),d.j41(232,"a",20),d.bIt("click",function(){d.eBV(it);const Ye=d.sdS(317);return d.Njj(je.scrollTo(Ye))}),d.EFF(233,"Custom Actions - complex scenarios"),d.k0s(),d.EFF(234,"\n "),d.k0s(),d.EFF(235,"\n "),d.k0s(),d.EFF(236,"\n\n "),d.j41(237,"p"),d.EFF(238,"\n "),d.j41(239,"em"),d.EFF(240,"\n "),d.j41(241,"strong"),d.EFF(242,"Please note:"),d.k0s(),d.EFF(243,"\n In both cases the element containing the actions (e.g.\n "),d.j41(244,"code"),d.EFF(245,"kirby-action-group"),d.k0s(),d.EFF(246,"\n or an\n "),d.j41(247,"code"),d.EFF(248,"ng-container"),d.k0s(),d.EFF(249,"\n ) needs to be decorated with the\n "),d.j41(250,"code"),d.EFF(251,"*kirbyHeaderActions"),d.k0s(),d.EFF(252,"\n directive for the page and header components to render the actions in both locations.\n "),d.k0s(),d.EFF(253,"\n "),d.k0s(),d.EFF(254,"\n\n "),d.j41(255,"h3",null,8),d.EFF(257,"Action Group"),d.k0s(),d.EFF(258,"\n "),d.j41(259,"p"),d.EFF(260,"\n In most use cases actions should be suppplied using the\n "),d.j41(261,"code"),d.EFF(262,"kirby-action-group"),d.k0s(),d.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 '),d.k0s(),d.EFF(264,"\n\n "),d.j41(265,"p"),d.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 '),d.k0s(),d.EFF(267,"\n "),d.j41(268,"p"),d.EFF(269,"\n All button interactions are expected to happen via a click-listener of type\n "),d.j41(270,"code"),d.EFF(271,'(click)="someFunction()"'),d.k0s(),d.EFF(272,'\n so the Action Group can make sure to fire the corresponding function for collapsed actions\n inside the "more" menu.\n '),d.k0s(),d.EFF(273,"\n\n "),d.nrm(274,"cookbook-iphone",21),d.EFF(275,"\n\n "),d.nrm(276,"cookbook-example-viewer",17),d.EFF(277,"\n "),d.k0s(),d.EFF(278,"\n\n "),d.j41(279,"div",16),d.EFF(280,"\n "),d.j41(281,"h3",null,9),d.EFF(283,"Emphasize Actions"),d.k0s(),d.EFF(284,"\n "),d.j41(285,"p"),d.EFF(286,"\n When actions are closely related to the content of the page you can configure the header with\n "),d.j41(287,"code"),d.EFF(288,'[emphasizeActions]="true"'),d.k0s(),d.EFF(289,"\n .\n "),d.k0s(),d.EFF(290,"\n "),d.j41(291,"p"),d.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 '),d.k0s(),d.EFF(293,"\n "),d.j41(294,"p"),d.EFF(295,"\n "),d.j41(296,"em"),d.EFF(297,"\n "),d.j41(298,"strong"),d.EFF(299,"Please note:"),d.k0s(),d.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 '),d.j41(301,"code"),d.EFF(302,"visibleActions"),d.k0s(),d.EFF(303,"\n property of\n "),d.j41(304,"code"),d.EFF(305,"kirby-action-group"),d.k0s(),d.EFF(306,"\n .\n "),d.k0s(),d.EFF(307,"\n "),d.k0s(),d.EFF(308,"\n\n "),d.nrm(309,"cookbook-iphone",22),d.EFF(310,"\n\n "),d.nrm(311,"cookbook-example-viewer",17),d.EFF(312,"\n "),d.k0s(),d.EFF(313,"\n\n "),d.j41(314,"div",16),d.EFF(315,"\n "),d.j41(316,"h3",null,10),d.EFF(318,"Custom Actions"),d.k0s(),d.EFF(319,"\n "),d.j41(320,"p"),d.EFF(321,"\n When more control is needed over how actions are shown the\n "),d.j41(322,"code"),d.EFF(323,"*kirbyHeaderActions"),d.k0s(),d.EFF(324,"\n directive can be applied to the custom actions element itself - e.g. a\n "),d.j41(325,"code"),d.EFF(326,"kirby-menu"),d.k0s(),d.EFF(327,"\n when only secondary actions are needed.\n "),d.k0s(),d.EFF(328,"\n "),d.j41(329,"p"),d.EFF(330,"\n When several action elements needs to be combined they can be grouped in an\n "),d.j41(331,"code"),d.EFF(332,"ng-container"),d.k0s(),d.EFF(333,"\n which is then decorated with the\n "),d.j41(334,"code"),d.EFF(335,"*kirbyHeaderActions"),d.k0s(),d.EFF(336,"\n directive.\n "),d.k0s(),d.EFF(337,"\n "),d.j41(338,"p"),d.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 '),d.k0s(),d.EFF(340,"\n\n "),d.nrm(341,"cookbook-iphone",23),d.EFF(342,"\n\n "),d.nrm(343,"cookbook-example-viewer",17),d.EFF(344,"\n "),d.k0s(),d.EFF(345,"\n\n "),d.j41(346,"div",16),d.EFF(347,"\n "),d.j41(348,"h2"),d.EFF(349,"Custom Section"),d.k0s(),d.EFF(350,"\n "),d.j41(351,"p"),d.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 "),d.k0s(),d.EFF(353,"\n "),d.j41(354,"p"),d.EFF(355,"\n Decorate your custom section with the\n "),d.j41(356,"code"),d.EFF(357,"*kirbyHeaderCustomSection"),d.k0s(),d.EFF(358,"\n directive, which will position the custom section correctly and manage spacing as shown in the\n example below:\n "),d.k0s(),d.EFF(359,"\n "),d.j41(360,"cookbook-example-viewer",19),d.EFF(361,"\n "),d.j41(362,"div",18),d.EFF(363,"\n "),d.nrm(364,"cookbook-header-example-custom-section",null,11),d.EFF(366,"\n "),d.k0s(),d.EFF(367,"\n "),d.k0s(),d.EFF(368,"\n "),d.k0s(),d.EFF(369,"\n\n "),d.j41(370,"div",16),d.EFF(371,"\n "),d.j41(372,"h2",null,12),d.EFF(374,"Interactive Title (in key value scenarios)"),d.k0s(),d.EFF(375,"\n "),d.j41(376,"p"),d.EFF(377,"\n If you need the user to interact with the title (when having a\n "),d.j41(378,"code"),d.EFF(379,"value"),d.k0s(),d.EFF(380,"\n prop\n "),d.j41(381,"em"),d.EFF(382,"in addition to"),d.k0s(),d.EFF(383,"\n the\n "),d.j41(384,"code"),d.EFF(385,"title"),d.k0s(),d.EFF(386,"\n prop) you can register a handler for the header's\n "),d.j41(387,"code"),d.EFF(388,"titleClick"),d.k0s(),d.EFF(389,"\n event.\n "),d.k0s(),d.EFF(390,"\n "),d.j41(391,"p"),d.EFF(392,"\n Within your event handler you can access the DOM event object with the\n "),d.j41(393,"code"),d.EFF(394,"event"),d.k0s(),d.EFF(395,"\n argument passed to the output event handler - e.g. to access the event's\n "),d.j41(396,"code"),d.EFF(397,"currentTarget"),d.k0s(),d.EFF(398,"\n as shown in the example below.\n "),d.k0s(),d.EFF(399,"\n "),d.j41(400,"p"),d.EFF(401,"\n You should also add affordance to your interactive title (in key value scenarios) by slotting\n a\n "),d.j41(402,"code"),d.EFF(403,"kirby-icon"),d.k0s(),d.EFF(404,"\n into the header and decorate it with the\n "),d.j41(405,"code"),d.EFF(406,"*kirbyHeaderTitleActionIcon"),d.k0s(),d.EFF(407,"\n directive as shown in the example below:\n "),d.k0s(),d.EFF(408,"\n "),d.nrm(409,"cookbook-iphone",24),d.EFF(410,"\n\n "),d.nrm(411,"cookbook-example-viewer",25),d.EFF(412,"\n "),d.k0s(),d.EFF(413,"\n\n "),d.j41(414,"div",16),d.EFF(415,"\n "),d.j41(416,"h2"),d.EFF(417,"Combined"),d.k0s(),d.EFF(418,"\n "),d.j41(419,"p"),d.EFF(420,"This example shows all the above options combined:"),d.k0s(),d.EFF(421,"\n "),d.j41(422,"cookbook-example-viewer",19),d.EFF(423,"\n "),d.j41(424,"div",18),d.EFF(425,"\n "),d.nrm(426,"cookbook-header-example-combined",null,13),d.EFF(428,"\n "),d.k0s(),d.EFF(429,"\n "),d.k0s(),d.EFF(430,"\n "),d.k0s(),d.EFF(431,"\n\n "),d.j41(432,"h2"),d.EFF(433,"API"),d.k0s(),d.EFF(434,"\n "),d.j41(435,"h3"),d.EFF(436,"Header Properties"),d.k0s(),d.EFF(437,"\n "),d.nrm(438,"cookbook-api-description-properties",26),d.EFF(439,"\n\n "),d.j41(440,"h3"),d.EFF(441,"Header Directives:"),d.k0s(),d.EFF(442,"\n "),d.nrm(443,"cookbook-api-description-properties",27),d.EFF(444,"\n\n "),d.j41(445,"h3"),d.EFF(446,"Header Events"),d.k0s(),d.EFF(447,"\n "),d.nrm(448,"cookbook-api-description-events",28),d.EFF(449,"\n\n "),d.j41(450,"h3"),d.EFF(451,"Action Group Properties"),d.k0s(),d.EFF(452,"\n "),d.nrm(453,"cookbook-api-description-properties",26,14),d.EFF(455,"\n"),d.k0s(),d.EFF(456,"\n")}if(2&Ne){const it=d.sdS(18),pt=d.sdS(39),Ye=d.sdS(60),St=d.sdS(81),mt=d.sdS(108),at=d.sdS(146),Ge=d.sdS(167),gt=d.sdS(203),mn=d.sdS(365),_t=d.sdS(427);d.R7$(13),d.Y8G("html",it.template),d.R7$(21),d.Y8G("html",pt.template),d.R7$(21),d.Y8G("html",Ye.template),d.R7$(21),d.Y8G("html",St.template)("css",St.styles),d.R7$(27),d.Y8G("html",mt.template),d.R7$(38),d.Y8G("html",at.template),d.R7$(21),d.Y8G("html",Ge.template),d.R7$(36),d.Y8G("html",gt.template),d.R7$(76),d.Y8G("showViewModeToggle",!0),d.R7$(2),d.Y8G("html",je.actionGroupTemplate),d.R7$(33),d.Y8G("showViewModeToggle",!0),d.R7$(2),d.Y8G("html",je.emphasizedActionGroupTemplate),d.R7$(30),d.Y8G("showViewModeToggle",!0),d.R7$(2),d.Y8G("html",je.customActionsTemplate),d.R7$(17),d.Y8G("html",mn.template)("css",mn.styles),d.R7$(49),d.Y8G("showViewModeToggle",!0),d.R7$(2),d.Y8G("html",je.interactiveTitleTemplate)("ts",je.interactiveTitleSnippet),d.R7$(11),d.Y8G("html",_t.template)("css",_t.styles),d.R7$(16),d.Y8G("properties",je.properties),d.R7$(5),d.Y8G("columns",je.directiveColumns)("properties",je.directives),d.R7$(5),d.Y8G("events",je.events),d.R7$(5),d.Y8G("properties",je.actionGroupProperties)}},dependencies:[p.A,a.P,_.E,v.V,E.H,u.a,O.U,A.V,$.C,K.e,X.h,J.s,G.b,fe.T],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}"]}),ke})()},99361:(Ze,z,i)=>{"use strict";i.d(z,{o:()=>E});var e=i(35043),t=i(58311),l=i(37015),M=i(82356),d=i(54438),p=i(86413),a=i(32667),_=i(34929),v=i(25981);let E=(()=>{var u;class O{constructor(){this.defaultHtmlSnippet=l.q.htmlSnippet,this.sizesHtmlSnippet=M.l.htmlSnippet,this.customHtmlSnippet=t.C.htmlSnippet,this.iconRegistrationCodeSnippet=t.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:e.o$},{name:"size",description:"Determines the size of the icon.",defaultValue:e.lK.SM,type:Object.values(e.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"]}]}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=d.VBU({type:u,selectors:[["cookbook-icon-showcase"]],decls:79,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($,K){1&$&&(d.j41(0,"div",0),d.EFF(1,"\n "),d.j41(2,"p"),d.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 "),d.k0s(),d.EFF(4,"\n\n "),d.nrm(5,"kirby-divider",1),d.EFF(6,"\n "),d.j41(7,"p"),d.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 "),d.k0s(),d.EFF(9,"\n\n "),d.j41(10,"h2"),d.EFF(11,"Default Icons (click to copy)"),d.k0s(),d.EFF(12,"\n "),d.j41(13,"cookbook-example-viewer",2),d.EFF(14,"\n "),d.nrm(15,"cookbook-icon-default-example"),d.EFF(16,"\n "),d.k0s(),d.EFF(17,"\n\n "),d.j41(18,"h2"),d.EFF(19,"Sizes"),d.k0s(),d.EFF(20,"\n "),d.j41(21,"cookbook-example-viewer",2),d.EFF(22,"\n "),d.nrm(23,"cookbook-icon-sizes-example"),d.EFF(24,"\n "),d.k0s(),d.EFF(25,"\n\n "),d.j41(26,"h2"),d.EFF(27,"Setup"),d.k0s(),d.EFF(28,"\n "),d.j41(29,"p"),d.EFF(30,"\n To setup the Kirby icons ensure that the\n "),d.j41(31,"code"),d.EFF(32,".svg"),d.k0s(),d.EFF(33,"\n files used by Kirby are copied to your output folder as\n "),d.j41(34,"a",3),d.EFF(35,"\n explained in our readme file\n "),d.k0s(),d.EFF(36,"\n "),d.k0s(),d.EFF(37,"\n "),d.j41(38,"p"),d.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 "),d.j41(40,"code"),d.EFF(41,"BUILT_IN_ICONS_URL"),d.k0s(),d.EFF(42,"\n injection token:\n "),d.k0s(),d.EFF(43,"\n "),d.nrm(44,"cookbook-code-viewer",4),d.EFF(45,"\n\n "),d.j41(46,"h2"),d.EFF(47,"Custom Icons"),d.k0s(),d.EFF(48,"\n "),d.j41(49,"p"),d.EFF(50,"\n For adding custom icons, use\n "),d.j41(51,"code"),d.EFF(52,"IconRegistryService"),d.k0s(),d.EFF(53,"\n in your\n "),d.j41(54,"code"),d.EFF(55,"NgModule"),d.k0s(),d.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 "),d.j41(57,"code"),d.EFF(58,"my-feature-custom-icon-name"),d.k0s(),d.EFF(59,"\n to avoid collisions.\n "),d.k0s(),d.EFF(60,"\n\n "),d.j41(61,"p"),d.EFF(62,"\n Once registered custom icons can be used via the\n "),d.j41(63,"code"),d.EFF(64,"name"),d.k0s(),d.EFF(65,"\n property similar to default icons.\n "),d.k0s(),d.EFF(66,"\n\n "),d.EFF(67,"\n "),d.j41(68,"cookbook-example-viewer",5),d.EFF(69,"\n "),d.nrm(70,"cookbook-icon-custom-example"),d.EFF(71,"\n "),d.k0s(),d.EFF(72,"\n\n "),d.j41(73,"h2"),d.EFF(74,"Properties:"),d.k0s(),d.EFF(75,"\n "),d.nrm(76,"cookbook-api-description-properties",6),d.EFF(77,"\n"),d.k0s(),d.EFF(78,"\n")),2&$&&(d.R7$(5),d.Y8G("hasMargin",!0),d.R7$(8),d.Y8G("html",K.defaultHtmlSnippet),d.R7$(8),d.Y8G("html",K.sizesHtmlSnippet),d.R7$(23),d.Y8G("ts",K.provideNewIconUrlCodeSnippet),d.R7$(24),d.Y8G("ts",K.iconRegistrationCodeSnippet),d.R7$(8),d.Y8G("properties",K.properties))},dependencies:[p.B,l.q,t.C,M.l,a.h,_.s,v.T],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}"]}),O})()},31578:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>p});var t=i(54438),l=i(33382),M=i(35728),d=i(34929);let p=(()=>{var a;class _{constructor(){this.exampleHtml="

Item Group

\n\n\n

Section Header in Item Group

\n\n"}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-item-group-showcase"]],decls:23,vars:2,consts:[["itemGroupExample",""],["sectionHeaderExample",""],[3,"html"]],template:function(E,u){if(1&E&&(t.j41(0,"p"),t.EFF(1," The "),t.j41(2,"code"),t.EFF(3,"kirby-item-group"),t.k0s(),t.EFF(4," is a layout container for grouping related content.\n"),t.k0s(),t.j41(5,"p"),t.EFF(6," It is ideal for grouping "),t.j41(7,"code"),t.EFF(8,"kirby-item"),t.k0s(),t.EFF(9," and "),t.j41(10,"code"),t.EFF(11,"kirby-item-sliding"),t.k0s(),t.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"),t.k0s(),t.j41(13,"h2"),t.EFF(14,"Item Group"),t.k0s(),t.nrm(15,"cookbook-simple-item-group-example",null,0)(17,"cookbook-example-viewer",2),t.j41(18,"h2"),t.EFF(19,"Section Header in Item Group"),t.k0s(),t.nrm(20,"cookbook-item-group-with-section-header-example",null,1)(22,"cookbook-example-viewer",2)),2&E){const O=t.sdS(16),A=t.sdS(21);t.R7$(17),t.Y8G("html",O.template),t.R7$(5),t.Y8G("html",A.template)}},dependencies:[l.q,M.A,d.s],encapsulation:2}),_})()},73097:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>gt});var e=i(54438),t=i(53098),l=i(8730),M=i(82795),d=i(89958),p=i(21662),a=i(27495),_=i(20289),v=i(40443),E=i(51436),u=i(16458),O=i(56650),A=i(31686),$=i(44962),K=i(91917),X=i(55923),J=i(69843),G=i(78860),fe=i(84202),he=i(44877),Me=i(82054),ke=i(94430),be=i(39457),Ne=i(25174),je=i(85782),it=i(27138),pt=i(23904),Ye=i(85744),St=i(66015),mt=i(68368),at=i(34929),Ge=i(25981);let gt=(()=>{var mn;class _t{constructor(){this.properties=[{name:"Selectable",description:"Make item selectable",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(Je){return Je.scrollIntoView({behavior:"smooth"}),!1}}return(mn=_t).\u0275fac=function(Je){return new(Je||mn)},mn.\u0275cmp=e.VBU({type:mn,selectors:[["cookbook-item-showcase"]],decls:310,vars:36,consts:[["simpleExampleMedium",""],["simpleExampleSmall",""],["simpleExampleExtraSmall",""],["simpleExample",""],["longTitleExample",""],["twoLinesExample",""],["threeLinesExample",""],["twoValueLines",""],["twoValueLinesExample",""],["multiLine",""],["multiLineExample",""],["pickerDefaultExample",""],["pickerDefaultSelectedExample",""],["pickerAvatarSelectedExample",""],["pickerCheckboxExample",""],["fabMenuExample",""],["attachmentExample",""],["settingsDefaultExample",""],["settingsDisabledExample",""],["flagged",""],["flaggedExample",""],["avatarDefaultExample",""],["avatarWithDate",""],["avatarDateExample",""],["avatarFlaggedExample",""],["avatarFlaggedThreeLinesExample",""],["message",""],["messagesExample",""],["buttonExample",""],["inputDefaultExample",""],["inputNumericExample",""],["disclosure",""],["disclosureExample",""],["disclosureAnimationExample",""],["cardExample",""],[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"],["href","#",3,"click"],[1,"sizes"],[3,"html"],[1,"comment","small"],[3,"html","css"],[3,"html","ts"],[3,"properties"],[3,"properties","columns"]],template:function(Je,Xe){if(1&Je){const qe=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," ) "),e.nrm(17,"br"),e.EFF(18," In addition to this there is a special slot for flags named "),e.j41(19,"code"),e.EFF(20,"'outside'"),e.k0s(),e.EFF(21," .\n"),e.k0s(),e.j41(22,"p"),e.EFF(23," The "),e.j41(24,"em"),e.EFF(25,"default column"),e.k0s(),e.EFF(26," is the content that isn't slotted into either "),e.j41(27,"code"),e.EFF(28,"'start'"),e.k0s(),e.EFF(29," or "),e.j41(30,"code"),e.EFF(31,"'end'"),e.k0s(),e.EFF(32," . "),e.nrm(33,"br"),e.EFF(34," If there are more than one line of content it can be contained within a "),e.j41(35,"code"),e.EFF(36,"kirby-label"),e.k0s(),e.EFF(37," that by default stacks content vertically (multi lines). "),e.nrm(38,"br"),e.EFF(39," Optionally it can be configured to stack horizontally: "),e.j41(40,"code"),e.EFF(41,'...'),e.k0s()(),e.j41(42,"div",35),e.qSk(),e.j41(43,"svg",36),e.nrm(44,"rect",37)(45,"rect",38)(46,"rect",39)(47,"rect",40)(48,"rect",41)(49,"path",42)(50,"path",43)(51,"path",44)(52,"path",45),e.k0s()(),e.joV(),e.j41(53,"p",46)(54,"strong"),e.EFF(55,"Please note"),e.k0s(),e.EFF(56," , if you need a label to span a title and a value, you can wrap the title and value in another "),e.j41(57,"code"),e.EFF(58,"kirby-label"),e.k0s(),e.EFF(59," as in "),e.j41(60,"a",47),e.bIt("click",function(){e.eBV(qe);const It=e.sdS(241);return e.Njj(Xe.scrollTo(It))}),e.EFF(61,"this example"),e.k0s()(),e.j41(62,"p"),e.EFF(63," The "),e.j41(64,"em"),e.EFF(65,"start column"),e.k0s(),e.EFF(66," is usually only used with avatars, icons and such. To place content in the start column specify the "),e.j41(67,"code"),e.EFF(68,'slot="start"'),e.k0s(),e.EFF(69," 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(70,"p"),e.EFF(71," The "),e.j41(72,"em"),e.EFF(73,"end column"),e.k0s(),e.EFF(74," is usually used for values such as number, currency, date etc. To place content in the end column specify the "),e.j41(75,"code"),e.EFF(76,'slot="end"'),e.k0s(),e.EFF(77," attribute on your content. If multiple lines are needed the values can be wrapped in a "),e.j41(78,"code"),e.EFF(79,"kirby-label"),e.k0s(),e.EFF(80," as in "),e.j41(81,"a",47),e.bIt("click",function(){e.eBV(qe);const It=e.sdS(145);return e.Njj(Xe.scrollTo(It))}),e.EFF(82,"this example"),e.k0s(),e.EFF(83," . "),e.nrm(84,"br"),e.EFF(85," Values can optionally be contained in a "),e.j41(86,"code"),e.EFF(87,"time"),e.k0s(),e.EFF(88," or "),e.j41(89,"code"),e.EFF(90,"data"),e.k0s(),e.EFF(91," tag as in "),e.j41(92,"a",47),e.bIt("click",function(){e.eBV(qe);const It=e.sdS(225);return e.Njj(Xe.scrollTo(It))}),e.EFF(93,"this example"),e.k0s(),e.EFF(94," .\n"),e.k0s(),e.j41(95,"p"),e.EFF(96," The "),e.j41(97,"em"),e.EFF(98,"outside"),e.k0s(),e.EFF(99," slot can be used for flags as in "),e.j41(100,"a",47),e.bIt("click",function(){e.eBV(qe);const It=e.sdS(212);return e.Njj(Xe.scrollTo(It))}),e.EFF(101,"this example"),e.k0s(),e.EFF(102," .\n"),e.k0s(),e.j41(103,"section",48)(104,"h2"),e.EFF(105,"Sizes"),e.k0s(),e.j41(106,"cookbook-example-viewer",49),e.nrm(107,"cookbook-item-example-simple-md",null,0),e.k0s(),e.j41(109,"cookbook-example-viewer",49),e.nrm(110,"cookbook-item-example-simple-sm",null,1),e.k0s(),e.j41(112,"p",46)(113,"strong"),e.EFF(114,"Please note"),e.k0s(),e.EFF(115," , extra small should "),e.j41(116,"strong"),e.EFF(117,"NOT"),e.k0s(),e.EFF(118," be used if clickable "),e.k0s(),e.j41(119,"cookbook-example-viewer",49),e.nrm(120,"cookbook-item-example-simple-xs",null,2),e.k0s()(),e.j41(122,"h2"),e.EFF(123,"Simple"),e.k0s(),e.j41(124,"h3"),e.EFF(125,"Default"),e.k0s(),e.j41(126,"cookbook-example-viewer",49),e.nrm(127,"cookbook-item-example-simple",null,3),e.k0s(),e.j41(129,"h3"),e.EFF(130,"Long title (truncated)"),e.k0s(),e.j41(131,"cookbook-example-viewer",49),e.nrm(132,"cookbook-item-example-long-title",null,4),e.k0s(),e.j41(134,"h3"),e.EFF(135,"Two lines"),e.k0s(),e.j41(136,"cookbook-example-viewer",49),e.nrm(137,"cookbook-item-example-simple-two-lines",null,5),e.k0s(),e.j41(139,"h3"),e.EFF(140,"Three lines"),e.k0s(),e.j41(141,"cookbook-example-viewer",49),e.nrm(142,"cookbook-item-example-simple-three-lines",null,6),e.k0s(),e.j41(144,"h3",null,7),e.EFF(146,"Two value lines"),e.k0s(),e.j41(147,"cookbook-example-viewer",49),e.nrm(148,"cookbook-item-example-simple-two-value-lines",null,8),e.k0s(),e.j41(150,"h3",null,9),e.EFF(152,"Multiline"),e.k0s(),e.j41(153,"cookbook-example-viewer",49),e.nrm(154,"cookbook-item-example-simple-multiline",null,10),e.k0s(),e.j41(156,"h2"),e.EFF(157,"Picker"),e.k0s(),e.j41(158,"h3"),e.EFF(159,"Default"),e.k0s(),e.j41(160,"cookbook-example-viewer",49),e.nrm(161,"cookbook-item-example-picker-default",null,11),e.k0s(),e.j41(163,"h3"),e.EFF(164,"Selected"),e.k0s(),e.j41(165,"cookbook-example-viewer",49),e.nrm(166,"cookbook-item-example-picker-default-selected",null,12),e.k0s(),e.j41(168,"h3"),e.EFF(169,"With Avatar - Selected"),e.k0s(),e.j41(170,"cookbook-example-viewer",49),e.nrm(171,"cookbook-item-example-picker-avatar-selected",null,13),e.k0s(),e.j41(173,"h3"),e.EFF(174,"With checkbox"),e.k0s(),e.j41(175,"cookbook-example-viewer",49),e.nrm(176,"cookbook-item-example-picker-checkbox",null,14),e.k0s(),e.j41(178,"h2"),e.EFF(179,"FAB menu"),e.k0s(),e.j41(180,"cookbook-example-viewer",49),e.nrm(181,"cookbook-item-example-fab-menu",null,15),e.k0s(),e.j41(183,"h2"),e.EFF(184,"Attachment"),e.k0s(),e.j41(185,"cookbook-example-viewer",49),e.nrm(186,"cookbook-item-example-attachment",null,16),e.k0s(),e.j41(188,"h2"),e.EFF(189,"Settings"),e.k0s(),e.j41(190,"h3"),e.EFF(191,"Enabled"),e.k0s(),e.j41(192,"cookbook-example-viewer",49),e.nrm(193,"cookbook-item-example-settings",null,17),e.k0s(),e.j41(195,"h3"),e.EFF(196,"Disabled"),e.k0s(),e.j41(197,"cookbook-example-viewer",49),e.nrm(198,"cookbook-item-example-settings-disabled",null,18),e.k0s(),e.j41(200,"p",50)(201,"em")(202,"strong"),e.EFF(203,"Please note"),e.k0s(),e.EFF(204," , setting the "),e.j41(205,"code"),e.EFF(206,"disabled"),e.k0s(),e.EFF(207," attribute on "),e.j41(208,"code"),e.EFF(209,"kirby-item"),e.k0s(),e.EFF(210," will disable the entire item including buttons, toggles etc. "),e.k0s()(),e.j41(211,"h2",null,19),e.EFF(213,"Flagged"),e.k0s(),e.j41(214,"cookbook-example-viewer",51),e.nrm(215,"cookbook-item-example-flagged",null,20),e.k0s(),e.j41(217,"h2"),e.EFF(218,"Avatar"),e.k0s(),e.j41(219,"h3"),e.EFF(220,"Default"),e.k0s(),e.j41(221,"cookbook-example-viewer",49),e.nrm(222,"cookbook-item-example-avatar",null,21),e.k0s(),e.j41(224,"h3",null,22),e.EFF(226,"Avatar with date"),e.k0s(),e.j41(227,"cookbook-example-viewer",49),e.nrm(228,"cookbook-item-example-avatar-date",null,23),e.k0s(),e.j41(230,"h3"),e.EFF(231,"Avatar flagged"),e.k0s(),e.j41(232,"cookbook-example-viewer",51),e.nrm(233,"cookbook-item-example-avatar-flagged",null,24),e.k0s(),e.j41(235,"h3"),e.EFF(236,"Avatar flagged, three lines"),e.k0s(),e.j41(237,"cookbook-example-viewer",51),e.nrm(238,"cookbook-item-example-avatar-flagged-three-lines",null,25),e.k0s(),e.j41(240,"h2",null,26),e.EFF(242,"Message"),e.k0s(),e.j41(243,"cookbook-example-viewer",49),e.nrm(244,"cookbook-item-example-horizontal",null,27),e.k0s(),e.j41(246,"h2"),e.EFF(247,"Button"),e.k0s(),e.j41(248,"cookbook-example-viewer",49),e.nrm(249,"cookbook-item-example-button",null,28),e.k0s(),e.j41(251,"h2"),e.EFF(252,"Input"),e.k0s(),e.j41(253,"h3"),e.EFF(254,"Default"),e.k0s(),e.j41(255,"cookbook-example-viewer",49),e.nrm(256,"cookbook-item-example-input-default",null,29),e.k0s(),e.j41(258,"h3"),e.EFF(259,"Numeric"),e.k0s(),e.j41(260,"cookbook-example-viewer",49),e.nrm(261,"cookbook-item-example-input-numeric",null,30),e.k0s(),e.j41(263,"h2",null,31),e.EFF(265,"Disclosure"),e.k0s(),e.j41(266,"cookbook-example-viewer",49),e.nrm(267,"cookbook-item-example-disclosure",null,32),e.k0s(),e.j41(269,"p",50)(270,"em")(271,"strong"),e.EFF(272,"Please note:"),e.k0s(),e.EFF(273," the disclosure input is limited to a set of predefined icons: "),e.j41(274,"code"),e.EFF(275,"'link' | 'arrow-more' | 'arrow-down' | 'arrow-up'"),e.k0s()()(),e.j41(276,"h4"),e.EFF(277,"Rotation animation"),e.k0s(),e.j41(278,"p"),e.EFF(279," It is possible to trigger an animation that rotates the disclosure icon by passing a boolean flag to "),e.j41(280,"code"),e.EFF(281,"[rotateIcon]"),e.k0s(),e.EFF(282," . When set to "),e.j41(283,"code"),e.EFF(284,"true"),e.k0s(),e.EFF(285," it will rotate the icon 180 degrees and when set to "),e.j41(286,"code"),e.EFF(287,"false"),e.k0s(),e.EFF(288," it will rotate the icon back to it's original position.\n"),e.k0s(),e.j41(289,"cookbook-example-viewer",52),e.nrm(290,"cookbook-item-example-disclosure-animation",null,33),e.k0s(),e.j41(292,"p",50)(293,"em")(294,"strong"),e.EFF(295,"Please note:"),e.k0s(),e.EFF(296," the animation of the disclosure icon is only available for: "),e.j41(297,"code"),e.EFF(298,"'arrow-down' | 'arrow-up'"),e.k0s()()(),e.j41(299,"h2"),e.EFF(300,"Card with item"),e.k0s(),e.j41(301,"cookbook-example-viewer",49),e.nrm(302,"cookbook-item-example-card",null,34),e.k0s(),e.j41(304,"h2"),e.EFF(305,"API"),e.k0s(),e.nrm(306,"cookbook-api-description-properties",53),e.j41(307,"h2"),e.EFF(308,"CSS Custom Properties"),e.k0s(),e.nrm(309,"cookbook-api-description-properties",54)}if(2&Je){const qe=e.sdS(108),Bt=e.sdS(111),It=e.sdS(121),Nn=e.sdS(128),Hn=e.sdS(133),xo=e.sdS(138),Kn=e.sdS(143),xt=e.sdS(149),Ht=e.sdS(155),$t=e.sdS(162),Xt=e.sdS(167),ln=e.sdS(172),tn=e.sdS(177),En=e.sdS(182),Un=e.sdS(187),Tn=e.sdS(194),dn=e.sdS(199),gn=e.sdS(216),Vt=e.sdS(223),Gt=e.sdS(229),Ln=e.sdS(234),Lt=e.sdS(239),yn=e.sdS(245),Mn=e.sdS(250),bn=e.sdS(257),Bn=e.sdS(262),yo=e.sdS(268),oo=e.sdS(291),Ko=e.sdS(303);e.R7$(106),e.Y8G("html",qe.template),e.R7$(3),e.Y8G("html",Bt.template),e.R7$(10),e.Y8G("html",It.template),e.R7$(7),e.Y8G("html",Nn.template),e.R7$(5),e.Y8G("html",Hn.template),e.R7$(5),e.Y8G("html",xo.template),e.R7$(5),e.Y8G("html",Kn.template),e.R7$(6),e.Y8G("html",xt.template),e.R7$(6),e.Y8G("html",Ht.template),e.R7$(7),e.Y8G("html",$t.template),e.R7$(5),e.Y8G("html",Xt.template),e.R7$(5),e.Y8G("html",ln.template),e.R7$(5),e.Y8G("html",tn.template),e.R7$(5),e.Y8G("html",En.template),e.R7$(5),e.Y8G("html",Un.template),e.R7$(7),e.Y8G("html",Tn.template),e.R7$(5),e.Y8G("html",dn.template),e.R7$(17),e.Y8G("html",gn.template)("css",gn.styles),e.R7$(7),e.Y8G("html",Vt.template),e.R7$(6),e.Y8G("html",Gt.template),e.R7$(5),e.Y8G("html",Ln.template)("css",Ln.styles),e.R7$(5),e.Y8G("html",Lt.template)("css",Lt.styles),e.R7$(6),e.Y8G("html",yn.template),e.R7$(5),e.Y8G("html",Mn.template),e.R7$(7),e.Y8G("html",bn.template),e.R7$(5),e.Y8G("html",Bn.template),e.R7$(6),e.Y8G("html",yo.template),e.R7$(23),e.Y8G("html",oo.template)("ts",oo.animationCodeSnippetTS),e.R7$(12),e.Y8G("html",Ko.template),e.R7$(5),e.Y8G("properties",Xe.properties),e.R7$(3),e.Y8G("properties",Xe.customCssProperties)("columns",Xe.customCssPropertiesColumns)}},dependencies:[t.d,l.G,M.A,d.Y,p.v,a.g,_.Q,v.d,E.G,u.m,O.z,A.J,$.c,K.L,X.y,J.g,G.a,fe.b,he.M,Me.U,ke.y,be.F,Ne.n,je.p,it.e,pt._,Ye.R,St.K,mt.E,at.s,Ge.T],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}"]}),_t})()},57221:(Ze,z,i)=>{"use strict";i.d(z,{K:()=>a});var e=i(54438),t=i(11330),l=i(4714),M=i(98990),d=i(34929),p=i(25981);let a=(()=>{var _;class v{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"}]}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["cookbook-item-sliding-showcase"]],decls:59,vars:8,consts:[["simpleExample",""],["conditionalExample",""],["variant","flat",3,"hasPadding"],[3,"html","ts"],[3,"properties"]],template:function(u,O){if(1&u&&(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&u){const A=e.sdS(36),$=e.sdS(45);e.R7$(33),e.Y8G("hasPadding",O._cardHasPadding),e.R7$(),e.Y8G("html",A.template)("ts",A.codeSnippet),e.R7$(8),e.Y8G("hasPadding",O._cardHasPadding),e.R7$(),e.Y8G("html",$.template)("ts",$.codeSnippet),e.R7$(9),e.Y8G("properties",O._inputPropertiesApiDescription),e.R7$(6),e.Y8G("properties",O._swipeActionApiDescription)}},dependencies:[t.R,l.R,M.ib,d.s,p.T],encapsulation:2}),v})()},47241:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>a});var e=i(54438),t=i(96325),l=i(81568),M=i(42959),d=i(22694),p=i(34929);let a=(()=>{var _;class v{}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,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(u,O){if(1&u&&(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&u){const A=e.sdS(24),$=e.sdS(34),K=e.sdS(60);e.R7$(22),e.Y8G("html",A.template),e.R7$(10),e.Y8G("html",$.template),e.R7$(26),e.Y8G("html",K.template)("css",K.style)}},dependencies:[t.$,l.x,M.f,d.Wk,p.s],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}"]}),v})()},405:(Ze,z,i)=>{"use strict";i.d(z,{b:()=>p});var e=i(54438),t=i(86413),l=i(57671),M=i(46692),d=i(22694);let p=(()=>{var a;class _{constructor(){this.multipleListsExample="\n \n ...\n\n\n\n \n ...\n"}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,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(E,u){if(1&E&&(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&E){const O=e.sdS(43),A=e.sdS(57);e.R7$(41),e.Y8G("html",O.template),e.R7$(14),e.Y8G("html",A.template),e.R7$(9),e.Y8G("html",u.multipleListsExample)}},dependencies:[t.B,l.s,M.m,d.Wk],styles:[".examples[_ngcontent-%COMP%]{display:grid;gap:3rem;grid-template-columns:repeat(auto-fill,minmax(40ch,1fr));margin:2rem 0}"]}),_})()},92701:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>a});var e=i(34823),t=i(54438),l=i(86413),M=i(77551),d=i(83597),p=i(25981);let a=(()=>{var _;class v{constructor(){this.exampleHtml=e.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; }"}]}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=t.VBU({type:_,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(u,O){1&u&&(t.j41(0,"div",0)(1,"p"),t.EFF(2," The kirby list will emit a "),t.j41(3,"code"),t.EFF(4,"loadMore"),t.k0s(),t.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 "),t.j41(6,"code"),t.EFF(7,"items"),t.k0s(),t.EFF(8," . "),t.k0s(),t.j41(9,"p"),t.EFF(10," The event emitted is of type "),t.j41(11,"code"),t.EFF(12,"KirbyLoadMoreEvent"),t.k0s(),t.EFF(13," which exposes a "),t.j41(14,"code"),t.EFF(15,"complete()"),t.k0s(),t.EFF(16," callback function. "),t.k0s(),t.j41(17,"p"),t.EFF(18," The "),t.j41(19,"code"),t.EFF(20,"complete()"),t.k0s(),t.EFF(21," callback function should be called when the loading of the additional items are done. "),t.k0s(),t.j41(22,"p"),t.EFF(23," If "),t.j41(24,"code"),t.EFF(25,"complete(disableLoadMore?: boolean)"),t.k0s(),t.EFF(26," is called with the "),t.j41(27,"code"),t.EFF(28,"disableLoadMore"),t.k0s(),t.EFF(29," argument set to "),t.j41(30,"code"),t.EFF(31,"true"),t.k0s(),t.EFF(32," , no further events will be emitted. If "),t.j41(33,"code"),t.EFF(34,"noMoreItemsText"),t.k0s(),t.EFF(35," is configured it will be shown at the end of the list at this point. "),t.k0s()(),t.j41(36,"div",1),t.nrm(37,"cookbook-code-viewer",2)(38,"cookbook-iphone",3),t.k0s(),t.j41(39,"h2"),t.EFF(40,"Properties:"),t.k0s(),t.nrm(41,"cookbook-api-description-properties",4),t.j41(42,"h2"),t.EFF(43,"Events:"),t.k0s(),t.nrm(44,"cookbook-api-description-events",5)),2&u&&(t.R7$(37),t.Y8G("html",O.exampleHtml),t.R7$(4),t.Y8G("properties",O.properties),t.R7$(3),t.Y8G("events",O.events))},dependencies:[l.B,M.h,d.b,p.T],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}"]}),v})()},38871:(Ze,z,i)=>{"use strict";i.d(z,{F:()=>p});var e=i(54438),t=i(23114),l=i(73182),M=i(81096),d=i(34929);let p=(()=>{var a;class _{}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["cookbook-list-no-shape-showcase"]],decls:38,vars:3,consts:[["simpleListNoShapeExample",""],["detailedCardWithListNoShapeExample",""],["multiCardListNoShapeExample",""],[1,"example"],[3,"html"]],template:function(E,u){if(1&E&&(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&E){const O=e.sdS(17),A=e.sdS(24),$=e.sdS(37);e.R7$(15),e.Y8G("html",O.template),e.R7$(7),e.Y8G("html",A.template),e.R7$(13),e.Y8G("html",$.template)}},dependencies:[t.p,l.i,M.A,d.s],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}"]}),_})()},1327:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>K});var e=i(99080),l=i(35022),M=i(32737),d=i(33082),p=i(40041),a=i(23579),_=i(69780),v=i(98988),E=i(53903),u=i(54438),O=i(86413),A=i(77551),$=i(25981);let K=(()=>{var X;class J{constructor(){this.items=M.X,this.selectableItemsExampleTemplate=v.z,this.coloredItemsExampleTemplate=l.p,this.sectionsAndColoredItemsExampleTemplate=a.M,this.headerAndFooterExampleTemplate=d.w,this.sectionsExampleTemplate=p.p,this.standAloneExampleTemplate=E.S,this.sectionsAndStandAloneExampleTemplate=_.t,this.noDividersExampleTemplate=e.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'"]}]}}return(X=J).\u0275fac=function(fe){return new(fe||X)},X.\u0275cmp=u.VBU({type:X,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(fe,he){1&fe&&(u.j41(0,"div",0)(1,"p"),u.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. "),u.k0s(),u.j41(3,"p"),u.EFF(4," Lists support several interactions including swiping items to reveal options, dragging to reorder items within the list, and deleting items. "),u.k0s()(),u.j41(5,"div",1)(6,"div")(7,"h2"),u.EFF(8,"List with items:"),u.k0s(),u.nrm(9,"cookbook-code-viewer",2),u.k0s(),u.j41(10,"div"),u.nrm(11,"cookbook-iphone",3),u.k0s()(),u.j41(12,"div",1)(13,"div")(14,"h2"),u.EFF(15,"List with items with no dividers:"),u.k0s(),u.nrm(16,"cookbook-code-viewer",2),u.k0s(),u.nrm(17,"cookbook-iphone",4),u.k0s(),u.j41(18,"div",1)(19,"div")(20,"h2"),u.EFF(21,"List with selectable items:"),u.k0s(),u.j41(22,"p"),u.EFF(23," In order to make items selectable a callback must provided to "),u.j41(24,"code"),u.EFF(25,"(itemSelect)"),u.k0s(),u.EFF(26," as shown below. If the item should have a darker background on hover and change the cursor to a pointer, then "),u.j41(27,"code"),u.EFF(28,'[selectable]="true"'),u.k0s(),u.EFF(29," must be provided to the "),u.j41(30,"code"),u.EFF(31,"kirby-item"),u.k0s(),u.EFF(32," component in the template. The selected item is highligted in bold by default. This behaviour can be suppressed by passing "),u.j41(33,"code"),u.EFF(34,'[disableSelectionHighlight]="true"'),u.k0s(),u.EFF(35," to the list component. "),u.k0s(),u.nrm(36,"cookbook-code-viewer",2),u.k0s(),u.j41(37,"div"),u.nrm(38,"cookbook-iphone",5),u.k0s()(),u.j41(39,"div",1)(40,"div")(41,"h2"),u.EFF(42,"List with colored items:"),u.k0s(),u.nrm(43,"cookbook-code-viewer",2),u.k0s(),u.j41(44,"div"),u.nrm(45,"cookbook-iphone",6),u.k0s()(),u.j41(46,"div",1)(47,"div")(48,"h2"),u.EFF(49,"List with sections and colored items:"),u.k0s(),u.nrm(50,"cookbook-code-viewer",2),u.k0s(),u.j41(51,"div"),u.nrm(52,"cookbook-iphone",7),u.k0s()(),u.j41(53,"div",1)(54,"div")(55,"h2"),u.EFF(56,"List with header and footer:"),u.k0s(),u.nrm(57,"cookbook-code-viewer",2),u.k0s(),u.j41(58,"div"),u.nrm(59,"cookbook-iphone",8),u.k0s()(),u.j41(60,"div",1)(61,"div")(62,"h2"),u.EFF(63,"List with sections:"),u.k0s(),u.nrm(64,"cookbook-code-viewer",2),u.k0s(),u.j41(65,"div"),u.nrm(66,"cookbook-iphone",9),u.k0s()(),u.j41(67,"div",1)(68,"div")(69,"h2"),u.EFF(70,"List with standalone items:"),u.k0s(),u.j41(71,"p"),u.EFF(72," Stand alone items are enabled by passing the "),u.j41(73,"code"),u.EFF(74,"getStandAloneByProperty"),u.k0s(),u.EFF(75," to the list. "),u.j41(76,"code"),u.EFF(77,"getStandAloneByProperty"),u.k0s(),u.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 "),u.j41(79,"code"),u.EFF(80,"isStandAlone: true"),u.k0s(),u.EFF(81," . "),u.k0s(),u.nrm(82,"cookbook-code-viewer",2),u.k0s(),u.j41(83,"div"),u.nrm(84,"cookbook-iphone",10),u.k0s()(),u.j41(85,"div",1)(86,"div")(87,"h2"),u.EFF(88,"List with sections and standalone items:"),u.k0s(),u.nrm(89,"cookbook-code-viewer",2),u.k0s(),u.j41(90,"div"),u.nrm(91,"cookbook-iphone",11),u.k0s()(),u.j41(92,"h2"),u.EFF(93,"API:"),u.k0s(),u.nrm(94,"cookbook-api-description-properties",12)),2&fe&&(u.R7$(9),u.Y8G("html",he.items),u.R7$(7),u.Y8G("html",he.noDividersExampleTemplate),u.R7$(20),u.Y8G("html",he.selectableItemsExampleTemplate),u.R7$(7),u.Y8G("html",he.coloredItemsExampleTemplate),u.R7$(7),u.Y8G("html",he.sectionsAndColoredItemsExampleTemplate),u.R7$(7),u.Y8G("html",he.headerAndFooterExampleTemplate),u.R7$(7),u.Y8G("html",he.sectionsExampleTemplate),u.R7$(18),u.Y8G("html",he.standAloneExampleTemplate),u.R7$(7),u.Y8G("html",he.sectionsAndStandAloneExampleTemplate),u.R7$(5),u.Y8G("properties",he.properties))},dependencies:[O.B,A.h,$.T],styles:[".page-example[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:40px;margin-bottom:40px}"]}),J})()},73263:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>d});var t=i(54438),l=i(50753),M=i(86413);let d=(()=>{var p;class a{constructor(){this.exampleHtml='

List with swipe actions:

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

{{ item.title }}

\n {{ item.amount }}\n
\n
\n'}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=t.VBU({type:p,selectors:[["cookbook-list-swipe-showcase"]],decls:3,vars:1,consts:[[1,"example"],[3,"html"]],template:function(v,E){1&v&&(t.j41(0,"div",0),t.nrm(1,"cookbook-list-swipe-example")(2,"cookbook-code-viewer",1),t.k0s()),2&v&&(t.R7$(2),t.Y8G("html",E.exampleHtml))},dependencies:[l.k,M.B],encapsulation:2}),a})()},50002:(Ze,z,i)=>{"use strict";i.d(z,{n:()=>a});var t=i(54438),l=i(50751),M=i(8488),d=i(34929),p=i(25981);let a=(()=>{var _;class v{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"]}]}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=t.VBU({type:_,selectors:[["cookbook-loading-overlay-showcase"]],decls:38,vars:2,consts:[[3,"html"],[3,"properties"]],template:function(u,O){1&u&&(t.j41(0,"p"),t.EFF(1,"The loading overlay is available both as a component and as a service."),t.k0s(),t.j41(2,"h2"),t.EFF(3,"Component"),t.k0s(),t.j41(4,"p"),t.EFF(5," The loading overlay component will add the overlay on top of the content that is slotted into the component.\n"),t.k0s(),t.j41(6,"cookbook-example-viewer",0),t.nrm(7,"cookbook-loading-overlay-example"),t.k0s(),t.j41(8,"h2"),t.EFF(9,"Properties"),t.k0s(),t.nrm(10,"cookbook-api-description-properties",1),t.j41(11,"h2"),t.EFF(12,"Service"),t.k0s(),t.j41(13,"p"),t.EFF(14," The service will show a full page loading overlay. It provides two methods: "),t.j41(15,"code"),t.EFF(16,"showLoadingOverlay"),t.k0s(),t.EFF(17," & "),t.j41(18,"code"),t.EFF(19,"hideLoadingOverlay"),t.k0s(),t.EFF(20," . "),t.j41(21,"code"),t.EFF(22,"showLoadingOverlay"),t.k0s(),t.EFF(23," takes two arguments:\n"),t.k0s(),t.j41(24,"ol")(25,"li")(26,"code"),t.EFF(27,"showBackdrop: boolean"),t.k0s(),t.EFF(28," - Shows the transparent loading overlay. "),t.k0s(),t.j41(29,"li")(30,"code"),t.EFF(31,"hideContent: boolean"),t.k0s(),t.EFF(32," - Shows the loading overlay with 100% opacity. "),t.k0s()(),t.j41(33,"p")(34,"code"),t.EFF(35,"hideLoadingOverlay"),t.k0s(),t.EFF(36," is required to dismiss the overlay. It takes no arguments.\n"),t.k0s(),t.nrm(37,"cookbook-loading-overlay-service-example")),2&u&&(t.R7$(6),t.Y8G("html",O.exampleHtml),t.R7$(4),t.Y8G("properties",O.properties))},dependencies:[l.Y,M.F,d.s,p.T],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}"]}),v})()},46960:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>X});var l=i(54438),M=i(86413),d=i(49685),p=i(61785),a=i(51816),_=i(28850),v=i(80921),E=i(21564),u=i(12510),O=i(82722),A=i(22694),$=i(34929),K=i(25981);let X=(()=>{var J;class G{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(he){this.isOutletElementSet=he}scrollTo(he){return he.scrollIntoView({behavior:"smooth"}),!1}}return(J=G).\u0275fac=function(he){return new(he||J)},J.\u0275cmp=l.VBU({type:J,selectors:[["cookbook-menu-showcase"]],decls:199,vars:14,consts:[["menuDefaultExample",""],["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"],[3,"properties"]],template:function(he,Me){if(1&he){const ke=l.RV6();l.j41(0,"div",9)(1,"p"),l.EFF(2," A menu is a list of actions that displays in a popup. Menu replaces action-sheet both on mobile and web. "),l.k0s(),l.j41(3,"p"),l.EFF(4," The menu's default slot accepts one or multiple "),l.j41(5,"code")(6,"a",10),l.EFF(7,"kirby-item"),l.k0s()(),l.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 "),l.j41(9,"code"),l.EFF(10,"kirby-button"),l.k0s(),l.EFF(11," as a content child of the menu as shown "),l.j41(12,"a",11),l.bIt("click",function(){l.eBV(ke);const Ne=l.sdS(68);return l.Njj(Me.scrollTo(Ne))}),l.EFF(13,"here"),l.k0s(),l.EFF(14," . "),l.k0s(),l.j41(15,"p"),l.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 "),l.j41(17,"a",11),l.bIt("click",function(){l.eBV(ke);const Ne=l.sdS(82);return l.Njj(Me.scrollTo(Ne))}),l.EFF(18,"Portal"),l.k0s(),l.EFF(19," section. "),l.k0s()(),l.j41(20,"h2"),l.EFF(21,"Examples"),l.k0s(),l.j41(22,"h3"),l.EFF(23,"Basic"),l.k0s(),l.j41(24,"div",12)(25,"div")(26,"cookbook-example-viewer",13),l.nrm(27,"cookbook-menu-default-example",null,0),l.k0s()()(),l.j41(29,"h3"),l.EFF(30,"Selectable items"),l.k0s(),l.j41(31,"p"),l.EFF(32,"This example demonstrates how to set custom actions on the elements in the menu."),l.k0s(),l.j41(33,"div",12)(34,"div")(35,"cookbook-example-viewer",13),l.nrm(36,"cookbook-menu-selectable-example",null,1),l.k0s()()(),l.j41(38,"h3"),l.EFF(39,"Advanced items"),l.k0s(),l.j41(40,"p"),l.EFF(41," Since the Menu accepts Items, it is possible to customize these. The example below demonstrates how to add a toggle to an Item in the list.\n"),l.k0s(),l.j41(42,"p")(43,"em")(44,"strong"),l.EFF(45,"Please note:"),l.k0s(),l.EFF(46," You should set "),l.j41(47,"code"),l.EFF(48,'[closeOnSelect]="false"'),l.k0s(),l.EFF(49," if you don't want the menu to close right away when an item is clicked. "),l.k0s()(),l.j41(50,"div",12)(51,"div")(52,"cookbook-example-viewer",13),l.nrm(53,"cookbook-menu-advanced-example",null,2),l.k0s()()(),l.j41(55,"h3"),l.EFF(56,"Menu placement"),l.k0s(),l.j41(57,"p"),l.EFF(58," 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 "),l.j41(59,"code"),l.EFF(60,"placement"),l.k0s(),l.EFF(61," input as shown below.\n"),l.k0s(),l.j41(62,"div",12)(63,"div")(64,"cookbook-example-viewer",13),l.nrm(65,"cookbook-menu-custom-placement-example",null,3),l.k0s()()(),l.j41(67,"h3",null,4),l.EFF(69,"Custom button"),l.k0s(),l.j41(70,"p"),l.EFF(71," 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"),l.k0s(),l.j41(72,"p")(73,"strong")(74,"em"),l.EFF(75,"The custom button won't receive the default values provided by the menu component."),l.k0s()()(),l.j41(76,"div",12)(77,"div")(78,"cookbook-example-viewer",13),l.nrm(79,"cookbook-menu-custom-button-example",null,5),l.k0s()()(),l.j41(81,"h2",null,6),l.EFF(83,"Portal"),l.k0s(),l.j41(84,"p"),l.EFF(85," 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 "),l.j41(86,"code"),l.EFF(87,"PortalOutletConfig"),l.k0s(),l.EFF(88," , or a reference to a "),l.j41(89,"code"),l.EFF(90,"HTMLElement"),l.k0s(),l.EFF(91," that is passed to the "),l.j41(92,"code"),l.EFF(93,"DOMPortalOutlet"),l.k0s(),l.EFF(94," input.\n"),l.k0s(),l.j41(95,"p"),l.EFF(96," Most use cases should be easily handled by using the "),l.j41(97,"code"),l.EFF(98,"PortalOutletConfig"),l.k0s(),l.EFF(99," input.\n"),l.k0s(),l.j41(100,"p")(101,"strong")(102,"em"),l.EFF(103," The use of portal should only be used when necessary. It might break styling and/or angular functionality, so use with care. "),l.k0s()()(),l.j41(104,"h3")(105,"code"),l.EFF(106,"DOMPortalOutlet"),l.k0s(),l.EFF(107," - Portal with outlet\n"),l.k0s(),l.j41(108,"p"),l.EFF(109," The "),l.j41(110,"code"),l.EFF(111,"DOMPortalOutlet"),l.k0s(),l.EFF(112," input must be a reference to a unique DOM element, such as the "),l.j41(113,"code"),l.EFF(114,"body"),l.k0s(),l.EFF(115," .\n"),l.k0s(),l.j41(116,"div",12)(117,"div")(118,"h3"),l.EFF(119,"How it looks"),l.k0s(),l.j41(120,"p"),l.EFF(121," One of the cases where it might be necessary to use portal, is when the menu is placed inside a "),l.j41(122,"code"),l.EFF(123,"kirby-list"),l.k0s(),l.EFF(124," . The example below exemplifies how it looks when the menu is not placed correctly in the stack. "),l.k0s(),l.j41(125,"cookbook-example-viewer")(126,"cookbook-menu-portal-in-list-wrapper-example")(127,"p",14),l.EFF(128," A menu in a "),l.j41(129,"code"),l.EFF(130,"kirby-list"),l.k0s(),l.EFF(131," \xa0 "),l.j41(132,"b"),l.EFF(133,"without"),l.k0s(),l.EFF(134," \xa0 "),l.j41(135,"code"),l.EFF(136,"DOMPortalOutlet"),l.k0s()(),l.j41(137,"div",15),l.nrm(138,"cookbook-menu-portal-example",16),l.EFF(139," <-- The menu is cut off by the list. "),l.k0s()()(),l.nrm(140,"br"),l.j41(141,"cookbook-example-viewer",13)(142,"cookbook-menu-portal-in-list-wrapper-example")(143,"p",14),l.EFF(144," A menu in a "),l.j41(145,"code"),l.EFF(146,"kirby-list"),l.k0s(),l.EFF(147," \xa0 "),l.j41(148,"b"),l.EFF(149,"with"),l.k0s(),l.EFF(150," a "),l.j41(151,"code"),l.EFF(152,"DOMPortalOutlet"),l.k0s()(),l.j41(153,"p"),l.EFF(154," The "),l.j41(155,"code"),l.EFF(156,"outletElement"),l.k0s(),l.EFF(157),l.k0s(),l.j41(158,"div",15),l.nrm(159,"cookbook-menu-portal-example",16,7),l.EFF(161," <-- The menu renders outside the menu. "),l.k0s()()()()(),l.j41(162,"h3")(163,"code"),l.EFF(164,"PortalOutletConfig"),l.k0s(),l.EFF(165," - Automatically get portal outlet\n"),l.k0s(),l.nrm(166,"p"),l.j41(167,"p"),l.EFF(168," This example will describe and show how to use "),l.j41(169,"code"),l.EFF(170,"PortalOutletConfig"),l.k0s(),l.EFF(171," input.\n"),l.k0s(),l.j41(172,"p"),l.EFF(173," Providing a "),l.j41(174,"code"),l.EFF(175,"PortalOutletConfig"),l.k0s(),l.EFF(176," to the "),l.j41(177,"code"),l.EFF(178,"PortalOutletConfig"),l.k0s(),l.EFF(179," input, will let the menu component automatically handle getting and setting of the desired "),l.j41(180,"code"),l.EFF(181,"HTMLElement"),l.k0s(),l.EFF(182," for which the menu content should portal to.\n"),l.k0s(),l.j41(183,"p")(184,"code"),l.EFF(185,"PortalOutletConfig"),l.k0s(),l.EFF(186," 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"),l.k0s(),l.j41(187,"p"),l.EFF(188,"Example:"),l.k0s(),l.nrm(189,"cookbook-code-viewer",13)(190,"cookbook-code-viewer",17),l.j41(191,"div",12)(192,"div")(193,"cookbook-example-viewer",18),l.nrm(194,"cookbook-menu-portal-config-example",null,8),l.k0s()()(),l.j41(196,"h2"),l.EFF(197,"Properties:"),l.k0s(),l.nrm(198,"cookbook-api-description-properties",19)}if(2&he){const ke=l.sdS(28),be=l.sdS(37),Ne=l.sdS(54),je=l.sdS(66),it=l.sdS(80),pt=l.sdS(160),Ye=l.sdS(195);l.R7$(26),l.Y8G("html",ke.template),l.R7$(9),l.Y8G("html",be.template),l.R7$(17),l.Y8G("html",Ne.template),l.R7$(12),l.Y8G("html",je.template),l.R7$(14),l.Y8G("html",it.template),l.R7$(60),l.Y8G("isOutletElementSet",!1),l.R7$(3),l.Y8G("html",pt.template),l.R7$(16),l.SpI(" is ",Me.isOutletElementSet," "),l.R7$(2),l.Y8G("isOutletElementSet",!0),l.R7$(30),l.Y8G("html",Me.portalOutletConfigExampleHTML),l.R7$(),l.Y8G("ts",Me.portalOutletConfigExampleTS),l.R7$(3),l.Y8G("html",Ye.template)("ts",Ye.codeSnippet),l.R7$(5),l.Y8G("properties",Me.properties)}},dependencies:[M.B,d.m,p.G,a.b,_.$,v.s,E.x,u.b,O.L,A.Wk,$.s,K.T],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}.page-example[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:40px;margin-bottom:40px}"]}),G})()},52909:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>G});var e=i(54976),t=i(34607),l=i(97064),M=i(81560),d=i(3745),p=i(26005),a=i(54438),_=i(86413),v=i(49217),E=i(22694),u=i(3271),O=i(77551),A=i(34929),$=i(83597),K=i(25981);const X=()=>["/examples","modal-route-with-url-param","1978","page1"],J=()=>({awesomeQueryParam:"awesome value"});let G=(()=>{var fe;class he{constructor(){this.advancedConfigExample=e.T,this.basicConfigExample=l.J,this.componentExample=p.K,this.outletExample=t.I,this.alertEmbeddedExample=d.x,this.alertModalConfigExample=M.h,this.isOpenExampleHtml=p.K.isOpenExampleHtml,this.isOpenCodeSnippet=p.K.isOpenCodeSnippet,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:"",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"}],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(ke){return ke.scrollIntoView({behavior:"smooth"}),!1}}return(fe=he).\u0275fac=function(ke){return new(ke||fe)},fe.\u0275cmp=a.VBU({type:fe,selectors:[["cookbook-modal-showcase"]],decls:781,vars:45,consts:[["componentBased",""],["controllerBased",""],["routeBased",""],["modalFlavors",""],["modalSizes",""],["modalContent",""],["drawerSupplementaryAction",""],["alertBeforeClose",""],["handleBrowserNavigation",""],["modalEvents",""],["returnData",""],["scrolling",""],["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"],[3,"properties"],[3,"events"],[3,"properties","columns"]],template:function(ke,be){if(1&ke){const Ne=a.RV6();a.j41(0,"section"),a.EFF(1,"\n "),a.j41(2,"p"),a.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 "),a.k0s(),a.EFF(4,"\n "),a.j41(5,"p"),a.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 "),a.k0s(),a.EFF(7,"\n "),a.j41(8,"ul"),a.EFF(9,"\n "),a.j41(10,"li"),a.EFF(11,"\n The modal comes in three different\n "),a.j41(12,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(291);return a.Njj(be.scrollTo(it))}),a.EFF(13,"flavors"),a.k0s(),a.EFF(14,"\n and\n "),a.j41(15,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(334);return a.Njj(be.scrollTo(it))}),a.EFF(16,"sizes"),a.k0s(),a.EFF(17,"\n "),a.k0s(),a.EFF(18,"\n "),a.j41(19,"li"),a.EFF(20,"\n Support for handling\n "),a.j41(21,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(622);return a.Njj(be.scrollTo(it))}),a.EFF(22,"events"),a.k0s(),a.EFF(23,"\n "),a.k0s(),a.EFF(24,"\n "),a.j41(25,"li"),a.EFF(26,"\n Support for\n "),a.j41(27,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(671);return a.Njj(be.scrollTo(it))}),a.EFF(28,"returning data"),a.k0s(),a.EFF(29,"\n from the modal to the parent/caller component\n "),a.k0s(),a.EFF(30,"\n "),a.j41(31,"li"),a.EFF(32,"\n Support for\n "),a.j41(33,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(455);return a.Njj(be.scrollTo(it))}),a.EFF(34,"showing an alert before closing"),a.k0s(),a.EFF(35,"\n "),a.k0s(),a.EFF(36,"\n "),a.j41(37,"li"),a.EFF(38,"\n Support for programmatically\n "),a.j41(39,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(692);return a.Njj(be.scrollTo(it))}),a.EFF(40,"scrolling"),a.k0s(),a.EFF(41,"\n the content\n "),a.k0s(),a.EFF(42,"\n "),a.j41(43,"li"),a.EFF(44,"\n Support for\n "),a.j41(45,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(362);return a.Njj(be.scrollTo(it))}),a.EFF(46,"fixed footer"),a.k0s(),a.EFF(47,"\n "),a.k0s(),a.EFF(48,"\n "),a.k0s(),a.EFF(49,"\n"),a.k0s(),a.EFF(50,"\n\n"),a.j41(51,"h2"),a.EFF(52,"Types of modals"),a.k0s(),a.EFF(53,"\n"),a.j41(54,"p"),a.EFF(55,"\n Modals can be either\n "),a.j41(56,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(73);return a.Njj(be.scrollTo(it))}),a.EFF(57,"component"),a.k0s(),a.EFF(58,"\n ,\n "),a.j41(59,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(114);return a.Njj(be.scrollTo(it))}),a.EFF(60,"controller"),a.k0s(),a.EFF(61,"\n or\n "),a.j41(62,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(138);return a.Njj(be.scrollTo(it))}),a.EFF(63,"route based"),a.k0s(),a.EFF(64,"\n , each with its own advantages and drawbacks as outlined in the following sections.\n"),a.k0s(),a.EFF(65,"\n\n"),a.j41(66,"p"),a.EFF(67,"\n All types of modals support a shared set of config properties such as size and flavor. See the\n "),a.j41(68,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(733);return a.Njj(be.scrollTo(it))}),a.EFF(69,"full list of shared properties"),a.k0s(),a.EFF(70,"\n for more info.\n"),a.k0s(),a.EFF(71,"\n\n"),a.j41(72,"h3",null,0),a.EFF(74,"Using the Modal Component"),a.k0s(),a.EFF(75,"\n"),a.j41(76,"p"),a.EFF(77,"\n The simplest way to show content in a modal dialog is to place it within a\n "),a.j41(78,"code"),a.EFF(79,"kirby-modal"),a.k0s(),a.EFF(80,"\n tag directly in your template.\n"),a.k0s(),a.EFF(81,"\n\n"),a.j41(82,"p"),a.EFF(83,"\n To provide a way for users to open the dialog, add an\n "),a.j41(84,"code"),a.EFF(85,"id"),a.k0s(),a.EFF(86,"\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"),a.k0s(),a.EFF(87,"\n\n"),a.j41(88,"cookbook-example-viewer",15),a.EFF(89,"\n The\n "),a.j41(90,"code"),a.EFF(91,"isOpen"),a.k0s(),a.EFF(92,"\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"),a.k0s(),a.EFF(93,"\n\n"),a.nrm(94,"cookbook-iphone",16),a.EFF(95,"\n"),a.nrm(96,"cookbook-example-viewer",17),a.EFF(97,"\n\n"),a.j41(98,"p"),a.EFF(99,"\n Make sure to nest all content inside an\n "),a.j41(100,"code"),a.EFF(101,"ng-template"),a.k0s(),a.EFF(102,"\n tag when using\n "),a.j41(103,"code"),a.EFF(104,"kirby-modal"),a.k0s(),a.EFF(105,"\n in your template. It is used internally by the\n "),a.j41(106,"code"),a.EFF(107,"ModalComponent"),a.k0s(),a.EFF(108,"\n as a\n "),a.j41(109,"i"),a.EFF(110,"hook"),a.k0s(),a.EFF(111,"\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"),a.k0s(),a.EFF(112,"\n\n"),a.j41(113,"h3",null,1),a.EFF(115,"Using the ModalController"),a.k0s(),a.EFF(116,"\n"),a.j41(117,"p"),a.EFF(118,"\n If complete control over when the dialog can be shown and dismissed is needed consider using the\n "),a.j41(119,"code"),a.EFF(120,"ModalController"),a.k0s(),a.EFF(121,"\n to instantiate it programmatically. The\n "),a.j41(122,"code"),a.EFF(123,"ModalController"),a.k0s(),a.EFF(124,"\n can be used to present a component in a modal dialog by passing a\n "),a.j41(125,"code")(126,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(748);return a.Njj(be.scrollTo(it))}),a.EFF(127,"ModalConfig"),a.k0s()(),a.EFF(128,"\n to the\n "),a.j41(129,"code"),a.EFF(130,"ModalController.showModal()"),a.k0s(),a.EFF(131,"\n method.\n"),a.k0s(),a.EFF(132,"\n\n"),a.nrm(133,"cookbook-iphone",18),a.EFF(134,"\n\n"),a.nrm(135,"cookbook-example-viewer",15),a.EFF(136,"\n\n"),a.j41(137,"h3",null,2),a.EFF(139,"Using route-based modals"),a.k0s(),a.EFF(140,"\n\n"),a.j41(141,"p"),a.EFF(142,"\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"),a.k0s(),a.EFF(143,"\n\n"),a.nrm(144,"cookbook-iphone",19),a.EFF(145,"\n\n"),a.nrm(146,"cookbook-example-viewer",15),a.EFF(147,"\n\n"),a.j41(148,"p"),a.EFF(149,"\n Showing a component on its associated route inside a modal is achieved by configuring the route\n with a\n "),a.j41(150,"a",20),a.EFF(151,"secondary outlet"),a.k0s(),a.EFF(152,"\n named\n "),a.j41(153,"strong")(154,"code"),a.EFF(155,"modal"),a.k0s()(),a.EFF(156,"\n .\n"),a.k0s(),a.EFF(157,"\n"),a.j41(158,"p"),a.EFF(159,"\n The outlet-based modal accepts a\n "),a.j41(160,"code"),a.EFF(161,"RoutedModalConfig"),a.k0s(),a.EFF(162,"\n provided via the\n "),a.j41(163,"code"),a.EFF(164,"modalConfig"),a.k0s(),a.EFF(165,"\n object passed as additional route data.\n "),a.nrm(166,"br"),a.EFF(167,"\n\n "),a.j41(168,"em"),a.EFF(169,"\n This configuration also accepts a\n "),a.j41(170,"code"),a.EFF(171,"canDismiss"),a.k0s(),a.EFF(172,"\n property to\n "),a.j41(173,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(455);return a.Njj(be.scrollTo(it))}),a.EFF(174,"show an alert before closing the modal"),a.k0s(),a.EFF(175,"\n .\n "),a.k0s(),a.EFF(176,"\n"),a.k0s(),a.EFF(177,"\n\n"),a.j41(178,"p"),a.EFF(179,"\n You can use the\n "),a.j41(180,"code"),a.EFF(181,"ModalEnabledRoutes"),a.k0s(),a.EFF(182,"\n type to enable strong typing for the\n "),a.j41(183,"code"),a.EFF(184,"ModalConfig"),a.k0s(),a.EFF(185,"\n inside the array of routes passed to Angular's\n "),a.j41(186,"code"),a.EFF(187,"RouterModule"),a.k0s(),a.EFF(188,"\n . This type directly extends the relevant Angular types, so it can be used in place of\n "),a.j41(189,"code"),a.EFF(190,"Routes"),a.k0s(),a.EFF(191,"\n or\n "),a.j41(192,"code"),a.EFF(193,"Route[]"),a.k0s(),a.EFF(194,"\n in your applications route configuration.\n"),a.k0s(),a.EFF(195,"\n"),a.nrm(196,"cookbook-example-viewer",21),a.EFF(197,"\n"),a.j41(198,"p"),a.EFF(199,"\n The URL for these kind of routes will look like this:\n "),a.j41(200,"strong")(201,"code"),a.EFF(202,"parent-component-route/(modal:some-child-route)"),a.k0s()(),a.EFF(203,"\n , where the parent component will be presented behind the modal.\n"),a.k0s(),a.EFF(204,"\n\n"),a.j41(205,"p"),a.EFF(206,"\n This means that with deeplinked modals\n "),a.j41(207,"a",22),a.EFF(208,"\n like this one\n "),a.k0s(),a.EFF(209,"\n we can send the user to a whole new context before showing the modal on top.\n"),a.k0s(),a.EFF(210,"\n\n"),a.nrm(211,"cookbook-example-viewer",17),a.EFF(212,"\n\n"),a.j41(213,"h4"),a.EFF(214,"Navigation"),a.k0s(),a.EFF(215,"\n\n"),a.j41(216,"p"),a.EFF(217,"\n Modal routes can be navigated to by adding\n "),a.j41(218,"code"),a.EFF(219,"kirbyModalRouterLink"),a.k0s(),a.EFF(220,"\n to the component's template and optionally pass query parameters with\n "),a.j41(221,"code"),a.EFF(222,"[kirbyModalQueryParams]"),a.k0s(),a.EFF(223,"\n . Alternatively, to navigate from code you can inject\n "),a.j41(224,"code"),a.EFF(225,"ModalController"),a.k0s(),a.EFF(226,"\n and call its\n "),a.j41(227,"code"),a.EFF(228,"navigateToModal"),a.k0s(),a.EFF(229,"\n method, where query params can be passed as the second argument.\n"),a.k0s(),a.EFF(230,"\n\n"),a.j41(231,"p",23),a.EFF(232,"\n "),a.j41(233,"strong"),a.EFF(234,"Please note:"),a.k0s(),a.EFF(235,'\n Always use Angular\'s "box" syntax for binding to\n '),a.j41(236,"code"),a.EFF(237,"[kirbyModalQueryParams]"),a.k0s(),a.EFF(238,"\n otherwise it will be treated as a string and not an object literal.\n"),a.k0s(),a.EFF(239,"\n\n"),a.nrm(240,"cookbook-example-viewer",15),a.EFF(241,"\n\n"),a.j41(242,"p"),a.EFF(243,"\n "),a.j41(244,"strong"),a.EFF(245,"Within the child component"),a.k0s(),a.EFF(246,"\n presented in the modal a regular Angular\n "),a.j41(247,"code"),a.EFF(248,"[routerLink]"),a.k0s(),a.EFF(249,"\n can be used with a relative path to the sibling modal route, and query params can be passed as\n normal using\n "),a.j41(250,"code"),a.EFF(251,"[queryParams]"),a.k0s(),a.EFF(252,"\n .\n"),a.k0s(),a.EFF(253,"\n\n"),a.j41(254,"p"),a.EFF(255,"\n If you need to navigate from code\n "),a.j41(256,"strong"),a.EFF(257,"within the child component"),a.k0s(),a.EFF(258,"\n you can either inject\n "),a.j41(259,"code"),a.EFF(260,"ModalController"),a.k0s(),a.EFF(261,"\n and call its\n "),a.j41(262,"code"),a.EFF(263,"navigateWithinModal"),a.k0s(),a.EFF(264,"\n method for convenience, which also support passing query params, or you can inject and navigate\n through the regular Angular\n "),a.j41(265,"code")(266,"a",24),a.EFF(267,"Router"),a.k0s()(),a.EFF(268,"\n . The latter is useful if you need to pass\n "),a.j41(269,"code"),a.EFF(270,"\n "),a.j41(271,"a",25),a.EFF(272,"NavigationExtras"),a.k0s(),a.EFF(273,"\n "),a.k0s(),a.EFF(274,"\n other than query params. Notice that when using the Angular Router you need to provide the current\n "),a.j41(275,"code"),a.EFF(276,"\n "),a.j41(277,"a",26),a.EFF(278,"ActivatedRoute"),a.k0s(),a.EFF(279,"\n "),a.k0s(),a.EFF(280,"\n as the root URI using the\n "),a.j41(281,"code"),a.EFF(282,"\n "),a.j41(283,"a",27),a.EFF(284,"\n relativeTo\n "),a.k0s(),a.EFF(285,"\n "),a.k0s(),a.EFF(286,"\n param.\n"),a.k0s(),a.EFF(287,"\n"),a.nrm(288,"cookbook-example-viewer",15),a.EFF(289,"\n\n"),a.j41(290,"h2",null,3),a.EFF(292,"Modal flavors"),a.k0s(),a.EFF(293,"\n"),a.j41(294,"p"),a.EFF(295,"\n The modal can have one of the following flavors:\n "),a.j41(296,"code"),a.EFF(297,"modal | drawer | compact"),a.k0s(),a.EFF(298,"\n"),a.k0s(),a.EFF(299,"\n\n"),a.j41(300,"h3"),a.EFF(301,"Modal"),a.k0s(),a.EFF(302,"\n"),a.j41(303,"p"),a.EFF(304,"\n With the\n "),a.j41(305,"code"),a.EFF(306,"modal"),a.k0s(),a.EFF(307,"\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"),a.k0s(),a.EFF(308,"\n"),a.j41(309,"h3"),a.EFF(310,"Drawer"),a.k0s(),a.EFF(311,"\n"),a.j41(312,"p"),a.EFF(313,"\n On small screens the\n "),a.j41(314,"code"),a.EFF(315,"drawer"),a.k0s(),a.EFF(316,"\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 "),a.j41(317,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(424);return a.Njj(be.scrollTo(it))}),a.EFF(318,"supplementary action"),a.k0s(),a.EFF(319,"\n .\n"),a.k0s(),a.EFF(320,"\n\n"),a.j41(321,"h3"),a.EFF(322,"Compact"),a.k0s(),a.EFF(323,"\n"),a.j41(324,"p"),a.EFF(325,"\n The\n "),a.j41(326,"code"),a.EFF(327,"compact"),a.k0s(),a.EFF(328,"\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 "),a.j41(329,"em"),a.EFF(330,"out-of-order"),a.k0s(),a.EFF(331,"\n style modals.\n"),a.k0s(),a.EFF(332,"\n\n"),a.j41(333,"h2",null,4),a.EFF(335,"Sizes"),a.k0s(),a.EFF(336,"\n"),a.j41(337,"p"),a.EFF(338,"\n On larger screens modals and drawers can be opened in three different sizes:\n "),a.j41(339,"code"),a.EFF(340,"small | medium | large"),a.k0s(),a.EFF(341,"\n . On smaller screens the modal is always full-screen. The compact flavor has a fixed width and\n ignores any configured size.\n"),a.k0s(),a.EFF(342,"\n"),a.j41(343,"p"),a.EFF(344,"\n Additionally\n "),a.j41(345,"code"),a.EFF(346,"customHeight"),a.k0s(),a.EFF(347,"\n can be configured to override any default height set via the\n "),a.j41(348,"code"),a.EFF(349,"size"),a.k0s(),a.EFF(350,"\n property.\n"),a.k0s(),a.EFF(351,"\n\n"),a.j41(352,"h2"),a.EFF(353,"Configuring your component"),a.k0s(),a.EFF(354,"\n"),a.j41(355,"p"),a.EFF(356,"\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 "),a.j41(357,"code"),a.EFF(358,"entryComponents"),a.k0s(),a.EFF(359,"\n in a module.\n"),a.k0s(),a.EFF(360,"\n\n"),a.j41(361,"h3",null,5),a.EFF(363,"Modal content"),a.k0s(),a.EFF(364,"\n"),a.j41(365,"p"),a.EFF(366,"\n Inside the embedded component markup you should include a\n "),a.j41(367,"code"),a.EFF(368,"kirby-page-title"),a.k0s(),a.EFF(369,"\n element with the title of your dialog.\n"),a.k0s(),a.EFF(370,"\n\n"),a.j41(371,"p"),a.EFF(372,"\n Optionally, if you have a multi-step dialog you can display a progress status in the modal header\n by including a\n "),a.j41(373,"code"),a.EFF(374,"kirby-page-progress"),a.k0s(),a.EFF(375,"\n element with the content of your progress tracker.\n"),a.k0s(),a.EFF(376,"\n"),a.j41(377,"p"),a.EFF(378,"\n To render a footer at the bottom of the modal include a\n "),a.j41(379,"code"),a.EFF(380,"kirby-modal-footer"),a.k0s(),a.EFF(381,"\n inside the embedded component.\n"),a.k0s(),a.EFF(382,"\n\n"),a.nrm(383,"cookbook-example-viewer",17),a.EFF(384,"\n\n"),a.j41(385,"h2"),a.EFF(386,"Advanced use cases"),a.k0s(),a.EFF(387,"\n"),a.j41(388,"p"),a.EFF(389,"\n This example acts as a playground where any combination of properties of the\n "),a.j41(390,"code"),a.EFF(391,"ModalConfig"),a.k0s(),a.EFF(392,"\n can be explored including the interplay between multiple types and sizes of nested modals.\n"),a.k0s(),a.EFF(393,"\n"),a.j41(394,"p"),a.EFF(395,"\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"),a.k0s(),a.EFF(396,"\n\n"),a.nrm(397,"cookbook-iphone",28),a.EFF(398,"\n\n"),a.nrm(399,"cookbook-example-viewer",15),a.EFF(400,"\n\n"),a.j41(401,"h3"),a.EFF(402,"Passing data into components"),a.k0s(),a.EFF(403,"\n"),a.j41(404,"p"),a.EFF(405,"\n To access data passed into the embedded component, inject the\n "),a.j41(406,"code"),a.EFF(407,"COMPONENT_PROPS"),a.k0s(),a.EFF(408,"\n inside the embedded component's constructor:\n"),a.k0s(),a.EFF(409,"\n"),a.nrm(410,"cookbook-code-viewer",21),a.EFF(411,"\n\n"),a.j41(412,"h3"),a.EFF(413,"Programmatically closing the modal"),a.k0s(),a.EFF(414,"\n"),a.j41(415,"p"),a.EFF(416,"\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 "),a.nrm(417,"cookbook-code-viewer",21),a.EFF(418,"\n"),a.k0s(),a.EFF(419,"\n\n"),a.j41(420,"p"),a.EFF(421,"\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"),a.k0s(),a.EFF(422,"\n\n"),a.j41(423,"h3",null,6),a.EFF(425,"Drawer - supplementary action"),a.k0s(),a.EFF(426,"\n"),a.j41(427,"p"),a.EFF(428,"\n The\n "),a.j41(429,"code"),a.EFF(430,"ModalConfig"),a.k0s(),a.EFF(431,"\n can be configured with\n "),a.j41(432,"code"),a.EFF(433,"drawerSupplementaryAction"),a.k0s(),a.EFF(434,"\n to render an additional button in the top left corner when the\n "),a.j41(435,"code"),a.EFF(436,"drawer"),a.k0s(),a.EFF(437,"\n flavor is used. The\n "),a.j41(438,"code"),a.EFF(439,"drawerSupplementaryAction"),a.k0s(),a.EFF(440,"\n option takes an\n "),a.j41(441,"code"),a.EFF(442,"iconName"),a.k0s(),a.EFF(443,"\n which corresponds to the name of a\n "),a.j41(444,"a",29)(445,"code"),a.EFF(446,"kirby-icon"),a.k0s()(),a.EFF(447,"\n and an\n "),a.j41(448,"code"),a.EFF(449,"action"),a.k0s(),a.EFF(450,"\n function which is invoked when the supplementary button is selected.\n"),a.k0s(),a.EFF(451,"\n"),a.nrm(452,"cookbook-example-viewer",21),a.EFF(453,"\n\n"),a.j41(454,"h2",null,7),a.EFF(456,"\n Show an alert before dismissing the modal\n "),a.j41(457,"em"),a.EFF(458,"(optional)"),a.k0s(),a.EFF(459,"\n :\n"),a.k0s(),a.EFF(460,"\n\n"),a.j41(461,"p"),a.EFF(462,"\n It is possible to provide a\n "),a.j41(463,"code"),a.EFF(464,"canDismiss"),a.k0s(),a.EFF(465,"\n callback to the modal that returns either a\n "),a.j41(466,"code"),a.EFF(467,"boolean"),a.k0s(),a.EFF(468,"\n or an\n "),a.j41(469,"code"),a.EFF(470,"AlertConfig"),a.k0s(),a.EFF(471,"\n . If an\n "),a.j41(472,"code"),a.EFF(473,"AlertConfig"),a.k0s(),a.EFF(474,"\n is being returned, an alert will appear when the user tries to dismiss the modal.\n"),a.k0s(),a.EFF(475,"\n"),a.j41(476,"p"),a.EFF(477,"\n When configuring the modal to show an alert before closing, you should also\n "),a.j41(478,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(552);return a.Njj(be.scrollTo(it))}),a.EFF(479,"\n guard for browser back navigation (see below)\n "),a.k0s(),a.EFF(480,"\n . Otherwise the browser will navigate behind the active modal\u2014and the alert\u2014when the user\n navigates back in history.\n"),a.k0s(),a.EFF(481,"\n"),a.j41(482,"p"),a.EFF(483,"\n The callback can be set on the parent modal from your own embedded component or provided in the\n "),a.j41(484,"code"),a.EFF(485,"ModalConfig"),a.k0s(),a.EFF(486,"\n . When using the modal component in your template the callback can be set directly via the\n "),a.j41(487,"code"),a.EFF(488,"canDismiss"),a.k0s(),a.EFF(489,"\n input property.\n"),a.k0s(),a.EFF(490,"\n"),a.j41(491,"p"),a.EFF(492,"\n "),a.j41(493,"em"),a.EFF(494,"\n "),a.j41(495,"strong"),a.EFF(496,"Please note:"),a.k0s(),a.EFF(497,"\n to avoid\n "),a.j41(498,"code"),a.EFF(499,"this"),a.k0s(),a.EFF(500,"\n being\n "),a.j41(501,"code"),a.EFF(502,"undefined"),a.k0s(),a.EFF(503,"\n in the function callback be sure to either\n "),a.j41(504,"code"),a.EFF(505,"bind()"),a.k0s(),a.EFF(506,"\n the function or use an arrow function. This can be done when defining the callback:\n "),a.j41(507,"code"),a.EFF(508),a.k0s(),a.EFF(509,"\n or when configuring the\n "),a.j41(510,"code"),a.EFF(511,"ModalConfig"),a.k0s(),a.EFF(512,"\n :\n "),a.j41(513,"code"),a.EFF(514,"canDismiss: () => this.validate()"),a.k0s(),a.EFF(515,"\n .\n "),a.j41(516,"a",30),a.EFF(517,"\n Read more on MDN\n "),a.k0s(),a.EFF(518,"\n "),a.k0s(),a.EFF(519,"\n"),a.k0s(),a.EFF(520,"\n"),a.j41(521,"p"),a.EFF(522,"The callback can be both synchronous and asynchronous."),a.k0s(),a.EFF(523,"\n\n"),a.nrm(524,"cookbook-iphone",31),a.EFF(525,"\n\n"),a.j41(526,"h4"),a.EFF(527,"Embedded component"),a.k0s(),a.EFF(528,"\n"),a.j41(529,"p"),a.EFF(530,"\n Inside the embedded component you can set the\n "),a.j41(531,"code"),a.EFF(532,"canDismiss"),a.k0s(),a.EFF(533,"\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"),a.k0s(),a.EFF(534,"\n"),a.nrm(535,"cookbook-example-viewer",21),a.EFF(536,"\n\n"),a.j41(537,"h4"),a.EFF(538,"Modal config"),a.k0s(),a.EFF(539,"\n"),a.j41(540,"p"),a.EFF(541,"\n It is also possible to provide the callback in the\n "),a.j41(542,"code"),a.EFF(543,"ModalConfig"),a.k0s(),a.EFF(544,"\n that is passed to the modal controller. The callback is passed to the config as\n "),a.j41(545,"code"),a.EFF(546,"canDismiss"),a.k0s(),a.EFF(547,"\n .\n"),a.k0s(),a.EFF(548,"\n\n"),a.nrm(549,"cookbook-example-viewer",21),a.EFF(550,"\n\n"),a.j41(551,"h4",null,8),a.EFF(553,"Handle browser back navigation"),a.k0s(),a.EFF(554,"\n"),a.j41(555,"p"),a.EFF(556,"\n When configuring the\n "),a.j41(557,"code"),a.EFF(558,"canDimiss"),a.k0s(),a.EFF(559,"\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"),a.k0s(),a.EFF(560,"\n"),a.j41(561,"p"),a.EFF(562,"\n This is achieved by setting a\n "),a.j41(563,"code"),a.EFF(564,"CanDismissModalGuard"),a.k0s(),a.EFF(565,"\n provided by Kirby in the\n "),a.j41(566,"code"),a.EFF(567,"\n "),a.j41(568,"a",32),a.EFF(569,"canDeactivate"),a.k0s(),a.EFF(570,"\n "),a.k0s(),a.EFF(571,"\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"),a.k0s(),a.EFF(572,"\n"),a.j41(573,"ul"),a.EFF(574,"\n "),a.j41(575,"li"),a.EFF(576,"\n the route with the component that opens the modal, when using a\n "),a.j41(577,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(73);return a.Njj(be.scrollTo(it))}),a.EFF(578,"component"),a.k0s(),a.EFF(579,"\n or\n "),a.j41(580,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(114);return a.Njj(be.scrollTo(it))}),a.EFF(581,"controller"),a.k0s(),a.EFF(582,"\n to open the modal\n "),a.k0s(),a.EFF(583,"\n "),a.j41(584,"li"),a.EFF(585,"\n the child route(s) with the component(s) that are shown inside the modal, when using\n "),a.j41(586,"a",14),a.bIt("click",function(){a.eBV(Ne);const it=a.sdS(138);return a.Njj(be.scrollTo(it))}),a.EFF(587,"route based modals"),a.k0s(),a.EFF(588,"\n .\n "),a.nrm(589,"br"),a.EFF(590,"\n "),a.j41(591,"em"),a.EFF(592,"\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 "),a.k0s(),a.EFF(593,"\n "),a.k0s(),a.EFF(594,"\n"),a.k0s(),a.EFF(595,"\n"),a.j41(596,"p"),a.EFF(597,"\n "),a.j41(598,"em"),a.EFF(599,"\n "),a.j41(600,"strong"),a.EFF(601,"Please note:"),a.k0s(),a.EFF(602,"\n To ensure correct browser history Angular's RouterModule should be configured with\n "),a.j41(603,"code"),a.EFF(604,"canceledNavigationResolution: 'computed'"),a.k0s(),a.EFF(605,"\n .\n "),a.k0s(),a.EFF(606,"\n"),a.k0s(),a.EFF(607,"\n"),a.nrm(608,"cookbook-example-viewer",21),a.EFF(609,"\n\n"),a.j41(610,"p"),a.EFF(611,"\n To see how the\n "),a.j41(612,"code"),a.EFF(613,"canDismiss"),a.k0s(),a.EFF(614,"\n property and the\n "),a.j41(615,"code"),a.EFF(616,"CanDismissModalGuard"),a.k0s(),a.EFF(617,"\n can prompt the user before navigating back using the browser back button you should follow these\n steps:\n"),a.k0s(),a.EFF(618,"\n\n"),a.nrm(619,"cookbook-modal-example-alert-with-guard-stepper",33),a.EFF(620,"\n\n"),a.j41(621,"h2",null,9),a.EFF(623,"Modal events"),a.k0s(),a.EFF(624,"\n"),a.j41(625,"h3"),a.EFF(626,"Modal presented"),a.k0s(),a.EFF(627,"\n"),a.j41(628,"p"),a.EFF(629,"\n The\n "),a.j41(630,"code"),a.EFF(631,"Modal"),a.k0s(),a.EFF(632,"\n fires the\n "),a.j41(633,"code"),a.EFF(634,"didPresent"),a.k0s(),a.EFF(635,"\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"),a.k0s(),a.EFF(636,"\n"),a.nrm(637,"cookbook-code-viewer",21),a.EFF(638,"\n\n"),a.j41(639,"h3"),a.EFF(640,"Modal closing"),a.k0s(),a.EFF(641,"\n"),a.j41(642,"p"),a.EFF(643,"\n The\n "),a.j41(644,"code"),a.EFF(645,"Modal"),a.k0s(),a.EFF(646,"\n fires the\n "),a.j41(647,"code"),a.EFF(648,"willClose"),a.k0s(),a.EFF(649,"\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"),a.k0s(),a.EFF(650,"\n"),a.nrm(651,"cookbook-code-viewer",21),a.EFF(652,"\n\n"),a.j41(653,"h3"),a.EFF(654,"Modal closed"),a.k0s(),a.EFF(655,"\n"),a.j41(656,"p"),a.EFF(657,"If you want to be notified when the modal closes, you can pass a callback function."),a.k0s(),a.EFF(658,"\n"),a.j41(659,"p",23),a.EFF(660,"\n "),a.j41(661,"strong"),a.EFF(662,"Please note:"),a.k0s(),a.EFF(663,"\n Remember to bind the callback function to the context of the component instance ie.\n "),a.j41(664,"code"),a.EFF(665,".bind(this)"),a.k0s(),a.EFF(666,"\n .\n"),a.k0s(),a.EFF(667,"\n\n"),a.nrm(668,"cookbook-code-viewer",21),a.EFF(669,"\n\n"),a.j41(670,"h4",null,10),a.EFF(672,"\n Return data from the modal\n "),a.j41(673,"em"),a.EFF(674,"(optional)"),a.k0s(),a.EFF(675,"\n :\n"),a.k0s(),a.EFF(676,"\n"),a.j41(677,"p"),a.EFF(678,"If you need to obtain data back from the modal, you can pass a callback function."),a.k0s(),a.EFF(679,"\n\n"),a.j41(680,"p",23),a.EFF(681,"\n "),a.j41(682,"strong"),a.EFF(683,"Please note:"),a.k0s(),a.EFF(684,"\n Remember to bind the callback function to the context of the component instance ie.\n "),a.j41(685,"code"),a.EFF(686,".bind(this)"),a.k0s(),a.EFF(687,"\n .\n"),a.k0s(),a.EFF(688,"\n\n"),a.nrm(689,"cookbook-code-viewer",21),a.EFF(690,"\n\n"),a.j41(691,"h2",null,11),a.EFF(693,"Scrolling"),a.k0s(),a.EFF(694,"\n"),a.j41(695,"p"),a.EFF(696,"\n The\n "),a.j41(697,"code"),a.EFF(698,"Modal"),a.k0s(),a.EFF(699,"\n supports scrolling to the top and bottom of the modal using the methods\n "),a.j41(700,"code"),a.EFF(701,"scrollToTop"),a.k0s(),a.EFF(702,"\n and\n "),a.j41(703,"code"),a.EFF(704,"scrollToBottom"),a.k0s(),a.EFF(705,"\n . They accept\n "),a.j41(706,"code"),a.EFF(707,"KirbyAnimation.Duration"),a.k0s(),a.EFF(708,"\n as optional param. If not provided the scrolling will happen instantaneously.\n"),a.k0s(),a.EFF(709,"\n"),a.nrm(710,"cookbook-code-viewer",21),a.EFF(711,"\n\n"),a.j41(712,"h3"),a.EFF(713,"Disable scrolling"),a.k0s(),a.EFF(714,"\n"),a.j41(715,"p"),a.EFF(716,"\n The\n "),a.j41(717,"code"),a.EFF(718,"Modal"),a.k0s(),a.EFF(719,"\n supports disabling of scrolling by setting the property\n "),a.j41(720,"code"),a.EFF(721,"scrollDisabled = true"),a.k0s(),a.EFF(722,"\n"),a.k0s(),a.EFF(723,"\n"),a.nrm(724,"cookbook-code-viewer",21),a.EFF(725,"\n\n"),a.j41(726,"p"),a.EFF(727,"\n If the\n "),a.j41(728,"code"),a.EFF(729,"snapToKeyboard"),a.k0s(),a.EFF(730,"\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"),a.k0s(),a.EFF(731,"\n\n"),a.j41(732,"h2",null,12),a.EFF(734,"Shared properties"),a.k0s(),a.EFF(735,"\n"),a.j41(736,"p",23),a.EFF(737,"\n The following properties are shared between all types of modals, and is either set via the\n "),a.j41(738,"code"),a.EFF(739,"ModalConfig"),a.k0s(),a.EFF(740,"\n (controller),\n "),a.j41(741,"code"),a.EFF(742,"RoutedModalConfig"),a.k0s(),a.EFF(743,"\n (outlet) or as individual input properties on the Modal Component.\n"),a.k0s(),a.EFF(744,"\n"),a.nrm(745,"cookbook-api-description-properties",34),a.EFF(746,"\n\n"),a.j41(747,"h2",null,13),a.EFF(749,"ModalConfig"),a.k0s(),a.EFF(750,"\n"),a.j41(751,"p",23),a.EFF(752,"\n The\n "),a.j41(753,"code"),a.EFF(754,"ModalConfig"),a.k0s(),a.EFF(755,"\n supplied to\n "),a.j41(756,"code"),a.EFF(757,"ModalController.showModal()"),a.k0s(),a.EFF(758,"\n supports all of the above mentioned modal properties, along with the following:\n"),a.k0s(),a.EFF(759,"\n"),a.nrm(760,"cookbook-api-description-properties",34),a.EFF(761,"\n\n"),a.j41(762,"h2"),a.EFF(763,"Modal footer properties"),a.k0s(),a.EFF(764,"\n"),a.nrm(765,"cookbook-api-description-properties",34),a.EFF(766,"\n\n"),a.j41(767,"h2"),a.EFF(768,"Events"),a.k0s(),a.EFF(769,"\n"),a.j41(770,"h3")(771,"code"),a.EFF(772,"Modal"),a.k0s()(),a.EFF(773,"\n"),a.nrm(774,"cookbook-api-description-events",35),a.EFF(775,"\n\n"),a.j41(776,"h2"),a.EFF(777,"CSS Custom Properties"),a.k0s(),a.EFF(778,"\n"),a.nrm(779,"cookbook-api-description-properties",36),a.EFF(780,"\n")}2&ke&&(a.R7$(88),a.Y8G("html",be.isOpenExampleHtml)("ts",be.isOpenCodeSnippet),a.R7$(6),a.Y8G("showViewModeToggle",!0),a.R7$(2),a.Y8G("html",be.componentExample.template),a.R7$(37),a.Y8G("showViewModeToggle",!0),a.R7$(2),a.Y8G("html",be.basicConfigExample.template)("ts",be.basicConfigExample.defaultCodeSnippet),a.R7$(9),a.Y8G("showViewModeToggle",!0),a.R7$(2),a.Y8G("html",be.outletExample.template)("ts",be.outletExample.defaultCodeSnippet),a.R7$(50),a.Y8G("ts",be.outletExample.modalRouteCodeSnippet),a.R7$(11),a.Y8G("kirbyModalRouterLink",a.lJ4(43,X))("kirbyModalQueryParams",a.lJ4(44,J)),a.R7$(4),a.Y8G("html",be.outletExample.deeplinkedRouterLinkWithUrlParamCodeSnippet),a.R7$(29),a.Y8G("html",be.outletExample.routerLinkForModalOutletCodeSnippet)("ts",be.outletExample.modalControllerForModalOutletCodeSnippet),a.R7$(48),a.Y8G("html",be.outletExample.routerLinkWithinModalOutletCodeSnippet)("ts",be.outletExample.modalControllerWithinModalOutletCodeSnippet),a.R7$(95),a.Y8G("html",be.advancedConfigExample.componentTemplate),a.R7$(14),a.Y8G("showViewModeToggle",!0),a.R7$(2),a.Y8G("html",be.advancedConfigExample.template)("ts",be.advancedConfigExample.defaultCodeSnippet),a.R7$(11),a.Y8G("ts",be.advancedConfigExample.embeddedCodeSnippet),a.R7$(7),a.Y8G("ts",be.advancedConfigExample.closeModalCodeSnippet),a.R7$(35),a.Y8G("ts",be.advancedConfigExample.drawerCodeSnippet),a.R7$(56),a.SpI("validate = () => ","{...}",""),a.R7$(16),a.Y8G("showViewModeToggle",!0),a.R7$(11),a.Y8G("ts",be.alertEmbeddedExample.canDismissCodeSnippet),a.R7$(14),a.Y8G("ts",be.alertModalConfigExample.codeSnippet),a.R7$(59),a.Y8G("ts",be.outletExample.modalRouteWithGuardCodeSnippet),a.R7$(11),a.Y8G("currentStep",1),a.R7$(18),a.Y8G("ts",be.advancedConfigExample.didPresentCodeSnippet),a.R7$(14),a.Y8G("ts",be.advancedConfigExample.willCloseCodeSnippet),a.R7$(17),a.Y8G("ts",be.advancedConfigExample.callbackCodeSnippet),a.R7$(21),a.Y8G("ts",be.advancedConfigExample.callbackWithDataCodeSnippet),a.R7$(21),a.Y8G("ts",be.advancedConfigExample.scrollingCodeSnippet),a.R7$(14),a.Y8G("ts",be.advancedConfigExample.disableScrollingCodeSnippet),a.R7$(21),a.Y8G("properties",be.configProperties),a.R7$(15),a.Y8G("properties",be.modalConfigProperties),a.R7$(5),a.Y8G("properties",be.footerProperties),a.R7$(9),a.Y8G("events",be.events),a.R7$(5),a.Y8G("properties",be.cssCustomProperties)("columns",be.cssCustomPropertiesColumns))},dependencies:[_.B,v.p,E.Wk,u.uQP,O.h,A.s,$.b,K.T],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}"]}),he})()},31977:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>fe});var e=i(25531),t=i(43765),l=i(83741),M=i(43511),d=i(80956),p=i(62243),a=i(13743),_=i(39357),v=i(80295),E=i(17464),u=i(54438),O=i(86413),A=i(22694),$=i(8346),K=i(77551),X=i(34929),J=i(83597),G=i(25981);let fe=(()=>{var he;class Me{constructor(){this.simpleExampleHtml=v.P.template,this.alignmentAndToolbarTitleExampleHtml=l.u.template,this.fitHeadingExampleHtml=M.E.template,this.fixedTitleAndActionsExampleHtml=p.d.template,this.fixedFooterTabsExampleHtml=d.x.template,this.fixedCustomTitleExampleHtml=p.d.customTitleTemplate,this.fixedActionsExampleHtml=p.d.fixedActionsTemplate,this.customTitleExampleHtml=t.i.template,this.advancedExampleHtml=e.D.template,this.tabNavigationHtml=E.F.template,this.tabNavigationTs=E.F.codeSnippet,this.pullToRefreshExampleHtml=a.i.template,this.pullToRefreshExampleTs=a.i.handler,this.contentWidthExampleHtml=_.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."}]}}return(fe=he).\u0275fac=function(ke){return new(ke||fe)},fe.\u0275cmp=u.VBU({type:fe,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(ke,be){1&ke&&(u.j41(0,"p"),u.EFF(1," Slides are a collection of cards you can navigate horizontally in, swipe on touch devices and click navigation on desktop.\n"),u.k0s(),u.j41(2,"h2"),u.EFF(3,"Usage"),u.k0s(),u.j41(4,"p"),u.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"),u.k0s(),u.j41(6,"p"),u.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"),u.k0s(),u.j41(8,"p"),u.EFF(9," Slides are best suited for inspirationel content where users are expected to be in an explorative mode.\n"),u.k0s(),u.j41(10,"h2"),u.EFF(11,"Basic usage"),u.k0s(),u.nrm(12,"cookbook-iphone",0)(13,"cookbook-code-viewer",1),u.j41(14,"h2"),u.EFF(15,"Inherit height"),u.k0s(),u.j41(16,"p"),u.EFF(17," If the slides have variable height, you can add the directive "),u.j41(18,"code"),u.EFF(19,"slideStretchHeight"),u.k0s(),u.EFF(20," to each slide to make them equal height as seen in the example below.\n"),u.k0s(),u.nrm(21,"cookbook-iphone",2)(22,"cookbook-code-viewer",1),u.j41(23,"p")(24,"em")(25,"strong"),u.EFF(26,"*Please note:"),u.k0s(),u.EFF(27," If you use "),u.j41(28,"code"),u.EFF(29,"kirbySlide"),u.k0s(),u.EFF(30," directive on a "),u.j41(31,"code"),u.EFF(32,"kirby-card"),u.k0s(),u.EFF(33," , it can be necessary to apply the following styling. "),u.k0s()(),u.nrm(34,"cookbook-code-viewer",3),u.j41(35,"h2"),u.EFF(36,"Advanced usage"),u.k0s(),u.nrm(37,"cookbook-iphone",4)(38,"cookbook-example-viewer",1),u.j41(39,"h3"),u.EFF(40,"Custom configuration"),u.k0s(),u.j41(41,"p"),u.EFF(42," The "),u.j41(43,"code"),u.EFF(44,"kirby-slides"),u.k0s(),u.EFF(45," uses "),u.j41(46,"code"),u.EFF(47,"swiper.js"),u.k0s(),u.EFF(48," under the hood and accepts the same "),u.j41(49,"a",5),u.EFF(50," configuration "),u.k0s(),u.EFF(51," as "),u.j41(52,"code"),u.EFF(53,"swiper.js"),u.k0s(),u.EFF(54," . The component comes with this default config:\n"),u.k0s(),u.nrm(55,"cookbook-code-viewer",6)(56,"br"),u.j41(57,"p"),u.EFF(58," This config can be extended by passing in "),u.j41(59,"code"),u.EFF(60,"slidesOptions"),u.k0s(),u.EFF(61," as shown in the example above, which uses this config:\n"),u.k0s(),u.nrm(62,"cookbook-code-viewer",6),u.j41(63,"p")(64,"em")(65,"strong"),u.EFF(66,"*Please note:"),u.k0s(),u.EFF(67," If you specify any "),u.j41(68,"code"),u.EFF(69,"swiper.js"),u.k0s(),u.EFF(70," events through the "),u.j41(71,"code"),u.EFF(72,"on"),u.k0s(),u.EFF(73," config parameter , the component's "),u.j41(74,"code"),u.EFF(75,"slideChange"),u.k0s(),u.EFF(76," output event will not emit. "),u.k0s()(),u.j41(77,"p")(78,"em")(79,"strong"),u.EFF(80,"**Please note:"),u.k0s(),u.EFF(81," If you overwrite "),u.j41(82,"code"),u.EFF(83,"slidesPerView"),u.k0s(),u.EFF(84," on small screens please ensure visual affordance by including a fraction of the next slide, e.g. "),u.j41(85,"code"),u.EFF(86,"1.1"),u.k0s(),u.EFF(87," , as the navigation controls are hidden on small screens. We recommend using the default value of "),u.j41(88,"code"),u.EFF(89,"1.2"),u.k0s(),u.EFF(90," . "),u.k0s()(),u.j41(91,"h2"),u.EFF(92,"Slots"),u.k0s(),u.j41(93,"p"),u.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"),u.k0s(),u.j41(95,"h2"),u.EFF(96,"Properties:"),u.k0s(),u.nrm(97,"cookbook-api-description-properties",7),u.j41(98,"h2"),u.EFF(99,"Events:"),u.k0s(),u.nrm(100,"cookbook-api-description-events",8),u.j41(101,"h2"),u.EFF(102,"Methods:"),u.k0s(),u.nrm(103,"cookbook-api-description-methods",9),u.j41(104,"h2"),u.EFF(105,"Directives:"),u.k0s(),u.nrm(106,"cookbook-api-description-properties",10)),2&ke&&(u.R7$(12),u.Y8G("showViewModeToggle",!0),u.R7$(),u.Y8G("html",be.defaultExampleComponentHTML),u.R7$(8),u.Y8G("showViewModeToggle",!0),u.R7$(),u.Y8G("html",be.heightExampleComponentHTML),u.R7$(12),u.Y8G("css",be.heightExampleComponentCSS),u.R7$(3),u.Y8G("showViewModeToggle",!0),u.R7$(),u.Y8G("html",be.advancedExampleComponentHTML),u.R7$(17),u.Y8G("ts",be.slidesDefaultConfig),u.R7$(7),u.Y8G("ts",be.customConfigExample),u.R7$(35),u.Y8G("properties",be.properties),u.R7$(3),u.Y8G("events",be.events),u.R7$(3),u.Y8G("methods",be.methods),u.R7$(3),u.Y8G("columns",be.directiveColumns)("properties",be.directives))},dependencies:[O.B,A.h,$.s,K.b,X.Q,J.T],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}"]}),he})()},49063:(Ze,z,i)=>{"use strict";i.d(z,{u:()=>d});var t=i(54438),l=i(57123),M=i(86413);let d=(()=>{var p;class a{constructor(){this.exampleHtml="\n"}}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=t.VBU({type:p,selectors:[["cookbook-spinner-showcase"]],decls:3,vars:1,consts:[[1,"example"],[3,"html"]],template:function(v,E){1&v&&(t.j41(0,"div",0),t.nrm(1,"cookbook-spinner-example")(2,"cookbook-code-viewer",1),t.k0s()),2&v&&(t.R7$(2),t.Y8G("html",E.exampleHtml))},dependencies:[l.L,M.B],encapsulation:2}),a})()},42417:(Ze,z,i)=>{"use strict";i.d(z,{r:()=>E});var e=i(43641),t=i(54438),l=i(94095),M=i(14999),d=i(22694),p=i(98990),a=i(32667),_=i(34929),v=i(25981);let E=(()=>{var u;class O{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[]"]},...e.a,{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=e.r.columns,this._cssCustomProperties=e.r.apiDescription}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=t.VBU({type:u,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($,K){if(1&$&&(t.j41(0,"p")(1,"em")(2,"strong"),t.EFF(3,"Note:"),t.k0s(),t.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 "),t.j41(5,"a",2),t.EFF(6,"this issue"),t.k0s(),t.EFF(7," in the Github repository. "),t.k0s()(),t.j41(8,"p"),t.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"),t.k0s(),t.j41(10,"p"),t.EFF(11," The "),t.j41(12,"code"),t.EFF(13,"kirby-stock-chart"),t.k0s(),t.EFF(14," element shares a lot of its API with the "),t.j41(15,"code"),t.EFF(16,"kirby-chart"),t.k0s(),t.EFF(17," element. For more info and examples see: "),t.j41(18,"a",3),t.EFF(19,"the chart showcase"),t.k0s(),t.EFF(20," .\n"),t.k0s(),t.j41(21,"p"),t.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"),t.k0s(),t.j41(23,"p")(24,"b"),t.EFF(25,"Please note"),t.k0s(),t.EFF(26," that this chart only accepts data where each datapoint consists of a value for both x and y.\n"),t.k0s(),t.j41(27,"small")(28,"pre"),t.EFF(29),t.k0s()(),t.j41(30,"p")(31,"kirby-card",4)(32,"cookbook-example-viewer",5),t.nrm(33,"cookbook-chart-example-stock",null,0),t.k0s()()(),t.j41(35,"h2"),t.EFF(36,"Stock Chart with multiple datasets"),t.k0s(),t.j41(37,"p"),t.EFF(38," It is possible to show and compare the price of multiple securities in one chart. The "),t.j41(39,"code"),t.EFF(40,"ChartDataLabelOptions"),t.k0s(),t.EFF(41," property "),t.j41(42,"code"),t.EFF(43,"valueSuffix"),t.k0s(),t.EFF(44," can be useful if for example data comes in percent. By setting "),t.j41(45,"code"),t.EFF(46,"valueSuffix"),t.k0s(),t.EFF(47," to the string "),t.j41(48,"code"),t.EFF(49,"'%'"),t.k0s(),t.EFF(50," values in the data labels will be suffixed with '%' as can be seen on the below example.\n"),t.k0s(),t.j41(51,"p")(52,"kirby-card",4)(53,"cookbook-example-viewer",5),t.nrm(54,"cookbook-chart-example-stock-comparison",null,1),t.k0s()()(),t.nrm(56,"kirby-divider",6),t.j41(57,"h2"),t.EFF(58,"API Description"),t.k0s(),t.nrm(59,"cookbook-api-description-properties",7)(60,"kirby-divider",6),t.j41(61,"h2"),t.EFF(62,"ChartDataLabelOptions Description"),t.k0s(),t.nrm(63,"cookbook-api-description-properties",7)(64,"kirby-divider",6),t.j41(65,"h2"),t.EFF(66,"CSS Custom Properties"),t.k0s(),t.nrm(67,"cookbook-api-description-properties",8)),2&$){const X=t.sdS(34),J=t.sdS(55);t.R7$(29),t.Lme(" ","{","\n x: 1231831920, // Time as epoch timestamp\n y: 10 // Value at time 'x'\n ","}","\n"),t.R7$(2),t.Y8G("hasPadding",K._cardHasPadding),t.R7$(),t.Y8G("html",X.template)("ts",X.codeSnippet),t.R7$(20),t.Y8G("hasPadding",K._cardHasPadding),t.R7$(),t.Y8G("html",J.template)("ts",J.codeSnippet),t.R7$(3),t.Y8G("hasMargin",!0),t.R7$(3),t.Y8G("properties",K._apiDescriptionProperties),t.R7$(),t.Y8G("hasMargin",!0),t.R7$(3),t.Y8G("properties",K._chartDataLabelOptions),t.R7$(),t.Y8G("hasMargin",!0),t.R7$(3),t.Y8G("properties",K._cssCustomProperties)("columns",K._cssCustomPropertiesColumns)}},dependencies:[l.e,M.J,d.Wk,p.ib,a.h,_.s,v.T],encapsulation:2}),O})()},14798:(Ze,z,i)=>{"use strict";i.d(z,{X:()=>M});var e=i(54438),t=i(90107),l=i(86413);let M=(()=>{var d;class p{}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["cookbook-styling-list-showcase"]],decls:45,vars:6,consts:[["language","css"]],template:function(_,v){1&_&&(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&_&&(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:[t.Q,l.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}"]}),p})()},21779:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>p});var t=i(54438),l=i(86413),M=i(77551),d=i(25981);let p=(()=>{var a;class _{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"]}]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,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(E,u){1&E&&(t.j41(0,"div",0)(1,"div")(2,"h2"),t.EFF(3,"Tabs"),t.k0s(),t.j41(4,"p"),t.EFF(5," Tabs are a top level navigation component to implement a tab-based navigation. The component is a container of individual content. "),t.k0s(),t.j41(6,"h4"),t.EFF(7,"Icons"),t.k0s(),t.j41(8,"p"),t.EFF(9," An icon for the tab can be specified by nesting a "),t.j41(10,"code"),t.EFF(11,"kirby-icon"),t.k0s(),t.EFF(12," inside the "),t.j41(13,"code"),t.EFF(14,"kirby-tab-button"),t.k0s(),t.EFF(15," tag. "),t.k0s(),t.j41(16,"h3"),t.EFF(17,"Alternative icon for selected tab"),t.k0s(),t.j41(18,"p"),t.EFF(19," If you need a different icon for the selected state of the tab, you can specify an additional icon with the attribute: "),t.j41(20,"code"),t.EFF(21,"selected-tab"),t.k0s(),t.EFF(22," (see example below). "),t.k0s(),t.nrm(23,"cookbook-code-viewer",1),t.k0s(),t.nrm(24,"cookbook-iphone",2),t.k0s(),t.j41(25,"h2"),t.EFF(26,"Router integration:"),t.k0s(),t.j41(27,"p"),t.EFF(28," When used with Angular's router the "),t.j41(29,"code"),t.EFF(30,"tab"),t.k0s(),t.EFF(31," property of the "),t.j41(32,"code"),t.EFF(33,"kirby-tab-button"),t.k0s(),t.EFF(34," should be a reference to the route path.\n"),t.k0s(),t.j41(35,"p"),t.EFF(36," Content of a tab will automatically be included by a "),t.j41(37,"code"),t.EFF(38,"router-outlet"),t.k0s(),t.EFF(39," . Therefore the route specified by the tab button's "),t.j41(40,"code"),t.EFF(41,"tab"),t.k0s(),t.EFF(42,' property should be a child route of the route hosting your "tabs page" component.\n'),t.k0s(),t.nrm(43,"cookbook-code-viewer",1)(44,"cookbook-code-viewer",3)(45,"br"),t.j41(46,"h2"),t.EFF(47,"Tab Button properties:"),t.k0s(),t.nrm(48,"cookbook-api-description-properties",4)(49,"br"),t.j41(50,"h2"),t.EFF(51,"Tabs Service"),t.k0s(),t.EFF(52,"\nThe tabs service gives you access to the tabs outlet by just injecting the service into your\ncomponent\n"),t.nrm(53,"cookbook-code-viewer",3)),2&E&&(t.R7$(23),t.Y8G("html",u.exampleHtml),t.R7$(20),t.Y8G("html",u.exampleRouterHtml),t.R7$(),t.Y8G("ts",u.exampleRouterConfig),t.R7$(4),t.Y8G("properties",u.properties),t.R7$(5),t.Y8G("ts",u.exampleTabsService))},dependencies:[l.B,M.h,d.T],styles:[".tabs-example[_ngcontent-%COMP%]{display:flex;margin-top:40px;margin-bottom:40px}"]}),_})()},58554:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>p});var t=i(54438),l=i(7387),M=i(86413),d=i(25981);let p=(()=>{var a;class _{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"]}]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["cookbook-toast-showcase"]],decls:25,vars:6,consts:[[1,"example"],[3,"html"],["language","ts"],[3,"properties"]],template:function(E,u){1&E&&(t.j41(0,"div",0),t.nrm(1,"cookbook-toast-example")(2,"cookbook-code-viewer",1),t.EFF(3," To show the toast, create a "),t.j41(4,"code"),t.EFF(5,"ToastConfig"),t.k0s(),t.EFF(6," and pass it to "),t.j41(7,"code"),t.EFF(8,"toastController.showToast"),t.k0s(),t.j41(9,"cookbook-code-viewer",2),t.EFF(10,"const config: ToastConfig = "),t.j41(11,"pre"),t.EFF(12),t.k0s()(),t.EFF(13," (Optional) if you need to know when the toast is dismissed, you can pass a callback function: "),t.j41(14,"cookbook-code-viewer",2),t.EFF(15,"this.toastController.showToast(config, myCallback);"),t.k0s(),t.EFF(16," where "),t.j41(17,"code"),t.EFF(18,"myCallback"),t.k0s(),t.EFF(19," can be e.g.: "),t.j41(20,"cookbook-code-viewer",2),t.EFF(21),t.k0s(),t.j41(22,"h4"),t.EFF(23,"Toast config properties:"),t.k0s(),t.nrm(24,"cookbook-api-description-properties",3),t.k0s()),2&E&&(t.R7$(2),t.Y8G("html",u.exampleHtml),t.R7$(10),t.Lme("","{","\n message: 'Your toast message',\n messageType: 'success',\n durationInMs: 5000,\n","}",";\nthis.toastController.showToast(config);\n"),t.R7$(9),t.Lme("myCallback() ","{","\n...\n","}",""),t.R7$(3),t.Y8G("properties",u.properties))},dependencies:[l.x,M.B,d.T],encapsulation:2}),_})()},9433:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>p});var e=i(44354),t=i(54438),l=i(83747),M=i(34929),d=i(25981);let p=(()=>{var a;class _{constructor(){this.notificationColors=e.A.notificationColors.map(E=>E.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}]}}return(a=_).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=t.VBU({type:a,selectors:[["ng-component"]],decls:10,vars:3,consts:[["toggleButtonExample",""],[1,"example"],[3,"html"],[3,"properties"]],template:function(E,u){if(1&E&&(t.j41(0,"div",1)(1,"cookbook-example-viewer",2),t.nrm(2,"cookbook-toggle-button-example",null,0),t.k0s(),t.j41(4,"h2"),t.EFF(5,"Toggle Button properties:"),t.k0s(),t.nrm(6,"cookbook-api-description-properties",3),t.j41(7,"h2"),t.EFF(8,"Button properties:"),t.k0s(),t.nrm(9,"cookbook-api-description-properties",3),t.k0s()),2&E){const O=t.sdS(3);t.R7$(),t.Y8G("html",O.template),t.R7$(5),t.Y8G("properties",u.properties),t.R7$(3),t.Y8G("properties",u.buttonProperties)}},dependencies:[l.m,M.s,d.T],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}"]}),_})()},88242:(Ze,z,i)=>{"use strict";i.d(z,{f:()=>v});var t=i(54438),l=i(86413),M=i(55644),d=i(92772),p=i(32667),a=i(34929),_=i(25981);let v=(()=>{var E;class u{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"]}]}}return(E=u).\u0275fac=function(A){return new(A||E)},E.\u0275cmp=t.VBU({type:E,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(A,$){if(1&A&&(t.j41(0,"div",2)(1,"p"),t.EFF(2," Toggle is an input control for binary options, commonly used for managing choices and switches. "),t.k0s(),t.nrm(3,"kirby-divider",3),t.j41(4,"h2"),t.EFF(5,"Examples"),t.k0s(),t.nrm(6,"cookbook-toggle-default-example",null,0)(8,"cookbook-code-viewer",4),t.j41(9,"h2"),t.EFF(10,"Angular Forms"),t.k0s(),t.j41(11,"p"),t.EFF(12," The toggle can be used directly in "),t.j41(13,"a",5),t.EFF(14,"template driven"),t.k0s(),t.EFF(15," and "),t.j41(16,"a",6),t.EFF(17,"reactive forms"),t.k0s(),t.EFF(18," . To use toggle in a reactive form, bind your form control to "),t.j41(19,"code"),t.EFF(20,""),t.k0s(),t.EFF(21," with simple data binding: "),t.k0s(),t.j41(22,"cookbook-code-viewer",7),t.EFF(23,'\n// or simply:\n '),t.k0s(),t.j41(24,"cookbook-example-viewer",8),t.nrm(25,"cookbook-toggle-reactive-forms-example",null,1),t.k0s(),t.j41(27,"h2"),t.EFF(28,"Accessibility"),t.k0s(),t.j41(29,"p"),t.EFF(30," Always provide a label for the toggle to inform screen reader users what the toggle is controlling. "),t.k0s(),t.j41(31,"p"),t.EFF(32," When using the toggle without a visible label, set the "),t.j41(33,"code"),t.EFF(34,"aria-label"),t.k0s(),t.EFF(35," property instead. "),t.k0s(),t.j41(36,"h2"),t.EFF(37,"API"),t.k0s(),t.j41(38,"h3"),t.EFF(39,"Properties:"),t.k0s(),t.nrm(40,"cookbook-api-description-properties",9),t.k0s()),2&A){const K=t.sdS(7),X=t.sdS(26);t.R7$(3),t.Y8G("hasMargin",!0),t.R7$(5),t.Y8G("html",K.template),t.R7$(14),t.Y8G("inlineLabel",!0),t.R7$(2),t.Y8G("html",X.template)("ts",X.codeSnippet),t.R7$(16),t.Y8G("properties",$.properties)}},dependencies:[l.B,M.j,d.y,p.h,a.s,_.T],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}"]}),u})()},99465:(Ze,z,i)=>{"use strict";i.d(z,{M:()=>t});var e=i(54438);let t=(()=>{var l;class M{}return(l=M).\u0275fac=function(p){return new(p||l)},l.\u0275cmp=e.VBU({type:l,selectors:[["cookbook-toolbar-showcase"]],decls:19,vars:0,consts:[[1,"example"],["href","/home/showcase/page"]],template:function(p,a){1&p&&(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}),M})()},96331:(Ze,z,i)=>{"use strict";var e=i(345),t=i(54438),l=i(60177),M=i(10467),d=i(7673),p=i(71985),a=i(86648),_=i(70274),v=i(5964),E=i(96354),u=i(70980),O=i(25558);class A{}class ${}class K{constructor(w){this.normalizedNames=new Map,this.lazyUpdate=null,w?"string"==typeof w?this.lazyInit=()=>{this.headers=new Map,w.split("\n").forEach(R=>{const V=R.indexOf(":");if(V>0){const ve=R.slice(0,V),$e=ve.toLowerCase(),vt=R.slice(V+1).trim();this.maybeSetNormalizedName(ve,$e),this.headers.has($e)?this.headers.get($e).push(vt):this.headers.set($e,[vt])}})}:typeof Headers<"u"&&w instanceof Headers?(this.headers=new Map,w.forEach((R,V)=>{this.setHeaderEntries(V,R)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(w).forEach(([R,V])=>{this.setHeaderEntries(R,V)})}:this.headers=new Map}has(w){return this.init(),this.headers.has(w.toLowerCase())}get(w){this.init();const R=this.headers.get(w.toLowerCase());return R&&R.length>0?R[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(w){return this.init(),this.headers.get(w.toLowerCase())||null}append(w,R){return this.clone({name:w,value:R,op:"a"})}set(w,R){return this.clone({name:w,value:R,op:"s"})}delete(w,R){return this.clone({name:w,value:R,op:"d"})}maybeSetNormalizedName(w,R){this.normalizedNames.has(R)||this.normalizedNames.set(R,w)}init(){this.lazyInit&&(this.lazyInit instanceof K?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(w=>this.applyUpdate(w)),this.lazyUpdate=null))}copyFrom(w){w.init(),Array.from(w.headers.keys()).forEach(R=>{this.headers.set(R,w.headers.get(R)),this.normalizedNames.set(R,w.normalizedNames.get(R))})}clone(w){const R=new K;return R.lazyInit=this.lazyInit&&this.lazyInit instanceof K?this.lazyInit:this,R.lazyUpdate=(this.lazyUpdate||[]).concat([w]),R}applyUpdate(w){const R=w.name.toLowerCase();switch(w.op){case"a":case"s":let V=w.value;if("string"==typeof V&&(V=[V]),0===V.length)return;this.maybeSetNormalizedName(w.name,R);const ve=("a"===w.op?this.headers.get(R):void 0)||[];ve.push(...V),this.headers.set(R,ve);break;case"d":const $e=w.value;if($e){let vt=this.headers.get(R);if(!vt)return;vt=vt.filter(Rt=>-1===$e.indexOf(Rt)),0===vt.length?(this.headers.delete(R),this.normalizedNames.delete(R)):this.headers.set(R,vt)}else this.headers.delete(R),this.normalizedNames.delete(R)}}setHeaderEntries(w,R){const V=(Array.isArray(R)?R:[R]).map($e=>$e.toString()),ve=w.toLowerCase();this.headers.set(ve,V),this.maybeSetNormalizedName(w,ve)}forEach(w){this.init(),Array.from(this.normalizedNames.keys()).forEach(R=>w(this.normalizedNames.get(R),this.headers.get(R)))}}class J{encodeKey(w){return Me(w)}encodeValue(w){return Me(w)}decodeKey(w){return decodeURIComponent(w)}decodeValue(w){return decodeURIComponent(w)}}const fe=/%(\d[a-f0-9])/gi,he={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Me(T){return encodeURIComponent(T).replace(fe,(w,R)=>he[R]??w)}function ke(T){return`${T}`}class be{constructor(w={}){if(this.updates=null,this.cloneFrom=null,this.encoder=w.encoder||new J,w.fromString){if(w.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function G(T,w){const R=new Map;return T.length>0&&T.replace(/^\?/,"").split("&").forEach(ve=>{const $e=ve.indexOf("="),[vt,Rt]=-1==$e?[w.decodeKey(ve),""]:[w.decodeKey(ve.slice(0,$e)),w.decodeValue(ve.slice($e+1))],wn=R.get(vt)||[];wn.push(Rt),R.set(vt,wn)}),R}(w.fromString,this.encoder)}else w.fromObject?(this.map=new Map,Object.keys(w.fromObject).forEach(R=>{const V=w.fromObject[R],ve=Array.isArray(V)?V.map(ke):[ke(V)];this.map.set(R,ve)})):this.map=null}has(w){return this.init(),this.map.has(w)}get(w){this.init();const R=this.map.get(w);return R?R[0]:null}getAll(w){return this.init(),this.map.get(w)||null}keys(){return this.init(),Array.from(this.map.keys())}append(w,R){return this.clone({param:w,value:R,op:"a"})}appendAll(w){const R=[];return Object.keys(w).forEach(V=>{const ve=w[V];Array.isArray(ve)?ve.forEach($e=>{R.push({param:V,value:$e,op:"a"})}):R.push({param:V,value:ve,op:"a"})}),this.clone(R)}set(w,R){return this.clone({param:w,value:R,op:"s"})}delete(w,R){return this.clone({param:w,value:R,op:"d"})}toString(){return this.init(),this.keys().map(w=>{const R=this.encoder.encodeKey(w);return this.map.get(w).map(V=>R+"="+this.encoder.encodeValue(V)).join("&")}).filter(w=>""!==w).join("&")}clone(w){const R=new be({encoder:this.encoder});return R.cloneFrom=this.cloneFrom||this,R.updates=(this.updates||[]).concat(w),R}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(w=>this.map.set(w,this.cloneFrom.map.get(w))),this.updates.forEach(w=>{switch(w.op){case"a":case"s":const R=("a"===w.op?this.map.get(w.param):void 0)||[];R.push(ke(w.value)),this.map.set(w.param,R);break;case"d":if(void 0===w.value){this.map.delete(w.param);break}{let V=this.map.get(w.param)||[];const ve=V.indexOf(ke(w.value));-1!==ve&&V.splice(ve,1),V.length>0?this.map.set(w.param,V):this.map.delete(w.param)}}}),this.cloneFrom=this.updates=null)}}class je{constructor(){this.map=new Map}set(w,R){return this.map.set(w,R),this}get(w){return this.map.has(w)||this.map.set(w,w.defaultValue()),this.map.get(w)}delete(w){return this.map.delete(w),this}has(w){return this.map.has(w)}keys(){return this.map.keys()}}function pt(T){return typeof ArrayBuffer<"u"&&T instanceof ArrayBuffer}function Ye(T){return typeof Blob<"u"&&T instanceof Blob}function St(T){return typeof FormData<"u"&&T instanceof FormData}class at{constructor(w,R,V,ve){let $e;if(this.url=R,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=w.toUpperCase(),function it(T){switch(T){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ve?(this.body=void 0!==V?V:null,$e=ve):$e=V,$e&&(this.reportProgress=!!$e.reportProgress,this.withCredentials=!!$e.withCredentials,$e.responseType&&(this.responseType=$e.responseType),$e.headers&&(this.headers=$e.headers),$e.context&&(this.context=$e.context),$e.params&&(this.params=$e.params),this.transferCache=$e.transferCache),this.headers??=new K,this.context??=new je,this.params){const vt=this.params.toString();if(0===vt.length)this.urlWithParams=R;else{const Rt=R.indexOf("?");this.urlWithParams=R+(-1===Rt?"?":Rtqo.set(oi,w.setHeaders[oi]),Vn)),w.setParams&&($o=Object.keys(w.setParams).reduce((qo,oi)=>qo.set(oi,w.setParams[oi]),$o)),new at(R,V,vt,{params:$o,headers:Vn,context:Xo,reportProgress:wn,responseType:ve,withCredentials:Rt,transferCache:$e})}}var Ge=function(T){return T[T.Sent=0]="Sent",T[T.UploadProgress=1]="UploadProgress",T[T.ResponseHeader=2]="ResponseHeader",T[T.DownloadProgress=3]="DownloadProgress",T[T.Response=4]="Response",T[T.User=5]="User",T}(Ge||{});class gt{constructor(w,R=200,V="OK"){this.headers=w.headers||new K,this.status=void 0!==w.status?w.status:R,this.statusText=w.statusText||V,this.url=w.url||null,this.ok=this.status>=200&&this.status<300}}class mn extends gt{constructor(w={}){super(w),this.type=Ge.ResponseHeader}clone(w={}){return new mn({headers:w.headers||this.headers,status:void 0!==w.status?w.status:this.status,statusText:w.statusText||this.statusText,url:w.url||this.url||void 0})}}class _t extends gt{constructor(w={}){super(w),this.type=Ge.Response,this.body=void 0!==w.body?w.body:null}clone(w={}){return new _t({body:void 0!==w.body?w.body:this.body,headers:w.headers||this.headers,status:void 0!==w.status?w.status:this.status,statusText:w.statusText||this.statusText,url:w.url||this.url||void 0})}}class Ke extends gt{constructor(w){super(w,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${w.url||"(unknown url)"}`:`Http failure response for ${w.url||"(unknown url)"}: ${w.status} ${w.statusText}`,this.error=w.error||null}}function Bt(T,w){return{body:w,headers:T.headers,context:T.context,observe:T.observe,params:T.params,reportProgress:T.reportProgress,responseType:T.responseType,withCredentials:T.withCredentials,transferCache:T.transferCache}}let It=(()=>{var T;class w{constructor(V){this.handler=V}request(V,ve,$e={}){let vt;if(V instanceof at)vt=V;else{let Vn,$o;Vn=$e.headers instanceof K?$e.headers:new K($e.headers),$e.params&&($o=$e.params instanceof be?$e.params:new be({fromObject:$e.params})),vt=new at(V,ve,void 0!==$e.body?$e.body:null,{headers:Vn,context:$e.context,params:$o,reportProgress:$e.reportProgress,responseType:$e.responseType||"json",withCredentials:$e.withCredentials,transferCache:$e.transferCache})}const Rt=(0,d.of)(vt).pipe((0,_.H)(Vn=>this.handler.handle(Vn)));if(V instanceof at||"events"===$e.observe)return Rt;const wn=Rt.pipe((0,v.p)(Vn=>Vn instanceof _t));switch($e.observe||"body"){case"body":switch(vt.responseType){case"arraybuffer":return wn.pipe((0,E.T)(Vn=>{if(null!==Vn.body&&!(Vn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Vn.body}));case"blob":return wn.pipe((0,E.T)(Vn=>{if(null!==Vn.body&&!(Vn.body instanceof Blob))throw new Error("Response is not a Blob.");return Vn.body}));case"text":return wn.pipe((0,E.T)(Vn=>{if(null!==Vn.body&&"string"!=typeof Vn.body)throw new Error("Response is not a string.");return Vn.body}));default:return wn.pipe((0,E.T)(Vn=>Vn.body))}case"response":return wn;default:throw new Error(`Unreachable: unhandled observe type ${$e.observe}}`)}}delete(V,ve={}){return this.request("DELETE",V,ve)}get(V,ve={}){return this.request("GET",V,ve)}head(V,ve={}){return this.request("HEAD",V,ve)}jsonp(V,ve){return this.request("JSONP",V,{params:(new be).append(ve,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(V,ve={}){return this.request("OPTIONS",V,ve)}patch(V,ve,$e={}){return this.request("PATCH",V,Bt($e,ve))}post(V,ve,$e={}){return this.request("POST",V,Bt($e,ve))}put(V,ve,$e={}){return this.request("PUT",V,Bt($e,ve))}}return(T=w).\u0275fac=function(V){return new(V||T)(t.KVO(A))},T.\u0275prov=t.jDH({token:T,factory:T.\u0275fac}),w})();const Nn=/^\)\]\}',?\n/;function xo(T){if(T.url)return T.url;const w="X-Request-URL".toLocaleLowerCase();return T.headers.get(w)}let Kn=(()=>{var T;class w{constructor(){this.fetchImpl=(0,t.WQX)(xt,{optional:!0})?.fetch??((...V)=>globalThis.fetch(...V)),this.ngZone=(0,t.WQX)(t.SKi)}handle(V){return new p.c(ve=>{const $e=new AbortController;return this.doRequest(V,$e.signal,ve).then(Ht,vt=>ve.error(new Ke({error:vt}))),()=>$e.abort()})}doRequest(V,ve,$e){var vt=this;return(0,M.A)(function*(){const Rt=vt.createRequestInit(V);let wn;try{const Bi=vt.ngZone.runOutsideAngular(()=>vt.fetchImpl(V.urlWithParams,{signal:ve,...Rt}));(function $t(T){T.then(Ht,Ht)})(Bi),$e.next({type:Ge.Sent}),wn=yield Bi}catch(Bi){return void $e.error(new Ke({error:Bi,status:Bi.status??0,statusText:Bi.statusText,url:V.urlWithParams,headers:Bi.headers}))}const Vn=new K(wn.headers),$o=wn.statusText,Xo=xo(wn)??V.urlWithParams;let qo=wn.status,oi=null;if(V.reportProgress&&$e.next(new mn({headers:Vn,status:qo,statusText:$o,url:Xo})),wn.body){const Bi=wn.headers.get("content-length"),Hi=[],ur=wn.body.getReader();let xs,br,Vr=0;const Vi=typeof Zone<"u"&&Zone.current;yield vt.ngZone.runOutsideAngular((0,M.A)(function*(){for(;;){const{done:Ms,value:Us}=yield ur.read();if(Ms)break;if(Hi.push(Us),Vr+=Us.length,V.reportProgress){br="text"===V.responseType?(br??"")+(xs??=new TextDecoder).decode(Us,{stream:!0}):void 0;const za=()=>$e.next({type:Ge.DownloadProgress,total:Bi?+Bi:void 0,loaded:Vr,partialText:br});Vi?Vi.run(za):za()}}}));const zs=vt.concatChunks(Hi,Vr);try{const Ms=wn.headers.get("Content-Type")??"";oi=vt.parseBody(V,zs,Ms)}catch(Ms){return void $e.error(new Ke({error:Ms,headers:new K(wn.headers),status:wn.status,statusText:wn.statusText,url:xo(wn)??V.urlWithParams}))}}0===qo&&(qo=oi?200:0),qo>=200&&qo<300?($e.next(new _t({body:oi,headers:Vn,status:qo,statusText:$o,url:Xo})),$e.complete()):$e.error(new Ke({error:oi,headers:Vn,status:qo,statusText:$o,url:Xo}))})()}parseBody(V,ve,$e){switch(V.responseType){case"json":const vt=(new TextDecoder).decode(ve).replace(Nn,"");return""===vt?null:JSON.parse(vt);case"text":return(new TextDecoder).decode(ve);case"blob":return new Blob([ve],{type:$e});case"arraybuffer":return ve.buffer}}createRequestInit(V){const ve={},$e=V.withCredentials?"include":void 0;if(V.headers.forEach((vt,Rt)=>ve[vt]=Rt.join(",")),V.headers.has("Accept")||(ve.Accept="application/json, text/plain, */*"),!V.headers.has("Content-Type")){const vt=V.detectContentTypeHeader();null!==vt&&(ve["Content-Type"]=vt)}return{body:V.serializeBody(),method:V.method,headers:ve,credentials:$e}}concatChunks(V,ve){const $e=new Uint8Array(ve);let vt=0;for(const Rt of V)$e.set(Rt,vt),vt+=Rt.length;return $e}}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275prov=t.jDH({token:T,factory:T.\u0275fac}),w})();class xt{}function Ht(){}function Xt(T,w){return w(T)}const Un=new t.nKC(""),Tn=new t.nKC(""),dn=new t.nKC("",{providedIn:"root",factory:()=>!0});let Ln=(()=>{var T;class w extends A{constructor(V,ve){super(),this.backend=V,this.injector=ve,this.chain=null,this.pendingTasks=(0,t.WQX)(t.TgB),this.contributeToStability=(0,t.WQX)(dn)}handle(V){if(null===this.chain){const ve=Array.from(new Set([...this.injector.get(Un),...this.injector.get(Tn,[])]));this.chain=ve.reduceRight(($e,vt)=>function tn(T,w,R){return(V,ve)=>(0,t.N4e)(R,()=>w(V,$e=>T($e,ve)))}($e,vt,this.injector),Xt)}if(this.contributeToStability){const ve=this.pendingTasks.add();return this.chain(V,$e=>this.backend.handle($e)).pipe((0,u.j)(()=>this.pendingTasks.remove(ve)))}return this.chain(V,ve=>this.backend.handle(ve))}}return(T=w).\u0275fac=function(V){return new(V||T)(t.KVO($),t.KVO(t.uvJ))},T.\u0275prov=t.jDH({token:T,factory:T.\u0275fac}),w})();const Go=/^\)\]\}',?\n/;let pi=(()=>{var T;class w{constructor(V){this.xhrFactory=V}handle(V){if("JSONP"===V.method)throw new t.wOt(-2800,!1);const ve=this.xhrFactory;return(ve.\u0275loadImpl?(0,a.H)(ve.\u0275loadImpl()):(0,d.of)(null)).pipe((0,O.n)(()=>new p.c(vt=>{const Rt=ve.build();if(Rt.open(V.method,V.urlWithParams),V.withCredentials&&(Rt.withCredentials=!0),V.headers.forEach((Hi,ur)=>Rt.setRequestHeader(Hi,ur.join(","))),V.headers.has("Accept")||Rt.setRequestHeader("Accept","application/json, text/plain, */*"),!V.headers.has("Content-Type")){const Hi=V.detectContentTypeHeader();null!==Hi&&Rt.setRequestHeader("Content-Type",Hi)}if(V.responseType){const Hi=V.responseType.toLowerCase();Rt.responseType="json"!==Hi?Hi:"text"}const wn=V.serializeBody();let Vn=null;const $o=()=>{if(null!==Vn)return Vn;const Hi=Rt.statusText||"OK",ur=new K(Rt.getAllResponseHeaders()),Vr=function Ji(T){return"responseURL"in T&&T.responseURL?T.responseURL:/^X-Request-URL:/m.test(T.getAllResponseHeaders())?T.getResponseHeader("X-Request-URL"):null}(Rt)||V.url;return Vn=new mn({headers:ur,status:Rt.status,statusText:Hi,url:Vr}),Vn},Xo=()=>{let{headers:Hi,status:ur,statusText:Vr,url:xs}=$o(),br=null;204!==ur&&(br=typeof Rt.response>"u"?Rt.responseText:Rt.response),0===ur&&(ur=br?200:0);let Vi=ur>=200&&ur<300;if("json"===V.responseType&&"string"==typeof br){const zs=br;br=br.replace(Go,"");try{br=""!==br?JSON.parse(br):null}catch(Ms){br=zs,Vi&&(Vi=!1,br={error:Ms,text:br})}}Vi?(vt.next(new _t({body:br,headers:Hi,status:ur,statusText:Vr,url:xs||void 0})),vt.complete()):vt.error(new Ke({error:br,headers:Hi,status:ur,statusText:Vr,url:xs||void 0}))},qo=Hi=>{const{url:ur}=$o(),Vr=new Ke({error:Hi,status:Rt.status||0,statusText:Rt.statusText||"Unknown Error",url:ur||void 0});vt.error(Vr)};let oi=!1;const Di=Hi=>{oi||(vt.next($o()),oi=!0);let ur={type:Ge.DownloadProgress,loaded:Hi.loaded};Hi.lengthComputable&&(ur.total=Hi.total),"text"===V.responseType&&Rt.responseText&&(ur.partialText=Rt.responseText),vt.next(ur)},Bi=Hi=>{let ur={type:Ge.UploadProgress,loaded:Hi.loaded};Hi.lengthComputable&&(ur.total=Hi.total),vt.next(ur)};return Rt.addEventListener("load",Xo),Rt.addEventListener("error",qo),Rt.addEventListener("timeout",qo),Rt.addEventListener("abort",qo),V.reportProgress&&(Rt.addEventListener("progress",Di),null!==wn&&Rt.upload&&Rt.upload.addEventListener("progress",Bi)),Rt.send(wn),vt.next({type:Ge.Sent}),()=>{Rt.removeEventListener("error",qo),Rt.removeEventListener("abort",qo),Rt.removeEventListener("load",Xo),Rt.removeEventListener("timeout",qo),V.reportProgress&&(Rt.removeEventListener("progress",Di),null!==wn&&Rt.upload&&Rt.upload.removeEventListener("progress",Bi)),Rt.readyState!==Rt.DONE&&Rt.abort()}})))}}return(T=w).\u0275fac=function(V){return new(V||T)(t.KVO(l.N0))},T.\u0275prov=t.jDH({token:T,factory:T.\u0275fac}),w})();const Si=new t.nKC(""),Pi=new t.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),qt=new t.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Pt{}let ot=(()=>{var T;class w{constructor(V,ve,$e){this.doc=V,this.platform=ve,this.cookieName=$e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const V=this.doc.cookie||"";return V!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l._b)(V,this.cookieName),this.lastCookieString=V),this.lastToken}}return(T=w).\u0275fac=function(V){return new(V||T)(t.KVO(l.qQ),t.KVO(t.Agw),t.KVO(Pi))},T.\u0275prov=t.jDH({token:T,factory:T.\u0275fac}),w})();function De(T,w){const R=T.url.toLowerCase();if(!(0,t.WQX)(Si)||"GET"===T.method||"HEAD"===T.method||R.startsWith("http://")||R.startsWith("https://"))return w(T);const V=(0,t.WQX)(Pt).getToken(),ve=(0,t.WQX)(qt);return null!=V&&!T.headers.has(ve)&&(T=T.clone({headers:T.headers.set(ve,V)})),w(T)}function Xn(...T){const w=[It,pi,Ln,{provide:A,useExisting:Ln},{provide:$,useFactory:()=>(0,t.WQX)(Kn,{optional:!0})??(0,t.WQX)(pi)},{provide:Un,useValue:De,multi:!0},{provide:Si,useValue:!0},{provide:Pt,useClass:ot}];for(const R of T)w.push(...R.\u0275providers);return(0,t.EmA)(w)}const qi=void 0,Rr=["en-DK",[["a","p"],["am","pm"],qi],[["am","pm"],qi,qi],[["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"]],qi,[["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"]],qi,[["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}",qi,"{1} 'at' {0}",qi],[",",".",";","%","+","-","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 bi(T){const R=Math.floor(Math.abs(T)),V=T.toString().replace(/^[^.]*\.?/,"").length;return 1===R&&0===V?1:5}];var Fi=i(84341),ri=i(49969);function Zr(T){return new t.wOt(3e3,!1)}function Mt(T){switch(T.length){case 0:return new ri.sf;case 1:return T[0];default:return new ri.ui(T)}}function Dt(T,w,R=new Map,V=new Map){const ve=[],$e=[];let vt=-1,Rt=null;if(w.forEach(wn=>{const Vn=wn.get("offset"),$o=Vn==vt,Xo=$o&&Rt||new Map;wn.forEach((qo,oi)=>{let Di=oi,Bi=qo;if("offset"!==oi)switch(Di=T.normalizePropertyName(Di,ve),Bi){case ri.FX:Bi=R.get(oi);break;case ri.kp:Bi=V.get(oi);break;default:Bi=T.normalizeStyleValue(oi,Di,Bi,ve)}Xo.set(Di,Bi)}),$o||$e.push(Xo),Rt=Xo,vt=Vn}),ve.length)throw function L(){return new t.wOt(3502,!1)}();return $e}function fn(T,w,R,V){switch(w){case"start":T.onStart(()=>V(R&&un(R,"start",T)));break;case"done":T.onDone(()=>V(R&&un(R,"done",T)));break;case"destroy":T.onDestroy(()=>V(R&&un(R,"destroy",T)))}}function un(T,w,R){const $e=In(T.element,T.triggerName,T.fromState,T.toState,w||T.phaseName,R.totalTime??T.totalTime,!!R.disabled),vt=T._data;return null!=vt&&($e._data=vt),$e}function In(T,w,R,V,ve="",$e=0,vt){return{element:T,triggerName:w,fromState:R,toState:V,phaseName:ve,totalTime:$e,disabled:!!vt}}function $n(T,w,R){let V=T.get(w);return V||T.set(w,V=R),V}function vo(T){const w=T.indexOf(":");return[T.substring(1,w),T.slice(w+1)]}const Mo=typeof document>"u"?null:document.documentElement;function po(T){const w=T.parentNode||T.host||null;return w===Mo?null:w}let Po=null,Co=!1;function Or(T,w){for(;w;){if(w===T)return!0;w=po(w)}return!1}function Lr(T,w,R){if(R)return Array.from(T.querySelectorAll(w));const V=T.querySelector(w);return V?[V]:[]}let fr=(()=>{var T;class w{validateStyleProperty(V){return function Vo(T){Po||(Po=function Yo(){return typeof document<"u"?document.body:null}()||{},Co=!!Po.style&&"WebkitAppearance"in Po.style);let w=!0;return Po.style&&!function uo(T){return"ebkit"==T.substring(1,6)}(T)&&(w=T in Po.style,!w&&Co&&(w="Webkit"+T.charAt(0).toUpperCase()+T.slice(1)in Po.style)),w}(V)}containsElement(V,ve){return Or(V,ve)}getParentElement(V){return po(V)}query(V,ve,$e){return Lr(V,ve,$e)}computeStyle(V,ve,$e){return $e||""}animate(V,ve,$e,vt,Rt,wn=[],Vn){return new ri.sf($e,vt)}}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275prov=t.jDH({token:T,factory:T.\u0275fac}),w})();class Er{}Er.NOOP=new fr;class Ci{}const ar=1e3,Nr="ng-enter",Hr="ng-leave",ks="ng-trigger",b=".ng-trigger",ee="ng-animating",oe=".ng-animating";function D(T){if("number"==typeof T)return T;const w=T.match(/^(-?[\.\d]+)(m?s)/);return!w||w.length<2?0:N(parseFloat(w[1]),w[2])}function N(T,w){return"s"===w?T*ar:T}function Y(T,w,R){return T.hasOwnProperty("duration")?T:function xe(T,w,R){let ve,$e=0,vt="";if("string"==typeof T){const Rt=T.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Rt)return w.push(Zr()),{duration:0,delay:0,easing:""};ve=N(parseFloat(Rt[1]),Rt[2]);const wn=Rt[3];null!=wn&&($e=N(parseFloat(wn),Rt[4]));const Vn=Rt[5];Vn&&(vt=Vn)}else ve=T;if(!R){let Rt=!1,wn=w.length;ve<0&&(w.push(function Kr(){return new t.wOt(3100,!1)}()),Rt=!0),$e<0&&(w.push(function Mr(){return new t.wOt(3101,!1)}()),Rt=!0),Rt&&w.splice(wn,0,Zr())}return{duration:ve,delay:$e,easing:vt}}(T,w,R)}function Ie(T,w,R){w.forEach((V,ve)=>{const $e=Ct(ve);R&&!R.has(ve)&&R.set(ve,T.style[$e]),T.style[$e]=V})}function Le(T,w){w.forEach((R,V)=>{const ve=Ct(V);T.style[ve]=""})}function Ae(T){return Array.isArray(T)?1==T.length?T[0]:(0,ri.K2)(T):T}const Et=new RegExp("{{\\s*(.+?)\\s*}}","g");function Nt(T){let w=[];if("string"==typeof T){let R;for(;R=Et.exec(T);)w.push(R[1]);Et.lastIndex=0}return w}function Ot(T,w,R){const V=`${T}`,ve=V.replace(Et,($e,vt)=>{let Rt=w[vt];return null==Rt&&(R.push(function es(){return new t.wOt(3003,!1)}()),Rt=""),Rt.toString()});return ve==V?T:ve}const pn=/-+([a-z0-9])/g;function Ct(T){return T.replace(pn,(...w)=>w[1].toUpperCase())}function eo(T,w,R){switch(w.type){case ri.If.Trigger:return T.visitTrigger(w,R);case ri.If.State:return T.visitState(w,R);case ri.If.Transition:return T.visitTransition(w,R);case ri.If.Sequence:return T.visitSequence(w,R);case ri.If.Group:return T.visitGroup(w,R);case ri.If.Animate:return T.visitAnimate(w,R);case ri.If.Keyframes:return T.visitKeyframes(w,R);case ri.If.Style:return T.visitStyle(w,R);case ri.If.Reference:return T.visitReference(w,R);case ri.If.AnimateChild:return T.visitAnimateChild(w,R);case ri.If.AnimateRef:return T.visitAnimateRef(w,R);case ri.If.Query:return T.visitQuery(w,R);case ri.If.Stagger:return T.visitStagger(w,R);default:throw function Cr(){return new t.wOt(3004,!1)}()}}function fo(T,w){return window.getComputedStyle(T)[w]}const jo=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 wo extends Ci{normalizePropertyName(w,R){return Ct(w)}normalizeStyleValue(w,R,V,ve){let $e="";const vt=V.toString().trim();if(jo.has(R)&&0!==V&&"0"!==V)if("number"==typeof V)$e="px";else{const Rt=V.match(/^[+-]?[\d\.]+([a-z]*)$/);Rt&&0==Rt[1].length&&ve.push(function Dr(){return new t.wOt(3005,!1)}())}return vt+$e}}const jn="*";const ki=new Set(["true","1"]),cr=new Set(["false","0"]);function Gr(T,w){const R=ki.has(T)||cr.has(T),V=ki.has(w)||cr.has(w);return(ve,$e)=>{let vt=T==jn||T==ve,Rt=w==jn||w==$e;return!vt&&R&&"boolean"==typeof ve&&(vt=ve?ki.has(T):cr.has(T)),!Rt&&V&&"boolean"==typeof $e&&(Rt=$e?ki.has(w):cr.has(w)),vt&&Rt}}const dr=new RegExp("s*:selfs*,?","g");function hs(T,w,R,V){return new Ce(T).build(w,R,V)}class Ce{constructor(w){this._driver=w}build(w,R,V){const ve=new At(R);return this._resetContextStyleTimingState(ve),eo(this,Ae(w),ve)}_resetContextStyleTimingState(w){w.currentQuerySelector="",w.collectedStyles=new Map,w.collectedStyles.set("",new Map),w.currentTime=0}visitTrigger(w,R){let V=R.queryCount=0,ve=R.depCount=0;const $e=[],vt=[];return"@"==w.name.charAt(0)&&R.errors.push(function rs(){return new t.wOt(3006,!1)}()),w.definitions.forEach(Rt=>{if(this._resetContextStyleTimingState(R),Rt.type==ri.If.State){const wn=Rt,Vn=wn.name;Vn.toString().split(/\s*,\s*/).forEach($o=>{wn.name=$o,$e.push(this.visitState(wn,R))}),wn.name=Vn}else if(Rt.type==ri.If.Transition){const wn=this.visitTransition(Rt,R);V+=wn.queryCount,ve+=wn.depCount,vt.push(wn)}else R.errors.push(function ys(){return new t.wOt(3007,!1)}())}),{type:ri.If.Trigger,name:w.name,states:$e,transitions:vt,queryCount:V,depCount:ve,options:null}}visitState(w,R){const V=this.visitStyle(w.styles,R),ve=w.options&&w.options.params||null;if(V.containsDynamicStyles){const $e=new Set,vt=ve||{};V.styles.forEach(Rt=>{Rt instanceof Map&&Rt.forEach(wn=>{Nt(wn).forEach(Vn=>{vt.hasOwnProperty(Vn)||$e.add(Vn)})})}),$e.size&&R.errors.push(function _r(){return new t.wOt(3008,!1)}(0,$e.values()))}return{type:ri.If.State,name:w.name,style:V,options:ve?{params:ve}:null}}visitTransition(w,R){R.queryCount=0,R.depCount=0;const V=eo(this,Ae(w.animation),R),ve=function Yn(T,w){const R=[];return"string"==typeof T?T.split(/\s*,\s*/).forEach(V=>function Lo(T,w,R){if(":"==T[0]){const wn=function To(T,w){switch(T){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(R,V)=>parseFloat(V)>parseFloat(R);case":decrement":return(R,V)=>parseFloat(V) *"}}(T,R);if("function"==typeof wn)return void w.push(wn);T=wn}const V=T.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==V||V.length<4)return R.push(function go(){return new t.wOt(3015,!1)}()),w;const ve=V[1],$e=V[2],vt=V[3];w.push(Gr(ve,vt)),"<"==$e[0]&&(ve!=jn||vt!=jn)&&w.push(Gr(vt,ve))}(V,R,w)):R.push(T),R}(w.expr,R.errors);return{type:ri.If.Transition,matchers:ve,animation:V,queryCount:R.queryCount,depCount:R.depCount,options:Fn(w.options)}}visitSequence(w,R){return{type:ri.If.Sequence,steps:w.steps.map(V=>eo(this,V,R)),options:Fn(w.options)}}visitGroup(w,R){const V=R.currentTime;let ve=0;const $e=w.steps.map(vt=>{R.currentTime=V;const Rt=eo(this,vt,R);return ve=Math.max(ve,R.currentTime),Rt});return R.currentTime=ve,{type:ri.If.Group,steps:$e,options:Fn(w.options)}}visitAnimate(w,R){const V=function cn(T,w){if(T.hasOwnProperty("duration"))return T;if("number"==typeof T)return _o(Y(T,w).duration,0,"");const R=T;if(R.split(/\s+/).some($e=>"{"==$e.charAt(0)&&"{"==$e.charAt(1))){const $e=_o(0,0,"");return $e.dynamic=!0,$e.strValue=R,$e}const ve=Y(R,w);return _o(ve.duration,ve.delay,ve.easing)}(w.timings,R.errors);R.currentAnimateTimings=V;let ve,$e=w.styles?w.styles:(0,ri.iF)({});if($e.type==ri.If.Keyframes)ve=this.visitKeyframes($e,R);else{let vt=w.styles,Rt=!1;if(!vt){Rt=!0;const Vn={};V.easing&&(Vn.easing=V.easing),vt=(0,ri.iF)(Vn)}R.currentTime+=V.duration+V.delay;const wn=this.visitStyle(vt,R);wn.isEmptyStep=Rt,ve=wn}return R.currentAnimateTimings=null,{type:ri.If.Animate,timings:V,style:ve,options:null}}visitStyle(w,R){const V=this._makeStyleAst(w,R);return this._validateStyleAst(V,R),V}_makeStyleAst(w,R){const V=[],ve=Array.isArray(w.styles)?w.styles:[w.styles];for(let Rt of ve)"string"==typeof Rt?Rt===ri.kp?V.push(Rt):R.errors.push(new t.wOt(3002,!1)):V.push(new Map(Object.entries(Rt)));let $e=!1,vt=null;return V.forEach(Rt=>{if(Rt instanceof Map&&(Rt.has("easing")&&(vt=Rt.get("easing"),Rt.delete("easing")),!$e))for(let wn of Rt.values())if(wn.toString().indexOf("{{")>=0){$e=!0;break}}),{type:ri.If.Style,styles:V,easing:vt,offset:w.offset,containsDynamicStyles:$e,options:null}}_validateStyleAst(w,R){const V=R.currentAnimateTimings;let ve=R.currentTime,$e=R.currentTime;V&&$e>0&&($e-=V.duration+V.delay),w.styles.forEach(vt=>{"string"!=typeof vt&&vt.forEach((Rt,wn)=>{const Vn=R.collectedStyles.get(R.currentQuerySelector),$o=Vn.get(wn);let Xo=!0;$o&&($e!=ve&&$e>=$o.startTime&&ve<=$o.endTime&&(R.errors.push(function hi(){return new t.wOt(3010,!1)}()),Xo=!1),$e=$o.startTime),Xo&&Vn.set(wn,{startTime:$e,endTime:ve}),R.options&&function ut(T,w,R){const V=w.params||{},ve=Nt(T);ve.length&&ve.forEach($e=>{V.hasOwnProperty($e)||R.push(function Fs(){return new t.wOt(3001,!1)}())})}(Rt,R.options,R.errors)})})}visitKeyframes(w,R){const V={type:ri.If.Keyframes,styles:[],options:null};if(!R.currentAnimateTimings)return R.errors.push(function yt(){return new t.wOt(3011,!1)}()),V;let $e=0;const vt=[];let Rt=!1,wn=!1,Vn=0;const $o=w.steps.map(ur=>{const Vr=this._makeStyleAst(ur,R);let xs=null!=Vr.offset?Vr.offset:function rn(T){if("string"==typeof T)return null;let w=null;if(Array.isArray(T))T.forEach(R=>{if(R instanceof Map&&R.has("offset")){const V=R;w=parseFloat(V.get("offset")),V.delete("offset")}});else if(T instanceof Map&&T.has("offset")){const R=T;w=parseFloat(R.get("offset")),R.delete("offset")}return w}(Vr.styles),br=0;return null!=xs&&($e++,br=Vr.offset=xs),wn=wn||br<0||br>1,Rt=Rt||br0&&$e{const xs=qo>0?Vr==oi?1:qo*Vr:vt[Vr],br=xs*Hi;R.currentTime=Di+Bi.delay+br,Bi.duration=br,this._validateStyleAst(ur,R),ur.offset=xs,V.styles.push(ur)}),V}visitReference(w,R){return{type:ri.If.Reference,animation:eo(this,Ae(w.animation),R),options:Fn(w.options)}}visitAnimateChild(w,R){return R.depCount++,{type:ri.If.AnimateChild,options:Fn(w.options)}}visitAnimateRef(w,R){return{type:ri.If.AnimateRef,animation:this.visitReference(w.animation,R),options:Fn(w.options)}}visitQuery(w,R){const V=R.currentQuerySelector,ve=w.options||{};R.queryCount++,R.currentQuery=w;const[$e,vt]=function Ve(T){const w=!!T.split(/\s*,\s*/).find(R=>":self"==R);return w&&(T=T.replace(dr,"")),T=T.replace(/@\*/g,b).replace(/@\w+/g,R=>b+"-"+R.slice(1)).replace(/:animating/g,oe),[T,w]}(w.selector);R.currentQuerySelector=V.length?V+" "+$e:$e,$n(R.collectedStyles,R.currentQuerySelector,new Map);const Rt=eo(this,Ae(w.animation),R);return R.currentQuery=null,R.currentQuerySelector=V,{type:ri.If.Query,selector:$e,limit:ve.limit||0,optional:!!ve.optional,includeSelf:vt,animation:Rt,originalSelector:w.selector,options:Fn(w.options)}}visitStagger(w,R){R.currentQuery||R.errors.push(function Cn(){return new t.wOt(3013,!1)}());const V="full"===w.timings?{duration:0,delay:0,easing:"full"}:Y(w.timings,R.errors,!0);return{type:ri.If.Stagger,animation:eo(this,Ae(w.animation),R),timings:V,options:null}}}class At{constructor(w){this.errors=w,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Fn(T){return T?(T={...T}).params&&(T.params=function dt(T){return T?{...T}:null}(T.params)):T={},T}function _o(T,w,R){return{duration:T,delay:w,easing:R}}function Bo(T,w,R,V,ve,$e,vt=null,Rt=!1){return{type:1,element:T,keyframes:w,preStyleProps:R,postStyleProps:V,duration:ve,delay:$e,totalTime:ve+$e,easing:vt,subTimeline:Rt}}class ti{constructor(){this._map=new Map}get(w){return this._map.get(w)||[]}append(w,R){let V=this._map.get(w);V||this._map.set(w,V=[]),V.push(...R)}has(w){return this._map.has(w)}clear(){this._map.clear()}}const Yi=new RegExp(":enter","g"),Ts=new RegExp(":leave","g");function ss(T,w,R,V,ve,$e=new Map,vt=new Map,Rt,wn,Vn=[]){return(new Cs).buildKeyframes(T,w,R,V,ve,$e,vt,Rt,wn,Vn)}class Cs{buildKeyframes(w,R,V,ve,$e,vt,Rt,wn,Vn,$o=[]){Vn=Vn||new ti;const Xo=new Ls(w,R,Vn,ve,$e,$o,[]);Xo.options=wn;const qo=wn.delay?D(wn.delay):0;Xo.currentTimeline.delayNextStep(qo),Xo.currentTimeline.setStyles([vt],null,Xo.errors,wn),eo(this,V,Xo);const oi=Xo.timelines.filter(Di=>Di.containsAnimation());if(oi.length&&Rt.size){let Di;for(let Bi=oi.length-1;Bi>=0;Bi--){const Hi=oi[Bi];if(Hi.element===R){Di=Hi;break}}Di&&!Di.allowOnlyTimelineStyles()&&Di.setStyles([Rt],null,Xo.errors,wn)}return oi.length?oi.map(Di=>Di.buildKeyframes()):[Bo(R,[],[],[],0,qo,"",!1)]}visitTrigger(w,R){}visitState(w,R){}visitTransition(w,R){}visitAnimateChild(w,R){const V=R.subInstructions.get(R.element);if(V){const ve=R.createSubContext(w.options),$e=R.currentTimeline.currentTime,vt=this._visitSubInstructions(V,ve,ve.options);$e!=vt&&R.transformIntoNewTimeline(vt)}R.previousNode=w}visitAnimateRef(w,R){const V=R.createSubContext(w.options);V.transformIntoNewTimeline(),this._applyAnimationRefDelays([w.options,w.animation.options],R,V),this.visitReference(w.animation,V),R.transformIntoNewTimeline(V.currentTimeline.currentTime),R.previousNode=w}_applyAnimationRefDelays(w,R,V){for(const ve of w){const $e=ve?.delay;if($e){const vt="number"==typeof $e?$e:D(Ot($e,ve?.params??{},R.errors));V.delayNextStep(vt)}}}_visitSubInstructions(w,R,V){let $e=R.currentTimeline.currentTime;const vt=null!=V.duration?D(V.duration):null,Rt=null!=V.delay?D(V.delay):null;return 0!==vt&&w.forEach(wn=>{const Vn=R.appendInstructionToTimeline(wn,vt,Rt);$e=Math.max($e,Vn.duration+Vn.delay)}),$e}visitReference(w,R){R.updateOptions(w.options,!0),eo(this,w.animation,R),R.previousNode=w}visitSequence(w,R){const V=R.subContextCount;let ve=R;const $e=w.options;if($e&&($e.params||$e.delay)&&(ve=R.createSubContext($e),ve.transformIntoNewTimeline(),null!=$e.delay)){ve.previousNode.type==ri.If.Style&&(ve.currentTimeline.snapshotCurrentStyles(),ve.previousNode=ms);const vt=D($e.delay);ve.delayNextStep(vt)}w.steps.length&&(w.steps.forEach(vt=>eo(this,vt,ve)),ve.currentTimeline.applyStylesToKeyframe(),ve.subContextCount>V&&ve.transformIntoNewTimeline()),R.previousNode=w}visitGroup(w,R){const V=[];let ve=R.currentTimeline.currentTime;const $e=w.options&&w.options.delay?D(w.options.delay):0;w.steps.forEach(vt=>{const Rt=R.createSubContext(w.options);$e&&Rt.delayNextStep($e),eo(this,vt,Rt),ve=Math.max(ve,Rt.currentTimeline.currentTime),V.push(Rt.currentTimeline)}),V.forEach(vt=>R.currentTimeline.mergeTimelineCollectedStyles(vt)),R.transformIntoNewTimeline(ve),R.previousNode=w}_visitTiming(w,R){if(w.dynamic){const V=w.strValue;return Y(R.params?Ot(V,R.params,R.errors):V,R.errors)}return{duration:w.duration,delay:w.delay,easing:w.easing}}visitAnimate(w,R){const V=R.currentAnimateTimings=this._visitTiming(w.timings,R),ve=R.currentTimeline;V.delay&&(R.incrementTime(V.delay),ve.snapshotCurrentStyles());const $e=w.style;$e.type==ri.If.Keyframes?this.visitKeyframes($e,R):(R.incrementTime(V.duration),this.visitStyle($e,R),ve.applyStylesToKeyframe()),R.currentAnimateTimings=null,R.previousNode=w}visitStyle(w,R){const V=R.currentTimeline,ve=R.currentAnimateTimings;!ve&&V.hasCurrentStyleProperties()&&V.forwardFrame();const $e=ve&&ve.easing||w.easing;w.isEmptyStep?V.applyEmptyStep($e):V.setStyles(w.styles,$e,R.errors,R.options),R.previousNode=w}visitKeyframes(w,R){const V=R.currentAnimateTimings,ve=R.currentTimeline.duration,$e=V.duration,Rt=R.createSubContext().currentTimeline;Rt.easing=V.easing,w.styles.forEach(wn=>{Rt.forwardTime((wn.offset||0)*$e),Rt.setStyles(wn.styles,wn.easing,R.errors,R.options),Rt.applyStylesToKeyframe()}),R.currentTimeline.mergeTimelineCollectedStyles(Rt),R.transformIntoNewTimeline(ve+$e),R.previousNode=w}visitQuery(w,R){const V=R.currentTimeline.currentTime,ve=w.options||{},$e=ve.delay?D(ve.delay):0;$e&&(R.previousNode.type===ri.If.Style||0==V&&R.currentTimeline.hasCurrentStyleProperties())&&(R.currentTimeline.snapshotCurrentStyles(),R.previousNode=ms);let vt=V;const Rt=R.invokeQuery(w.selector,w.originalSelector,w.limit,w.includeSelf,!!ve.optional,R.errors);R.currentQueryTotal=Rt.length;let wn=null;Rt.forEach((Vn,$o)=>{R.currentQueryIndex=$o;const Xo=R.createSubContext(w.options,Vn);$e&&Xo.delayNextStep($e),Vn===R.element&&(wn=Xo.currentTimeline),eo(this,w.animation,Xo),Xo.currentTimeline.applyStylesToKeyframe(),vt=Math.max(vt,Xo.currentTimeline.currentTime)}),R.currentQueryIndex=0,R.currentQueryTotal=0,R.transformIntoNewTimeline(vt),wn&&(R.currentTimeline.mergeTimelineCollectedStyles(wn),R.currentTimeline.snapshotCurrentStyles()),R.previousNode=w}visitStagger(w,R){const V=R.parentContext,ve=R.currentTimeline,$e=w.timings,vt=Math.abs($e.duration),Rt=vt*(R.currentQueryTotal-1);let wn=vt*R.currentQueryIndex;switch($e.duration<0?"reverse":$e.easing){case"reverse":wn=Rt-wn;break;case"full":wn=V.currentStaggerTime}const $o=R.currentTimeline;wn&&$o.delayNextStep(wn);const Xo=$o.currentTime;eo(this,w.animation,R),R.previousNode=w,V.currentStaggerTime=ve.currentTime-Xo+(ve.startTime-V.currentTimeline.startTime)}}const ms={};class Ls{constructor(w,R,V,ve,$e,vt,Rt,wn){this._driver=w,this.element=R,this.subInstructions=V,this._enterClassName=ve,this._leaveClassName=$e,this.errors=vt,this.timelines=Rt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ms,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=wn||new Xs(this._driver,R,0),Rt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(w,R){if(!w)return;const V=w;let ve=this.options;null!=V.duration&&(ve.duration=D(V.duration)),null!=V.delay&&(ve.delay=D(V.delay));const $e=V.params;if($e){let vt=ve.params;vt||(vt=this.options.params={}),Object.keys($e).forEach(Rt=>{(!R||!vt.hasOwnProperty(Rt))&&(vt[Rt]=Ot($e[Rt],vt,this.errors))})}}_copyOptions(){const w={};if(this.options){const R=this.options.params;if(R){const V=w.params={};Object.keys(R).forEach(ve=>{V[ve]=R[ve]})}}return w}createSubContext(w=null,R,V){const ve=R||this.element,$e=new Ls(this._driver,ve,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ve,V||0));return $e.previousNode=this.previousNode,$e.currentAnimateTimings=this.currentAnimateTimings,$e.options=this._copyOptions(),$e.updateOptions(w),$e.currentQueryIndex=this.currentQueryIndex,$e.currentQueryTotal=this.currentQueryTotal,$e.parentContext=this,this.subContextCount++,$e}transformIntoNewTimeline(w){return this.previousNode=ms,this.currentTimeline=this.currentTimeline.fork(this.element,w),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(w,R,V){const ve={duration:R??w.duration,delay:this.currentTimeline.currentTime+(V??0)+w.delay,easing:""},$e=new Yr(this._driver,w.element,w.keyframes,w.preStyleProps,w.postStyleProps,ve,w.stretchStartingKeyframe);return this.timelines.push($e),ve}incrementTime(w){this.currentTimeline.forwardTime(this.currentTimeline.duration+w)}delayNextStep(w){w>0&&this.currentTimeline.delayNextStep(w)}invokeQuery(w,R,V,ve,$e,vt){let Rt=[];if(ve&&Rt.push(this.element),w.length>0){w=(w=w.replace(Yi,"."+this._enterClassName)).replace(Ts,"."+this._leaveClassName);let Vn=this._driver.query(this.element,w,1!=V);0!==V&&(Vn=V<0?Vn.slice(Vn.length+V,Vn.length):Vn.slice(0,V)),Rt.push(...Vn)}return!$e&&0==Rt.length&&vt.push(function ro(){return new t.wOt(3014,!1)}()),Rt}}class Xs{constructor(w,R,V,ve){this._driver=w,this.element=R,this.startTime=V,this._elementTimelineStylesLookup=ve,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(R),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(R,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(w){const R=1===this._keyframes.size&&this._pendingStyles.size;this.duration||R?(this.forwardTime(this.currentTime+w),R&&this.snapshotCurrentStyles()):this.startTime+=w}fork(w,R){return this.applyStylesToKeyframe(),new Xs(this._driver,w,R||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(w){this.applyStylesToKeyframe(),this.duration=w,this._loadKeyframe()}_updateStyle(w,R){this._localTimelineStyles.set(w,R),this._globalTimelineStyles.set(w,R),this._styleSummary.set(w,{time:this.currentTime,value:R})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(w){w&&this._previousKeyframe.set("easing",w);for(let[R,V]of this._globalTimelineStyles)this._backFill.set(R,V||ri.kp),this._currentKeyframe.set(R,ri.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(w,R,V,ve){R&&this._previousKeyframe.set("easing",R);const $e=ve&&ve.params||{},vt=function la(T,w){const R=new Map;let V;return T.forEach(ve=>{if("*"===ve){V??=w.keys();for(let $e of V)R.set($e,ri.kp)}else for(let[$e,vt]of ve)R.set($e,vt)}),R}(w,this._globalTimelineStyles);for(let[Rt,wn]of vt){const Vn=Ot(wn,$e,V);this._pendingStyles.set(Rt,Vn),this._localTimelineStyles.has(Rt)||this._backFill.set(Rt,this._globalTimelineStyles.get(Rt)??ri.kp),this._updateStyle(Rt,Vn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((w,R)=>{this._currentKeyframe.set(R,w)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((w,R)=>{this._currentKeyframe.has(R)||this._currentKeyframe.set(R,w)}))}snapshotCurrentStyles(){for(let[w,R]of this._localTimelineStyles)this._pendingStyles.set(w,R),this._updateStyle(w,R)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const w=[];for(let R in this._currentKeyframe)w.push(R);return w}mergeTimelineCollectedStyles(w){w._styleSummary.forEach((R,V)=>{const ve=this._styleSummary.get(V);(!ve||R.time>ve.time)&&this._updateStyle(V,R.value)})}buildKeyframes(){this.applyStylesToKeyframe();const w=new Set,R=new Set,V=1===this._keyframes.size&&0===this.duration;let ve=[];this._keyframes.forEach((Rt,wn)=>{const Vn=new Map([...this._backFill,...Rt]);Vn.forEach(($o,Xo)=>{$o===ri.FX?w.add(Xo):$o===ri.kp&&R.add(Xo)}),V||Vn.set("offset",wn/this.duration),ve.push(Vn)});const $e=[...w.values()],vt=[...R.values()];if(V){const Rt=ve[0],wn=new Map(Rt);Rt.set("offset",0),wn.set("offset",1),ve=[Rt,wn]}return Bo(this.element,ve,$e,vt,this.duration,this.startTime,this.easing,!1)}}class Yr extends Xs{constructor(w,R,V,ve,$e,vt,Rt=!1){super(w,R,vt.delay),this.keyframes=V,this.preStyleProps=ve,this.postStyleProps=$e,this._stretchStartingKeyframe=Rt,this.timings={duration:vt.duration,delay:vt.delay,easing:vt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let w=this.keyframes,{delay:R,duration:V,easing:ve}=this.timings;if(this._stretchStartingKeyframe&&R){const $e=[],vt=V+R,Rt=R/vt,wn=new Map(w[0]);wn.set("offset",0),$e.push(wn);const Vn=new Map(w[0]);Vn.set("offset",Sa(Rt)),$e.push(Vn);const $o=w.length-1;for(let Xo=1;Xo<=$o;Xo++){let qo=new Map(w[Xo]);const oi=qo.get("offset");qo.set("offset",Sa((R+oi*V)/vt)),$e.push(qo)}V=vt,R=0,ve="",w=$e}return Bo(this.element,w,this.preStyleProps,this.postStyleProps,V,R,ve,!0)}}function Sa(T,w=3){const R=Math.pow(10,w-1);return Math.round(T*R)/R}function Ss(T,w,R,V,ve,$e,vt,Rt,wn,Vn,$o,Xo,qo){return{type:0,element:T,triggerName:w,isRemovalTransition:ve,fromState:R,fromStyles:$e,toState:V,toStyles:vt,timelines:Rt,queriedElements:wn,preStyleProps:Vn,postStyleProps:$o,totalTime:Xo,errors:qo}}const Ea={};class Qs{constructor(w,R,V){this._triggerName=w,this.ast=R,this._stateStyles=V}match(w,R,V,ve){return function gs(T,w,R,V,ve){return T.some($e=>$e(w,R,V,ve))}(this.ast.matchers,w,R,V,ve)}buildStyles(w,R,V){let ve=this._stateStyles.get("*");return void 0!==w&&(ve=this._stateStyles.get(w?.toString())||ve),ve?ve.buildStyles(R,V):new Map}build(w,R,V,ve,$e,vt,Rt,wn,Vn,$o){const Xo=[],qo=this.ast.options&&this.ast.options.params||Ea,Di=this.buildStyles(V,Rt&&Rt.params||Ea,Xo),Bi=wn&&wn.params||Ea,Hi=this.buildStyles(ve,Bi,Xo),ur=new Set,Vr=new Map,xs=new Map,br="void"===ve,Vi={params:Vs(Bi,qo),delay:this.ast.options?.delay},zs=$o?[]:ss(w,R,this.ast.animation,$e,vt,Di,Hi,Vi,Vn,Xo);let Ms=0;return zs.forEach(Us=>{Ms=Math.max(Us.duration+Us.delay,Ms)}),Xo.length?Ss(R,this._triggerName,V,ve,br,Di,Hi,[],[],Vr,xs,Ms,Xo):(zs.forEach(Us=>{const za=Us.element,ul=$n(Vr,za,new Set);Us.preStyleProps.forEach(vl=>ul.add(vl));const oc=$n(xs,za,new Set);Us.postStyleProps.forEach(vl=>oc.add(vl)),za!==R&&ur.add(za)}),Ss(R,this._triggerName,V,ve,br,Di,Hi,zs,[...ur.values()],Vr,xs,Ms))}}function Vs(T,w){const R={...w};return Object.entries(T).forEach(([V,ve])=>{null!=ve&&(R[V]=ve)}),R}class Ia{constructor(w,R,V){this.styles=w,this.defaultParams=R,this.normalizer=V}buildStyles(w,R){const V=new Map,ve=Vs(w,this.defaultParams);return this.styles.styles.forEach($e=>{"string"!=typeof $e&&$e.forEach((vt,Rt)=>{vt&&(vt=Ot(vt,ve,R));const wn=this.normalizer.normalizePropertyName(Rt,R);vt=this.normalizer.normalizeStyleValue(Rt,wn,vt,R),V.set(Rt,vt)})}),V}}class ya{constructor(w,R,V){this.name=w,this.ast=R,this._normalizer=V,this.transitionFactories=[],this.states=new Map,R.states.forEach(ve=>{this.states.set(ve.name,new Ia(ve.style,ve.options&&ve.options.params||{},V))}),ua(this.states,"true","1"),ua(this.states,"false","0"),R.transitions.forEach(ve=>{this.transitionFactories.push(new Qs(w,ve,this.states))}),this.fallbackTransition=function Aa(T,w){return new Qs(T,{type:ri.If.Transition,animation:{type:ri.If.Sequence,steps:[],options:null},matchers:[(vt,Rt)=>!0],options:null,queryCount:0,depCount:0},w)}(w,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(w,R,V,ve){return this.transitionFactories.find(vt=>vt.match(w,R,V,ve))||null}matchStyles(w,R,V){return this.fallbackTransition.buildStyles(w,R,V)}}function ua(T,w,R){T.has(w)?T.has(R)||T.set(R,T.get(w)):T.has(R)&&T.set(w,T.get(R))}const Na=new ti;class Za{constructor(w,R,V){this.bodyNode=w,this._driver=R,this._normalizer=V,this._animations=new Map,this._playersById=new Map,this.players=[]}register(w,R){const V=[],$e=hs(this._driver,R,V,[]);if(V.length)throw function re(){return new t.wOt(3503,!1)}();this._animations.set(w,$e)}_buildPlayer(w,R,V){const ve=w.element,$e=Dt(this._normalizer,w.keyframes,R,V);return this._driver.animate(ve,$e,w.duration,w.delay,w.easing,[],!0)}create(w,R,V={}){const ve=[],$e=this._animations.get(w);let vt;const Rt=new Map;if($e?(vt=ss(this._driver,R,$e,Nr,Hr,new Map,new Map,V,Na,ve),vt.forEach($o=>{const Xo=$n(Rt,$o.element,new Map);$o.postStyleProps.forEach(qo=>Xo.set(qo,null))})):(ve.push(function ce(){return new t.wOt(3300,!1)}()),vt=[]),ve.length)throw function Pe(){return new t.wOt(3504,!1)}();Rt.forEach(($o,Xo)=>{$o.forEach((qo,oi)=>{$o.set(oi,this._driver.computeStyle(Xo,oi,ri.kp))})});const Vn=Mt(vt.map($o=>{const Xo=Rt.get($o.element);return this._buildPlayer($o,new Map,Xo)}));return this._playersById.set(w,Vn),Vn.onDestroy(()=>this.destroy(w)),this.players.push(Vn),Vn}destroy(w){const R=this._getPlayer(w);R.destroy(),this._playersById.delete(w);const V=this.players.indexOf(R);V>=0&&this.players.splice(V,1)}_getPlayer(w){const R=this._playersById.get(w);if(!R)throw function et(){return new t.wOt(3301,!1)}();return R}listen(w,R,V,ve){const $e=In(R,"","","");return fn(this._getPlayer(w),V,$e,ve),()=>{}}command(w,R,V,ve){if("register"==V)return void this.register(w,ve[0]);if("create"==V)return void this.create(w,R,ve[0]||{});const $e=this._getPlayer(w);switch(V){case"play":$e.play();break;case"pause":$e.pause();break;case"reset":$e.reset();break;case"restart":$e.restart();break;case"finish":$e.finish();break;case"init":$e.init();break;case"setPosition":$e.setPosition(parseFloat(ve[0]));break;case"destroy":this.destroy(w)}}}const ca="ng-animate-queued",va="ng-animate-disabled",Qt=[],Re={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Tt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Dn="__ng_removed";class Io{get params(){return this.options.params}constructor(w,R=""){this.namespaceId=R;const V=w&&w.hasOwnProperty("value");if(this.value=function $r(T){return T??null}(V?w.value:w),V){const{value:$e,...vt}=w;this.options=vt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(w){const R=w.params;if(R){const V=this.options.params;Object.keys(R).forEach(ve=>{null==V[ve]&&(V[ve]=R[ve])})}}}const Qo="void",nr=new Io(Qo);class Ir{constructor(w,R,V){this.id=w,this.hostElement=R,this._engine=V,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+w,yr(R,this._hostClassName)}listen(w,R,V,ve){if(!this._triggers.has(R))throw function We(){return new t.wOt(3302,!1)}();if(null==V||0==V.length)throw function lt(){return new t.wOt(3303,!1)}();if(!function ls(T){return"start"==T||"done"==T}(V))throw function jt(){return new t.wOt(3400,!1)}();const $e=$n(this._elementListeners,w,[]),vt={name:R,phase:V,callback:ve};$e.push(vt);const Rt=$n(this._engine.statesByElement,w,new Map);return Rt.has(R)||(yr(w,ks),yr(w,ks+"-"+R),Rt.set(R,nr)),()=>{this._engine.afterFlush(()=>{const wn=$e.indexOf(vt);wn>=0&&$e.splice(wn,1),this._triggers.has(R)||Rt.delete(R)})}}register(w,R){return!this._triggers.has(w)&&(this._triggers.set(w,R),!0)}_getTrigger(w){const R=this._triggers.get(w);if(!R)throw function Jt(){return new t.wOt(3401,!1)}();return R}trigger(w,R,V,ve=!0){const $e=this._getTrigger(R),vt=new lr(this.id,R,w);let Rt=this._engine.statesByElement.get(w);Rt||(yr(w,ks),yr(w,ks+"-"+R),this._engine.statesByElement.set(w,Rt=new Map));let wn=Rt.get(R);const Vn=new Io(V,this.id);if(!(V&&V.hasOwnProperty("value"))&&wn&&Vn.absorbOptions(wn.options),Rt.set(R,Vn),wn||(wn=nr),Vn.value!==Qo&&wn.value===Vn.value){if(!function qr(T,w){const R=Object.keys(T),V=Object.keys(w);if(R.length!=V.length)return!1;for(let ve=0;ve{Le(w,Hi),Ie(w,ur)})}return}const qo=$n(this._engine.playersByElement,w,[]);qo.forEach(Bi=>{Bi.namespaceId==this.id&&Bi.triggerName==R&&Bi.queued&&Bi.destroy()});let oi=$e.matchTransition(wn.value,Vn.value,w,Vn.params),Di=!1;if(!oi){if(!ve)return;oi=$e.fallbackTransition,Di=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:w,triggerName:R,transition:oi,fromState:wn,toState:Vn,player:vt,isFallbackTransition:Di}),Di||(yr(w,ca),vt.onStart(()=>{ns(w,ca)})),vt.onDone(()=>{let Bi=this.players.indexOf(vt);Bi>=0&&this.players.splice(Bi,1);const Hi=this._engine.playersByElement.get(w);if(Hi){let ur=Hi.indexOf(vt);ur>=0&&Hi.splice(ur,1)}}),this.players.push(vt),qo.push(vt),vt}deregister(w){this._triggers.delete(w),this._engine.statesByElement.forEach(R=>R.delete(w)),this._elementListeners.forEach((R,V)=>{this._elementListeners.set(V,R.filter(ve=>ve.name!=w))})}clearElementCache(w){this._engine.statesByElement.delete(w),this._elementListeners.delete(w);const R=this._engine.playersByElement.get(w);R&&(R.forEach(V=>V.destroy()),this._engine.playersByElement.delete(w))}_signalRemovalForInnerTriggers(w,R){const V=this._engine.driver.query(w,b,!0);V.forEach(ve=>{if(ve[Dn])return;const $e=this._engine.fetchNamespacesByElement(ve);$e.size?$e.forEach(vt=>vt.triggerLeaveAnimation(ve,R,!1,!0)):this.clearElementCache(ve)}),this._engine.afterFlushAnimationsDone(()=>V.forEach(ve=>this.clearElementCache(ve)))}triggerLeaveAnimation(w,R,V,ve){const $e=this._engine.statesByElement.get(w),vt=new Map;if($e){const Rt=[];if($e.forEach((wn,Vn)=>{if(vt.set(Vn,wn.value),this._triggers.has(Vn)){const $o=this.trigger(w,Vn,Qo,ve);$o&&Rt.push($o)}}),Rt.length)return this._engine.markElementAsRemoved(this.id,w,!0,R,vt),V&&Mt(Rt).onDone(()=>this._engine.processLeaveNode(w)),!0}return!1}prepareLeaveAnimationListeners(w){const R=this._elementListeners.get(w),V=this._engine.statesByElement.get(w);if(R&&V){const ve=new Set;R.forEach($e=>{const vt=$e.name;if(ve.has(vt))return;ve.add(vt);const wn=this._triggers.get(vt).fallbackTransition,Vn=V.get(vt)||nr,$o=new Io(Qo),Xo=new lr(this.id,vt,w);this._engine.totalQueuedPlayers++,this._queue.push({element:w,triggerName:vt,transition:wn,fromState:Vn,toState:$o,player:Xo,isFallbackTransition:!0})})}}removeNode(w,R){const V=this._engine;if(w.childElementCount&&this._signalRemovalForInnerTriggers(w,R),this.triggerLeaveAnimation(w,R,!0))return;let ve=!1;if(V.totalAnimations){const $e=V.players.length?V.playersByQueriedElement.get(w):[];if($e&&$e.length)ve=!0;else{let vt=w;for(;vt=vt.parentNode;)if(V.statesByElement.get(vt)){ve=!0;break}}}if(this.prepareLeaveAnimationListeners(w),ve)V.markElementAsRemoved(this.id,w,!1,R);else{const $e=w[Dn];(!$e||$e===Re)&&(V.afterFlush(()=>this.clearElementCache(w)),V.destroyInnerAnimations(w),V._onRemovalComplete(w,R))}}insertNode(w,R){yr(w,this._hostClassName)}drainQueuedTransitions(w){const R=[];return this._queue.forEach(V=>{const ve=V.player;if(ve.destroyed)return;const $e=V.element,vt=this._elementListeners.get($e);vt&&vt.forEach(Rt=>{if(Rt.name==V.triggerName){const wn=In($e,V.triggerName,V.fromState.value,V.toState.value);wn._data=w,fn(V.player,Rt.phase,wn,Rt.callback)}}),ve.markedForDestroy?this._engine.afterFlush(()=>{ve.destroy()}):R.push(V)}),this._queue=[],R.sort((V,ve)=>{const $e=V.transition.ast.depCount,vt=ve.transition.ast.depCount;return 0==$e||0==vt?$e-vt:this._engine.driver.containsElement(V.element,ve.element)?1:-1})}destroy(w){this.players.forEach(R=>R.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,w)}}class gr{_onRemovalComplete(w,R){this.onRemovalComplete(w,R)}constructor(w,R,V){this.bodyNode=w,this.driver=R,this._normalizer=V,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(ve,$e)=>{}}get queuedPlayers(){const w=[];return this._namespaceList.forEach(R=>{R.players.forEach(V=>{V.queued&&w.push(V)})}),w}createNamespace(w,R){const V=new Ir(w,R,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,R)?this._balanceNamespaceList(V,R):(this.newHostElements.set(R,V),this.collectEnterElement(R)),this._namespaceLookup[w]=V}_balanceNamespaceList(w,R){const V=this._namespaceList,ve=this.namespacesByHostElement;if(V.length-1>=0){let vt=!1,Rt=this.driver.getParentElement(R);for(;Rt;){const wn=ve.get(Rt);if(wn){const Vn=V.indexOf(wn);V.splice(Vn+1,0,w),vt=!0;break}Rt=this.driver.getParentElement(Rt)}vt||V.unshift(w)}else V.push(w);return ve.set(R,w),w}register(w,R){let V=this._namespaceLookup[w];return V||(V=this.createNamespace(w,R)),V}registerTrigger(w,R,V){let ve=this._namespaceLookup[w];ve&&ve.register(R,V)&&this.totalAnimations++}destroy(w,R){w&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const V=this._fetchNamespace(w);this.namespacesByHostElement.delete(V.hostElement);const ve=this._namespaceList.indexOf(V);ve>=0&&this._namespaceList.splice(ve,1),V.destroy(R),delete this._namespaceLookup[w]}))}_fetchNamespace(w){return this._namespaceLookup[w]}fetchNamespacesByElement(w){const R=new Set,V=this.statesByElement.get(w);if(V)for(let ve of V.values())if(ve.namespaceId){const $e=this._fetchNamespace(ve.namespaceId);$e&&R.add($e)}return R}trigger(w,R,V,ve){if(zr(R)){const $e=this._fetchNamespace(w);if($e)return $e.trigger(R,V,ve),!0}return!1}insertNode(w,R,V,ve){if(!zr(R))return;const $e=R[Dn];if($e&&$e.setForRemoval){$e.setForRemoval=!1,$e.setForMove=!0;const vt=this.collectedLeaveElements.indexOf(R);vt>=0&&this.collectedLeaveElements.splice(vt,1)}if(w){const vt=this._fetchNamespace(w);vt&&vt.insertNode(R,V)}ve&&this.collectEnterElement(R)}collectEnterElement(w){this.collectedEnterElements.push(w)}markElementAsDisabled(w,R){R?this.disabledNodes.has(w)||(this.disabledNodes.add(w),yr(w,va)):this.disabledNodes.has(w)&&(this.disabledNodes.delete(w),ns(w,va))}removeNode(w,R,V){if(zr(R)){const ve=w?this._fetchNamespace(w):null;ve?ve.removeNode(R,V):this.markElementAsRemoved(w,R,!1,V);const $e=this.namespacesByHostElement.get(R);$e&&$e.id!==w&&$e.removeNode(R,V)}else this._onRemovalComplete(R,V)}markElementAsRemoved(w,R,V,ve,$e){this.collectedLeaveElements.push(R),R[Dn]={namespaceId:w,setForRemoval:ve,hasAnimation:V,removedBeforeQueried:!1,previousTriggersValues:$e}}listen(w,R,V,ve,$e){return zr(R)?this._fetchNamespace(w).listen(R,V,ve,$e):()=>{}}_buildInstruction(w,R,V,ve,$e){return w.transition.build(this.driver,w.element,w.fromState.value,w.toState.value,V,ve,w.fromState.options,w.toState.options,R,$e)}destroyInnerAnimations(w){let R=this.driver.query(w,b,!0);R.forEach(V=>this.destroyActiveAnimationsForElement(V)),0!=this.playersByQueriedElement.size&&(R=this.driver.query(w,oe,!0),R.forEach(V=>this.finishActiveQueriedAnimationOnElement(V)))}destroyActiveAnimationsForElement(w){const R=this.playersByElement.get(w);R&&R.forEach(V=>{V.queued?V.markedForDestroy=!0:V.destroy()})}finishActiveQueriedAnimationOnElement(w){const R=this.playersByQueriedElement.get(w);R&&R.forEach(V=>V.finish())}whenRenderingDone(){return new Promise(w=>{if(this.players.length)return Mt(this.players).onDone(()=>w());w()})}processLeaveNode(w){const R=w[Dn];if(R&&R.setForRemoval){if(w[Dn]=Re,R.namespaceId){this.destroyInnerAnimations(w);const V=this._fetchNamespace(R.namespaceId);V&&V.clearElementCache(w)}this._onRemovalComplete(w,R.setForRemoval)}w.classList?.contains(va)&&this.markElementAsDisabled(w,!1),this.driver.query(w,".ng-animate-disabled",!0).forEach(V=>{this.markElementAsDisabled(V,!1)})}flush(w=-1){let R=[];if(this.newHostElements.size&&(this.newHostElements.forEach((V,ve)=>this._balanceNamespaceList(V,ve)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let V=0;VV()),this._flushFns=[],this._whenQuietFns.length){const V=this._whenQuietFns;this._whenQuietFns=[],R.length?Mt(R).onDone(()=>{V.forEach(ve=>ve())}):V.forEach(ve=>ve())}}reportError(w){throw function ie(){return new t.wOt(3402,!1)}()}_flushAnimations(w,R){const V=new ti,ve=[],$e=new Map,vt=[],Rt=new Map,wn=new Map,Vn=new Map,$o=new Set;this.disabledNodes.forEach(Ui=>{$o.add(Ui);const ir=this.driver.query(Ui,".ng-animate-queued",!0);for(let rr=0;rr{const rr=Nr+Bi++;Di.set(ir,rr),Ui.forEach(os=>yr(os,rr))});const Hi=[],ur=new Set,Vr=new Set;for(let Ui=0;Uiur.add(os)):Vr.add(ir))}const xs=new Map,br=Ei(qo,Array.from(ur));br.forEach((Ui,ir)=>{const rr=Hr+Bi++;xs.set(ir,rr),Ui.forEach(os=>yr(os,rr))}),w.push(()=>{oi.forEach((Ui,ir)=>{const rr=Di.get(ir);Ui.forEach(os=>ns(os,rr))}),br.forEach((Ui,ir)=>{const rr=xs.get(ir);Ui.forEach(os=>ns(os,rr))}),Hi.forEach(Ui=>{this.processLeaveNode(Ui)})});const Vi=[],zs=[];for(let Ui=this._namespaceList.length-1;Ui>=0;Ui--)this._namespaceList[Ui].drainQueuedTransitions(R).forEach(rr=>{const os=rr.player,Eo=rr.element;if(Vi.push(os),this.collectedEnterElements.length){const vs=Eo[Dn];if(vs&&vs.setForMove){if(vs.previousTriggersValues&&vs.previousTriggersValues.has(rr.triggerName)){const sl=vs.previousTriggersValues.get(rr.triggerName),xa=this.statesByElement.get(rr.element);if(xa&&xa.has(rr.triggerName)){const Vl=xa.get(rr.triggerName);Vl.value=sl,xa.set(rr.triggerName,Vl)}}return void os.destroy()}}const pr=!Xo||!this.driver.containsElement(Xo,Eo),ka=xs.get(Eo),rl=Di.get(Eo),sr=this._buildInstruction(rr,V,rl,ka,pr);if(sr.errors&&sr.errors.length)return void zs.push(sr);if(pr)return os.onStart(()=>Le(Eo,sr.fromStyles)),os.onDestroy(()=>Ie(Eo,sr.toStyles)),void ve.push(os);if(rr.isFallbackTransition)return os.onStart(()=>Le(Eo,sr.fromStyles)),os.onDestroy(()=>Ie(Eo,sr.toStyles)),void ve.push(os);const Dc=[];sr.timelines.forEach(vs=>{vs.stretchStartingKeyframe=!0,this.disabledNodes.has(vs.element)||Dc.push(vs)}),sr.timelines=Dc,V.append(Eo,sr.timelines),vt.push({instruction:sr,player:os,element:Eo}),sr.queriedElements.forEach(vs=>$n(Rt,vs,[]).push(os)),sr.preStyleProps.forEach((vs,sl)=>{if(vs.size){let xa=wn.get(sl);xa||wn.set(sl,xa=new Set),vs.forEach((Vl,vu)=>xa.add(vu))}}),sr.postStyleProps.forEach((vs,sl)=>{let xa=Vn.get(sl);xa||Vn.set(sl,xa=new Set),vs.forEach((Vl,vu)=>xa.add(vu))})});if(zs.length){const Ui=[];zs.forEach(ir=>{Ui.push(function Qe(){return new t.wOt(3505,!1)}())}),Vi.forEach(ir=>ir.destroy()),this.reportError(Ui)}const Ms=new Map,Us=new Map;vt.forEach(Ui=>{const ir=Ui.element;V.has(ir)&&(Us.set(ir,ir),this._beforeAnimationBuild(Ui.player.namespaceId,Ui.instruction,Ms))}),ve.forEach(Ui=>{const ir=Ui.element;this._getPreviousPlayers(ir,!1,Ui.namespaceId,Ui.triggerName,null).forEach(os=>{$n(Ms,ir,[]).push(os),os.destroy()})});const za=Hi.filter(Ui=>as(Ui,wn,Vn)),ul=new Map;Zo(ul,this.driver,Vr,Vn,ri.kp).forEach(Ui=>{as(Ui,wn,Vn)&&za.push(Ui)});const vl=new Map;oi.forEach((Ui,ir)=>{Zo(vl,this.driver,new Set(Ui),wn,ri.FX)}),za.forEach(Ui=>{const ir=ul.get(Ui),rr=vl.get(Ui);ul.set(Ui,new Map([...ir?.entries()??[],...rr?.entries()??[]]))});const ic=[],pl=[],pd={};vt.forEach(Ui=>{const{element:ir,player:rr,instruction:os}=Ui;if(V.has(ir)){if($o.has(ir))return rr.onDestroy(()=>Ie(ir,os.toStyles)),rr.disabled=!0,rr.overrideTotalTime(os.totalTime),void ve.push(rr);let Eo=pd;if(Us.size>1){let ka=ir;const rl=[];for(;ka=ka.parentNode;){const sr=Us.get(ka);if(sr){Eo=sr;break}rl.push(ka)}rl.forEach(sr=>Us.set(sr,Eo))}const pr=this._buildAnimation(rr.namespaceId,os,Ms,$e,vl,ul);if(rr.setRealPlayer(pr),Eo===pd)ic.push(rr);else{const ka=this.playersByElement.get(Eo);ka&&ka.length&&(rr.parentPlayer=Mt(ka)),ve.push(rr)}}else Le(ir,os.fromStyles),rr.onDestroy(()=>Ie(ir,os.toStyles)),pl.push(rr),$o.has(ir)&&ve.push(rr)}),pl.forEach(Ui=>{const ir=$e.get(Ui.element);if(ir&&ir.length){const rr=Mt(ir);Ui.setRealPlayer(rr)}}),ve.forEach(Ui=>{Ui.parentPlayer?Ui.syncPlayerEvents(Ui.parentPlayer):Ui.destroy()});for(let Ui=0;Ui!pr.destroyed);Eo.length?Jr(this,ir,Eo):this.processLeaveNode(ir)}return Hi.length=0,ic.forEach(Ui=>{this.players.push(Ui),Ui.onDone(()=>{Ui.destroy();const ir=this.players.indexOf(Ui);this.players.splice(ir,1)}),Ui.play()}),ic}afterFlush(w){this._flushFns.push(w)}afterFlushAnimationsDone(w){this._whenQuietFns.push(w)}_getPreviousPlayers(w,R,V,ve,$e){let vt=[];if(R){const Rt=this.playersByQueriedElement.get(w);Rt&&(vt=Rt)}else{const Rt=this.playersByElement.get(w);if(Rt){const wn=!$e||$e==Qo;Rt.forEach(Vn=>{Vn.queued||!wn&&Vn.triggerName!=ve||vt.push(Vn)})}}return(V||ve)&&(vt=vt.filter(Rt=>!(V&&V!=Rt.namespaceId||ve&&ve!=Rt.triggerName))),vt}_beforeAnimationBuild(w,R,V){const $e=R.element,vt=R.isRemovalTransition?void 0:w,Rt=R.isRemovalTransition?void 0:R.triggerName;for(const wn of R.timelines){const Vn=wn.element,$o=Vn!==$e,Xo=$n(V,Vn,[]);this._getPreviousPlayers(Vn,$o,vt,Rt,R.toState).forEach(oi=>{const Di=oi.getRealPlayer();Di.beforeDestroy&&Di.beforeDestroy(),oi.destroy(),Xo.push(oi)})}Le($e,R.fromStyles)}_buildAnimation(w,R,V,ve,$e,vt){const Rt=R.triggerName,wn=R.element,Vn=[],$o=new Set,Xo=new Set,qo=R.timelines.map(Di=>{const Bi=Di.element;$o.add(Bi);const Hi=Bi[Dn];if(Hi&&Hi.removedBeforeQueried)return new ri.sf(Di.duration,Di.delay);const ur=Bi!==wn,Vr=function Es(T){const w=[];return da(T,w),w}((V.get(Bi)||Qt).map(Ms=>Ms.getRealPlayer())).filter(Ms=>!!Ms.element&&Ms.element===Bi),xs=$e.get(Bi),br=vt.get(Bi),Vi=Dt(this._normalizer,Di.keyframes,xs,br),zs=this._buildPlayer(Di,Vi,Vr);if(Di.subTimeline&&ve&&Xo.add(Bi),ur){const Ms=new lr(w,Rt,Bi);Ms.setRealPlayer(zs),Vn.push(Ms)}return zs});Vn.forEach(Di=>{$n(this.playersByQueriedElement,Di.element,[]).push(Di),Di.onDone(()=>function Br(T,w,R){let V=T.get(w);if(V){if(V.length){const ve=V.indexOf(R);V.splice(ve,1)}0==V.length&&T.delete(w)}return V}(this.playersByQueriedElement,Di.element,Di))}),$o.forEach(Di=>yr(Di,ee));const oi=Mt(qo);return oi.onDestroy(()=>{$o.forEach(Di=>ns(Di,ee)),Ie(wn,R.toStyles)}),Xo.forEach(Di=>{$n(ve,Di,[]).push(oi)}),oi}_buildPlayer(w,R,V){return R.length>0?this.driver.animate(w.element,R,w.duration,w.delay,w.easing,V):new ri.sf(w.duration,w.delay)}}class lr{constructor(w,R,V){this.namespaceId=w,this.triggerName=R,this.element=V,this._player=new ri.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(w){this._containsRealPlayer||(this._player=w,this._queuedCallbacks.forEach((R,V)=>{R.forEach(ve=>fn(w,V,void 0,ve))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(w.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(w){this.totalTime=w}syncPlayerEvents(w){const R=this._player;R.triggerCallback&&w.onStart(()=>R.triggerCallback("start")),w.onDone(()=>this.finish()),w.onDestroy(()=>this.destroy())}_queueEvent(w,R){$n(this._queuedCallbacks,w,[]).push(R)}onDone(w){this.queued&&this._queueEvent("done",w),this._player.onDone(w)}onStart(w){this.queued&&this._queueEvent("start",w),this._player.onStart(w)}onDestroy(w){this.queued&&this._queueEvent("destroy",w),this._player.onDestroy(w)}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(w){this.queued||this._player.setPosition(w)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(w){const R=this._player;R.triggerCallback&&R.triggerCallback(w)}}function zr(T){return T&&1===T.nodeType}function Fr(T,w){const R=T.style.display;return T.style.display=w??"none",R}function Zo(T,w,R,V,ve){const $e=[];R.forEach(wn=>$e.push(Fr(wn)));const vt=[];V.forEach((wn,Vn)=>{const $o=new Map;wn.forEach(Xo=>{const qo=w.computeStyle(Vn,Xo,ve);$o.set(Xo,qo),(!qo||0==qo.length)&&(Vn[Dn]=Tt,vt.push(Vn))}),T.set(Vn,$o)});let Rt=0;return R.forEach(wn=>Fr(wn,$e[Rt++])),vt}function Ei(T,w){const R=new Map;if(T.forEach(Rt=>R.set(Rt,[])),0==w.length)return R;const ve=new Set(w),$e=new Map;function vt(Rt){if(!Rt)return 1;let wn=$e.get(Rt);if(wn)return wn;const Vn=Rt.parentNode;return wn=R.has(Vn)?Vn:ve.has(Vn)?1:vt(Vn),$e.set(Rt,wn),wn}return w.forEach(Rt=>{const wn=vt(Rt);1!==wn&&R.get(wn).push(Rt)}),R}function yr(T,w){T.classList?.add(w)}function ns(T,w){T.classList?.remove(w)}function Jr(T,w,R){Mt(R).onDone(()=>T.processLeaveNode(w))}function da(T,w){for(let R=0;Rve.add($e)):w.set(T,V),R.delete(T),!0}class fs{constructor(w,R,V){this._driver=R,this._normalizer=V,this._triggerCache={},this.onRemovalComplete=(ve,$e)=>{},this._transitionEngine=new gr(w.body,R,V),this._timelineEngine=new Za(w.body,R,V),this._transitionEngine.onRemovalComplete=(ve,$e)=>this.onRemovalComplete(ve,$e)}registerTrigger(w,R,V,ve,$e){const vt=w+"-"+ve;let Rt=this._triggerCache[vt];if(!Rt){const wn=[],$o=hs(this._driver,$e,wn,[]);if(wn.length)throw function Jo(){return new t.wOt(3404,!1)}();Rt=function Qa(T,w,R){return new ya(T,w,R)}(ve,$o,this._normalizer),this._triggerCache[vt]=Rt}this._transitionEngine.registerTrigger(R,ve,Rt)}register(w,R){this._transitionEngine.register(w,R)}destroy(w,R){this._transitionEngine.destroy(w,R)}onInsert(w,R,V,ve){this._transitionEngine.insertNode(w,R,V,ve)}onRemove(w,R,V){this._transitionEngine.removeNode(w,R,V)}disableAnimations(w,R){this._transitionEngine.markElementAsDisabled(w,R)}process(w,R,V,ve){if("@"==V.charAt(0)){const[$e,vt]=vo(V);this._timelineEngine.command($e,R,vt,ve)}else this._transitionEngine.trigger(w,R,V,ve)}listen(w,R,V,ve,$e){if("@"==V.charAt(0)){const[vt,Rt]=vo(V);return this._timelineEngine.listen(vt,R,Rt,$e)}return this._transitionEngine.listen(w,R,V,ve,$e)}flush(w=-1){this._transitionEngine.flush(w)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(w){this._transitionEngine.afterFlushAnimationsDone(w)}}class ws{constructor(w,R,V){this._element=w,this._startStyles=R,this._endStyles=V,this._state=0;let ve=ws.initialStylesByElement.get(w);ve||ws.initialStylesByElement.set(w,ve=new Map),this._initialStyles=ve}start(){this._state<1&&(this._startStyles&&Ie(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ie(this._element,this._initialStyles),this._endStyles&&(Ie(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ws.initialStylesByElement.delete(this._element),this._startStyles&&(Le(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Le(this._element,this._endStyles),this._endStyles=null),Ie(this._element,this._initialStyles),this._state=3)}}function Is(T){let w=null;return T.forEach((R,V)=>{(function ds(T){return"display"===T||"position"===T})(V)&&(w=w||new Map,w.set(V,R))}),w}ws.initialStylesByElement=new WeakMap;class cs{constructor(w,R,V,ve){this.element=w,this.keyframes=R,this.options=V,this._specialStyles=ve,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=V.duration,this._delay=V.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(w=>w()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const w=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,w,this.options),this._finalKeyframe=w.length?w[w.length-1]:new Map;const R=()=>this._onFinish();this.domPlayer.addEventListener("finish",R),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",R)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(w){const R=[];return w.forEach(V=>{R.push(Object.fromEntries(V))}),R}_triggerWebAnimation(w,R,V){return w.animate(this._convertKeyframesToObject(R),V)}onStart(w){this._originalOnStartFns.push(w),this._onStartFns.push(w)}onDone(w){this._originalOnDoneFns.push(w),this._onDoneFns.push(w)}onDestroy(w){this._onDestroyFns.push(w)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(w=>w()),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(w=>w()),this._onDestroyFns=[])}setPosition(w){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=w*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const w=new Map;this.hasStarted()&&this._finalKeyframe.forEach((V,ve)=>{"offset"!==ve&&w.set(ve,this._finished?V:fo(this.element,ve))}),this.currentSnapshot=w}triggerCallback(w){const R="start"===w?this._onStartFns:this._onDoneFns;R.forEach(V=>V()),R.length=0}}class Js{validateStyleProperty(w){return!0}validateAnimatableStyleProperty(w){return!0}containsElement(w,R){return Or(w,R)}getParentElement(w){return po(w)}query(w,R,V){return Lr(w,R,V)}computeStyle(w,R,V){return fo(w,R)}animate(w,R,V,ve,$e,vt=[]){const wn={duration:V,delay:ve,fill:0==ve?"both":"forwards"};$e&&(wn.easing=$e);const Vn=new Map,$o=vt.filter(oi=>oi instanceof cs);(function on(T,w){return 0===T||0===w})(V,ve)&&$o.forEach(oi=>{oi.currentSnapshot.forEach((Di,Bi)=>Vn.set(Bi,Di))});let Xo=function Ee(T){return T.length?T[0]instanceof Map?T:T.map(w=>new Map(Object.entries(w))):[]}(R).map(oi=>new Map(oi));Xo=function Qn(T,w,R){if(R.size&&w.length){let V=w[0],ve=[];if(R.forEach(($e,vt)=>{V.has(vt)||ve.push(vt),V.set(vt,$e)}),ve.length)for(let $e=1;$evt.set(Rt,fo(T,Rt)))}}return w}(w,Xo,Vn);const qo=function Xi(T,w){let R=null,V=null;return Array.isArray(w)&&w.length?(R=Is(w[0]),w.length>1&&(V=Is(w[w.length-1]))):w instanceof Map&&(R=Is(w)),R||V?new ws(T,R,V):null}(w,Xo);return new cs(w,Xo,wn,qo)}}const wa="@.disabled";class ha{constructor(w,R,V,ve){this.namespaceId=w,this.delegate=R,this.engine=V,this._onDestroy=ve,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(w){this.delegate.destroyNode?.(w)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(w,R){return this.delegate.createElement(w,R)}createComment(w){return this.delegate.createComment(w)}createText(w){return this.delegate.createText(w)}appendChild(w,R){this.delegate.appendChild(w,R),this.engine.onInsert(this.namespaceId,R,w,!1)}insertBefore(w,R,V,ve=!0){this.delegate.insertBefore(w,R,V),this.engine.onInsert(this.namespaceId,R,w,ve)}removeChild(w,R,V){this.parentNode(R)&&this.engine.onRemove(this.namespaceId,R,this.delegate)}selectRootElement(w,R){return this.delegate.selectRootElement(w,R)}parentNode(w){return this.delegate.parentNode(w)}nextSibling(w){return this.delegate.nextSibling(w)}setAttribute(w,R,V,ve){this.delegate.setAttribute(w,R,V,ve)}removeAttribute(w,R,V){this.delegate.removeAttribute(w,R,V)}addClass(w,R){this.delegate.addClass(w,R)}removeClass(w,R){this.delegate.removeClass(w,R)}setStyle(w,R,V,ve){this.delegate.setStyle(w,R,V,ve)}removeStyle(w,R,V){this.delegate.removeStyle(w,R,V)}setProperty(w,R,V){"@"==R.charAt(0)&&R==wa?this.disableAnimations(w,!!V):this.delegate.setProperty(w,R,V)}setValue(w,R){this.delegate.setValue(w,R)}listen(w,R,V){return this.delegate.listen(w,R,V)}disableAnimations(w,R){this.engine.disableAnimations(w,R)}}class $a extends ha{constructor(w,R,V,ve,$e){super(R,V,ve,$e),this.factory=w,this.namespaceId=R}setProperty(w,R,V){"@"==R.charAt(0)?"."==R.charAt(1)&&R==wa?this.disableAnimations(w,V=void 0===V||!!V):this.engine.process(this.namespaceId,w,R.slice(1),V):this.delegate.setProperty(w,R,V)}listen(w,R,V){if("@"==R.charAt(0)){const ve=function Bs(T){switch(T){case"body":return document.body;case"document":return document;case"window":return window;default:return T}}(w);let $e=R.slice(1),vt="";return"@"!=$e.charAt(0)&&([$e,vt]=function Mi(T){const w=T.indexOf(".");return[T.substring(0,w),T.slice(w+1)]}($e)),this.engine.listen(this.namespaceId,ve,$e,vt,Rt=>{this.factory.scheduleListenerCallback(Rt._data||-1,V,Rt)})}return this.delegate.listen(w,R,V)}}class Ra{constructor(w,R,V){this.delegate=w,this.engine=R,this._zone=V,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,R.onRemovalComplete=(ve,$e)=>{$e?.removeChild(null,ve)}}createRenderer(w,R){const ve=this.delegate.createRenderer(w,R);if(!w||!R?.data?.animation){const Vn=this._rendererCache;let $o=Vn.get(ve);return $o||($o=new ha("",ve,this.engine,()=>Vn.delete(ve)),Vn.set(ve,$o)),$o}const $e=R.id,vt=R.id+"-"+this._currentId;this._currentId++,this.engine.register(vt,w);const Rt=Vn=>{Array.isArray(Vn)?Vn.forEach(Rt):this.engine.registerTrigger($e,vt,w,Vn.name,Vn)};return R.data.animation.forEach(Rt),new $a(this,vt,ve,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(w,R,V){if(w>=0&&wR(V));const ve=this._animationCallbacksBuffer;0==ve.length&&queueMicrotask(()=>{this._zone.run(()=>{ve.forEach($e=>{const[vt,Rt]=$e;vt(Rt)}),this._animationCallbacksBuffer=[]})}),ve.push([R,V])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const y=[{provide:Ci,useFactory:function Ma(){return new wo}},{provide:fs,useClass:(()=>{var T;class w extends fs{constructor(V,ve,$e){super(V,ve,$e)}ngOnDestroy(){this.flush()}}return(T=w).\u0275fac=function(V){return new(V||T)(t.KVO(l.qQ),t.KVO(Er),t.KVO(Ci))},T.\u0275prov=t.jDH({token:T,factory:T.\u0275fac}),w})()},{provide:t._9s,useFactory:function I(T,w,R){return new Ra(T,w,R)},deps:[e.B7,fs,t.SKi]}],f=[{provide:Er,useFactory:()=>new Js},{provide:t.bc$,useValue:"BrowserAnimations"},...y],C=[{provide:Er,useClass:fr},{provide:t.bc$,useValue:"NoopAnimations"},...y];let P=(()=>{var T;class w{static withConfig(V){return{ngModule:w,providers:V.disableAnimations?C:f}}}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275mod=t.$C({type:T}),T.\u0275inj=t.G2t({providers:f,imports:[e.Bb]}),w})();var me=i(3271),Se=i(22694);let ft=(()=>{var T;class w{}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275cmp=t.VBU({type:T,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(V,ve){1&V&&(t.j41(0,"article")(1,"h1"),t.EFF(2,"Accessibility in Kirby"),t.k0s(),t.j41(3,"h2"),t.EFF(4,"Can Kirby make an application accessible?"),t.k0s(),t.j41(5,"p"),t.EFF(6,"The short answer is no."),t.k0s(),t.j41(7,"p"),t.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. "),t.k0s(),t.j41(9,"p"),t.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? "),t.k0s(),t.j41(11,"p"),t.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 "),t.j41(13,"a",0),t.EFF(14," as with fixing a bug "),t.k0s(),t.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. "),t.k0s(),t.j41(16,"p"),t.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 "),t.j41(18,"a",1),t.EFF(19," exploring new ways of improving your product for everyone "),t.k0s(),t.EFF(20," . "),t.k0s(),t.j41(21,"p"),t.EFF(22,"So where do you begin? Our suggestion is to read on!"),t.k0s(),t.j41(23,"h3"),t.EFF(24,"Mindset - what is accessibility?"),t.k0s(),t.j41(25,"p"),t.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. "),t.k0s(),t.j41(27,"h4"),t.EFF(28,"Accessibility is not a feature"),t.k0s(),t.j41(29,"p"),t.EFF(30,"Accessibility is not something that is tagged onto an application like a feature."),t.k0s(),t.j41(31,"p")(32,"strong"),t.EFF(33,"All"),t.k0s(),t.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. "),t.k0s(),t.j41(35,"p"),t.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. "),t.k0s(),t.j41(37,"h4"),t.EFF(38,"A whole different UX"),t.k0s(),t.j41(39,"p"),t.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. "),t.k0s(),t.j41(41,"p"),t.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. '),t.k0s(),t.j41(43,"p"),t.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. "),t.k0s(),t.j41(45,"h4"),t.EFF(46,"More than screen readers"),t.k0s(),t.j41(47,"p"),t.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. "),t.k0s(),t.j41(49,"p"),t.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. "),t.k0s(),t.j41(51,"p"),t.EFF(52," Someone with "),t.j41(53,"a",2),t.EFF(54,"vestibular or seizure"),t.k0s(),t.EFF(55," disorder would prefer that their "),t.j41(56,"a",3),t.EFF(57," preference for reduced motion "),t.k0s(),t.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. "),t.k0s(),t.j41(59,"h4"),t.EFF(60,"An ego-centric argument for accessibility"),t.k0s(),t.j41(61,"p"),t.EFF(62," To conclude accessibility is many things. Various aspects of your application ranging from the markup to design are affected by it. "),t.k0s(),t.j41(63,"p"),t.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? "),t.k0s(),t.j41(65,"p"),t.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. "),t.k0s(),t.j41(67,"p"),t.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. "),t.k0s(),t.j41(69,"p"),t.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? "),t.k0s(),t.j41(71,"h2"),t.EFF(72,"Kirby's role"),t.k0s(),t.j41(73,"p"),t.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? "),t.k0s(),t.j41(75,"h3"),t.EFF(76,"Do not be in the way"),t.k0s(),t.j41(77,"p"),t.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. "),t.k0s(),t.j41(79,"p"),t.EFF(80,"But the components in Kirby should never be in the way of making an application accessible."),t.k0s(),t.j41(81,"p"),t.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 "),t.j41(83,"a",4),t.EFF(84," Kirby Design System Github repository "),t.k0s(),t.EFF(85," . "),t.k0s(),t.j41(86,"h3"),t.EFF(87,"A knowledge source"),t.k0s(),t.j41(88,"p"),t.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. "),t.k0s(),t.j41(90,"h2"),t.EFF(91,"We need the help of developers"),t.k0s(),t.j41(92,"p"),t.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. "),t.k0s(),t.j41(94,"p"),t.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. "),t.k0s(),t.j41(96,"p"),t.EFF(97," We have created a Github discussions thread where experiences can be shared "),t.j41(98,"a",5),t.EFF(99,"here"),t.k0s(),t.EFF(100," . If a submission is highlighted in the documentation it will happen anonymously. "),t.k0s(),t.j41(101,"h2"),t.EFF(102,"How do I get started improving the accessibility of my application?"),t.k0s(),t.j41(103,"p"),t.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. "),t.k0s(),t.j41(105,"h3"),t.EFF(106,"A11y.coffee: A great starting point"),t.k0s(),t.j41(107,"p"),t.EFF(108," The content on "),t.j41(109,"a",6),t.EFF(110,"a11y.coffee"),t.k0s(),t.EFF(111," is a great starting point; especially its "),t.j41(112,"a",7),t.EFF(113,"coffee metaphor"),t.k0s(),t.EFF(114," serves as a good overview of testing methods. Furthermore it also has a list of "),t.j41(115,"a",8),t.EFF(116,"quick wins"),t.k0s(),t.EFF(117," for those who want to get their hands dirty. "),t.k0s(),t.j41(118,"h3"),t.EFF(119,"Check out the WCAG standard"),t.k0s(),t.j41(120,"p"),t.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. "),t.k0s(),t.j41(122,"p"),t.EFF(123," It is worth checking out as it is the standard upon which all other work in the web accessibility domain is based. "),t.k0s(),t.j41(124,"p")(125,"a",9),t.EFF(126,"This overview"),t.k0s(),t.EFF(127," serves as a good starting point for diving into the "),t.j41(128,"a",10),t.EFF(129,"WCAG standard"),t.k0s(),t.EFF(130," . "),t.k0s(),t.j41(131,"h3"),t.EFF(132,"Topics for exploration"),t.k0s(),t.j41(133,"p"),t.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: "),t.k0s(),t.j41(135,"ul")(136,"li")(137,"a",11),t.EFF(138,"How to evaluate accessibility"),t.k0s(),t.EFF(139," in your application. As mentioned, automatic testing can not be relied on alone; skill and education is required as a developer. "),t.k0s(),t.j41(140,"li"),t.EFF(141," How to write proper "),t.j41(142,"a",12),t.EFF(143," semantic markup "),t.k0s(),t.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. "),t.k0s(),t.j41(145,"li"),t.EFF(146," How and "),t.j41(147,"a",13),t.EFF(148,"when"),t.k0s(),t.EFF(149," to use ARIA attributes. "),t.k0s()(),t.j41(150,"h3"),t.EFF(151,"Resources"),t.k0s(),t.j41(152,"p"),t.EFF(153," While a11y.coffee has a "),t.j41(154,"a",14),t.EFF(155,"list of resources"),t.k0s(),t.EFF(156," to further explore the field of accessibility, we would like to supplement that with some of our own resources: "),t.k0s(),t.j41(157,"ul")(158,"li")(159,"a",15),t.EFF(160,"WebAIM articles"),t.k0s(),t.EFF(161," : a list of high quality articles from WebAIM ranging from a "),t.j41(162,"a",16),t.EFF(163,"beginner friendly introduction to a11y"),t.k0s(),t.EFF(164," to an "),t.j41(165,"a",17),t.EFF(166," 8-step implementation models "),t.k0s(),t.EFF(167," . "),t.k0s(),t.j41(168,"li")(169,"a",18),t.EFF(170,"The a11y project checklist"),t.k0s(),t.EFF(171," : a user friendly checklist based on "),t.j41(172,"a",19),t.EFF(173,"WCAG"),t.k0s(),t.EFF(174," for evaluating and identifying opportunities for improving accessibility in applications. The a11y project also has a large "),t.j41(175,"a",20),t.EFF(176,"list of resources"),t.k0s(),t.EFF(177," from newsletters and books to podcasts. "),t.k0s()()())},encapsulation:2}),w})();const Ft=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 hn=i(32667),vn=i(98990);let Sn=(()=>{var T;class w{}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275cmp=t.VBU({type:T,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(V,ve){1&V&&(t.j41(0,"div",0)(1,"a",1)(2,"kirby-card"),t.nrm(3,"img",2),t.k0s(),t.j41(4,"h3"),t.EFF(5),t.k0s(),t.j41(6,"p"),t.EFF(7),t.k0s()()()),2&V&&(t.R7$(),t.Y8G("routerLink",ve.route),t.R7$(2),t.FS9("src",ve.svgPath,t.B4B),t.R7$(2),t.JRh(ve.title),t.R7$(2),t.SpI(" ",ve.paragraph," "))},dependencies:[Se.Wk,vn.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}"]}),w})();function qn(T,w){if(1&T&&t.nrm(0,"cookbook-component-display",3),2&T){const R=w.$implicit;t.Y8G("route",R.route)("svgPath",R.svgPath)("paragraph",R.paragraph)("title",R.title)}}let ho=(()=>{var T;class w{constructor(V){this._router=V}ngOnInit(){this.listOfComponents=Ft.s}}return(T=w).\u0275fac=function(V){return new(V||T)(t.rXU(Se.Ix))},T.\u0275cmp=t.VBU({type:T,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(V,ve){1&V&&(t.j41(0,"h1"),t.EFF(1,"Components"),t.k0s(),t.j41(2,"p"),t.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"),t.k0s(),t.nrm(4,"kirby-divider",0),t.j41(5,"div",1),t.DNE(6,qn,1,4,"cookbook-component-display",2),t.k0s()),2&V&&(t.R7$(4),t.Y8G("hasMargin",!0),t.R7$(2),t.Y8G("ngForOf",ve.listOfComponents))},dependencies:[l.Sq,hn.h,Sn],styles:[".grid[_ngcontent-%COMP%]{padding-top:35px;display:grid;grid-template-columns:repeat(auto-fit,237px);gap:35px 24px;justify-content:space-around}"]}),w})();var Fo=i(29081),zo=i(49524),ai=i(35043),W=i(47008);const te=()=>({exact:!1});function ye(T,w){if(1&T&&(t.j41(0,"a",23),t.EFF(1),t.k0s()),2&T){const R=t.XpG().$implicit;t.Y8G("href",R.externalUrl,t.B4B),t.R7$(),t.SpI(" ",R.text," ")}}function se(T,w){if(1&T&&(t.j41(0,"a",24,0),t.EFF(2),t.k0s()),2&T){const R=t.XpG().$implicit;t.Y8G("routerLink",R.route)("routerLinkActiveOptions",t.lJ4(3,te)),t.R7$(2),t.SpI(" ",R.text," ")}}function Oe(T,w){if(1&T&&(t.j41(0,"li"),t.DNE(1,ye,2,2,"a",21)(2,se,3,4,"a",22),t.k0s()),2&T){const R=w.$implicit;t.R7$(),t.Y8G("ngIf",R.externalUrl),t.R7$(),t.Y8G("ngIf",R.route)}}const bt=[{text:"Introduction",route:"/home/intro"},{text:"Components",route:"/home/component-overview"},{text:"Guides",route:"/home/guides"},{text:"Accessibility",route:"/home/accessibility-in-kirby"},{text:"Extensions",route:"/home/extensions"},{text:"Changelog",externalUrl:"https://github.com/kirbydesign/designsystem/releases"},{text:"GitHub",externalUrl:"https://github.com/kirbydesign/designsystem"}];let wt=(()=>{var T;class w{constructor(){this.isMenuOpen=!1,this.menuToggle=new t.bkB,this.navigationItems=bt}get menuIcon(){return this.isMenuOpen?"close":"more"}onToggleMenu(){this.isMenuOpen=!this.isMenuOpen,this.menuToggle.emit(this.isMenuOpen)}}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275cmp=t.VBU({type:T,selectors:[["cookbook-header"]],inputs:{isMenuOpen:"isMenuOpen"},outputs:{menuToggle:"menuToggle"},decls:26,vars:2,consts:[["routerLinkActive","routerLinkActive"],["routerLink","/","aria-label","Home"],[1,"logo"],["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"],[4,"ngFor","ngForOf"],["kirby-button","","attentionLevel","3",1,"menu-button",3,"click"],[3,"name"],["class","kirby-external-icon kirby-text-small","target","blank",3,"href",4,"ngIf"],["href","#","class","kirby-text-small","routerLinkActive","",3,"routerLink","routerLinkActiveOptions",4,"ngIf"],["target","blank",1,"kirby-external-icon","kirby-text-small",3,"href"],["href","#","routerLinkActive","",1,"kirby-text-small",3,"routerLink","routerLinkActiveOptions"]],template:function(V,ve){1&V&&(t.j41(0,"header")(1,"a",1)(2,"div",2),t.qSk(),t.j41(3,"svg",3)(4,"style",4),t.EFF(5," .st0 { fill: #1d1d1b; } "),t.k0s(),t.j41(6,"g")(7,"g",5),t.nrm(8,"path",6)(9,"path",7)(10,"path",8)(11,"path",9)(12,"path",10)(13,"path",11),t.k0s(),t.j41(14,"g",12),t.nrm(15,"path",13),t.k0s(),t.j41(16,"g")(17,"g",14),t.nrm(18,"path",15),t.k0s(),t.j41(19,"g",16),t.nrm(20,"path",17),t.k0s()()()()()(),t.joV(),t.j41(21,"nav")(22,"ul"),t.DNE(23,Oe,3,2,"li",18),t.k0s()(),t.j41(24,"button",19),t.bIt("click",function(){return ve.onToggleMenu()}),t.nrm(25,"kirby-icon",20),t.k0s()()),2&V&&(t.R7$(23),t.Y8G("ngForOf",ve.navigationItems),t.R7$(2),t.Y8G("name",ve.menuIcon))},dependencies:[l.Sq,l.bT,Se.Wk,Se.wQ,ai.Rl,W.Q],styles:["[_nghost-%COMP%]{display:flex;grid-area:header;align-items:flex-end}header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start;flex-grow:1}@media (min-width: 992px){.menu-button[_ngcontent-%COMP%]{display:none}}nav[_ngcontent-%COMP%]{display:none}@media (min-width: 992px){nav[_ngcontent-%COMP%]{display:block}}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;column-gap:56px;list-style:none;padding:0;margin:0;line-height:normal}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-block-start:0}.logo[_ngcontent-%COMP%]{width:40px;height:40px}@media (min-width: 992px){.logo[_ngcontent-%COMP%]{width:64px;height:64px}}.logo[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:100%;width:100%}.logo[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_enter .5s ease-in-out .5s forwards}.logo[_ngcontent-%COMP%] .large-rect[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_enter .5s ease-in-out .9s forwards}.logo[_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[_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}}"]}),w})();var zn=i(56297);const lo=["componentLink"],no=()=>({exact:!1}),vi=T=>({"is-selected":T});function di(T,w){if(1&T){const R=t.RV6();t.j41(0,"a",8),t.bIt("click",function(){t.eBV(R);const ve=t.XpG(2);return t.Njj(ve.onToggleMenu())}),t.EFF(1),t.k0s()}if(2&T){const R=t.XpG().$implicit;t.Y8G("routerLink",R.route)("routerLinkActiveOptions",t.lJ4(3,no)),t.R7$(),t.SpI(" ",R.text," ")}}function Ri(T,w){if(1&T&&(t.j41(0,"a",9),t.EFF(1),t.k0s()),2&T){const R=t.XpG().$implicit;t.Y8G("href",R.externalUrl,t.B4B),t.R7$(),t.JRh(R.text)}}function or(T,w){if(1&T&&(t.qex(0),t.DNE(1,di,2,4,"a",6)(2,Ri,2,2,"a",7),t.bVm()),2&T){const R=w.$implicit;t.R7$(),t.Y8G("ngIf",R.route),t.R7$(),t.Y8G("ngIf",R.externalUrl)}}function bs(T,w){if(1&T){const R=t.RV6();t.j41(0,"button",10),t.bIt("click",function(){t.eBV(R);const ve=t.XpG();return t.Njj(ve.onFilterChange(""))}),t.nrm(1,"kirby-icon",11),t.k0s()}2&T&&t.Y8G("noDecoration",!0)}function ma(T,w){if(1&T){const R=t.RV6();t.j41(0,"a",13,0),t.bIt("click",function(){const ve=t.eBV(R).$implicit,$e=t.XpG(2);return t.Njj($e.onComponentLinkClick(ve.path))}),t.EFF(2),t.k0s()}if(2&T){const R=w.$implicit;t.HbH(t.eq3(4,vi,R.active)),t.Y8G("routerLink",R.path),t.R7$(2),t.SpI(" ",R.name," ")}}function As(T,w){if(1&T&&(t.qex(0),t.DNE(1,ma,3,6,"a",12),t.nrm(2,"hr"),t.bVm()),2&T){const R=w.$implicit;t.R7$(),t.Y8G("ngForOf",R)}}let fa=(()=>{var T;class w{constructor(V){this.router=V,this.filter="",this.menuToggle=new t.bkB,this.isMenuOpen=!1,this.navigationLinks=bt}ngOnInit(){this.mapRoutes(),this.router.events.pipe((0,v.p)(V=>V instanceof Se.wF)).subscribe(V=>{V.urlAfterRedirects.includes("/showcase/")||this.applyComponentFilter("")})}mapRoutes(){const ve=zo.J[0].children.filter($e=>$e.path).filter($e=>!$e.data?.hide);ve.sort(this.sortByPath),this.allShowcaseRoutes=ve.map($e=>({path:`showcase/${$e.path}`,name:(0,Fo.Zj)($e.path),active:this.router.url.endsWith($e.path)})),this.applyComponentFilter("")}sortByPath(V,ve){return V.pathve.path?1:0}onFilterChange(V){this.applyComponentFilter(V)}onFilterArrowDown(V){V.preventDefault();const ve=this.componentLinks.first;ve&&ve.nativeElement.focus()}onLinksArrowUpDown(V){V.preventDefault();const ve=this.componentLinks.map(Rt=>Rt.nativeElement),$e=ve.findIndex(Rt=>Rt===document.activeElement);-1!==$e&&("ArrowDown"===V.key?ve[Math.min($e+1,ve.length-1)]:ve[Math.max($e-1,0)]).focus()}onComponentLinkClick(V){this.setRouteActive(V),this.closeMenu()}closeMenu(){this.isMenuOpen=!1,this.menuToggle.emit(this.isMenuOpen)}applyComponentFilter(V){this.filter=V;let ve=this.allShowcaseRoutes;if(V.length>0){const $e=V[0].toUpperCase()===V[0],vt=$e?V:V.toLowerCase();ve=ve.filter(Rt=>($e?Rt.name:Rt.name.toLowerCase()).includes(vt))}this.filteredShowcaseRoutes=this.distributeSideNavLinksAlphabetically(ve)}distributeSideNavLinksAlphabetically(V){const ve=V.reduce(($e,vt)=>{const Rt=vt.name[0];return vt.active=this.router.url.endsWith(vt.path),$e[Rt]=void 0===$e[Rt]?[vt]:[...$e[Rt],vt],$e},{});return Object.keys(ve).map($e=>ve[$e])}setRouteActive(V){this.filteredShowcaseRoutes=this.filteredShowcaseRoutes.map(ve=>ve.map($e=>({...$e,active:$e.path===V})))}}return(T=w).\u0275fac=function(V){return new(V||T)(t.rXU(Se.Ix))},T.\u0275cmp=t.VBU({type:T,selectors:[["cookbook-side-nav"]],viewQuery:function(V,ve){if(1&V&&t.GBs(lo,5),2&V){let $e;t.mGM($e=t.lsd())&&(ve.componentLinks=$e)}},inputs:{isMenuOpen:"isMenuOpen"},outputs:{menuToggle:"menuToggle"},decls:9,vars:7,consts:[["componentLink",""],[4,"ngFor","ngForOf"],[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"],[3,"keydown.ArrowUp","keydown.ArrowDown","hasPadding"],["routerLinkActive","is-selected",3,"routerLink","routerLinkActiveOptions","click",4,"ngIf"],["target","blank",3,"href",4,"ngIf"],["routerLinkActive","is-selected",3,"click","routerLink","routerLinkActiveOptions"],["target","blank",3,"href"],["kirby-button","","size","sm",1,"clear-button",3,"click","noDecoration"],["name","close"],[3,"routerLink","class","click",4,"ngFor","ngForOf"],[3,"click","routerLink"]],template:function(V,ve){1&V&&(t.j41(0,"section")(1,"nav"),t.DNE(2,or,3,2,"ng-container",1),t.k0s(),t.j41(3,"div",2)(4,"kirby-form-field")(5,"input",3),t.bIt("input",function(vt){return ve.onFilterChange(vt.target.value)})("keydown.ArrowDown",function(vt){return ve.onFilterArrowDown(vt)}),t.k0s()(),t.DNE(6,bs,2,1,"button",4),t.k0s(),t.j41(7,"kirby-card",5),t.bIt("keydown.ArrowUp",function(vt){return ve.onLinksArrowUpDown(vt)})("keydown.ArrowDown",function(vt){return ve.onLinksArrowUpDown(vt)}),t.DNE(8,As,3,1,"ng-container",1),t.k0s()()),2&V&&(t.AVh("is-open",ve.isMenuOpen),t.R7$(2),t.Y8G("ngForOf",ve.navigationLinks),t.R7$(3),t.Y8G("ngModel",ve.filter),t.R7$(),t.Y8G("ngIf",ve.filter.length>0),t.R7$(),t.Y8G("hasPadding",!0),t.R7$(),t.Y8G("ngForOf",ve.filteredShowcaseRoutes))},dependencies:[l.Sq,l.bT,Se.Wk,Se.wQ,Fi.me,Fi.BC,Fi.vS,ai.Rl,vn.ib,zn.KS,zn.Sj,W.Q],styles:["@media (min-width: 992px){[_nghost-%COMP%]{grid-area:sidebar}}@media (min-width: 992px){nav[_ngcontent-%COMP%]{display:none}}section[_ngcontent-%COMP%]{display:none;position:absolute;min-height:100vh;top:0;z-index:901;background-color:var(--kirby-white);padding:0 24px;box-shadow:0 0 5px #1c1c1c0a,0 10px 15px -10px #1c1c1c26}@media (max-width: 991px){section[_ngcontent-%COMP%]{height:100vh;overflow:auto}}@media (min-width: 992px){section[_ngcontent-%COMP%]{box-shadow:none;display:block;position:static;background-color:transparent;padding:0;min-height:unset}}section.is-open[_ngcontent-%COMP%]{display:block}section[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{-webkit-text-decoration:revert;text-decoration:revert;text-decoration:none;color:var(--kirby-text-color-semi-dark);display:block;padding:5px;margin:0 2px;border-radius:3px}section[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, section[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{color:var(--kirby-text-color-black);background-color:var(--kirby-light)}section[_ngcontent-%COMP%] a.is-selected[_ngcontent-%COMP%]{color:var(--kirby-text-color-black);font-weight:700;background-color:var(--kirby-semi-light)}section[_ngcontent-%COMP%] a.is-hidden[_ngcontent-%COMP%]{opacity:0;max-height:0;padding:0;pointer-events:none}.filter[_ngcontent-%COMP%]{position:relative}.clear-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0}hr[_ngcontent-%COMP%]{margin:4px,0;border:solid 1px var(--kirby-light);border-bottom:none;margin-block:8px;margin-inline:2px}hr[_ngcontent-%COMP%]:last-child{border-color:transparent}"]}),w})(),ea=(()=>{var T;class w{constructor(){this.year=new Date(Date.now()).getFullYear().toString()}}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275cmp=t.VBU({type:T,selectors:[["cookbook-footer"]],decls:4,vars:1,template:function(V,ve){1&V&&(t.j41(0,"p"),t.EFF(1,"Kirby Design System\u2122\ufe0f"),t.k0s(),t.j41(2,"p"),t.EFF(3),t.k0s()),2&V&&(t.R7$(3),t.SpI("\u24b8",ve.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}"]}),w})();const nc=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{var T;class w{constructor(){this.title="Kirby Design System",this.isMenuOpen=!1}onMenuClick(){this.isMenuOpen=!this.isMenuOpen}onMenuToggle(V){this.isMenuOpen=V}}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275cmp=t.VBU({type:T,selectors:[["cookbook-home"]],decls:5,vars:2,consts:[[3,"menuToggle","isMenuOpen"],[1,"main"]],template:function(V,ve){1&V&&(t.j41(0,"cookbook-header",0),t.bIt("menuToggle",function(vt){return ve.onMenuToggle(vt)}),t.k0s(),t.j41(1,"cookbook-side-nav",0),t.bIt("menuToggle",function(vt){return ve.onMenuToggle(vt)}),t.k0s(),t.j41(2,"section",1),t.nrm(3,"router-outlet"),t.k0s(),t.nrm(4,"cookbook-footer")),2&V&&(t.Y8G("isMenuOpen",ve.isMenuOpen),t.R7$(),t.Y8G("isMenuOpen",ve.isMenuOpen))},dependencies:[Se.n3,fa,wt,ea],styles:['[_nghost-%COMP%]{background-color:var(--kirby-background-color);display:grid;grid-template-columns:16px minmax(0,1fr) 16px;grid-template-rows:56px minmax(0,1fr) 144px;grid-template-areas:". 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";gap:40px}}.main[_ngcontent-%COMP%]{grid-area:main}']}),w})(),children:[{path:"",redirectTo:"intro",pathMatch:"full"},{path:"intro",component:(()=>{var T;class w{}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275cmp=t.VBU({type:T,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(V,ve){1&V&&(t.j41(0,"picture"),t.nrm(1,"source",0)(2,"source",1)(3,"img",2),t.k0s(),t.j41(4,"h1"),t.EFF(5,"This is Kirby Design System\u2122"),t.k0s(),t.j41(6,"p"),t.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"),t.k0s(),t.j41(8,"p"),t.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"),t.k0s(),t.j41(10,"p"),t.EFF(11,"We are on a constant journey of learning and Kirby is steadily evolving day by day."),t.k0s(),t.j41(12,"p"),t.EFF(13,"Thanks for your interest \u2014 have fun building!"),t.k0s())},styles:["img[_ngcontent-%COMP%]{max-width:100%;display:block;margin:0 auto 48px}"]}),w})()},{path:"showcase",loadChildren:()=>Promise.all([i.e(9751),i.e(2076)]).then(i.bind(i,38322)).then(T=>T.ShowcaseModule)},{path:"guides",loadChildren:()=>Promise.all([i.e(9751),i.e(2076),i.e(5766)]).then(i.bind(i,85766)).then(T=>T.GuideModule)},{path:"accessibility-in-kirby",component:ft},{path:"component-overview",component:ho},{path:"extensions",component:(()=>{var T;class w{}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275cmp=t.VBU({type:T,selectors:[["cookbook-extensions-landing-page"]],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(V,ve){1&V&&(t.j41(0,"article")(1,"h1"),t.EFF(2,"Kirby Extensions for Angular"),t.k0s(),t.j41(3,"p"),t.EFF(4," The Kirby Extensions library is a collection of design guidelines and components that build on top of the core Kirby Design library. "),t.k0s(),t.j41(5,"p"),t.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. "),t.k0s(),t.j41(7,"p"),t.EFF(8," Extensions allow for quicker iteration and less focus on generalising behavior, while the test and especially documentation burden is also significantly lower. "),t.k0s(),t.j41(9,"p"),t.EFF(10," Components in this library are developed and maintained by the community, with support from "),t.j41(11,"a",0),t.EFF(12," Team Kirby "),t.k0s(),t.EFF(13," . "),t.k0s(),t.j41(14,"p"),t.EFF(15," The components are documented on "),t.j41(16,"a",1),t.EFF(17,"extensions.kirby.design"),t.k0s(),t.EFF(18," where information about installing and using the package\u2014and guidelines for contributing to extensions\u2014can be found. "),t.k0s()())},encapsulation:2}),w})()}]},{path:"examples",loadChildren:()=>Promise.all([i.e(9751),i.e(8996)]).then(i.bind(i,38996)).then(T=>T.ExamplesRoutingModule)},{path:"designer",loadChildren:()=>Promise.all([i.e(9751),i.e(2372)]).then(i.bind(i,42372)).then(T=>T.DesignerModule)}];let Da=(()=>{var T;class w{}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275mod=t.$C({type:T}),T.\u0275inj=t.G2t({imports:[Se.iI.forRoot(nc,{scrollPositionRestoration:"enabled",canceledNavigationResolution:"computed"}),Se.iI]}),w})();var q=i(19539);let j=(()=>{var T;class w{constructor(){this.title="Kirby design system"}}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275cmp=t.VBU({type:T,selectors:[["cookbook-root"]],decls:3,vars:0,consts:[[1,"kirby-app-content"]],template:function(V,ve){1&V&&(t.j41(0,"kirby-app")(1,"div",0),t.nrm(2,"router-outlet"),t.k0s()())},dependencies:[Se.n3,q.Z],encapsulation:2}),w})();(0,l.EO)(Rr);let le=(()=>{var T;class w{}return(T=w).\u0275fac=function(V){return new(V||T)},T.\u0275mod=t.$C({type:T,bootstrap:[j]}),T.\u0275inj=t.G2t({providers:[{provide:t.xe9,useValue:"en-DK"},{provide:l.hb,useClass:l.fw},Xn()],imports:[e.Bb,P,Da,Fi.YN,me.ae$]}),w})();(0,t.SmG)(),e.sG().bootstrapModule(le).catch(T=>console.error(T))},58258:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>Kn});var e=i(40606),t=i(33510),l=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var xt=window.screen;if(xt)return(xt.deviceXDPI||1)/(xt.logicalXDPI||1)}return 1}(),M_textSize=function(xt,Ht,$t){var Un,Xt=[].concat(Ht),ln=Xt.length,tn=xt.font,En=0;for(xt.font=$t.string,Un=0;Un$t.right&&(Xt|=v),Ht<$t.top?Xt|=u:Ht>$t.bottom&&(Xt|=E),Xt}function $(xt,Ht){var ln,tn,$t=Ht.anchor,Xt=xt;return Ht.clamp&&(Xt=function A(xt,Ht){for(var Tn,dn,gn,$t=xt.x0,Xt=xt.y0,ln=xt.x1,tn=xt.y1,En=O($t,Xt,Ht),Un=O(ln,tn,Ht);En|Un&&!(En&Un);)(Tn=En||Un)&u?(dn=$t+(ln-$t)*(Ht.top-Xt)/(tn-Xt),gn=Ht.top):Tn&E?(dn=$t+(ln-$t)*(Ht.bottom-Xt)/(tn-Xt),gn=Ht.bottom):Tn&v?(gn=Xt+(tn-Xt)*(Ht.right-$t)/(ln-$t),dn=Ht.right):Tn&_&&(gn=Xt+(tn-Xt)*(Ht.left-$t)/(ln-$t),dn=Ht.left),Tn===En?En=O($t=dn,Xt=gn,Ht):Un=O(ln=dn,tn=gn,Ht);return{x0:$t,x1:ln,y0:Xt,y1:tn}}(Xt,Ht.area)),"start"===$t?(ln=Xt.x0,tn=Xt.y0):"end"===$t?(ln=Xt.x1,tn=Xt.y1):(ln=(Xt.x0+Xt.x1)/2,tn=(Xt.y0+Xt.y1)/2),function p(xt,Ht,$t,Xt,ln){switch(ln){case"center":$t=Xt=0;break;case"bottom":$t=0,Xt=1;break;case"right":$t=1,Xt=0;break;case"left":$t=-1,Xt=0;break;case"top":$t=0,Xt=-1;break;case"start":$t=-$t,Xt=-Xt;break;case"end":break;default:ln*=Math.PI/180,$t=Math.cos(ln),Xt=Math.sin(ln)}return{x:xt,y:Ht,vx:$t,vy:Xt}}(ln,tn,xt.vx,xt.vy,Ht.align)}var K={arc:function(xt,Ht){var $t=(xt.startAngle+xt.endAngle)/2,Xt=Math.cos($t),ln=Math.sin($t),tn=xt.innerRadius,En=xt.outerRadius;return $({x0:xt.x+Xt*tn,y0:xt.y+ln*tn,x1:xt.x+Xt*En,y1:xt.y+ln*En,vx:Xt,vy:ln},Ht)},point:function(xt,Ht){var $t=d(xt,Ht.origin),Xt=$t.x*xt.options.radius,ln=$t.y*xt.options.radius;return $({x0:xt.x-Xt,y0:xt.y-ln,x1:xt.x+Xt,y1:xt.y+ln,vx:$t.x,vy:$t.y},Ht)},bar:function(xt,Ht){var $t=d(xt,Ht.origin),Xt=xt.x,ln=xt.y,tn=0,En=0;return xt.horizontal?(Xt=Math.min(xt.x,xt.base),tn=Math.abs(xt.base-xt.x)):(ln=Math.min(xt.y,xt.base),En=Math.abs(xt.base-xt.y)),$({x0:Xt,y0:ln+En,x1:Xt+tn,y1:ln,vx:$t.x,vy:$t.y},Ht)},fallback:function(xt,Ht){var $t=d(xt,Ht.origin);return $({x0:xt.x,y0:xt.y,x1:xt.x+(xt.width||0),y1:xt.y+(xt.height||0),vx:$t.x,vy:$t.y},Ht)}},X=function(xt){return Math.round(xt*l)/l};function G(xt,Ht){var $t=Ht.chart.getDatasetMeta(Ht.datasetIndex).vScale;if(!$t)return null;if(void 0!==$t.xCenter&&void 0!==$t.yCenter)return{x:$t.xCenter,y:$t.yCenter};var Xt=$t.getBasePixel();return xt.horizontal?{x:Xt,y:null}:{x:null,y:Xt}}function fe(xt){return xt instanceof t.Bs?K.arc:xt instanceof t.FN?K.point:xt instanceof t.E8?K.bar:K.fallback}function be(xt,Ht,$t){var Xt=xt.shadowBlur,ln=$t.stroked,tn=X($t.x),En=X($t.y),Un=X($t.w);ln&&xt.strokeText(Ht,tn,En,Un),$t.filled&&(Xt&&ln&&(xt.shadowBlur=0),xt.fillText(Ht,tn,En,Un),Xt&&ln&&(xt.shadowBlur=Xt))}var je=function(xt,Ht,$t,Xt){var ln=this;ln._config=xt,ln._index=Xt,ln._model=null,ln._rects=null,ln._ctx=Ht,ln._el=$t};(0,e.h1)(je.prototype,{_modelize:function(xt,Ht,$t,Xt){var tn=this._index,En=(0,e.di)((0,e.hd)([$t.font,{}],Xt,tn)),Un=(0,e.hd)([$t.color,t.NT.color],Xt,tn);return{align:(0,e.hd)([$t.align,"center"],Xt,tn),anchor:(0,e.hd)([$t.anchor,"center"],Xt,tn),area:Xt.chart.chartArea,backgroundColor:(0,e.hd)([$t.backgroundColor,null],Xt,tn),borderColor:(0,e.hd)([$t.borderColor,null],Xt,tn),borderRadius:(0,e.hd)([$t.borderRadius,0],Xt,tn),borderWidth:(0,e.hd)([$t.borderWidth,0],Xt,tn),clamp:(0,e.hd)([$t.clamp,!1],Xt,tn),clip:(0,e.hd)([$t.clip,!1],Xt,tn),color:Un,display:xt,font:En,lines:Ht,offset:(0,e.hd)([$t.offset,4],Xt,tn),opacity:(0,e.hd)([$t.opacity,1],Xt,tn),origin:G(this._el,Xt),padding:(0,e.Lv)((0,e.hd)([$t.padding,4],Xt,tn)),positioner:fe(this._el),rotation:(0,e.hd)([$t.rotation,0],Xt,tn)*(Math.PI/180),size:M_textSize(this._ctx,Ht,En),textAlign:(0,e.hd)([$t.textAlign,"start"],Xt,tn),textShadowBlur:(0,e.hd)([$t.textShadowBlur,0],Xt,tn),textShadowColor:(0,e.hd)([$t.textShadowColor,Un],Xt,tn),textStrokeColor:(0,e.hd)([$t.textStrokeColor,Un],Xt,tn),textStrokeWidth:(0,e.hd)([$t.textStrokeWidth,0],Xt,tn)}},update:function(xt){var En,Un,Tn,Ht=this,$t=null,Xt=null,ln=Ht._index,tn=Ht._config,dn=(0,e.hd)([tn.display,!0],xt,ln);dn&&(Un=(0,e.a4)((0,e.E2)(tn.formatter,[En=xt.dataset.data[ln],xt]),En),(Tn=(0,e.Pj)(Un)?[]:function(xt){var $t,Ht=[];for(xt=[].concat(xt);xt.length;)"string"==typeof($t=xt.pop())?Ht.unshift.apply(Ht,$t.split("\n")):Array.isArray($t)?xt.push.apply(xt,$t):(0,e.Pj)(xt)||Ht.unshift(""+$t);return Ht}(Un)).length&&(Xt=function J(xt){var Ht=xt.borderWidth||0,$t=xt.padding,Xt=xt.size.height,ln=xt.size.width,tn=-ln/2,En=-Xt/2;return{frame:{x:tn-$t.left-Ht,y:En-$t.top-Ht,w:ln+$t.width+2*Ht,h:Xt+$t.height+2*Ht},text:{x:tn,y:En,w:ln,h:Xt}}}($t=Ht._modelize(dn,Tn,tn,xt)))),Ht._model=$t,Ht._rects=Xt},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(xt,Ht){var En,Xt=xt.ctx,ln=this._model,tn=this._rects;this.visible()&&(Xt.save(),ln.clip&&(En=ln.area,Xt.beginPath(),Xt.rect(En.left,En.top,En.right-En.left,En.bottom-En.top),Xt.clip()),Xt.globalAlpha=function(xt,Ht,$t){return Math.max(xt,Math.min(Ht,$t))}(0,ln.opacity,1),Xt.translate(X(Ht.x),X(Ht.y)),Xt.rotate(ln.rotation),function Me(xt,Ht,$t){var Xt=$t.backgroundColor,ln=$t.borderColor,tn=$t.borderWidth;!Xt&&(!ln||!tn)||(xt.beginPath(),function he(xt,Ht,$t,Xt,ln,tn){var En=Math.PI/2;if(tn){var Un=Math.min(tn,ln/2,Xt/2),Tn=Ht+Un,dn=$t+Un,gn=Ht+Xt-Un,Vt=$t+ln-Un;xt.moveTo(Ht,dn),TnXt.x+Xt.w+2||xt.y>Xt.y+Xt.h+2)},intersects:function(xt){var ln,tn,En,Ht=this._points(),$t=xt._points(),Xt=[mt(Ht[0],Ht[1]),mt(Ht[0],Ht[3])];for(this._rotation!==xt._rotation&&Xt.push(mt($t[0],$t[1]),mt($t[0],$t[3])),ln=0;lnTn.getProps([dn],!0)[dn]}),tn=Xt.geometry(),En=Ge(Un,Xt.model(),tn),ln._box.update(En,tn,Xt.rotation()));(function gt(xt,Ht){var $t,Xt,ln,tn;for($t=xt.length-1;$t>=0;--$t)for(ln=xt[$t].$layout,Xt=$t-1;Xt>=0&&ln._visible;--Xt)(tn=xt[Xt].$layout)._visible&&ln._box.intersects(tn._box)&&Ht(ln,tn)})(xt,function(Tn,dn){var gn=Tn._hidable,Vt=dn._hidable;gn&&Vt||Vt?dn._visible=!1:gn&&(Tn._visible=!1)})}(xt)},lookup:function(xt,Ht){var $t,Xt;for($t=xt.length-1;$t>=0;--$t)if((Xt=xt[$t].$layout)&&Xt._visible&&Xt._box.contains(Ht))return xt[$t];return null},draw:function(xt,Ht){var $t,Xt,ln,tn,En,Un;for($t=0,Xt=Ht.length;$t{"use strict";i.d(z,{t:()=>t});var e=i(21413);class t extends e.B{constructor(M){super(),this._value=M}get value(){return this.getValue()}_subscribe(M){const d=super._subscribe(M);return!d.closed&&M.next(this._value),d}getValue(){const{hasError:M,thrownError:d,_value:p}=this;if(M)throw d;return this._throwIfClosed(),p}next(M){super.next(this._value=M)}}},71985:(Ze,z,i)=>{"use strict";i.d(z,{c:()=>_});var e=i(47707),t=i(18359),l=i(3494),M=i(71203),d=i(41026),p=i(98071),a=i(49786);let _=(()=>{class O{constructor($){$&&(this._subscribe=$)}lift($){const K=new O;return K.source=this,K.operator=$,K}subscribe($,K,X){const J=function u(O){return O&&O instanceof e.vU||function E(O){return O&&(0,p.T)(O.next)&&(0,p.T)(O.error)&&(0,p.T)(O.complete)}(O)&&(0,t.Uv)(O)}($)?$:new e.Ms($,K,X);return(0,a.Y)(()=>{const{operator:G,source:fe}=this;J.add(G?G.call(J,fe):fe?this._subscribe(J):this._trySubscribe(J))}),J}_trySubscribe($){try{return this._subscribe($)}catch(K){$.error(K)}}forEach($,K){return new(K=v(K))((X,J)=>{const G=new e.Ms({next:fe=>{try{$(fe)}catch(he){J(he),G.unsubscribe()}},error:J,complete:X});this.subscribe(G)})}_subscribe($){var K;return null===(K=this.source)||void 0===K?void 0:K.subscribe($)}[l.s](){return this}pipe(...$){return(0,M.m)($)(this)}toPromise($){return new($=v($))((K,X)=>{let J;this.subscribe(G=>J=G,G=>X(G),()=>K(J))})}}return O.create=A=>new O(A),O})();function v(O){var A;return null!==(A=O??d.$.Promise)&&void 0!==A?A:Promise}},92771:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>l});var e=i(21413),t=i(86129);class l extends e.B{constructor(d=1/0,p=1/0,a=t.U){super(),this._bufferSize=d,this._windowTime=p,this._timestampProvider=a,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=p===1/0,this._bufferSize=Math.max(1,d),this._windowTime=Math.max(1,p)}next(d){const{isStopped:p,_buffer:a,_infiniteTimeWindow:_,_timestampProvider:v,_windowTime:E}=this;p||(a.push(d),!_&&a.push(v.now()+E)),this._trimBuffer(),super.next(d)}_subscribe(d){this._throwIfClosed(),this._trimBuffer();const p=this._innerSubscribe(d),{_infiniteTimeWindow:a,_buffer:_}=this,v=_.slice();for(let E=0;E{"use strict";i.d(z,{B:()=>a});var e=i(71985),t=i(18359);const M=(0,i(81853).L)(v=>function(){v(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var d=i(57908),p=i(49786);let a=(()=>{class v extends e.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(u){const O=new _(this,this);return O.operator=u,O}_throwIfClosed(){if(this.closed)throw new M}next(u){(0,p.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const O of this.currentObservers)O.next(u)}})}error(u){(0,p.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=u;const{observers:O}=this;for(;O.length;)O.shift().error(u)}})}complete(){(0,p.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:u}=this;for(;u.length;)u.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var u;return(null===(u=this.observers)||void 0===u?void 0:u.length)>0}_trySubscribe(u){return this._throwIfClosed(),super._trySubscribe(u)}_subscribe(u){return this._throwIfClosed(),this._checkFinalizedStatuses(u),this._innerSubscribe(u)}_innerSubscribe(u){const{hasError:O,isStopped:A,observers:$}=this;return O||A?t.Kn:(this.currentObservers=null,$.push(u),new t.yU(()=>{this.currentObservers=null,(0,d.o)($,u)}))}_checkFinalizedStatuses(u){const{hasError:O,thrownError:A,isStopped:$}=this;O?u.error(A):$&&u.complete()}asObservable(){const u=new e.c;return u.source=this,u}}return v.create=(E,u)=>new _(E,u),v})();class _ extends a{constructor(E,u){super(),this.destination=E,this.source=u}next(E){var u,O;null===(O=null===(u=this.destination)||void 0===u?void 0:u.next)||void 0===O||O.call(u,E)}error(E){var u,O;null===(O=null===(u=this.destination)||void 0===u?void 0:u.error)||void 0===O||O.call(u,E)}complete(){var E,u;null===(u=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===u||u.call(E)}_subscribe(E){var u,O;return null!==(O=null===(u=this.source)||void 0===u?void 0:u.subscribe(E))&&void 0!==O?O:t.Kn}}},47707:(Ze,z,i)=>{"use strict";i.d(z,{Ms:()=>X,vU:()=>O});var e=i(98071),t=i(18359),l=i(41026),M=i(45334),d=i(85343);const p=v("C",void 0,void 0);function v(Me,ke,be){return{kind:Me,value:ke,error:be}}var E=i(19270),u=i(49786);class O extends t.yU{constructor(ke){super(),this.isStopped=!1,ke?(this.destination=ke,(0,t.Uv)(ke)&&ke.add(this)):this.destination=he}static create(ke,be,Ne){return new X(ke,be,Ne)}next(ke){this.isStopped?fe(function _(Me){return v("N",Me,void 0)}(ke),this):this._next(ke)}error(ke){this.isStopped?fe(function a(Me){return v("E",void 0,Me)}(ke),this):(this.isStopped=!0,this._error(ke))}complete(){this.isStopped?fe(p,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 A=Function.prototype.bind;function $(Me,ke){return A.call(Me,ke)}class K{constructor(ke){this.partialObserver=ke}next(ke){const{partialObserver:be}=this;if(be.next)try{be.next(ke)}catch(Ne){J(Ne)}}error(ke){const{partialObserver:be}=this;if(be.error)try{be.error(ke)}catch(Ne){J(Ne)}else J(ke)}complete(){const{partialObserver:ke}=this;if(ke.complete)try{ke.complete()}catch(be){J(be)}}}class X extends O{constructor(ke,be,Ne){let je;if(super(),(0,e.T)(ke)||!ke)je={next:ke??void 0,error:be??void 0,complete:Ne??void 0};else{let it;this&&l.$.useDeprecatedNextContext?(it=Object.create(ke),it.unsubscribe=()=>this.unsubscribe(),je={next:ke.next&&$(ke.next,it),error:ke.error&&$(ke.error,it),complete:ke.complete&&$(ke.complete,it)}):je=ke}this.destination=new K(je)}}function J(Me){l.$.useDeprecatedSynchronousErrorHandling?(0,u.l)(Me):(0,M.m)(Me)}function fe(Me,ke){const{onStoppedNotification:be}=l.$;be&&E.f.setTimeout(()=>be(Me,ke))}const he={closed:!0,next:d.l,error:function G(Me){throw Me},complete:d.l}},18359:(Ze,z,i)=>{"use strict";i.d(z,{Kn:()=>p,yU:()=>d,Uv:()=>a});var e=i(98071);const l=(0,i(81853).L)(v=>function(u){v(this),this.message=u?`${u.length} errors occurred during unsubscription:\n${u.map((O,A)=>`${A+1}) ${O.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=u});var M=i(57908);class d{constructor(E){this.initialTeardown=E,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let E;if(!this.closed){this.closed=!0;const{_parentage:u}=this;if(u)if(this._parentage=null,Array.isArray(u))for(const $ of u)$.remove(this);else u.remove(this);const{initialTeardown:O}=this;if((0,e.T)(O))try{O()}catch($){E=$ instanceof l?$.errors:[$]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const $ of A)try{_($)}catch(K){E=E??[],K instanceof l?E=[...E,...K.errors]:E.push(K)}}if(E)throw new l(E)}}add(E){var u;if(E&&E!==this)if(this.closed)_(E);else{if(E instanceof d){if(E.closed||E._hasParent(this))return;E._addParent(this)}(this._finalizers=null!==(u=this._finalizers)&&void 0!==u?u:[]).push(E)}}_hasParent(E){const{_parentage:u}=this;return u===E||Array.isArray(u)&&u.includes(E)}_addParent(E){const{_parentage:u}=this;this._parentage=Array.isArray(u)?(u.push(E),u):u?[u,E]:E}_removeParent(E){const{_parentage:u}=this;u===E?this._parentage=null:Array.isArray(u)&&(0,M.o)(u,E)}remove(E){const{_finalizers:u}=this;u&&(0,M.o)(u,E),E instanceof d&&E._removeParent(this)}}d.EMPTY=(()=>{const v=new d;return v.closed=!0,v})();const p=d.EMPTY;function a(v){return v instanceof d||v&&"closed"in v&&(0,e.T)(v.remove)&&(0,e.T)(v.add)&&(0,e.T)(v.unsubscribe)}function _(v){(0,e.T)(v)?v():v.unsubscribe()}},41026:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},30017:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>p});var e=i(71985),t=i(18359),l=i(99898),M=i(54360),d=i(39974);class p extends e.c{constructor(_,v){super(),this.source=_,this.subjectFactory=v,this._subject=null,this._refCount=0,this._connection=null,(0,d.S)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new t.yU;const v=this.getSubject();_.add(this.source.subscribe((0,M._)(v,void 0,()=>{this._teardown(),v.complete()},E=>{this._teardown(),v.error(E)},()=>this._teardown()))),_.closed&&(this._connection=null,_=t.yU.EMPTY)}return _}refCount(){return(0,l.B)()(this)}}},84572:(Ze,z,i)=>{"use strict";i.d(z,{z:()=>E});var e=i(71985),t=i(93073),l=i(86648),M=i(33669),d=i(6450),p=i(9326),a=i(58496),_=i(54360),v=i(45225);function E(...A){const $=(0,p.lI)(A),K=(0,p.ms)(A),{args:X,keys:J}=(0,t.D)(A);if(0===X.length)return(0,l.H)([],$);const G=new e.c(function u(A,$,K=M.D){return X=>{O($,()=>{const{length:J}=A,G=new Array(J);let fe=J,he=J;for(let Me=0;Me{const ke=(0,l.H)(A[Me],$);let be=!1;ke.subscribe((0,_._)(X,Ne=>{G[Me]=Ne,be||(be=!0,he--),he||X.next(K(G.slice()))},()=>{--fe||X.complete()}))},X)},X)}}(X,$,J?fe=>(0,a.e)(J,fe):M.D));return K?G.pipe((0,d.I)(K)):G}function O(A,$,K){A?(0,v.N)(K,A,$):$()}},28793:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>d});var e=i(26365),l=i(9326),M=i(86648);function d(...p){return function t(){return(0,e.U)(1)}()((0,M.H)(p,(0,l.lI)(p)))}},983:(Ze,z,i)=>{"use strict";i.d(z,{w:()=>t});const t=new(i(71985).c)(d=>d.complete())},86648:(Ze,z,i)=>{"use strict";i.d(z,{H:()=>Ne});var e=i(58750),t=i(45225),l=i(39974),M=i(54360);function d(je,it=0){return(0,l.N)((pt,Ye)=>{pt.subscribe((0,M._)(Ye,St=>(0,t.N)(Ye,je,()=>Ye.next(St),it),()=>(0,t.N)(Ye,je,()=>Ye.complete(),it),St=>(0,t.N)(Ye,je,()=>Ye.error(St),it)))})}function p(je,it=0){return(0,l.N)((pt,Ye)=>{Ye.add(je.schedule(()=>pt.subscribe(Ye),it))})}var v=i(71985),u=i(4761),O=i(98071);function $(je,it){if(!je)throw new Error("Iterable cannot be null");return new v.c(pt=>{(0,t.N)(pt,it,()=>{const Ye=je[Symbol.asyncIterator]();(0,t.N)(pt,it,()=>{Ye.next().then(St=>{St.done?pt.complete():pt.next(St.value)})},0,!0)})})}var K=i(55055),X=i(59858),J=i(47441),G=i(85397),fe=i(37953),he=i(50591),Me=i(15196);function Ne(je,it){return it?function be(je,it){if(null!=je){if((0,K.l)(je))return function a(je,it){return(0,e.Tg)(je).pipe(p(it),d(it))}(je,it);if((0,J.X)(je))return function E(je,it){return new v.c(pt=>{let Ye=0;return it.schedule(function(){Ye===je.length?pt.complete():(pt.next(je[Ye++]),pt.closed||this.schedule())})})}(je,it);if((0,X.y)(je))return function _(je,it){return(0,e.Tg)(je).pipe(p(it),d(it))}(je,it);if((0,fe.T)(je))return $(je,it);if((0,G.x)(je))return function A(je,it){return new v.c(pt=>{let Ye;return(0,t.N)(pt,it,()=>{Ye=je[u.l](),(0,t.N)(pt,it,()=>{let St,mt;try{({value:St,done:mt}=Ye.next())}catch(at){return void pt.error(at)}mt?pt.complete():pt.next(St)},0,!0)}),()=>(0,O.T)(Ye?.return)&&Ye.return()})}(je,it);if((0,Me.U)(je))return function ke(je,it){return $((0,Me.C)(je),it)}(je,it)}throw(0,he.L)(je)}(je,it):(0,e.Tg)(je)}},33726:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>E});var e=i(58750),t=i(71985),l=i(31397),M=i(47441),d=i(98071),p=i(6450);const a=["addListener","removeListener"],_=["addEventListener","removeEventListener"],v=["on","off"];function E(K,X,J,G){if((0,d.T)(J)&&(G=J,J=void 0),G)return E(K,X,J).pipe((0,p.I)(G));const[fe,he]=function $(K){return(0,d.T)(K.addEventListener)&&(0,d.T)(K.removeEventListener)}(K)?_.map(Me=>ke=>K[Me](X,ke,J)):function O(K){return(0,d.T)(K.addListener)&&(0,d.T)(K.removeListener)}(K)?a.map(u(K,X)):function A(K){return(0,d.T)(K.on)&&(0,d.T)(K.off)}(K)?v.map(u(K,X)):[];if(!fe&&(0,M.X)(K))return(0,l.Z)(Me=>E(Me,X,J))((0,e.Tg)(K));if(!fe)throw new TypeError("Invalid event target");return new t.c(Me=>{const ke=(...be)=>Me.next(1he(ke)})}function u(K,X){return J=>G=>K[J](X,G)}},58750:(Ze,z,i)=>{"use strict";i.d(z,{Tg:()=>A});var e=i(31635),t=i(47441),l=i(59858),M=i(71985),d=i(55055),p=i(37953),a=i(50591),_=i(85397),v=i(15196),E=i(98071),u=i(45334),O=i(3494);function A(Me){if(Me instanceof M.c)return Me;if(null!=Me){if((0,d.l)(Me))return function $(Me){return new M.c(ke=>{const be=Me[O.s]();if((0,E.T)(be.subscribe))return be.subscribe(ke);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Me);if((0,t.X)(Me))return function K(Me){return new M.c(ke=>{for(let be=0;be{Me.then(be=>{ke.closed||(ke.next(be),ke.complete())},be=>ke.error(be)).then(null,u.m)})}(Me);if((0,p.T)(Me))return G(Me);if((0,_.x)(Me))return function J(Me){return new M.c(ke=>{for(const be of Me)if(ke.next(be),ke.closed)return;ke.complete()})}(Me);if((0,v.U)(Me))return function fe(Me){return G((0,v.C)(Me))}(Me)}throw(0,a.L)(Me)}function G(Me){return new M.c(ke=>{(function he(Me,ke){var be,Ne,je,it;return(0,e.sH)(this,void 0,void 0,function*(){try{for(be=(0,e.xN)(Me);!(Ne=yield be.next()).done;)if(ke.next(Ne.value),ke.closed)return}catch(pt){je={error:pt}}finally{try{Ne&&!Ne.done&&(it=be.return)&&(yield it.call(be))}finally{if(je)throw je.error}}ke.complete()})})(Me,ke).catch(be=>ke.error(be))})}},7673:(Ze,z,i)=>{"use strict";i.d(z,{of:()=>l});var e=i(9326),t=i(86648);function l(...M){const d=(0,e.lI)(M);return(0,t.H)(M,d)}},41584:(Ze,z,i)=>{"use strict";i.d(z,{O:()=>d});var e=i(71985),t=i(43236),l=i(79470);function d(p=0,a,_=t.b){let v=-1;return null!=a&&((0,l.m)(a)?_=a:v=a),new e.c(E=>{let u=function M(p){return p instanceof Date&&!isNaN(p)}(p)?+p-_.now():p;u<0&&(u=0);let O=0;return _.schedule(function(){E.closed||(E.next(O++),0<=v?this.schedule(void 0,v):E.complete())},u)})}},54360:(Ze,z,i)=>{"use strict";i.d(z,{_:()=>t});var e=i(47707);function t(M,d,p,a,_){return new l(M,d,p,a,_)}class l extends e.vU{constructor(d,p,a,_,v,E){super(d),this.onFinalize=v,this.shouldUnsubscribe=E,this._next=p?function(u){try{p(u)}catch(O){d.error(O)}}:super._next,this._error=_?function(u){try{_(u)}catch(O){d.error(O)}finally{this.unsubscribe()}}:super._error,this._complete=a?function(){try{a()}catch(u){d.error(u)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var d;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:p}=this;super.unsubscribe(),!p&&(null===(d=this.onFinalize)||void 0===d||d.call(this))}}}},70274:(Ze,z,i)=>{"use strict";i.d(z,{H:()=>l});var e=i(31397),t=i(98071);function l(M,d){return(0,t.T)(d)?(0,e.Z)(M,d,1):(0,e.Z)(M,1)}},70152:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>M});var e=i(43236),t=i(39974),l=i(54360);function M(d,p=e.E){return(0,t.N)((a,_)=>{let v=null,E=null,u=null;const O=()=>{if(v){v.unsubscribe(),v=null;const $=E;E=null,_.next($)}};function A(){const $=u+d,K=p.now();if(K<$)return v=this.schedule(void 0,$-K),void _.add(v);O()}a.subscribe((0,l._)(_,$=>{E=$,u=p.now(),v||(v=p.schedule(A,d),_.add(v))},()=>{O(),_.complete()},void 0,()=>{E=v=null}))})}},39901:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>l});var e=i(39974),t=i(54360);function l(M){return(0,e.N)((d,p)=>{let a=!1;d.subscribe((0,t._)(p,_=>{a=!0,p.next(_)},()=>{a||p.next(M),p.complete()}))})}},23294:(Ze,z,i)=>{"use strict";i.d(z,{F:()=>M});var e=i(33669),t=i(39974),l=i(54360);function M(p,a=e.D){return p=p??d,(0,t.N)((_,v)=>{let E,u=!0;_.subscribe((0,l._)(v,O=>{const A=a(O);(u||!p(E,A))&&(u=!1,E=A,v.next(O))}))})}function d(p,a){return p===a}},5964:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>l});var e=i(39974),t=i(54360);function l(M,d){return(0,e.N)((p,a)=>{let _=0;p.subscribe((0,t._)(a,v=>M.call(d,v,_++)&&a.next(v)))})}},70980:(Ze,z,i)=>{"use strict";i.d(z,{j:()=>t});var e=i(39974);function t(l){return(0,e.N)((M,d)=>{try{M.subscribe(d)}finally{d.add(l)}})}},61594:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>a});var e=i(9350),t=i(5964),l=i(96697),M=i(39901),d=i(93774),p=i(33669);function a(_,v){const E=arguments.length>=2;return u=>u.pipe(_?(0,t.p)((O,A)=>_(O,A,u)):p.D,(0,l.s)(1),E?(0,M.U)(v):(0,d.v)(()=>new e.G))}},96354:(Ze,z,i)=>{"use strict";i.d(z,{T:()=>l});var e=i(39974),t=i(54360);function l(M,d){return(0,e.N)((p,a)=>{let _=0;p.subscribe((0,t._)(a,v=>{a.next(M.call(d,v,_++))}))})}},26365:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>l});var e=i(31397),t=i(33669);function l(M=1/0){return(0,e.Z)(t.D,M)}},31397:(Ze,z,i)=>{"use strict";i.d(z,{Z:()=>_});var e=i(96354),t=i(58750),l=i(39974),M=i(45225),d=i(54360),a=i(98071);function _(v,E,u=1/0){return(0,a.T)(E)?_((O,A)=>(0,e.T)(($,K)=>E(O,$,A,K))((0,t.Tg)(v(O,A))),u):("number"==typeof E&&(u=E),(0,l.N)((O,A)=>function p(v,E,u,O,A,$,K,X){const J=[];let G=0,fe=0,he=!1;const Me=()=>{he&&!J.length&&!G&&E.complete()},ke=Ne=>G{$&&E.next(Ne),G++;let je=!1;(0,t.Tg)(u(Ne,fe++)).subscribe((0,d._)(E,it=>{A?.(it),$?ke(it):E.next(it)},()=>{je=!0},void 0,()=>{if(je)try{for(G--;J.length&&Gbe(it)):be(it)}Me()}catch(it){E.error(it)}}))};return v.subscribe((0,d._)(E,ke,()=>{he=!0,Me()})),()=>{X?.()}}(O,A,v,u)))}},13946:(Ze,z,i)=>{"use strict";i.d(z,{J:()=>l});var e=i(39974),t=i(54360);function l(){return(0,e.N)((M,d)=>{let p,a=!1;M.subscribe((0,t._)(d,_=>{const v=p;p=_,a&&d.next([v,_]),a=!0}))})}},99898:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>l});var e=i(39974),t=i(54360);function l(){return(0,e.N)((M,d)=>{let p=null;M._refCount++;const a=(0,t._)(d,void 0,void 0,void 0,()=>{if(!M||M._refCount<=0||0<--M._refCount)return void(p=null);const _=M._connection,v=p;p=null,_&&(!v||_===v)&&_.unsubscribe(),d.unsubscribe()});M.subscribe(a),a.closed||(p=M.connect())})}},99172:(Ze,z,i)=>{"use strict";i.d(z,{Z:()=>M});var e=i(28793),t=i(9326),l=i(39974);function M(...d){const p=(0,t.lI)(d);return(0,l.N)((a,_)=>{(p?(0,e.x)(d,a,p):(0,e.x)(d,a)).subscribe(_)})}},25558:(Ze,z,i)=>{"use strict";i.d(z,{n:()=>M});var e=i(58750),t=i(39974),l=i(54360);function M(d,p){return(0,t.N)((a,_)=>{let v=null,E=0,u=!1;const O=()=>u&&!v&&_.complete();a.subscribe((0,l._)(_,A=>{v?.unsubscribe();let $=0;const K=E++;(0,e.Tg)(d(A,K)).subscribe(v=(0,l._)(_,X=>_.next(p?p(A,X,K,$++):X),()=>{v=null,O()}))},()=>{u=!0,O()}))})}},96697:(Ze,z,i)=>{"use strict";i.d(z,{s:()=>M});var e=i(983),t=i(39974),l=i(54360);function M(d){return d<=0?()=>e.w:(0,t.N)((p,a)=>{let _=0;p.subscribe((0,l._)(a,v=>{++_<=d&&(a.next(v),d<=_&&a.complete())}))})}},56977:(Ze,z,i)=>{"use strict";i.d(z,{Q:()=>d});var e=i(39974),t=i(54360),l=i(58750),M=i(85343);function d(p){return(0,e.N)((a,_)=>{(0,l.Tg)(p).subscribe((0,t._)(_,()=>_.complete(),M.l)),!_.closed&&a.subscribe(_)})}},93774:(Ze,z,i)=>{"use strict";i.d(z,{v:()=>M});var e=i(9350),t=i(39974),l=i(54360);function M(p=d){return(0,t.N)((a,_)=>{let v=!1;a.subscribe((0,l._)(_,E=>{v=!0,_.next(E)},()=>v?_.complete():_.error(p())))})}function d(){return new e.G}},96780:(Ze,z,i)=>{"use strict";i.d(z,{R:()=>d});var e=i(18359);class t extends e.yU{constructor(a,_){super()}schedule(a,_=0){return this}}const l={setInterval(p,a,..._){const{delegate:v}=l;return v?.setInterval?v.setInterval(p,a,..._):setInterval(p,a,..._)},clearInterval(p){const{delegate:a}=l;return(a?.clearInterval||clearInterval)(p)},delegate:void 0};var M=i(57908);class d extends t{constructor(a,_){super(a,_),this.scheduler=a,this.work=_,this.pending=!1}schedule(a,_=0){var v;if(this.closed)return this;this.state=a;const E=this.id,u=this.scheduler;return null!=E&&(this.id=this.recycleAsyncId(u,E,_)),this.pending=!0,this.delay=_,this.id=null!==(v=this.id)&&void 0!==v?v:this.requestAsyncId(u,this.id,_),this}requestAsyncId(a,_,v=0){return l.setInterval(a.flush.bind(a,this),v)}recycleAsyncId(a,_,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return _;null!=_&&l.clearInterval(_)}execute(a,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(a,_);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(a,_){let E,v=!1;try{this.work(a)}catch(u){v=!0,E=u||new Error("Scheduled action threw falsy error")}if(v)return this.unsubscribe(),E}unsubscribe(){if(!this.closed){const{id:a,scheduler:_}=this,{actions:v}=_;this.work=this.state=this.scheduler=null,this.pending=!1,(0,M.o)(v,this),null!=a&&(this.id=this.recycleAsyncId(_,a,null)),this.delay=null,super.unsubscribe()}}}},39687:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>l});var e=i(86129);class t{constructor(d,p=t.now){this.schedulerActionCtor=d,this.now=p}schedule(d,p=0,a){return new this.schedulerActionCtor(this,d).schedule(a,p)}}t.now=e.U.now;class l extends t{constructor(d,p=t.now){super(d,p),this.actions=[],this._active=!1}flush(d){const{actions:p}=this;if(this._active)return void p.push(d);let a;this._active=!0;do{if(a=d.execute(d.state,d.delay))break}while(d=p.shift());if(this._active=!1,a){for(;d=p.shift();)d.unsubscribe();throw a}}}},43236:(Ze,z,i)=>{"use strict";i.d(z,{E:()=>l,b:()=>M});var e=i(96780);const l=new(i(39687).q)(e.R),M=l},86129:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},19270:(Ze,z,i)=>{"use strict";i.d(z,{f:()=>e});const e={setTimeout(t,l,...M){const{delegate:d}=e;return d?.setTimeout?d.setTimeout(t,l,...M):setTimeout(t,l,...M)},clearTimeout(t){const{delegate:l}=e;return(l?.clearTimeout||clearTimeout)(t)},delegate:void 0}},4761:(Ze,z,i)=>{"use strict";i.d(z,{l:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ze,z,i)=>{"use strict";i.d(z,{s:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>t});const t=(0,i(81853).L)(l=>function(){l(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Ze,z,i)=>{"use strict";i.d(z,{R0:()=>p,lI:()=>d,ms:()=>M});var e=i(98071),t=i(79470);function l(a){return a[a.length-1]}function M(a){return(0,e.T)(l(a))?a.pop():void 0}function d(a){return(0,t.m)(l(a))?a.pop():void 0}function p(a,_){return"number"==typeof l(a)?a.pop():_}},93073:(Ze,z,i)=>{"use strict";i.d(z,{D:()=>d});const{isArray:e}=Array,{getPrototypeOf:t,prototype:l,keys:M}=Object;function d(a){if(1===a.length){const _=a[0];if(e(_))return{args:_,keys:null};if(function p(a){return a&&"object"==typeof a&&t(a)===l}(_)){const v=M(_);return{args:v.map(E=>_[E]),keys:v}}}return{args:a,keys:null}}},57908:(Ze,z,i)=>{"use strict";function e(t,l){if(t){const M=t.indexOf(l);0<=M&&t.splice(M,1)}}i.d(z,{o:()=>e})},81853:(Ze,z,i)=>{"use strict";function e(t){const M=t(d=>{Error.call(d),d.stack=(new Error).stack});return M.prototype=Object.create(Error.prototype),M.prototype.constructor=M,M}i.d(z,{L:()=>e})},58496:(Ze,z,i)=>{"use strict";function e(t,l){return t.reduce((M,d,p)=>(M[d]=l[p],M),{})}i.d(z,{e:()=>e})},49786:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>l,l:()=>M});var e=i(41026);let t=null;function l(d){if(e.$.useDeprecatedSynchronousErrorHandling){const p=!t;if(p&&(t={errorThrown:!1,error:null}),d(),p){const{errorThrown:a,error:_}=t;if(t=null,a)throw _}}else d()}function M(d){e.$.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=d)}},45225:(Ze,z,i)=>{"use strict";function e(t,l,M,d=0,p=!1){const a=l.schedule(function(){M(),p?t.add(this.schedule(null,d)):this.unsubscribe()},d);if(t.add(a),!p)return a}i.d(z,{N:()=>e})},33669:(Ze,z,i)=>{"use strict";function e(t){return t}i.d(z,{D:()=>e})},47441:(Ze,z,i)=>{"use strict";i.d(z,{X:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},37953:(Ze,z,i)=>{"use strict";i.d(z,{T:()=>t});var e=i(98071);function t(l){return Symbol.asyncIterator&&(0,e.T)(l?.[Symbol.asyncIterator])}},98071:(Ze,z,i)=>{"use strict";function e(t){return"function"==typeof t}i.d(z,{T:()=>e})},55055:(Ze,z,i)=>{"use strict";i.d(z,{l:()=>l});var e=i(3494),t=i(98071);function l(M){return(0,t.T)(M[e.s])}},85397:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>l});var e=i(4761),t=i(98071);function l(M){return(0,t.T)(M?.[e.l])}},74402:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>l});var e=i(71985),t=i(98071);function l(M){return!!M&&(M instanceof e.c||(0,t.T)(M.lift)&&(0,t.T)(M.subscribe))}},59858:(Ze,z,i)=>{"use strict";i.d(z,{y:()=>t});var e=i(98071);function t(l){return(0,e.T)(l?.then)}},15196:(Ze,z,i)=>{"use strict";i.d(z,{C:()=>l,U:()=>M});var e=i(31635),t=i(98071);function l(d){return(0,e.AQ)(this,arguments,function*(){const a=d.getReader();try{for(;;){const{value:_,done:v}=yield(0,e.N3)(a.read());if(v)return yield(0,e.N3)(void 0);yield yield(0,e.N3)(_)}}finally{a.releaseLock()}})}function M(d){return(0,t.T)(d?.getReader)}},79470:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>t});var e=i(98071);function t(l){return l&&(0,e.T)(l.schedule)}},39974:(Ze,z,i)=>{"use strict";i.d(z,{N:()=>l,S:()=>t});var e=i(98071);function t(M){return(0,e.T)(M?.lift)}function l(M){return d=>{if(t(d))return d.lift(function(p){try{return M(p,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ze,z,i)=>{"use strict";i.d(z,{I:()=>M});var e=i(96354);const{isArray:t}=Array;function M(d){return(0,e.T)(p=>function l(d,p){return t(p)?d(...p):d(p)}(d,p))}},85343:(Ze,z,i)=>{"use strict";function e(){}i.d(z,{l:()=>e})},71203:(Ze,z,i)=>{"use strict";i.d(z,{F:()=>t,m:()=>l});var e=i(33669);function t(...M){return l(M)}function l(M){return 0===M.length?e.D:1===M.length?M[0]:function(p){return M.reduce((a,_)=>_(a),p)}}},45334:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>l});var e=i(41026),t=i(19270);function l(M){t.f.setTimeout(()=>{const{onUnhandledError:d}=e.$;if(!d)throw M;d(M)})}},50591:(Ze,z,i)=>{"use strict";function e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}i.d(z,{L:()=>e})},88996:(Ze,z,i)=>{var e={"./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 t(l){if(!i.o(e,l))return Promise.resolve().then(()=>{var p=new Error("Cannot find module '"+l+"'");throw p.code="MODULE_NOT_FOUND",p});var M=e[l],d=M[0];return Promise.all(M.slice(1).map(i.e)).then(()=>i(d))}t.keys=()=>Object.keys(e),t.id=88996,Ze.exports=t},54140:Ze=>{function z(i){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+i+"'");throw e.code="MODULE_NOT_FOUND",e})}z.keys=()=>[],z.resolve=z,z.id=54140,Ze.exports=z},44354:(Ze,z,i)=>{"use strict";i.d(z,{A:()=>M});const e={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:"24.64, 24.64, 24.64",blackTint:"rgb(50.7, 50.7, 50.7)",blackTintRgb:"50.7, 50.7, 50.7",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.1764705882, 5.1764705882, 5.1764705882",darkOverlayTint:"rgba(205.5725806452, 205.5725806452, 205.5725806452, 0.154)",darkOverlayTintRgb:"205.5725806452, 205.5725806452, 205.5725806452",darkOverlayColorBrightness:"dark",dark:"#353535",darkRgb:"53, 53, 53",darkContrast:"#fff",darkContrastRgb:"255, 255, 255",darkShade:"rgb(46.64, 46.64, 46.64)",darkShadeRgb:"46.64, 46.64, 46.64",darkTint:"rgb(73.2, 73.2, 73.2)",darkTintRgb:"73.2, 73.2, 73.2",darkColorBrightness:"dark",semiDark:"#8e8e8e",semiDarkRgb:"142, 142, 142",semiDarkContrast:"#1c1c1c",semiDarkContrastRgb:"28, 28, 28",semiDarkShade:"rgb(124.96, 124.96, 124.96)",semiDarkShadeRgb:"124.96, 124.96, 124.96",semiDarkTint:"rgb(153.3, 153.3, 153.3)",semiDarkTintRgb:"153.3, 153.3, 153.3",semiDarkColorBrightness:"light",medium:"#d1d1d1",mediumRgb:"209, 209, 209",mediumContrast:"#1c1c1c",mediumContrastRgb:"28, 28, 28",mediumShade:"rgb(183.92, 183.92, 183.92)",mediumShadeRgb:"183.92, 183.92, 183.92",mediumTint:"rgb(213.6, 213.6, 213.6)",mediumTintRgb:"213.6, 213.6, 213.6",mediumColorBrightness:"light",semiLight:"#ebebeb",semiLightRgb:"235, 235, 235",semiLightContrast:"#1c1c1c",semiLightContrastRgb:"28, 28, 28",semiLightShade:"rgb(206.8, 206.8, 206.8)",semiLightShadeRgb:"206.8, 206.8, 206.8",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:"212.96, 212.96, 212.96",lightTint:"rgb(243.3, 243.3, 243.3)",lightTintRgb:"243.3, 243.3, 243.3",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.0847457627, 95.0847457627, 95.0847457627",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.4, 224.4, 224.4",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.48, 216.48, 216.48",backgroundColorTint:"rgb(246.9, 246.9, 246.9)",backgroundColorTintRgb:"246.9, 246.9, 246.9",backgroundColorColorBrightness:"light",danger:"#e95458",dangerRgb:"233, 84, 88",dangerContrast:"#1c1c1c",dangerContrastRgb:"28, 28, 28",dangerShade:"rgb(205.04, 73.92, 77.44)",dangerShadeRgb:"205.04, 73.92, 77.44",dangerTint:"rgb(235.2, 101.1, 104.7)",dangerTintRgb:"235.2, 101.1, 104.7",dangerColorBrightness:"light",warning:"#fbc32a",warningRgb:"251, 195, 42",warningContrast:"#1c1c1c",warningContrastRgb:"28, 28, 28",warningShade:"rgb(220.88, 171.6, 36.96)",warningShadeRgb:"220.88, 171.6, 36.96",warningTint:"rgb(251.4, 201, 63.3)",warningTintRgb:"251.4, 201, 63.3",warningColorBrightness:"light",success:"#47d489",successRgb:"71, 212, 137",successContrast:"#1c1c1c",successContrastRgb:"28, 28, 28",successShade:"rgb(62.48, 186.56, 120.56)",successShadeRgb:"62.48, 186.56, 120.56",successTint:"rgb(89.4, 216.3, 148.8)",successTintRgb:"89.4, 216.3, 148.8",successColorBrightness:"light",tertiary:"#01352c",tertiaryRgb:"1, 53, 44",tertiaryContrast:"#fff",tertiaryContrastRgb:"255, 255, 255",tertiaryShade:"rgb(0.88, 46.64, 38.72)",tertiaryShadeRgb:"0.88, 46.64, 38.72",tertiaryTint:"rgb(26.4, 73.2, 65.1)",tertiaryTintRgb:"26.4, 73.2, 65.1",tertiaryColorBrightness:"dark",secondary:"#005c3c",secondaryRgb:"0, 92, 60",secondaryContrast:"#fff",secondaryContrastRgb:"255, 255, 255",secondaryShade:"rgb(0, 80.96, 52.8)",secondaryShadeRgb:"0, 80.96, 52.8",secondaryTint:"rgb(25.5, 108.3, 79.5)",secondaryTintRgb:"25.5, 108.3, 79.5",secondaryColorBrightness:"dark",primary:"#00e89a",primaryRgb:"0, 232, 154",primaryContrast:"#1c1c1c",primaryContrastRgb:"28, 28, 28",primaryShade:"rgb(0, 204.16, 135.52)",primaryShadeRgb:"0, 204.16, 135.52",primaryTint:"rgb(25.5, 234.3, 164.1)",primaryTintRgb:"25.5, 234.3, 164.1",primaryColorBrightness:"light"},kirbyTextColors:{negative:"#a13a3d",negativeRgb:"161, 58, 61",negativeContrast:"#fff",negativeContrastRgb:"255, 255, 255",negativeShade:"rgb(141.68, 51.04, 53.68)",negativeShadeRgb:"141.68, 51.04, 53.68",negativeTint:"rgb(170.4, 77.7, 80.4)",negativeTintRgb:"170.4, 77.7, 80.4",negativeColorBrightness:"dark",positive:"#267149",positiveRgb:"38, 113, 73",positiveContrast:"#fff",positiveContrastRgb:"255, 255, 255",positiveShade:"rgb(33.44, 99.44, 64.24)",positiveShadeRgb:"33.44, 99.44, 64.24",positiveTint:"rgb(59.7, 127.2, 91.2)",positiveTintRgb:"59.7, 127.2, 91.2",positiveColorBrightness:"dark",danger:"#ee0d0d",dangerRgb:"238, 13, 13",dangerContrast:"#fff",dangerContrastRgb:"255, 255, 255",dangerShade:"rgb(209.44, 11.44, 11.44)",dangerShadeRgb:"209.44, 11.44, 11.44",dangerTint:"rgb(239.7, 37.2, 37.2)",dangerTintRgb:"239.7, 37.2, 37.2",dangerColorBrightness:"dark",black:"#1c1c1c",blackRgb:"28, 28, 28",blackContrast:"#fff",blackContrastRgb:"255, 255, 255",blackShade:"rgb(24.64, 24.64, 24.64)",blackShadeRgb:"24.64, 24.64, 24.64",blackTint:"rgb(50.7, 50.7, 50.7)",blackTintRgb:"50.7, 50.7, 50.7",blackColorBrightness:"dark",semiDark:"#707070",semiDarkRgb:"112, 112, 112",semiDarkContrast:"#fff",semiDarkContrastRgb:"255, 255, 255",semiDarkShade:"rgb(98.56, 98.56, 98.56)",semiDarkShadeRgb:"98.56, 98.56, 98.56",semiDarkTint:"rgb(126.3, 126.3, 126.3)",semiDarkTintRgb:"126.3, 126.3, 126.3",semiDarkColorBrightness:"dark",white:"#fff",whiteRgb:"255, 255, 255",whiteContrast:"#1c1c1c",whiteContrastRgb:"28, 28, 28",whiteShade:"rgb(224.4, 224.4, 224.4)",whiteShadeRgb:"224.4, 224.4, 224.4",whiteTint:"white",whiteTintRgb:"255, 255, 255",whiteColorBrightness:"white"}};var l,t=i(29081);class M{static getMainColors(){return Object.entries(e.mainColors).map(([a,_])=>({name:a,value:_}))}static mapToKirbyColorArray(p,a=e.kirbyColors){const _="Tint",v="Shade",E="Contrast";return Object.entries(p).map(([O,A])=>({name:(0,t.BW)(O),value:A,base:A,tint:{value:a[O+_],name:(0,t.BW)(O+_)},shade:{value:a[O+v],name:(0,t.BW)(O+v)},contrast:{value:a[O+E],name:(0,t.BW)(O+E)}}))}static mapToKirbyColorRampArray(p){return Object.entries(p).map(([_,v])=>({name:(0,t.BW)(_),ramp:Object.entries(v).map(([E,u])=>({step:E,value:u}))}))}static getBackgroundColor(){return M.getColor("background-color")}static getColorBrightness(p){return M.getColor(p+"-color-brightness")}static getThemeColorRgbString(p,a){const _=M.getColor(p+"-rgb");return a?`rgba(${_}, ${M.opacityThreshold(a)})`:`rgb(${_})`}static getThemeDecorationColorRgbString(p,a,_){const v=M.hexToRGB(M.getDecorationColor(p,a));return _?v.replace("rgb","rgba").replace(")",`, ${M.opacityThreshold(_)})`):v}static getThemeTextColorRgbString(p){return`rgb(${M.getTextColor(p+"-rgb")})`}static getThemeColorHexString(p){return M.getColor(p)}static getThemeDecorationColorHexString(p,a){return M.getDecorationColor(p,a)}static getThemeTextColorHexString(p){return M.getTextColor(p)}static getTransparentColorRgbString(){return"rgba(0, 0, 0, 0)"}static colorStringToRgbString(p){if(0===p.indexOf("rgb"))return p;if(0===p.indexOf("#"))return M.hexToRGB(p);if(3===p.split(",").length)return`rgb(${p})`;if(4===p.split(",").length)return`rgba(${p})`;const a=document.createElement("canvas").getContext("2d");a.fillStyle=p;const _=a.fillStyle.toString();return M.colorStringToRgbString(_)}static hexToRGB(p){let a="0",_="0",v="0";return 4===p.length?(a="0x"+p[1]+p[1],_="0x"+p[2]+p[2],v="0x"+p[3]+p[3]):7===p.length&&(a="0x"+p[1]+p[2],_="0x"+p[3]+p[4],v="0x"+p[5]+p[6]),`rgb(${+a}, ${+_}, ${+v})`}static getColor(p){const a=(0,t.zS)(p),_=e.kirbyColors[a];return window.getComputedStyle(document.documentElement).getPropertyValue(`--kirby-${p}`)||_||null}static getDecorationColor(p,a){const _=(0,t.zS)(p),v=e.decorationColors[_][a];return window.getComputedStyle(document.documentElement).getPropertyValue(`--kirby-decoration-color-${p}-${a}`)||v||null}static getTextColor(p){const a=(0,t.zS)(p),_=e.kirbyTextColors[a];return window.getComputedStyle(document.documentElement).getPropertyValue(`--kirby-text-color-${p}`)||_||null}static opacityThreshold(p){return 0<=p&&p<=1?p:(console.warn(`Opacity value must be between 0 and 1. Current value is: ${p}.`),1)}}(l=M).brandColors=l.mapToKirbyColorArray(e.brandColors),l.notificationColors=l.mapToKirbyColorArray(e.notificationColors),l.decorationColors=l.mapToKirbyColorRampArray(e.decorationColors),l.systemColors=l.mapToKirbyColorArray(e.systemColors),l.textColors=l.mapToKirbyColorArray(e.textColors,e.kirbyTextColors),l.mainColors=l.getMainColors()},19402:(Ze,z,i)=>{"use strict";i.d(z,{Q:()=>M});var e=i(44354);const t={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"};var l;class M{static getColor(p,a){const v=`${p}${a?`-${a}`:""}`;return{name:p,variant:a,fullname:v,value:e.A.getThemeColorRgbString(v),hex:e.A.getThemeColorHexString(v)}}static getDecorationColor(p,a){return{name:p,step:a,fullname:`${p}-${a}`,value:e.A.getThemeDecorationColorRgbString(p,a),hex:e.A.getThemeDecorationColorHexString(p,a)}}static getTextColor(p,a){const v=`${p}${a?`-${a}`:""}`;return{name:p,variant:a,fullname:v,value:e.A.getThemeTextColorRgbString(v),hex:e.A.getThemeTextColorHexString(v)}}static size(p){return t.sizes[p]}static fontSize(p){return t.fontSizes[p]}static iconFontSize(p){return t.iconFontSizes[p]}static fontWeight(p){return t.fontWeight[p]}static lineHeight(p){return t.lineHeight[p]}static backgroundColor(){return e.A.getBackgroundColor()}static borderRadius(p=void 0){return void 0===p&&console.warn("Calling the borderRadius function without a parameter is deprecated. Please use `borderRadius('n')` instead."),t.borderRadii[p]}static borderRadiusRound(){return console.warn("The borderRadiusRound function is deprecated. Please use `borderRadius('pill')` instead."),M.borderRadius("pill")}static alertMaxWidth(){return t.alertMaxWidth}static compactModalMaxWidth(){return t.compactModalMaxWidth}static dropdownItemHeight(){return t.dropdownItemHeight}static avatarSize(p){return t.avatarSizes[p]}static fatFingerSize(){return t.fatFingerSize}static getElevation(p){return t.elevations[p]}static itemHeight(p){return t.itemHeights[p]}static transitionDuration(p){return t.transitionDurations[p]}static transitionEasings(){return t.transitionEasings}static zLayer(p){return t.zLayers[p]}static pageContentMaxWidth(p){return t.pageContentMaxWidths[p]}}(l=M).breakpoints=t.breakpoints,l.softKeyboardTransitionEnter=t.softKeyboardTransitionEnter,l.softKeyboardTransitionLeave=t.softKeyboardTransitionLeave,l.modalDefaultHeight=t.modalDefaultHeight,l.drawerDefaultHeight=t.drawerDefaultHeight},29081:(Ze,z,i)=>{"use strict";i.d(z,{BW:()=>t,Zj:()=>l,Zr:()=>M,zS:()=>e});const e=d=>d.length&&1!==d.length?d.split("-").map((a,_)=>0===_?a:a[0].toUpperCase()+a.substr(1)).join(""):d,t=d=>d.length&&1!==d.length?d.split("").map((a,_)=>a.toUpperCase()!==a||"-"===a?a:0===_?a.toLowerCase():`-${a.toLowerCase()}`).join(""):d,l=d=>d.length&&1!==d.length?d.split("-").map(a=>a[0].toUpperCase()+a.slice(1)).join(" "):d,M=d=>"string"!=typeof d?"":d.charAt(0).toUpperCase()+d.slice(1)},82470:(Ze,z,i)=>{"use strict";i.d(z,{aF:()=>p,fv:()=>_,h6:()=>E});var e=i(54438),t=i(49969),l=i(29756),M=i(35043);const d=["*"];let p=(()=>{var u;class O{}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275dir=e.FsC({type:u,selectors:[["","kirbyAccordion",""],["kirby-accordion"]],exportAs:["kirby-accordion"]}),O})(),a=0,_=(()=>{var u;class O{constructor(){this.hasList=!1,this.isExpanded=!1,this.isDisabled=!1,this.hasPadding=!0,this.toggle=new e.bkB,this._titleId="kirby-accordion-item-title-"+ ++a,this._contentId=`kirby-accordion-item-content-${a}`}ngAfterContentInit(){this.listChildren.length>0&&(this.hasPadding=!1,this.hasList=!0,this.listChildren.forEach($=>{$.shape="none"}))}ngOnChanges(){this.isDisabled&&(this.isExpanded=!1)}getTitle(){return this.isDisabled&&this.disabledTitle?this.disabledTitle:this.title}_onToggleExpanded($){$.preventDefault(),!this.isDisabled&&(this.isExpanded=!this.isExpanded&&!this.isDisabled,this.toggle.emit(this.isExpanded))}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["kirby-accordion-item"]],contentQueries:function($,K,X){if(1&$&&e.wni(X,l.sB,4),2&$){let J;e.mGM(J=e.lsd())&&(K.listChildren=J)}},hostVars:2,hostBindings:function($,K){2&$&&e.AVh("has-list",K.hasList)},inputs:{title:"title",isExpanded:"isExpanded",isDisabled:"isDisabled",disabledTitle:"disabledTitle",hasPadding:"hasPadding"},outputs:{toggle:"toggle"},features:[e.OA$],ngContentSelectors:d,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){1&$&&(e.NAR(),e.j41(0,"div",0)(1,"div",1),e.bIt("click",function(J){return K._onToggleExpanded(J)})("keydown.ENTER",function(J){return K._onToggleExpanded(J)})("keydown.space",function(J){return K._onToggleExpanded(J)}),e.nrm(2,"span",2),e.j41(3,"div",3),e.EFF(4),e.k0s(),e.nrm(5,"kirby-icon",4),e.k0s(),e.j41(6,"div",5)(7,"div",6),e.SdG(8),e.k0s()()()),2&$&&(e.R7$(),e.AVh("disabled",K.isDisabled)("expanded",K.isExpanded),e.Y8G("tabindex",K.isDisabled?-1:0)("id",K._titleId),e.BMQ("aria-disabled",!!K.isDisabled||void 0)("aria-expanded",K.isExpanded)("aria-controls",K._contentId),e.R7$(3),e.JRh(K.getTitle()),e.R7$(2),e.Y8G("id",K._contentId)("@isExpanded",!!K.isExpanded),e.BMQ("aria-labelledby",K._titleId),e.R7$(),e.AVh("padding",K.hasPadding))},dependencies:[M.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,t.hZ)("isExpanded",[(0,t.wk)("true",(0,t.iF)({height:"*",visibility:"visible"})),(0,t.wk)("false",(0,t.iF)({height:"0px",visibility:"hidden"})),(0,t.kY)("true <=> false",(0,t.i0)("0.2s"))])]},changeDetection:0}),O})(),E=(()=>{var u;class O{}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[M.op]}),O})()},29660:(Ze,z,i)=>{"use strict";i.d(z,{F:()=>E,p:()=>u});var e=i(60177),t=i(54438),l=i(47008),M=i(81365),d=i(92585);const p=["hiddenLayer"],a=[[["button","kirby-button",""]]],_=["button[kirby-button]"];function v(O,A){if(1&O){const $=t.RV6();t.j41(0,"kirby-item",4),t.bIt("click",function(){const X=t.eBV($).$implicit,J=t.XpG();return t.Njj(J.onActionSelect(X))}),t.EFF(1),t.k0s()}if(2&O){const $=A.$implicit;t.Y8G("selectable",!0),t.R7$(),t.SpI(" ",$.text," ")}}const E=new t.nKC("action-group.config");let u=(()=>{var O;class A{get _align(){return"align-"+this.align}constructor(K,X,J){this.elementRef=K,this.renderer=X,this.config=J,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(J=>J.nativeElement.parentElement===this.hiddenLayer.nativeElement).forEach(J=>{this.renderer.insertBefore(this.elementRef.nativeElement,J.nativeElement,this.menuElement.nativeElement)}),[...this.buttonElements].slice(this.visibleActions).forEach(J=>{this.renderer.appendChild(this.hiddenLayer.nativeElement,J.nativeElement)})}toggleMenu(){this._isCollapsed=this.hiddenLayer.nativeElement.childElementCount>0}populateMenu(){const K=Array.from(this.hiddenLayer.nativeElement.children);this._collapsedActions=K.map(X=>({button:X,text:X.textContent.trim()}))}}return(O=A).\u0275fac=function(K){return new(K||O)(t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(E,8))},O.\u0275cmp=t.VBU({type:O,selectors:[["kirby-action-group"]],contentQueries:function(K,X,J){if(1&K&&(t.wni(J,l.Q,4,t.aKT),t.wni(J,l.Q,4)),2&K){let G;t.mGM(G=t.lsd())&&(X.buttonElements=G),t.mGM(G=t.lsd())&&(X.buttons=G)}},viewQuery:function(K,X){if(1&K&&(t.GBs(p,7,t.aKT),t.GBs(d.Z,7,t.aKT)),2&K){let J;t.mGM(J=t.lsd())&&(X.hiddenLayer=J.first),t.mGM(J=t.lsd())&&(X.menuElement=J.first)}},hostVars:4,hostBindings:function(K,X){2&K&&(t.HbH(X._align),t.AVh("is-collapsed",X._isCollapsed))},inputs:{visibleActions:"visibleActions",align:"align"},standalone:!0,features:[t.OA$,t.aNF],ngContentSelectors:_,decls:5,vars:2,consts:[["hiddenLayer",""],[3,"placement"],[3,"selectable","click",4,"ngFor","ngForOf"],[1,"hidden-layer"],[3,"click","selectable"]],template:function(K,X){1&K&&(t.NAR(a),t.SdG(0),t.j41(1,"kirby-menu",1),t.DNE(2,v,2,2,"kirby-item",2),t.k0s(),t.nrm(3,"div",3,0)),2&K&&(t.R7$(),t.Y8G("placement","bottom-end"),t.R7$(),t.Y8G("ngForOf",X._collapsedActions))},dependencies:[e.MD,e.Sq,M.kA,M.JA,d.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}),A})()},28287:(Ze,z,i)=>{"use strict";i.d(z,{P:()=>v,f:()=>E});var e=i(60177),t=i(54438);const l=[[["kirby-badge"]],[["kirby-icon"]]],M=["kirby-badge","kirby-icon"],d=(u,O)=>({overlay:u,stroke:O});function p(u,O){if(1&u){const A=t.RV6();t.j41(0,"img",4),t.bIt("error",function(K){t.eBV(A);const X=t.XpG();return t.Njj(X.onImageError(K))}),t.k0s()}if(2&u){const A=t.XpG();t.Y8G("src",A.imageSrc,t.B4B),t.BMQ("alt",A.altText)}}function a(u,O){1&u&&t.SdG(0,1,["*ngIf","!text"])}function _(u,O){if(1&u&&(t.j41(0,"span",5),t.EFF(1),t.k0s()),2&u){const A=t.XpG();t.R7$(),t.JRh(A.text)}}var v=function(u){return u.XS="xs",u.SM="sm",u.MD="md",u.LG="lg",u}(v||{});let E=(()=>{var u;class O{constructor(){this.size=v.SM,this.imageError=new t.bkB}get _cssClass(){return[this.themeColor,this.size].filter($=>!!$)}onImageError($){this.imageError.emit($)}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["kirby-avatar"]],hostVars:2,hostBindings:function($,K){2&$&&t.HbH(K._cssClass)},inputs:{imageSrc:"imageSrc",altText:"altText",stroke:"stroke",text:"text",overlay:"overlay",size:"size",themeColor:"themeColor"},outputs:{imageError:"imageError"},standalone:!0,features:[t.aNF],ngContentSelectors:M,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){1&$&&(t.NAR(l),t.j41(0,"div",0),t.DNE(1,p,1,2,"img",1)(2,a,1,0,"ng-content",2)(3,_,2,1,"span",3),t.k0s(),t.SdG(4)),2&$&&(t.Y8G("ngClass",t.l_i(4,d,K.overlay,K.stroke)),t.R7$(),t.Y8G("ngIf",K.imageSrc),t.R7$(),t.Y8G("ngIf",!K.text),t.R7$(),t.Y8G("ngIf",K.text))},dependencies:[e.MD,e.YU,e.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}),O})()},75797:(Ze,z,i)=>{"use strict";i.d(z,{n:()=>E});var e=i(60177),t=i(54438),l=i(13339),M=i(51272);const d=["*"];function p(u,O){1&u&&t.nrm(0,"span")}function a(u,O){1&u&&t.SdG(0,0,["*ngIf","!text && size === 'md'"])}function _(u,O){if(1&u&&(t.qex(0),t.EFF(1),t.bVm()),2&u){const A=t.XpG();t.R7$(),t.JRh(A.text)}}let E=(()=>{var u;class O{constructor(){this.size="md"}get text(){return this._text}set text($){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=$}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["kirby-badge"]],hostVars:2,hostBindings:function($,K){2&$&&t.HbH(K.size)},inputs:{text:"text",size:"size"},standalone:!0,features:[t.nM4([{directive:l.Cd,inputs:["themeColor","themeColor"]}]),t.aNF],ngContentSelectors:d,decls:4,vars:3,consts:[[4,"ngIf"]],template:function($,K){1&$&&(t.NAR(),t.j41(0,"ion-badge"),t.DNE(1,p,1,0,"span",0)(2,a,1,0,"ng-content",0)(3,_,2,1,"ng-container",0),t.k0s()),2&$&&(t.R7$(),t.Y8G("ngIf","sm"===K.size),t.R7$(),t.Y8G("ngIf",!K.text&&"md"===K.size),t.R7$(),t.Y8G("ngIf",K.text&&"md"===K.size))},dependencies:[e.MD,e.bT,M.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%)}"]}),O})()},47008:(Ze,z,i)=>{"use strict";i.d(z,{M:()=>p,Q:()=>a});var e=i(60177),t=i(54438),l=i(35043);const M=["kirby-button",""],d=["*"];var p=function(_){return _.XS="xs",_.SM="sm",_.MD="md",_.LG="lg",_}(p||{});let a=(()=>{var _;class v{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 u=this.getAttentionLevelCssClass();return[this.themeColor,this.size,u].filter(O=>!!O)}getAttentionLevelCssClass(){return this.noDecoration?void 0:`attention-level${this.attentionLevel||"1"}`}get showIconOnly(){return this._showIconOnly}set showIconOnly(u){u&&this.wrapTextNode(this.iconElementRef?.nativeElement),this._showIconOnly=u}constructor(u,O){this.elementRef=u,this.renderer=O,this.noDecoration=!1,this._isIconLeft=!1,this._isIconRight=!1,this.isFloating=!1,this.size=p.MD,this._showIconOnly=!1}wrapTextNode(u){if(!u)return;const O=$=>$?.nodeType===Node.TEXT_NODE?$:void 0,A=O(u.previousSibling)||O(u.nextSibling);if(A){const $=A===u.previousSibling?"before":"after",K=this.renderer.createElement("span"),X=A.parentNode;this.renderer.removeChild(A.parentNode,A),this.renderer.appendChild(K,A),"before"===$?this.renderer.insertBefore(X,K,u):"after"===$&&this.renderer.appendChild(X,K)}}ngAfterContentInit(){const u=this.iconElementRef?.nativeElement;if(void 0===u)return;this.elementRef.nativeElement.closest("ion-toolbar")&&(this._showIconOnly=!0),this.showIconOnly&&this.wrapTextNode(u);const O=!!this.elementRef.nativeElement.textContent;O||(this._showIconOnly=!0),O&&!this.showIconOnly&&(this._isIconLeft=this.elementRef.nativeElement.querySelector(".content-layer").firstChild===u,this._isIconRight=!this._isIconLeft)}_onEnterOrSpace(u){"true"===this.elementRef.nativeElement.ariaDisabled&&(u.preventDefault(),u.stopImmediatePropagation())}}return(_=v).\u0275fac=function(u){return new(u||_)(t.rXU(t.aKT),t.rXU(t.sFG))},_.\u0275cmp=t.VBU({type:_,selectors:[["button","kirby-button",""],["Button","kirby-button",""],["a","kirby-button",""]],contentQueries:function(u,O,A){if(1&u&&t.wni(A,l.Rl,5,t.aKT),2&u){let $;t.mGM($=t.lsd())&&(O.iconElementRef=$.first)}},hostVars:12,hostBindings:function(u,O){1&u&&t.bIt("keydown.enter",function($){return O._onEnterOrSpace($)})("keydown.space",function($){return O._onEnterOrSpace($)}),2&u&&(t.HbH(O._cssClass),t.AVh("no-decoration",O.noDecoration)("floating",O.isButtonFloating)("icon-only",O.isIconOnly)("icon-left",O.isIconLeft)("icon-right",O.isIconRight))},inputs:{attentionLevel:"attentionLevel",noDecoration:"noDecoration",themeColor:"themeColor",expand:"expand",isFloating:"isFloating",size:"size",showIconOnly:"showIconOnly"},standalone:!0,features:[t.aNF],attrs:M,ngContentSelectors:d,decls:4,vars:0,consts:[["aria-hidden","true",1,"state-layer"],[1,"content-layer"]],template:function(u,O){1&u&&(t.NAR(),t.qex(0),t.nrm(1,"span",0),t.j41(2,"span",1),t.SdG(3),t.k0s(),t.bVm())},dependencies:[e.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;z-index:1}[_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;z-index:1}}[_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-start:16px}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}),v})()},34100:(Ze,z,i)=>{"use strict";i.d(z,{S:()=>Wn});var e=i(60177),t=i(54438),l=i(91490);function M(Jn,Do){return+(0,l.a)(Jn)<+(0,l.a)(Do)}function p(Jn,Do){return+(0,l.a)(Jn)>+(0,l.a)(Do)}var _=i(30226),v=i(7083),E=i(77530);function u(Jn,Do,ao){const[kn,On]=(0,E.x)(ao?.in,Jn,Do);return kn.getFullYear()===On.getFullYear()&&kn.getMonth()===On.getMonth()}var A=i(85578),K=i(91298);var G=i(28034),fe=i(69831);function he(Jn,Do,ao){const[kn,On]=(0,E.x)(ao?.in,Jn,Do);return+(0,_.o)(kn)==+(0,_.o)(On)}var ke=i(71479),be=i(53759);function Ne(Jn,Do,ao){const{years:kn=0,months:On=0,weeks:ni=0,days:Ro=0,hours:bo=0,minutes:$i=0,seconds:yi=0}=Do,Gi=(0,l.a)(Jn,ao?.in),tr=On||kn?(0,be.P)(Gi,On+12*kn):Gi,Sr=Ro||ni?(0,ke.f)(tr,Ro+7*ni):tr,Ki=1e3*(yi+60*($i+60*bo));return(0,K.w)(ao?.in||Jn,+Sr+Ki)}function it(Jn,Do){const ao=(0,l.a)(Jn,Do?.in).getDay();return 0===ao||6===ao}var mt=i(9807),gt=i(99130);const mn={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 Ke=i(13130);const Bt={date:(0,Ke.k)({formats:{full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,Ke.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,Ke.k)({formats:{full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},It={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 Hn=i(34228);const tn={ordinalNumber:(Jn,Do)=>Number(Jn)+".",era:(0,Hn.o)({values:{narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["f\xf8r vesterlandsk tidsregning","vesterlandsk tidsregning"]},defaultWidth:"wide"}),quarter:(0,Hn.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:Jn=>Jn-1}),month:(0,Hn.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,Hn.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,Hn.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 En=i(23990);const Ko={code:"da",formatDistance:(Jn,Do,ao)=>{let kn;const On=mn[Jn];return kn="string"==typeof On?On:1===Do?On.one:On.other.replace("{{count}}",String(Do)),ao?.addSuffix?ao.comparison&&ao.comparison>0?"om "+kn:kn+" siden":kn},formatLong:Bt,formatRelative:(Jn,Do,ao,kn)=>It[Jn],localize:tn,match:{ordinalNumber:(0,i(8762).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:Jn=>parseInt(Jn,10)}),era:(0,En.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,En.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:Jn=>Jn+1}),month:(0,En.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,En.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,En.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 ko=i(98306),ei=i(80669),Go=i(78157),Ji=i(39225);const Pi={date:(0,Ke.k)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,Ke.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,Ke.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Gn={code:"en-GB",formatDistance:ko.B,formatLong:Pi,formatRelative:ei.o,localize:Go.k,match:Ji.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}};var Pt=i(54238),ot=i(29081),De=i(47008),Fe=i(41727),tt=i(53715),en=i(35043);function Xn(Jn,Do){if(1&Jn&&(t.j41(0,"span",13),t.EFF(1),t.k0s()),2&Jn){const ao=t.XpG();t.R7$(),t.JRh(ao.activeYear)}}function sn(Jn,Do){if(1&Jn){const ao=t.RV6();t.j41(0,"kirby-dropdown",14),t.bIt("change",function(On){t.eBV(ao);const ni=t.XpG();return t.Njj(ni._changeYear(On))}),t.k0s()}if(2&Jn){const ao=t.XpG();t.Y8G("usePopover",ao.usePopover)("selectedIndex",ao.navigatedYear)("items",ao.navigableYears)}}function zt(Jn,Do){if(1&Jn&&(t.j41(0,"th",15)(1,"span",16),t.EFF(2),t.k0s(),t.j41(3,"span",17),t.EFF(4),t.k0s()()),2&Jn){const ao=Do.$implicit;t.R7$(2),t.JRh(ao.firstLetterCapitalized),t.R7$(2),t.JRh(ao.fullName)}}function _n(Jn,Do){if(1&Jn){const ao=t.RV6();t.j41(0,"td")(1,"button",18),t.bIt("click",function(){const On=t.eBV(ao).$implicit,ni=t.XpG(2);return t.Njj(ni._onDateSelected(On))})("keydown",function(On){t.eBV(ao);const ni=t.XpG(2);return t.Njj(ni._onDateKeydown(On))}),t.EFF(2),t.k0s()()}if(2&Jn){const ao=Do.$implicit;t.BMQ("aria-selected",!!ao.isSelected),t.R7$(),t.AVh("current-month",ao.isCurrentMonth)("weekend",ao.isWeekend)("today",ao.isToday)("selectable",ao.isSelectable)("selected",ao.isSelected)("focussed",ao.isFocussed)("past",ao.isPast),t.Y8G("noDecoration",!0)("disabled",!ao.isFocusable||null)("tabIndex",ao.isFocussed?0:-1),t.BMQ("aria-label",ao.ariaLabel)("aria-disabled",!ao.isSelectable||null),t.R7$(),t.SpI(" ",ao.date," ")}}function kt(Jn,Do){if(1&Jn&&(t.j41(0,"tr"),t.DNE(1,_n,3,21,"td",12),t.k0s()),2&Jn){const ao=Do.$implicit;t.R7$(),t.Y8G("ngForOf",ao)}}var an=function(Jn){return Jn.years="years",Jn.months="months",Jn.weeks="weeks",Jn.days="days",Jn.hours="hours",Jn.minutes="minutes",Jn.seconds="seconds",Jn.milliseconds="milliseconds",Jn}(an||{});let Wn=(()=>{var Jn;class Do{set locales(kn){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(kn){const On=this.normalizeDate(kn);kn&&this.setActiveMonth(On),this.hasDateChanged(On,this._selectedDate)&&(this.onSelectedDateChange(On),this.focusDate(On),this._selectedDate=On)}get disabledDates(){return this._disabledDates}set disabledDates(kn){this._disabledDates=(kn||[]).map(On=>this.normalizeDate(On))}get enabledDates(){return this._enabledDates}set enabledDates(kn){this._enabledDates=(kn||[]).map(On=>this.normalizeDate(On))}get todayDate(){return this._todayDate}set todayDate(kn){this._todayDate=this.normalizeDate(kn)}get minDate(){return this._minDate}set minDate(kn){kn&&this.activeMonth&&M(this.activeMonth,kn)&&this.setActiveMonth(kn),this._minDate=this.normalizeDate(kn)}get maxDate(){return this._maxDate}set maxDate(kn){kn&&this.activeMonth&&p(this.activeMonth,kn)&&this.setActiveMonth(kn),this._maxDate=this.normalizeDate(kn)}get activeMonthName(){return(0,ot.Zr)(this.formatWithLocale(this.activeMonth,"MMMM"))}get activeYear(){return this.formatWithLocale(this.activeMonth,"yyyy")}get navigableYears(){const kn=this.minDate||this.getDateFromNavigableYear(this.yearNavigatorOptions.from),On=this.maxDate||this.getDateFromNavigableYear(this.yearNavigatorOptions.to);return this.getYearsBetweenDates(kn,On)}get navigatedYear(){return this.navigableYears.indexOf(this.activeYear)}get _hasYearNavigator(){return!!this.yearNavigatorOptions}getTodayDate(){return(0,_.o)(this.todayDate??new Date)}constructor(kn,On,ni){this.elementRef=On,this.cdr=ni,this.dateChange=new t.bkB,this.dateSelect=new t.bkB,this.yearSelect=new t.bkB,this.previousMonthClicked=new t.bkB,this.nextMonthClicked=new t.bkB,this.timezone="local",this.disableWeekends=!1,this.disablePastDates=!1,this.disableFutureDates=!1,this.alwaysEnableToday=!1,this.customLocales={},this.usePopover=!1,this._tableMonthId=tt.KA.scopedTo("kirby-calendar-month").next(),this._disabledDates=[],this._enabledDates=[],this.includedLocales={da:Ko,enGB:Gn,enUS:Pt.c},this.locale=this.mapLocale(kn),this.timeZoneName=Intl.DateTimeFormat().resolvedOptions().timeZone}formatWithLocale(kn,On){return(0,v.GP)(kn,On,{locale:this.locale})}mapLocale(kn){return"en"===kn&&(kn="enGB"),kn=kn.replace("-",""),{...this.includedLocales,...this.locales,...this.customLocales}[kn]||this.includedLocales.enGB}formatDateLabel(){const kn={da:"d. MMMM","en-GB":"d MMMM","en-US":"MMMM d"};return kn[this.locale.code]||kn["en-US"]}ngOnInit(){this.focussedDate=this.getTodayDate(),this._weekDays=this.getWeekDays(),this.setActiveMonth(this.selectedDate)}ngOnChanges(kn){this.activeMonth&&(kn.disableWeekends||kn.disablePastDates||kn.disableFutureDates||kn.disabledDates||kn.enabledDates||kn.minDate||kn.maxDate||kn.todayDate||kn.timezone)&&this.refreshActiveMonth()}setActiveMonth(kn=new Date){(!this.activeMonth||!u(this.activeMonth,kn))&&(this.activeMonth=(0,A.w)(kn),this.refreshActiveMonth())}normalizeDate(kn){if(kn)return(0,_.o)(kn).getTime()===kn.getTime()?kn:(0,_.o)((0,gt.L_)(kn,this.timeZoneName)).getTime()===(0,gt.L_)(kn,this.timeZoneName).getTime()?(0,gt.L_)(kn,this.timeZoneName):(0,_.o)(kn)}getWeekDays(){const kn=new Date,On=function X(Jn,Do){const{start:ao,end:kn}=function $(Jn,Do){const[ao,kn]=(0,E.x)(Jn,Do.start,Do.end);return{start:ao,end:kn}}(Do?.in,Jn);let On=+ao>+kn;const ni=On?+ao:+kn,Ro=On?kn:ao;Ro.setHours(0,0,0,0);let bo=Do?.step??1;if(!bo)return[];bo<0&&(bo=-bo,On=!On);const $i=[];for(;+Ro<=ni;)$i.push((0,K.w)(ao,Ro)),Ro.setDate(Ro.getDate()+bo),Ro.setHours(0,0,0,0);return On?$i.reverse():$i}({start:(0,G.k)(kn,{locale:this.locale}),end:(0,fe.$)(kn,{locale:this.locale})});return On.map(bo=>({firstLetterCapitalized:this.formatWithLocale(bo,"EEEEE"),fullName:this.formatWithLocale(bo,"EEEE")}))}hasDateChanged(kn,On){return!(!kn&&!On)&&(kn instanceof Date&&!On||!he(kn,On))}isDisabledDate(kn){return this.disabledDates.some(On=>he(On,kn))}isEnabledDate(kn){return 0===this._enabledDates.length||this.enabledDates.some(On=>he(On,kn))}refreshActiveMonth(){if(!this.activeMonth)return;const kn=(0,A.w)(this.activeMonth),On=(0,G.k)(kn,{locale:this.locale}),Ro=Array.from(Array(42).keys()),bo=this.getTodayDate(),$i=Ro.map(yi=>{const Gi=Ne(On,{[an.days]:yi}),tr={date:Gi.getDate(),monthIndex:Gi.getMonth(),year:Gi.getFullYear(),ariaLabel:this.formatWithLocale(Gi,this.formatDateLabel()),...this.getCalendarDayMetadata(Gi,bo,kn)};return tr.isSelected&&(this.selectedDay=tr),tr.isFocussed&&(this.focussedDay=tr),tr});this._month=this.chunk($i,7)}getCalendarDayMetadata(kn,On,ni){return{isToday:he(On,kn),isPast:M(kn,On),isFuture:p(kn,On),isWeekend:it(kn),isCurrentMonth:u(kn,ni),isSelectable:this.isSelectable(kn,On),isFocusable:this.isWithinAllowedRange(kn,On),isSelected:he(this.selectedDate,kn),isFocussed:he(this.focussedDate,kn)}}isSelectable(kn,On){return!(!this.alwaysEnableToday||!he(On,kn))||!(!this.isWithinAllowedRange(kn,On)||this.isDisabledDate(kn)||!this.isEnabledDate(kn)||this.disableWeekends&&it(kn))}isWithinAllowedRange(kn,On){return!(this.disablePastDates&&M(kn,On)||this.disableFutureDates&&p(kn,On)||this.minDate&&M(kn,this.minDate)||this.maxDate&&p(kn,this.maxDate))}chunk(kn,On){const ni=[];for(;kn.length;)ni.push(kn.splice(0,On));return ni}onSelectedDateChange(kn){this.selectedDay&&(this.selectedDay.isSelected=!1);const On=this.getDay(kn);On&&(On.isSelected=!0,this.selectedDay=On)}_onDateSelected(kn){if(!kn.isSelectable)return;let On=new Date(kn.year,kn.monthIndex,kn.date);"UTC"===this.timezone&&(On=(0,gt.uk)(this.subtractTimezoneOffset(On),this.timeZoneName));const ni=On;this.hasDateChanged(On,this._selectedDate)&&(this.setActiveMonth(On),this.onSelectedDateChange(On),this.selectedDate=On,this.dateChange.emit(ni)),this.dateSelect.emit(ni)}_changeMonth(kn){kn>0&&!this._canNavigateForward||kn<0&&!this._canNavigateBack||(this.changeActiveView(kn,an.months),kn>0?this.nextMonthClicked.emit(this.activeMonth):this.previousMonthClicked.emit(this.activeMonth))}_changeYear(kn){const On=Number(kn);this.changeActiveView(On-function Ye(Jn,Do){return(0,l.a)(Jn,Do?.in).getFullYear()}(this.activeMonth),an.years),this.yearSelect.emit(On)}changeActiveView(kn,On){0!==kn&&(this.activeMonth=Ne(this.activeMonth,{[On]:kn}),this.focussedDate=Ne(this.focussedDate,{[On]:kn}),this.refreshActiveMonth())}get _canNavigateBack(){const kn=this.getTodayDate(),On=this.disablePastDates&&u(this.activeMonth,kn),ni=this.minDate&&(u(this.activeMonth,this.minDate)||M(this.activeMonth,this.minDate));return!On&&!ni}get _canNavigateForward(){const kn=this.getTodayDate(),On=this.disableFutureDates&&u(this.activeMonth,kn),ni=this.maxDate&&(u(this.activeMonth,this.maxDate)||p(this.activeMonth,this.maxDate));return!On&&!ni}getDay(kn){let On=null;if(kn)for(const ni of this._month)if(On=ni.find(Ro=>Ro.isCurrentMonth&&Ro.date===kn.getDate()),On)break;return On}subtractTimezoneOffset(kn){const On=60*kn.getTimezoneOffset()*1e3;return new Date(kn.getTime()-On)}getDateFromNavigableYear(kn){return kn instanceof Date?kn:new Date((this.todayDate||new Date).getFullYear()+kn,0,1)}getYearsBetweenDates(kn,On){const[ni,Ro]=[kn.getFullYear(),On.getFullYear()].sort();return Array.from({length:Ro-ni+1},($i,yi)=>(ni+yi).toString())}setFocussedDay(kn){const On=this.getDay(kn);On&&(this.focussedDay&&(this.focussedDay.isFocussed=!1),On.isFocussed=!0,this.focussedDay=On)}focusDate(kn){if(!kn)return;"UTC"===this.timezone&&(kn=(0,gt.uk)(this.subtractTimezoneOffset(kn),this.timeZoneName));const On=this.getTodayDate();this.isWithinAllowedRange(kn,On)&&this.hasDateChanged(kn,this.focussedDate)&&(this.setActiveMonth(kn),this.setFocussedDay(kn),this.focussedDate=kn,this.cdr.detectChanges(),this.elementRef.nativeElement.querySelector(".focussed").focus())}_onDateKeydown(kn){const{key:On,shiftKey:ni}=kn;let Ro;switch(On){case"ArrowUp":Ro=Ne(this.focussedDate,{days:-7});break;case"ArrowDown":Ro=Ne(this.focussedDate,{days:7});break;case"ArrowRight":Ro=Ne(this.focussedDate,{days:1});break;case"ArrowLeft":Ro=Ne(this.focussedDate,{days:-1});break;case"Home":Ro=(0,G.k)(this.focussedDate,{locale:this.locale});break;case"End":Ro=function at(Jn,Do){const ao=(0,mt.q)(),kn=Do?.weekStartsOn??Do?.locale?.options?.weekStartsOn??ao.weekStartsOn??ao.locale?.options?.weekStartsOn??0,On=(0,l.a)(Jn,Do?.in),ni=On.getDay(),Ro=6+(ni{"use strict";i.d(z,{Dw:()=>$,ib:()=>u,lM:()=>E,qq:()=>O});var e=i(54438),t=i(60177),l=i(13339);const M=["*"];function d(K,X){if(1&K&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&K){const J=e.XpG();e.AVh("bold",J.isTitleBold),e.R7$(),e.JRh(J.title)}}function p(K,X){if(1&K&&(e.j41(0,"h4"),e.EFF(1),e.k0s()),2&K){const J=e.XpG();e.R7$(),e.JRh(J.subtitle)}}const a=[[["kirby-card-header"]],"*",[["kirby-card-footer"]]],_=["kirby-card-header","*","kirby-card-footer"];let E=(()=>{var K;class X{constructor(){this.flagged=null,this.hasPadding=!0}get _cssClass(){return[this.flagged,this.flagged?"flagged":null]}}return(K=X).\u0275fac=function(G){return new(G||K)},K.\u0275cmp=e.VBU({type:K,selectors:[["kirby-card-header"]],hostVars:4,hostBindings:function(G,fe){2&G&&(e.HbH(fe._cssClass),e.AVh("has-padding",fe.hasPadding))},inputs:{title:"title",subtitle:"subtitle",isTitleBold:"isTitleBold",flagged:"flagged",hasPadding:"hasPadding"},ngContentSelectors:M,decls:4,vars:2,consts:[[3,"bold",4,"ngIf"],[4,"ngIf"]],template:function(G,fe){1&G&&(e.NAR(),e.j41(0,"header"),e.DNE(1,d,2,3,"h2",0)(2,p,2,1,"h4",1),e.SdG(3),e.k0s()),2&G&&(e.R7$(),e.Y8G("ngIf",fe.title),e.R7$(),e.Y8G("ngIf",fe.subtitle))},dependencies:[t.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}),X})(),u=(()=>{var K;class X{set backgroundImageUrl(G){this._backgroundImage=`url('${G}')`}set sizes(G){"string"==typeof G&&console.error('Sizes property cannot be a string. Please ensure the size property is bound as an expression:\n[sizes]="{...}"'),this.sizesSortedByBreakpoint=this.sortSizesByBreakpoint(G)}constructor(G,fe,he){this.elementRef=G,this.resizeObserverService=fe,this.renderer=he,this.sizesSortedByBreakpoint=this.sortSizesByBreakpoint({small:360,medium:720,large:1024}),this.variant="elevated"}ngOnInit(){this.resizeObserverService.observe(this.elementRef,G=>this.handleResize(G))}ngOnDestroy(){this.resizeObserverService.unobserve(this.elementRef)}sortSizesByBreakpoint(G){return Object.entries(G).sort(this.compareSizesByBreakpoint)}compareSizesByBreakpoint(G,fe){return G[1]>fe[1]?1:fe[1]>G[1]?-1:0}handleResize(G){G.contentRect.width{G.contentRect.width>=be&&this.renderer.setAttribute(G.target,"size",ke)})}}return(K=X).\u0275fac=function(G){return new(G||K)(e.rXU(e.aKT),e.rXU(l.ke),e.rXU(e.sFG))},K.\u0275cmp=e.VBU({type:K,selectors:[["kirby-card"]],hostVars:4,hostBindings:function(G,fe){2&G&&(e.HbH(fe.variant),e.xc7("--kirby-card-background-image",fe._backgroundImage))},inputs:{title:"title",subtitle:"subtitle",backgroundImageUrl:"backgroundImageUrl",hasPadding:"hasPadding",sizes:"sizes",variant:"variant"},ngContentSelectors:_,decls:6,vars:2,consts:[["aria-hidden","true",1,"state-layer"],[1,"content-layer"],[1,"content-wrapper"]],template:function(G,fe){1&G&&(e.NAR(a),e.nrm(0,"div",0),e.j41(1,"div",1),e.SdG(2),e.j41(3,"div",2),e.SdG(4,1),e.k0s(),e.SdG(5,2),e.k0s()),2&G&&(e.R7$(3),e.AVh("padding",fe.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;z-index:1}[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;z-index:1}}[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)}']}),X})(),O=(()=>{var K;class X{constructor(G,fe){this.card=G,this.clickableElement=fe,this.role="button",this.tabindex=0,this._pressed=!1}_onKeydownHandler(G){G.currentTarget===G.target&&(this._pressed=!0,this.clickableElement.nativeElement.click(G),G.preventDefault())}_onInactiveHandler(){this._pressed=!1}}return(K=X).\u0275fac=function(G){return new(G||K)(e.rXU(u,8),e.rXU(e.aKT))},K.\u0275dir=e.FsC({type:K,selectors:[["kirby-card","click",""]],hostVars:4,hostBindings:function(G,fe){1&G&&e.bIt("keydown.space",function(Me){return fe._onKeydownHandler(Me)})("keydown.enter",function(Me){return fe._onKeydownHandler(Me)})("keyup.space",function(){return fe._onInactiveHandler()})("keyup.enter",function(){return fe._onInactiveHandler()})("blur",function(){return fe._onInactiveHandler()}),2&G&&(e.BMQ("role",fe.role)("tabindex",fe.tabindex),e.AVh("interaction-state-active",fe._pressed))}}),X})(),$=(()=>{var K;class X{}return(K=X).\u0275fac=function(G){return new(G||K)},K.\u0275mod=e.$C({type:K}),K.\u0275inj=e.G2t({imports:[t.MD]}),X})()},91022:(Ze,z,i)=>{"use strict";i.d(z,{q0:()=>di,Qe:()=>bt,mM:()=>lo,_n:()=>zn,TL:()=>La});var e=i(54438),t=i(13339),l=i(44354),M=i(19402),d=i(53715),p=i(91490),a=i(33510),_=i(54238),v=i(83849),E=i(18648),u=i(91298),O=i(78590),A=i(99842);class G{constructor(){(0,A.A)(this,"subPriority",0)}validate(j,le){return!0}}class fe extends G{constructor(j,le,pe,T,w){super(),this.value=j,this.validateValue=le,this.setValue=pe,this.priority=T,w&&(this.subPriority=w)}validate(j,le){return this.validateValue(j,this.value,le)}set(j,le,pe){return this.setValue(j,le,this.value,pe)}}class he extends G{constructor(j,le){super(),(0,A.A)(this,"priority",10),(0,A.A)(this,"subPriority",-1),this.context=j||(pe=>(0,u.w)(le,pe))}set(j,le){return le.timestampIsSet?j:(0,u.w)(j,function $(q,j){const le=function K(q){return"function"==typeof q&&q.prototype?.constructor===q}(j)?new j(0):(0,u.w)(j,0);return le.setFullYear(q.getFullYear(),q.getMonth(),q.getDate()),le.setHours(q.getHours(),q.getMinutes(),q.getSeconds(),q.getMilliseconds()),le}(j,this.context))}}class Me{run(j,le,pe,T){const w=this.parse(j,le,pe,T);return w?{setter:new fe(w.value,this.validate,this.set,this.priority,this.subPriority),rest:w.rest}:null}validate(j,le,pe){return!0}}var be=i(72162);const Ne_month=/^(1[0-2]|0?\d)/,Ne_date=/^(3[0-1]|[0-2]?\d)/,Ne_dayOfYear=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Ne_week=/^(5[0-3]|[0-4]?\d)/,Ne_hour23h=/^(2[0-3]|[0-1]?\d)/,Ne_hour24h=/^(2[0-4]|[0-1]?\d)/,Ne_hour11h=/^(1[0-1]|0?\d)/,Ne_hour12h=/^(1[0-2]|0?\d)/,Ne_minute=/^[0-5]?\d/,Ne_second=/^[0-5]?\d/,Ne_singleDigit=/^\d/,Ne_twoDigits=/^\d{1,2}/,Ne_threeDigits=/^\d{1,3}/,Ne_fourDigits=/^\d{1,4}/,Ne_anyDigitsSigned=/^-?\d+/,Ne_singleDigitSigned=/^-?\d/,Ne_twoDigitsSigned=/^-?\d{1,2}/,Ne_threeDigitsSigned=/^-?\d{1,3}/,Ne_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 it(q,j){return q&&{value:j(q.value),rest:q.rest}}function pt(q,j){const le=j.match(q);return le?{value:parseInt(le[0],10),rest:j.slice(le[0].length)}:null}function Ye(q,j){const le=j.match(q);if(!le)return null;if("Z"===le[0])return{value:0,rest:j.slice(1)};const pe="+"===le[1]?1:-1,T=le[2]?parseInt(le[2],10):0,w=le[3]?parseInt(le[3],10):0,R=le[5]?parseInt(le[5],10):0;return{value:pe*(T*be.s0+w*be.Cg+R*be._m),rest:j.slice(le[0].length)}}function St(q){return pt(Ne_anyDigitsSigned,q)}function mt(q,j){switch(q){case 1:return pt(Ne_singleDigit,j);case 2:return pt(Ne_twoDigits,j);case 3:return pt(Ne_threeDigits,j);case 4:return pt(Ne_fourDigits,j);default:return pt(new RegExp("^\\d{1,"+q+"}"),j)}}function at(q,j){switch(q){case 1:return pt(Ne_singleDigitSigned,j);case 2:return pt(Ne_twoDigitsSigned,j);case 3:return pt(Ne_threeDigitsSigned,j);case 4:return pt(Ne_fourDigitsSigned,j);default:return pt(new RegExp("^-?\\d{1,"+q+"}"),j)}}function Ge(q){switch(q){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function gt(q,j){const le=j>0,pe=le?j:1-j;let T;if(pe<=50)T=q||100;else{const w=pe+50;T=q+100*Math.trunc(w/100)-(q>=w%100?100:0)}return le?T:1-T}function mn(q){return q%400==0||q%4==0&&q%100!=0}var Ke=i(4110),Je=i(28034),qe=i(31337),xt=i(3719),ln=i(79865);const Tn=[31,28,31,30,31,30,31,31,30,31,30,31],dn=[31,29,31,30,31,30,31,31,30,31,30,31];var Gt=i(9807),Ln=i(71479);function Lt(q,j,le){const pe=(0,Gt.q)(),T=le?.weekStartsOn??le?.locale?.options?.weekStartsOn??pe.weekStartsOn??pe.locale?.options?.weekStartsOn??0,w=(0,p.a)(q,le?.in),R=w.getDay(),$e=7-T;return(0,Ln.f)(w,j<0||j>6?j-(R+$e)%7:((j%7+7)%7+$e)%7-(R+$e)%7,le)}var ot=i(48833);const Xn={G:new class ke extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",140),(0,A.A)(this,"incompatibleTokens",["R","u","t","T"])}parse(j,le,pe){switch(le){case"G":case"GG":case"GGG":return pe.era(j,{width:"abbreviated"})||pe.era(j,{width:"narrow"});case"GGGGG":return pe.era(j,{width:"narrow"});default:return pe.era(j,{width:"wide"})||pe.era(j,{width:"abbreviated"})||pe.era(j,{width:"narrow"})}}set(j,le,pe){return le.era=pe,j.setFullYear(pe,0,1),j.setHours(0,0,0,0),j}},y:new class _t extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",130),(0,A.A)(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(j,le,pe){const T=w=>({year:w,isTwoDigitYear:"yy"===le});switch(le){case"y":return it(mt(4,j),T);case"yo":return it(pe.ordinalNumber(j,{unit:"year"}),T);default:return it(mt(le.length,j),T)}}validate(j,le){return le.isTwoDigitYear||le.year>0}set(j,le,pe){const T=j.getFullYear();if(pe.isTwoDigitYear){const R=gt(pe.year,T);return j.setFullYear(R,0,1),j.setHours(0,0,0,0),j}return j.setFullYear("era"in le&&1!==le.era?1-pe.year:pe.year,0,1),j.setHours(0,0,0,0),j}},Y:new class Xe extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",130),(0,A.A)(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(j,le,pe){const T=w=>({year:w,isTwoDigitYear:"YY"===le});switch(le){case"Y":return it(mt(4,j),T);case"Yo":return it(pe.ordinalNumber(j,{unit:"year"}),T);default:return it(mt(le.length,j),T)}}validate(j,le){return le.isTwoDigitYear||le.year>0}set(j,le,pe,T){const w=(0,Ke.h)(j,T);if(pe.isTwoDigitYear){const V=gt(pe.year,w);return j.setFullYear(V,0,T.firstWeekContainsDate),j.setHours(0,0,0,0),(0,Je.k)(j,T)}return j.setFullYear("era"in le&&1!==le.era?1-pe.year:pe.year,0,T.firstWeekContainsDate),j.setHours(0,0,0,0),(0,Je.k)(j,T)}},R:new class Bt extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",130),(0,A.A)(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(j,le){return at("R"===le?4:le.length,j)}set(j,le,pe){const T=(0,u.w)(j,0);return T.setFullYear(pe,0,4),T.setHours(0,0,0,0),(0,qe.b)(T)}},u:new class It extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",130),(0,A.A)(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(j,le){return at("u"===le?4:le.length,j)}set(j,le,pe){return j.setFullYear(pe,0,1),j.setHours(0,0,0,0),j}},Q:new class Nn extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",120),(0,A.A)(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(j,le,pe){switch(le){case"Q":case"QQ":return mt(le.length,j);case"Qo":return pe.ordinalNumber(j,{unit:"quarter"});case"QQQ":return pe.quarter(j,{width:"abbreviated",context:"formatting"})||pe.quarter(j,{width:"narrow",context:"formatting"});case"QQQQQ":return pe.quarter(j,{width:"narrow",context:"formatting"});default:return pe.quarter(j,{width:"wide",context:"formatting"})||pe.quarter(j,{width:"abbreviated",context:"formatting"})||pe.quarter(j,{width:"narrow",context:"formatting"})}}validate(j,le){return le>=1&&le<=4}set(j,le,pe){return j.setMonth(3*(pe-1),1),j.setHours(0,0,0,0),j}},q:new class Hn extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",120),(0,A.A)(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(j,le,pe){switch(le){case"q":case"qq":return mt(le.length,j);case"qo":return pe.ordinalNumber(j,{unit:"quarter"});case"qqq":return pe.quarter(j,{width:"abbreviated",context:"standalone"})||pe.quarter(j,{width:"narrow",context:"standalone"});case"qqqqq":return pe.quarter(j,{width:"narrow",context:"standalone"});default:return pe.quarter(j,{width:"wide",context:"standalone"})||pe.quarter(j,{width:"abbreviated",context:"standalone"})||pe.quarter(j,{width:"narrow",context:"standalone"})}}validate(j,le){return le>=1&&le<=4}set(j,le,pe){return j.setMonth(3*(pe-1),1),j.setHours(0,0,0,0),j}},M:new class xo extends Me{constructor(...j){super(...j),(0,A.A)(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),(0,A.A)(this,"priority",110)}parse(j,le,pe){const T=w=>w-1;switch(le){case"M":return it(pt(Ne_month,j),T);case"MM":return it(mt(2,j),T);case"Mo":return it(pe.ordinalNumber(j,{unit:"month"}),T);case"MMM":return pe.month(j,{width:"abbreviated",context:"formatting"})||pe.month(j,{width:"narrow",context:"formatting"});case"MMMMM":return pe.month(j,{width:"narrow",context:"formatting"});default:return pe.month(j,{width:"wide",context:"formatting"})||pe.month(j,{width:"abbreviated",context:"formatting"})||pe.month(j,{width:"narrow",context:"formatting"})}}validate(j,le){return le>=0&&le<=11}set(j,le,pe){return j.setMonth(pe,1),j.setHours(0,0,0,0),j}},L:new class Kn extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",110),(0,A.A)(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(j,le,pe){const T=w=>w-1;switch(le){case"L":return it(pt(Ne_month,j),T);case"LL":return it(mt(2,j),T);case"Lo":return it(pe.ordinalNumber(j,{unit:"month"}),T);case"LLL":return pe.month(j,{width:"abbreviated",context:"standalone"})||pe.month(j,{width:"narrow",context:"standalone"});case"LLLLL":return pe.month(j,{width:"narrow",context:"standalone"});default:return pe.month(j,{width:"wide",context:"standalone"})||pe.month(j,{width:"abbreviated",context:"standalone"})||pe.month(j,{width:"narrow",context:"standalone"})}}validate(j,le){return le>=0&&le<=11}set(j,le,pe){return j.setMonth(pe,1),j.setHours(0,0,0,0),j}},w:new class Xt extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",100),(0,A.A)(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(j,le,pe){switch(le){case"w":return pt(Ne_week,j);case"wo":return pe.ordinalNumber(j,{unit:"week"});default:return mt(le.length,j)}}validate(j,le){return le>=1&&le<=53}set(j,le,pe,T){return(0,Je.k)(function Ht(q,j,le){const pe=(0,p.a)(q,le?.in),T=(0,xt.N)(pe,le)-j;return pe.setDate(pe.getDate()-7*T),(0,p.a)(pe,le?.in)}(j,pe,T),T)}},I:new class Un extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",100),(0,A.A)(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(j,le,pe){switch(le){case"I":return pt(Ne_week,j);case"Io":return pe.ordinalNumber(j,{unit:"week"});default:return mt(le.length,j)}}validate(j,le){return le>=1&&le<=53}set(j,le,pe){return(0,qe.b)(function tn(q,j,le){const pe=(0,p.a)(q,le?.in),T=(0,ln.s)(pe,le)-j;return pe.setDate(pe.getDate()-7*T),pe}(j,pe))}},d:new class gn extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",90),(0,A.A)(this,"subPriority",1),(0,A.A)(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(j,le,pe){switch(le){case"d":return pt(Ne_date,j);case"do":return pe.ordinalNumber(j,{unit:"date"});default:return mt(le.length,j)}}validate(j,le){const T=mn(j.getFullYear()),w=j.getMonth();return T?le>=1&&le<=dn[w]:le>=1&&le<=Tn[w]}set(j,le,pe){return j.setDate(pe),j.setHours(0,0,0,0),j}},D:new class Vt extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",90),(0,A.A)(this,"subpriority",1),(0,A.A)(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(j,le,pe){switch(le){case"D":case"DD":return pt(Ne_dayOfYear,j);case"Do":return pe.ordinalNumber(j,{unit:"date"});default:return mt(le.length,j)}}validate(j,le){return mn(j.getFullYear())?le>=1&&le<=366:le>=1&&le<=365}set(j,le,pe){return j.setMonth(0,pe),j.setHours(0,0,0,0),j}},E:new class Mn extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",90),(0,A.A)(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(j,le,pe){switch(le){case"E":case"EE":case"EEE":return pe.day(j,{width:"abbreviated",context:"formatting"})||pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"});case"EEEEE":return pe.day(j,{width:"narrow",context:"formatting"});case"EEEEEE":return pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"});default:return pe.day(j,{width:"wide",context:"formatting"})||pe.day(j,{width:"abbreviated",context:"formatting"})||pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"})}}validate(j,le){return le>=0&&le<=6}set(j,le,pe,T){return(j=Lt(j,pe,T)).setHours(0,0,0,0),j}},e:new class bn extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",90),(0,A.A)(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(j,le,pe,T){const w=R=>{const V=7*Math.floor((R-1)/7);return(R+T.weekStartsOn+6)%7+V};switch(le){case"e":case"ee":return it(mt(le.length,j),w);case"eo":return it(pe.ordinalNumber(j,{unit:"day"}),w);case"eee":return pe.day(j,{width:"abbreviated",context:"formatting"})||pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"});case"eeeee":return pe.day(j,{width:"narrow",context:"formatting"});case"eeeeee":return pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"});default:return pe.day(j,{width:"wide",context:"formatting"})||pe.day(j,{width:"abbreviated",context:"formatting"})||pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"})}}validate(j,le){return le>=0&&le<=6}set(j,le,pe,T){return(j=Lt(j,pe,T)).setHours(0,0,0,0),j}},c:new class Bn extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",90),(0,A.A)(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(j,le,pe,T){const w=R=>{const V=7*Math.floor((R-1)/7);return(R+T.weekStartsOn+6)%7+V};switch(le){case"c":case"cc":return it(mt(le.length,j),w);case"co":return it(pe.ordinalNumber(j,{unit:"day"}),w);case"ccc":return pe.day(j,{width:"abbreviated",context:"standalone"})||pe.day(j,{width:"short",context:"standalone"})||pe.day(j,{width:"narrow",context:"standalone"});case"ccccc":return pe.day(j,{width:"narrow",context:"standalone"});case"cccccc":return pe.day(j,{width:"short",context:"standalone"})||pe.day(j,{width:"narrow",context:"standalone"});default:return pe.day(j,{width:"wide",context:"standalone"})||pe.day(j,{width:"abbreviated",context:"standalone"})||pe.day(j,{width:"short",context:"standalone"})||pe.day(j,{width:"narrow",context:"standalone"})}}validate(j,le){return le>=0&&le<=6}set(j,le,pe,T){return(j=Lt(j,pe,T)).setHours(0,0,0,0),j}},i:new class ko extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",90),(0,A.A)(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(j,le,pe){const T=w=>0===w?7:w;switch(le){case"i":case"ii":return mt(le.length,j);case"io":return pe.ordinalNumber(j,{unit:"day"});case"iii":return it(pe.day(j,{width:"abbreviated",context:"formatting"})||pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"}),T);case"iiiii":return it(pe.day(j,{width:"narrow",context:"formatting"}),T);case"iiiiii":return it(pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"}),T);default:return it(pe.day(j,{width:"wide",context:"formatting"})||pe.day(j,{width:"abbreviated",context:"formatting"})||pe.day(j,{width:"short",context:"formatting"})||pe.day(j,{width:"narrow",context:"formatting"}),T)}}validate(j,le){return le>=1&&le<=7}set(j,le,pe){return(j=function Ko(q,j,le){const pe=(0,p.a)(q,le?.in),T=function yo(q,j){const le=(0,p.a)(q,j?.in).getDay();return 0===le?7:le}(pe,le);return(0,Ln.f)(pe,j-T,le)}(j,pe)).setHours(0,0,0,0),j}},a:new class ei extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",80),(0,A.A)(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(j,le,pe){switch(le){case"a":case"aa":case"aaa":return pe.dayPeriod(j,{width:"abbreviated",context:"formatting"})||pe.dayPeriod(j,{width:"narrow",context:"formatting"});case"aaaaa":return pe.dayPeriod(j,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(j,{width:"wide",context:"formatting"})||pe.dayPeriod(j,{width:"abbreviated",context:"formatting"})||pe.dayPeriod(j,{width:"narrow",context:"formatting"})}}set(j,le,pe){return j.setHours(Ge(pe),0,0,0),j}},b:new class Go extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",80),(0,A.A)(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(j,le,pe){switch(le){case"b":case"bb":case"bbb":return pe.dayPeriod(j,{width:"abbreviated",context:"formatting"})||pe.dayPeriod(j,{width:"narrow",context:"formatting"});case"bbbbb":return pe.dayPeriod(j,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(j,{width:"wide",context:"formatting"})||pe.dayPeriod(j,{width:"abbreviated",context:"formatting"})||pe.dayPeriod(j,{width:"narrow",context:"formatting"})}}set(j,le,pe){return j.setHours(Ge(pe),0,0,0),j}},B:new class Ji extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",80),(0,A.A)(this,"incompatibleTokens",["a","b","t","T"])}parse(j,le,pe){switch(le){case"B":case"BB":case"BBB":return pe.dayPeriod(j,{width:"abbreviated",context:"formatting"})||pe.dayPeriod(j,{width:"narrow",context:"formatting"});case"BBBBB":return pe.dayPeriod(j,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(j,{width:"wide",context:"formatting"})||pe.dayPeriod(j,{width:"abbreviated",context:"formatting"})||pe.dayPeriod(j,{width:"narrow",context:"formatting"})}}set(j,le,pe){return j.setHours(Ge(pe),0,0,0),j}},h:new class pi extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",70),(0,A.A)(this,"incompatibleTokens",["H","K","k","t","T"])}parse(j,le,pe){switch(le){case"h":return pt(Ne_hour12h,j);case"ho":return pe.ordinalNumber(j,{unit:"hour"});default:return mt(le.length,j)}}validate(j,le){return le>=1&&le<=12}set(j,le,pe){const T=j.getHours()>=12;return j.setHours(T&&pe<12?pe+12:T||12!==pe?pe:0,0,0,0),j}},H:new class Si extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",70),(0,A.A)(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(j,le,pe){switch(le){case"H":return pt(Ne_hour23h,j);case"Ho":return pe.ordinalNumber(j,{unit:"hour"});default:return mt(le.length,j)}}validate(j,le){return le>=0&&le<=23}set(j,le,pe){return j.setHours(pe,0,0,0),j}},K:new class hr extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",70),(0,A.A)(this,"incompatibleTokens",["h","H","k","t","T"])}parse(j,le,pe){switch(le){case"K":return pt(Ne_hour11h,j);case"Ko":return pe.ordinalNumber(j,{unit:"hour"});default:return mt(le.length,j)}}validate(j,le){return le>=0&&le<=11}set(j,le,pe){return j.getHours()>=12&&pe<12?j.setHours(pe+12,0,0,0):j.setHours(pe,0,0,0),j}},k:new class Pi extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",70),(0,A.A)(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(j,le,pe){switch(le){case"k":return pt(Ne_hour24h,j);case"ko":return pe.ordinalNumber(j,{unit:"hour"});default:return mt(le.length,j)}}validate(j,le){return le>=1&&le<=24}set(j,le,pe){return j.setHours(pe<=24?pe%24:pe,0,0,0),j}},m:new class Gn extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",60),(0,A.A)(this,"incompatibleTokens",["t","T"])}parse(j,le,pe){switch(le){case"m":return pt(Ne_minute,j);case"mo":return pe.ordinalNumber(j,{unit:"minute"});default:return mt(le.length,j)}}validate(j,le){return le>=0&&le<=59}set(j,le,pe){return j.setMinutes(pe,0,0),j}},s:new class qt extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",50),(0,A.A)(this,"incompatibleTokens",["t","T"])}parse(j,le,pe){switch(le){case"s":return pt(Ne_second,j);case"so":return pe.ordinalNumber(j,{unit:"second"});default:return mt(le.length,j)}}validate(j,le){return le>=0&&le<=59}set(j,le,pe){return j.setSeconds(pe,0),j}},S:new class Pt extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",30),(0,A.A)(this,"incompatibleTokens",["t","T"])}parse(j,le){return it(mt(le.length,j),T=>Math.trunc(T*Math.pow(10,3-le.length)))}set(j,le,pe){return j.setMilliseconds(pe),j}},X:new class De extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",10),(0,A.A)(this,"incompatibleTokens",["t","T","x"])}parse(j,le){switch(le){case"X":return Ye(je_basicOptionalMinutes,j);case"XX":return Ye(je_basic,j);case"XXXX":return Ye(je_basicOptionalSeconds,j);case"XXXXX":return Ye(je_extendedOptionalSeconds,j);default:return Ye(je_extended,j)}}set(j,le,pe){return le.timestampIsSet?j:(0,u.w)(j,j.getTime()-(0,ot.G)(j)-pe)}},x:new class Fe extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",10),(0,A.A)(this,"incompatibleTokens",["t","T","X"])}parse(j,le){switch(le){case"x":return Ye(je_basicOptionalMinutes,j);case"xx":return Ye(je_basic,j);case"xxxx":return Ye(je_basicOptionalSeconds,j);case"xxxxx":return Ye(je_extendedOptionalSeconds,j);default:return Ye(je_extended,j)}}set(j,le,pe){return le.timestampIsSet?j:(0,u.w)(j,j.getTime()-(0,ot.G)(j)-pe)}},t:new class tt extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",40),(0,A.A)(this,"incompatibleTokens","*")}parse(j){return St(j)}set(j,le,pe){return[(0,u.w)(j,1e3*pe),{timestampIsSet:!0}]}},T:new class en extends Me{constructor(...j){super(...j),(0,A.A)(this,"priority",20),(0,A.A)(this,"incompatibleTokens","*")}parse(j){return St(j)}set(j,le,pe){return[(0,u.w)(j,pe),{timestampIsSet:!0}]}}},sn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_n=/^'([^]*?)'?$/,kt=/''/g,an=/\S/,Wn=/[a-zA-Z]/;function Do(q){return q.match(_n)[1].replace(kt,"'")}const On={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ni=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Ro=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,bo=/^([+-])(\d{2})(?::?(\d{2}))?$/;function tr(q){return q?parseInt(q):1}function wi(q){return q&&parseFloat(q.replace(",","."))||0}const kr=[31,null,31,30,31,30,31,31,30,31,30,31];function Wr(q){return q%400==0||q%4==0&&q%100!=0}var qi=i(6509),bi=i(7083);function Rr(q,j,le){return(0,u.w)(le?.in||q,+(0,p.a)(q)+j)}var es=i(53759);function _r(q,j){return+(0,p.a)(q)-+(0,p.a)(j)}function ts(q){return j=>{const pe=(q?Math[q]:Math.trunc)(j);return 0===pe?0:pe}}var Zt=i(77530),go=i(81266);function so(q,j,le){const[pe,T]=(0,Zt.x)(le?.in,q,j),w=Wo(pe,T),R=Math.abs((0,go.m)(pe,T));pe.setDate(pe.getDate()-w*R);const ve=w*(R-+(Wo(pe,T)===-w));return 0===ve?0:ve}function Wo(q,j){const le=q.getFullYear()-j.getFullYear()||q.getMonth()-j.getMonth()||q.getDate()-j.getDate()||q.getHours()-j.getHours()||q.getMinutes()-j.getMinutes()||q.getSeconds()-j.getSeconds()||q.getMilliseconds()-j.getMilliseconds();return le<0?-1:le>0?1:le}function re(q,j){const le=+(0,p.a)(q)-+(0,p.a)(j);return le<0?-1:le>0?1:le}function We(q,j){const le=(0,p.a)(q,j?.in);return le.setHours(23,59,59,999),le}function jt(q,j){const le=(0,p.a)(q,j?.in),pe=le.getMonth();return le.setFullYear(le.getFullYear(),pe+1,0),le.setHours(23,59,59,999),le}function Qe(q,j,le){const[pe,T,w]=(0,Zt.x)(le?.in,q,q,j),R=re(T,w),V=Math.abs(function Pe(q,j,le){const[pe,T]=(0,Zt.x)(le?.in,q,j);return 12*(pe.getFullYear()-T.getFullYear())+(pe.getMonth()-T.getMonth())}(T,w));if(V<1)return 0;1===T.getMonth()&&T.getDate()>27&&T.setDate(30),T.setMonth(T.getMonth()-R*V);let ve=re(T,w)===-R;(function ie(q,j){const le=(0,p.a)(q,j?.in);return+We(le,j)==+jt(le,j)})(pe)&&1===V&&1===re(pe,w)&&(ve=!1);const $e=R*(V-+ve);return 0===$e?0:$e}var Vo=i(30226),So=i(85578),Lr=i(80167),Zi=i(69831);const b={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"};a.ij._date.override({_id:"date-fns",formats:function(){return b},parse:function(q,j){if(null===q||typeof q>"u")return null;const le=typeof q;return"number"===le||q instanceof Date?q=(0,p.a)(q):"string"===le&&(q="string"==typeof j?function Jn(q,j,le,pe){const T=()=>(0,u.w)(pe?.in||le,NaN),w=(0,O.q)(),R=pe?.locale??w.locale??_.c,V=pe?.firstWeekContainsDate??pe?.locale?.options?.firstWeekContainsDate??w.firstWeekContainsDate??w.locale?.options?.firstWeekContainsDate??1,ve=pe?.weekStartsOn??pe?.locale?.options?.weekStartsOn??w.weekStartsOn??w.locale?.options?.weekStartsOn??0;if(!j)return q?T():(0,p.a)(le,pe?.in);const $e={firstWeekContainsDate:V,weekStartsOn:ve,locale:R},vt=[new he(pe?.in,le)],Rt=j.match(zt).map(qo=>{const oi=qo[0];return oi in v.m?(0,v.m[oi])(qo,R.formatLong):qo}).join("").match(sn),wn=[];for(let qo of Rt){!pe?.useAdditionalWeekYearTokens&&(0,E.xM)(qo)&&(0,E.Ss)(qo,j,q),!pe?.useAdditionalDayOfYearTokens&&(0,E.ef)(qo)&&(0,E.Ss)(qo,j,q);const oi=qo[0],Di=Xn[oi];if(Di){const{incompatibleTokens:Bi}=Di;if(Array.isArray(Bi)){const ur=wn.find(Vr=>Bi.includes(Vr.token)||Vr.token===oi);if(ur)throw new RangeError(`The format string mustn't contain \`${ur.fullToken}\` and \`${qo}\` at the same time`)}else if("*"===Di.incompatibleTokens&&wn.length>0)throw new RangeError(`The format string mustn't contain \`${qo}\` and any other token at the same time`);wn.push({token:oi,fullToken:qo});const Hi=Di.run(q,qo,R.match,$e);if(!Hi)return T();vt.push(Hi.setter),q=Hi.rest}else{if(oi.match(Wn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+oi+"`");if("''"===qo?qo="'":"'"===oi&&(qo=Do(qo)),0!==q.indexOf(qo))return T();q=q.slice(qo.length)}}if(q.length>0&&an.test(q))return T();const Vn=vt.map(qo=>qo.priority).sort((qo,oi)=>oi-qo).filter((qo,oi,Di)=>Di.indexOf(qo)===oi).map(qo=>vt.filter(oi=>oi.priority===qo).sort((oi,Di)=>Di.subPriority-oi.subPriority)).map(qo=>qo[0]);let $o=(0,p.a)(le,pe?.in);if(isNaN(+$o))return T();const Xo={};for(const qo of Vn){if(!qo.validate($o,$e))return T();const oi=qo.set($o,Xo,$e);Array.isArray(oi)?($o=oi[0],Object.assign(Xo,oi[1])):$o=oi}return $o}(q,j,new Date,this.options):function kn(q,j){const le=()=>(0,u.w)(j?.in,NaN),pe=j?.additionalDigits??2,T=function $i(q){const j={},le=q.split(On.dateTimeDelimiter);let pe;if(le.length>2)return j;if(/:/.test(le[0])?pe=le[0]:(j.date=le[0],pe=le[1],On.timeZoneDelimiter.test(j.date)&&(j.date=q.split(On.timeZoneDelimiter)[0],pe=q.substr(j.date.length,q.length))),pe){const T=On.timezone.exec(pe);T?(j.time=pe.replace(T[1],""),j.timezone=T[1]):j.time=pe}return j}(q);let w;if(T.date){const $e=function yi(q,j){const le=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+j)+"})|(\\d{2}|[+-]\\d{"+(2+j)+"})$)"),pe=q.match(le);if(!pe)return{year:NaN,restDateString:""};const T=pe[1]?parseInt(pe[1]):null,w=pe[2]?parseInt(pe[2]):null;return{year:null===w?T:100*w,restDateString:q.slice((pe[1]||pe[2]).length)}}(T.date,pe);w=function Gi(q,j){if(null===j)return new Date(NaN);const le=q.match(ni);if(!le)return new Date(NaN);const pe=!!le[4],T=tr(le[1]),w=tr(le[2])-1,R=tr(le[3]),V=tr(le[4]),ve=tr(le[5])-1;if(pe)return function Ho(q,j,le){return j>=1&&j<=53&&le>=0&&le<=6}(0,V,ve)?function Ki(q,j,le){const pe=new Date(0);pe.setUTCFullYear(q,0,4);const w=7*(j-1)+le+1-(pe.getUTCDay()||7);return pe.setUTCDate(pe.getUTCDate()+w),pe}(j,V,ve):new Date(NaN);{const $e=new Date(0);return function Yt(q,j,le){return j>=0&&j<=11&&le>=1&&le<=(kr[j]||(Wr(q)?29:28))}(j,w,R)&&function io(q,j){return j>=1&&j<=(Wr(q)?366:365)}(j,T)?($e.setUTCFullYear(j,w,Math.max(T,R)),$e):new Date(NaN)}}($e.restDateString,$e.year)}if(!w||isNaN(+w))return le();const R=+w;let ve,V=0;if(T.time&&(V=function Sr(q){const j=q.match(Ro);if(!j)return NaN;const le=wi(j[1]),pe=wi(j[2]),T=wi(j[3]);return function gi(q,j,le){return 24===q?0===j&&0===le:le>=0&&le<60&&j>=0&&j<60&&q>=0&&q<25}(le,pe,T)?le*be.s0+pe*be.Cg+1e3*T:NaN}(T.time),isNaN(V)))return le();if(!T.timezone){const $e=new Date(R+V),vt=(0,p.a)(0,j?.in);return vt.setFullYear($e.getUTCFullYear(),$e.getUTCMonth(),$e.getUTCDate()),vt.setHours($e.getUTCHours(),$e.getUTCMinutes(),$e.getUTCSeconds(),$e.getUTCMilliseconds()),vt}return ve=function mr(q){if("Z"===q)return 0;const j=q.match(bo);if(!j)return 0;const le="+"===j[1]?-1:1,pe=parseInt(j[2]),T=j[3]&&parseInt(j[3])||0;return function xi(q,j){return j>=0&&j<=59}(0,T)?le*(pe*be.s0+T*be.Cg):NaN}(T.timezone),isNaN(ve)?le():(0,p.a)(R+V+ve,j?.in)}(q,this.options)),(0,qi.f)(q)?q.getTime():null},format:function(q,j){return(0,bi.GP)(q,j,this.options)},add:function(q,j,le){switch(le){case"millisecond":return Rr(q,j);case"second":return function ri(q,j,le){return Rr(q,1e3*j,le)}(q,j);case"minute":return function wr(q,j,le){const pe=(0,p.a)(q,le?.in);return pe.setTime(pe.getTime()+j*be.Cg),pe}(q,j);case"hour":return function Zr(q,j,le){return Rr(q,j*be.s0,le)}(q,j);case"day":return(0,Ln.f)(q,j);case"week":return function Mr(q,j,le){return(0,Ln.f)(q,7*j,le)}(q,j);case"month":return(0,es.P)(q,j);case"quarter":return function Cr(q,j,le){return(0,es.P)(q,3*j,le)}(q,j);case"year":return function rs(q,j,le){return(0,es.P)(q,12*j,le)}(q,j);default:return q}},diff:function(q,j,le){switch(le){case"millisecond":return _r(q,j);case"second":return function hi(q,j,le){const pe=_r(q,j)/1e3;return ts(le?.roundingMethod)(pe)}(q,j);case"minute":return function Wt(q,j,le){const pe=_r(q,j)/be.Cg;return ts(le?.roundingMethod)(pe)}(q,j);case"hour":return function Cn(q,j,le){const[pe,T]=(0,Zt.x)(le?.in,q,j),w=(+pe-+T)/be.s0;return ts(le?.roundingMethod)(w)}(q,j);case"day":return so(q,j);case"week":return function Jo(q,j,le){const pe=so(q,j,le)/7;return ts(le?.roundingMethod)(pe)}(q,j);case"month":return Qe(q,j);case"quarter":return function Mt(q,j,le){const pe=Qe(q,j,le)/3;return ts(le?.roundingMethod)(pe)}(q,j);case"year":return function In(q,j,le){const[pe,T]=(0,Zt.x)(le?.in,q,j),w=re(pe,T),R=Math.abs(function fn(q,j,le){const[pe,T]=(0,Zt.x)(le?.in,q,j);return pe.getFullYear()-T.getFullYear()}(pe,T));pe.setFullYear(1584),T.setFullYear(1584);const ve=w*(R-+(re(pe,T)===-w));return 0===ve?0:ve}(q,j);default:return 0}},startOf:function(q,j,le){switch(j){case"second":return function vo(q,j){const le=(0,p.a)(q,j?.in);return le.setMilliseconds(0),le}(q);case"minute":return function po(q,j){const le=(0,p.a)(q,j?.in);return le.setSeconds(0,0),le}(q);case"hour":return function Po(q,j){const le=(0,p.a)(q,j?.in);return le.setMinutes(0,0,0),le}(q);case"day":return(0,Vo.o)(q);case"week":return(0,Je.k)(q);case"isoWeek":return(0,Je.k)(q,{weekStartsOn:+le});case"month":return(0,So.w)(q);case"quarter":return function Yo(q,j){const le=(0,p.a)(q,j?.in),pe=le.getMonth();return le.setMonth(pe-pe%3,1),le.setHours(0,0,0,0),le}(q);case"year":return(0,Lr.D)(q);default:return q}},endOf:function(q,j){switch(j){case"second":return function fi(q,j){const le=(0,p.a)(q,j?.in);return le.setMilliseconds(999),le}(q);case"minute":return function Er(q,j){const le=(0,p.a)(q,j?.in);return le.setSeconds(59,999),le}(q);case"hour":return function _i(q,j){const le=(0,p.a)(q,j?.in);return le.setMinutes(59,59,999),le}(q);case"day":return We(q);case"week":return(0,Zi.$)(q);case"month":return jt(q);case"quarter":return function jr(q,j){const le=(0,p.a)(q,j?.in),pe=le.getMonth();return le.setMonth(pe-pe%3+3,0),le.setHours(23,59,59,999),le}(q);case"year":return function Hr(q,j){const le=(0,p.a)(q,j?.in),pe=le.getFullYear();return le.setFullYear(pe+1,0,0),le.setHours(23,59,59,999),le}(q);default:return q}}});var ee=i(40606);const oe=["click","dblclick"],D=["enter","leave"],N=oe.concat(D);function Le(q,j,le){(0,ee.E2)(q,[j.$context,le])}function Ae(q,j){let le=Number.POSITIVE_INFINITY;return q.filter(pe=>pe.options.display&&pe.inRange(j.x,j.y)).reduce((pe,T)=>{const w=T.getCenterPoint(),R=(0,ee.Lt)(j,w);return Rpe._index-T._index).slice(0,1)[0]}function Nt(q,j,le,pe){if((0,ee.MI)(j[le])&&!function Ot(q,j,le){return(0,ee.sw)(q[j])||(0,ee.sw)(q[le])}(q.options,le,pe)){const T=q[le]!==j[le];return q[le]=j[le],T}}function pn(q,j){for(const le of["scaleID","xScaleID","yScaleID"])q[le]&&!j[q[le]]&&Ct(q,le)&&console.warn(`No scale found with id '${q[le]}' for annotation '${q.id}'`)}function Ct(q,j){if("scaleID"===j)return!0;const le=j.charAt(0);for(const pe of["Min","Max","Value"])if((0,ee.sw)(q[le+pe]))return!0;return!1}function on(q,j,le,pe){for(const T of le){const w=q[T];if((0,ee.sw)(w)){const R=j.parse(w);pe.min=Math.min(pe.min,R),pe.max=Math.max(pe.max,R)}}}const Qn=.001,eo=(q,j,le)=>Math.min(le,Math.max(j,q));function fo(q,j,le){for(const pe of Object.keys(q))q[pe]=eo(q[pe],j,le);return q}function wo(q,j,{x:le,y:pe,width:T,height:w},R){const V=R/2;return q>=le-V-Qn&&q<=le+T+V+Qn&&j>=pe-V-Qn&&j<=pe+w+V+Qn}function ii(q,j){const{x:le,y:pe}=q.getProps(["x","y"],j);return{x:le,y:pe}}const Te=(q,j)=>j>q||q.length>j.length&&q.substr(0,j.length)===j,He=q=>"string"==typeof q&&q.endsWith("%"),ue=q=>eo(parseFloat(q)/100,0,1);function st(q,j){return"start"===j?0:"end"===j?q:He(j)?ue(j)*q:q/2}function jn(q,j){return"number"==typeof j?j:He(j)?ue(j)*q:q}function Lo(q){return(0,ee.Gv)(q)?{x:(0,ee.a4)(q.x,"center"),y:(0,ee.a4)(q.y,"center")}:{x:q=(0,ee.a4)(q,"center"),y:q}}function To(q){return q&&((0,ee.sw)(q.xValue)||(0,ee.sw)(q.yValue))}const ki=new Map;function cr(q){if(q&&"object"==typeof q){const j=q.toString();return"[object HTMLImageElement]"===j||"[object HTMLCanvasElement]"===j}}function Gr(q,j,le){if(le){const pe=j.getCenterPoint();q.translate(pe.x,pe.y),q.rotate((0,ee.eh)(le)),q.translate(-pe.x,-pe.y)}}function Ti(q,j){if(j&&j.borderWidth)return q.lineCap=j.borderCapStyle,q.setLineDash(j.borderDash),q.lineDashOffset=j.borderDashOffset,q.lineJoin=j.borderJoinStyle,q.lineWidth=j.borderWidth,q.strokeStyle=j.borderColor,!0}function dr(q,j){q.shadowColor=j.backgroundShadowColor,q.shadowBlur=j.shadowBlur,q.shadowOffsetX=j.shadowOffsetX,q.shadowOffsetY=j.shadowOffsetY}function hs(q,j){const le=j.content;if(cr(le))return{width:jn(le.width,j.width),height:jn(le.height,j.height)};const pe=(0,ee.di)(j.font),T=j.textStrokeWidth,w=(0,ee.cy)(le)?le:[le],R=w.join()+pe.string+T+(q._measureText?"-spriting":"");if(!ki.has(R)){q.save(),q.font=pe.string;const V=w.length;let ve=0;for(let vt=0;vt0)return q.lineJoin="round",q.miterLimit=2,q.lineWidth=j.textStrokeWidth,q.strokeStyle=j.textStrokeColor,!0}(q,le)&&T.forEach(($e,vt)=>q.strokeText($e,V,ve+vt*R)),q.fillStyle=le.color,T.forEach(($e,vt)=>q.fillText($e,V,ve+vt*R)),q.restore()}function dt(q){const{x:j,y:le,width:pe,height:T}=q;return{x:j+pe/2,y:le+T/2}}function At(q,j,le){const pe=Math.cos(le),T=Math.sin(le),w=j.x,R=j.y;return{x:w+pe*(q.x-w)-T*(q.y-R),y:R+T*(q.x-w)+pe*(q.y-R)}}function rn(q,j,le){return j="number"==typeof j?j:q.parse(j),(0,ee.MI)(j)?q.getPixelForValue(j):le}function cn(q,j){if(q){const le=rn(q,j.min,j.start),pe=rn(q,j.max,j.end);return{start:Math.min(le,pe),end:Math.max(le,pe)}}return{start:j.start,end:j.end}}function Fn(q,j){const{chartArea:le,scales:pe}=q,T=pe[j.xScaleID],w=pe[j.yScaleID];let R=le.width/2,V=le.height/2;return T&&(R=rn(T,j.xValue,R)),w&&(V=rn(w,j.yValue,V)),{x:R,y:V}}function _o(q,j){const le=q.scales[j.xScaleID],pe=q.scales[j.yScaleID];let{top:T,left:w,bottom:R,right:V}=q.chartArea;if(!le&&!pe)return{};const ve=cn(le,{min:j.xMin,max:j.xMax,start:w,end:V});w=ve.start,V=ve.end;const $e=cn(pe,{min:j.yMin,max:j.yMax,start:T,end:R});return T=$e.start,R=$e.end,{x:w,y:T,x2:V,y2:R,width:V-w,height:R-T}}function ti(q,j){if(!To(j)){const le=_o(q,j),pe=dt(le);let T=j.radius;return(!T||isNaN(T))&&(T=Math.min(le.width,le.height)/2,j.radius=T),{x:pe.x+j.xAdjust,y:pe.y+j.yAdjust,width:2*T,height:2*T}}return function Bo(q,j){const le=Fn(q,j);return{x:le.x+j.xAdjust,y:le.y+j.yAdjust,width:2*j.radius,height:2*j.radius}}(q,j)}class Li extends a.Hg{inRange(j,le,pe){const{x:T,y:w}=At({x:j,y:le},this.getCenterPoint(pe),(0,ee.eh)(-this.options.rotation));return wo(T,w,this.getProps(["x","y","width","height"],pe),this.options.borderWidth)}getCenterPoint(j){return dt(this.getProps(["x","y","width","height"],j))}draw(j){j.save(),Gr(j,this,this.options.rotation),U(j,this,this.options),j.restore()}drawLabel(j){const{x:le,y:pe,width:T,height:w,options:R}=this,{label:V,borderWidth:ve}=R,$e=ve/2,vt=Lo(V.position),Rt=(0,ee.Lv)(V.padding),wn=hs(j,V),Vn={x:er(this,wn,vt,Rt),y:Yi(this,wn,vt,Rt),width:wn.width,height:wn.height};j.save(),Gr(j,this,V.rotation),j.beginPath(),j.rect(le+$e+Rt.left,pe+$e+Rt.top,T-ve-Rt.width,w-ve-Rt.height),j.clip(),Ce(j,Vn,V),j.restore()}resolveElementProperties(j,le){return _o(j,le)}}function er(q,j,le,pe){const{x:T,x2:w,width:R,options:V}=q,{xAdjust:ve,borderWidth:$e}=V.label;return Ai({start:T,end:w,size:R},{position:le.x,padding:{start:pe.left,end:pe.right},adjust:ve,borderWidth:$e,size:j.width})}function Yi(q,j,le,pe){const{y:T,y2:w,height:R,options:V}=q,{yAdjust:ve,borderWidth:$e}=V.label;return Ai({start:T,end:w,size:R},{position:le.y,padding:{start:pe.top,end:pe.bottom},adjust:ve,borderWidth:$e,size:j.height})}function Ai(q,j){const{start:le,end:pe}=q,{position:T,padding:{start:w,end:R},adjust:V,borderWidth:ve}=j;return le+ve/2+V+w+st(pe-ve-le-w-R-j.size,T)}Li.id="boxAnnotation",Li.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"},Li.defaultRoutes={borderColor:"color",backgroundColor:"color"},Li.descriptors={label:{_fallback:!0}};const Ts=(q,j,le)=>({x:q.x+le*(j.x-q.x),y:q.y+le*(j.y-q.y)}),ss=(q,j,le)=>Ts(j,le,Math.abs((q-j.y)/(le.y-j.y))).x,Cs=(q,j,le)=>Ts(j,le,Math.abs((q-j.x)/(le.x-j.x))).y,ms=q=>q*q,Ls=.001;function Xs({x:q,y:j,x2:le,y2:pe},{top:T,right:w,bottom:R,left:V}){return!(qw&&le>w||jR&&pe>R)}function Yr({x:q,y:j},le,{top:pe,right:T,bottom:w,left:R}){return qT&&(j=Cs(T,{x:q,y:j},le),q=T),jw&&(q=ss(w,{x:q,y:j},le),j=w),{x:q,y:j}}let la=(()=>{class q extends a.Hg{intersects(le,pe,T=Ls,w){const{x:R,y:V,x2:ve,y2:$e}=this.getProps(["x","y","x2","y2"],w),vt=ve-R,Rt=$e-V,wn=ms(vt)+ms(Rt),Vn=0===wn?-1:((le-R)*vt+(pe-V)*Rt)/wn;let $o,Xo;return Vn<0?($o=R,Xo=V):Vn>1?($o=ve,Xo=$e):($o=R+Vn*vt,Xo=V+Vn*Rt),ms(le-$o)+ms(pe-Xo)<=T}labelIsVisible(le,pe){const T=this.options.label;return!(!T||!T.enabled)&&(!pe||Xs(this.getProps(["x","y","x2","y2"],le),pe))}isOnLabel(le,pe,T){if(!this.labelIsVisible(T))return!1;const{labelX:w,labelY:R,labelWidth:V,labelHeight:ve,labelRotation:$e}=this.getProps(["labelX","labelY","labelWidth","labelHeight","labelRotation"],T),{x:vt,y:Rt}=At({x:le,y:pe},{x:w,y:R},-$e),wn=this.options.label.borderWidth/2||0,Vn=V/2+wn,$o=ve/2+wn;return vt>=w-Vn-Ls&&vt<=w+Vn+Ls&&Rt>=R-$o-Ls&&Rt<=R+$o+Ls}inRange(le,pe,T){const w=ms(this.options.borderWidth/2);return this.intersects(le,pe,w,T)||this.isOnLabel(le,pe,T)}getCenterPoint(){return{x:(this.x2+this.x)/2,y:(this.y2+this.y)/2}}draw(le){const{x:pe,y:T,x2:w,y2:R,options:V}=this;if(le.save(),!Ti(le,V))return le.restore();dr(le,V);const ve=Math.atan2(R-T,w-pe),$e=Math.sqrt(Math.pow(w-pe,2)+Math.pow(R-T,2)),{startOpts:vt,endOpts:Rt,startAdjust:wn,endAdjust:Vn}=function ua(q){const j=q.options,le=j.arrowHeads&&j.arrowHeads.start,pe=j.arrowHeads&&j.arrowHeads.end;return{startOpts:le,endOpts:pe,startAdjust:Na(q,le),endAdjust:Na(q,pe)}}(this);le.translate(pe,T),le.rotate(ve),le.beginPath(),le.moveTo(0+wn,0),le.lineTo($e-Vn,0),le.shadowColor=V.borderShadowColor,le.stroke(),Za(le,0,wn,vt),Za(le,$e,-Vn,Rt),le.restore()}drawLabel(le,pe){if(!this.labelIsVisible(!1,pe))return;const{labelX:T,labelY:w,labelWidth:R,labelHeight:V,labelRotation:ve,labelPadding:$e,labelTextSize:vt,options:{label:Rt}}=this;le.save(),le.translate(T,w),le.rotate(ve),U(le,{x:-R/2,y:-V/2,width:R,height:V},Rt),Ce(le,{x:-R/2+$e.left+Rt.borderWidth/2,y:-V/2+$e.top+Rt.borderWidth/2,width:vt.width,height:vt.height},Rt),le.restore()}resolveElementProperties(le,pe){const T=le.scales[pe.scaleID];let $e,vt,{top:w,left:R,bottom:V,right:ve}=le.chartArea;if(T)$e=rn(T,pe.value,NaN),vt=rn(T,pe.endValue,$e),T.isHorizontal()?(R=$e,ve=vt):(w=$e,V=vt);else{const $o=le.scales[pe.xScaleID],Xo=le.scales[pe.yScaleID];$o&&(R=rn($o,pe.xMin,R),ve=rn($o,pe.xMax,ve)),Xo&&(w=rn(Xo,pe.yMin,w),V=rn(Xo,pe.yMax,V))}const wn=Xs({x:R,y:w,x2:ve,y2:V},le.chartArea)?function Sa(q,j,le){const{x:pe,y:T}=Yr(q,j,le),{x:w,y:R}=Yr(j,q,le);return{x:pe,y:T,x2:w,y2:R,width:Math.abs(w-pe),height:Math.abs(R-T)}}({x:R,y:w},{x:ve,y:V},le.chartArea):{x:R,y:w,x2:ve,y2:V,width:Math.abs(ve-R),height:Math.abs(V-w)},Vn=pe.label;return Vn&&Vn.content?function Ea(q,j,le){const{padding:pe,xPadding:T,yPadding:w,borderWidth:R}=le,V=function js(q,j,le){let pe=q;return(j||le)&&(pe={x:j||6,y:le||6}),(0,ee.Lv)(pe)}(pe,T,w),ve=hs(j.ctx,le),Rt=function gs(q,j,le,pe){const{width:T,height:w,padding:R}=le,{xAdjust:V,yAdjust:ve}=j,$e={x:q.x,y:q.y},vt={x:q.x2,y:q.y2},Rt="auto"===j.rotation?function Qs(q){const{x:j,y:le,x2:pe,y2:T}=q,w=Math.atan2(T-le,pe-j);return w>ee.PI/2?w-ee.PI:w0&&(T.w/2+w.left-pe.x)/R,V>0&&(T.h/2+w.top-pe.y)/V),0,.25)}function Aa(q,j){const{size:le,min:pe,max:T,padding:w}=j,R=le/2;return le>T-pe?(T+pe)/2:(pe>=q-w-R&&(q=pe+w+R),T<=q+w+R&&(q=T-w-R),q)}function Na(q,j){if(!j||!j.enabled)return 0;const{length:le,width:pe}=j,T=q.options.borderWidth/2;return Math.abs(ss(0,{x:le,y:pe+T},{x:0,y:T}))}function Za(q,j,le,pe){if(!pe||!pe.enabled)return;const{length:T,width:w,fill:R,backgroundColor:V,borderColor:ve}=pe,$e=Math.abs(j-T)+le;q.beginPath(),dr(q,pe),Ti(q,pe),q.moveTo($e,-w),q.lineTo(j+le,0),q.lineTo($e,w),!0===R?(q.fillStyle=V||ve,q.closePath(),q.fill(),q.shadowColor="transparent"):q.shadowColor=pe.borderShadowColor,q.stroke()}la.defaults={adjustScaleRange:!0,arrowHeads:{enabled:!1,end:Object.assign({},Ss),fill:!1,length:12,start:Object.assign({},Ss),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"},la.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},la.defaultRoutes={borderColor:"color"};class ca extends a.Hg{inRange(j,le,pe){return function Zs(q,j,le,pe){const{width:T,height:w}=j,R=j.getCenterPoint(!0),V=T/2,ve=w/2;if(V<=0||ve<=0)return!1;const $e=(0,ee.eh)(le||0),vt=pe/2||0,Rt=Math.cos($e),wn=Math.sin($e),Vn=Math.pow(Rt*(q.x-R.x)+wn*(q.y-R.y),2),$o=Math.pow(wn*(q.x-R.x)-Rt*(q.y-R.y),2);return Vn/Math.pow(V+vt,2)+$o/Math.pow(ve+vt,2)<=1.0001}({x:j,y:le},this.getProps(["width","height"],pe),this.options.rotation,this.options.borderWidth)}getCenterPoint(j){return dt(this.getProps(["x","y","width","height"],j))}draw(j){const{width:le,height:pe,options:T}=this,w=this.getCenterPoint();j.save(),Gr(j,this,T.rotation),dr(j,this.options),j.beginPath(),j.fillStyle=T.backgroundColor;const R=Ti(j,T);j.ellipse(w.x,w.y,pe/2,le/2,ee.PI/2,0,2*ee.PI),j.fill(),R&&(j.shadowColor=T.borderShadowColor,j.stroke()),j.restore()}resolveElementProperties(j,le){return _o(j,le)}}ca.id="ellipseAnnotation",ca.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"},ca.defaultRoutes={borderColor:"color",backgroundColor:"color"};class va extends a.Hg{inRange(j,le,pe){const{x:T,y:w}=At({x:j,y:le},this.getCenterPoint(pe),(0,ee.eh)(-this.options.rotation));return wo(T,w,this.getProps(["x","y","width","height"],pe),this.options.borderWidth)}getCenterPoint(j){return dt(this.getProps(["x","y","width","height"],j))}draw(j){if(!this.options.content)return;const{labelX:le,labelY:pe,labelWidth:T,labelHeight:w,options:R}=this;j.save(),Gr(j,this,R.rotation),function Ue(q,j){const{pointX:le,pointY:pe,calloutPosition:T,options:w}=j;if(!T||j.inRange(le,pe))return;const R=w.callout;if(q.save(),q.beginPath(),!Ti(q,R))return q.restore();const{separatorStart:ve,separatorEnd:$e}=function Qt(q,j){const{x:le,y:pe,width:T,height:w}=q,R=function Re(q,j){const{width:le,height:pe,options:T}=q,w=T.callout.margin+T.borderWidth/2;return"right"===j?le+w:"bottom"===j?pe+w:-w}(q,j);let V,ve;return"left"===j||"right"===j?(V={x:le+R,y:pe},ve={x:V.x,y:V.y+w}):(V={x:le,y:pe+R},ve={x:V.x+T,y:V.y}),{separatorStart:V,separatorEnd:ve}}(j,T),{sideStart:vt,sideEnd:Rt}=function Tt(q,j,le){const{y:pe,width:T,height:w,options:R}=q,V=R.callout.start,ve=function Dn(q,j){const le=j.side;return"left"===q||"top"===q?-le:le}(j,R.callout);let $e,vt;return"left"===j||"right"===j?($e={x:le.x,y:pe+jn(w,V)},vt={x:$e.x+ve,y:$e.y}):($e={x:le.x+jn(T,V),y:le.y},vt={x:$e.x,y:$e.y+ve}),{sideStart:$e,sideEnd:vt}}(j,T,ve);(R.margin>0||0===w.borderWidth)&&(q.moveTo(ve.x,ve.y),q.lineTo($e.x,$e.y)),q.moveTo(vt.x,vt.y),q.lineTo(Rt.x,Rt.y);const wn=At({x:le,y:pe},j.getCenterPoint(),(0,ee.eh)(-w.rotation));q.lineTo(wn.x,wn.y),q.stroke(),q.restore()}(j,this),U(j,this,R),Ce(j,{x:le,y:pe,width:T,height:w},R),j.restore()}resolveElementProperties(j,le){const pe=To(le)?Fn(j,le):dt(_o(j,le)),T=(0,ee.Lv)(le.padding),w=hs(j.ctx,le),R=function Ja(q,j,le,pe){const T=j.width+pe.width+le.borderWidth,w=j.height+pe.height+le.borderWidth,R=Lo(le.position);return{x:ae(q.x,T,le.xAdjust,R.x),y:ae(q.y,w,le.yAdjust,R.y),width:T,height:w}}(pe,w,le,T),V=le.borderWidth/2,ve={pointX:pe.x,pointY:pe.y,...R,labelX:R.x+T.left+V,labelY:R.y+T.top+V,labelWidth:w.width,labelHeight:w.height};return ve.calloutPosition=le.callout.enabled&&function Io(q,j,le){const pe=j.position;return"left"===pe||"right"===pe||"top"===pe||"bottom"===pe?pe:function nr(q,j,le){const{x:pe,y:T,width:w,height:R,pointX:V,pointY:ve}=q,$e={x:pe+w/2,y:T+R/2},vt=j.start,Rt=jn(w,vt),wn=jn(R,vt),Vn=[pe,pe+Rt,pe+Rt,pe+w],$o=[T+wn,T+R,T,T+wn],Xo=[];for(let qo=0;qo<4;qo++){const oi=At({x:Vn[qo],y:$o[qo]},$e,(0,ee.eh)(le));Xo.push({position:Qo[qo],distance:(0,ee.Lt)(oi,{x:V,y:ve})})}return Xo.sort((qo,oi)=>qo.distance-oi.distance)[0].position}(q,j,le)}(ve,le.callout,le.rotation),ve}}function ae(q,j,le=0,pe){return q-st(j,pe)+le}va.id="labelAnnotation",va.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},va.defaultRoutes={borderColor:"color"};const Qo=["left","bottom","top","right"];class Ir extends a.Hg{inRange(j,le,pe){const{width:T}=this.getProps(["width"],pe);return function jo(q,j,le,pe){if(!q||!j||le<=0)return!1;const T=pe/2||0;return Math.pow(q.x-j.x,2)+Math.pow(q.y-j.y,2)<=Math.pow(le+T,2)}({x:j,y:le},this.getCenterPoint(pe),T/2,this.options.borderWidth)}getCenterPoint(j){return ii(this,j)}draw(j){const le=this.options,pe=le.borderWidth;if(le.radius<.1)return;j.save(),j.fillStyle=le.backgroundColor,dr(j,le);const T=Ti(j,le);le.borderWidth=0,(0,ee.DE)(j,le,this.x,this.y),T&&!cr(le.pointStyle)&&(j.shadowColor=le.borderShadowColor,j.stroke()),j.restore(),le.borderWidth=pe}resolveElementProperties(j,le){return ti(j,le)}}Ir.id="pointAnnotation",Ir.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},Ir.defaultRoutes={borderColor:"color",backgroundColor:"color"};class gr extends a.Hg{inRange(j,le,pe){return this.options.radius>=.1&&this.elements.length>1&&function lr(q,j,le,pe){let T=!1,w=q[q.length-1].getProps(["bX","bY"],pe);for(const R of q){const V=R.getProps(["bX","bY"],pe);V.bY>le!=w.bY>le&&j<(w.bX-V.bX)*(le-V.bY)/(w.bY-V.bY)+V.bX&&(T=!T),w=V}return T}(this.elements,j,le,pe)}getCenterPoint(j){return ii(this,j)}draw(j){const{elements:le,options:pe}=this;j.save(),j.beginPath(),j.fillStyle=pe.backgroundColor,dr(j,pe);const T=Ti(j,pe);let w=!0;for(const R of le)w?(j.moveTo(R.x,R.y),w=!1):j.lineTo(R.x,R.y);j.closePath(),j.fill(),T&&(j.shadowColor=pe.borderShadowColor,j.stroke()),j.restore()}resolveElementProperties(j,le){const{x:pe,y:T,width:w,height:R}=ti(j,le),{sides:V,radius:ve,rotation:$e,borderWidth:vt}=le,Rt=vt/2,wn=[],Vn=2*ee.PI/V;let $o=$e*ee.tn;for(let Xo=0;Xo{a.NT.describe(`elements.${Br[q].id}`,{_fallback:"plugins.annotation"})});const $r={update:Object.assign};function zr(q="line"){return Br[q]?q:(console.warn(`Unknown annotation type: '${q}', defaulting to 'line'`),"line")}function Fr(q){return isNaN(q.x)||isNaN(q.y)}function Ei(q,{elements:j,initProperties:le},pe,T){const w=q.elements||(q.elements=[]);w.length=j.length;for(let R=0;R{const V=w[R];(0,ee.Gv)(V)&&(V.id=R,T.push(V))}):(0,ee.cy)(w)&&T.push(...w),function Et(q,j){for(const le of q)pn(le,j)}(T,q.scales)},afterDataLimits(q,j){const le=fs.get(q);!function ut(q,j,le){const pe=function nn(q,j){const le=q.axis,pe=q.id,T=le+"ScaleID",w={min:(0,ee.a4)(q.min,Number.NEGATIVE_INFINITY),max:(0,ee.a4)(q.max,Number.POSITIVE_INFINITY)};for(const R of j)R.scaleID===pe?on(R,q,["value","endValue"],w):R[T]===pe&&on(R,q,[le+"Min",le+"Max",le+"Value"],w);return w}(j,le);let T=Nt(j,pe,"min","suggestedMin");T=Nt(j,pe,"max","suggestedMax")||T,T&&"function"==typeof j.handleTickRangeOptions&&j.handleTickRangeOptions()}(0,j.scale,le.annotations.filter(pe=>pe.display&&pe.adjustScaleRange))},afterUpdate(q,j,le){const pe=fs.get(q);(function Y(q,j,le){j.listened=!1,j.moveListened=!1,N.forEach(pe=>{"function"==typeof le[pe]?(j.listened=!0,j.listeners[pe]=le[pe]):(0,ee.sw)(j.listeners[pe])&&delete j.listeners[pe]}),D.forEach(pe=>{"function"==typeof le[pe]&&(j.moveListened=!0)}),(!j.listened||!j.moveListened)&&j.annotations.forEach(pe=>{j.listened||oe.forEach(T=>{"function"==typeof pe[T]&&(j.listened=!0)}),j.moveListened||D.forEach(T=>{"function"==typeof pe[T]&&(j.listened=!0,j.moveListened=!0)})})})(0,pe,le),function ls(q,j,le,pe){const T=function Zo(q,j,le){return"reset"===le||"none"===le||"resize"===le?$r:new a.Qw(q,j)}(q,le.animations,pe),w=j.annotations,R=function da(q,j){const le=j.length,pe=q.length;return pele&&q.splice(le,pe-le),q}(j.elements,w);for(let V=0;V!T.skip&&T.options.display)},beforeDatasetsDraw(q,j,le){ws(q,"beforeDatasetsDraw",le.clip)},afterDatasetsDraw(q,j,le){ws(q,"afterDatasetsDraw",le.clip)},beforeDraw(q,j,le){ws(q,"beforeDraw",le.clip)},afterDraw(q,j,le){ws(q,"afterDraw",le.clip)},beforeEvent(q,j,le){!function xe(q,j,le){if(q.listened)switch(j.type){case"mousemove":case"mouseout":!function Ee(q,j){if(!q.moveListened)return;let le;"mousemove"===j.type&&(le=Ae(q.elements,j));const pe=q.hovered;q.hovered=le,function _e(q,j,le){const{previous:pe,element:T}=j;pe&&pe!==T&&Le(pe.options.leave||q.listeners.leave,pe,le),T&&T!==pe&&Le(T.options.enter||q.listeners.enter,T,le)}(q,{previous:pe,element:le},j)}(q,j);break;case"click":!function Ie(q,j,le){const pe=q.listeners,T=Ae(q.elements,j);if(T){const w=T.options,R=w.dblclick||pe.dblclick,V=w.click||pe.click;T.clickTimeout?(clearTimeout(T.clickTimeout),delete T.clickTimeout,Le(R,T,j)):R?T.clickTimeout=setTimeout(()=>{delete T.clickTimeout,Le(V,T,j)},le.dblClickSpeed):Le(V,T,j)}}(q,j,le)}}(fs.get(q),j.event,le)},destroy(q){fs.delete(q)},_getState:q=>fs.get(q),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:q=>!N.includes(q),annotations:{_allKeys:!1,_fallback:(q,j)=>`elements.${Br[zr(j.type)].id}`}},additionalOptionScopes:[""]};function ws(q,j,le){const{ctx:pe,chartArea:T}=q,{visibleElements:w}=fs.get(q);le&&(0,ee.uv)(pe,T),Is(pe,w,j),function ds(q,j,le){for(const pe of j)(0,ee.cy)(pe.elements)&&Is(q,pe.elements,le)}(pe,w,j),le&&(0,ee.$J)(pe),w.forEach(R=>{if(!("drawLabel"in R))return;const V=R.options.label;V&&V.enabled&&V.content&&(V.drawTime||R.options.drawTime)===j&&R.drawLabel(pe,T)})}function Is(q,j,le){for(const pe of j)pe.options.drawTime===le&&pe.draw(q)}var Js,us,cs=i(58258);const pa=["chartCanvas"],qs=["*"],wa="[_nghost-%COMP%] div[_ngcontent-%COMP%]{height:var(--kirby-chart-height, 300px);position:relative}",{getThemeColorHexString:$a}=l.A,Bs=$a("semi-dark"),Mi=[6,3],qa={line:{borderDash:Mi,borderWidth:1,borderColor:Bs},ellipse:{borderDash:Mi,borderWidth:1,borderColor:Bs,backgroundColor:"transparent"},box:{borderDash:Mi,borderWidth:1,borderColor:Bs,backgroundColor:"transparent"},point:{backgroundColor:"initial"}},Ma={onHover:(q,j,le,pe)=>{le.options.onClick&&(le.canvas.style.cursor=j[0]?"pointer":"default"),pe&&pe(q,j,le)}},{fontSize:I}=M.Q,{getThemeColorHexString:y,getThemeColorRgbString:f}=l.A,C=q=>q.dataset.data[q.dataIndex],P={bar:{type:"bar",options:{datasets:{bar:{barPercentage:.6},line:{spanGaps:!0}},indexAxis:"y",scales:{y:{grid:{drawBorder:!1},ticks:{font:{size:parseInt(I("s"))}}}},elements:{point:{radius:0},line:{borderColor:y("medium")}}}},column:{type:"bar",options:{datasets:{bar:{barPercentage:.6},line:{spanGaps:!0}},indexAxis:"x",scales:{x:{grid:{drawBorder:!1},ticks:{font:{size:parseInt(I("xs"))}}}},elements:{line:{tension:.2,borderColor:y("medium")},point:{radius:0}}}},line:{type:"line",options:{backgroundColor:f("semi-light",.5),scales:{x:{grid:{borderColor:y("medium"),borderWidth:1},ticks:{font:{size:parseInt(I("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:f("semi-light",.5),scales:{x:{grid:{lineWidth:0},ticks:{maxRotation:0,autoSkipPadding:120,font:{size:parseInt(I("xs"))}}},y:{position:"right",display:!0,grid:{drawBorder:!1},ticks:{display:!0,font:{size:parseInt(I("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:y("semi-light"),titleColor:y("semi-light-contrast"),bodyColor:y("semi-light-contrast"),caretSize:0,bodySpacing:5,titleSpacing:5,borderColor:"transparent",callbacks:{labelColor:q=>({backgroundColor:q.dataset.borderColor,borderColor:y("semi-light"),borderWidth:2})}},datalabels:{backgroundColor:q=>q.dataset.borderColor,color:y("white"),borderRadius:3,font:{lineHeight:1,size:parseInt(I("xs"))},padding:{top:6,left:5,right:5,bottom:5},offset:5,align:q=>C(q)?.datalabel.position,display:q=>!!C(q)?.datalabel,formatter:q=>q.datalabel.value}}}}};let B=(()=>{var q;class j{getTypeConfig(pe){return(0,d.A4)(P[pe])}getAnnotationDefaults(pe){return qa[pe]}chartTypeToChartJSType(pe){return P[pe].type}applyInteractionFunctionsExtensions(pe){const T=Ma;return Object.entries(T).forEach(([w])=>{const R=pe[w];pe[w]=(V,ve,$e)=>{T[w](V,ve,$e,R)}}),pe}getStockChartOptions(pe,T){return{locale:T,plugins:{tooltip:{callbacks:{title:w=>{const R=(0,p.a)(w[0]?.raw?.x);if(R.valueOf())return R.toLocaleTimeString(T,{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit"})},label:w=>" "+w.formattedValue+(pe.valueSuffix||"")}}},scales:{y:{ticks:{callback:w=>w+(pe.valueSuffix||"")}}}}}}return(q=j).\u0275fac=function(pe){return new(pe||q)},q.\u0275prov=e.jDH({token:q,factory:q.\u0275fac}),j})();class H{constructor(j){this.chartConfigService=j}applyDefaultsToAnnotations(j){return j.map(le=>{const pe=this.chartConfigService.getAnnotationDefaults(le.type);return(0,d.wF)(pe,le)})}createAnnotationPluginOptionsObject(j){return{plugins:{annotation:{annotations:this.applyDefaultsToAnnotations(j)}}}}getExistingChartAnnotations(j){const le=j.options.plugins?.annotation?.annotations;return void 0!==le?Object.keys(le).map(pe=>le[pe]):[]}}const{getThemeColorHexString:ne}=l.A,me=ne("primary"),Se=ne("secondary");function ft(q){const le=q.dataset?.kirbyOptions?.highlightedElements;return le&&le.includes(q.dataIndex)?me:Se}const hn={maintainAspectRatio:!1,color:ne("black"),resizeDelay:10,elements:{bar:{backgroundColor:ft,hoverBackgroundColor:function Ft(q){if(q.chart.options.onClick)return me}},line:{borderColor:ft,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}}},vn={line:{color:"black",width:1,dashPattern:[]},snap:{enabled:!1}},Sn=q=>q.data.datasets.some(j=>!!j?.kirbyOptions?.isStockChart),ho=[a.PP,a.kc,a.UA],Fo=[a.E8,a.No,a.FN],zo=[a.A6,a.ZT],ai=[Xi,a.dN,cs.A,a.m_,{id:"marker",afterInit:function(q){if(!Sn(q))return;const j=q.config.options.scales.x.type;"linear"!==j&&"time"!==j&&"category"!==j&&"logarithmic"!==j||(void 0===q.options.plugins.marker&&(q.options.plugins.marker=vn),q.marker={enabled:!1,suppressUpdate:!1,x:null,originalData:[],originalXRange:{},dragStarted:!1,dragStartX:null,dragEndX:null,suppressTooltips:!1,ignoreNextEvents:0})},getOption:function(q,j,le){return(0,ee.a4)(q.options.plugins.marker[j]?q.options.plugins.marker[j][le]:void 0,vn[j][le])},getXScale:function(q){return q.data.datasets.length?q.scales[q.getDatasetMeta(0).xAxisID]:null},getYScale:function(q){return q.scales[q.getDatasetMeta(0).yAxisID]},afterEvent:function(q,j){if(!Sn(q)||0==q.config.options.scales.x.length)return;const le=j.event,pe=q.config.options.scales.x.type;if("linear"!==pe&&"time"!==pe&&"category"!==pe&&"logarithmic"!==pe)return;const T=this.getXScale(q);if(T){if(q.marker.ignoreNextEvents>0)return void(q.marker.ignoreNextEvents-=1);if(q.marker.enabled="mouseout"!==le.type&&le.x>T.getPixelForValue(T.min)&&le.xT.getPixelForValue(T.max)&&(q.marker.suppressUpdate=!0,q.update("none")),q.marker.dragStarted=!1,!1;q.marker.suppressUpdate=!1,q.marker.x=le.x,q.draw()}},doDraw:function(q){if(Sn(q)&&q.marker.enabled)return this.drawTraceLine(q),this.interpolateValues(q),this.drawTracePoints(q),!0},beforeDraw:function(q){return this.doDraw(q)},drawTraceLine:function(q){if(!Sn(q))return;const j=this.getYScale(q),le=this.getOption(q,"line","width"),pe=this.getOption(q,"line","color"),T=this.getOption(q,"line","dashPattern"),w=this.getOption(q,"snap","enabled");let R=q.marker.x;w&&q._active.length&&(R=q._active[0].element.x),q.ctx.beginPath(),q.ctx.setLineDash(T),q.ctx.moveTo(R,j.getPixelForValue(j.max)),q.ctx.lineWidth=le,q.ctx.strokeStyle=pe,q.ctx.lineTo(R,j.getPixelForValue(j.min)),q.ctx.stroke(),q.ctx.setLineDash([])},drawTracePoints:function(q){if(Sn(q))for(let j=0;j=w}),ve=R[V-1],$e=R[V];le.interpolatedValue=q.data.datasets[j].steppedLine&&ve?ve.y:ve&&$e?ve.y+($e.y-ve.y)/($e.x-ve.x)*(w-ve.x):NaN}}}].map(q=>q?.__esModule?q.default:q);a.t1.register(a.s$,...ho,...Fo,...zo,...ai);const W=(0,d.wF)(a.t1.defaults,hn);Object.entries(hn).forEach(([q])=>{a.t1.defaults[q]=W[q]});let te=(()=>{var q;class j{constructor(pe){this.chartConfigService=pe,this.annotationsDelegate=new H(pe)}renderChart(pe){const{targetElement:T,type:w,data:R,labels:V,customOptions:ve,annotations:$e,highlightedElements:vt}=pe;this.highlightedElements=vt||null,this.chartType=w;const Rt=this.createDatasets(R),wn=this.createOptionsObject({customOptions:ve,annotations:$e}),Vn=this.createConfigurationObject(w,Rt,wn,V);this.initializeNewChart(T.nativeElement,Vn)}redrawChart(){this.chart.update()}destroyChart(){this.chart?.destroy()}updateData(pe){const T=this.createDatasets(pe);this.chart.data.datasets=T}updateLabels(pe){this.chart.data.labels=pe}updateType(pe,T){"bar"===pe||"column"===pe?this.destructivelyUpdateType(pe,T):this.nonDestructivelyUpdateType(pe,T)}updateOptions(pe,T){const w=this.annotationsDelegate.getExistingChartAnnotations(this.chart);this.chartType=T,this.chart.options=this.createOptionsObject({customOptions:pe,annotations:w})}updateAnnotations(pe){const T=this.annotationsDelegate.applyDefaultsToAnnotations(pe);this.chart.options.plugins.annotation.annotations=T}updateHighlightedElements(pe){this.highlightedElements=pe;const T=this.chart.data.datasets;T.map(w=>{w?.kirbyOptions?.highlightedElements&&delete w.kirbyOptions.highlightedElements}),this.chart.data.datasets=this.createDatasets(T)}createOptionsObject(pe){const{customOptions:T,annotations:w}=pe,V=this.chartConfigService.getTypeConfig(this.chartType)?.options,ve=w?this.annotationsDelegate.createAnnotationPluginOptionsObject(w):{},$e=(0,d.wF)(V,T,ve);return this.chartConfigService.applyInteractionFunctionsExtensions($e)}getDefaultLabels(pe){const T=pe.reduce((w,R)=>w.data.length>R.data.length?w:R);return Array(T.data.length).fill("")}createConfigurationObject(pe,T,w,R){const V=this.chartConfigService.getTypeConfig(pe),$e=this.getLabelsToApply({labels:R,datasets:T,type:pe,indexAxis:V?.options?.indexAxis??"x"});return(0,d.wF)(V,{data:{labels:$e,datasets:T},options:w})}createDatasets(pe){const T=function ha(q){return Array.isArray(q)&&q.every(j=>"number"==typeof j)}(pe)?[{data:pe}]:pe;return this.highlightedElements&&this.addHighlightedElementsToDatasets(this.highlightedElements,T),T}destructivelyUpdateType(pe,T){const w=this.chart.data.datasets,R=this.chart.data.labels,V=this.annotationsDelegate.getExistingChartAnnotations(this.chart);this.chartType=pe;const ve=this.createOptionsObject({customOptions:T,annotations:V}),$e=this.createConfigurationObject(pe,w,ve,R),vt=this.chart.canvas;this.chart.destroy(),this.initializeNewChart(vt,$e)}nonDestructivelyUpdateType(pe,T){const w=this.annotationsDelegate.getExistingChartAnnotations(this.chart);this.chartType=pe;const R=this.createOptionsObject({customOptions:T,annotations:w});this.chart.options=R,(0,d.bg)(this.chart.config)&&(this.chart.config.type=this.chartConfigService.chartTypeToChartJSType(pe))}initializeNewChart(pe,T){this.chart=new a.t1(pe,T)}addHighlightedElementsToDatasets(pe,T){pe.forEach(([w,R])=>{const V=T[w];V&&(V?.kirbyOptions?.highlightedElements?V.kirbyOptions.highlightedElements.push(R):V.kirbyOptions={...V.kirbyOptions,highlightedElements:[R]})})}getLabelsToApply(pe){const{datasets:T,labels:w,indexAxis:R}=pe,ve=void 0!==w,$e=T.some(({data:vt})=>!!vt?.some(Rt=>"object"==typeof Rt&&"string"==typeof Rt[R]));return ve?w:$e?null:this.getDefaultLabels(T)}}return(q=j).\u0275fac=function(pe){return new(pe||q)(e.KVO(B))},q.\u0275prov=e.jDH({token:q,factory:q.\u0275fac}),j})(),Oe=(()=>{var q;class j{set height(pe){this._height="number"==typeof pe?`${pe}px`:pe}constructor(pe){this.chartJSService=pe,this.chartHasBeenRendered=!1}ngAfterViewInit(){this.whenElementHasHeightAndWidth(this.canvasElement.nativeElement).then(()=>this.renderChart())}whenElementHasHeightAndWidth(pe){const T=({width:w,height:R})=>R>0&&w>0;return new Promise(w=>{const R=pe.getBoundingClientRect();T(R)&&w();const V=(new t.tN).create(([ve])=>{T(ve.contentRect)&&(V.unobserve(pe),w())});V.observe(pe)})}ngOnChanges(pe){if(this.chartHasBeenRendered){let T=!1;const w={data:()=>this.updateData(),labels:()=>this.updateLabels(),type:()=>this.updateType(),customOptions:()=>this.updateCustomOptions(),annotations:()=>this.updateAnnotations(),highlightedElements:()=>this.updateHighlightedElements()};Object.entries(pe).forEach(([R])=>{pe[R].firstChange||!w[R]||(T=!0,w[R]())}),T&&this.redrawChart()}}renderChart(pe){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,...pe})}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()}}return(q=j).\u0275fac=function(pe){return new(pe||q)(e.rXU(te))},q.\u0275cmp=e.VBU({type:q,selectors:[["kirby-base-chart"]],viewQuery:function(pe,T){if(1&pe&&e.GBs(pa,5),2&pe){let w;e.mGM(w=e.lsd())&&(T.canvasElement=w.first)}},hostVars:2,hostBindings:function(pe,T){2&pe&&e.xc7("--kirby-chart-height",T._height)},inputs:{type:"type",data:"data",labels:"labels",customOptions:"customOptions",annotations:"annotations",highlightedElements:"highlightedElements",height:"height"},features:[e.OA$],ngContentSelectors:qs,decls:4,vars:0,consts:[["chartCanvas",""],[1,"chart-container"]],template:function(pe,T){1&pe&&(e.NAR(),e.j41(0,"div",1)(1,"canvas",null,0),e.SdG(3),e.k0s()())},styles:["[_nghost-%COMP%] div[_ngcontent-%COMP%]{height:var(--kirby-chart-height, 300px);position:relative}"]}),j})(),bt=(()=>{var q;class j extends Oe{constructor(){super(...arguments),this.type="column"}}return(q=j).\u0275fac=(()=>{let le;return function(T){return(le||(le=e.xGo(q)))(T||q)}})(),q.\u0275cmp=e.VBU({type:q,selectors:[["kirby-chart"]],inputs:{type:"type"},features:[e.Jv_([te]),e.Vt3],ngContentSelectors:qs,decls:4,vars:0,consts:[["chartCanvas",""],[1,"chart-container"]],template:function(pe,T){1&pe&&(e.NAR(),e.j41(0,"div",1)(1,"canvas",null,0),e.SdG(3),e.k0s()())},styles:[wa]}),j})(),wt=(()=>{var q;class j extends te{constructor(){super(...arguments),this.chartType="stock"}renderChart(pe){const{dataLabelOptions:T,...w}=pe;this.dataLabelOptions=T||null,super.renderChart(w)}get locale(){return this.dataLabelOptions?.locale||j.STOCK_CHART_LOCALE_DEFAULT}getDefaultLabels(pe){return pe.reduce((w,R)=>w.data.length>R.data.length?w:R).data.map(w=>(0,p.a)(w.x).toLocaleDateString(this.locale,{month:"short",day:"numeric"}))}createOptionsObject(pe){const T=super.createOptionsObject(pe),w=this.chartConfigService.getStockChartOptions(this.dataLabelOptions,this.locale);return(0,d.wF)(w,T)}createDatasets(pe){let T=super.createDatasets(pe);return(this.dataLabelOptions?.showCurrent||this.dataLabelOptions?.showMax||this.dataLabelOptions?.showMin)&&(T=this.addDataLabelsData(T)),T.map(w=>({...w,kirbyOptions:{...w.kirbyOptions,isStockChart:!0}}))}addDataLabelsData(pe){const T=(w,R,V,ve)=>{const{value:$e,pointer:vt}=this.locateValueIndexInDataset(w,R,V);w.data[vt]={...w.data[vt],datalabel:{value:$e+(this.dataLabelOptions.valueSuffix||""),position:ve}}};return pe.map(w=>{this.dataLabelOptions.showMin&&T(w,"y","low","bottom"),this.dataLabelOptions.showMax&&T(w,"y","high","top"),this.dataLabelOptions.showCurrent&&T(w,"x","high","right")}),pe}locateValueIndexInDataset(pe,T,w){let R,V;return pe.data.forEach((ve,$e)=>{"low"==w&&(!V||ve[T]V)&&(V=ve.y,R=$e)}),{value:V,pointer:R}}}return(q=j).STOCK_CHART_LOCALE_DEFAULT="en-US",q.\u0275fac=(()=>{let le;return function(T){return(le||(le=e.xGo(q)))(T||q)}})(),q.\u0275prov=e.jDH({token:q,factory:q.\u0275fac}),j})(),zn=(()=>{var q;class j extends Oe{constructor(){super(...arguments),this.type="stock"}renderChart(){super.renderChart({dataLabelOptions:this.dataLabelOptions})}}return(q=j).\u0275fac=(()=>{let le;return function(T){return(le||(le=e.xGo(q)))(T||q)}})(),q.\u0275cmp=e.VBU({type:q,selectors:[["kirby-stock-chart"]],inputs:{dataLabelOptions:"dataLabelOptions"},features:[e.Jv_([{provide:te,useClass:wt}]),e.Vt3],ngContentSelectors:qs,decls:4,vars:0,consts:[["chartCanvas",""],[1,"chart-container"]],template:function(pe,T){1&pe&&(e.NAR(),e.j41(0,"div",1)(1,"canvas",null,0),e.SdG(3),e.k0s()())},styles:[wa]}),j})(),lo=(()=>{var q;class j{}return(q=j).\u0275fac=function(pe){return new(pe||q)},q.\u0275mod=e.$C({type:q}),q.\u0275inj=e.G2t({providers:[B]}),j})(),no=(()=>{class j{}return j.registerPlugins=()=>{},j})();const{getThemeColorHexString:vi}=l.A;class di extends no{}(Js=di).BAR_CHART_LOCALE_DEFAULT="en-US",Js.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:vi("medium")}}}};const{getThemeColorHexString:Ri}=l.A,{fontSize:or}=M.Q,bs=(q,j)=>{const le=q.map(V=>V.y),pe=Math.min(...le);if(j===le.indexOf(pe))return"bottom";const w=Math.max(...le);return j===le.indexOf(w)?"top":null},ma={backgroundColor:"#005c3c",color:Ri("white"),borderRadius:3,font:{lineHeight:1,size:parseInt(or("xs"))},padding:{top:6,left:5,right:5,bottom:5},offset:5,align:q=>bs(q.dataset.data,q.dataIndex),display:q=>function As(q){const le=[...q.dataset.data].map(V=>V.y),pe=Math.min(...le),T=le.indexOf(pe),w=Math.max(...le),R=le.indexOf(w);return q.dataIndex===R||q.dataIndex===T}(q),formatter:q=>q.y.toString()},Ns="verticalLine",fa={id:Ns,drawTime:"beforeDraw",defaults:{width:1,color:"black"},afterInit:q=>{q[Ns]={x:0,y:0}},afterEvent:(q,j)=>{const{inChartArea:le}=j,{x:pe,y:T}=j.event;q[Ns]={x:pe,y:T,draw:le},q.draw()},beforeDraw:(q,j,le)=>{const{ctx:pe}=q,{top:T,bottom:w}=q.chartArea,{x:R,draw:V}=q[Ns];V&&(pe.save(),pe.beginPath(),pe.lineWidth=le.width,pe.strokeStyle=le.color,pe.moveTo(R,w),pe.lineTo(R,T),pe.stroke(),pe.restore())}},{getThemeColorHexString:ea,getThemeColorRgbString:Ul}=l.A,{fontSize:dl}=M.Q;class La extends no{static registerPlugins(){La.pluginsRegistered||(this.registeredElements.forEach(j=>{a.t1.register(j)}),La.pluginsRegistered=!0)}}(us=La).STOCK_CHART_LOCALE_DEFAULT="en-US",us.scales=[a.PP,a.kc,a.UA],us.elements=[a.E8,a.No,a.FN],us.controllers=[a.A6,a.ZT],us.plugins=[Xi,a.dN,a.m_],us.registeredElements=[...us.scales,...us.controllers,...us.elements,...us.plugins],us.pluginsRegistered=!1,us.baseConfig={type:"line",data:{datasets:[]},options:{responsive:!0,animation:{duration:0},layout:{padding:{left:20,right:20,top:30,bottom:0}},backgroundColor:Ul("semi-light",.5),scales:{x:{adapters:{date:{locale:us.STOCK_CHART_LOCALE_DEFAULT}},grid:{lineWidth:0},ticks:{maxRotation:0,autoSkipPadding:120,font:{size:parseInt(dl("xs"))},callback(q){const j=parseInt(this.getLabelForValue(parseInt(q+"")));return nc(j,us.STOCK_CHART_LOCALE_DEFAULT)}}},y:{position:"right",display:!0,grid:{drawBorder:!1},ticks:{display:!0,font:{size:parseInt(dl("xs"))}}}},elements:{line:{tension:0,borderWidth:2},point:{hitRadius:20,radius:0,hoverRadius:0,hoverBorderWidth:0}},normalized:!0,plugins:{}}},us.tooltipPlugin={padding:10,enabled:!0,mode:"index",intersect:!1,backgroundColor:ea("semi-light"),titleColor:ea("semi-light-contrast"),bodyColor:ea("semi-light-contrast"),caretSize:0,bodySpacing:5,titleSpacing:5,borderColor:"transparent",callbacks:{title:q=>{const j=parseInt(q[0].label);return Da(j,us.STOCK_CHART_LOCALE_DEFAULT)},label:q=>q.parsed.y.toString(),labelColor:q=>({backgroundColor:q.dataset.borderColor,borderColor:ea("semi-light"),borderWidth:2})}},us.dataLabelsPluginConfig=ma,us.verticalLinePluginConfig=fa,us.getDataLabelPosition=bs;const nc=(q,j)=>new Date(q).toLocaleDateString(j,{day:"numeric",month:"short"}),Da=(q,j)=>new Date(q).toLocaleDateString(j,{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit"})},11235:(Ze,z,i)=>{"use strict";i.d(z,{P:()=>E});var e=i(60177),t=i(54438),l=i(84341),M=i(53715),d=i(51272),p=i(13339);const a=["*"];function _(u,O){if(1&u&&(t.j41(0,"span",4),t.EFF(1),t.k0s()),2&u){const A=t.XpG();t.R7$(),t.JRh(A._labelText)}}function v(u,O){if(1&u&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&u){const A=t.XpG();t.R7$(),t.JRh(A.text)}}let E=(()=>{var u;class O{get _isDisabled(){return this.disabled?"disabled":null}get isAttentionLevel1(){return"1"===this.attentionLevel}get isAttentionLevel2(){return"2"===this.attentionLevel}constructor($,K){this.element=$,this.ionicElementPartHelper=K,this.checked=!1,this.attentionLevel="2",this.size="md",this.hasError=!1,this.disabled=!1,this.checkedChange=new t.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,p.s0)(this.element.nativeElement),!this.text&&!this._labelText&&!this._hasSlottedContent&&(this._labelText=(0,p.TD)(this.element.nativeElement))}onChecked($){this.checked=$,this._onChange(this.checked),this.checkedChange.emit(this.checked)}onBlur(){this._onTouched()}writeValue($){this.checked=$}registerOnChange($){this._onChange=$}registerOnTouched($){this._onTouched=$}setDisabledState($){this.disabled=$}}return(u=O).\u0275fac=function($){return new($||u)(t.rXU(t.aKT),t.rXU(M.cO))},u.\u0275cmp=t.VBU({type:u,selectors:[["kirby-checkbox"]],viewQuery:function($,K){if(1&$&&t.GBs(d.eY,7,t.aKT),2&$){let X;t.mGM(X=t.lsd())&&(K.ionCheckboxElement=X.first)}},hostVars:11,hostBindings:function($,K){2&$&&(t.BMQ("disabled",K._isDisabled),t.HbH(K.size),t.AVh("error",K.hasError)("attention-level1",K.isAttentionLevel1)("attention-level2",K.isAttentionLevel2)("has-hidden-label",K._labelText))},inputs:{checked:"checked",attentionLevel:"attentionLevel",text:"text",size:"size",hasError:"hasError",disabled:"disabled"},outputs:{checkedChange:"checkedChange"},standalone:!0,features:[t.Jv_([M.cO,{provide:l.kq,useExisting:(0,t.Rfq)(()=>u),multi:!0}]),t.aNF],ngContentSelectors:a,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){1&$&&(t.NAR(),t.j41(0,"ion-checkbox",0),t.bIt("ionChange",function(J){return K.onChecked(J.detail.checked)})("ionBlur",function(){return K.onBlur()}),t.DNE(1,_,2,1,"span",1)(2,v,2,1,"span",2),t.j41(3,"span",3),t.SdG(4),t.k0s()()),2&$&&(t.Y8G("checked",K.checked)("disabled",K.disabled)("labelPlacement",K._labelPlacement)("justify",K._justify),t.R7$(),t.Y8G("ngIf",K._labelText),t.R7$(),t.Y8G("ngIf",K.text))},dependencies:[e.MD,e.bT,d.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;z-index:1}}@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}),O})()},11723:(Ze,z,i)=>{"use strict";i.d(z,{K:()=>O});var e=i(54438),t=i(60177),l=i(35043);const M=["span"],d=["sortable",""],p=["*"];function a($,K){1&$&&e.eu8(0)}function _($,K){if(1&$&&(e.qex(0),e.DNE(1,a,1,0,"ng-container",4),e.bVm()),2&$){e.XpG();const X=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",X)}}function v($,K){1&$&&e.eu8(0)}function E($,K){if(1&$&&(e.j41(0,"button",5)(1,"span",null,2),e.DNE(3,v,1,0,"ng-container",4),e.k0s(),e.nrm(4,"kirby-icon",6),e.k0s()),2&$){const X=e.XpG(),J=e.sdS(4);e.Y8G("ngClass",X._getAlignmentClasses()),e.R7$(3),e.Y8G("ngTemplateOutlet",J),e.R7$(),e.Y8G("name","asc"===X.sortDirection?"arrow-up-fill":"arrow-down-fill")}}function u($,K){1&$&&e.SdG(0)}let O=(()=>{var $;class K{constructor(J){this.renderer=J,this.sortable=!1,this.active=!1,this.sortDirection="asc",this.iconAlignment="end",this.alignment="start"}get isActive(){return this.sortable&&this.active}_getAlignmentClasses(){const J=[];return"start"===this.iconAlignment&&J.push("row-reverse"),J.push(`align-${this.alignment}`),J}ngAfterViewInit(){this.spanElement&&this.renderer.setAttribute(this.spanElement.nativeElement,"data-text",this.spanElement.nativeElement.textContent)}}return($=K).\u0275fac=function(J){return new(J||$)(e.rXU(e.sFG))},$.\u0275cmp=e.VBU({type:$,selectors:[["th","sortable",""]],viewQuery:function(J,G){if(1&J&&e.GBs(M,5),2&J){let fe;e.mGM(fe=e.lsd())&&(G.spanElement=fe.first)}},hostVars:4,hostBindings:function(J,G){2&J&&e.AVh("sortable",G.sortable)("active",G.isActive)},inputs:{sortable:"sortable",active:"active",sortDirection:"sortDirection",iconAlignment:"iconAlignment",alignment:"alignment"},standalone:!0,features:[e.aNF],attrs:d,ngContentSelectors:p,decls:5,vars:2,consts:[["sortableTemplate",""],["contentTemplate",""],["span",""],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"ngClass"],[3,"name"]],template:function(J,G){if(1&J&&(e.NAR(),e.DNE(0,_,2,1,"ng-container",3)(1,E,5,3,"ng-template",null,0,e.C5r)(3,u,1,0,"ng-template",null,1,e.C5r)),2&J){const fe=e.sdS(2);e.Y8G("ngIf",!G.sortable)("ngIfElse",fe)}},dependencies:[t.MD,t.YU,t.bT,t.T3,l.op,l.Rl],encapsulation:2,changeDetection:0}),K})()},32667:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>l});var e=i(60177),t=i(54438);let l=(()=>{var M;class d{}return(M=d).\u0275fac=function(a){return new(a||M)},M.\u0275cmp=t.VBU({type:M,selectors:[["kirby-divider"]],inputs:{hasMargin:"hasMargin"},standalone:!0,features:[t.aNF],decls:1,vars:2,template:function(a,_){1&a&&t.nrm(0,"hr"),2&a&&t.AVh("no-margin",!_.hasMargin)},dependencies:[e.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}),d})()},41727:(Ze,z,i)=>{"use strict";i.d(z,{Ps:()=>je,Vl:()=>Ne,kr:()=>pt});var e=i(54438),t=i(84341),l=i(98990),M=i(19402),d=i(81365),p=i(29756),a=i(90351),_=i(47008),v=i(13339),E=i(35043),u=i(60177),O=i(56297);const A=(Ye,St,mt,at)=>({$implicit:Ye,selected:St,focused:mt,index:at});function $(Ye,St){1&Ye&&e.eu8(0)}function K(Ye,St){1&Ye&&e.eu8(0)}function X(Ye,St){if(1&Ye){const mt=e.RV6();e.j41(0,"kirby-popover",7),e.bIt("click",function(){e.eBV(mt);const Ge=e.XpG();return e.Njj(Ge._onPopoverClick())})("willHide",function(){e.eBV(mt);const Ge=e.XpG();return e.Njj(Ge._onPopoverWillHide())}),e.DNE(1,K,1,0,"ng-container",6),e.k0s()}if(2&Ye){const mt=e.XpG(),at=e.sdS(8);e.Y8G("target",mt.buttonElement)("popout",mt.popout),e.R7$(),e.Y8G("ngTemplateOutlet",at)}}function J(Ye,St){1&Ye&&e.eu8(0)}function G(Ye,St){if(1&Ye&&(e.qex(0),e.DNE(1,J,1,0,"ng-container",9),e.bVm()),2&Ye){const mt=St.$implicit,at=St.index,Ge=e.XpG(2),gt=e.sdS(10);e.R7$(),e.Y8G("ngTemplateOutlet",Ge.itemTemplate||gt)("ngTemplateOutletContext",e.ziG(2,A,mt,at===Ge.selectedIndex,at===Ge.focusedIndex,at))}}function fe(Ye,St){if(1&Ye&&(e.j41(0,"kirby-card"),e.DNE(1,G,2,7,"ng-container",8),e.k0s()),2&Ye){const mt=e.XpG();e.R7$(),e.Y8G("ngForOf",mt.items)}}function he(Ye,St){1&Ye&&e.nrm(0,"kirby-icon",13)}function Me(Ye,St){if(1&Ye){const mt=e.RV6();e.j41(0,"kirby-item",10),e.bIt("click",function(){const Ge=e.eBV(mt).index,gt=e.XpG();return e.Njj(gt.onItemSelect(Ge))}),e.j41(1,"h3",11),e.EFF(2),e.k0s(),e.DNE(3,he,1,0,"kirby-icon",12),e.k0s()}if(2&Ye){const mt=St.$implicit,at=St.selected,Ge=St.focused,gt=e.XpG();e.AVh("focused",Ge),e.Y8G("selectable",!0)("selected",at),e.R7$(2),e.JRh(gt.getTextFromItem(mt)),e.R7$(),e.Y8G("ngIf",at)}}var ke=function(Ye){return Ye[Ye.closed=0]="closed",Ye[Ye.opening=1]="opening",Ye[Ye.open=2]="open",Ye}(ke||{}),be=function(Ye){return Ye[Ye.up=0]="up",Ye[Ye.down=1]="down",Ye}(be||{});let Ne=(()=>{var Ye;class St{handle(at,Ge,gt,mn=!1){let _t=-1;switch(at.key){case"ArrowUp":case"ArrowLeft":_t=0===Ge&&mn?gt:Ge-1;break;case"ArrowDown":case"ArrowRight":void 0===Ge||Ge===gt&&mn?_t=0:Ge{var Ye;class St{get items(){return this._items}set items(at){this._items=at,this._value=this.items[this.selectedIndex]||null}get selectedIndex(){return this._selectedIndex}set selectedIndex(at){this._selectedIndex!=at&&(this._selectedIndex=at,this.focusedIndex=this._selectedIndex,this._value=this.items[this.selectedIndex]||null)}get focusedIndex(){return this._focusedIndex}set focusedIndex(at){this._focusedIndex!==at&&(this._focusedIndex=at,this.scrollItemIntoView(this._focusedIndex))}set popout(at){this.horizontalDirection=at||a.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===a.I.left}get _popoutUp(){return this.verticalDirection===be.up}set kirbyItemsSlotted(at){this.itemClickUnlisten?.length>0&&this.unlistenAllSlottedItems(),at.forEach((gt,mn)=>{this.renderer.setAttribute(gt.nativeElement,"role","option");const _t=this.renderer.listen(gt.nativeElement,"click",()=>{this.onItemSelect(mn)});this.itemClickUnlisten.push(_t)}),this._kirbyItemsSlotted=at}get kirbyItemsSlotted(){return this._kirbyItemsSlotted}constructor(at,Ge,gt,mn,_t){this.renderer=at,this.elementRef=Ge,this.changeDetectorRef=gt,this.keyboardHandlerService=mn,this.resizeObserverService=_t,this.state=ke.closed,this.horizontalDirection=a.I.right,this.verticalDirection=be.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 e.bkB,this._value=null,this._role="listbox",this.clicked=!1,this.itemClickUnlisten=[],this._onChange=()=>{},this._onTouched=()=>{}}onToggle(at){at.stopPropagation(),this.clicked=!0,this.isOpen||this.elementRef.nativeElement.focus(),this.toggle()}toggle(){this.disabled||(this.isOpen?this.close():this.open())}onButtonMouseEvent(at){at.preventDefault()}setPopoverCardStyle(at,Ge){this.usePopover&&this.renderer.setStyle(this.cardElement.nativeElement,at,Ge,e.czy.DashCase)}ngAfterViewInit(){if(this.usePopover&&"block"===this.expand){const{width:at}=this.elementRef.nativeElement.getBoundingClientRect();this.setPopoverCardStyle("max-width","initial"),this.setPopoverCardStyle("min-width","initial"),this.setPopoverCardStyle("--kirby-card-width",`${at}px`),this.resizeObserverService.observe(this.elementRef,Ge=>{const gt=Ge.contentRect.width;gt>0&&this.setPopoverCardStyle("--kirby-card-width",`${gt}px`)})}this.initializeAlignment()}initializeAlignment(){if(!this.usePopover&&!this.intersectionObserverRef){const Ge={rootMargin:M.Q.size("md"===this.size?"xl":"l")};this.intersectionObserverRef=new IntersectionObserver(mn=>{if(this.state!==ke.opening)return;clearTimeout(this.showDropdownTimeoutId);const _t=mn[0];_t.boundingClientRect.width>0&&_t.intersectionRatio<1&&(this.setHorizontalDirection(_t),this.setVerticalDirection(_t)),this.showDropdown(),this.changeDetectorRef.detectChanges()},Ge),this.intersectionObserverRef.observe(this.cardElement.nativeElement)}}setHorizontalDirection(at){this.horizontalDirection===a.I.right?at.boundingClientRect.right>at.rootBounds.right&&(this.horizontalDirection=a.I.left):at.boundingClientRect.leftat.rootBounds.bottom&&this.elementRef.nativeElement.getBoundingClientRect().top>at.target.clientHeight+5&&(this.verticalDirection=be.up)}open(){this.disabled||this.isOpen||(this.state=ke.opening,this.showDropdownTimeoutId=setTimeout(()=>this.showDropdown(),St.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=be.down,this.popover?.hide())}onItemSelect(at){this.selectItem(at),this.close()}writeValue(at){this._selectItemByValue(at)}registerOnChange(at){this._onChange=at}registerOnTouched(at){this._onTouched=at}setDisabledState(at){this.disabled=at}selectItem(at){at!=this.selectedIndex&&(this.selectedIndex=at,this.focusedIndex=at,this.change.emit(this.value),this._onChange(this.value))}_selectItemByValue(at){this.selectedIndex=this.items.indexOf(at)}getTextFromItem(at){return at?"string"==typeof at?at:at[this.itemTextProperty]:null}scrollItemIntoView(at){const Ge=this.kirbyItemsSlotted&&this.kirbyItemsSlotted.length?this.kirbyItemsSlotted:this.kirbyItemsDefault;if(Ge&&Ge.length){const gt=Ge.toArray()[at];gt&>.nativeElement&>.nativeElement.scrollIntoView({block:"nearest"})}}_onTab(at){this.isOpen&&(at.preventDefault(),this.close()),this.clicked&&(this.clicked=!1)}_onMouseDown(at){this.disabled&&(at.preventDefault(),at.stopImmediatePropagation())}_onTouchStart(at){this.isOpen&&at.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(at){at.preventDefault(),at.stopPropagation(),this.isOpen&&this.selectItem(this.focusedIndex),this.toggle()}_onArrowKeys(at){if(this.disabled||this.isOpen&&("ArrowLeft"===at.key||"ArrowRight"===at.key))return!1;if(!this.isOpen){if(at.preventDefault(),this.open(),this.selectedIndex<0)switch(at.key){case"ArrowUp":this.focusedIndex=this.items.length-1;break;case"ArrowDown":this.focusedIndex=0}return!1}const Ge=this.keyboardHandlerService.handle(at,this.focusedIndex,this.items.length-1);return Ge>-1&&(this.focusedIndex=Ge),!1}_onHomeEndKeys(at){if(this.disabled||!this.isOpen)return;const Ge=this.keyboardHandlerService.handle(at,this.focusedIndex,this.items.length-1);return Ge>-1&&(this.focusedIndex=Ge),!1}unlistenAllSlottedItems(){let at;for(;void 0!==(at=this.itemClickUnlisten.pop());)at()}ngOnDestroy(){this.unlistenAllSlottedItems(),this.resizeObserverService.unobserve(this.elementRef),this.intersectionObserverRef&&this.intersectionObserverRef.disconnect()}}return(Ye=St).OPEN_DELAY_IN_MS=100,Ye.\u0275fac=function(at){return new(at||Ye)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(Ne),e.rXU(v.ke))},Ye.\u0275cmp=e.VBU({type:Ye,selectors:[["kirby-dropdown"]],contentQueries:function(at,Ge,gt){if(1&at&&(e.wni(gt,p.bx,7,e.C4Q),e.wni(gt,p.bx,4,e.aKT),e.wni(gt,d.JA,4,e.aKT)),2&at){let mn;e.mGM(mn=e.lsd())&&(Ge.itemTemplate=mn.first),e.mGM(mn=e.lsd())&&(Ge.slottedItems=mn),e.mGM(mn=e.lsd())&&(Ge.kirbyItemsSlotted=mn)}},viewQuery:function(at,Ge){if(1&at&&(e.GBs(l.ib,5,e.aKT),e.GBs(a.r,5),e.GBs(_.Q,7,e.aKT),e.GBs(d.JA,5,e.aKT)),2&at){let gt;e.mGM(gt=e.lsd())&&(Ge.cardElement=gt.first),e.mGM(gt=e.lsd())&&(Ge.popover=gt.first),e.mGM(gt=e.lsd())&&(Ge.buttonElement=gt.first),e.mGM(gt=e.lsd())&&(Ge.kirbyItemsDefault=gt)}},hostVars:20,hostBindings:function(at,Ge){1&at&&e.bIt("keydown.tab",function(mn){return Ge._onTab(mn)})("mousedown",function(mn){return Ge._onMouseDown(mn)})("touchstart",function(mn){return Ge._onTouchStart(mn)})("focus",function(){return Ge._onFocus()})("keydown.enter",function(mn){return Ge._onEnterOrSpace(mn)})("keydown.escape",function(){return Ge._onEnterOrEscape()})("blur",function(mn){return Ge._onBlur(mn)})("keydown.space",function(mn){return Ge._onEnterOrSpace(mn)})("keydown.arrowup",function(mn){return Ge._onArrowKeys(mn)})("keydown.arrowdown",function(mn){return Ge._onArrowKeys(mn)})("keydown.arrowleft",function(mn){return Ge._onArrowKeys(mn)})("keydown.arrowright",function(mn){return Ge._onArrowKeys(mn)})("keydown.home",function(mn){return Ge._onHomeEndKeys(mn)})("keydown.end",function(mn){return Ge._onHomeEndKeys(mn)}),2&at&&(e.BMQ("disabled",Ge._isDisabled)("tabindex",Ge._tabindex)("no-blur",Ge._noBlurOnScroll)("role",Ge._role),e.AVh("error",Ge.hasError)("with-popover",Ge.usePopover)("expand",Ge._isBlockLevel)("is-opening",Ge._isOpening)("is-open",Ge.isOpen)("popout-left",Ge._popoutLeft)("popout-up",Ge._popoutUp)("clicked",Ge.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"},features:[e.Jv_([{provide:t.kq,useExisting:(0,e.Rfq)(()=>Ye),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"],["name","checkmark-selected","slot","end",4,"ngIf"],["name","checkmark-selected","slot","end"]],template:function(at,Ge){if(1&at){const gt=e.RV6();e.j41(0,"button",3),e.bIt("click",function(_t){return e.eBV(gt),e.Njj(Ge.onToggle(_t))})("mousedown",function(_t){return e.eBV(gt),e.Njj(Ge.onButtonMouseEvent(_t))}),e.j41(1,"span",4),e.EFF(2),e.k0s(),e.nrm(3,"kirby-icon",5),e.k0s(),e.DNE(4,$,1,0,"ng-container",6)(5,X,2,3,"ng-template",null,0,e.C5r)(7,fe,2,1,"ng-template",null,1,e.C5r)(9,Me,4,6,"ng-template",null,2,e.C5r)}if(2&at){const gt=e.sdS(6),mn=e.sdS(8);e.Y8G("size",Ge.size)("attentionLevel",Ge.attentionLevel)("disabled",Ge.disabled),e.R7$(2),e.JRh(Ge.selectedText||Ge.placeholder),e.R7$(),e.Y8G("name",Ge.isOpen?"arrow-up":"arrow-down"),e.R7$(),e.Y8G("ngTemplateOutlet",Ge.usePopover?gt:mn)}},dependencies:[l.ib,E.Rl,d.JA,a.r,_.Q,u.Sq,u.bT,u.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;z-index:1}[_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;z-index:1}}[_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}"]}),St})(),pt=(()=>{var Ye;class St{}return(Ye=St).\u0275fac=function(at){return new(at||Ye)},Ye.\u0275mod=e.$C({type:Ye}),Ye.\u0275inj=e.G2t({providers:[Ne],imports:[l.Dw,E.op,d.kA,O.LT,a.r,_.Q,u.MD]}),St})()},49711:(Ze,z,i)=>{"use strict";i.d(z,{b:()=>u,o:()=>v});var e=i(54438),t=i(47008),l=i(35043),M=i(60177);const d=["*"];function p(O,A){if(1&O&&(e.j41(0,"div",4),e.nrm(1,"kirby-icon",5),e.k0s()),2&O){const $=e.XpG();e.R7$(),e.Y8G("name",$.iconName)}}function a(O,A){if(1&O&&(e.j41(0,"h3",6),e.EFF(1),e.k0s()),2&O){const $=e.XpG();e.R7$(),e.JRh($.title)}}function _(O,A){if(1&O&&(e.j41(0,"p",7),e.EFF(1),e.k0s()),2&O){const $=e.XpG();e.R7$(),e.JRh($.subtitle)}}let v=(()=>{var O;class A{ngAfterContentInit(){this.enforceAttentionLevelRules(),this.slottedButtons.changes.subscribe(()=>{setTimeout(()=>this.enforceAttentionLevelRules())})}enforceAttentionLevelRules(){this.slottedButtons.forEach((K,X)=>{0===X&&(void 0===K.attentionLevel||"1"===K.attentionLevel)||"3"!==K.attentionLevel&&(K.attentionLevel="3")})}}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275cmp=e.VBU({type:O,selectors:[["kirby-empty-state"]],contentQueries:function(K,X,J){if(1&K&&e.wni(J,t.Q,4),2&K){let G;e.mGM(G=e.lsd())&&(X.slottedButtons=G)}},inputs:{iconName:"iconName",title:"title",subtitle:"subtitle"},ngContentSelectors:d,decls:6,vars:3,consts:[["class","icon-outline",4,"ngIf"],["class","title",4,"ngIf"],["class","subtitle",4,"ngIf"],[1,"content"],[1,"icon-outline"],["size","lg",3,"name"],[1,"title"],[1,"subtitle"]],template:function(K,X){1&K&&(e.NAR(),e.j41(0,"article"),e.DNE(1,p,2,1,"div",0)(2,a,2,1,"h3",1)(3,_,2,1,"p",2),e.j41(4,"div",3),e.SdG(5),e.k0s()()),2&K&&(e.R7$(),e.Y8G("ngIf",X.iconName),e.R7$(),e.Y8G("ngIf",X.title),e.R7$(),e.Y8G("ngIf",X.subtitle))},dependencies:[l.Rl,M.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)}h3.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}),A})(),u=(()=>{var O;class A{}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275mod=e.$C({type:O}),O.\u0275inj=e.G2t({imports:[l.op,M.MD]}),A})()},50589:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>_});var e=i(60177),t=i(54438),l=i(81443),M=i(51272);const d=[[["kirby-icon"]],[["kirby-action-sheet"]]],p=["kirby-icon","kirby-action-sheet"];function a(v,E){if(1&v){const u=t.RV6();t.j41(0,"ion-fab-list",3),t.bIt("click",function(){t.eBV(u);const A=t.XpG();return t.Njj(A.onFabListClick())}),t.SdG(1,1),t.k0s()}if(2&v){const u=t.XpG();t.HbH(u.horizontalAlignment)}}let _=(()=>{var v;class E{get isFabSheetOpen(){return this._isFabSheetOpen}constructor(O,A,$){this.changeDetectorRef=O,this.renderer=A,this.document=$,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(O){this._isFabSheetOpen=O,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()}}return(v=E).\u0275fac=function(O){return new(O||v)(t.rXU(t.gRc),t.rXU(t.sFG),t.rXU(e.qQ))},v.\u0275cmp=t.VBU({type:v,selectors:[["kirby-fab-sheet"]],contentQueries:function(O,A,$){if(1&O&&t.wni($,l.vL,5),2&O){let K;t.mGM(K=t.lsd())&&(A.actionSheet=K.first)}},viewQuery:function(O,A){if(1&O&&(t.GBs(M.YW,7,t.aKT),t.GBs(M.Q8,7)),2&O){let $;t.mGM($=t.lsd())&&(A.ionFabButton=$.first),t.mGM($=t.lsd())&&(A.ionFab=$.first)}},hostVars:2,hostBindings:function(O,A){2&O&&t.AVh("is-open",A.isFabSheetOpen)},inputs:{disabled:"disabled",horizontalAlignment:"horizontalAlignment"},standalone:!0,features:[t.aNF],ngContentSelectors:p,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(O,A){1&O&&(t.NAR(d),t.j41(0,"ion-backdrop",0),t.bIt("ionBackdropTap",function(){return A.hideActions()})("click",function(){return A.hideActions()}),t.k0s(),t.j41(1,"ion-fab")(2,"ion-fab-button",1),t.bIt("click",function(){return A.onFabButtonClick()}),t.SdG(3),t.k0s(),t.DNE(4,a,2,3,"ion-fab-list",2),t.k0s()),2&O&&(t.AVh("backdrop-visible",A.isFabSheetOpen),t.Y8G("stopPropagation",!1),t.R7$(2),t.Y8G("disabled",A.disabled),t.BMQ("disabled",!!A.disabled||null),t.R7$(2),t.Y8G("ngIf",A.actionSheet))},dependencies:[e.MD,e.bT,M.ZF,M.Q8,M.YW,M.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;z-index:1}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;z-index:1}}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}),E})()},8346:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>M});var e=i(60177),t=i(54438);const l=["*"];let M=(()=>{var d;class p{constructor(){this.size="md",this.themeColor="transparent"}get _cssClass(){return[this.themeColor,this.size]}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=t.VBU({type:d,selectors:[["kirby-flag"]],hostVars:2,hostBindings:function(_,v){2&_&&t.HbH(v._cssClass)},inputs:{size:"size",themeColor:"themeColor"},standalone:!0,features:[t.aNF],ngContentSelectors:l,decls:1,vars:0,template:function(_,v){1&_&&(t.NAR(),t.SdG(0))},dependencies:[e.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}),p})()},56297:(Ze,z,i)=>{"use strict";i.d(z,{ke:()=>yt,Ry:()=>Wo,KS:()=>so,LT:()=>Jo,Sj:()=>ro,sP:()=>Zt,YI:()=>Cn,QC:()=>go});var e=i(54438),t=i(53715),l=i(19402),M=i(27037),d=i(13339),p=i(35519),a=i(60177);const _={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},E=(Object.entries(_).reduce((L,[re,ce])=>(L[ce]=void 0===L[ce]?re:L[ce],L),{}),Object.entries(_).reduce((L,[re,ce])=>(L[re]="Space"===re?" ":re,L),{}));function A(L,re){var ce=(null!=L.alternation?L.mloc[$(L)]:L.locator).join("");if(""!==ce)for(;ce.length0&&(re=re.split(",")[0]),void 0!==re?re.toString():""}function K(L,re,ce){const Pe=this,et=this.opts,We=this.maskset;if(void 0!==(re=re||he.call(Pe,L).match).placeholder||!0===ce)return"function"==typeof re.placeholder?re.placeholder(et):re.placeholder;if(!0===re.static){if(L>-1&&void 0===We.validPositions[L]){var Jt,lt=ke.call(Pe,L),jt=[];if(lt.length>1+(""===lt[lt.length-1].match.def?1:0))for(var ie=0;ie1&&/[0-9a-bA-Z]/.test(jt[0].match.def)))return et.placeholder.charAt(L%et.placeholder.length)}return re.def}return et.placeholder.charAt(L%et.placeholder.length)}function X(L,re,ce,Pe,et){var We=this,lt=this.opts,jt=this.maskset,Jt=lt.greedy;et&<.greedy&&(lt.greedy=!1,We.maskset.tests={}),re=re||0;var Be,ct,Mt,Dt,ie=[],Qe=0;do{if(!0===L&&jt.validPositions[Qe])ct=(Mt=et&&jt.validPositions[Qe].match.optionality&&void 0===jt.validPositions[Qe+1]&&(!0===jt.validPositions[Qe].generatedInput||jt.validPositions[Qe].input==lt.skipOptionalPartCharacter&&Qe>0)?G.call(We,Qe,ke.call(We,Qe,Be,Qe-1)):jt.validPositions[Qe]).match,Be=Mt.locator.slice(),ie.push(!0===ce?Mt.input:!1===ce?ct.nativeDef:K.call(We,Qe,ct));else{ct=(Mt=J.call(We,Qe,Be,Qe-1)).match,Be=Mt.locator.slice();var fn=!0!==Pe&&(!1!==lt.jitMasking?lt.jitMasking:ct.jit);(Dt=(Dt&&ct.static&&ct.def!==lt.groupSeparator&&null===ct.fn||jt.validPositions[Qe-1]&&ct.static&&ct.def!==lt.groupSeparator&&null===ct.fn)&&jt.tests[Qe])||!1===fn||void 0===fn||"number"==typeof fn&&isFinite(fn)&&fn>Qe?ie.push(!1===ce?ct.nativeDef:K.call(We,ie.length,ct)):Dt=!1}Qe++}while(!0!==ct.static||""!==ct.def||re>Qe);return""===ie[ie.length-1]&&ie.pop(),(!1!==ce||void 0===jt.maskLength)&&(jt.maskLength=Qe-1),lt.greedy=Jt,ie}function J(L,re,ce){return this.maskset.validPositions[L]||G.call(this,L,ke.call(this,L,re&&re.slice(),ce))}function G(L,re){var Jt,ie,Be,Pe=this.opts,et=0,We=function fe(L,re){let ce=0,Pe=!1;return re.forEach(et=>{et.match.optionality&&(0!==ce&&ce!==et.match.optionality&&(Pe=!0),(0===ce||ce>et.match.optionality)&&(ce=et.match.optionality))}),ce&&(0==L||1==re.length?ce=0:Pe||(ce=0)),ce}(L,re),jt=A(he.call(this,L=L>0?L-1:0));Pe.greedy&&re.length>1&&""===re[re.length-1].match.def&&(et=1);for(var Qe=0;Qe0&&"master"===Be.match.newBlockMarker&&(!ct.match.optionality||ct.match.optionality-We<1||!ct.match.newBlockMarker)||Be&&!Pe.greedy&&Be.match.optionalQuantifier&&!ct.match.optionalQuantifier)&&(ie=Mt,Be=ct)}return Be}function he(L,re){var Pe=this.maskset;return Pe.validPositions[L]?Pe.validPositions[L]:(re||ke.call(this,L))[0]}function Me(L,re,ce){function Pe(et){for(var jt,We=[],lt=-1,Jt=0,ie=et.length;Jtoe.alternation)for(var Y=oe.alternation;YL+lt._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. "+We.mask;if(ie===L&&void 0===fi.matches){if(Qe.push({match:fi,locator:fr.reverse(),cd:Dt,mloc:{}}),!fi.optionality||void 0!==Er||!(lt.definitions&<.definitions[fi.nativeDef]&<.definitions[fi.nativeDef].optional||tt.prototype.definitions[fi.nativeDef]&&tt.prototype.definitions[fi.nativeDef].optional))return!0;ct=!0,ie=L}else if(void 0!==fi.matches){if(fi.isGroup&&Er!==fi)return function Nr(){if(fi=Yo(Po.matches[Po.matches.indexOf(fi)+1],fr,Er))return!0}();if(fi.isOptional)return function Hr(){var ee=fi,oe=Qe.length;if(fi=fn(fi,Co,fr,Er),Qe.length>0){if(Qe.forEach(function(D,N){N>=oe&&(D.match.optionality=D.match.optionality?D.match.optionality+1:1)}),Mt=Qe[Qe.length-1].match,void 0!==Er||!Ci(Mt,ee))return fi;ct=!0,ie=L}}();if(fi.isAlternator)return function ks(){Pe.hasAlternator=!0;var D,ee=fi,oe=[],N=Qe.slice(),Y=fr.length,xe=!1,Ee=Co.length>0?Co.shift():-1;if(-1===Ee||"string"==typeof Ee){var Ae,_e=ie,Ie=Co.slice(),Le=[];if("string"==typeof Ee)Le=Ee.split(",");else for(Ae=0;Ae=lt.keepStatic)&&(Le=Le.slice(0,1));for(var pn=0;pnee.matches[0].matches.length)break;D=Qe.slice(),ie=_e,Qe=[];for(var nn=0;nn0,fi=oe.length>0,Co=Ie.slice()}else fi=Yo(ee.matches[Ee]||Po.matches[Ee],[Ee].concat(fr),Er);if(fi)return!0}();if(fi.isQuantifier&&Er!==Po.matches[Po.matches.indexOf(fi)-1])return function b(){for(var ee=fi,oe=!1,D=Co.length>0?Co.shift():0;D<(isNaN(ee.quantifier.max)?D+1:ee.quantifier.max)&&ie<=L;D++){var N=Po.matches[Po.matches.indexOf(ee)-1];if(fi=Yo(N,[D].concat(fr),N)){if(Qe.forEach(function(Y,xe){(Mt=un(N,Y.match)?Y.match:Qe[Qe.length-1].match).optionalQuantifier=D>=ee.quantifier.min,Mt.jit=(D+1)*(N.matches.indexOf(Mt)+1)>ee.quantifier.jit,Mt.optionalQuantifier&&Ci(Mt,N)&&(ct=!0,ie=L,lt.greedy&&null==We.validPositions[L-1]&&D>ee.quantifier.min&&-1!=["*","+"].indexOf(ee.quantifier.max)&&(Qe.pop(),Dt=void 0),oe=!0,fi=!1),!oe&&Mt.jit&&(We.jitOffset[L]=N.matches.length-N.matches.indexOf(Mt))}),oe)break;return!0}}}();if(fi=fn(fi,Co,fr,Er))return!0}else ie++}for(var Or=Co.length>0?Co.shift():0;OrL)break}}function un(Po,Co){let Vo=-1!=Po.matches.indexOf(Co);return Vo||Po.matches.forEach((So,Yo)=>{void 0!==So.matches&&!Vo&&(Vo=un(So,Co))}),Vo}if(L>-1){if(void 0===re){for(var vo,$n=L-1;void 0===(vo=We.validPositions[$n]||We.tests[$n])&&$n>-1;)$n--;void 0!==vo&&$n>-1&&(Be=function In(Po,Co){let So,Vo=[];return Array.isArray(Co)||(Co=[Co]),Co.length>0&&(void 0===Co[0].alternation||!0===lt.keepStatic?(Vo=G.call(Pe,Po,Co.slice()).locator.slice(),0===Vo.length&&(Vo=Co[0].locator.slice())):Co.forEach(function(Yo){""!==Yo.def&&(0===Vo.length?(So=Yo.alternation,Vo=Yo.locator.slice()):Yo.locator[So]&&-1===Vo[So].toString().indexOf(Yo.locator[So])&&(Vo[So]+=","+Yo.locator[So]))})),Vo}($n,vo),Dt=Be.join(""),ie=$n)}if(We.tests[L]&&We.tests[L][0].cd===Dt)return We.tests[L];for(var Mo=Be.shift();MoL);Mo++);}return(0===Qe.length||ct)&&Qe.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:Dt}),void 0!==re&&We.tests[L]?uo=et.extend(!0,[],Qe):(We.tests[L]=et.extend(!0,[],Qe),uo=We.tests[L]),Qe.forEach(Po=>{Po.match.optionality=Po.match.defOptionality||!1}),uo}const Ne=!!(typeof window<"u"&&window.document&&window.document.createElement),je=Ne?window:{},it=je.navigator&&je.navigator.userAgent||"",pt=it.indexOf("MSIE ")>0||it.indexOf("Trident/")>0,Ye=navigator.userAgentData&&navigator.userAgentData.mobile||je.navigator&&je.navigator.maxTouchPoints||"ontouchstart"in je,St=/iphone/i.test(it);function mt(L,re){const ce=L?L.inputmask:this,Pe=ce.opts;L.inputmask.refreshValue=!1,"function"==typeof Pe.onBeforeMask&&(re=Pe.onBeforeMask.call(ce,re,Pe)||re),Ge(L,!0,!1,re=(re||"").toString().split("")),ce.undoValue=ce._valueGet(!0),(Pe.clearMaskOnLostFocus||Pe.clearIncomplete)&&L.inputmask._valueGet()===En.call(ce).join("")&&-1===Un.call(ce)&&L.inputmask._valueSet("")}function at(L){const re=this;L.length=0;for(var Pe,ce=X.call(re,!0,0,!0,void 0,!0);void 0!==(Pe=ce.shift());)L.push(Pe);return L}function Ge(L,re,ce,Pe,et){const We=L?L.inputmask:this,lt=We.maskset,jt=We.opts,Jt=We.dependencyLib;var ie=Pe.slice(),Be="",Qe=-1,ct=void 0,Mt=jt.skipOptionalPartCharacter;jt.skipOptionalPartCharacter="",dn.call(We),lt.tests={},Qe=jt.radixPoint?ln.call(We,{begin:0,end:0},!1,!1===jt.__financeInput?"radixFocus":void 0).begin:0,lt.p=Qe,We.caretPos={begin:Qe};var fn=[],un=We.caretPos;if(ie.forEach(function(uo,Po){if(void 0!==uo){var Co=new Jt.Event("_checkval");Co.key=uo,Be+=uo;var Vo=Un.call(We,void 0,!0);!function Dt(uo,Po){for(var Co=X.call(We,!0,0).slice(uo,gn.call(We,uo,!1,!1)).join("").replace(/'/g,""),Vo=Co.indexOf(Po);Vo>0&&" "===Co[Vo-1];)Vo--;var So=0===Vo&&!Tn.call(We,uo)&&(he.call(We,uo).match.nativeDef===Po.charAt(0)||!0===he.call(We,uo).match.static&&he.call(We,uo).match.nativeDef==="'"+Po.charAt(0)||" "===he.call(We,uo).match.nativeDef&&(he.call(We,uo+1).match.nativeDef===Po.charAt(0)||!0===he.call(We,uo+1).match.static&&he.call(We,uo+1).match.nativeDef==="'"+Po.charAt(0)));if(!So&&Vo>0&&!Tn.call(We,uo,!1,!0)){var Yo=gn.call(We,uo);We.caretPos.begin0){var In,$n,vo=gn.call(We,-1,void 0,!1);if(!It.call(We,tn.call(We))&&fn.length<=vo||It.call(We,tn.call(We))&&fn.length>0&&fn.length!==vo&&0===fn[0])for(var Mo=vo;void 0!==(In=fn.shift());){var po=new Jt.Event("_checkval");if(($n=lt.validPositions[In]).generatedInput=!0,po.key=$n.input,(ct=Ke.keypressEvent.call(We,po,!0,!1,ce,Mo))&&void 0!==ct.pos&&ct.pos!==In&<.validPositions[ct.pos]&&!0===lt.validPositions[ct.pos].match.static)fn.push(ct.pos);else if(!ct)break;Mo++}}re&&_t.call(We,L,tn.call(We),ct?ct.forwardPosition:We.caretPos.begin,et||new Jt.Event("checkval"),et&&("input"===et.type&&We.undoValue!==tn.call(We).join("")||"paste"===et.type)),jt.skipOptionalPartCharacter=Mt}function gt(L,re){const ce=L?L.inputmask:this;if(pt){if(L.inputmask._valueGet()!==re&&(L.placeholder!==re||""===L.placeholder)){var Pe=tn.call(ce).slice(),et=L.inputmask._valueGet();if(et!==re){var We=Un.call(ce);-1===We&&et===En.call(ce).join("")?Pe=[]:-1!==We&&at.call(ce,Pe),_t(L,Pe)}}}else L.placeholder!==re&&(L.placeholder=re,""===L.placeholder&&L.removeAttribute("placeholder"))}function mn(L){const re=L?L.inputmask:this,ce=re.opts,Pe=re.maskset;if(L){if(void 0===L.inputmask)return L.value;L.inputmask&&L.inputmask.refreshValue&&mt(L,L.inputmask._valueGet(!0))}var et=[],We=Pe.validPositions;for(let Jt=0,ie=We.length;Jt=0&&ct.end>0&&(L.preventDefault(),$t.call(We,ie,ct.begin,ct.end))):(ct.begin=gn.call(We,ct.begin,!0),ct.end=gn.call(We,ct.begin,!0),ct.end=un.length?Dt.length:un.length,vo=fn.length>=In.length?fn.length:In.length,uo="",Po=[],Co="~";Dt.length<$n;)Dt.push(Co);for(;un.length<$n;)un.push(Co);for(;fn.lengthWe.end&&(Co=We.end,Vo=We.begin)),-1===po&&void 0===et)Mt=(In=he.call(lt,ct=0)).alternation;else for(;po>=0;po--)if((un=ie.validPositions[po])&&void 0!==un.alternation){if(po<=(L||0)&&In&&In.locator[un.alternation]!==un.locator[un.alternation])break;Mt=ie.validPositions[ct=po].alternation,In=un}if(void 0!==Mt){Mo=parseInt(ct),ie.excludes[Mo]=ie.excludes[Mo]||[],!0!==L&&ie.excludes[Mo].push($(In)+":"+In.alternation);var So=[],Yo=-1;for($n=Mo;$n=Vo)&&So.push(vo.input),delete ie.validPositions[$n];for(-1===Yo&&void 0!==re&&(So.push(re),Yo=So.length-1);void 0!==ie.excludes[Mo]&&ie.excludes[Mo].length<10;){for(ie.tests={},dn.call(lt,!0),Dt=!0,$n=0;$n=tn.call(We).length&&ie>=ce.end&&(ce.end=ie+1),re===E.Backspace?ce.end-ce.begin<1&&(ce.begin=Vt.call(We,ce.begin)):re===E.Delete&&ce.begin===ce.end&&(ce.end=Tn.call(We,ce.end,!0,!0)?ce.end+1:gn.call(We,ce.end)+1),!1!==(Be=Ht.call(We,ce))){if(!0!==Pe&&!1!==jt.keepStatic||null!==jt.regex&&-1!==he.call(We,ce.begin).match.def.indexOf("|")){var Qe=Je.call(We,!0);Qe&&(void 0!==Qe.caret||(Qe.pos?gn.call(We,Qe.pos.begin?Qe.pos.begin:Qe.pos):Un.call(We,-1,!0)))}!0!==Pe&&(lt.p=re===E.Delete?ce.begin+Be:ce.begin,lt.p=ln.call(We,{begin:lt.p,end:lt.p},!1,!1===jt.insertMode&&re===E.Backspace?"none":void 0).begin)}}function It(L){const re=this,ce=this.opts,Pe=this.maskset;if("function"==typeof ce.isComplete)return ce.isComplete(L,ce);if("*"!==ce.repeat){var et=!1,We=Xt.call(re,!0),lt=Vt.call(re,We.l);if(void 0===We.def||We.def.newBlockMarker||We.def.optionality||We.def.optionalQuantifier){et=!0;for(var jt=0;jt<=lt;jt++){var Jt=J.call(re,jt).match;if(!0!==Jt.static&&void 0===Pe.validPositions[jt]&&!0!==Jt.optionality&&!0!==Jt.optionalQuantifier||!0===Jt.static&&L[jt]!==K.call(re,jt,Jt)){et=!1;break}}}return et}}function Nn(L){const Pe=this.opts.insertMode?0:1;return this.isRTL?L.begin-L.end>Pe:L.end-L.begin>Pe}function Hn(L,re,ce,Pe,et,We,lt){const jt=this,Jt=this.dependencyLib,ie=this.opts,Be=jt.maskset;ce=!0===ce;var Qe=L;function ct(Co){if(void 0!==Co){if(void 0!==Co.remove&&(Array.isArray(Co.remove)||(Co.remove=[Co.remove]),Co.remove.sort(function(So,Yo){return jt.isRTL?So.pos-Yo.pos:Yo.pos-So.pos}).forEach(function(So){Ht.call(jt,{begin:So,end:So+1})}),Co.remove=void 0),void 0!==Co.insert&&(Array.isArray(Co.insert)||(Co.insert=[Co.insert]),Co.insert.sort(function(So,Yo){return jt.isRTL?Yo.pos-So.pos:So.pos-Yo.pos}).forEach(function(So){""!==So.c&&Hn.call(jt,So.pos,So.c,void 0===So.strict||So.strict,void 0!==So.fromIsValid?So.fromIsValid:Pe)}),Co.insert=void 0),Co.refreshFromBuffer&&Co.buffer){var Vo=Co.refreshFromBuffer;Kn.call(jt,!0===Vo?Vo:Vo.start,Vo.end,Co.buffer),Co.refreshFromBuffer=void 0}void 0!==Co.rewritePosition&&(Qe=Co.rewritePosition,Co=!0)}return Co}function Mt(Co,Vo,So){var Yo=!1;return ke.call(jt,Co).every(function(Or,Lr){var fi=Or.match;if(tn.call(jt,!0),!1!==(Yo=(!fi.jit||void 0!==Be.validPositions[Vt.call(jt,Co)])&&(null!=fi.fn?fi.fn.test(Vo,Be,Co,So,ie,Nn.call(jt,L)):(Vo===fi.def||Vo===ie.skipOptionalPartCharacter)&&""!==fi.def&&{c:K.call(jt,Co,fi,!0)||fi.def,pos:Co}))){var fr=void 0!==Yo.c?Yo.c:Vo,Er=Co;return fr=fr===ie.skipOptionalPartCharacter&&!0===fi.static?K.call(jt,Co,fi,!0)||fi.def:fr,!0!==(Yo=ct(Yo))&&void 0!==Yo.pos&&Yo.pos!==Co&&(Er=Yo.pos),!0!==Yo&&void 0===Yo.pos&&void 0===Yo.c||!1===Ht.call(jt,L,Jt.extend({},Or,{input:Xe.call(jt,fr,fi,Er)}),Pe,Er)&&(Yo=!1),!1}return!0}),Yo}void 0!==L.begin&&(Qe=jt.isRTL?L.end:L.begin);var Dt=!0,fn=Jt.extend(!0,{},Be.validPositions);if(!1===ie.keepStatic&&void 0!==Be.excludes[Qe]&&!0!==et&&!0!==Pe)for(var un=Qe;un<(jt.isRTL?L.begin:L.end);un++)void 0!==Be.excludes[un]&&(Be.excludes[un]=void 0,delete Be.tests[un]);if("function"==typeof ie.preValidation&&!0!==Pe&&!0!==We&&(Dt=ct(Dt=ie.preValidation.call(jt,tn.call(jt),Qe,re,Nn.call(jt,L),ie,Be,L,ce||et))),!0===Dt){if(Dt=Mt(Qe,re,ce),(!ce||!0===Pe)&&!1===Dt&&!0!==We){var In=Be.validPositions[Qe];if(!In||!0!==In.match.static||In.match.def!==re&&re!==ie.skipOptionalPartCharacter){if(ie.insertMode||void 0===Be.validPositions[gn.call(jt,Qe)]||L.end>Qe){var $n=!1;if(Be.jitOffset[Qe]&&void 0===Be.validPositions[gn.call(jt,Qe)]&&!1!==(Dt=Hn.call(jt,Qe+Be.jitOffset[Qe],re,!0,!0))&&(!0!==et&&(Dt.caret=Qe),$n=!0),L.end>Qe&&(Be.validPositions[Qe]=void 0),!$n&&!Tn.call(jt,Qe,ie.keepStatic&&0===Qe))for(var vo=Qe+1,Mo=gn.call(jt,Qe,!1,0!==Qe);vo<=Mo;vo++)if(!1!==(Dt=Mt(vo,re,ce))){Dt=xt.call(jt,Qe,void 0!==Dt.pos?Dt.pos:vo)||Dt,Qe=vo;break}}}else Dt={caret:gn.call(jt,Qe)}}jt.hasAlternator&&!0!==et&&!ce&&(!1===Dt&&ie.keepStatic&&(It.call(jt,tn.call(jt))||0===Qe)?Dt=Je.call(jt,Qe,re,ce,Pe,void 0,L):(Nn.call(jt,L)&&Be.tests[Qe]&&Be.tests[Qe].length>1&&ie.keepStatic||1==Dt&&!0!==ie.numericInput&&Be.tests[Qe]&&Be.tests[Qe].length>1&&Un.call(jt,void 0,!0)>Qe)&&(Dt=Je.call(jt,!0))),!0===Dt&&(Dt={pos:Qe})}if("function"==typeof ie.postValidation&&!0!==Pe&&!0!==We){var po=ie.postValidation.call(jt,tn.call(jt,!0),void 0!==L.begin?jt.isRTL?L.end:L.begin:L,re,Dt,ie,Be,ce,lt);void 0!==po&&(Dt=!0===po?Dt:po)}Dt&&void 0===Dt.pos&&(Dt.pos=Qe),!1===Dt||!0===We?(dn.call(jt,!0),Be.validPositions=Jt.extend(!0,[],fn)):xt.call(jt,void 0,Qe,!0);var uo=ct(Dt);return void 0!==jt.maxLength&&tn.call(jt).length>jt.maxLength&&!Pe&&(dn.call(jt,!0),Be.validPositions=Jt.extend(!0,[],fn),uo=!1),uo}function xo(L,re,ce){const Pe=this,et=this.maskset;for(var We=!1,lt=ke.call(Pe,L),jt=0;jt0&&!et.validPositions[L];L--);for(var lt=L;ltL.end&&(Be=L.end,Qe=L.begin),Pe=void 0!==Pe?Pe:Be,void 0===ce&&(Be!==Qe||lt.insertMode&&void 0!==We.validPositions[Pe]||void 0===re||re.match.optionalQuantifier||re.match.optionality)){var fn,Mt=jt.extend(!0,{},We.validPositions),Dt=Un.call(et,void 0,!0);for(We.p=Be,fn=Dt;fn>=Be;fn--)delete We.validPositions[fn],void 0===re&&delete We.tests[fn+1];var $n,vo,un=Pe,In=un;for(re&&(We.validPositions[Pe]=jt.extend(!0,{},re),In++,un++),fn=re?Qe:Qe-1;fn<=Dt;fn++){if(void 0!==($n=Mt[fn])&&!0!==$n.generatedInput&&(fn>=Qe||fn>=Be&&(Co={begin:Be,end:Qe},void 0,void 0!==(Vo=(Po=Mt)[uo=fn])&&!0===Vo.match.static&&!0!==Vo.match.optionality&&(void 0===Po[0]||void 0===Po[0].alternation)&&(Co.begin<=uo-1?Po[uo-1]&&!0===Po[uo-1].match.static&&Po[uo-1]:Po[uo-1])&&(Co.end>uo+1?Po[uo+1]&&!0===Po[uo+1].match.static&&Po[uo+1]:Po[uo+1])))){for(;""!==he.call(et,In).match.def;){if(!1!==(vo=xo.call(et,In,$n,lt))||"+"===$n.match.def){"+"===$n.match.def&&tn.call(et,!0);var po=Hn.call(et,In,$n.input,"+"!==$n.match.def,!0);if(un=(po.pos||In)+1,!(ct=!1!==po)&&vo)break}else ct=!1;if(ct){void 0===re&&$n.match.static&&fn===L.begin&&ie++;break}if(!ct&&tn.call(et),In>We.maskLength)break;In++}""==he.call(et,In).match.def&&(ct=!1),In=un}if(!ct)break}if(!ct)return We.validPositions=jt.extend(!0,[],Mt),dn.call(et,!0),!1}else re&&he.call(et,Pe).match.cd===re.match.cd&&(We.validPositions[Pe]=jt.extend(!0,{},re));return dn.call(et,!0),ie}function $t(L,re,ce,Pe,et){const We=this,lt=this.opts;var jt;if(void 0===re)return"selectionStart"in L&&"selectionEnd"in L?(re=L.selectionStart,ce=L.selectionEnd):window.getSelection?((jt=window.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode===L||jt.commonAncestorContainer===L)&&(re=jt.startOffset,ce=jt.endOffset):document.selection&&document.selection.createRange&&(ce=(re=0-(jt=document.selection.createRange()).duplicate().moveStart("character",-L.inputmask._valueGet().length))+jt.text.length),{begin:Pe?re:Gt.call(We,re),end:Pe?ce:Gt.call(We,ce)};if(Array.isArray(re)&&(ce=We.isRTL?re[0]:re[1],re=We.isRTL?re[1]:re[0]),void 0!==re.begin&&(ce=We.isRTL?re.begin:re.end,re=We.isRTL?re.end:re.begin),"number"==typeof re){re=Pe?re:Gt.call(We,re),ce="number"==typeof(ce=Pe?ce:Gt.call(We,ce))?ce:re;var Jt=parseInt(((L.ownerDocument.defaultView||window).getComputedStyle?(L.ownerDocument.defaultView||window).getComputedStyle(L,null):L.currentStyle).fontSize)*ce;if(L.scrollLeft=Jt>L.scrollWidth?Jt:0,L.inputmask.caretPos={begin:re,end:ce},lt.insertModeVisual&&!1===lt.insertMode&&re===ce&&(et||ce++),L===(L.inputmask.shadowRoot||L.ownerDocument).activeElement)if("setSelectionRange"in L)L.setSelectionRange(re,ce);else if(window.getSelection){if(jt=document.createRange(),null==L.firstChild){var ie=document.createTextNode("");L.appendChild(ie)}jt.setStart(L.firstChild,rejt&&((Qe=Jt[lt]).match.optionality||Qe.match.optionalQuantifier&&Qe.match.newBlockMarker||ct&&(ct!==Jt[lt].locator[ie.alternation]&&1!=Qe.match.static||!0===Qe.match.static&&Qe.locator[ie.alternation]&&qe.call(re,Qe.locator[ie.alternation].toString().split(","),ct.toString().split(","))&&""!==ke.call(re,lt)[0].def))&&et[lt]===K.call(re,lt,Qe.match);lt--)We--;return L?{l:We,def:Jt[We]?Jt[We].match:void 0}:We}function ln(L,re,ce){const Pe=this,{maskset:et,opts:We}=Pe;if(re&&(Pe.isRTL?L.end=L.begin:L.begin=L.end),L.begin===L.end){switch(ce=ce||We.positionCaretOnClick){case"none":break;case"select":L={begin:0,end:tn.call(Pe).length};break;case"ignore":L.end=L.begin=gn.call(Pe,Un.call(Pe));break;case"radixFocus":if(Pe.clicked>1&&0==et.validPositions.length)break;if(function lt(fn){if(""!==We.radixPoint&&0!==We.digits){var un=et.validPositions;if(void 0===un[fn]||un[fn].input===K.call(Pe,fn)){if(fn=Dt||Jt===Be)&&(Be=Dt)}L.end=L.begin=Be}}return L}}function tn(L){const{maskset:ce}=this;return(void 0===ce.buffer||!0===L)&&(ce.buffer=X.call(this,!0,Un.call(this),!0),void 0===ce._buffer&&(ce._buffer=ce.buffer.slice())),ce.buffer}function En(){const re=this.maskset;return void 0===re._buffer&&(re._buffer=X.call(this,!1,1),void 0===re.buffer&&(re.buffer=re._buffer.slice())),re._buffer}function Un(L,re,ce){var et=-1,We=-1,lt=ce||this.maskset.validPositions;void 0===L&&(L=-1);for(var jt=0,Jt=lt.length;jt=L&&(We=jt));return-1===et||et==L?We:-1==We||L-et-1){if(ce){var lt=ke.call(Pe,L);return lt.length>1+(""===lt[lt.length-1].match.def?1:0)}var jt=G.call(Pe,L,ke.call(Pe,L)),Jt=K.call(Pe,L,jt.match);return jt.match.def!==Jt}return!1}function dn(L){const re=this.maskset;re.buffer=void 0,!0!==L&&(re.validPositions=[],re.p=0)}function gn(L,re,ce){const Pe=this;void 0===ce&&(ce=!0);for(var et=L+1;""!==he.call(Pe,et).match.def&&(!0===re&&(!0!==he.call(Pe,et).match.newBlockMarker||!Tn.call(Pe,et,void 0,!0))||!0!==re&&!Tn.call(Pe,et,void 0,ce));)et++;return et}function Vt(L,re){const ce=this;var Pe=L-1;if(L<=0)return 0;for(;Pe>0&&(!0===re&&(!0!==he.call(ce,Pe).match.newBlockMarker||!Tn.call(ce,Pe,void 0,!0))||!0!==re&&!Tn.call(ce,Pe,void 0,!0));)Pe--;return Pe}function Gt(L){const ce=this.opts;return this.isRTL&&"number"==typeof L&&(!ce.greedy||""!==ce.placeholder)&&this.el&&(L=this._valueGet().length-L)<0&&(L=0),L}var Ln_on=function(L,re,ce){const Pe=L.inputmask.dependencyLib;var et=function(We){We.originalEvent&&(arguments[0]=We=We.originalEvent||We);var jt,lt=this,Jt=lt.inputmask,ie=Jt?Jt.opts:void 0;if(void 0===Jt&&"FORM"!==this.nodeName){var Be=Pe.data(lt,"_inputmask_opts");Pe(lt).off(),Be&&new tt(Be).mask(lt)}else{if(["submit","reset","setvalue"].includes(We.type)||"FORM"===this.nodeName||!(lt.disabled||lt.readOnly&&!("keydown"===We.type&&We.ctrlKey&&We.key===E.c||!1===ie.tabThrough&&We.key===E.Tab))){switch(We.type){case"input":if(!0===Jt.skipInputEvent)return Jt.skipInputEvent=!1,We.preventDefault();break;case"click":case"focus":return Jt.validationEvent?(Jt.validationEvent=!1,L.blur(),gt(L,(Jt.isRTL?En.call(Jt).slice().reverse():En.call(Jt)).join("")),setTimeout(function(){L.focus()},ie.validationEventTimeOut),!1):(jt=arguments,void setTimeout(function(){L.inputmask&&ce.apply(lt,jt)},0))}var Qe=ce.apply(lt,arguments);return!1===Qe&&(We.preventDefault(),We.stopPropagation()),Qe}We.preventDefault()}};["submit","reset"].includes(re)?(et=et.bind(L),null!==L.form&&Pe(L.form).on(re,et)):Pe(L).on(re,et),L.inputmask.events[re]=L.inputmask.events[re]||[],L.inputmask.events[re].push(et)},Ln_off=function(L,re){if(L.inputmask&&L.inputmask.events){const ce=L.inputmask.dependencyLib;let Pe=L.inputmask.events;re&&(Pe=[],Pe[re]=L.inputmask.events[re]);for(let et in Pe){let We=Pe[et];for(;We.length>0;){let lt=We.pop();["submit","reset"].includes(et)?null!==L.form&&ce(L.form).off(et,lt):ce(L).off(et,lt)}delete L.inputmask.events[et]}}};function Lt(){const L=this,re=this.opts,ce=this.el,Pe=this.dependencyLib;Ln_off(ce);var We=function et(Jt,ie){"textarea"!==Jt.tagName.toLowerCase()&&ie.ignorables.push(E.Enter);var Qe=Jt.getAttribute("type"),ct="input"===Jt.tagName.toLowerCase()&&ie.supportsInputType.includes(Qe)||Jt.isContentEditable||"textarea"===Jt.tagName.toLowerCase();if(!ct)if("input"===Jt.tagName.toLowerCase()){var Mt=document.createElement("input");Mt.setAttribute("type",Qe),ct="text"===Mt.type,Mt=null}else ct="partial";return!1!==ct?function Be(Dt){var fn,un;function $n(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==Un.call(L)||!0!==ie.nullable?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&ie.clearMaskOnLostFocus?(L.isRTL?at.call(L,tn.call(L).slice()).reverse():at.call(L,tn.call(L).slice())).join(""):fn.call(this):"":fn.call(this)}function vo(uo){un.call(this,uo),this.inputmask&&mt(this,uo)}if(!Dt.inputmask.__valueGet){if(!0!==ie.noValuePatching){if(Object.getOwnPropertyDescriptor){var po=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Dt),"value"):void 0;po&&po.get&&po.set?(fn=po.get,un=po.set,Object.defineProperty(Dt,"value",{get:$n,set:vo,configurable:!0})):"input"!==Dt.tagName.toLowerCase()&&(fn=function(){return this.textContent},un=function(uo){this.textContent=uo},Object.defineProperty(Dt,"value",{get:$n,set:vo,configurable:!0}))}else document.__lookupGetter__&&Dt.__lookupGetter__("value")&&(fn=Dt.__lookupGetter__("value"),un=Dt.__lookupSetter__("value"),Dt.__defineGetter__("value",$n),Dt.__defineSetter__("value",vo));Dt.inputmask.__valueGet=fn,Dt.inputmask.__valueSet=un}Dt.inputmask._valueGet=function(uo){return L.isRTL&&!0!==uo?fn.call(this.el).split("").reverse().join(""):fn.call(this.el)},Dt.inputmask._valueSet=function(uo,Po){un.call(this.el,null==uo?"":!0!==Po&&L.isRTL?uo.split("").reverse().join(""):uo)},void 0===fn&&(fn=function(){return this.value},un=function(uo){this.value=uo},function In(uo){if(Pe.valHooks&&(void 0===Pe.valHooks[uo]||!0!==Pe.valHooks[uo].inputmaskpatch)){var Po=Pe.valHooks[uo]&&Pe.valHooks[uo].get?Pe.valHooks[uo].get:function(Vo){return Vo.value},Co=Pe.valHooks[uo]&&Pe.valHooks[uo].set?Pe.valHooks[uo].set:function(Vo,So){return Vo.value=So,Vo};Pe.valHooks[uo]={get:function(Vo){if(Vo.inputmask){if(Vo.inputmask.opts.autoUnmask)return Vo.inputmask.unmaskedvalue();var So=Po(Vo);return-1!==Un.call(L,void 0,void 0,Vo.inputmask.maskset.validPositions)||!0!==ie.nullable?So:""}return Po(Vo)},set:function(Vo,So){var Yo=Co(Vo,So);return Vo.inputmask&&mt(Vo,So),Yo},inputmaskpatch:!0}}}(Dt.type),function Mo(uo){Ln_on(uo,"mouseenter",function(){let Po=this,Co=Po.inputmask._valueGet(!0);Co!=(Po.inputmask.isRTL?tn.call(Po.inputmask).slice().reverse():tn.call(Po.inputmask)).join("")&&mt(Po,Co)})}(Dt))}}(Jt):Jt.inputmask=void 0,ct}(ce,re);if(!1!==We){L.originalPlaceholder=ce.placeholder,L.maxLength=void 0!==ce?ce.maxLength:void 0,-1===L.maxLength&&(L.maxLength=void 0),"inputMode"in ce&&null===ce.getAttribute("inputmode")&&(ce.inputMode=re.inputmode,ce.setAttribute("inputmode",re.inputmode)),!0===We&&(re.showMaskOnFocus=re.showMaskOnFocus&&-1===["cc-number","cc-exp"].indexOf(ce.autocomplete),St&&(re.insertModeVisual=!1,ce.setAttribute("autocorrect","off")),Ln_on(ce,"submit",Ke.submitEvent),Ln_on(ce,"reset",Ke.resetEvent),Ln_on(ce,"blur",Ke.blurEvent),Ln_on(ce,"focus",Ke.focusEvent),Ln_on(ce,"invalid",Ke.invalidEvent),Ln_on(ce,"click",Ke.clickEvent),Ln_on(ce,"mouseleave",Ke.mouseleaveEvent),Ln_on(ce,"mouseenter",Ke.mouseenterEvent),Ln_on(ce,"paste",Ke.pasteEvent),Ln_on(ce,"cut",Ke.cutEvent),Ln_on(ce,"complete",re.oncomplete),Ln_on(ce,"incomplete",re.onincomplete),Ln_on(ce,"cleared",re.oncleared),!0!==re.inputEventOnly&&Ln_on(ce,"keydown",Ke.keyEvent),(Ye||re.inputEventOnly)&&ce.removeAttribute("maxLength"),Ln_on(ce,"input",Ke.inputFallBackEvent)),Ln_on(ce,"setvalue",Ke.setValueEvent),En.call(L).join(""),L.undoValue=L._valueGet(!0);var lt=(ce.inputmask.shadowRoot||ce.ownerDocument).activeElement;if(""!==ce.inputmask._valueGet(!0)||!1===re.clearMaskOnLostFocus||lt===ce){mt(ce,ce.inputmask._valueGet(!0));var jt=tn.call(L).slice();!1===It.call(L,jt)&&re.clearIncomplete&&dn.call(L),re.clearMaskOnLostFocus&<!==ce&&(-1===Un.call(L)?jt=[]:at.call(L,jt)),(!1===re.clearMaskOnLostFocus||re.showMaskOnFocus&<===ce||""!==ce.inputmask._valueGet(!0))&&_t(ce,jt),lt===ce&&$t.call(L,ce,gn.call(L,Un.call(L)))}}}function yn(){let L,re,ce,Pe,et,We,lt=arguments[0]||{},jt=1,Jt=arguments.length,ie=!1;for("boolean"==typeof lt&&(ie=lt,lt=arguments[jt]||{},jt++),"object"!=typeof lt&&"function"!=typeof lt&&(lt={});jt{const[lt,jt="global"]=We.split(".");!function ce(We,lt){et.addEventListener?et.addEventListener(We,re,!1):et.attachEvent&&et.attachEvent(`on${We}`,re),Pe[We]=Pe[We]||{},Pe[We][lt]=Pe[We][lt]||[],Pe[We][lt].push(re)}(lt,jt)})}return this},off:function oo(L,re){var ce,Pe;return bn(this[0])&&L&&(ce=this[0].eventRegistry,Pe=this[0],L.split(" ").forEach(lt=>{const[jt,Jt]=lt.split(".");(function We(lt,jt){var ie,Be,Jt=[];if(lt.length>0)if(void 0===re)for(ie=0,Be=ce[lt][jt].length;ie0?jt:"global",handler:ce[lt][jt][ie]});else Jt.push({ev:lt,namespace:jt&&jt.length>0?jt:"global",handler:re});else if(jt.length>0)for(var Qe in ce)for(var ct in ce[Qe])if(ct===jt)if(void 0===re)for(ie=0,Be=ce[Qe][ct].length;ie{!function et(lt,jt,Jt){if(lt in ce)if(Pe.removeEventListener?Pe.removeEventListener(lt,Jt,!1):Pe.detachEvent&&Pe.detachEvent(`on${lt}`,Jt),"global"===jt)for(var ie in ce[lt])ce[lt][ie].splice(ce[lt][ie].indexOf(Jt),1);else ce[lt][jt].splice(ce[lt][jt].indexOf(Jt),1)}(ie,Qe,Be)})})),this},trigger:function Ko(L){if(bn(this[0]))for(var re=this[0].eventRegistry,ce=this[0],Pe="string"==typeof L?L.split(" "):[L.type],et=0;etMt.apply(ce,arguments))}}return this}},ko.extend=yn,ko.data=function Mn(L,re,ce){if(void 0===ce)return L.__data?L.__data[re]:null;L.__data=L.__data||{},L.__data[re]=ce},ko.Event=Bn;const ei=ko;function Go(L,re,ce,Pe){this.matches=[],this.openGroup=L||!1,this.alternatorGroup=!1,this.isGroup=L||!1,this.isOptional=re||!1,this.isQuantifier=ce||!1,this.isAlternator=Pe||!1,this.quantifier={min:1,max:1}}const Ji=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim");function pi(L){return L.replace(Ji,"\\$1")}function Si(L,re){var ce;function et(lt,jt,Jt){var Be,Qe,ie=!1;return(null===lt||""===lt)&&((ie=null!==Jt.regex)?lt=(lt=Jt.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(ie=!0,lt=".*")),1===lt.length&&!1===Jt.greedy&&0!==Jt.repeat&&(Jt.placeholder=""),lt=function Pe(lt,{repeat:jt,groupmarker:Jt,quantifiermarker:ie,keepStatic:Be}){if((jt>0||"*"===jt||"+"===jt)&&(lt=Jt[0]+lt+Jt[1]+ie[0]+("*"===jt?0:"+"===jt?1:jt)+","+jt+ie[1]),!0===Be){let Mt=lt.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));Mt&&Mt.forEach((Dt,fn)=>{let[un,In]=Dt.split("[");In=In.replace("]",""),lt=lt.replace(new RegExp(`${pi(un)}\\[${pi(In)}\\]`),un.charAt(0)===In.charAt(0)?`(${un}|${un}${In})`:`${un}[${In}]`)})}return lt}(lt,Jt),Qe=ie?"regex_"+Jt.regex:Jt.numericInput?lt.split("").reverse().join(""):lt,null!==Jt.keepStatic&&(Qe="ks_"+Jt.keepStatic+Qe),void 0===tt.prototype.masksCache[Qe]||!0===re?(Be={mask:lt,maskToken:tt.prototype.analyseMask(lt,ie,Jt),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:jt,maskLength:void 0,jitOffset:{}},!0!==re&&(tt.prototype.masksCache[Qe]=Be,Be=ei.extend(!0,{},tt.prototype.masksCache[Qe]))):Be=ei.extend(!0,{},tt.prototype.masksCache[Qe]),Be}if("function"==typeof L.mask&&(L.mask=L.mask(L)),Array.isArray(L.mask)){if(L.mask.length>1){null===L.keepStatic&&(L.keepStatic=!0);var We=L.groupmarker[0];return(L.isRTL?L.mask.reverse():L.mask).forEach(function(lt){We.length>1&&(We+=L.alternatormarker),We+=void 0!==lt.mask&&"function"!=typeof lt.mask?lt.mask:lt}),et(We+=L.groupmarker[1],L.mask,L)}L.mask=L.mask.pop()}return ce=et(L.mask&&void 0!==L.mask.mask&&"function"!=typeof L.mask.mask?L.mask.mask:L.mask,L.mask,L),null===L.keepStatic&&(L.keepStatic=!1),ce}const qt=je.document,Pt="_inputmask_opts";function ot(L,re,ce){if(Ne){if(!(this instanceof ot))return new ot(L,re,ce);this.dependencyLib=ei,this.el=void 0,this.events={},this.maskset=void 0,!0!==ce&&("[object Object]"===Object.prototype.toString.call(L)?re=L:(re=re||{},L&&(re.alias=L)),this.opts=ei.extend(!0,{},this.defaults,re),this.noMasksCache=re&&void 0!==re.definitions,this.userOptions=re||{},De(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 De(L,re,ce){var Pe=ot.prototype.aliases[L];return Pe?(Pe.alias&&De(Pe.alias,void 0,ce),ei.extend(!0,ce,Pe),ei.extend(!0,ce,re),!0):(null===ce.mask&&(ce.mask=L),!1)}ot.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(L,re){return"function"==typeof re.onBeforeMask?re.onBeforeMask.call(this,L,re):L},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:[E.Backspace,E.Tab,E.Pause,E.Escape,E.PageUp,E.PageDown,E.End,E.Home,E.ArrowLeft,E.ArrowUp,E.ArrowRight,E.ArrowDown,E.Insert,E.Delete,E.ContextMenu,E.F1,E.F2,E.F3,E.F4,E.F5,E.F6,E.F7,E.F8,E.F9,E.F10,E.F11,E.F12,E.Process,E.Unidentified,E.Shift,E.Control,E.Alt,E.Tab,E.AltGraph,E.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(L){var re=this;return"string"==typeof L&&(L=qt.getElementById(L)||qt.querySelectorAll(L)),(L=L.nodeName?[L]:Array.isArray(L)?L:[].slice.call(L)).forEach(function(ce,Pe){var et=ei.extend(!0,{},re.opts);if(function Fe(L,re,ce,Pe){function et(Be,Qe){null!==(Qe=void 0!==Qe?Qe:L.getAttribute(""===Pe?Be:Pe+"-"+Be))&&("string"==typeof Qe&&(0===Be.indexOf("on")?Qe=je[Qe]:"false"===Qe?Qe=!1:"true"===Qe&&(Qe=!0)),ce[Be]=Qe)}if(!0===re.importDataAttributes){var lt,jt,Jt,ie,We=L.getAttribute(Pe);if(We&&""!==We&&(We=We.replace(/'/g,'"'),jt=JSON.parse("{"+We+"}")),jt)for(ie in Jt=void 0,jt)if("alias"===ie.toLowerCase()){Jt=jt[ie];break}for(lt in et("alias",Jt),ce.alias&&De(ce.alias,ce,re),re){if(jt)for(ie in Jt=void 0,jt)if(ie.toLowerCase()===lt.toLowerCase()){Jt=jt[ie];break}et(lt,Jt)}}return ei.extend(!0,re,ce),("rtl"===L.dir||re.rightAlign)&&(L.style.textAlign="right"),("rtl"===L.dir||re.numericInput)&&(L.dir="ltr",L.removeAttribute("dir"),re.isRTL=!0),Object.keys(ce).length}(ce,et,ei.extend(!0,{},re.userOptions),re.dataAttribute)){var We=Si(et,re.noMasksCache);void 0!==We&&(void 0!==ce.inputmask&&(ce.inputmask.opts.autoUnmask=!0,ce.inputmask.remove()),ce.inputmask=new ot(void 0,void 0,!0),ce.inputmask.opts=et,ce.inputmask.noMasksCache=re.noMasksCache,ce.inputmask.userOptions=ei.extend(!0,{},re.userOptions),ce.inputmask.el=ce,ce.inputmask.$el=ei(ce),ce.inputmask.maskset=We,ei.data(ce,Pt,re.userOptions),Lt.call(ce.inputmask))}}),L&&L[0]&&L[0].inputmask||this},option:function(L,re){return"string"==typeof L?this.opts[L]:"object"==typeof L?(ei.extend(this.userOptions,L),this.el&&!0!==re&&this.mask(this.el),this):void 0},unmaskedvalue:function(L){if(this.maskset=this.maskset||Si(this.opts,this.noMasksCache),void 0===this.el||void 0!==L){var re=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,L,this.opts)||L).split("");Ge.call(this,void 0,!1,!1,re),"function"==typeof this.opts.onBeforeWrite&&this.opts.onBeforeWrite.call(this,void 0,tn.call(this),0,this.opts)}return mn.call(this,this.el)},remove:function(){if(this.el){ei.data(this.el,Pt,null);var L=this.opts.autoUnmask?mn(this.el):this._valueGet(this.opts.autoUnmask);L!==En.call(this).join("")?this._valueSet(L,this.opts.autoUnmask):this._valueSet(""),Ln_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}):qt.__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||Si(this.opts,this.noMasksCache),(this.isRTL?En.call(this).reverse():En.call(this)).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||Si(this.opts,this.noMasksCache),It.call(this,tn.call(this))},getmetadata:function(){if(this.maskset=this.maskset||Si(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var L=X.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach(function(re){return re.mask!==L||(L=re,!1)}),L}return this.maskset.metadata},isValid:function(L){if(this.maskset=this.maskset||Si(this.opts,this.noMasksCache),L){var re=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,L,this.opts)||L).split("");Ge.call(this,void 0,!0,!1,re)}else L=this.isRTL?tn.call(this).slice().reverse().join(""):tn.call(this).join("");for(var ce=tn.call(this),Pe=Xt.call(this),et=ce.length-1;et>Pe&&!Tn.call(this,et);et--);return ce.splice(Pe,et+1-Pe),It.call(this,ce)&&L===(this.isRTL?tn.call(this).slice().reverse().join(""):tn.call(this).join(""))},format:function(L,re){this.maskset=this.maskset||Si(this.opts,this.noMasksCache);let ce=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,L,this.opts)||L).split("");Ge.call(this,void 0,!0,!1,ce);let Pe=this.isRTL?tn.call(this).slice().reverse().join(""):tn.call(this).join("");return re?{value:Pe,metadata:this.getmetadata()}:Pe},setValue:function(L){this.el&&ei(this.el).trigger("setvalue",[L])},analyseMask:function hr(L,re,ce){const Pe=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,et=/\[\^?]?(?:[^\\\]]+|\\[\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 jt,Jt,Qe,ct,Mt,Dt,We=!1,lt=new Go,ie=[],Be=[],fn=!1;function un(Ci,_i,ar){var Zi=Ci.matches[(ar=void 0!==ar?ar:Ci.matches.length)-1];if(re){if(0===_i.indexOf("[")||We&&/\\d|\\s|\\w|\\p/i.test(_i)||"."===_i){let Nr=ce.casing?"i":"";/^\\p\{.*}$/i.test(_i)&&(Nr+="u"),Ci.matches.splice(ar++,0,{fn:new RegExp(_i,Nr),static:!1,optionality:!1,newBlockMarker:void 0===Zi?"master":Zi.def!==_i,casing:null,def:_i,placeholder:void 0,nativeDef:_i})}else We&&(_i=_i[_i.length-1]),_i.split("").forEach(function(Nr,Hr){Zi=Ci.matches[ar-1],Ci.matches.splice(ar++,0,{fn:/[a-z]/i.test(ce.staticDefinitionSymbol||Nr)?new RegExp("["+(ce.staticDefinitionSymbol||Nr)+"]",ce.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===Zi?"master":Zi.def!==Nr&&!0!==Zi.static,casing:null,def:ce.staticDefinitionSymbol||Nr,placeholder:void 0!==ce.staticDefinitionSymbol?Nr:void 0,nativeDef:(We?"'":"")+Nr})});We=!1}else{var jr=ce.definitions&&ce.definitions[_i]||ce.usePrototypeDefinitions&&tt.prototype.definitions[_i];jr&&!We?Ci.matches.splice(ar++,0,{fn:jr.validator?"string"==typeof jr.validator?new RegExp(jr.validator,ce.casing?"i":""):new function(){this.test=jr.validator}:new RegExp("."),static:jr.static||!1,optionality:jr.optional||!1,defOptionality:jr.optional||!1,newBlockMarker:void 0===Zi||jr.optional?"master":Zi.def!==(jr.definitionSymbol||_i),casing:jr.casing,def:jr.definitionSymbol||_i,placeholder:jr.placeholder,nativeDef:_i,generated:jr.generated}):(Ci.matches.splice(ar++,0,{fn:/[a-z]/i.test(ce.staticDefinitionSymbol||_i)?new RegExp("["+(ce.staticDefinitionSymbol||_i)+"]",ce.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===Zi?"master":Zi.def!==_i&&!0!==Zi.static,casing:null,def:ce.staticDefinitionSymbol||_i,placeholder:void 0!==ce.staticDefinitionSymbol?_i:void 0,nativeDef:(We?"'":"")+_i}),We=!1)}}function $n(){if(ie.length>0){if(un(ct=ie[ie.length-1],Jt),ct.isAlternator){Mt=ie.pop();for(var Ci=0;Ci0?(ct=ie[ie.length-1]).matches.push(Mt):lt.matches.push(Mt)}}else un(lt,Jt)}function Mo(Ci){var _i=new Go(!0);return _i.openGroup=!1,_i.matches=Ci,_i}function po(){if((Qe=ie.pop()).openGroup=!1,void 0!==Qe)if(ie.length>0){if((ct=ie[ie.length-1]).matches.push(Qe),ct.isAlternator){let _i=(Mt=ie.pop()).matches[0].matches?Mt.matches[0].matches.length:1;for(var Ci=0;Ci0?(ct=ie[ie.length-1]).matches.push(Mt):lt.matches.push(Mt)}}else lt.matches.push(Qe);else $n()}function uo(Ci){var _i=Ci.pop();return _i.isQuantifier&&(_i=Mo([Ci.pop(),_i])),_i}for(re&&(ce.optionalmarker[0]=void 0,ce.optionalmarker[1]=void 0);jt=re?et.exec(L):Pe.exec(L);){if(Jt=jt[0],re){switch(Jt.charAt(0)){case"?":Jt="{0,1}";break;case"+":case"*":Jt="{"+Jt+"}";break;case"|":if(0===ie.length){var Po=Mo(lt.matches);Po.openGroup=!0,ie.push(Po),lt.matches=[],fn=!0}}switch(Jt){case"\\d":Jt="[0-9]";break;case"\\p":Jt+=et.exec(L)[0],Jt+=et.exec(L)[0]}}if(We)$n();else switch(Jt.charAt(0)){case"$":case"^":re||$n();break;case ce.escapeChar:We=!0,re&&$n();break;case ce.optionalmarker[1]:case ce.groupmarker[1]:po();break;case ce.optionalmarker[0]:ie.push(new Go(!1,!0));break;case ce.groupmarker[0]:ie.push(new Go(!0));break;case ce.quantifiermarker[0]:var Co=new Go(!1,!1,!0),Vo=(Jt=Jt.replace(/[{}?]/g,"")).split("|"),So=Vo[0].split(","),Yo=isNaN(So[0])?So[0]:parseInt(So[0]),Or=1===So.length?Yo:isNaN(So[1])?So[1]:parseInt(So[1]),Lr=isNaN(Vo[1])?Vo[1]:parseInt(Vo[1]);("*"===Yo||"+"===Yo)&&(Yo="*"===Or?0:1),Co.quantifier={min:Yo,max:Or,jit:Lr};var fi=ie.length>0?ie[ie.length-1].matches:lt.matches;(jt=fi.pop()).isGroup||(jt=Mo([jt])),fi.push(jt),fi.push(Co);break;case ce.alternatormarker:if(ie.length>0){var fr=(ct=ie[ie.length-1]).matches[ct.matches.length-1];Dt=ct.openGroup&&(void 0===fr.matches||!1===fr.isGroup&&!1===fr.isAlternator)?ie.pop():uo(ct.matches)}else Dt=uo(lt.matches);if(Dt.isAlternator)ie.push(Dt);else if(Dt.alternatorGroup?(Mt=ie.pop(),Dt.alternatorGroup=!1):Mt=new Go(!1,!1,!1,!0),Mt.matches.push(Dt),ie.push(Mt),Dt.openGroup){Dt.openGroup=!1;var Er=new Go(!0);Er.alternatorGroup=!0,ie.push(Er)}break;default:$n()}}for(fn&&po();ie.length>0;)Qe=ie.pop(),lt.matches.push(Qe);return lt.matches.length>0&&(function In(Ci){Ci&&Ci.matches&&Ci.matches.forEach(function(_i,ar){var Zi=Ci.matches[ar+1];(void 0===Zi||void 0===Zi.matches||!1===Zi.isQuantifier)&&_i&&_i.isGroup&&(_i.isGroup=!1,re||(un(_i,ce.groupmarker[0],0),!0!==_i.openGroup&&un(_i,ce.groupmarker[1]))),In(_i)})}(lt),Be.push(lt)),(ce.numericInput||ce.isRTL)&&function vo(Ci){for(var ar in Ci.matches=Ci.matches.reverse(),Ci.matches)if(Object.prototype.hasOwnProperty.call(Ci.matches,ar)){var Zi=parseInt(ar);if(Ci.matches[ar].isQuantifier&&Ci.matches[Zi+1]&&Ci.matches[Zi+1].isGroup){var jr=Ci.matches[ar];Ci.matches.splice(ar,1),Ci.matches.splice(Zi+1,0,jr)}Ci.matches[ar]=void 0!==Ci.matches[ar].matches?vo(Ci.matches[ar]):((Nr=Ci.matches[ar])===ce.optionalmarker[0]?Nr=ce.optionalmarker[1]:Nr===ce.optionalmarker[1]?Nr=ce.optionalmarker[0]:Nr===ce.groupmarker[0]?Nr=ce.groupmarker[1]:Nr===ce.groupmarker[1]&&(Nr=ce.groupmarker[0]),Nr)}var Nr;return Ci}(Be[0]),Be}},ot.extendDefaults=function(L){ei.extend(!0,ot.prototype.defaults,L)},ot.extendDefinitions=function(L){ei.extend(!0,ot.prototype.definitions,L)},ot.extendAliases=function(L){ei.extend(!0,ot.prototype.aliases,L)},ot.format=function(L,re,ce){return ot(re).format(L,ce)},ot.unmask=function(L,re){return ot(re).unmaskedvalue(L)},ot.isValid=function(L,re){return ot(re).isValid(L)},ot.remove=function(L){"string"==typeof L&&(L=qt.getElementById(L)||qt.querySelectorAll(L)),(L=L.nodeName?[L]:L).forEach(function(re){re.inputmask&&re.inputmask.remove()})},ot.setValue=function(L,re){"string"==typeof L&&(L=qt.getElementById(L)||qt.querySelectorAll(L)),(L=L.nodeName?[L]:L).forEach(function(ce){ce.inputmask?ce.inputmask.setValue(re):ei(ce).trigger("setvalue",[re])})},ot.dependencyLib=ei,je.Inputmask=ot;const tt=ot,en=tt.dependencyLib;class Xn{constructor(re,ce,Pe){this.mask=re,this.format=ce,this.opts=Pe,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,ce){let Pe;for(ao(ce).lastIndex=0;Pe=ao(ce).exec(this.format);){let lt,et=new RegExp("\\d+$").exec(Pe[0]),We=et?Pe[0][0]+"x":Pe[0];if(void 0!==re){if(et){let jt=ao(ce).lastIndex,Jt=Gi(Pe.index,ce);ao(ce).lastIndex=jt,lt=re.slice(0,re.indexOf(Jt.nextMatch[0]))}else lt=re.slice(0,_n[We]&&_n[We][4]||We.length);re=re.slice(lt.length)}Object.prototype.hasOwnProperty.call(_n,We)&&this.setValue(this,lt,We,_n[We][2],_n[We][1])}}setValue(re,ce,Pe,et,We){if(void 0!==ce&&(re[et]="ampm"===et?ce:ce.replace(/[^0-9]/g,"0"),re["raw"+et]=ce.replace(/\s/g,"_")),void 0!==We){let lt=re[et];("day"===et&&29===parseInt(lt)||"month"===et&&2===parseInt(lt))&&29===parseInt(re.day)&&2===parseInt(re.month)&&(""===re.year||void 0===re.year)&&re._date.setFullYear(2012,1,29),"day"===et&&(zt=!0,0===parseInt(lt)&&(lt=1)),"month"===et&&(zt=!0),"year"===et&&(zt=!0,lt.length<4&&(lt=bo(lt,4,!0))),""!==lt&&!isNaN(lt)&&We.call(re._date,lt),"ampm"===et&&We.call(re._date,lt)}}reset(){this._date=new Date(1,0,1)}reInit(){this._date=void 0}}let sn=(new Date).getFullYear(),zt=!1,_n={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 bo(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",function(L){let re=L?parseInt(L):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(L){let re=L?parseInt(L):0;return re>0&&re--,Date.prototype.setMonth.call(this,re)},"month",function(){return bo(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return bo(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return bo(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 bo(Date.prototype.getHours.call(this),2)}],hx:[function(L){return`[0-9]{${L}}`},Date.prototype.setHours,"hours",function(L){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 bo(Date.prototype.getHours.call(this),2)}],Hx:[function(L){return`[0-9]{${L}}`},Date.prototype.setHours,"hours",function(L){return function(){return bo(Date.prototype.getHours.call(this),L)}}],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 bo(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 bo(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return bo(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return bo(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",an,"ampm",Wn,1],tt:["[ap]m",an,"ampm",Wn,2],T:["[AP]",an,"ampm",Wn,1],TT:["[AP]M",an,"ampm",Wn,2],Z:[".*",void 0,"Z",function Jn(){let{1:re}=this.toString().match(/\((.+)\)/);return re.includes(" ")&&(re=re.replace("-"," ").toUpperCase(),re=re.split(" ").map(([ce])=>ce).join("")),re}],o:[""],S:[""]},kt={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 an(L){const re=this.getHours();L.toLowerCase().includes("p")?this.setHours(re+12):L.toLowerCase().includes("a")&&re>=12&&this.setHours(re-12)}function Wn(){let re=this.getHours();return re=re||12,re>=12?"PM":"AM"}function Do(L){var re=new RegExp("\\d+$").exec(L[0]);if(re&&void 0!==re[0]){var ce=_n[L[0][0]+"x"].slice("");return ce[0]=ce[0](re[0]),ce[3]=ce[3](re[0]),ce}if(_n[L[0]])return _n[L[0]]}function ao(L){if(!L.tokenizer){var re=[],ce=[];for(var Pe in _n)if(/\.*x$/.test(Pe)){var et=Pe[0]+"\\d+";-1===ce.indexOf(et)&&ce.push(et)}else-1===re.indexOf(Pe[0])&&re.push(Pe[0]);L.tokenizer="("+(ce.length>0?ce.join("|")+"|":"")+re.join("+|")+")+?|.",L.tokenizer=new RegExp(L.tokenizer,"g")}return L.tokenizer}function On(L,re,ce){if(!zt)return!0;if(void 0===L.rawday||!isFinite(L.rawday)&&new Date(L.date.getFullYear(),isFinite(L.rawmonth)?L.month:L.date.getMonth()+1,0).getDate()>=L.day||"29"==L.day&&(!isFinite(L.rawyear)||void 0===L.rawyear||""===L.rawyear)||new Date(L.date.getFullYear(),isFinite(L.rawmonth)?L.month:L.date.getMonth()+1,0).getDate()>=L.day)return re;if("29"==L.day){var Pe=Gi(re.pos,ce);if("yyyy"===Pe.targetMatch[0]&&re.pos-Pe.targetMatchIndex==2)return re.remove=re.pos+1,re}else if("02"==L.month&&"30"==L.day&&void 0!==re.c)return L.day="03",L.date.setDate(3),L.date.setMonth(1),re.insert=[{pos:re.pos,c:"0"},{pos:re.pos+1,c:re.c}],re.caret=gn.call(this,re.pos+1),re;return!1}function Ro(L,re,ce,Pe){var We,lt,et="";for(ao(ce).lastIndex=0;We=ao(ce).exec(L);)if(void 0===re)if(lt=Do(We))et+="("+lt[0]+")";else switch(We[0]){case"[":et+="(";break;case"]":et+=")?";break;default:et+=pi(We[0])}else(lt=Do(We))?et+=!0!==Pe&<[3]?lt[3].call(re.date):lt[2]?re["raw"+lt[2]]:We[0]:et+=We[0];return et}function bo(L,re,ce){for(L=String(L),re=re||2;L.length=L+1){Pe=et,et=ao(re).exec(re.inputFormat);break}}return{targetMatchIndex:ce-We,nextMatch:et,targetMatch:Pe}}tt.extendAliases({datetime:{mask:function(L){return L.numericInput=!1,_n.S=L.i18n.ordinalSuffix.join("|"),L.inputFormat=kt[L.inputFormat]||L.inputFormat,L.displayFormat=kt[L.displayFormat]||L.displayFormat||L.inputFormat,L.outputFormat=kt[L.outputFormat]||L.outputFormat||L.inputFormat,L.placeholder=""!==L.placeholder?L.placeholder:L.inputFormat.replace(/[[\]]/,""),L.regex=Ro(L.inputFormat,void 0,L),L.min=$i(L.min,L.inputFormat,L),L.max=$i(L.max,L.inputFormat,L),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(L,re,ce,Pe,et,We,lt,jt){if(jt)return!0;if(isNaN(ce)&&L[re]!==ce){var Jt=Gi(re,et);if(Jt.nextMatch&&Jt.nextMatch[0]===ce&&Jt.targetMatch[0].length>1&&new RegExp(_n[Jt.targetMatch[0]][0]).test("0"+L[re-1]))return L[re]=L[re-1],L[re-1]="0",{fuzzy:!0,buffer:L,refreshFromBuffer:{start:re-1,end:re+1},pos:re+1}}return!0},postValidation:function(L,re,ce,Pe,et,We,lt,jt){const Jt=this;if(lt)return!0;var ie,Be;if(!1===Pe&&(((ie=Gi(re+1,et)).targetMatch&&ie.targetMatchIndex===re&&ie.targetMatch[0].length>1&&void 0!==_n[ie.targetMatch[0]]||(ie=Gi(re+2,et)).targetMatch&&ie.targetMatchIndex===re+1&&ie.targetMatch[0].length>1&&void 0!==_n[ie.targetMatch[0]])&&(Be=_n[ie.targetMatch[0]][0]),void 0!==Be&&(void 0!==We.validPositions[re+1]&&new RegExp(Be).test(ce+"0")?(L[re]=ce,L[re+1]="0",Pe={pos:re+2,caret:re}):new RegExp(Be).test("0"+ce)&&(L[re]="0",L[re+1]=ce,Pe={pos:re+2})),!1===Pe))return Pe;if(Pe.fuzzy&&(L=Pe.buffer,re=Pe.pos),(ie=Gi(re,et)).targetMatch&&ie.targetMatch[0]&&void 0!==_n[ie.targetMatch[0]]){let fn=_n[ie.targetMatch[0]];Be=fn[0];var Qe=L.slice(ie.targetMatchIndex,ie.targetMatchIndex+ie.targetMatch[0].length);if(!1===new RegExp(Be).test(Qe.join(""))&&2===ie.targetMatch[0].length&&We.validPositions[ie.targetMatchIndex]&&We.validPositions[ie.targetMatchIndex+1]&&(We.validPositions[ie.targetMatchIndex+1].input="0"),"year"==fn[2]){var ct=X.call(Jt,!1,1,void 0,!0);for(let un=re+1;un=jt.getTime())&&(L.date.setFullYear(sn),L.year=Pe,re.insert=[{pos:re.pos+1,c:lt[0]},{pos:re.pos+2,c:lt[1]}])}}return re}(Dt,Mt,et)),Mt=function ni(L,re,ce,Pe){if(!re)return re;if(re&&ce.min&&!isNaN(ce.min.date.getTime())){let Qe;for(L.reset(),ao(ce).lastIndex=0;Qe=ao(ce).exec(ce.inputFormat);){var We;if((We=Do(Qe))&&We[3]){var lt=We[1],jt=L[We[2]],Jt=ce.min[We[2]],ie=ce.max?ce.max[We[2]]:Jt,Be=[];let ct=!1;for(let Mt=0;MtJt[Mt]):(Be[Mt]=Jt[Mt],"year"===We[2]&&jt.length-1==Mt&&Jt!=ie&&(Be=(parseInt(Be.join(""))+1).toString().split("")),"ampm"===We[2]&&Jt!=ie&&ce.min.date.getTime()>L.date.getTime()&&(Be[Mt]=ie[Mt]));lt.call(L._date,Be.join(""))}}re=ce.min.date.getTime()<=L.date.getTime(),L.reInit()}return re&&ce.max&&(isNaN(ce.max.date.getTime())||(re=ce.max.date.getTime()>=L.date.getTime())),re}(Dt,Mt=On.call(Jt,Dt,Mt,et),et,We)),void 0!==re&&Mt&&Pe.pos!==re?{buffer:Ro(et.inputFormat,Dt,et).split(""),refreshFromBuffer:{start:re,end:Pe.pos},pos:Pe.caret||Pe.pos}:Mt},onKeyDown:function(L,re,ce,Pe){L.ctrlKey&&L.key===E.ArrowRight&&(this.inputmask._valueSet(yi(new Date,Pe)),en(this).trigger("setvalue"))},onUnMask:function(L,re,ce){return re&&Ro(ce.outputFormat,$i(L,ce.inputFormat,ce),ce,!0)},casing:function(L,re,ce,Pe){return 0==re.nativeDef.indexOf("[ap]")?L.toLowerCase():0==re.nativeDef.indexOf("[AP]")?L.toUpperCase():L},onBeforeMask:function(L,re){return"[object Date]"===Object.prototype.toString.call(L)&&(L=yi(L,re)),L},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}});var tr=i(35043),Sr=i(84341);const wi=tt.dependencyLib;function mr(L,re){for(var ce="",Pe=0;Pe0&&re>0&&(!ce.digitsOptional||Pe)){var et=L.indexOf(ce.radixPoint),We=!1;ce.negationSymbol.back===L[L.length-1]&&(We=!0,L.length--),-1===et&&(L.push(ce.radixPoint),et=L.length-1);for(var lt=1;lt<=re;lt++)isFinite(L[et+lt])||(L[et+lt]="0")}return We&&L.push(ce.negationSymbol.back),L}function kr(L,re){var ce=0;for(var Pe in"+"===L&&(ce=gn.call(this,re.validPositions.length-1)),re.tests)if((Pe=parseInt(Pe))>=ce)for(var et=0,We=re.tests[Pe].length;et1&&(L.placeholder=L.placeholder.charAt(0)),"radixFocus"===L.positionCaretOnClick&&""===L.placeholder&&(L.positionCaretOnClick="lvp");var re="0",ce=L.radixPoint;!0===L.numericInput&&void 0===L.__financeInput?(re="1",L.positionCaretOnClick="radixFocus"===L.positionCaretOnClick?"lvp":L.positionCaretOnClick,L.digitsOptional=!1,isNaN(L.digits)&&(L.digits=2),L._radixDance=!1,ce=","===L.radixPoint?"?":"!",""!==L.radixPoint&&void 0===L.definitions[ce]&&(L.definitions[ce]={},L.definitions[ce].validator="["+L.radixPoint+"]",L.definitions[ce].placeholder=L.radixPoint,L.definitions[ce].static=!0,L.definitions[ce].generated=!0)):(L.__financeInput=!1,L.numericInput=!0);var et,Pe="[+]";if(Pe+=mr(L.prefix,L),""!==L.groupSeparator?(void 0===L.definitions[L.groupSeparator]&&(L.definitions[L.groupSeparator]={},L.definitions[L.groupSeparator].validator="["+L.groupSeparator+"]",L.definitions[L.groupSeparator].placeholder=L.groupSeparator,L.definitions[L.groupSeparator].static=!0,L.definitions[L.groupSeparator].generated=!0),Pe+=L._mask(L)):Pe+="9{+}",void 0!==L.digits&&0!==L.digits){var We=L.digits.toString().split(",");isFinite(We[0])&&We[1]&&isFinite(We[1])?Pe+=ce+re+"{"+L.digits+"}":(isNaN(L.digits)||parseInt(L.digits)>0)&&(L.digitsOptional||L.jitMasking?(et=Pe+ce+re+"{0,"+L.digits+"}",L.keepStatic=!0):Pe+=ce+re+"{"+L.digits+"}")}else L.inputmode="numeric";return Pe+=mr(L.suffix,L),Pe+="[-]",et&&(Pe=[et+mr(L.suffix,L)+"[-]",Pe]),L.greedy=!1,function Yt(L){void 0===L.parseMinMaxOptions&&(null!==L.min&&(L.min=L.min.toString().replace(new RegExp(pi(L.groupSeparator),"g"),""),","===L.radixPoint&&(L.min=L.min.replace(L.radixPoint,".")),L.min=isFinite(L.min)?parseFloat(L.min):NaN,isNaN(L.min)&&(L.min=Number.MIN_VALUE)),null!==L.max&&(L.max=L.max.toString().replace(new RegExp(pi(L.groupSeparator),"g"),""),","===L.radixPoint&&(L.max=L.max.replace(L.radixPoint,".")),L.max=isFinite(L.max)?parseFloat(L.max):NaN,isNaN(L.max)&&(L.max=Number.MAX_VALUE)),L.parseMinMaxOptions="done")}(L),""!==L.radixPoint&&L.substituteRadixPoint&&(L.substitutes["."==L.radixPoint?",":"."]=L.radixPoint),Pe},_mask:function(L){return"("+L.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:gi},1:{validator:gi,definitionSymbol:"9"},9:{validator:"[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]",definitionSymbol:"*"},"+":{validator:function(L,re,ce,Pe,et){return et.allowMinus&&("-"===L||L===et.negationSymbol.front)}},"-":{validator:function(L,re,ce,Pe,et){return et.allowMinus&&L===et.negationSymbol.back}}},preValidation:function(L,re,ce,Pe,et,We,lt,jt){const Jt=this;if(!1!==et.__financeInput&&ce===et.radixPoint)return!1;var ie=L.indexOf(et.radixPoint),Be=re;if(re=function Ho(L,re,ce,Pe,et){return et._radixDance&&et.numericInput&&re!==et.negationSymbol.back&&L<=ce&&(ce>0||re==et.radixPoint)&&(void 0===Pe.validPositions[L-1]||Pe.validPositions[L-1].input!==et.negationSymbol.back)&&(L-=1),L}(re,ce,ie,We,et),"-"===ce||ce===et.negationSymbol.front){if(!0!==et.allowMinus)return!1;var Qe=!1,ct=Wr("+",We),Mt=Wr("-",We);return-1!==ct&&(Qe=[ct,Mt]),!1!==Qe?{remove:Qe,caret:Be-et.negationSymbol.back.length}:{insert:[{pos:kr.call(Jt,"+",We),c:et.negationSymbol.front,fromIsValid:!0},{pos:kr.call(Jt,"-",We),c:et.negationSymbol.back,fromIsValid:void 0}],caret:Be+et.negationSymbol.back.length}}if(ce===et.groupSeparator)return{caret:Be};if(jt)return!0;if(-1!==ie&&!0===et._radixDance&&!1===Pe&&ce===et.radixPoint&&void 0!==et.digits&&(isNaN(et.digits)||parseInt(et.digits)>0)&&ie!==re)return{caret:et._radixDance&&re===ie-1?ie+1:ie};if(!1===et.__financeInput)if(Pe){if(et.digitsOptional)return{rewritePosition:lt.end};if(!et.digitsOptional){if(lt.begin>ie&<.end<=ie)return ce===et.radixPoint?{insert:{pos:ie+1,c:"0",fromIsValid:!0},rewritePosition:ie}:{rewritePosition:ie+1};if(lt.begin0&&""===this.__valueGet.call(this.el))return{rewritePosition:ie};return{rewritePosition:re}},postValidation:function(L,re,ce,Pe,et,We,lt){if(!1===Pe)return Pe;if(lt)return!0;if(null!==et.min||null!==et.max){var jt=et.onUnMask(L.slice().reverse().join(""),void 0,wi.extend({},et,{unmaskAsNumber:!0}));if(null!==et.min&&jtet.min.toString().length||jt<0))return!1;if(null!==et.max&&jt>et.max)return!!et.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:Ki(et.max.toString().replace(".",et.radixPoint).split(""),et.digits,et).reverse()}}return Pe},onUnMask:function(L,re,ce){if(""===re&&!0===ce.nullable)return re;var Pe=L.replace(ce.prefix,"");return Pe=(Pe=Pe.replace(ce.suffix,"")).replace(new RegExp(pi(ce.groupSeparator),"g"),""),""!==ce.placeholder.charAt(0)&&(Pe=Pe.replace(new RegExp(ce.placeholder.charAt(0),"g"),"0")),ce.unmaskAsNumber?(""!==ce.radixPoint&&-1!==Pe.indexOf(ce.radixPoint)&&(Pe=Pe.replace(pi.call(this,ce.radixPoint),".")),Pe=(Pe=Pe.replace(new RegExp("^"+pi(ce.negationSymbol.front)),"-")).replace(new RegExp(pi(ce.negationSymbol.back)+"$"),""),Number(Pe)):Pe},isComplete:function(L,re){var ce=(re.numericInput?L.slice().reverse():L).join("");return ce=(ce=(ce=(ce=(ce=ce.replace(new RegExp("^"+pi(re.negationSymbol.front)),"-")).replace(new RegExp(pi(re.negationSymbol.back)+"$"),"")).replace(re.prefix,"")).replace(re.suffix,"")).replace(new RegExp(pi(re.groupSeparator)+"([0-9]{3})","g"),"$1"),","===re.radixPoint&&(ce=ce.replace(pi(re.radixPoint),".")),isFinite(ce)},onBeforeMask:function(L,re){var ce=re.radixPoint||",";isFinite(re.digits)&&(re.digits=parseInt(re.digits)),("number"==typeof L||"number"===re.inputType)&&""!==ce&&(L=L.toString().replace(".",ce));var Pe="-"===L.charAt(0)||L.charAt(0)===re.negationSymbol.front,et=L.split(ce),We=et[0].replace(/[^\-0-9]/g,""),lt=et.length>1?et[1].replace(/[^0-9]/g,""):"",jt=et.length>1;L=We+(""!==lt?ce+lt:lt);var Jt=0;if(""!==ce&&(Jt=re.digitsOptional?re.digitsre.max&&(L=re.max.toString().replace(".",ce))}return Pe&&"-"!==L.charAt(0)&&(L="-"+L),Ki(L.toString().split(""),Jt,re,jt).join("")},onBeforeWrite:function(L,re,ce,Pe){function et(ct,Mt){if(!1!==Pe.__financeInput||Mt){var Dt=ct.indexOf(Pe.radixPoint);-1!==Dt&&ct.splice(Dt,1)}if(""!==Pe.groupSeparator)for(;-1!==(Dt=ct.indexOf(Pe.groupSeparator));)ct.splice(Dt,1);return ct}let We,lt;if(Pe.stripLeadingZeroes&&(lt=function xi(L,re){var ce=new RegExp("(^"+(""!==re.negationSymbol.front?pi(re.negationSymbol.front)+"?":"")+pi(re.prefix)+")(.*)("+pi(re.suffix)+(""!=re.negationSymbol.back?pi(re.negationSymbol.back)+"?":"")+"$)").exec(L.slice().reverse().join("")),Pe=ce?ce[2]:"",et=!1;return Pe&&(Pe=Pe.split(re.radixPoint.charAt(0))[0],et=new RegExp("^[0"+re.groupSeparator+"]*").exec(Pe)),!(!et||!(et[0].length>1||et[0].length>0&&et[0].length0;Dt--)delete this.maskset.validPositions[ct+Dt],delete re[ct+Dt]}if(L)switch(L.type){case"blur":case"checkval":if(null!==Pe.min){var jt=Pe.onUnMask(re.slice().reverse().join(""),void 0,wi.extend({},Pe,{unmaskAsNumber:!0}));if(null!==Pe.min&&jt1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(lt)),et.trigger("setvalue"),!1;if(L.ctrlKey)switch(L.key){case E.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(Pe.step)),et.trigger("setvalue"),!1;case E.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(Pe.step)),et.trigger("setvalue"),!1}if(!L.shiftKey&&(L.key===E.Delete||L.key===E.Backspace||L.key===E.BACKSPACE_SAFARI)&&ce.begin!==re.length){if(re[L.key===E.Delete?ce.begin-1:ce.end]===Pe.negationSymbol.front)return We=re.slice().reverse(),""!==Pe.negationSymbol.front&&We.shift(),""!==Pe.negationSymbol.back&&We.pop(),et.trigger("setvalue",[We.join(""),ce.begin]),!1;if(!0===Pe._radixDance){var Jt=re.indexOf(Pe.radixPoint);if(Pe.digitsOptional){if(0===Jt)return(We=re.slice().reverse()).pop(),et.trigger("setvalue",[We.join(""),ce.begin>=We.length?We.length:ce.begin]),!1}else if(-1!==Jt&&(ce.begin=We.length?Jt+1:ce.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(L){return"("+L.groupSeparator+"99){*|1}("+L.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}});const Ii=["*"],qi=["kirby-input",""],bi=["kirby-textarea",""];function Rr(L,re){1&L&&e.SdG(0,0,["*ngIf","!value"])}function Fi(L,re){if(1&L&&(e.qex(0),e.EFF(1),e.bVm()),2&L){const ce=e.XpG();e.R7$(),e.JRh(ce.value)}}const ri=[[["kirby-input-counter"]],[["","kirby-affix","prefix"]],[["input","kirby-input",""]],[["textarea","kirby-textarea",""]],[["kirby-radio-group"]],[["","kirby-affix","suffix"]]],is=["kirby-input-counter","[kirby-affix='prefix']","input[kirby-input]","textarea[kirby-textarea]","kirby-radio-group","[kirby-affix='suffix']"];function wr(L,re){1&L&&e.eu8(0)}function xr(L,re){1&L&&e.eu8(0)}function Zr(L,re){if(1&L&&(e.j41(0,"label"),e.DNE(1,wr,1,0,"ng-container",5)(2,xr,1,0,"ng-container",5),e.k0s()),2&L){e.XpG();const ce=e.sdS(4),Pe=e.sdS(6);e.R7$(),e.Y8G("ngTemplateOutlet",Pe),e.R7$(),e.Y8G("ngTemplateOutlet",ce)}}function Kr(L,re){1&L&&e.eu8(0)}function Mr(L,re){1&L&&e.eu8(0)}function Fs(L,re){if(1&L&&(e.qex(0),e.DNE(1,Kr,1,0,"ng-container",5)(2,Mr,1,0,"ng-container",5),e.bVm()),2&L){e.XpG();const ce=e.sdS(4),Pe=e.sdS(8);e.R7$(),e.Y8G("ngTemplateOutlet",Pe),e.R7$(),e.Y8G("ngTemplateOutlet",ce)}}function es(L,re){if(1&L&&e.nrm(0,"kirby-form-field-message",9),2&L){const ce=e.XpG(2);e.Y8G("text",ce.message)}}function Cr(L,re){1&L&&(e.j41(0,"div",10),e.SdG(1),e.k0s())}function Dr(L,re){if(1&L&&(e.j41(0,"div",6),e.DNE(1,es,1,1,"kirby-form-field-message",7)(2,Cr,2,0,"div",8),e.k0s()),2&L){const ce=e.XpG();e.R7$(),e.Y8G("ngIf",void 0!==ce.message),e.R7$(),e.Y8G("ngIf",ce.counter)}}function rs(L,re){1&L&&(e.qex(0),e.nrm(1,"kirby-icon",14),e.bVm())}function ys(L,re){if(1&L&&(e.j41(0,"div",11)(1,"div",12),e.SdG(2,1),e.k0s(),e.SdG(3,2),e.SdG(4,3),e.SdG(5,4),e.j41(6,"div",13),e.SdG(7,5),e.DNE(8,rs,2,0,"ng-container",3),e.k0s()()),2&L){const ce=e.XpG();e.R7$(8),e.Y8G("ngIf",ce.showDefaultCalendarIcon)}}function _r(L,re){if(1&L&&(e.qex(0),e.j41(1,"span",15),e.EFF(2),e.k0s(),e.bVm()),2&L){const ce=e.XpG(2);e.R7$(2),e.JRh(ce.label)}}function Pr(L,re){if(1&L&&e.DNE(0,_r,3,1,"ng-container",3),2&L){const ce=e.XpG();e.Y8G("ngIf",ce.label)}}function ts(L,re){if(1&L){const ce=e.RV6();e.qex(0),e.j41(1,"label",16),e.bIt("click",function(){e.eBV(ce);const et=e.XpG(2);return e.Njj(et.onLabelClick())}),e.EFF(2),e.k0s(),e.bVm()}if(2&L){const ce=e.XpG(2);e.R7$(),e.Y8G("id",ce._labelId),e.R7$(),e.JRh(ce.label)}}function hi(L,re){if(1&L&&e.DNE(0,ts,3,2,"ng-container",3),2&L){const ce=e.XpG();e.Y8G("ngIf",ce.label)}}let yt=(()=>{var L;class re{constructor(Pe){this.el=Pe}}return(L=re).\u0275fac=function(Pe){return new(Pe||L)(e.rXU(e.aKT))},L.\u0275dir=e.FsC({type:L,selectors:[["","kirby-affix",""]],inputs:{type:[0,"kirby-affix","type"]},standalone:!0}),re})(),Wt=(()=>{var L;class re{onInput(){this.isDateInput&&this.enableInputMask&&this.updateMask(this.elementRef.nativeElement.value)}constructor(Pe,et,We){this.elementRef=Pe,this.renderer=et,this.locale=We,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 Pe=this.getInputFormat(),et=this.getPlaceholder(Pe);this.renderer.setAttribute(this.elementRef.nativeElement,"placeholder",et),new tt("datetime",{inputFormat:Pe,placeholder:et,prefillYear:this.prefillYear}).mask(this.elementRef.nativeElement),this.appendMaskingElement()}getInputFormat(){return(0,a.gq)(this.locale,a.Aq.Short).toLowerCase().replace(/d+/,"dd").replace(/m+/,"mm").replace(/y+/,"yyyy")}getPlaceholder(Pe){return"da"===this.locale?Pe.split("y").join("\xe5"):Pe}appendMaskingElement(){const Pe=this.wrapElement(this.elementRef.nativeElement);this.renderer.addClass(Pe,"date-mask-wrapper"),this.maskingElement=this.renderer.createElement("div"),this.renderer.appendChild(Pe,this.maskingElement),this.renderer.addClass(this.maskingElement,"date-mask")}wrapElement(Pe){const et=this.renderer.createElement("div");return this.renderer.insertBefore(Pe.parentElement,et,Pe),this.renderer.appendChild(et,Pe),et}updateMask(Pe){if(!this.maskingElement)return;const et=Pe.match(/.*?(\d)[^\d]*$/);this.maskingElement.innerHTML=Pe?Pe.slice(0,Pe.lastIndexOf(et[1])+1):""}}return(L=re).\u0275fac=function(Pe){return new(Pe||L)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.xe9))},L.\u0275dir=e.FsC({type:L,hostBindings:function(Pe,et){1&Pe&&e.bIt("input",function(){return et.onInput()})},inputs:{prefillYear:"prefillYear",useNativeDatePicker:"useNativeDatePicker"},standalone:!0}),re})(),Pn=(()=>{var L;class re{constructor(){this.position="left"}}return(L=re).\u0275fac=function(Pe){return new(Pe||L)},L.\u0275cmp=e.VBU({type:L,selectors:[["kirby-form-field-message"]],inputs:{text:"text",position:"position"},ngContentSelectors:Ii,decls:2,vars:1,template:function(Pe,et){1&Pe&&(e.NAR(),e.EFF(0),e.SdG(1)),2&Pe&&e.SpI("",et.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}),re})(),Zt=(()=>{var L;class re{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(Pe=>{this.length=Pe.length}))}ngOnDestroy(){this._inputChangeSubscription&&this._inputChangeSubscription.unsubscribe()}}return(L=re).\u0275fac=function(Pe){return new(Pe||L)},L.\u0275cmp=e.VBU({type:L,selectors:[["kirby-input-counter"]],inputs:{listenTo:"listenTo"},decls:1,vars:1,consts:[[3,"text"]],template:function(Pe,et){1&Pe&&e.nrm(0,"kirby-form-field-message",0),2&Pe&&e.Y8G("text",et.text)},dependencies:[Pn],encapsulation:2}),re})();var Cn=function(L){return L.medium="md",L.large="lg",L}(Cn||{});let ro=(()=>{var L;class re{constructor(Pe){this.elementRef=Pe,this.kirbyChange=new e.bkB,this.size=Cn.large,this.autocomplete="off",this.autocorrect="off"}ngOnInit(){setTimeout(()=>{const Pe=this.elementRef.nativeElement.value;Pe&&this.kirbyChange.emit(Pe)})}set type(Pe){const et=re.typeToInputmodeMap[Pe];et&&!this.inputmode&&(this.inputmode=et)}_onKeyUp(Pe){this.kirbyChange.emit(Pe)}_onCutPaste(Pe){setTimeout(()=>this.kirbyChange.emit(Pe.value))}ngOnChanges(Pe){Pe.value&&this.kirbyChange.emit(Pe.value.currentValue)}}return(L=re).typeToInputmodeMap={number:"decimal",search:"search"},L.\u0275fac=function(Pe){return new(Pe||L)(e.rXU(e.aKT))},L.\u0275cmp=e.VBU({type:L,selectors:[["input","kirby-input",""]],hostVars:11,hostBindings:function(Pe,et){1&Pe&&e.bIt("keyup",function(lt){return et._onKeyUp(lt.target.value)})("paste",function(lt){return et._onCutPaste(lt.target)})("cut",function(lt){return et._onCutPaste(lt.target)}),2&Pe&&(e.BMQ("autocomplete",et.autocomplete)("autocorrect",et.autocorrect)("value",et.value)("maxlength",et.maxlength)("inputmode",et.inputmode),e.HbH(et.size),e.AVh("borderless",et.borderless)("error",et.hasError))},inputs:{type:"type",size:"size",borderless:"borderless",hasError:"hasError",autocomplete:"autocomplete",autocorrect:"autocorrect",value:"value",maxlength:"maxlength",inputmode:"inputmode"},standalone:!0,features:[e.nM4([{directive:Wt,inputs:["prefillYear","prefillYear","useNativeDatePicker","useNativeDatePicker"]}]),e.OA$,e.aNF],attrs:qi,decls:0,vars:0,template:function(Pe,et){},dependencies:[a.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;z-index:1}[_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;z-index:1}}[_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%] -no-combinator[_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}),re})(),go=(()=>{var L;class re{constructor(){this.kirbyChange=new e.bkB,this.autocomplete="off",this.autocorrect="off"}_onKeyUp(Pe){this.kirbyChange.emit(Pe)}_onCutPaste(Pe){setTimeout(()=>this.kirbyChange.emit(Pe.value))}ngOnChanges(Pe){Pe.value&&this.kirbyChange.emit(Pe.value.currentValue)}}return(L=re).\u0275fac=function(Pe){return new(Pe||L)},L.\u0275cmp=e.VBU({type:L,selectors:[["textarea","kirby-textarea",""]],hostVars:7,hostBindings:function(Pe,et){1&Pe&&e.bIt("keyup",function(lt){return et._onKeyUp(lt.target.value)})("paste",function(lt){return et._onCutPaste(lt.target)})("cut",function(lt){return et._onCutPaste(lt.target)}),2&Pe&&(e.BMQ("autocomplete",et.autocomplete)("autocorrect",et.autocorrect)("maxlength",et.maxlength),e.AVh("borderless",et.borderless)("error",et.hasError))},inputs:{value:"value",borderless:"borderless",hasError:"hasError",autocomplete:"autocomplete",autocorrect:"autocorrect",maxlength:"maxlength"},standalone:!0,features:[e.OA$,e.aNF],attrs:bi,ngContentSelectors:Ii,decls:2,vars:2,consts:[[4,"ngIf"]],template:function(Pe,et){1&Pe&&(e.NAR(),e.DNE(0,Rr,1,0,"ng-content",0)(1,Fi,2,1,"ng-container",0)),2&Pe&&(e.Y8G("ngIf",!et.value),e.R7$(),e.Y8G("ngIf",et.value))},dependencies:[a.MD,a.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;z-index:1}[_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;z-index:1}}[_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%] -no-combinator[_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}),re})(),so=(()=>{var L;class re{constructor(Pe,et,We,lt,jt){this.platform=et,this.renderer=We,this.windowRef=lt,this.resizeObserverService=jt,this.isRegistered=!1,this.showDefaultCalendarIcon=!1,this._labelId=t.KA.scopedTo("kirby-form-field-label").next(),this.element=Pe.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&&this.radioGroupComponent.focus()}focus(){this.inputElement&&setTimeout(()=>{if(this.isTouch){const Pe=new TouchEvent("touchstart"),et=new TouchEvent("touchend");this.inputElement.dispatchEvent(Pe),this.inputElement.dispatchEvent(et)}else this.inputElement.focus()})}ngOnInit(){this.isTouch=this.platform.isTouch()}ngAfterContentInit(){this.label&&this.radioGroupElement&&this.renderer.setAttribute(this.radioGroupElement.nativeElement,"aria-labelledby",this._labelId),this.input&&this.affixElements.forEach(Pe=>{this.resizeObserverService.observe(Pe.el,et=>{const We="prefix"===Pe.type?"padding-left":"padding-right",lt="date"===this.input.nativeElement.type?0:et.contentRect.width,jt=parseInt(l.Q.size("s"));this.renderer.setStyle(this.input.nativeElement,`${We}`,`${lt+jt}px`)})})}ngAfterContentChecked(){this.inputElement||(this.inputElement=this.element.querySelector("input, textarea")),!this.isRegistered&&this.element.isConnected&&this.inputElement&&!this.inputElement.readOnly&&(this.isRegistered=!0,this.dispatchLoadEvent()),this.showDefaultCalendarIcon=this.shouldShowDefaultCalendarIcon()}shouldShowDefaultCalendarIcon(){return this.dateInput?.useNativeDatePicker&&!this.affixElements.some(Pe=>"suffix"===Pe.type)}ngOnDestroy(){this.windowRef.nativeWindow.document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.element})),this.affixElements.forEach(Pe=>{this.resizeObserverService.unobserve(Pe.el)})}}return(L=re).\u0275fac=function(Pe){return new(Pe||L)(e.rXU(e.aKT),e.rXU(t.fP),e.rXU(e.sFG),e.rXU(p.W),e.rXU(d.ke))},L.\u0275cmp=e.VBU({type:L,selectors:[["kirby-form-field"]],contentQueries:function(Pe,et,We){if(1&Pe&&(e.wni(We,Zt,5),e.wni(We,M.Y2,5),e.wni(We,M.Y2,5,e.aKT),e.wni(We,ro,5,e.aKT),e.wni(We,go,5,e.aKT),e.wni(We,Wt,5),e.wni(We,yt,4)),2&Pe){let lt;e.mGM(lt=e.lsd())&&(et.counter=lt.first),e.mGM(lt=e.lsd())&&(et.radioGroupComponent=lt.first),e.mGM(lt=e.lsd())&&(et.radioGroupElement=lt.first),e.mGM(lt=e.lsd())&&(et.input=lt.first),e.mGM(lt=e.lsd())&&(et.textarea=lt.first),e.mGM(lt=e.lsd())&&(et.dateInput=lt.first),e.mGM(lt=e.lsd())&&(et.affixElements=lt)}},hostBindings:function(Pe,et){1&Pe&&e.bIt("kirbyRegisterFormField",function(){return et._onRegisterFormField()})},inputs:{label:"label",message:"message"},ngContentSelectors:is,decls:9,vars:3,consts:[["slottedInputTemplate",""],["labelTextTemplate",""],["labelTemplate",""],[4,"ngIf"],["class","texts",4,"ngIf"],[4,"ngTemplateOutlet"],[1,"texts"],["class","message",3,"text",4,"ngIf"],["class","counter",4,"ngIf"],[1,"message",3,"text"],[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(Pe,et){1&Pe&&(e.NAR(ri),e.DNE(0,Zr,3,2,"label",3)(1,Fs,3,2,"ng-container",3)(2,Dr,3,2,"div",4)(3,ys,9,1,"ng-template",null,0,e.C5r)(5,Pr,1,1,"ng-template",null,1,e.C5r)(7,hi,1,1,"ng-template",null,2,e.C5r)),2&Pe&&(e.Y8G("ngIf",et._wrapContentInLabel),e.R7$(),e.Y8G("ngIf",!et._wrapContentInLabel),e.R7$(),e.Y8G("ngIf",void 0!==et.message||et.counter))},dependencies:[a.bT,a.T3,tr.Rl,Pn],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:4px;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}),re})(),Wo=(()=>{var L;class re{set allowMinus(Pe){this._allowMinus=Pe||(this.min||0)<0}set disableGroupSeperator(Pe){this._groupSeperatorDisabled=""===String(Pe)||"true"===String(Pe)}set maxlength(Pe){this._maxlength=Pe;const et=parseInt("9".repeat(Pe));this.max=this.getMax(et),this.min=this.getMin(et)}constructor(Pe,et){this.elementRef=Pe,this.locale=et,this.precision=2,this.setMaxOnOverflow=!1,this.alignment="right",this.groupSeparator=(0,a.a)(this.locale,a.gz.Group),this.radixPoint=(0,a.a)(this.locale,a.gz.Decimal),this._allowMinus=!1,this.onChange=We=>{}}ngOnInit(){this.elementRef.nativeElement.setAttribute("type","text"),this.elementRef.nativeElement.removeAttribute("maxlength"),this.initMask()}writeValue(Pe){if(!this.inputmask)return;const et=String(Pe).replace(".",this.radixPoint);this.inputmask.setValue(et)}registerOnChange(Pe){this.onChange=Pe}registerOnTouched(Pe){}setDisabledState(Pe){this.elementRef.nativeElement.disabled=Pe}initMask(){new tt("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.a)(this.locale,a.gz.MinusSign),back:""},SetMaxOnOverflow:this.setMaxOnOverflow,showMaskOnFocus:!1,showMaskOnHover:!1,placeholder:"",rightAlign:"right"===this.alignment,onBeforeWrite:()=>{if(!this.inputmask)return;const Pe=this.inputmask.unmaskedvalue();this.onChange(Pe.replace(this.radixPoint,"."))}}).mask(this.elementRef.nativeElement),this.inputmask=this.elementRef.nativeElement.inputmask}getMax(Pe){return void 0===this.max?Pe:Math.min(this.max,Pe)}getMin(Pe){if(this.allowMinus)return Pe=-Math.abs(Pe),void 0===this.min?Pe:-Math.abs(Math.max(this.min,Pe))}}return(L=re).\u0275fac=function(Pe){return new(Pe||L)(e.rXU(e.aKT),e.rXU(e.xe9))},L.\u0275dir=e.FsC({type:L,selectors:[["","kirby-decimal-mask",""]],inputs:{min:"min",max:"max",precision:"precision",setMaxOnOverflow:"setMaxOnOverflow",alignment:"alignment",allowMinus:"allowMinus",disableGroupSeperator:"disableGroupSeperator",maxlength:"maxlength"},standalone:!0,features:[e.Jv_([{provide:Sr.kq,multi:!0,useExisting:L}])]}),re})(),Jo=(()=>{var L;class re{}return(L=re).\u0275fac=function(Pe){return new(Pe||L)},L.\u0275mod=e.$C({type:L}),L.\u0275inj=e.G2t({imports:[a.MD,tr.op]}),re})()},52375:(Ze,z,i)=>{"use strict";i.d(z,{GC:()=>qe,eg:()=>gt,lZ:()=>Je,mx:()=>_t,vg:()=>mn,w0:()=>Ke});var e=i(54438),t=i(21413),l=i(29660),M=i(28287),d=i(8346),p=i(72882),a=i(60177),_=i(13339);const v=["titleElement"],E=["actionsElement"],u=[[["kirby-avatar"],["kirby-progress-circle"]],[["kirby-flag"]]],O=["kirby-avatar,kirby-progress-circle","kirby-flag"],A=Bt=>({$implicit:Bt});function $(Bt,It){1&Bt&&(e.j41(0,"div",13),e.SdG(1),e.k0s())}function K(Bt,It){1&Bt&&(e.qex(0),e.SdG(1,1),e.bVm())}function X(Bt,It){1&Bt&&e.eu8(0)}function J(Bt,It){if(1&Bt&&(e.qex(0),e.j41(1,"div",16),e.DNE(2,X,1,0,"ng-container",17),e.k0s(),e.bVm()),2&Bt){const Nn=e.XpG(2);e.R7$(2),e.Y8G("ngTemplateOutlet",Nn.customFlagTemplate)}}function G(Bt,It){if(1&Bt&&(e.j41(0,"div",14),e.DNE(1,K,2,0,"ng-container",15)(2,J,3,1,"ng-container",15),e.k0s()),2&Bt){const Nn=e.XpG();e.R7$(),e.Y8G("ngIf",!!Nn.flag),e.R7$(),e.Y8G("ngIf",!!Nn.customFlagTemplate)}}function fe(Bt,It){1&Bt&&e.eu8(0)}function he(Bt,It){if(1&Bt){const Nn=e.RV6();e.j41(0,"h1",18,1),e.bIt("click",function(xo){e.eBV(Nn);const Kn=e.XpG();return e.Njj(Kn.onTitleClick(xo))}),e.EFF(2),e.DNE(3,fe,1,0,"ng-container",17),e.k0s()}if(2&Bt){const Nn=e.XpG();e.AVh("clickable",!1!==Nn.hasInteractiveTitle&&Nn.titleClick.observed)("has-icon",!!Nn.titleActionIconTemplate),e.R7$(2),e.SpI(" ",Nn.title," "),e.R7$(),e.Y8G("ngTemplateOutlet",Nn.titleActionIconTemplate)}}function Me(Bt,It){if(1&Bt&&(e.j41(0,"h1",19,1),e.EFF(2),e.k0s()),2&Bt){const Nn=e.XpG();e.Y8G("kirbyFitHeading",Nn.fitHeadingConfig),e.R7$(2),e.SpI(" ",Nn.title," ")}}function ke(Bt,It){if(1&Bt&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&Bt){const Nn=e.XpG(2);e.R7$(),e.JRh(Nn.valueUnit)}}function be(Bt,It){if(1&Bt&&(e.j41(0,"h3",20),e.EFF(1),e.DNE(2,ke,2,1,"span",21),e.k0s()),2&Bt){const Nn=e.XpG();e.Y8G("kirbyFitHeading",Nn.fitHeadingConfig),e.R7$(),e.JRh(Nn.value),e.R7$(),e.Y8G("ngIf",!!Nn.valueUnit)}}function Ne(Bt,It){1&Bt&&e.eu8(0)}function je(Bt,It){1&Bt&&e.eu8(0)}function it(Bt,It){1&Bt&&e.eu8(0)}function pt(Bt,It){if(1&Bt&&(e.j41(0,"div",23),e.DNE(1,it,1,0,"ng-container",17),e.k0s()),2&Bt){const Nn=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",Nn.customSectionTemplate)}}function Ye(Bt,It){1&Bt&&e.eu8(0)}function St(Bt,It){if(1&Bt&&(e.j41(0,"div",24,2),e.DNE(2,Ye,1,0,"ng-container",25),e.k0s()),2&Bt){const Nn=e.XpG();e.AVh("emphasize",Nn.emphasizeActions),e.R7$(2),e.Y8G("ngTemplateOutlet",Nn.actionsTemplate)("ngTemplateOutletInjector",Nn._actionGroupInjector)}}function mt(Bt,It){if(1&Bt&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&Bt){const Nn=It.$implicit;e.R7$(),e.JRh(Nn)}}function at(Bt,It){if(1&Bt&&(e.j41(0,"div",27),e.DNE(1,mt,2,1,"span",28),e.k0s()),2&Bt){const Nn=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",Nn)}}function Ge(Bt,It){1&Bt&&e.DNE(0,at,2,1,"div",26),2&Bt&&e.Y8G("ngIf",!!It.$implicit)}let gt=(()=>{var Bt;class It{}return(Bt=It).\u0275fac=function(Hn){return new(Hn||Bt)},Bt.\u0275dir=e.FsC({type:Bt,selectors:[["","kirbyHeaderActions",""]]}),It})(),mn=(()=>{var Bt;class It{}return(Bt=It).\u0275fac=function(Hn){return new(Hn||Bt)},Bt.\u0275dir=e.FsC({type:Bt,selectors:[["","kirbyHeaderCustomSection",""]]}),It})(),_t=(()=>{var Bt;class It{}return(Bt=It).\u0275fac=function(Hn){return new(Hn||Bt)},Bt.\u0275dir=e.FsC({type:Bt,selectors:[["","kirbyHeaderTitleActionIcon",""]]}),It})(),Ke=(()=>{var Bt;class It{}return(Bt=It).\u0275fac=function(Hn){return new(Hn||Bt)},Bt.\u0275dir=e.FsC({type:Bt,selectors:[["","kirbyHeaderCustomFlag",""]]}),It})(),Je=(()=>{var Bt;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(Hn){this.titleClick.emit(Hn)}constructor(Hn){this.injector=Hn,this.emphasizeActions=!1,this.titleClick=new e.bkB,this.title$=new t.B}ngOnInit(){this.actionGroupConfig={defaultVisibleActions:this.emphasizeActions?void 0:1},this._actionGroupInjector=e.zZn.create({providers:[{provide:l.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(Hn){Hn.title&&this.title$.next(Hn.title.currentValue)}}return(Bt=It).\u0275fac=function(Hn){return new(Hn||Bt)(e.rXU(e.zZn))},Bt.\u0275cmp=e.VBU({type:Bt,selectors:[["kirby-header"]],contentQueries:function(Hn,xo,Kn){if(1&Hn&&(e.wni(Kn,M.f,5),e.wni(Kn,p.Z,5),e.wni(Kn,d.q,5),e.wni(Kn,gt,5,e.C4Q),e.wni(Kn,mn,5,e.C4Q),e.wni(Kn,Ke,5,e.C4Q),e.wni(Kn,_t,5,e.C4Q)),2&Hn){let xt;e.mGM(xt=e.lsd())&&(xo.avatar=xt.first),e.mGM(xt=e.lsd())&&(xo.progressCircle=xt.first),e.mGM(xt=e.lsd())&&(xo.flag=xt.first),e.mGM(xt=e.lsd())&&(xo.actionsTemplate=xt.first),e.mGM(xt=e.lsd())&&(xo.customSectionTemplate=xt.first),e.mGM(xt=e.lsd())&&(xo.customFlagTemplate=xt.first),e.mGM(xt=e.lsd())&&(xo.titleActionIconTemplate=xt.first)}},viewQuery:function(Hn,xo){if(1&Hn&&(e.GBs(v,5,e.aKT),e.GBs(E,5,e.aKT)),2&Hn){let Kn;e.mGM(Kn=e.lsd())&&(xo.titleElement=Kn.first),e.mGM(Kn=e.lsd())&&(xo.actionsElement=Kn.first)}},hostVars:2,hostBindings:function(Hn,xo){2&Hn&&e.AVh("centered",xo.centered)},inputs:{centered:"centered",titleMaxLines:"titleMaxLines",emphasizeActions:"emphasizeActions",title:"title",value:"value",valueUnit:"valueUnit",subtitle1:"subtitle1",subtitle2:"subtitle2",hasInteractiveTitle:"hasInteractiveTitle"},outputs:{titleClick:"titleClick"},features:[e.OA$],ngContentSelectors:O,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(Hn,xo){if(1&Hn&&(e.NAR(u),e.DNE(0,$,2,0,"div",3)(1,G,3,2,"div",4),e.j41(2,"div",5),e.DNE(3,he,4,6,"h1",6),e.j41(4,"div",7),e.DNE(5,Me,3,2,"h1",8)(6,be,3,3,"h3",9)(7,Ne,1,0,"ng-container",10)(8,je,1,0,"ng-container",10)(9,pt,2,1,"div",11),e.k0s(),e.DNE(10,St,3,4,"div",12),e.k0s(),e.DNE(11,Ge,1,1,"ng-template",null,0,e.C5r)),2&Hn){const Kn=e.sdS(12);e.Y8G("ngIf",!!xo.avatar||!!xo.progressCircle),e.R7$(),e.Y8G("ngIf",!!xo.flag||!!xo.customFlagTemplate),e.R7$(2),e.Y8G("ngIf",!!xo.title&&!!xo.value),e.R7$(2),e.Y8G("ngIf",!!xo.title&&!xo.value),e.R7$(),e.Y8G("ngIf",!!xo.value),e.R7$(),e.Y8G("ngTemplateOutlet",Kn)("ngTemplateOutletContext",e.eq3(11,A,xo._subtitles1)),e.R7$(),e.Y8G("ngTemplateOutlet",Kn)("ngTemplateOutletContext",e.eq3(13,A,xo._subtitles2)),e.R7$(),e.Y8G("ngIf",!!xo.customSectionTemplate),e.R7$(),e.Y8G("ngIf",!!xo.actionsTemplate)}},dependencies:[a.Sq,a.bT,a.T3,_.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)[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto max-content;column-gap:24px}[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has( > .actions)[_ngcontent-%COMP%] .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)[_ngcontent-%COMP%]{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)[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{align-self:flex-start}.centered[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has( > .actions)[_ngcontent-%COMP%] > h1.title[_ngcontent-%COMP%], .centered[_nghost-%COMP%]:not(.single-column) .container[_ngcontent-%COMP%]:has( > .actions)[_ngcontent-%COMP%] .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}),It})(),qe=(()=>{var Bt;class It{}return(Bt=It).\u0275fac=function(Hn){return new(Hn||Bt)},Bt.\u0275mod=e.$C({type:Bt}),Bt.\u0275inj=e.G2t({imports:[a.MD]}),It})()},53715:(Ze,z,i)=>{"use strict";i.d(z,{A4:()=>E,KA:()=>A,O0:()=>a,aD:()=>K,bg:()=>v,cO:()=>J,ez:()=>X,fP:()=>_,wF:()=>O});var e=i(10467),t=i(19402),l=i(54438),M=i(35519),d=i(90617);const a=(G,fe,he)=>{switch(G?.nodeName){case void 0:case he?.toUpperCase():return!1;case fe.toUpperCase():return!0;default:return a(G.parentElement,fe,he)}};let _=(()=>{var G;class fe{constructor(Me){this.windowRef=Me}isTouch(){return this.windowRef.nativeWindow.matchMedia("(pointer: coarse)").matches}isPhabletOrBigger(){return this.windowRef.nativeWindow.matchMedia(`(min-width: ${t.Q.breakpoints.medium})`).matches}}return(G=fe).\u0275fac=function(Me){return new(Me||G)(l.KVO(M.W))},G.\u0275prov=l.jDH({token:G,factory:G.\u0275fac,providedIn:"root"}),fe})();const v=G=>"type"in G;function E(G){let fe;return null===G?fe=G:G instanceof Date?fe=new Date(G.getTime()):Array.isArray(G)?(fe=[],G.forEach(he=>{fe.push(he)}),fe=fe.map(he=>E(he))):"object"==typeof G?(fe={...G},Object.keys(fe).forEach(he=>{fe[he]=E(fe[he])})):fe=G,fe}function u(G,fe,he={mergeArrays:!1}){const Me=ke=>ke&&"object"==typeof ke;return[G,fe].reduce((ke,be)=>(Object.keys(be).forEach(Ne=>{const je=ke[Ne],it=be[Ne];ke[Ne]=Array.isArray(je)&&Array.isArray(it)?he.mergeArrays?je.concat(it):it:Me(je)&&Me(it)?u(je,it):it}),ke),{})}function O(...G){return G.filter(he=>void 0!==he).reduce((he,Me)=>u(he,Me))}class A{constructor(fe){this.scope=fe,this.id=0}static scopedTo(fe){let he=A.registry.get(fe);return he||(he=new A(fe),A.registry.set(fe,he)),he}next(){return`${this.scope}-${this.id++}`}}A.registry=new Map;const $=Object.freeze({className:"kirby-line-clamp",lineClamp:"--line-clamp",lineHeight:"--line-height"});let K=(()=>{var G;class fe{constructor(Me){this.renderer=Me}setMaxLines(Me,ke){this.renderer.setStyle(Me,$.lineClamp,ke,l.czy.DashCase),this.renderer.addClass(Me,$.className)}setLineHeight(Me,ke){this.renderer.setStyle(Me,$.lineHeight,ke,l.czy.DashCase)}removeLineClamp(Me){this.renderer.removeClass(Me,$.className),this.renderer.removeStyle(Me,$.lineClamp),this.renderer.removeStyle(Me,$.lineHeight)}}return(G=fe).\u0275fac=function(Me){return new(Me||G)(l.KVO(l.sFG))},G.\u0275prov=l.jDH({token:G,factory:G.\u0275fac}),fe})();var X;!function(G){let fe;var he;(he=fe=G.Duration||(G.Duration={}))[he.QUICK=parseInt(t.Q.transitionDuration("quick"))]="QUICK",he[he.SHORT=parseInt(t.Q.transitionDuration("short"))]="SHORT",he[he.LONG=parseInt(t.Q.transitionDuration("long"))]="LONG",he[he.EXTRA_LONG=parseInt(t.Q.transitionDuration("extraLong"))]="EXTRA_LONG",G.Easing=t.Q.transitionEasings()}(X||(X={}));let J=(()=>{var G;class fe{constructor(Me){this.renderer=Me}setPart(Me,ke,be){var Ne=this;return(0,e.A)(function*(){yield customElements.whenDefined(ke.nativeElement.localName);const it=(yield new Promise(pt=>{(0,d.K6)(ke.nativeElement,Ye=>pt(Ye))})).shadowRoot.querySelector(be);it&&Ne.renderer.setAttribute(it,"part",Me)})()}}return(G=fe).\u0275fac=function(Me){return new(Me||G)(l.KVO(l.sFG))},G.\u0275prov=l.jDH({token:G,factory:G.\u0275fac}),fe})()},35043:(Ze,z,i)=>{"use strict";i.d(z,{Rl:()=>E,lK:()=>v,o$:()=>d,op:()=>u,uF:()=>_});var e=i(54438),t=i(51272);const M={icons:(()=>{const A=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"}].sort(($,K)=>A.compare($.name,K.name))})()},d=M.icons.map(O=>O.name),p="assets/kirby/icons/svg/",a=new e.nKC("BUILT_IN_ICONS_URL",{factory:()=>p});let _=(()=>{var O;class A{constructor(K){this.builtInIconsUrl=K,this.iconRegistry=new Map,this.addDefaultIcons()}addIcon(K,X){this.iconRegistry.has(K)?console.warn(`Icon with name: "${K}" already exists`):this.iconRegistry.set(K,X)}addIcons(K){K?K.forEach(X=>{this.addIcon(X.name,X.svg)}):console.error("Icons not defined")}addDefaultIcons(){const K=this.builtInIconsUrl??p,X=K.endsWith("/")?K:K+"/";M.icons.forEach(({name:J,svg:G})=>{this.addIcon(J,X+G)})}getIcons(){return[...this.iconRegistry].map(K=>({name:K[0],svg:K[1]}))}getIcon(K){const X=this.iconRegistry.get(K);return X?{name:K,svg:X}:void 0}}return(O=A).\u0275fac=function(K){return new(K||O)(e.KVO(a))},O.\u0275prov=e.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),A})();var v=function(O){return O.XS="xs",O.SM="sm",O.MD="md",O.LG="lg",O}(v||{});let E=(()=>{var O;class A{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){this.iconRegistryService=K,this.defaultIcon=this.iconRegistryService.getIcon("cog"),this._icon=this.icon=this.defaultIcon}ngOnChanges(K){K.name&&K.name.currentValue&&(this.icon=this.iconRegistryService.getIcon(K.name.currentValue))}}return(O=A).\u0275fac=function(K){return new(K||O)(e.rXU(_))},O.\u0275cmp=e.VBU({type:O,selectors:[["kirby-icon"]],hostVars:4,hostBindings:function(K,X){2&K&&(e.HbH(X.size),e.AVh("kirby-icon",!0))},inputs:{size:"size",name:"name"},features:[e.OA$],decls:1,vars:1,consts:[[3,"src"]],template:function(K,X){1&K&&e.nrm(0,"ion-icon",0),2&K&&e.Y8G("src",null==X.icon?null:X.icon.svg)},dependencies:[t.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}),A})(),u=(()=>{var O;class A{}return(O=A).\u0275fac=function(K){return new(K||O)},O.\u0275mod=e.$C({type:O}),O.\u0275inj=e.G2t({imports:[t.iq]}),A})()},67155:(Ze,z,i)=>{"use strict";i.d(z,{_:()=>M});var e=i(60177),t=i(54438);const l=["*"];let M=(()=>{var d;class p{constructor(){this.role="group"}}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=t.VBU({type:d,selectors:[["kirby-item-group"]],hostVars:1,hostBindings:function(_,v){2&_&&t.BMQ("role",v.role)},standalone:!0,features:[t.aNF],ngContentSelectors:l,decls:1,vars:0,template:function(_,v){1&_&&(t.NAR(),t.SdG(0))},dependencies:[e.MD],styles:["[_nghost-%COMP%]{display:block}"]}),p})()},84584:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>E});var e=i(60177),t=i(54438),l=i(35043),M=i(51272);const d=["*"];function p(u,O){if(1&u&&t.nrm(0,"kirby-icon",6),2&u){const A=t.XpG(2).$implicit;t.Y8G("name",A.icon)}}function a(u,O){if(1&u){const A=t.RV6();t.j41(0,"ion-item-option",4),t.bIt("click",function(){t.eBV(A);const K=t.XpG().$implicit,X=t.XpG(2);return t.Njj(X.onSwipeActionClick(K))}),t.DNE(1,p,1,1,"kirby-icon",5),t.j41(2,"ion-label"),t.EFF(3),t.k0s()()}if(2&u){const A=t.XpG().$implicit;t.Y8G("ngClass",A.type),t.R7$(),t.Y8G("ngIf",void 0!==A.icon),t.R7$(2),t.JRh(A.title)}}function _(u,O){if(1&u&&(t.qex(0),t.DNE(1,a,4,3,"ion-item-option",3),t.bVm()),2&u){const A=O.$implicit;t.R7$(),t.Y8G("ngIf",!A.isDisabled)}}function v(u,O){if(1&u&&(t.j41(0,"ion-item-options",1),t.DNE(1,_,2,1,"ng-container",2),t.k0s()),2&u){const A=t.XpG();t.Y8G("side",A._side),t.R7$(),t.Y8G("ngForOf",A.swipeActions)}}let E=(()=>{var u;class O{constructor(){this._side="start"}set side($){this._side="left"===$?"start":"end"}get _hasSwipeActions(){return this.swipeActions?.length>0}onSwipeActionClick($){$.onSelected(),this.itemSliding.close()}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["kirby-item-sliding"]],viewQuery:function($,K){if(1&$&&t.GBs(M.A7,7),2&$){let X;t.mGM(X=t.lsd())&&(K.itemSliding=X.first)}},inputs:{swipeActions:"swipeActions",side:"side"},standalone:!0,features:[t.aNF],ngContentSelectors:d,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){1&$&&(t.NAR(),t.j41(0,"ion-item-sliding"),t.SdG(1),t.DNE(2,v,2,2,"ion-item-options",0),t.k0s()),2&$&&(t.R7$(2),t.Y8G("ngIf",K._hasSwipeActions))},dependencies:[l.op,l.Rl,e.MD,e.YU,e.Sq,e.bT,M.A7,M.CE,M.LU,M.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}"]}),O})()},81365:(Ze,z,i)=>{"use strict";i.d(z,{JA:()=>A,UF:()=>$,kA:()=>X});var e=i(54438),t=i(11235),l=i(27037),M=i(35043),d=i(60177),p=i(51272);const a=[[["","slot","outside"]],"*"],_=["[slot='outside']","*"];function v(J,G){1&J&&(e.j41(0,"ion-reorder",4),e.nrm(1,"kirby-icon",5),e.k0s())}function E(J,G){if(1&J&&(e.j41(0,"span",6),e.nrm(1,"kirby-icon",7),e.k0s()),2&J){const fe=e.XpG();e.R7$(),e.AVh("rotate",fe.rotateIcon&&("arrow-down"===fe.disclosure||"arrow-up"===fe.disclosure)),e.FS9("name",fe.disclosure)}}const u=["*"];var O=function(J){return J.XS="xs",J.SM="sm",J.MD="md",J}(O||{});let A=(()=>{var J;class G{constructor(){this.size=O.MD,this.rotateIcon=!1}onMouseDown(he){he.currentTarget instanceof HTMLElement&&he.currentTarget.closest("kirby-dropdown")&&he.preventDefault()}get _isIonicButton(){return this.selectable&&!(this.checkbox||this.radio)}}return(J=G).\u0275fac=function(he){return new(he||J)},J.\u0275cmp=e.VBU({type:J,selectors:[["kirby-item"]],contentQueries:function(he,Me,ke){if(1&he&&(e.wni(ke,t.P,5,e.aKT),e.wni(ke,l.v2,5,e.aKT)),2&he){let be;e.mGM(be=e.lsd())&&(Me.checkbox=be.first),e.mGM(be=e.lsd())&&(Me.radio=be.first)}},hostVars:8,hostBindings:function(he,Me){2&he&&(e.HbH(Me.size),e.AVh("disabled",Me.disabled)("selected",Me.selected)("disclosure",Me.disclosure))},inputs:{disabled:"disabled",selected:"selected",disclosure:"disclosure",selectable:"selectable",reorderable:"reorderable",size:"size",rotateIcon:"rotateIcon"},ngContentSelectors:_,decls:6,vars:4,consts:[["lines","none","detail","false",3,"mousedown","button","disabled"],["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(he,Me){1&he&&(e.NAR(a),e.j41(0,"ion-item",0),e.bIt("mousedown",function(be){return Me.onMouseDown(be)}),e.j41(1,"div",1),e.SdG(2),e.k0s(),e.SdG(3,1),e.DNE(4,v,2,0,"ion-reorder",2)(5,E,2,3,"span",3),e.k0s()),2&he&&(e.Y8G("button",Me._isIonicButton)("disabled",Me.disabled),e.R7$(4),e.Y8G("ngIf",Me.reorderable),e.R7$(),e.Y8G("ngIf",Me.disclosure))},dependencies:[M.Rl,d.bT,p.uz,p.UB],styles:["[_nghost-%COMP%]{display:block;position:relative}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){[_nghost-%COMP%] 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)}}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]:active, [_nghost-%COMP%] 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)}[_nghost-%COMP%] 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){[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >[slot=end]{margin-inline:0;text-align:end}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >[slot=end] kirby-label{text-align:start}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >time[slot=end]{margin-inline-start:12px}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >data[slot=end], [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >[detail][slot=end], [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >ion-reorder[slot=end]{margin-inline-start:16px}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h1, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h2, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h3, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h4, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h5, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h6, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >p, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h1.kirby-text-bold, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h2.kirby-text-bold, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h3.kirby-text-bold, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h4.kirby-text-bold, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h5.kirby-text-bold, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >h6.kirby-text-bold, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >p.kirby-text-bold, [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >data.kirby-text-bold{font-weight:700}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >p{font-size:14px}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >[subtitle], [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >[detail]{font-size:12px;line-height:16px}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >[subtitle]:not(:last-child){margin-bottom:4px}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >[detail]{color:var(--kirby-text-color-semi-dark)}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >[wrap]{white-space:normal}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >:not([slot]){width:100%}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >input[slot=end], [_nghost-%COMP%] ion-item[_ngcontent-%COMP%] >kirby-form-field[slot=end] input{margin-inline-start:16px;width:auto;text-align:end}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--transition: background-color 80ms linear 0ms}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]:has(kirby-checkbox, kirby-radio)[_ngcontent-%COMP%]{--inner-padding-top: 0;--inner-padding-bottom: 0}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]:has(kirby-checkbox:not([slot]), kirby-radio[_ngcontent-%COMP%]:not([slot])){overflow:inherit}.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))[_ngcontent-%COMP%]{--inner-padding-top: 4px;--inner-padding-bottom: 4px}[_nghost-%COMP%] .outside[_ngcontent-%COMP%]{left:4px;margin:0;position:absolute;width:16px;z-index:1}.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}),G})(),$=(()=>{var J;class G{constructor(){this.direction="vertical"}get _direction(){return"horizontal"===this.direction}}return(J=G).\u0275fac=function(he){return new(he||J)},J.\u0275cmp=e.VBU({type:J,selectors:[["kirby-label"]],hostVars:2,hostBindings:function(he,Me){2&he&&e.AVh("horizontal",Me._direction)},inputs:{direction:"direction"},ngContentSelectors:u,decls:2,vars:0,template:function(he,Me){1&he&&(e.NAR(),e.j41(0,"ion-label"),e.SdG(1),e.k0s())},dependencies:[p.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[_ngcontent-%COMP%] >h1, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h1, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h2, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h2, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h3, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h3, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h4, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h4, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h5, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h5, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h6, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h6, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h1.kirby-text-bold, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h1.kirby-text-bold, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h2.kirby-text-bold, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h2.kirby-text-bold, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h3.kirby-text-bold, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h3.kirby-text-bold, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h4.kirby-text-bold, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h4.kirby-text-bold, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h5.kirby-text-bold, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h5.kirby-text-bold, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h6.kirby-text-bold, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >h6.kirby-text-bold, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p.kirby-text-bold, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p.kirby-text-bold, kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data.kirby-text-bold, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data.kirby-text-bold{font-weight:700}kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p, kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p{font-size:14px}kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[subtitle], kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[subtitle], kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[detail], kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[detail]{font-size:12px;line-height:16px}kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[subtitle]:not(:last-child), kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[subtitle]:not(:last-child){margin-bottom:4px}kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[detail], kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[detail]{color:var(--kirby-text-color-semi-dark)}kirby-item[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[wrap], kirby-item [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >[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]), kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >p:not([detail]), kirby-item.selected[_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data:not([detail]), kirby-item.selected [_nghost-%COMP%] ion-label[_ngcontent-%COMP%] >data:not([detail]){font-weight:700}"]}),G})(),X=(()=>{var J;class G{}return(J=G).\u0275fac=function(he){return new(he||J)},J.\u0275mod=e.$C({type:J}),J.\u0275inj=e.G2t({imports:[M.op,d.MD,p.uz,p.UB,p.he]}),G})()},19539:(Ze,z,i)=>{"use strict";i.d(z,{J:()=>a,Z:()=>p});var e=i(54438),t=i(51272),l=i(90617),M=i(60177);const d=["*"];let p=(()=>{var _;class v{ngAfterContentInit(){(0,l.K6)(this.ionAppElement.nativeElement,()=>{this.registerInputs()})}registerInputs(){setTimeout(()=>{document.querySelectorAll("kirby-form-field").forEach(O=>{O.dispatchEvent(new CustomEvent("kirbyRegisterFormField"))})},250)}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=e.VBU({type:_,selectors:[["kirby-app"]],viewQuery:function(u,O){if(1&u&&e.GBs(t.U1,7,e.aKT),2&u){let A;e.mGM(A=e.lsd())&&(O.ionAppElement=A.first)}},ngContentSelectors:d,decls:2,vars:0,template:function(u,O){1&u&&(e.NAR(),e.j41(0,"ion-app"),e.SdG(1),e.k0s())},dependencies:[t.U1],styles:["[_nghost-%COMP%]{inset:0;position:absolute;contain:size layout style;z-index:0;overflow:hidden}"],changeDetection:0}),v})(),a=(()=>{var _;class v{}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275mod=e.$C({type:_}),_.\u0275inj=e.G2t({imports:[M.MD,t.U1]}),v})()},64317:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>a});var e=i(54438),t=i(45531),l=i(51272);const p={mode:"ios",...!(0,t.a)("hybrid")&&{navAnimation:()=>(new l.Hx).create()}};let a=(()=>{var _;class v{}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275mod=e.$C({type:_}),_.\u0275inj=e.G2t({providers:[(0,l._H)(p)]}),v})()},29756:(Ze,z,i)=>{"use strict";i.d(z,{HO:()=>dn,HV:()=>Ln,L9:()=>Un,Pt:()=>ln,Wi:()=>tn,bx:()=>En,px:()=>Xt,qN:()=>$t,sB:()=>gn,yr:()=>Tn});var e=i(54438),t=i(35519),l=i(21413),M=i(33726),d=i(56977),p=i(70152),a=i(5964),_=i(96354),v=i(51272),E=i(53715),u=i(60177),O=i(35043),A=i(90599);const $=[[["","outside",""]],"*"],K=["[outside]","*"],X=["*"],J=Lt=>({$implicit:Lt});function G(Lt,yn){1&Lt&&e.eu8(0)}function fe(Lt,yn){1&Lt&&e.eu8(0)}function he(Lt,yn){if(1&Lt&&e.nrm(0,"kirby-icon",10),2&Lt){const Mn=e.XpG().$implicit,bn=e.XpG(2).$implicit,Bn=e.XpG();e.Y8G("name",Bn._getSwipeActionIcon(Mn,bn))}}function Me(Lt,yn){if(1&Lt){const Mn=e.RV6();e.qex(0),e.j41(1,"ion-item-option",7),e.bIt("click",function(Bn){const yo=e.eBV(Mn).$implicit,oo=e.XpG(2).$implicit,Ko=e.XpG();return e.Njj(Ko._onSwipeActionSelect(yo,oo,Bn))}),e.j41(2,"div",8),e.DNE(3,he,1,1,"kirby-icon",9),e.j41(4,"ion-label"),e.EFF(5),e.k0s()()(),e.bVm()}if(2&Lt){const Mn=yn.$implicit,bn=e.XpG(2).$implicit,Bn=e.XpG();e.R7$(),e.Y8G("ngClass",Bn._getSwipeActionType(Mn,bn)),e.R7$(2),e.Y8G("ngIf",Bn._getSwipeActionIcon(Mn,bn)),e.R7$(2),e.SpI(" ",Bn._getSwipeActionTitle(Mn,bn)," ")}}function ke(Lt,yn){if(1&Lt&&(e.j41(0,"ion-item-options",4)(1,"div",5),e.DNE(2,Me,6,3,"ng-container",6),e.k0s()()),2&Lt){const Mn=e.XpG().$implicit,bn=e.XpG();e.Y8G("side",bn._getSwipeActionEnd(Mn)),e.R7$(2),e.Y8G("ngForOf",bn._getSwipeActions(Mn))}}function be(Lt,yn){if(1&Lt&&e.DNE(0,ke,3,2,"ion-item-options",3),2&Lt){const Mn=yn.$implicit,bn=e.XpG();e.Y8G("ngIf",bn._hasSwipeActions(Mn))}}const Ne=["list"];function je(Lt,yn){1&Lt&&e.eu8(0)}function it(Lt,yn){if(1&Lt&&(e.j41(0,"ion-list-header"),e.DNE(1,je,1,0,"ng-container",10),e.k0s()),2&Lt){const Mn=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",Mn.headerTemplate)}}function pt(Lt,yn){1&Lt&&e.eu8(0)}function Ye(Lt,yn){1&Lt&&e.eu8(0)}function St(Lt,yn){if(1&Lt&&(e.j41(0,"div",11),e.DNE(1,Ye,1,0,"ng-container",10),e.k0s()),2&Lt){const Mn=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",Mn.footerTemplate)}}function mt(Lt,yn){if(1&Lt&&(e.j41(0,"p",12),e.EFF(1),e.k0s()),2&Lt){const Mn=e.XpG();e.R7$(),e.SpI(" ",Mn.noMoreItemsText,"\n")}}function at(Lt,yn){1&Lt&&(e.j41(0,"div",13),e.nrm(1,"kirby-spinner"),e.k0s())}function Ge(Lt,yn){1&Lt&&e.eu8(0)}function gt(Lt,yn){if(1&Lt&&(e.j41(0,"ion-item-divider"),e.DNE(1,Ge,1,0,"ng-container",6),e.k0s()),2&Lt){const Mn=e.XpG().$implicit,bn=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",bn.sectionHeaderTemplate)("ngTemplateOutletContext",e.eq3(2,J,Mn.name))}}function mn(Lt,yn){1&Lt&&e.eu8(0)}function _t(Lt,yn){if(1&Lt&&(e.j41(0,"div",18),e.DNE(1,mn,1,0,"ng-container",6),e.k0s()),2&Lt){const Mn=yn.$implicit,bn=e.XpG(4),Bn=e.sdS(10);e.Y8G("ngClass",bn.standAloneClass()),e.R7$(),e.Y8G("ngTemplateOutlet",Bn)("ngTemplateOutletContext",e.eq3(3,J,Mn))}}function Ke(Lt,yn){if(1&Lt&&(e.qex(0),e.DNE(1,_t,2,5,"div",17),e.bVm()),2&Lt){const Mn=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",Mn.lists)}}function Je(Lt,yn){1&Lt&&e.eu8(0)}function Xe(Lt,yn){if(1&Lt&&(e.j41(0,"div",18),e.DNE(1,Je,1,0,"ng-container",6),e.k0s()),2&Lt){const Mn=e.XpG().$implicit,bn=e.XpG(2),Bn=e.sdS(10);e.Y8G("ngClass",bn.standAloneClass()),e.R7$(),e.Y8G("ngTemplateOutlet",Bn)("ngTemplateOutletContext",e.eq3(3,J,Mn.items))}}function qe(Lt,yn){if(1&Lt&&(e.j41(0,"ion-item-group",15),e.DNE(1,gt,2,4,"ion-item-divider",5)(2,Ke,2,1,"ng-container",16)(3,Xe,2,5,"ng-template",null,3,e.C5r),e.k0s()),2&Lt){const Mn=e.sdS(4),bn=e.XpG(2);e.Y8G("ngClass",bn.standAloneClass()),e.R7$(),e.Y8G("ngIf",bn._isSectionsEnabled),e.R7$(),e.Y8G("ngIf",bn._isSectionsEnabled&&bn._isStandAloneEnabled)("ngIfElse",Mn)}}function Bt(Lt,yn){if(1&Lt&&e.DNE(0,qe,5,4,"ion-item-group",14),2&Lt){const Mn=e.XpG();e.Y8G("ngForOf",Mn._groupedItems)("ngForTrackBy",Mn.sectionTrackBy)}}function It(Lt,yn){if(1&Lt){const Mn=e.RV6();e.j41(0,"kirby-list-item",20),e.bIt("itemSelect",function(Bn){e.eBV(Mn);const yo=e.XpG(2);return e.Njj(yo.onItemSelect(Bn))})("swipeActionSelect",function(Bn){e.eBV(Mn);const yo=e.XpG(2);return e.Njj(yo.onSwipeActionSelect(Bn))}),e.k0s()}if(2&Lt){const Mn=yn.$implicit,bn=yn.index,Bn=e.XpG().$implicit,yo=e.XpG();e.AVh("is-single",1===Bn.length),e.Y8G("item",Mn)("itemTemplate",yo.itemTemplate)("swipeActions",yo.swipeActions)("boundaryClass",yo._getBoundaryClass(bn,Bn))("isSelectable",yo._isSelectable)("getItemColor",yo.getItemColor)("isSelected",yo._isSelectable&&Mn===yo._selectedItem)}}function Nn(Lt,yn){if(1&Lt&&e.DNE(0,It,1,9,"kirby-list-item",19),2&Lt){const Mn=yn.$implicit,bn=e.XpG();e.Y8G("ngForOf",Mn)("ngForTrackBy",bn.trackBy||bn.defaultTrackBy)}}let Kn=(()=>{var Lt;class yn{constructor(bn,Bn,yo){this.elementRef=bn,this.windowRef=Bn,this.zone=yo,this.scrollEnd=new e.bkB,this.disabled=!1,this.scroll$=new l.B,this.ngUnsubscribe$=new l.B,this.offset=.8}ngAfterViewInit(){this.scroll$.pipe((0,d.Q)(this.ngUnsubscribe$),(0,p.B)(100),(0,a.p)(()=>!this.disabled),(0,a.p)(bn=>bn.elementHeight*(1-this.offset)>=bn.distanceToViewBottom-bn.viewHeight)).subscribe(()=>{this.scrollEnd.emit()}),setTimeout(()=>{const bn=this.elementRef.nativeElement.closest("ion-content");bn&&this.zone.runOutsideAngular(()=>{(0,M.R)(bn,"ionScroll").pipe((0,d.Q)(this.ngUnsubscribe$),(0,p.B)(100),(0,a.p)(()=>!this.disabled),(0,_.T)(()=>this.getScroll()),(0,a.p)(Bn=>Bn.elementHeight*(1-this.offset)>=Bn.distanceToViewBottom-Bn.viewHeight)).subscribe(()=>{this.zone.run(()=>this.scrollEnd.emit())})})})}onScroll(){if(this.disabled)return;const bn=this.getScroll();this.scroll$.next(bn)}ngOnDestroy(){this.ngUnsubscribe$.next(),this.ngUnsubscribe$.complete()}getScroll(){const Bn=this.elementRef.nativeElement.getBoundingClientRect();return{distanceToViewBottom:Bn.bottom,elementHeight:Bn.height,viewHeight:this.windowRef.nativeWindow.innerHeight}}}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)(e.rXU(e.aKT),e.rXU(t.W),e.rXU(e.SKi))},Lt.\u0275dir=e.FsC({type:Lt,selectors:[["","kirbyInfiniteScroll",""]],hostBindings:function(bn,Bn){1&bn&&e.bIt("scroll",function(){return Bn.onScroll()},!1,e.tSv)},inputs:{disabled:"disabled"},outputs:{scrollEnd:"scrollEnd"}}),yn})(),xt=(()=>{var Lt;class yn{ngOnChanges(){this.color=this.getColor()}getColor(){return this.kirbyListItemColor&&this.item?this.kirbyListItemColor(this.item):void 0}}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275dir=e.FsC({type:Lt,selectors:[["","kirbyListItemColor",""]],hostVars:2,hostBindings:function(bn,Bn){2&bn&&e.HbH(Bn.color)},inputs:{kirbyListItemColor:"kirbyListItemColor",item:"item"},features:[e.OA$]}),yn})(),Ht=(()=>{var Lt;class yn{onLoadOnDemand(bn){bn.isLoadOnDemandEnabled&&!bn._isLoading&&(bn._isLoading=!0,bn.loadOnDemand.emit({complete:Bn=>{bn.isLoadOnDemandEnabled=!Bn,bn._isLoading=!1}}))}groupSections(bn,Bn){const yo=new Map;return bn.forEach(oo=>{const Ko=Bn(oo),ci=yo.get(Ko);ci?ci.push(oo):yo.set(Ko,[oo])}),Array.from(yo).sort(([oo],[Ko])=>oo.localeCompare(Ko)).map(([oo,Ko])=>({name:oo,items:Ko}))}groupStandAloneItems(bn,Bn){return bn.reduce((oo,Ko)=>{const ci=oo[oo.length-1],ko=ci[ci.length-1];return ko&&(Ko[Bn]||ko[Bn])?oo.push([Ko]):ci.push(Ko),oo},[[]]).map(oo=>({items:oo}))}groupSectionsWithStandAloneItems(bn,Bn,yo){const oo=new Map;return bn.forEach(Ko=>{const ci=Bn(Ko);if(oo.has(ci)){const ko=oo.get(ci),ei=ko[ko.length-1];Ko[yo]||ei[ei.length-1][yo]?ko.push([Ko]):ei.push(Ko)}else oo.set(ci,[[Ko]])}),Array.from(oo).sort(([Ko],[ci])=>Ko.localeCompare(ci)).map(([Ko,ci])=>({name:Ko,lists:ci}))}}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275prov=e.jDH({token:Lt,factory:Lt.\u0275fac}),yn})(),$t=(()=>{var Lt;class yn{closeAllSlidingItems(bn){(0,E.O0)(bn.target,"ion-item-option","ion-list")&&this.list.closeSlidingItems()}}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275cmp=e.VBU({type:Lt,selectors:[["kirby-list-experimental"]],viewQuery:function(bn,Bn){if(1&bn&&e.GBs(v.nf,7),2&bn){let yo;e.mGM(yo=e.lsd())&&(Bn.list=yo.first)}},hostBindings:function(bn,Bn){1&bn&&e.bIt("click",function(oo){return Bn.closeAllSlidingItems(oo)})},ngContentSelectors:K,decls:3,vars:0,consts:[[1,"rounded","shadow","first-item-padding","last-item-padding"]],template:function(bn,Bn){1&bn&&(e.NAR($),e.SdG(0),e.j41(1,"div",0),e.SdG(2,1),e.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}),yn})(),Xt=(()=>{var Lt;class yn{constructor(){}}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275cmp=e.VBU({type:Lt,selectors:[["kirby-list-header"]],ngContentSelectors:X,decls:1,vars:0,template:function(bn,Bn){1&bn&&(e.NAR(),e.SdG(0))},styles:["[_nghost-%COMP%]{background-color:transparent;display:flex;flex-direction:row;justify-content:space-between;width:100%;padding:24px}"],changeDetection:0}),yn})(),ln=(()=>{var Lt;class yn{constructor(bn){this.platform=bn,this._isSwipingEnabled=!1,this.swipeActions=[],this.itemSelect=new e.bkB,this.swipeActionSelect=new e.bkB,this.initializeSwipeActions()}_onItemSelect(bn){this.isSelectable&&this.itemSelect.emit(bn)}_onSwipeActionSelect(bn,Bn,yo){this.swipeActionSelect.emit({swipeAction:bn,item:Bn,event:yo})}ngOnInit(){this.initializeSwipeActions()}ngAfterViewInit(){this.itemTemplate||console.warn("No item template was provided.")}_hasSwipeActions(bn){return!!Array.isArray(this.swipeActions)&&this.swipeActions.some(Bn=>!(Bn.isDisabled instanceof Function&&Bn.isDisabled(bn)||!0===Bn.isDisabled||"left"!==Bn.position&&"right"!==Bn.position))}_getSwipeActions(bn,Bn){return Array.isArray(this.swipeActions)?this.swipeActions.filter(yo=>!(this.isSwipeActionDisabled(yo,bn)||Bn&&yo.position!==Bn)):[]}isSwipeActionDisabled(bn,Bn){return!!(bn.isDisabled instanceof Function&&bn.isDisabled(Bn))||!0===bn.isDisabled}_getSwipeActionEnd(bn){return this._getSwipeActions(bn,"left").length?"start":"end"}_getSwipeActionIcon(bn,Bn){if(bn.icon)return bn.icon instanceof Function?bn.icon(Bn):bn.icon}_getSwipeActionTitle(bn,Bn){return bn.title instanceof Function?bn.title(Bn):bn.title}_getSwipeActionType(bn,Bn){return bn.type instanceof Function?bn.type(Bn):bn.type}initializeSwipeActions(){this.swipeActions&&this.swipeActions.length&&(this._isSwipingEnabled=this.platform.isTouch())}}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)(e.rXU(E.fP))},Lt.\u0275cmp=e.VBU({type:Lt,selectors:[["kirby-list-item"]],viewQuery:function(bn,Bn){if(1&bn&&e.GBs(v.A7,5),2&bn){let yo;e.mGM(yo=e.lsd())&&(Bn.ionItemSliding=yo.first)}},inputs:{item:"item",boundaryClass:"boundaryClass",swipeActions:"swipeActions",itemTemplate:"itemTemplate",isSelected:"isSelected",isSelectable:"isSelectable",getItemColor:"getItemColor"},outputs:{itemSelect:"itemSelect",swipeActionSelect:"swipeActionSelect"},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(bn,Bn){if(1&bn){const yo=e.RV6();e.j41(0,"ion-item-sliding",1),e.bIt("click",function(){return e.eBV(yo),e.Njj(Bn._onItemSelect(Bn.item))}),e.DNE(1,G,1,0,"ng-container",2)(2,fe,1,0,"ng-container",2),e.k0s(),e.DNE(3,be,1,1,"ng-template",null,0,e.C5r)}if(2&bn){const yo=e.sdS(4);e.AVh("selected",Bn.isSelected),e.Y8G("kirbyListItemColor",Bn.getItemColor)("item",Bn.item)("disabled",!Bn._isSwipingEnabled||null)("ngClass",Bn.boundaryClass),e.R7$(),e.Y8G("ngTemplateOutlet",yo)("ngTemplateOutletContext",e.eq3(10,J,Bn.item)),e.R7$(),e.Y8G("ngTemplateOutlet",Bn.itemTemplate)("ngTemplateOutletContext",e.eq3(12,J,Bn.item))}},dependencies:[u.YU,u.Sq,u.bT,u.T3,O.Rl,v.CE,v.A7,v.he,xt],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))}"]}),yn})(),tn=(()=>{var Lt;class yn{}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275cmp=e.VBU({type:Lt,selectors:[["kirby-list-section-header"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"header"],[1,"kirby-text-small"]],template:function(bn,Bn){1&bn&&(e.j41(0,"div",0)(1,"span",1),e.EFF(2),e.k0s()()),2&bn&&(e.R7$(2),e.JRh(Bn.title))},encapsulation:2,changeDetection:0}),yn})(),En=(()=>{var Lt;class yn{}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275dir=e.FsC({type:Lt,selectors:[["","kirbyListItemTemplate",""]]}),yn})(),Un=(()=>{var Lt;class yn{}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275dir=e.FsC({type:Lt,selectors:[["","kirbyListHeader",""],["","kirbyListHeaderTemplate",""]]}),yn})(),Tn=(()=>{var Lt;class yn{}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275dir=e.FsC({type:Lt,selectors:[["","kirbyListSectionHeader",""],["","kirbyListSectionHeaderTemplate",""]]}),yn})(),dn=(()=>{var Lt;class yn{}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275dir=e.FsC({type:Lt,selectors:[["","kirbyListFooter",""],["","kirbyListFooterTemplate",""]]}),yn})(),gn=(()=>{var Lt;class yn{get isShapeRounded(){return"rounded"===this.shape}get isShapeNone(){return"none"===this.shape}constructor(bn){this.listHelper=bn,this.items=[],this.standAloneSpacing="xxs",this.showDivider=!0,this.markSelectedRow=!1,this.shape="rounded",this.loadOnDemand=new e.bkB,this.swipeActions=[],this.itemSelect=new e.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(bn){return bn}sectionTrackBy(bn,Bn){return Bn.name}onItemSelect(bn){this.disableSelectionHighlight||(this._selectedItem=bn),this.itemSelect.emit(bn)}onSwipeActionSelect(bn){bn.swipeAction.onSelected(bn.item),this.list.closeSlidingItems(),bn.event.stopPropagation()}_getBoundaryClass(bn,Bn){return 0===bn?this.headerTemplate?null:1===Bn.length?["first","last"]:"first":bn===Bn.length-1?this.footerTemplate?null:"last":null}standAloneClass(){return this._isStandAloneEnabled?`stand-alone-bottom-margin-${this.standAloneSpacing}`:""}}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)(e.rXU(Ht))},Lt.\u0275cmp=e.VBU({type:Lt,selectors:[["kirby-list"]],contentQueries:function(bn,Bn,yo){if(1&bn&&(e.wni(yo,Un,5,e.C4Q),e.wni(yo,Tn,5,e.C4Q),e.wni(yo,dn,5,e.C4Q),e.wni(yo,En,7,e.C4Q)),2&bn){let oo;e.mGM(oo=e.lsd())&&(Bn.headerTemplate=oo.first),e.mGM(oo=e.lsd())&&(Bn.sectionHeaderTemplate=oo.first),e.mGM(oo=e.lsd())&&(Bn.footerTemplate=oo.first),e.mGM(oo=e.lsd())&&(Bn.itemTemplate=oo.first)}},viewQuery:function(bn,Bn){if(1&bn&&(e.GBs(Ne,7),e.GBs(Kn,5)),2&bn){let yo;e.mGM(yo=e.lsd())&&(Bn.list=yo.first),e.mGM(yo=e.lsd())&&(Bn.scrollDirective=yo.first)}},hostVars:10,hostBindings:function(bn,Bn){2&bn&&e.AVh("shape-rounded",Bn.isShapeRounded)("shape-none",Bn.isShapeNone)("item-spacing",Bn.hasItemSpacing)("has-sections",Bn._isSectionsEnabled)("has-stand-alone",Bn._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"},features:[e.Jv_([Ht]),e.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(bn,Bn){if(1&bn){const yo=e.RV6();e.j41(0,"ion-list",4,0),e.bIt("scrollEnd",function(){return e.eBV(yo),e.Njj(Bn._onLoadOnDemand())}),e.DNE(2,it,2,1,"ion-list-header",5)(3,pt,1,0,"ng-container",6)(4,St,2,1,"div",7),e.k0s(),e.DNE(5,mt,2,1,"p",8)(6,at,2,0,"div",9)(7,Bt,1,2,"ng-template",null,1,e.C5r)(9,Nn,1,2,"ng-template",null,2,e.C5r)}if(2&bn){const yo=e.sdS(8),oo=e.sdS(10);e.AVh("has-header",Bn.headerTemplate)("has-footer",Bn.footerTemplate)("has-divider",Bn.showDivider),e.Y8G("disabled",!Bn.isLoadOnDemandEnabled),e.R7$(2),e.Y8G("ngIf",Bn.headerTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",Bn._isSectionsEnabled||Bn._isStandAloneEnabled?yo:oo)("ngTemplateOutletContext",e.eq3(13,J,Bn.items)),e.R7$(),e.Y8G("ngIf",Bn.footerTemplate),e.R7$(),e.Y8G("ngIf",!Bn.isLoadOnDemandEnabled&&Bn.noMoreItemsText),e.R7$(),e.Y8G("ngIf",Bn._isLoading)}},dependencies:[u.YU,u.Sq,u.bT,u.T3,A.t,v.Dg,v.jh,v.nf,v.AF,ln,Kn],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}"]}),yn})(),Ln=(()=>{var Lt;class yn{}return(Lt=yn).\u0275fac=function(bn){return new(bn||Lt)},Lt.\u0275mod=e.$C({type:Lt}),Lt.\u0275inj=e.G2t({imports:[u.MD,O.op,A.O,v.Dg,v.jh,v.CE,v.A7,v.he,v.nf,v.AF]}),yn})()},36667:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>v,q:()=>E});var e=i(10467),t=i(54438),l=i(51272),M=i(90599),d=i(60177);const p=["*"],a=(u,O)=>({backdrop:u,"hide-content":O});function _(u,O){if(1&u&&(t.j41(0,"div",3),t.nrm(1,"kirby-spinner",4),t.k0s()),2&u){const A=t.XpG();t.Y8G("ngClass",t.l_i(1,a,A.showBackdrop&&!A.hideContent,A.hideContent))}}let v=(()=>{var u;class O{constructor($,K,X){this.loadingController=$,this.componentFactoryResolver=K,this.injector=X,this.ionLoading=null}showLoadingOverlay($=!0,K=!1){var X=this;return(0,e.A)(function*(){if(!X.ionLoading){const J=["kirby-loading-overlay"];K&&J.push("kirby-loading-hide-content"),X.ionLoading=yield X.loadingController.create({cssClass:J,duration:0,message:null,showBackdrop:$||K,spinner:null});const G=X.ionLoading.querySelector(".loading-wrapper"),fe=document.createElement("kirby-spinner");X.componentFactoryResolver.resolveComponentFactory(M.t).create(X.injector,[],fe),G.appendChild(fe),yield X.ionLoading.present()}})()}hideLoadingOverlay(){var $=this;return(0,e.A)(function*(){$.ionLoading&&(yield $.ionLoading.dismiss(),$.ionLoading=null)})()}}return(u=O).\u0275fac=function($){return new($||u)(t.KVO(l.Xi),t.KVO(t.OM3),t.KVO(t.zZn))},u.\u0275prov=t.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),O})(),E=(()=>{var u;class O{constructor(){this.isLoading=!0,this.showBackdrop=!0,this.hideContent=!1}}return(u=O).\u0275fac=function($){return new($||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["kirby-loading-overlay"]],inputs:{isLoading:"isLoading",showBackdrop:"showBackdrop",hideContent:"hideContent"},standalone:!0,features:[t.aNF],ngContentSelectors:p,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){1&$&&(t.NAR(),t.j41(0,"div",0),t.DNE(1,_,2,4,"div",1),t.j41(2,"div",2),t.SdG(3),t.k0s()()),2&$&&(t.R7$(),t.Y8G("ngIf",K.isLoading))},dependencies:[M.O,M.t,d.MD,d.YU,d.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}),O})()},92585:(Ze,z,i)=>{"use strict";i.d(z,{Z:()=>$});var e=i(60177),t=i(54438),l=i(81365),M=i(98990),d=i(35043),p=i(47008),a=i(65762),_=i(53715);const v=["buttonContainer"],E=["defaultButton"],u=[[["button","kirby-button",""]],[["kirby-item"]]],O=["button[kirby-button]","kirby-item"];function A(K,X){if(1&K&&(t.qex(0),t.j41(1,"button",5,1),t.nrm(3,"kirby-icon",6),t.k0s(),t.bVm()),2&K){const J=t.XpG();t.R7$(),t.Y8G("id",J.triggerButtonId)("size",J.buttonSize)("disabled",J.isDisabled)("attentionLevel",J.attentionLevel),t.BMQ("aria-controls",J.menuId),t.R7$(2),t.Y8G("name","more")}}let $=(()=>{var K;class X{constructor(G,fe,he,Me){this.cdr=G,this.elementRef=fe,this.zone=he,this.renderer=Me,this.menuId=_.KA.scopedTo("kirby-menu").next(),this.triggerButtonId=_.KA.scopedTo("kirby-menu-trigger-button").next(),this.isDisabled=!1,this.buttonSize=p.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=a.sj,this.focusedIndex=-1}_onKeydown(G){this.floatingMenuIsShown?this.handleKeyDownForOpenedMenu(G):this.handleKeyDownForClosedMenu(G)}preventFurtherPropagation(G){G.stopImmediatePropagation(),G.preventDefault()}getFirstInteractiveElement(G){return G.querySelectorAll("ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled])")[0]}handleKeyDownForClosedMenu(G){switch(G.key){case" ":case"Enter":case"ArrowDown":this.focusedIndex=0,this.floatingMenu.show(),this.focusItem(),this.preventFurtherPropagation(G);break;case"ArrowUp":this.focusedIndex=this.kirbyItems.length-1,this.floatingMenu.show(),this.focusItem(),this.preventFurtherPropagation(G)}}handleKeyDownForOpenedMenu(G){switch(G.key){case"ArrowDown":this.focusedIndex0&&(this.focusedIndex--,this.focusItem(),this.preventFurtherPropagation(G));break;case"Escape":this.closeOnEscapeKey&&this.floatingMenu.hide(),this.preventFurtherPropagation(G);break;case"Tab":this.floatingMenu.hide()}}focusItem(){const fe=this.kirbyItems.get(this.focusedIndex).nativeElement.querySelector("ion-item"),he=this.getFirstInteractiveElement(fe);"function"==typeof he?.setFocus?he.setFocus():this.focusSelectableItem(fe)}focusSelectableItem(G){G.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.setupAccessibilityForItems(),this.setupAccesibilityForUserProvidedButton()}setupAccessibilityForItems(){this.kirbyItems.forEach(G=>{this.renderer.setAttribute(G.nativeElement,"role","menuitem")})}menuVisibilityChanged(G){this.floatingMenuIsShown=G,this.renderer.setAttribute(this.getTriggerButton(),"aria-expanded",G.toString()),G||(this.focusedIndex=-1,this.getTriggerButton().focus())}setupAccesibilityForUserProvidedButton(){if(this.userProvidedButton){const G=this.userProvidedButton.nativeElement;G.id?this.triggerButtonId=G.id:this.renderer.setAttribute(G,"id",this.triggerButtonId),G.getAttribute("aria-controls")||this.renderer.setAttribute(G,"aria-controls",this.menuId),G.getAttribute("aria-haspopup")||this.renderer.setAttribute(G,"aria-haspopup","true")}}ngOnDestroy(){this.scrollListenerDisposeFn?.()}}return(K=X).\u0275fac=function(G){return new(G||K)(t.rXU(t.gRc),t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(t.sFG))},K.\u0275cmp=t.VBU({type:K,selectors:[["kirby-menu"]],contentQueries:function(G,fe,he){if(1&G&&(t.wni(he,p.Q,5,t.aKT),t.wni(he,l.JA,4,t.aKT)),2&G){let Me;t.mGM(Me=t.lsd())&&(fe.userProvidedButton=Me.first),t.mGM(Me=t.lsd())&&(fe.kirbyItems=Me)}},viewQuery:function(G,fe){if(1&G&&(t.GBs(v,5,t.aKT),t.GBs(E,5,t.aKT),t.GBs(a.G0,5)),2&G){let he;t.mGM(he=t.lsd())&&(fe.buttonContainerElement=he.first),t.mGM(he=t.lsd())&&(fe.defaultButtonElement=he.first),t.mGM(he=t.lsd())&&(fe.floatingMenu=he.first)}},hostBindings:function(G,fe){1&G&&t.bIt("keydown",function(Me){return fe._onKeydown(Me)})},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"},standalone:!0,features:[t.aNF],ngContentSelectors:O,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(G,fe){if(1&G){const he=t.RV6();t.NAR(u),t.j41(0,"div",2,0),t.SdG(2),t.DNE(3,A,4,6,"ng-container",3),t.k0s(),t.j41(4,"kirby-card",4),t.bIt("keydown",function(ke){return t.eBV(he),t.Njj(fe._onKeydown(ke))})("displayChanged",function(ke){return t.eBV(he),t.Njj(fe.menuVisibilityChanged(ke))}),t.SdG(5,1),t.k0s()}2&G&&(t.R7$(3),t.Y8G("ngIf",!fe.userProvidedButton),t.R7$(),t.xc7("min-width",fe.minWidth?fe.minWidth+"px":null),t.Y8G("id",fe.menuId)("strategy","fixed")("reference",fe.buttonContainerElement)("isDisabled",fe.isDisabled)("triggers",fe.triggers)("placement",fe.placement)("DOMPortalOutlet",fe.DOMPortalOutlet)("portalOutletConfig",fe.portalOutletConfig)("closeOnBackdrop",fe.closeOnBackdrop)("closeOnEscapeKey",fe.closeOnEscapeKey)("closeOnSelect",fe.closeOnSelect)("autoPlacement",fe.autoPlacement)("shift",fe.shift),t.BMQ("aria-labelledby",fe.triggerButtonId))},dependencies:[p.Q,e.MD,e.bT,a.G0,d.op,d.Rl,M.Dw,M.ib,l.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}),X})()},81443:(Ze,z,i)=>{"use strict";i.d(z,{vL:()=>gn,_T:()=>Vt,Cy:()=>Gt,l4:()=>Ln,vr:()=>yo,PI:()=>Bn,fz:()=>hr,aF:()=>Lt,Fo:()=>Go,zf:()=>Pi,W3:()=>Si,v3:()=>bn,mr:()=>yn,cG:()=>Mn,s$:()=>Gn,Sl:()=>pi,zk:()=>dn,WY:()=>ko});var e=i(10467),t=i(54438),l=i(22694),M=i(9350),d=i(47707);function p(qt,Pt){const ot="object"==typeof Pt;return new Promise((De,Fe)=>{const tt=new d.Ms({next:en=>{De(en),tt.unsubscribe()},error:Fe,complete:()=>{ot?De(Pt.defaultValue):Fe(new M.G)}});qt.subscribe(tt)})}var a=i(983),_=i(7673),v=i(21413),E=i(26365),u=i(58750),O=i(9326),A=i(86648),K=i(5964),X=i(99172),J=i(96354),G=i(13946),fe=i(39974),he=i(54360),Me=i(85343),be=i(56977),Ne=i(70152),je=i(61594),it=i(51272),pt=i(90555),Ye=i(60177),St=i(47008),mt=i(98990),at=i(35519),Ge=i(35043),gt=i(13339),mn=i(49711),_t=i(53715),Ke=i(19402),Je=i(64317);function Xe(qt,Pt){if(1&qt&&t.nrm(0,"kirby-card-header",3),2&qt){const ot=t.XpG();t.Y8G("title",ot.header)("isTitleBold",!0)("subtitle",ot.subheader)}}function qe(qt,Pt){if(1&qt){const ot=t.RV6();t.j41(0,"button",4),t.bIt("click",function(){const Fe=t.eBV(ot).$implicit,tt=t.XpG();return t.Njj(tt.onItemSelect(Fe))}),t.EFF(1),t.k0s()}if(2&qt){const ot=Pt.$implicit;t.Y8G("noDecoration",!0),t.R7$(),t.SpI(" ",ot.text," ")}}function Bt(qt,Pt){if(1&qt){const ot=t.RV6();t.j41(0,"button",5),t.bIt("click",function(){t.eBV(ot);const Fe=t.XpG();return t.Njj(Fe.onCancel())}),t.EFF(1),t.k0s()}if(2&qt){const ot=t.XpG();t.R7$(),t.SpI(" ",ot.cancelButtonText,"\n")}}const It=["alertWrapper"];function Nn(qt,Pt){if(1&qt){const ot=t.RV6();t.j41(0,"button",5),t.bIt("click",function(){t.eBV(ot);const Fe=t.XpG();return t.Njj(Fe.onCancel())}),t.EFF(1),t.k0s()}if(2&qt){const ot=t.XpG();t.R7$(),t.SpI(" ",ot.cancelBtn," ")}}const Hn=["contentTitle"];function xo(qt,Pt){if(1&qt){const ot=t.RV6();t.j41(0,"ion-buttons",11)(1,"button",12),t.bIt("click",function(Fe){t.eBV(ot);const tt=t.XpG();return t.Njj(tt.config.drawerSupplementaryAction.action(Fe))}),t.nrm(2,"kirby-icon",13),t.k0s()()}if(2&qt){const ot=t.XpG();t.R7$(2),t.Y8G("name",ot.config.drawerSupplementaryAction.iconName)}}function Kn(qt,Pt){1&qt&&(t.j41(0,"ion-header",14)(1,"ion-toolbar"),t.nrm(2,"span",15,0),t.k0s()())}function xt(qt,Pt){1&qt&&t.eu8(0)}function Ht(qt,Pt){1&qt&&t.eu8(0)}function $t(qt,Pt){1&qt&&t.eu8(0)}function Xt(qt,Pt){1&qt&&t.eu8(0)}const ln=(qt,Pt)=>[qt,Pt];function tn(qt,Pt){if(1&qt&&t.nrm(0,"kirby-modal-compact-wrapper",3),2&qt){const ot=t.XpG(2);t.Y8G("config",ot._config)("content",ot.template)}}function En(qt,Pt){if(1&qt&&t.DNE(0,tn,1,2,"kirby-modal-compact-wrapper",2),2&qt){const ot=t.XpG(),De=t.sdS(3);t.Y8G("ngIf","compact"===ot.flavor)("ngIfElse",De)}}function Un(qt,Pt){if(1&qt&&t.nrm(0,"kirby-modal-wrapper",4),2&qt){const ot=t.XpG();t.Y8G("config",ot._config)("content",ot.template)("scrollDisabled",ot.scrollDisabled)}}const Tn=["*"];let dn=(()=>{var qt;class Pt{constructor(De,Fe){this.router=De,this.route=Fe,this.navigationEndListener$=this.router.events.pipe((0,K.p)(tt=>tt instanceof l.wF))}isModalRoute(De){return De.includes("(modal:")}getCurrentActivatedRoute(){let De=this.route.root;for(;De.firstChild;)De=De.firstChild;return De}getModalRoutes(De,Fe){var tt=this;return(0,e.A)(function*(){const en=[].concat(...De);let Xn=[];const sn=yield tt.getModuleRootPath(en,Fe);return sn&&(Xn=tt.getModalRoutePaths(en,sn)),Xn})()}getModuleRootPath(De,Fe){var tt=this;return(0,e.A)(function*(){if(Fe){const sn=Fe.trim().split("/").filter(_n=>!!_n);return[""].concat(sn)}const en=yield tt.getCurrentRoutePaths();return tt.getRoutePathsWithoutChildSegments(en,De)})()}getCurrentRoutePaths(){var De=this;return(0,e.A)(function*(){const Fe=[""],tt=De.router.getCurrentNavigation();if(!De.router.navigated&&!tt)return Fe;tt&&(yield p(De.navigationEndListener$));let en=De.route.snapshot.root;for(;en.firstChild;)en=en.firstChild;const Xn=en.pathFromRoot.filter(sn=>"modal"!==sn.outlet);return Fe.concat(...Xn.map(sn=>sn.url.filter(zt=>!!zt.path).map(zt=>zt.path)))})()}getRoutePathsWithoutChildSegments(De,Fe){if(!De.length)return De;const tt=this.findChildRouteForUrl(De.join("/"),Fe);if(!tt)return De;const sn=tt.replace(/^\//,"").split("/").length;return De.slice(0,-sn)}findChildRouteForUrl(De,Fe){const tt=this.getRoutePaths(Fe,[""]).sort().reverse();let en=tt.find(Xn=>De.endsWith(Xn));return en||(en=tt.find(sn=>sn.includes("/:")&&this.pathContainsChildRouteWithUrlParams(De,sn,!1))),en}pathContainsChildRouteWithUrlParams(De,Fe,tt){const en=De.split("/");let sn=Fe;tt||(sn=Fe.replace(/^\//,""));const _n=sn.split("/").reverse().every(kt=>{const an=en.pop();return kt.startsWith(":")||kt===an});return tt?0===en.length&&_n:_n}getRoutePaths(De,Fe){return Array.isArray(De)?[].concat(...De.map(tt=>this.getRoutePath(tt,Fe))):[]}getRoutePath(De,Fe){const tt=[];if(De.outlet)return tt;const en=[...Fe];return De.path&&(en.push(De.path),tt.push(en.join("/"))),tt.concat(this.getRoutePaths(De.children,en))}getModalRoutePath(De,Fe){if(De.path&&"modal"===De.outlet){const Xn=`(modal:${De.path})`;return[[...Fe,Xn].join("/")]}const en=[...Fe];return De.path&&en.push(De.path),[].concat(...this.getModalRoutePaths(De.children,en))}getModalRoutePaths(De,Fe){return Array.isArray(De)?[].concat(...De.map(tt=>this.getModalRoutePath(tt,Fe))):[]}isNewModalWindow(De){const Fe=this.router.getCurrentNavigation();if(!Fe||!Fe.previousNavigation)return!0;const tt=(Fe.previousNavigation.finalUrl||Fe.previousNavigation.extractedUrl).toString(),en=this.isModalRoute(tt),Xn=this.isModalRoute(De.urlAfterRedirects);if(!en&&Xn)return!0;const sn=De.urlAfterRedirects.split("/(modal:")[0];return tt.split("/(modal:")[0]!==sn}waitForCurrentThenGetNavigationEndStream(){var De=this;return(0,e.A)(function*(){if(De.router.getCurrentNavigation()){const Fe=yield p(De.navigationEndListener$);return De.navigationEndListener$.pipe((0,X.Z)(Fe))}return De.navigationEndListener$})()}modalRouteActivatedFor(De,Fe,tt){return De.pipe((0,K.p)(en=>this.modalRouteSetContainsPath(Fe,en,tt)),(0,J.T)(en=>({route:this.getCurrentActivatedRoute(),isNewModal:this.isNewModalWindow(en)})))}modalRouteDeactivatedFor(De,Fe,tt){return De.pipe((0,G.J)(),(0,K.p)(([en,Xn])=>this.modalRouteSetContainsPath(Fe,en,tt)),(0,J.T)(([en,Xn])=>!this.isModalRoute(Xn.urlAfterRedirects)||this.isNewModalWindow(Xn)),(0,K.p)(en=>en))}modalRouteSetContainsPath(De,Fe,tt){const en=Fe.urlAfterRedirects.split("?")[0];let Xn=De.has(en);if(!Xn&&tt)for(const sn of De)if(this.pathContainsChildRouteWithUrlParams(en,sn,!0)){Xn=!0;break}return Xn}getModalNavigation(De,Fe){var tt=this;return(0,e.A)(function*(){if(Array.isArray(De)){const en=yield tt.waitForCurrentThenGetNavigationEndStream(),Xn=yield tt.getModalRoutes(De,Fe);if(Xn.length>0){const zt=Xn.some(Wn=>Wn.includes("/:")),_n=new Set(Xn);return{activated$:tt.modalRouteActivatedFor(en,_n,zt),deactivated$:tt.modalRouteDeactivatedFor(en,_n,zt)}}}return{activated$:a.w,deactivated$:a.w}})()}navigateToModal(De,Fe){var tt=this;return(0,e.A)(function*(){const en=Array.isArray(De)?[...De]:De.split("/"),Xn=en.pop();return yield tt.router.navigate([...en,{outlets:{modal:[Xn]}}],{queryParams:Fe,relativeTo:tt.getCurrentActivatedRoute()})})()}navigateWithinModal(De,Fe){var tt=this;return(0,e.A)(function*(){return tt.router.navigate([De],{queryParams:Fe,relativeTo:tt.getCurrentActivatedRoute()})})()}navigateOutOfModalOutlet(){var De=this;return(0,e.A)(function*(){const Fe=De.getCurrentActivatedRoute(),tt=De.router.getCurrentNavigation()?.finalUrl?.toString(),en=tt&&!De.isModalRoute(tt);if("modal"!==Fe.outlet||en)return Promise.resolve(!0);const Xn=De.getBackdropRoute(Fe);return De.router.navigate(["./"],{relativeTo:Xn})})()}getBackdropRoute(De){let Fe=De.parent;for(;Fe&&!Fe.component&&Fe.parent;)Fe=Fe.parent;return Fe}handleBrowserBackButton(De){const Fe=this.router.events.pipe((0,K.p)(en=>en instanceof l.Z&&"popstate"===en.navigationTrigger));this.router.events.pipe((0,K.p)(en=>en instanceof l.wF)).pipe(function ke(qt){return(0,fe.N)((Pt,ot)=>{let De=!1;const Fe=(0,he._)(ot,()=>{Fe?.unsubscribe(),De=!0},Me.l);(0,u.Tg)(qt).subscribe(Fe),Pt.subscribe((0,he._)(ot,tt=>De&&ot.next(tt)))})}(Fe),(0,be.Q)(De.onWillDismiss())).subscribe(()=>{De.dismiss()})}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.KVO(l.Ix),t.KVO(l.nX))},qt.\u0275prov=t.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"}),Pt})(),gn=(()=>{var qt;class Pt{constructor(){this.cancelButtonText="Cancel",this.hideCancel=!1,this.disabled=!1,this.cancel=new t.bkB,this.itemSelect=new t.bkB}onItemSelect(De){this.itemSelect.emit(De)}onCancel(){this.cancel.emit()}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)},qt.\u0275cmp=t.VBU({type:qt,selectors:[["kirby-action-sheet"]],inputs:{cancelButtonText:"cancelButtonText",hideCancel:"hideCancel",disabled:"disabled",header:"header",subheader:"subheader",items:"items"},outputs:{cancel:"cancel",itemSelect:"itemSelect"},standalone:!0,features:[t.aNF],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(De,Fe){1&De&&(t.j41(0,"kirby-card"),t.DNE(1,Xe,1,3,"kirby-card-header",0)(2,qe,2,2,"button",1),t.k0s(),t.DNE(3,Bt,2,1,"button",2)),2&De&&(t.R7$(),t.Y8G("ngIf",Fe.header),t.R7$(),t.Y8G("ngForOf",Fe.items),t.R7$(),t.Y8G("ngIf",!Fe.hideCancel))},dependencies:[mt.Dw,mt.ib,mt.lM,St.Q,Ye.MD,Ye.Sq,Ye.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;z-index:1}.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;z-index:1}}.cancel-btn[_ngcontent-%COMP%]{font-weight:700;margin-top:16px;margin-bottom:24px;pointer-events:auto}"]}),Pt})(),Vt=(()=>{var qt;class Pt{constructor(De){this.ionicModalController=De}showActionSheet(De){var Fe=this;return(0,e.A)(function*(){const tt=new t.bkB,en=new t.bkB,Xn=yield Fe.ionicModalController.create({component:gn,cssClass:["kirby-overlay","kirby-action-sheet"],componentProps:{...De,cancel:tt,itemSelect:en},backdropDismiss:!0});Xn.shadowRoot.querySelector(".modal-shadow").remove();const sn=tt.subscribe(()=>Xn.dismiss()),zt=en.subscribe(kt=>Xn.dismiss(kt));return Xn.onDidDismiss().then(()=>{sn.unsubscribe(),zt.unsubscribe()}),yield Xn.present(),{dismiss:Xn.dismiss.bind(Xn),onWillDismiss:Xn.onWillDismiss(),onDidDismiss:Xn.onDidDismiss()}})()}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.KVO(it.W3))},qt.\u0275prov=t.jDH({token:qt,factory:qt.\u0275fac}),Pt})(),Gt=(()=>{var qt;class Pt{set title(De){this.title$="string"==typeof De?(0,_.of)(De):De}set message(De){this.message$="string"==typeof De?(0,_.of)(De):De}constructor(De,Fe){this.elementRef=De,this.windowRef=Fe,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(){const De=this.elementRef.nativeElement.closest("ion-modal");De&&De.dismiss(!1)}onOk(){const De=this.elementRef.nativeElement.closest("ion-modal");De&&De.dismiss(!0)}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.rXU(t.aKT),t.rXU(at.W))},qt.\u0275cmp=t.VBU({type:qt,selectors:[["kirby-alert"]],viewQuery:function(De,Fe){if(1&De&&t.GBs(It,7),2&De){let tt;t.mGM(tt=t.lsd())&&(Fe.alertWrapper=tt.first)}},hostVars:2,hostBindings:function(De,Fe){2&De&&t.AVh("ion-page",!1)},inputs:{title:"title",message:"message",iconName:"iconName",iconThemeColor:"iconThemeColor",okBtn:"okBtn",okBtnIsDestructive:"okBtnIsDestructive",cancelBtn:"cancelBtn"},standalone:!0,features:[t.aNF],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(De,Fe){if(1&De){const tt=t.RV6();t.j41(0,"article",null,0),t.nrm(2,"kirby-empty-state",1),t.nI1(3,"async"),t.nI1(4,"async"),t.j41(5,"div",2),t.DNE(6,Nn,2,1,"button",3),t.j41(7,"button",4),t.bIt("click",function(){return t.eBV(tt),t.Njj(Fe.onOk())}),t.EFF(8),t.k0s()()()}2&De&&(t.R7$(2),t.Y8G("iconName",Fe.iconName)("themeColor",Fe.iconThemeColor)("title",t.bMT(3,9,Fe.title$))("subtitle",t.bMT(4,11,Fe.message$)),t.R7$(4),t.Y8G("ngIf",Fe.cancelBtn),t.R7$(),t.AVh("destructive",Fe.okBtnIsDestructive),t.Y8G("size",Fe.cancelBtn?null:"lg"),t.R7$(),t.SpI(" ",Fe.okBtn," "))},dependencies:[Ge.op,gt.Cd,mn.b,mn.o,St.Q,Ye.MD,Ye.bT,Ye.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}),Pt})(),Ln=(()=>{var qt;class Pt{constructor(De){this.ionicModalController=De}showAlert(De){var Fe=this;return(0,e.A)(function*(){const tt=yield Fe.ionicModalController.create({component:Gt,componentProps:Fe.getComponentProps(De),cssClass:["kirby-overlay","kirby-alert"],mode:"ios",backdropDismiss:!1});return yield tt.present(),{dismiss:tt.dismiss.bind(tt),onWillDismiss:tt.onWillDismiss(),onDidDismiss:tt.onDidDismiss()}})()}getComponentProps(De){return{...De,okBtn:this.getOkBtn(De),cancelBtn:De.cancelBtn,okBtnIsDestructive:this.getOkBtnIsDestructive(De),iconName:De.icon&&De.icon.name,iconThemeColor:De.icon&&De.icon.themeColor}}getOkBtn(De){let Fe;return De.okBtn&&(Fe="string"==typeof De.okBtn?De.okBtn:De.okBtn.text),Fe}getOkBtnIsDestructive(De){return"object"==typeof De.okBtn?De.okBtn.isDestructive:void 0}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.KVO(it.W3))},qt.\u0275prov=t.jDH({token:qt,factory:qt.\u0275fac}),Pt})();class Lt{}var yn=function(qt){return qt[qt.PAGE_PROGRESS=0]="PAGE_PROGRESS",qt[qt.FOOTER=1]="FOOTER",qt[qt.TITLE=2]="TITLE",qt}(yn||{});class Mn{}let bn=(()=>{var qt;class Pt{get isContainedInModal(){return null!==this.modalElementsAdvertiser}constructor(De,Fe,tt){this.modalElementType=De,this.elementRef=Fe,this.modalElementsAdvertiser=tt}ngAfterViewInit(){this.isContainedInModal&&this.modalElementsAdvertiser.addModalElement(this.modalElementType,this.elementRef)}ngOnDestroy(){this.isContainedInModal&&this.modalElementsAdvertiser.removeModalElement(this.modalElementType,this.elementRef)}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.rXU(yn),t.rXU(t.aKT),t.rXU(Mn,8))},qt.\u0275cmp=t.VBU({type:qt,selectors:[["ng-component"]],decls:0,vars:0,template:function(De,Fe){},encapsulation:2}),Pt})(),Bn=(()=>{var qt;class Pt{constructor(De){this.alertHelper=De}getCanDismissCallback(De){var Fe=this;return(0,e.A)(function*(){const tt=yield De();return"boolean"==typeof tt?tt:yield Fe.showAlert(tt)})}showAlert(De){var Fe=this;return(0,e.A)(function*(){return(yield(yield Fe.alertHelper.showAlert(De)).onWillDismiss).data})()}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.KVO(Ln))},qt.\u0275prov=t.jDH({token:qt,factory:qt.\u0275fac}),Pt})();const yo=new t.nKC("componentProps");class oo{constructor(Pt,ot){this.renderer=Pt,this.elementRef=ot}addFooter(Pt){this.moveChild(Pt,this.elementRef)}removeFooter(Pt){this.removeChild(Pt)}addPageProgress(Pt,ot){this.moveChild(Pt,ot)}removePageProgress(Pt){this.removeChild(Pt)}addTitle(Pt,ot,De,Fe){if(this.moveChild(Pt,Fe),De){const tt=Pt.nativeElement.cloneNode(!0);this.moveChild(new t.aKT(tt),ot)}}removeTitle(Pt,ot,De){if(this.removeChild(Pt),ot){const Fe=De.nativeElement.querySelector("kirby-page-title");this.removeChild(new t.aKT(Fe))}}moveChild(Pt,ot){const De=Pt.nativeElement,Fe=ot.nativeElement;this.renderer.removeChild(De.parentElement,De),this.renderer.appendChild(Fe,De)}removeChild(Pt,ot){const De=Pt.nativeElement;De&&this.renderer.removeChild(ot||De.parentElement,De)}}let ko=(()=>{var qt;class Pt{get _hasCollapsibleTitle(){return!!this.config?.collapseTitle}set scrollDisabled(De){this.ionContent.scrollY=!De}set canDismiss(De){this.ionModalElement.canDismiss=this.canDismissHelper.getCanDismissCallback(De)}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(De,Fe,tt,en,Xn,sn,zt,_n,kt,an){this.changeDetector=De,this.injector=Fe,this.elementRef=tt,this.renderer=en,this.zone=Xn,this.resizeObserverService=sn,this.windowRef=zt,this.platform=_n,this.canDismissHelper=kt,this.environmentInjector=an,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 v.B,this.didPresent=p(this.ionModalDidPresent),this.ionModalWillDismiss=new v.B,this.willClose=p(this.ionModalWillDismiss),this.viewportResize=new v.B,this.viewportResize$=this.viewportResize.asObservable().pipe((0,Ne.B)(this.VIEWPORT_RESIZE_DEBOUNCE_TIME)),this.destroy$=new v.B,this.willClose$=this.ionModalWillDismiss.pipe((0,je.$)()),this._currentFooter=null,this.setViewportHeight(),this.observeViewportResize(),this.modalElementsMoverDelegate=new oo(en,tt)}ngOnInit(){this.ionModalElement=this.elementRef.nativeElement.closest("ion-modal"),this.initializeSizing(),this.initializeModalRoute(),this.listenForIonModalDidPresent(),this.listenForIonModalWillDismiss(),this.listenForScroll(),this.initializeResizeModalToModalWrapper(),this.componentPropsInjector=t.zZn.create({providers:[{provide:yo,useValue:this.config.componentProps}],parent:this.injector}),this.modalWrapperInjector=t.zZn.create({providers:[{provide:Mn,useExisting:Pt}],parent:this.injector})}ngAfterViewInit(){this.toolbarButtonsQuery&&(this.toolbarButtons=this.toolbarButtonsQuery.map(De=>De.nativeElement))}set currentFooter(De){null!==De&&this.resizeObserverService.observe(De,Fe=>{const[tt,en]=["--footer-height",`${Math.floor(Fe.contentRect.height)}px`];this.setCssVar(this.elementRef.nativeElement,tt,en)}),this._currentFooter=De}get currentFooter(){return this._currentFooter}addModalElement(De,Fe){(0,{[yn.FOOTER]:()=>{this.modalElementsMoverDelegate.addFooter(Fe),this.currentFooter=Fe.nativeElement},[yn.TITLE]:()=>this.modalElementsMoverDelegate.addTitle(Fe,this.contentTitleElement,this._hasCollapsibleTitle,this.ionTitleElement),[yn.PAGE_PROGRESS]:()=>this.modalElementsMoverDelegate.addPageProgress(Fe,this.ionToolbarElement)}[De])()}removeModalElement(De,Fe){(0,{[yn.FOOTER]:()=>{this.modalElementsMoverDelegate.removeFooter(Fe),this.currentFooter=null},[yn.TITLE]:()=>this.modalElementsMoverDelegate.removeTitle(Fe,this._hasCollapsibleTitle,this.contentTitleElement),[yn.PAGE_PROGRESS]:()=>this.modalElementsMoverDelegate.removePageProgress(Fe)}[De])()}initializeResizeModalToModalWrapper(){"drawer"===this.config.flavor&&this.config.interactWithBackground&&function $(...qt){const Pt=(0,O.lI)(qt),ot=(0,O.R0)(qt,1/0),De=qt;return De.length?1===De.length?(0,u.Tg)(De[0]):(0,E.U)(ot)((0,A.H)(De,Pt)):a.w}(this.ionModalDidPresent,this.viewportResize$).pipe((0,be.Q)(this.destroy$)).subscribe(()=>{setTimeout(()=>{const De=this.elementRef.nativeElement.getBoundingClientRect(),tt=this.windowRef.nativeWindow.document.documentElement.clientWidth-De.right;this.renderer.setStyle(this.ionModalElement,"top",`${De.top}px`),this.renderer.setStyle(this.ionModalElement,"left",`${De.left}px`),this.renderer.setStyle(this.ionModalElement,"right",`${tt}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(De){De&&De.pipe((0,be.Q)(this.willClose$)).subscribe(Fe=>{this.routerOutlet.isActivated&&this.routerOutlet.deactivate(),this.routerOutlet.activateWith(Fe,this.environmentInjector)})}patchScrollElementSize(){"part"in HTMLElement.prototype||this.ionContent.getScrollElement().then(Fe=>{this.renderer.setStyle(Fe,"height","100%"),this.renderer.setStyle(Fe,"position","relative"),"drawer"===this.config.flavor&&this.renderer.setStyle(Fe,"transition","padding-bottom "+Ke.Q.softKeyboardTransitionLeave)})}observeModalFullHeight(){const De=this.getIonModalWrapperElement();De&&this.didPresent.then(()=>{this.intersectionObserver.observe(De)})}getIonModalWrapperElement(){return this.ionModalElement.shadowRoot.querySelector(".modal-wrapper")}observeHeaderResize(){this.resizeObserverService.observe(this.ionHeaderElement.nativeElement,De=>{const[Fe,tt]=["--header-height",`${De.contentRect.height}px`];this.setCssVar(this.elementRef.nativeElement,Fe,tt)})}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 Fe=this.windowRef.nativeWindow.matchMedia(`(min-width: ${Ke.Q.breakpoints.medium})`),tt=en=>{this.scrollEventsEnabled=!en.matches};tt(Fe),Fe.onchange=tt,this.zone.runOutsideAngular(()=>{this.ionContent.ionScroll.pipe((0,Ne.B)(10),(0,J.T)(en=>en.detail),(0,be.Q)(this.destroy$)).subscribe(en=>{const Xn=en.scrollTop>4;Xn!==this.isContentScrolled&&(this.isContentScrolled=Xn,this.changeDetector.detectChanges())})})}scrollToTop(De){this.ionContent.scrollToTop(De||0)}scrollToBottom(De){this.ionContent.scrollToBottom(De||0)}close(De){var Fe=this;return(0,e.A)(function*(){if(Fe.ionModalElement)return Fe.keyboardVisible&&Fe.viewportResized?(Fe.blurActiveElement(),new Promise(tt=>{Fe.delayedClose=(0,e.A)(function*(){yield Fe.ionModalElement.dismiss(De),tt()}),Fe.delayedCloseTimeoutId=setTimeout(Fe.delayedClose,Pt.KEYBOARD_HIDE_DELAY_IN_MS)})):(clearTimeout(Fe.delayedCloseTimeoutId),void(yield Fe.ionModalElement.dismiss(De)))})()}onFocusChange(){this.windowRef.nativeWindow.scrollTo({top:this.scrollY})}_onKeyboardShow(De){this.setKeyboardVisibility(De)}_onKeyboardHide(){this.setKeyboardVisibility(0)}toggleContentMaxHeight(De){if("modal"!==this.config.flavor||!this.platform.isPhabletOrBigger())return;const tt="max-height",en=this.ionContentElement.nativeElement;this.zone.run(()=>{De?this.renderer.setStyle(en,tt,`${en.offsetHeight}px`):this.renderer.removeStyle(en,tt)})}setKeyboardVisibility(De){De>0&&this.keyboardVisible||0===De&&!this.keyboardVisible||(this.keyboardVisible=De>0,this.toggleContentMaxHeight(this.keyboardVisible),this.setKeyboardOverlap(De))}getKeyboardOverlap(De,Fe){if(De<=0||!Fe)return 0;const tt=Math.floor(this.windowRef.nativeWindow.innerHeight-Fe.getBoundingClientRect().bottom);return Math.max(De-tt,0)}setCssVar(De,Fe,tt){this.zone.run(()=>this.renderer.setStyle(De,Fe,tt,t.czy.DashCase))}toggleCssClass(De,Fe,tt){this.zone.run(()=>tt?this.renderer.addClass(De,Fe):this.renderer.removeClass(De,Fe))}setKeyboardOverlap(De){this.toggleCssClass(this.elementRef.nativeElement,"keyboard-visible",De>0);const Fe=this.getKeyboardOverlap(De,this.elementRef.nativeElement);let tt=!1;const en=this.currentFooter;en&&(this.setCssVar(en,"--keyboard-offset",`${Fe}px`),tt=en.classList.contains("snap-to-keyboard"));const Xn=this.ionContentElement.nativeElement,sn=tt?Fe:this.getKeyboardOverlap(De,Xn);this.setCssVar(Xn,"--keyboard-offset",`${sn}px`)}onHeaderTouchStart(De){this.keyboardVisible&&(this.toolbarButtons.some(tt=>De.target instanceof HTMLElement&&(De.target===tt||tt.contains(De.target)))||this.blurActiveElement())}_onWindowResize(){this.setViewportHeight()}setViewportHeight(){const De=(.01*this.windowRef.nativeWindow.innerHeight).toFixed(2);this.setCssVar(this.elementRef.nativeElement,"--vh",`${De}px`)}observeViewportResize(){this.resizeObserverService.observe(this.windowRef.nativeWindow.document.body,De=>this.onViewportResize(De))}onViewportResize(De){this.initialViewportHeight?(this.viewportResized=De.contentRect.height!==this.initialViewportHeight,this.viewportResized||this.delayedCloseTimeoutId&&(clearTimeout(this.delayedCloseTimeoutId),this.delayedClose()),this.viewportResize.next()):this.initialViewportHeight=De.contentRect.height}blurActiveElement(){this.keyboardVisible&&document.activeElement instanceof HTMLElement&&document.activeElement.matches("input, textarea")&&document.activeElement.blur()}createModalWrapperIntersectionObserver(){return new IntersectionObserver(en=>{en[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(),delete this._mutationObserver,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()}}return(qt=Pt).KEYBOARD_HIDE_DELAY_IN_MS=100,qt.\u0275fac=function(De){return new(De||qt)(t.rXU(t.gRc),t.rXU(t.zZn),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.SKi),t.rXU(gt.ke),t.rXU(at.W),t.rXU(_t.fP),t.rXU(Bn),t.rXU(t.uvJ))},qt.\u0275cmp=t.VBU({type:qt,selectors:[["kirby-modal-wrapper"]],contentQueries:function(De,Fe,tt){if(1&De&&t.wni(tt,t.C4Q,5),2&De){let en;t.mGM(en=t.lsd())&&(Fe.templateRef=en.first)}},viewQuery:function(De,Fe){if(1&De&&(t.GBs(it.W9,7),t.GBs(it.W9,7,t.aKT),t.GBs(it.eU,7,t.aKT),t.GBs(it.ai,7,t.aKT),t.GBs(it.BC,7,t.aKT),t.GBs(l.n3,7),t.GBs(Hn,5,t.aKT),t.GBs(St.Q,5,t.aKT)),2&De){let tt;t.mGM(tt=t.lsd())&&(Fe.ionContent=tt.first),t.mGM(tt=t.lsd())&&(Fe.ionContentElement=tt.first),t.mGM(tt=t.lsd())&&(Fe.ionHeaderElement=tt.first),t.mGM(tt=t.lsd())&&(Fe.ionToolbarElement=tt.first),t.mGM(tt=t.lsd())&&(Fe.ionTitleElement=tt.first),t.mGM(tt=t.lsd())&&(Fe.routerOutlet=tt.first),t.mGM(tt=t.lsd())&&(Fe._contentTitleElement=tt.first),t.mGM(tt=t.lsd())&&(Fe.toolbarButtonsQuery=tt)}},hostVars:4,hostBindings:function(De,Fe){1&De&&t.bIt("focus",function(){return Fe.onFocusChange()},!1,t.tSv)("focusout",function(){return Fe.onFocusChange()},!1,t.tSv)("ionKeyboardDidShow",function(en){return Fe._onKeyboardShow(en.detail.keyboardHeight)},!1,t.tSv)("keyboardWillShow",function(en){return Fe._onKeyboardShow(en.keyboardHeight)},!1,t.tSv)("ionKeyboardDidHide",function(){return Fe._onKeyboardHide()},!1,t.tSv)("keyboardWillHide",function(){return Fe._onKeyboardHide()},!1,t.tSv)("resize",function(){return Fe._onWindowResize()},!1,t.tSv),2&De&&t.AVh("collapsible-title",Fe._hasCollapsibleTitle)("drawer",Fe._isDrawer)},inputs:{scrollDisabled:"scrollDisabled",config:"config",content:"content"},standalone:!0,features:[t.Jv_([{provide:Lt,useExisting:qt},{provide:Mn,useExisting:qt}]),t.aNF],decls:12,vars:12,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(De,Fe){1&De&&(t.j41(0,"ion-header",1),t.bIt("touchstart",function(en){return Fe.onHeaderTouchStart(en)}),t.j41(1,"ion-toolbar"),t.nrm(2,"ion-title"),t.DNE(3,xo,3,1,"ion-buttons",2),t.j41(4,"ion-buttons",3)(5,"button",4),t.bIt("click",function(){return Fe.close()}),t.nrm(6,"kirby-icon",5),t.k0s()()()(),t.j41(7,"ion-content",6),t.DNE(8,Kn,4,0,"ion-header",7)(9,xt,1,0,"ng-container",8)(10,Ht,1,0,"ng-container",9),t.nrm(11,"router-outlet",10),t.k0s()),2&De&&(t.AVh("content-scrolled",Fe.isContentScrolled),t.R7$(3),t.Y8G("ngIf","drawer"===Fe.config.flavor&&Fe.config.drawerSupplementaryAction),t.R7$(2),t.Y8G("noDecoration",Fe.config.interactWithBackground),t.R7$(2),t.Y8G("scrollEvents",Fe.scrollEventsEnabled),t.R7$(),t.Y8G("ngIf",Fe._hasCollapsibleTitle),t.R7$(),t.Y8G("ngComponentOutlet",Fe.config.component)("ngComponentOutletInjector",Fe.componentPropsInjector),t.R7$(),t.Y8G("ngTemplateOutlet",Fe.content)("ngTemplateOutletInjector",Fe.modalWrapperInjector),t.R7$(),t.xc7("visibility",Fe.config.modalRoute?"visible":"hidden"))},dependencies:[l.iI,l.n3,St.Q,Ge.op,Ge.Rl,Ye.MD,Ye.OI,Ye.bT,Ye.T3,it.eU,it.ai,it.BC,it.QW,it.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}}']}),Pt})(),Go=(()=>{var qt;class Pt{constructor(De,Fe,tt,en){this.injector=De,this.elementRef=Fe,this.windowRef=tt,this.canDismissHelper=en,this.scrollY=Math.abs(this.windowRef.nativeWindow.scrollY),this.scrollDisabled=!1,this.ionModalDidPresent=new v.B,this.ionModalWillDismiss=new v.B,this.didPresent=p(this.ionModalDidPresent),this.willClose=p(this.ionModalWillDismiss)}ngOnInit(){this.ionModalElement=this.elementRef.nativeElement.closest("ion-modal"),this.listenForIonModalDidPresent(),this.listenForIonModalWillDismiss(),this.componentPropsInjector=t.zZn.create({providers:[{provide:yo,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()})}close(De){var Fe=this;return(0,e.A)(function*(){const tt=Fe.elementRef.nativeElement.closest("ion-modal");tt&&(yield tt.dismiss(De))})()}set canDismiss(De){this.ionModalElement.canDismiss=this.canDismissHelper.getCanDismissCallback(De)}onFocusChange(){this.windowRef.nativeWindow.scrollTo({top:this.scrollY})}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.rXU(t.zZn),t.rXU(t.aKT),t.rXU(at.W),t.rXU(Bn))},qt.\u0275cmp=t.VBU({type:qt,selectors:[["kirby-modal-compact-wrapper"]],hostVars:2,hostBindings:function(De,Fe){1&De&&t.bIt("focus",function(){return Fe.onFocusChange()},!1,t.tSv)("focusout",function(){return Fe.onFocusChange()},!1,t.tSv),2&De&&t.AVh("ion-page",!1)},inputs:{config:"config",content:"content"},standalone:!0,features:[t.Jv_([{provide:Lt,useExisting:qt}]),t.aNF],decls:2,vars:3,consts:[[4,"ngComponentOutlet","ngComponentOutletInjector"],[4,"ngTemplateOutlet"]],template:function(De,Fe){1&De&&t.DNE(0,$t,1,0,"ng-container",0)(1,Xt,1,0,"ng-container",1),2&De&&(t.Y8G("ngComponentOutlet",Fe.config.component)("ngComponentOutletInjector",Fe.componentPropsInjector),t.R7$(),t.Y8G("ngTemplateOutlet",Fe.content))},dependencies:[Ye.MD,Ye.OI,Ye.T3],styles:["[_nghost-%COMP%]{display:block;padding:24px 16px}"]}),Pt})(),Ji=(()=>{var qt;class Pt{constructor(De){this.platform=De,this.easingEnter=_t.ez.Easing.modal.enter,this.easingLeave=_t.ez.Easing.modal.exit,this.duration=_t.ez.Duration.LONG,this.SwipeToCloseDefaults={MIN_PRESENTING_SCALE:.93},this.createEnterAnimation=()=>({backdropAnimation:(0,pt.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,pt.c)().fromTo("transform","translateY(100vh)","translateY(0vh)")}),this.createLeaveAnimation=()=>({backdropAnimation:(0,pt.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,pt.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")}),this.getElementRoot=(Fe,tt=Fe)=>Fe.shadowRoot||tt}enterAnimation(De){return(Fe,tt)=>{const{presentingEl:en}=tt,Xn=this.getElementRoot(Fe),{wrapperAnimation:sn,backdropAnimation:zt}=this.createEnterAnimation();zt.addElement(Xn.querySelector("ion-backdrop")),sn.addElement(Xn.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const _n=(0,pt.c)("entering-base").addElement(Fe).easing(this.easingEnter).duration(this.duration).addAnimation(sn);let kt;if(De&&(kt=(0,pt.c)().addElement(De).fromTo("opacity","var(--backdrop-opacity)",.01)),en){const an=!this.platform.isPhabletOrBigger(),Wn="ION-MODAL"===en.tagName&&void 0!==en.presentingElement,Jn=this.getElementRoot(en),Do=(0,pt.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),ao=document.body;if(an){const kn=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",Ro=`translateY(${Wn?"-10px":kn}) scale(${this.SwipeToCloseDefaults.MIN_PRESENTING_SCALE})`;Do.afterStyles({transform:Ro}).beforeAddWrite(()=>ao.style.setProperty("background-color","black")).addElement(en).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:Ro,borderRadius:"10px 10px 0 0"}]),_n.addAnimation(Do)}else if(_n.addAnimation(zt),kt&&_n.addAnimation(kt),Wn){const On=`translateY(-10px) scale(${Wn?this.SwipeToCloseDefaults.MIN_PRESENTING_SCALE:1})`;Do.afterStyles({transform:On}).addElement(Jn.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:On}]);const ni=(0,pt.c)().afterStyles({transform:On}).addElement(Jn.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:On}]);_n.addAnimation([Do,ni])}else sn.fromTo("opacity","0","1")}else _n.addAnimation(zt),kt&&_n.addAnimation(kt);return _n}}leaveAnimation(De){return(Fe,tt,en=this.duration)=>{const{presentingEl:Xn}=tt,sn=this.getElementRoot(Fe),{wrapperAnimation:zt,backdropAnimation:_n}=this.createLeaveAnimation();_n.addElement(sn.querySelector("ion-backdrop")),zt.addElement(sn.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const kt=(0,pt.c)("leaving-base").addElement(Fe).easing(this.easingLeave).duration(en).addAnimation(zt);let an;if(De&&(an=(0,pt.c)().addElement(De).fromTo("opacity",.01,"var(--backdrop-opacity)").afterStyles({opacity:"var(--backdrop-opacity)"})),Xn){const Wn=!this.platform.isPhabletOrBigger(),Jn="ION-MODAL"===Xn.tagName&&void 0!==Xn.presentingElement,Do=this.getElementRoot(Xn),ao=(0,pt.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(On=>{1===On&&(Xn.style.setProperty("overflow",""),Array.from(kn.querySelectorAll("ion-modal")).filter(Ro=>void 0!==Ro.presentingElement).length<=1&&kn.style.setProperty("background-color",""))}),kn=document.body;if(Wn){const On=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",bo=`translateY(${Jn?"-10px":On}) scale(${this.SwipeToCloseDefaults.MIN_PRESENTING_SCALE})`;ao.addElement(Xn).keyframes([{offset:0,filter:"contrast(0.85)",transform:bo,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),kt.addAnimation(ao)}else if(kt.addAnimation(_n),an&&kt.addAnimation(an),Jn){const ni=`translateY(-10px) scale(${Jn?this.SwipeToCloseDefaults.MIN_PRESENTING_SCALE:1})`;ao.addElement(Do.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:ni},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const Ro=(0,pt.c)().addElement(Do.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:ni},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);kt.addAnimation([ao,Ro])}else zt.fromTo("opacity","1","0")}else kt.addAnimation(_n),an&&kt.addAnimation(an);return kt}}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.KVO(_t.fP))},qt.\u0275prov=t.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"}),Pt})(),pi=(()=>{var qt;class Pt{constructor(De,Fe,tt,en,Xn){this.ionicModalController=De,this.modalAnimationBuilder=Fe,this.modalNavigationService=tt,this.windowRef=en,this.canDismissHelper=Xn,this.isModalOpening=!1}showModalWindow(De){var Fe=this;return(0,e.A)(function*(){if(Fe.isModalOpening)return;let tt;De.flavor=De.flavor||"modal";const en=yield Fe.ionicModalController.getTop();en&&(tt=en.shadowRoot.querySelector("ion-backdrop"));const Xn=Fe.modalAnimationBuilder.enterAnimation(tt),sn=Fe.modalAnimationBuilder.leaveAnimation(tt),_n=De.size||(De.interactWithBackground?null:"medium"),kt="allow-background-scroll";let an=[];De.cssClass&&(an=Array.isArray(De.cssClass)?De.cssClass:[De.cssClass]),De.interactWithBackground&&Fe.windowRef.nativeWindow.document.body.classList.add(kt);let Wn=!0;De.canDismiss&&(Wn=Fe.canDismissHelper.getCanDismissCallback(De.canDismiss)),Fe.isModalOpening=!0;const Jn=yield Fe.ionicModalController.create({component:"compact"===De.flavor?Go:ko,cssClass:["kirby-overlay","kirby-modal",_n?`kirby-modal-${_n}`:null,"drawer"===De.flavor?"kirby-drawer":null,"compact"===De.flavor?"kirby-modal-compact":null,De.interactWithBackground?"interact-with-background":null,...an],backdropDismiss:!("compact"===De.flavor||De.interactWithBackground),showBackdrop:!De.interactWithBackground,componentProps:{config:De},keyboardClose:!1,canDismiss:Wn,enterAnimation:Xn,leaveAnimation:sn});De.interactWithBackground&&Jn.onDidDismiss().then(()=>{Fe.windowRef.nativeWindow.document.body.classList.remove(kt)}),De.customHeight&&Jn.style.setProperty("--kirby-modal-height",De.customHeight);const Do=Jn.onWillDismiss(),ao={dismiss:Jn.dismiss.bind(Jn),onWillDismiss:Do,onDidDismiss:Jn.onDidDismiss(),isDismissing:!1};return Do.then(()=>{ao.isDismissing=!0}),yield Jn.present(),Jn.contains(document.activeElement)||Jn.focus(),De.modalRoute||Fe.modalNavigationService.handleBrowserBackButton(Jn),Fe.isModalOpening=!1,ao})()}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.KVO(it.W3),t.KVO(Ji),t.KVO(dn),t.KVO(at.W),t.KVO(Bn))},qt.\u0275prov=t.jDH({token:qt,factory:qt.\u0275fac}),Pt})(),Si=(()=>{var qt;class Pt{constructor(De,Fe,tt,en,Xn){this.modalHelper=De,this.actionSheetHelper=Fe,this.alertHelper=tt,this.modalNavigationService=en,this.routeConfig=Xn,this.overlays=[],this.noOverlayRegisteredErrorMessage="No modal overlays are currently registered",this.destroy$=new v.B}initialize(De){var Fe=this;return(0,e.A)(function*(){const tt=yield Fe.modalNavigationService.getModalNavigation(Fe.routeConfig,De);Fe.onModalRouteActivated(tt.activated$),Fe.onModalRouteDeactivated(tt.deactivated$)})()}onModalRouteActivated(De){var Fe=this;const tt=()=>{this.modalNavigationService.navigateOutOfModalOutlet()},en=De.pipe((0,K.p)(Xn=>!Xn.isNewModal),(0,J.T)(Xn=>Xn.route));De.pipe((0,be.Q)(this.destroy$),(0,K.p)(()=>0===this.overlays.length)).subscribe(function(){var Xn=(0,e.A)(function*(sn){sn.isNewModal&&(yield Fe.showModalRoute(sn.route,en,tt))});return function(sn){return Xn.apply(this,arguments)}}())}onModalRouteDeactivated(De){var Fe=this;De.pipe((0,be.Q)(this.destroy$),(0,K.p)(()=>this.overlays.some(tt=>!0!==tt.isDismissing))).subscribe((0,e.A)(function*(){yield Fe.hideAll()}))}showModal(De,Fe){var tt=this;return(0,e.A)(function*(){yield tt.showAndRegisterOverlay(()=>tt.modalHelper.showModalWindow(De),Fe)})()}navigateToModal(De,Fe){var tt=this;return(0,e.A)(function*(){return tt.modalNavigationService.navigateToModal(De,Fe)})()}navigateWithinModal(De,Fe){var tt=this;return(0,e.A)(function*(){return tt.modalNavigationService.navigateWithinModal(De,Fe)})()}showModalRoute(De,Fe,tt){var en=this;return(0,e.A)(function*(){const Xn={...De.snapshot.data.modalConfig,component:null,modalRoute:De,siblingModalRouteActivated$:Fe};yield en.showAndRegisterOverlay(()=>en.modalHelper.showModalWindow(Xn),null,tt)})()}showActionSheet(De,Fe){var tt=this;return(0,e.A)(function*(){yield tt.showAndRegisterOverlay(()=>tt.actionSheetHelper.showActionSheet(De),Fe)})()}showAlert(De,Fe){var tt=this;return(0,e.A)(function*(){yield tt.showAndRegisterOverlay(()=>tt.alertHelper.showAlert(De),Fe)})()}showAndRegisterOverlay(De,Fe,tt){var en=this;return(0,e.A)(function*(){const Xn=yield De();Xn&&(en.overlays.push(Xn),"function"==typeof tt&&Xn.onWillDismiss.then(sn=>tt(sn.data)),Xn.onDidDismiss.then(sn=>{en.overlays.pop(),"function"==typeof Fe&&Fe(sn.data)}))})()}hideTopmost(De){var Fe=this;return(0,e.A)(function*(){const tt=Fe.overlays[Fe.overlays.length-1];if(!tt)throw new Error(Fe.noOverlayRegisteredErrorMessage);return tt.dismiss(De)})()}hideAll(){var De=this;return(0,e.A)(function*(){yield Promise.all(De.overlays.filter(Fe=>!0!==Fe.isDismissing).map(function(){var Fe=(0,e.A)(function*(tt){yield tt.dismiss()});return function(tt){return Fe.apply(this,arguments)}}()))})()}getTopMost(){return this.overlays[this.overlays.length-1]}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.KVO(pi),t.KVO(Vt),t.KVO(Ln),t.KVO(dn),t.KVO(l.bw,8))},qt.\u0275prov=t.jDH({token:qt,factory:qt.\u0275fac}),Pt})();const hr=function(){var qt=(0,e.A)(function*(Pt,ot,De,Fe){const tt=(0,t.WQX)(dn),en=tt.isModalRoute(De.url),Xn=tt.isModalRoute(Fe.url);if(en&&Xn)return!0;const _n=(0,t.WQX)(Si).getTopMost();if(_n)return!!_n.isDismissing||_n.dismiss();{const an=yield(0,t.WQX)(it.W3).getTop();if(an)return an.dismiss()}return!0});return function(ot,De,Fe,tt){return qt.apply(this,arguments)}}();let Pi=(()=>{var qt;class Pt{set canDismiss(De){this._canDismiss="boolean"==typeof De?De:this.canDismissHelper.getCanDismissCallback(De)}constructor(De,Fe,tt){this.canDismissHelper=De,this.modalNavigationService=Fe,this.windowRef=tt,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 t.bkB,this.didPresent=new t.bkB,this.didDismiss=new t.bkB,this.willDismiss=new t.bkB,this._config={collapseTitle:this.collapseTitle,customHeight:this.customHeight,flavor:this.flavor,drawerSupplementaryAction:this.drawerSupplementaryAction,interactWithBackground:this.interactWithBackground},this._canDismiss=!0}ngOnChanges(De){this.updateModalConfigOnChange(De)}scrollToTop(De){this.ionContent.scrollToTop(De)}scrollToBottom(De){this.ionContent.scrollToBottom(De)}_onWillPresent(De){this.willPresent.emit(De),this.interactWithBackground&&this.windowRef.nativeWindow.document.body.classList.add("allow-background-scroll")}_onDidPresent(De){this.modalNavigationService.handleBrowserBackButton(this.modalElement.nativeElement),this.didPresent.emit(De)}_onWillDismiss(De){this.interactWithBackground&&this.windowRef.nativeWindow.document.body.classList.remove("allow-background-scroll"),this.willDismiss.emit(De)}_onDidDismiss(De){this.didDismiss.emit(De)}updateModalConfigOnChange(De){Object.entries(De).forEach(([Fe])=>{Fe in this._config&&(this._config[Fe]=De[Fe].currentValue)})}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.rXU(Bn),t.rXU(dn),t.rXU(at.W))},qt.\u0275cmp=t.VBU({type:qt,selectors:[["kirby-modal"]],contentQueries:function(De,Fe,tt){if(1&De&&t.wni(tt,t.C4Q,7),2&De){let en;t.mGM(en=t.lsd())&&(Fe.template=en.first)}},viewQuery:function(De,Fe){if(1&De&&(t.GBs(it.Sb,7,t.aKT),t.GBs(it.W9,5)),2&De){let tt;t.mGM(tt=t.lsd())&&(Fe.modalElement=tt.first),t.mGM(tt=t.lsd())&&(Fe.ionContent=tt.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"},standalone:!0,features:[t.OA$,t.aNF],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(De,Fe){if(1&De){const tt=t.RV6();t.j41(0,"ion-modal",1),t.bIt("willPresent",function(Xn){return t.eBV(tt),t.Njj(Fe._onWillPresent(Xn))})("didPresent",function(Xn){return t.eBV(tt),t.Njj(Fe._onDidPresent(Xn))})("willDismiss",function(Xn){return t.eBV(tt),t.Njj(Fe._onWillDismiss(Xn))})("didDismiss",function(Xn){return t.eBV(tt),t.Njj(Fe._onDidDismiss(Xn))}),t.DNE(1,En,1,2,"ng-template"),t.k0s(),t.DNE(2,Un,1,3,"ng-template",null,0,t.C5r)}2&De&&(t.ZvI("kirby-modal kirby-overlay kirby-modal-",Fe.size,""),t.xc7("--kirby-modal-height",Fe.customHeight),t.Y8G("ngClass",t.l_i(10,ln,"compact"===Fe.flavor?"kirby-modal-compact":"kirby-"+Fe.flavor,Fe.interactWithBackground?"interact-with-background":""))("isOpen",Fe.isOpen)("trigger",Fe.trigger)("canDismiss",Fe._canDismiss)("showBackdrop",!Fe.interactWithBackground))},dependencies:[Ye.MD,Ye.YU,Ye.bT,Je.U,Ge.op,it.Sb,ko,Go],encapsulation:2,changeDetection:0}),Pt})(),Gn=(()=>{var qt;class Pt extends bn{get _cssClass(){return[this.themeColor,this.type].filter(De=>!!De)}constructor(De,Fe){super(yn.FOOTER,De,Fe),this.snapToKeyboard=!1,this.type="fixed",this.themeColor="white"}}return(qt=Pt).\u0275fac=function(De){return new(De||qt)(t.rXU(t.aKT),t.rXU(Mn,8))},qt.\u0275cmp=t.VBU({type:qt,selectors:[["kirby-modal-footer"]],hostVars:4,hostBindings:function(De,Fe){2&De&&(t.HbH(Fe._cssClass),t.AVh("snap-to-keyboard",Fe.snapToKeyboard))},inputs:{snapToKeyboard:"snapToKeyboard",type:"type",themeColor:"themeColor"},standalone:!0,features:[t.Vt3,t.aNF],ngContentSelectors:Tn,decls:2,vars:0,template:function(De,Fe){1&De&&(t.NAR(),t.j41(0,"ion-footer"),t.SdG(1),t.k0s())},dependencies:[Ye.MD,it.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}),Pt})()},91365:(Ze,z,i)=>{"use strict";i.d(z,{AB:()=>ei,Bk:()=>Bn,H1:()=>Si,HE:()=>yo,Im:()=>oo,Uu:()=>Ji,cr:()=>pi,dJ:()=>ko,eR:()=>Ko,jg:()=>Go,oX:()=>hr,wH:()=>ci,wq:()=>Pi});var e=i(54438),t=i(22694),l=i(51272),M=i(70600),d=i(90617),p=i(35348),a=i(21413),_=i(5964),v=i(56977),E=i(70152),u=i(96354),O=i(29660),A=i(52375),$=i(53715),K=i(81443),X=i(13339),J=i(60177),G=i(90599);const fe=["*"],he=[[["button","kirby-button",""]]],Me=["button[kirby-button]"],ke=["pageTitle"],be=["stickyContentContainer"],Ne=["simpleTitleTemplate"],je=["simpleToolbarTitleTemplate"],it=[[["kirby-page-footer"]],[["kirby-header"]],[["kirby-page-actions"]],[["kirby-page-content"]]],pt=["kirby-page-footer","kirby-header","kirby-page-actions","kirby-page-content"],Ye=(Gn,qt)=>({"text-center":Gn,"text-right":qt});function St(Gn,qt){1&Gn&&e.eu8(0)}function mt(Gn,qt){if(1&Gn&&(e.qex(0),e.DNE(1,St,1,0,"ng-container",21),e.bVm()),2&Gn){const Pt=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",Pt.toolbarTitleTemplate)}}function at(Gn,qt){1&Gn&&e.eu8(0)}function Ge(Gn,qt){1&Gn&&e.eu8(0)}function gt(Gn,qt){if(1&Gn){const Pt=e.RV6();e.j41(0,"span",23),e.bIt("click",function(De){e.eBV(Pt);const Fe=e.XpG();return e.Njj(Fe.onTitleClick(De))}),e.j41(1,"span"),e.DNE(2,at,1,0,"ng-container",21),e.k0s(),e.DNE(3,Ge,1,0,"ng-container",21),e.k0s()}if(2&Gn){const Pt=e.XpG();e.AVh("clickable",Pt.hasInteractiveTitle)("has-icon",!!Pt.titleActionIconTemplate),e.R7$(2),e.Y8G("ngTemplateOutlet",Pt.toolbarTitleTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",Pt.titleActionIconTemplate)}}function mn(Gn,qt){1&Gn&&e.eu8(0)}function _t(Gn,qt){if(1&Gn&&(e.j41(0,"ion-buttons",24),e.DNE(1,mn,1,0,"ng-container",25),e.k0s()),2&Gn){const Pt=e.XpG();e.AVh("fade-in",Pt.toolbarActionsVisible),e.R7$(),e.Y8G("ngTemplateOutlet",Pt.headerActionsTemplate)("ngTemplateOutletInjector",Pt.toolbarActionGroupInjector)}}function Ke(Gn,qt){1&Gn&&e.eu8(0)}function Je(Gn,qt){if(1&Gn&&(e.j41(0,"ion-buttons",26),e.DNE(1,Ke,1,0,"ng-container",21),e.k0s()),2&Gn){const Pt=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",Pt.stickyActionsTemplate)}}function Xe(Gn,qt){1&Gn&&e.eu8(0)}function qe(Gn,qt){if(1&Gn&&(e.j41(0,"ion-buttons",27),e.DNE(1,Xe,1,0,"ng-container",21),e.k0s()),2&Gn){const Pt=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",Pt.fixedActionsTemplate)}}function Bt(Gn,qt){if(1&Gn){const Pt=e.RV6();e.j41(0,"ion-refresher",28),e.bIt("ionRefresh",function(De){e.eBV(Pt);const Fe=e.XpG();return e.Njj(Fe.delegateRefreshEvent(De))}),e.nrm(1,"kirby-spinner"),e.k0s()}}function It(Gn,qt){1&Gn&&e.eu8(0)}function Nn(Gn,qt){1&Gn&&e.eu8(0)}function Hn(Gn,qt){1&Gn&&e.eu8(0)}function xo(Gn,qt){if(1&Gn&&(e.j41(0,"div",33),e.DNE(1,Hn,1,0,"ng-container",21),e.k0s()),2&Gn){const Pt=e.XpG(2),ot=e.sdS(24);e.R7$(),e.Y8G("ngTemplateOutlet",Pt.customSubtitleTemplate||ot)}}function Kn(Gn,qt){if(1&Gn&&(e.j41(0,"div",29)(1,"div",30)(2,"div",31,7),e.DNE(4,It,1,0,"ng-container",21)(5,Nn,1,0,"ng-container",21),e.k0s(),e.DNE(6,xo,2,1,"div",32),e.k0s()()),2&Gn){const Pt=e.XpG(),ot=e.sdS(22),De=e.sdS(26);e.R7$(),e.Y8G("ngClass",e.l_i(6,Ye,"center"===Pt.titleAlignment,"right"===Pt.titleAlignment)),e.R7$(),e.AVh("has-actions",!!Pt.pageActionsTemplate),e.R7$(2),e.Y8G("ngTemplateOutlet",Pt.customTitleTemplate||ot),e.R7$(),e.Y8G("ngTemplateOutlet",Pt.pageActionsTemplate||De),e.R7$(),e.Y8G("ngIf",Pt.hasPageSubtitle)}}function xt(Gn,qt){1&Gn&&(e.j41(0,"div",29),e.SdG(1,1),e.k0s())}function Ht(Gn,qt){1&Gn&&e.eu8(0)}function $t(Gn,qt){if(1&Gn&&(e.qex(0),e.j41(1,"div",34,8)(3,"div"),e.DNE(4,Ht,1,0,"ng-container",21),e.k0s()(),e.bVm()),2&Gn){const Pt=e.XpG();e.R7$(),e.AVh("content-pinned",Pt.isStickyContentPinned),e.R7$(3),e.Y8G("ngTemplateOutlet",Pt.stickyContentTemplate)}}function Xt(Gn,qt){1&Gn&&e.eu8(0)}function ln(Gn,qt){1&Gn&&e.eu8(0)}function tn(Gn,qt){if(1&Gn&&(e.j41(0,"div",35)(1,"div",20),e.DNE(2,ln,1,0,"ng-container",21),e.k0s()()),2&Gn){const Pt=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",Pt.fixedContentTemplate)}}function En(Gn,qt){1&Gn&&e.eu8(0)}function Un(Gn,qt){if(1&Gn&&(e.j41(0,"h1",36),e.DNE(1,En,1,0,"ng-container",21),e.k0s()),2&Gn){const Pt=e.XpG(),ot=e.sdS(30);e.Y8G("kirbyFitHeading",Pt.fitHeadingConfig),e.R7$(),e.Y8G("ngTemplateOutlet",ot)}}function Tn(Gn,qt){1&Gn&&e.eu8(0)}function dn(Gn,qt){if(1&Gn&&e.DNE(0,Tn,1,0,"ng-container",21),2&Gn){e.XpG();const Pt=e.sdS(32);e.Y8G("ngTemplateOutlet",Pt)}}function gn(Gn,qt){1&Gn&&e.SdG(0,2)}function Vt(Gn,qt){1&Gn&&e.SdG(0,3)}function Gt(Gn,qt){if(1&Gn&&e.EFF(0),2&Gn){const Pt=e.XpG();e.JRh(Pt.title)}}function Ln(Gn,qt){if(1&Gn&&e.EFF(0),2&Gn){const Pt=e.XpG();e.JRh(Pt.subtitle)}}function Lt(Gn,qt){if(1&Gn&&e.EFF(0),2&Gn){const Pt=e.XpG();e.JRh(Pt.toolbarTitle)}}const bn=new e.nKC("page-back-button-override");let Bn=(()=>{var Gn;class qt{}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)},Gn.\u0275dir=e.FsC({type:Gn,selectors:[["","kirbyPageTitle",""]]}),qt})(),yo=(()=>{var Gn;class qt{}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)},Gn.\u0275dir=e.FsC({type:Gn,selectors:[["","kirbyPageSubtitle",""]]}),qt})(),oo=(()=>{var Gn;class qt{}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)},Gn.\u0275dir=e.FsC({type:Gn,selectors:[["","kirbyPageToolbarTitle",""]]}),qt})(),Ko=(()=>{var Gn;class qt{constructor(ot){this.template=ot,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}}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)(e.rXU(e.C4Q))},Gn.\u0275dir=e.FsC({type:Gn,selectors:[["","kirbyPageActions",""]],inputs:{config:[0,"kirbyPageActions","config"]}}),qt})(),ci=(()=>{var Gn;class qt{constructor(ot){this.template=ot}get isFixed(){return this.config&&this.config.fixed}}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)(e.rXU(e.C4Q))},Gn.\u0275dir=e.FsC({type:Gn,selectors:[["","kirbyPageContent",""]],inputs:{config:[0,"kirbyPageContent","config"]}}),qt})(),ko=(()=>{var Gn;class qt{}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)},Gn.\u0275dir=e.FsC({type:Gn,selectors:[["","kirbyPageStickyContent",""]]}),qt})(),ei=(()=>{var Gn;class qt extends K.v3{constructor(ot,De){super(K.mr.PAGE_PROGRESS,De,ot),this.slot="start"}}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)(e.rXU(K.cG,8),e.rXU(e.aKT))},Gn.\u0275cmp=e.VBU({type:Gn,selectors:[["kirby-page-progress"]],hostVars:1,hostBindings:function(ot,De){2&ot&&e.BMQ("slot",De.slot)},features:[e.Vt3],ngContentSelectors:fe,decls:1,vars:0,template:function(ot,De){1&ot&&(e.NAR(),e.SdG(0))},styles:["[_nghost-%COMP%]{display:flex;margin-inline-end:4px}"]}),qt})(),Go=(()=>{var Gn;class qt extends K.v3{constructor(ot,De){super(K.mr.TITLE,ot,De)}}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)(e.rXU(e.aKT),e.rXU(K.cG,8))},Gn.\u0275cmp=e.VBU({type:Gn,selectors:[["kirby-page-title"]],features:[e.Vt3],ngContentSelectors:fe,decls:1,vars:0,template:function(ot,De){1&ot&&(e.NAR(),e.SdG(0))},encapsulation:2}),qt})(),Ji=(()=>{var Gn;class qt{}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)},Gn.\u0275cmp=e.VBU({type:Gn,selectors:[["kirby-page-content"]],ngContentSelectors:fe,decls:1,vars:0,template:function(ot,De){1&ot&&(e.NAR(),e.SdG(0))},encapsulation:2}),qt})(),pi=(()=>{var Gn;class qt{}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)},Gn.\u0275cmp=e.VBU({type:Gn,selectors:[["kirby-page-actions"]],ngContentSelectors:Me,decls:1,vars:0,template:function(ot,De){1&ot&&(e.NAR(he),e.SdG(0))},styles:["[_nghost-%COMP%]{display:inline-flex;column-gap:8px}"]}),qt})(),Si=(()=>{var Gn;class qt{set maxWidth(ot){this._maxWidth=ot}get maxWidth(){return this._maxWidth}get tabBarBottomHidden(){return this._tabBarBottomHidden}set tabBarBottomHidden(ot){this.tabsComponent&&setTimeout(()=>{this.tabsComponent.tabBarBottomHidden=ot,this.changeDetectorRef.markForCheck()}),this._tabBarBottomHidden=ot}constructor(ot,De,Fe,tt,en,Xn,sn,zt,_n,kt,an,Wn,Jn){this.elementRef=ot,this.injector=De,this.renderer=Fe,this.router=tt,this.changeDetectorRef=en,this.zone=Xn,this.modalNavigationService=sn,this.resizeObserverService=zt,this.tabsComponent=_n,this.backButtonOverride=kt,this.routerOutlet=an,this.navCtrl=Wn,this.ionicElementPartHelper=Jn,this.titleAlignment="left",this._maxWidth="default",this.enter=new e.bkB,this.leave=new e.bkB,this.refresh=new e.bkB,this.backButtonClick=new e.bkB,this.toolbarTitleClick=new e.bkB,this.isStickyContentPinned=!1,this.isObservingTitle=!1,this.isObservingActions=!1,this.ngOnDestroy$=new a.B,this.navigationStart$=this.router.events.pipe((0,_.p)(Do=>Do instanceof t.Z),(0,v.Q)(this.ngOnDestroy$)),this.navigationEnd$=this.router.events.pipe((0,_.p)(Do=>Do instanceof t.wF),(0,v.Q)(this.ngOnDestroy$))}whenContentReady(){return this.contentReadyPromise||(this.contentReadyPromise=new Promise(ot=>{this.resizeObserverService.observe(this.ionContentElement,De=>{De.contentRect.height>0&&(this.resizeObserverService.unobserve(this.ionContentElement),ot())})})),this.contentReadyPromise}ngOnInit(){this.removeWrapper(),this.ionicElementPartHelper.setPart("background",this.ionToolbarElement,".toolbar-background"),this.toolbarActionGroupInjector=e.zZn.create({providers:[{provide:O.F,useValue:{isCondensed:!0,maxVisibleActions:1}}],parent:this.injector})}ngOnChanges(ot){ot.titleMaxLines&&(this.fitHeadingConfig={maxLines:ot.titleMaxLines.currentValue}),ot.subtitle&&!ot.subtitle.isFirstChange&&(this.subtitle=ot.title.currentValue,this.hasPageSubtitle=void 0!==this.subtitle)}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{this.contentScrolled$=this.content.ionScroll.pipe((0,E.B)(10),(0,u.T)(ot=>ot.detail),(0,v.Q)(this.ngOnDestroy$)),this.contentScrolled$.subscribe(ot=>{ot.scrollTop>4!==this.isContentScrolled&&(this.isContentScrolled=!this.isContentScrolled,this.changeDetectorRef.detectChanges())})}),this.url=this.router.url,this.onEnter(),this.navigationStart$.subscribe(ot=>{this.getPathname(ot.url)!==this.getPathname(this.url)&&!this.modalNavigationService.isModalRoute(this.url)&&!this.modalNavigationService.isModalRoute(ot.url)&&this.onLeave()}),this.navigationEnd$.subscribe(ot=>{this.getPathname(ot.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(ot){this.refresh.emit({complete:ot.target.complete.bind(ot.target)})}getMaxWidthClasses(){return this.maxWidth&&"default"!==this.maxWidth?`max-width-${this.maxWidth}`:""}onTitleClick(ot){this.toolbarTitleClick.observed?this.toolbarTitleClick.emit(ot):this.header?.titleClick.emit(ot)}removeWrapper(){const ot=this.elementRef.nativeElement.parentNode;this.renderer.removeChild(ot,this.elementRef.nativeElement),this.renderer.appendChild(ot,this.ionHeaderElement.nativeElement),this.renderer.appendChild(ot,this.ionContentElement.nativeElement),this.renderer.appendChild(ot,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=ot=>{ot.preventDefault(),this.backButtonOverride.navigateBack(this.routerOutlet,this.navCtrl,this.defaultBackHref)}),0===this.backButtonClick.observers.length&&this.backButtonClick.pipe((0,v.Q)(this.ngOnDestroy$)).subscribe(this.backButton.onClick.bind(this.backButton)),this.backButton.onClick=ot=>{this.backButtonClick.emit(ot)}}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,v.Q)(this.ngOnDestroy$)).subscribe(De=>{this.toolbarTitle=De})),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(ot=>{const De=ot[ot.length-1];if(De){const Fe=!De.isIntersecting;Fe!==this.toolbarTitleVisible&&(this.toolbarTitleVisible=Fe,this.changeDetectorRef.detectChanges())}},{root:this.ionContentElement.nativeElement})),this.zone.runOutsideAngular(()=>{this.whenContentReady().then(()=>{const ot=this.pageTitle||this.header?.titleElement;ot?.nativeElement&&this.titleIntersectionObserver.observe(ot.nativeElement)})})))}unobserveTitle(){const ot=this.pageTitle||this.header?.titleElement;ot&&this.titleIntersectionObserver?.unobserve(ot.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(ot=>{ot.isFixed?this.fixedActionsTemplate=ot.template:ot.isSticky?this.stickyActionsTemplate=ot.template:this.pageActionsTemplate=ot.template})}observeActions(){this.header?.actionsElement&&(this.isObservingActions||(this.isObservingActions=!0,this.stickyActionsIntersectionObserver||(this.stickyActionsIntersectionObserver=new IntersectionObserver(ot=>{const De=ot[ot.length-1];if(De){const Fe=!De.isIntersecting;Fe!==this.toolbarActionsVisible&&(this.toolbarActionsVisible=Fe,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,d.K6)(this.ionToolbarElement.nativeElement,ot=>{let De=0,Fe=0;this.ionToolbarButtonsElement.map(en=>en.nativeElement).forEach(en=>{const Xn=getComputedStyle(en),sn=parseInt(Xn.marginLeft)+parseInt(Xn.marginRight);"start"===en.getAttribute("slot")?De+=en.offsetWidth+sn:Fe+=en.offsetWidth+sn});const tt=Math.max(De,Fe);this.renderer.setStyle(ot,"--action-buttons-width",`${tt}px`,e.czy.DashCase)})})}initializeContent(){this.customContent.forEach(ot=>{ot.isFixed?this.fixedContentTemplate=ot.template:this.customContentTemplate=ot.template})}initializeStickyContent(){this.stickyContentTemplate=this.stickyContentRef}createStickyContentIntersectionObserver(){return new IntersectionObserver(Fe=>{this.isStickyContentPinned!==!Fe[0].isIntersecting&&(this.isStickyContentPinned=!this.isStickyContentPinned,this.changeDetectorRef.detectChanges())},{root:this.ionContentElement.nativeElement,threshold:1})}getPathname(ot){return ot.split("?")[0]}_onKeyboardWillShow(ot){ot&&ot.keyboardHeight&&this.ionContentElement.nativeElement.style.setProperty("--keyboard-offset",`${ot.keyboardHeight}px`)}_onKeyboardWillHide(){this.ionContentElement.nativeElement.style.setProperty("--keyboard-offset","0px")}_onSelectedTabClick(){this.content&&this.content.scrollToTop($.ez.Duration.LONG)}}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)(e.rXU(e.aKT),e.rXU(e.zZn),e.rXU(e.sFG),e.rXU(t.Ix),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(K.zk),e.rXU(X.ke),e.rXU(p.OW,12),e.rXU(bn,8),e.rXU(l.Rg,8),e.rXU(M.q9,8),e.rXU($.cO))},Gn.\u0275cmp=e.VBU({type:Gn,selectors:[["kirby-page"]],contentQueries:function(ot,De,Fe){if(1&ot&&(e.wni(Fe,oo,5,e.C4Q),e.wni(Fe,Bn,5,e.C4Q),e.wni(Fe,yo,5,e.C4Q),e.wni(Fe,ko,5,e.C4Q),e.wni(Fe,A.lZ,5),e.wni(Fe,Ko,4),e.wni(Fe,ci,4)),2&ot){let tt;e.mGM(tt=e.lsd())&&(De.customToolbarTitleTemplate=tt.first),e.mGM(tt=e.lsd())&&(De.customTitleTemplate=tt.first),e.mGM(tt=e.lsd())&&(De.customSubtitleTemplate=tt.first),e.mGM(tt=e.lsd())&&(De.stickyContentRef=tt.first),e.mGM(tt=e.lsd())&&(De.header=tt.first),e.mGM(tt=e.lsd())&&(De.customActions=tt),e.mGM(tt=e.lsd())&&(De.customContent=tt)}},viewQuery:function(ot,De){if(1&ot&&(e.GBs(l.W9,7),e.GBs(l.W9,7,e.aKT),e.GBs(l.eU,7,e.aKT),e.GBs(l.M0,7,e.aKT),e.GBs(l.ai,7,e.aKT),e.GBs(l.el,5),e.GBs(ke,5,e.aKT),e.GBs(be,5,e.aKT),e.GBs(Ne,7,e.C4Q),e.GBs(je,7,e.C4Q),e.GBs(l.QW,5,e.aKT)),2&ot){let Fe;e.mGM(Fe=e.lsd())&&(De.content=Fe.first),e.mGM(Fe=e.lsd())&&(De.ionContentElement=Fe.first),e.mGM(Fe=e.lsd())&&(De.ionHeaderElement=Fe.first),e.mGM(Fe=e.lsd())&&(De.ionFooterElement=Fe.first),e.mGM(Fe=e.lsd())&&(De.ionToolbarElement=Fe.first),e.mGM(Fe=e.lsd())&&(De.backButton=Fe.first),e.mGM(Fe=e.lsd())&&(De.pageTitle=Fe.first),e.mGM(Fe=e.lsd())&&(De.stickyContentContainer=Fe.first),e.mGM(Fe=e.lsd())&&(De.simpleTitleTemplate=Fe.first),e.mGM(Fe=e.lsd())&&(De.simpleToolbarTitleTemplate=Fe.first),e.mGM(Fe=e.lsd())&&(De.ionToolbarButtonsElement=Fe)}},hostBindings:function(ot,De){1&ot&&e.bIt("keyboardWillShow",function(tt){return De._onKeyboardWillShow(tt)},!1,e.tSv)("keyboardWillHide",function(){return De._onKeyboardWillHide()},!1,e.tSv)("kirbySelectedTabClick",function(){return De._onSelectedTabClick()},!1,e.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"},features:[e.Jv_([$.cO]),e.OA$],ngContentSelectors:pt,decls:35,vars:24,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(ot,De){if(1&ot&&(e.NAR(it),e.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",9),e.nrm(3,"ion-back-button",10),e.k0s(),e.j41(4,"ion-title")(5,"div",11),e.DNE(6,mt,2,1,"ng-container",12)(7,gt,4,6,"span",13),e.k0s()(),e.DNE(8,_t,2,4,"ion-buttons",14)(9,Je,2,1,"ion-buttons",15)(10,qe,2,1,"ion-buttons",16),e.k0s()(),e.j41(11,"ion-content",17),e.DNE(12,Bt,2,0,"ion-refresher",18)(13,Kn,7,9,"div",19)(14,xt,2,0,"div",19)(15,$t,5,3,"ng-container",12),e.j41(16,"div",20),e.DNE(17,Xt,1,0,"ng-container",21),e.k0s(),e.DNE(18,tn,3,1,"div",22),e.k0s(),e.j41(19,"ion-footer"),e.SdG(20),e.k0s(),e.DNE(21,Un,2,2,"ng-template",null,0,e.C5r)(23,dn,1,1,"ng-template",null,1,e.C5r)(25,gn,1,0,"ng-template",null,2,e.C5r)(27,Vt,1,0,"ng-template",null,3,e.C5r)(29,Gt,1,1,"ng-template",null,4,e.C5r)(31,Ln,1,1,"ng-template",null,5,e.C5r)(33,Lt,1,1,"ng-template",null,6,e.C5r)),2&ot){const Fe=e.sdS(28);e.R7$(),e.AVh("content-scrolled",De.isContentScrolled)("content-pinned",De.isStickyContentPinned),e.R7$(2),e.xc7("visibility",De.hideBackButton?"hidden":null),e.Y8G("defaultHref",De.defaultBackHref),e.R7$(),e.AVh("slide-and-fade-in",De.toolbarTitleVisible),e.R7$(2),e.Y8G("ngIf",!De.titleActionIconTemplate&&!De.hasInteractiveTitle),e.R7$(),e.Y8G("ngIf",!!De.titleActionIconTemplate||De.hasInteractiveTitle),e.R7$(),e.Y8G("ngIf",!!De.headerActionsTemplate),e.R7$(),e.Y8G("ngIf",!!De.stickyActionsTemplate),e.R7$(),e.Y8G("ngIf",!!De.fixedActionsTemplate),e.R7$(),e.HbH(De.getMaxWidthClasses()),e.AVh("has-header",De.hasHeader),e.R7$(),e.Y8G("ngIf",De.refresh.observers.length>0),e.R7$(),e.Y8G("ngIf",De.hasPageTitle&&!De.hasHeader),e.R7$(),e.Y8G("ngIf",De.hasHeader),e.R7$(),e.Y8G("ngIf",De.stickyContentTemplate),e.R7$(2),e.Y8G("ngTemplateOutlet",De.customContentTemplate||Fe),e.R7$(),e.Y8G("ngIf",De.fixedContentTemplate)}},dependencies:[J.YU,J.bT,J.T3,X.r2,G.t,l.eU,l.ai,l.QW,l.el,l.W9,l.BC,l.To,l.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}),qt})(),hr=(()=>{var Gn;class qt{constructor(ot,De,Fe){if(this.pageComponent=ot,this.hostElement=De,this.renderer=Fe,this.hasPadding=!0,!ot)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}}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)(e.rXU(Si,12),e.rXU(e.aKT),e.rXU(e.sFG))},Gn.\u0275cmp=e.VBU({type:Gn,selectors:[["kirby-page-footer"]],inputs:{hasPadding:"hasPadding"},ngContentSelectors:fe,decls:2,vars:2,consts:[[1,"wrapper"]],template:function(ot,De){1&ot&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.k0s()),2&ot&&e.AVh("padding",De.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}),qt})(),Pi=(()=>{var Gn;class qt{}return(Gn=qt).\u0275fac=function(ot){return new(ot||Gn)},Gn.\u0275mod=e.$C({type:Gn}),Gn.\u0275inj=e.G2t({imports:[J.MD,G.O,A.GC,l.eU,l.ai,l.QW,l.el,l.W9,l.BC,l.To,l.M0]}),qt})()},90351:(Ze,z,i)=>{"use strict";i.d(z,{I:()=>p,r:()=>a});var e=i(60177),t=i(54438),l=i(19402);const M=["wrapper"],d=["*"];var p=function(_){return _.right="right",_.left="left",_}(p||{});let a=(()=>{var _;class v{get targetElement(){return this.target instanceof t.aKT?this.target.nativeElement:this.target}_onWindowResize(){this.hide()}constructor(u,O){this.elementRef=u,this.renderer=O,this.preventScrollEventListenerOptions={passive:!1},this.POPOVER_BODY_PADDING=12,this.isShowing=!1,this.popout=p.right,this.willHide=new t.bkB,this.document=u.nativeElement.ownerDocument}ngAfterViewInit(){this.placePopoverAboveClosestModal(),this.renderer.removeChild(this.elementRef.nativeElement.parentElement,this.elementRef.nativeElement)}ngOnDestroy(){this.hide()}placePopoverAboveClosestModal(){const u=this.elementRef.nativeElement.closest("ion-modal");u?(this.zIndex=parseInt(u.style.zIndex)+1,this.elementRef.nativeElement.style.zIndex=`${this.zIndex}`):this.zIndex=parseInt(l.Q.zLayer("popover"))}static preventEventOutsidePopover(u){u.target instanceof HTMLElement&&(u.target.closest("kirby-popover")||u.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",v.preventEventOutsidePopover,this.preventScrollEventListenerOptions)}releaseScroll(){this.isFirstToLockScroll&&this.renderer.removeClass(this.document.body,"backdrop-no-scroll"),this.document.removeEventListener("touchmove",v.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 u=this.targetElement.getBoundingClientRect();this.renderer.appendChild(this.document.body,this.elementRef.nativeElement);const O=this.wrapperElement.nativeElement,A=O.getBoundingClientRect(),$=O.ownerDocument.defaultView;this.positionHorizontally($,O,u,A),this.positionVertically($,O,u,A)}positionHorizontally(u,O,A,$){const K=u.innerWidth,J=K-A.left,he=J>=$.width+this.POPOVER_BODY_PADDING||J>=A.right,[Me,ke]=this.popout!==p.left&&he?["right","left"]:["left","right"],be="left"===Me?K-A.right:A.left;this.renderer.removeStyle(O,Me),this.renderer.setStyle(O,ke,`${be}px`)}positionVertically(u,O,A,$){const K=u.innerHeight,J=K-A.bottom,he=J>=$.height+this.POPOVER_BODY_PADDING||J>=A.top,[Me,ke]=he?["bottom","top"]:["top","bottom"],be="bottom"===Me?A.bottom:K-A.top;this.renderer.removeStyle(O,Me),this.renderer.setStyle(O,ke,`${be}px`),"top"===Me&&(this.renderer.setStyle(this.targetElement,"z-index",`${this.zIndex+1}`),this.renderer.setStyle(this.targetElement,"pointer-events","none"))}}return(_=v).\u0275fac=function(u){return new(u||_)(t.rXU(t.aKT),t.rXU(t.sFG))},_.\u0275cmp=t.VBU({type:_,selectors:[["kirby-popover"]],viewQuery:function(u,O){if(1&u&&t.GBs(M,7,t.aKT),2&u){let A;t.mGM(A=t.lsd())&&(O.wrapperElement=A.first)}},hostBindings:function(u,O){1&u&&t.bIt("resize",function(){return O._onWindowResize()},!1,t.tSv)},inputs:{popout:"popout",target:"target"},outputs:{willHide:"willHide"},standalone:!0,features:[t.aNF],ngContentSelectors:d,decls:3,vars:0,consts:[["wrapper",""],[1,"wrapper"]],template:function(u,O){1&u&&(t.NAR(),t.j41(0,"div",1,0),t.SdG(2),t.k0s())},dependencies:[e.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}"]}),v})()},72882:(Ze,z,i)=>{"use strict";i.d(z,{Z:()=>a,b:()=>p});var e=i(60177),t=i(54438),l=i(13339);const M=(_,v)=>[_,v],d=["*"];let p=(()=>{var _;class v{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}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=t.VBU({type:_,selectors:[["kirby-progress-circle-ring"]],hostVars:6,hostBindings:function(u,O){2&u&&(t.xc7("width",O._diameter,"px")("height",O._diameter,"px"),t.AVh("view-initialized",O.viewInitialized))},inputs:{radius:"radius",value:"value",themeColor:"themeColor",strokeWidth:"strokeWidth",upperBound:"upperBound"},standalone:!0,features:[t.aNF],decls:3,vars:14,consts:[["shape-rendering","geometricPrecision","fill","transparent",1,"circle"],["shape-rendering","geometricPrecision","fill","transparent","stroke-linecap","round",1,"progress"]],template:function(u,O){1&u&&(t.qSk(),t.j41(0,"svg"),t.nrm(1,"circle",0)(2,"circle",1),t.k0s()),2&u&&(t.BMQ("width",O._diameter)("height",O._diameter),t.R7$(),t.BMQ("stroke-width",O.strokeWidth)("r",O._centerRadius)("cx",O.radius)("cy",O.radius),t.R7$(),t.BMQ("stroke-width",O._progressStrokeWidth)("r",O._centerRadius)("cx",O.radius)("cy",O.radius)("stroke-dasharray",t.l_i(11,M,O._progress,O._remainder)))},dependencies:[e.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}),v})(),a=(()=>{var _;class v{get _cssSize(){return this.size}constructor(u,O){this.elementRef=u,this.changeDetectorRef=O,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=A=>{this.hasElementBeenVisible=A&&A.some($=>$.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}}return(_=v).\u0275fac=function(u){return new(u||_)(t.rXU(t.aKT),t.rXU(t.gRc))},_.\u0275cmp=t.VBU({type:_,selectors:[["kirby-progress-circle"]],hostVars:6,hostBindings:function(u,O){2&u&&(t.HbH(O._cssSize),t.xc7("width",O._diameter,"px")("height",O._diameter,"px"))},inputs:{value:"value",size:"size",themeColor:"themeColor"},standalone:!0,features:[t.aNF],ngContentSelectors:d,decls:3,vars:5,consts:[[1,"transcluded-content"],[3,"themeColor","value","radius","strokeWidth","upperBound"]],template:function(u,O){1&u&&(t.NAR(),t.j41(0,"div",0),t.SdG(1),t.k0s(),t.nrm(2,"kirby-progress-circle-ring",1)),2&u&&(t.R7$(2),t.Y8G("themeColor",O.themeColor)("value",O._shownValue)("radius",O._radius)("strokeWidth",O._strokeWidth)("upperBound",O._upperBound))},dependencies:[p,e.MD,l.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}),v})()},27037:(Ze,z,i)=>{"use strict";i.d(z,{Y2:()=>fe,s7:()=>Me,v2:()=>G});var e=i(54438),t=i(51272),l=i(53715),M=i(13339),d=i(60177),p=i(84341),a=i(29756);const _=["*"];function v(ke,be){if(1&ke&&(e.j41(0,"span",4),e.EFF(1),e.k0s()),2&ke){const Ne=e.XpG();e.R7$(),e.JRh(Ne._labelText)}}function E(ke,be){if(1&ke&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&ke){const Ne=e.XpG();e.R7$(),e.JRh(Ne.text)}}const u=(ke,be,Ne)=>({$implicit:ke,selected:be,index:Ne});function O(ke,be){1&ke&&(e.qex(0),e.SdG(1),e.bVm())}function A(ke,be){if(1&ke){const Ne=e.RV6();e.j41(0,"ion-radio-group",3),e.bIt("ionChange",function(it){e.eBV(Ne);const pt=e.XpG();return e.Njj(pt._onChange(it.detail.value))}),e.DNE(1,O,2,0,"ng-container",4),e.k0s()}if(2&ke){const Ne=e.XpG(),je=e.sdS(2);e.Y8G("value",Ne.value),e.R7$(),e.Y8G("ngIf",!Ne.items||!Ne.items.length)("ngIfElse",je)}}function $(ke,be){1&ke&&e.eu8(0)}function K(ke,be){if(1&ke&&(e.qex(0),e.DNE(1,$,1,0,"ng-container",6),e.bVm()),2&ke){const Ne=be.$implicit,je=be.index,it=e.XpG(2),pt=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",it._customItemTemplate||pt)("ngTemplateOutletContext",e.sMw(2,u,Ne,je===it.selectedIndex,je))}}function X(ke,be){if(1&ke&&e.DNE(0,K,2,6,"ng-container",5),2&ke){const Ne=e.XpG();e.Y8G("ngForOf",Ne.items)}}function J(ke,be){if(1&ke&&e.nrm(0,"kirby-radio",7),2&ke){const Ne=be.$implicit,je=e.XpG();e.Y8G("value",Ne)("disabled",je.disabled||je._getDisabledStateFromItem(Ne))("text",je._getTextFromItem(Ne))}}let G=(()=>{var ke;class be{get _isDisabled(){return this.disabled?"disabled":null}get buttonTabIndex(){return this.ionRadioElement?this.ionRadioElement.nativeElement.tabIndex:-1}constructor(je,it){this.element=je,this.ionicElementPartHelper=it,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,M.s0)(this.element.nativeElement),!this.text&&!this._labelText&&!this._hasSlottedContent&&(this._labelText=(0,M.TD)(this.element.nativeElement))}focus(){this.ionRadioElement&&this.ionRadioElement.nativeElement.focus()}}return(ke=be).\u0275fac=function(je){return new(je||ke)(e.rXU(e.aKT),e.rXU(l.cO))},ke.\u0275cmp=e.VBU({type:ke,selectors:[["kirby-radio"]],viewQuery:function(je,it){if(1&je&&e.GBs(t.KO,7,e.aKT),2&je){let pt;e.mGM(pt=e.lsd())&&(it.ionRadioElement=pt.first)}},hostVars:5,hostBindings:function(je,it){2&je&&(e.BMQ("disabled",it._isDisabled),e.HbH(it.size),e.AVh("has-hidden-label",it._labelText))},inputs:{value:"value",text:"text",size:"size",disabled:"disabled"},features:[e.Jv_([l.cO])],ngContentSelectors:_,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(je,it){1&je&&(e.NAR(),e.j41(0,"ion-radio",0),e.DNE(1,v,2,1,"span",1)(2,E,2,1,"span",2),e.j41(3,"span",3),e.SdG(4),e.k0s()()),2&je&&(e.Y8G("value",it.value)("disabled",it.disabled)("labelPlacement",it._labelPlacement)("justify",it._justify),e.R7$(),e.Y8G("ngIf",it._labelText),e.R7$(),e.Y8G("ngIf",it.text))},dependencies:[d.bT,t.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;z-index:1}}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)[_ngcontent-%COMP%]::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}),be})(),fe=(()=>{var ke;class be{constructor(je){this.changeDetectionRef=je,this.hasError=!1,this.itemTextProperty="text",this.itemDisabledProperty="disabled",this.valueChange=new e.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 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=pt=>pt&&pt.find(Ye=>!isNaN(Ye.buttonTabIndex)&&-1!==Ye.buttonTabIndex),it=je(this.radioButtons)||je(this.projectedRadioButtons);it&&it.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 it=-1;return this.projectedRadioButtons&&this.projectedRadioButtons.find((pt,Ye)=>{const St=pt.value===je;return St&&(it=Ye),St}),it}getValueFromSelectedIndex(){if(-1!==this.selectedIndex)return this.hasItemsFromContentProjection?this.getValueFromProjectedRadios(this.selectedIndex):this.items[this.selectedIndex]}getValueFromProjectedRadios(je){const it=this.projectedRadioButtons&&this.projectedRadioButtons.find((pt,Ye)=>Ye===je);return it&&it.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((it,pt)=>{it.disabled=je||this._getDisabledStateFromItem(this.items[pt])})}}return(ke=be).\u0275fac=function(je){return new(je||ke)(e.rXU(e.gRc))},ke.\u0275cmp=e.VBU({type:ke,selectors:[["kirby-radio-group"]],contentQueries:function(je,it,pt){if(1&je&&(e.wni(pt,a.bx,5,e.C4Q),e.wni(pt,G,5)),2&je){let Ye;e.mGM(Ye=e.lsd())&&(it._customItemTemplate=Ye.first),e.mGM(Ye=e.lsd())&&(it.projectedRadioButtons=Ye)}},viewQuery:function(je,it){if(1&je&&e.GBs(G,5),2&je){let pt;e.mGM(pt=e.lsd())&&(it.radioButtons=pt)}},hostVars:2,hostBindings:function(je,it){1&je&&e.bIt("ionBlur",function(){return it._onRadioBlur()}),2&je&&e.AVh("error",it.hasError)},inputs:{disabled:"disabled",hasError:"hasError",items:"items",itemTextProperty:"itemTextProperty",itemDisabledProperty:"itemDisabledProperty",selectedIndex:"selectedIndex",value:"value"},outputs:{valueChange:"valueChange"},features:[e.Jv_([{provide:p.kq,useExisting:ke,multi:!0}])],ngContentSelectors:_,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(je,it){1&je&&(e.NAR(),e.DNE(0,A,2,3,"ion-radio-group",2)(1,X,1,1,"ng-template",null,0,e.C5r)(3,J,1,3,"ng-template",null,1,e.C5r)),2&je&&e.Y8G("ngIf",it._hasItems)},dependencies:[d.Sq,d.bT,d.T3,t.f0,G],styles:["ion-radio-group[_ngcontent-%COMP%]{display:inherit;flex-wrap:inherit}"],changeDetection:0}),be})(),Me=(()=>{var ke;class be{}return(ke=be).\u0275fac=function(je){return new(je||ke)},ke.\u0275mod=e.$C({type:ke}),ke.\u0275inj=e.G2t({imports:[d.MD,t.KO,t.f0]}),be})()},35987:(Ze,z,i)=>{"use strict";i.d(z,{V:()=>a});var e=i(60177),t=i(54438),l=i(84341),M=i(51272);function d(_,v){if(1&_&&(t.j41(0,"label",3),t.EFF(1),t.k0s()),2&_){const E=t.XpG();t.R7$(),t.JRh(E.minLabel)}}function p(_,v){if(1&_&&(t.j41(0,"label",4),t.EFF(1),t.k0s()),2&_){const E=t.XpG();t.R7$(),t.JRh(E.maxLabel)}}let a=(()=>{var _;class v{constructor(){this.step=1,this.disabled=!1,this.pinFormatter=this.defaultPinFormatter,this.change=new t.bkB,this.move=new t.bkB,this.onTouched=()=>{},this.propagateChange=u=>{}}set value(u){u!==this.currentValue&&(this.currentValue=u,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((O,A)=>Math.abs(A-this.value){this._onRangeKnobMove(u)})}defaultPinFormatter(u){return u}setDisabledState(u){this.disabled=u}_onRangeValueChange(u){this.writeValue(u.detail.value),this.change.emit(this.currentValue)}_onRangeKnobMove(u){this.writeValue(u.detail.value),this.move.emit(this.currentValue)}writeValue(u){void 0!==u&&(this.value=u)}registerOnTouched(u){this.onTouched=u}registerOnChange(u){this.propagateChange=u}}return(_=v).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=t.VBU({type:_,selectors:[["kirby-range"]],viewQuery:function(u,O){if(1&u&&t.GBs(M.Ob,7),2&u){let A;t.mGM(A=t.lsd())&&(O.ionRange=A.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"},standalone:!0,features:[t.Jv_([{provide:l.kq,multi:!0,useExisting:(0,t.Rfq)(()=>_)}]),t.OA$,t.aNF],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(u,O){1&u&&(t.j41(0,"ion-range",0),t.bIt("ionChange",function($){return O._onRangeValueChange($)}),t.k0s(),t.DNE(1,d,2,1,"label",1)(2,p,2,1,"label",2)),2&u&&(t.Y8G("min",O.min)("max",O.max)("step",O.step)("value",O.value)("pin",O.pin)("pinFormatter",O.pinFormatter)("snaps",O.ticks)("ticks",O.ticks)("debounce",O.debounce)("disabled",O.disabled),t.R7$(),t.Y8G("ngIf",O.minLabel),t.R7$(),t.Y8G("ngIf",O.maxLabel))},dependencies:[e.MD,e.bT,M.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;z-index:1}}@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}),v})()},12090:(Ze,z,i)=>{"use strict";i.d(z,{N:()=>G});var e=i(60177),t=i(54438),l=i(98990),M=i(81365),d=i(29756),p=i(51272);const a=["reorderGroupContainer"],_=fe=>({$implicit:fe}),v=fe=>({$implicit:fe,isSubItem:!0});function E(fe,he){1&fe&&t.nrm(0,"ion-backdrop",5),2&fe&&t.Y8G("tappable",!1)("visible",!0)("stopPropagation",!1)}function u(fe,he){1&fe&&t.eu8(0)}function O(fe,he){1&fe&&t.eu8(0)}function A(fe,he){if(1&fe&&(t.j41(0,"div"),t.DNE(1,O,1,0,"ng-container",6),t.k0s()),2&fe){const Me=he.$implicit,ke=t.XpG(3),be=t.sdS(4);t.R7$(),t.Y8G("ngTemplateOutlet",ke.itemTemplate||be)("ngTemplateOutletContext",t.eq3(2,v,Me))}}function $(fe,he){if(1&fe){const Me=t.RV6();t.j41(0,"div",null,1)(2,"ion-reorder-group",3),t.bIt("ionItemReorder",function(be){t.eBV(Me);const Ne=t.XpG().$implicit,je=t.XpG();return t.Njj(je.doSubReorder(be,Ne))}),t.DNE(3,A,2,4,"div",4),t.k0s()()}if(2&fe){const Me=t.XpG().$implicit,ke=t.XpG();t.R7$(3),t.Y8G("ngForOf",Me[ke.subItemsName])}}function K(fe,he){if(1&fe&&(t.j41(0,"div")(1,"kirby-card"),t.DNE(2,u,1,0,"ng-container",6)(3,$,4,1,"div",7),t.k0s()()),2&fe){const Me=he.$implicit,ke=t.XpG(),be=t.sdS(4);t.R7$(2),t.Y8G("ngTemplateOutlet",ke.itemTemplate||be)("ngTemplateOutletContext",t.eq3(3,_,Me)),t.R7$(),t.Y8G("ngIf",Me[ke.subItemsName])}}function X(fe,he){if(1&fe&&(t.j41(0,"kirby-item",8)(1,"h3"),t.EFF(2),t.k0s()()),2&fe){const Me=he.$implicit,ke=t.XpG();t.Y8G("reorderable",!0),t.R7$(2),t.JRh(ke.getItemTextDefault(Me))}}class J{constructor(he,Me){this.origEvent=he,this.parent=Me,this.origEvent.cancelBubble=!0}complete(he){return this.origEvent.detail.complete(he)}get parentItem(){return this.parent}}let G=(()=>{var fe;class he{constructor(ke){this.cdr=ke,this.itemReorder=new t.bkB,this.subItemReorder=new t.bkB,this.reorderActive=!1}ngOnChanges(){this.items&&this.items.length>0&&setTimeout(()=>{this.setupDomListener()})}setupDomListener(){this.observer=new MutationObserver(be=>{for(const Ne of be)Ne.oldValue!==Ne.target.className&&(this.reorderActive=Ne.target.className.includes("reorder-list-active"));this.cdr.detectChanges()}),this.reorderGroupContainer.forEach(be=>{this.observer.observe(be.nativeElement,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0,childList:!1,subtree:!0})})}doReorder(ke){this.itemReorder.emit(new J(ke))}doSubReorder(ke,be){this.subItemReorder.emit(new J(ke,be))}ngOnDestroy(){this.observer&&this.observer.disconnect(),delete this.observer}}return(fe=he).\u0275fac=function(ke){return new(ke||fe)(t.rXU(t.gRc))},fe.\u0275cmp=t.VBU({type:fe,selectors:[["kirby-reorder-list"]],contentQueries:function(ke,be,Ne){if(1&ke&&t.wni(Ne,d.bx,7,t.C4Q),2&ke){let je;t.mGM(je=t.lsd())&&(be.itemTemplate=je.first)}},viewQuery:function(ke,be){if(1&ke&&t.GBs(a,5),2&ke){let Ne;t.mGM(Ne=t.lsd())&&(be.reorderGroupContainer=Ne)}},inputs:{items:"items",subItemsName:"subItemsName",getItemTextDefault:"getItemTextDefault"},outputs:{itemReorder:"itemReorder",subItemReorder:"subItemReorder"},standalone:!0,features:[t.OA$,t.aNF],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"]],template:function(ke,be){if(1&ke){const Ne=t.RV6();t.DNE(0,E,1,3,"ion-backdrop",2),t.j41(1,"ion-reorder-group",3),t.bIt("ionItemReorder",function(it){return t.eBV(Ne),t.Njj(be.doReorder(it))}),t.DNE(2,K,4,5,"div",4),t.k0s(),t.DNE(3,X,3,2,"ng-template",null,0,t.C5r)}2&ke&&(t.Y8G("ngIf",be.reorderActive),t.R7$(2),t.Y8G("ngForOf",be.items))},dependencies:[l.Dw,l.ib,M.kA,M.JA,e.MD,e.Sq,e.bT,e.T3,p.ZF,p.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)}"]}),he})()},15739:(Ze,z,i)=>{"use strict";i.d(z,{Cs:()=>a,x8:()=>_});var e=i(54438),t=i(51272),l=i(45531),M=i(60177);function d(v,E){if(1&v&&(e.qex(0),e.nrm(1,"ion-router-outlet",1),e.bVm()),2&v){const u=e.XpG();e.R7$(),e.Y8G("animated",u._animated)}}function p(v,E){if(1&v&&(e.qex(0),e.nrm(1,"ion-router-outlet",2),e.bVm()),2&v){const u=e.XpG();e.R7$(),e.Y8G("animated",u._animated)}}let a=(()=>{var v;class E{constructor(){this._animated=(0,l.a)("hybrid")}}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275cmp=e.VBU({type:v,selectors:[["kirby-router-outlet"]],inputs:{main:"main"},decls:2,vars:2,consts:[[4,"ngIf"],["main","",3,"animated"],[3,"animated"]],template:function(O,A){1&O&&e.DNE(0,d,2,1,"ng-container",0)(1,p,2,1,"ng-container",0),2&O&&(e.Y8G("ngIf",A.main),e.R7$(),e.Y8G("ngIf",!A.main))},dependencies:[M.bT,t.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}),E})(),_=(()=>{var v;class E{}return(v=E).\u0275fac=function(O){return new(O||v)},v.\u0275mod=e.$C({type:v}),v.\u0275inj=e.G2t({imports:[M.MD,t.Rg]}),E})()},18713:(Ze,z,i)=>{"use strict";i.d(z,{U:()=>d});var e=i(60177),t=i(54438),l=i(51272);const M=["*"];let d=(()=>{var p;class a{}return(p=a).\u0275fac=function(v){return new(v||p)},p.\u0275cmp=t.VBU({type:p,selectors:[["kirby-section-header"]],standalone:!0,features:[t.aNF],ngContentSelectors:M,decls:2,vars:0,template:function(v,E){1&v&&(t.NAR(),t.j41(0,"ion-item-divider"),t.SdG(1),t.k0s())},dependencies:[e.MD,l.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}),a})()},65762:(Ze,z,i)=>{"use strict";i.d(z,{G0:()=>hi,sj:()=>Pr,h8:()=>ts});var e=i(54438),t=i(10467);const M=["start","end"],d=["top","right","bottom","left"].reduce((yt,Wt)=>yt.concat(Wt,Wt+"-"+M[0],Wt+"-"+M[1]),[]),p=Math.min,a=Math.max,_=Math.round,v=Math.floor,E=yt=>({x:yt,y:yt}),u={left:"right",right:"left",bottom:"top",top:"bottom"},O={start:"end",end:"start"};function A(yt,Wt,Pn){return a(yt,p(Wt,Pn))}function $(yt,Wt){return"function"==typeof yt?yt(Wt):yt}function K(yt){return yt.split("-")[0]}function X(yt){return yt.split("-")[1]}function J(yt){return"x"===yt?"y":"x"}function G(yt){return"y"===yt?"height":"width"}function fe(yt){return["top","bottom"].includes(K(yt))?"y":"x"}function he(yt){return J(fe(yt))}function Me(yt,Wt,Pn){void 0===Pn&&(Pn=!1);const Zt=X(yt),Cn=he(yt),ro=G(Cn);let go="x"===Cn?Zt===(Pn?"end":"start")?"right":"left":"start"===Zt?"bottom":"top";return Wt.reference[ro]>Wt.floating[ro]&&(go=it(go)),[go,it(go)]}function be(yt){return yt.replace(/start|end/g,Wt=>O[Wt])}function it(yt){return yt.replace(/left|right|bottom|top/g,Wt=>u[Wt])}function St(yt){const{x:Wt,y:Pn,width:Zt,height:Cn}=yt;return{width:Zt,height:Cn,top:Pn,left:Wt,right:Wt+Zt,bottom:Pn+Cn,x:Wt,y:Pn}}function mt(yt,Wt,Pn){let{reference:Zt,floating:Cn}=yt;const ro=fe(Wt),go=he(Wt),so=G(go),Wo=K(Wt),si="y"===ro,Jo=Zt.x+Zt.width/2-Cn.width/2,L=Zt.y+Zt.height/2-Cn.height/2,re=Zt[so]/2-Cn[so]/2;let ce;switch(Wo){case"top":ce={x:Jo,y:Zt.y-Cn.height};break;case"bottom":ce={x:Jo,y:Zt.y+Zt.height};break;case"right":ce={x:Zt.x+Zt.width,y:L};break;case"left":ce={x:Zt.x-Cn.width,y:L};break;default:ce={x:Zt.x,y:Zt.y}}switch(X(Wt)){case"start":ce[go]-=re*(Pn&&si?-1:1);break;case"end":ce[go]+=re*(Pn&&si?-1:1)}return ce}const at=function(){var yt=(0,t.A)(function*(Wt,Pn,Zt){const{placement:Cn="bottom",strategy:ro="absolute",middleware:go=[],platform:so}=Zt,Wo=go.filter(Boolean),si=yield null==so.isRTL?void 0:so.isRTL(Pn);let Jo=yield so.getElementRects({reference:Wt,floating:Pn,strategy:ro}),{x:L,y:re}=mt(Jo,Cn,si),ce=Cn,Pe={},et=0;for(let We=0;We"u")&&(yt instanceof ShadowRoot||yt instanceof En(yt).ShadowRoot)}function Gt(yt){const{overflow:Wt,overflowX:Pn,overflowY:Zt,display:Cn}=yo(yt);return/auto|scroll|overlay|hidden|clip/.test(Wt+Zt+Pn)&&!["inline","contents"].includes(Cn)}function Ln(yt){return["table","td","th"].includes(tn(yt))}function Lt(yt){return[":popover-open",":modal"].some(Wt=>{try{return yt.matches(Wt)}catch{return!1}})}function yn(yt){const Wt=bn(),Pn=dn(yt)?yo(yt):yt;return"none"!==Pn.transform||"none"!==Pn.perspective||!!Pn.containerType&&"normal"!==Pn.containerType||!Wt&&!!Pn.backdropFilter&&"none"!==Pn.backdropFilter||!Wt&&!!Pn.filter&&"none"!==Pn.filter||["transform","perspective","filter"].some(Zt=>(Pn.willChange||"").includes(Zt))||["paint","layout","strict","content"].some(Zt=>(Pn.contain||"").includes(Zt))}function bn(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Bn(yt){return["html","body","#document"].includes(tn(yt))}function yo(yt){return En(yt).getComputedStyle(yt)}function oo(yt){return dn(yt)?{scrollLeft:yt.scrollLeft,scrollTop:yt.scrollTop}:{scrollLeft:yt.scrollX,scrollTop:yt.scrollY}}function Ko(yt){if("html"===tn(yt))return yt;const Wt=yt.assignedSlot||yt.parentNode||Vt(yt)&&yt.host||Un(yt);return Vt(Wt)?Wt.host:Wt}function ci(yt){const Wt=Ko(yt);return Bn(Wt)?yt.ownerDocument?yt.ownerDocument.body:yt.body:gn(Wt)&&Gt(Wt)?Wt:ci(Wt)}function ko(yt,Wt,Pn){var Zt;void 0===Wt&&(Wt=[]),void 0===Pn&&(Pn=!0);const Cn=ci(yt),ro=Cn===(null==(Zt=yt.ownerDocument)?void 0:Zt.body),go=En(Cn);if(ro){const so=ei(go);return Wt.concat(go,go.visualViewport||[],Gt(Cn)?Cn:[],so&&Pn?ko(so):[])}return Wt.concat(Cn,ko(Cn,[],Pn))}function ei(yt){return yt.parent&&Object.getPrototypeOf(yt.parent)?yt.frameElement:null}function Go(yt){const Wt=yo(yt);let Pn=parseFloat(Wt.width)||0,Zt=parseFloat(Wt.height)||0;const Cn=gn(yt),ro=Cn?yt.offsetWidth:Pn,go=Cn?yt.offsetHeight:Zt,so=_(Pn)!==ro||_(Zt)!==go;return so&&(Pn=ro,Zt=go),{width:Pn,height:Zt,$:so}}function Ji(yt){return dn(yt)?yt:yt.contextElement}function pi(yt){const Wt=Ji(yt);if(!gn(Wt))return E(1);const Pn=Wt.getBoundingClientRect(),{width:Zt,height:Cn,$:ro}=Go(Wt);let go=(ro?_(Pn.width):Pn.width)/Zt,so=(ro?_(Pn.height):Pn.height)/Cn;return(!go||!Number.isFinite(go))&&(go=1),(!so||!Number.isFinite(so))&&(so=1),{x:go,y:so}}const Si=E(0);function hr(yt){const Wt=En(yt);return bn()&&Wt.visualViewport?{x:Wt.visualViewport.offsetLeft,y:Wt.visualViewport.offsetTop}:Si}function Gn(yt,Wt,Pn,Zt){void 0===Wt&&(Wt=!1),void 0===Pn&&(Pn=!1);const Cn=yt.getBoundingClientRect(),ro=Ji(yt);let go=E(1);Wt&&(Zt?dn(Zt)&&(go=pi(Zt)):go=pi(yt));const so=function Pi(yt,Wt,Pn){return void 0===Wt&&(Wt=!1),!(!Pn||Wt&&Pn!==En(yt))&&Wt}(ro,Pn,Zt)?hr(ro):E(0);let Wo=(Cn.left+so.x)/go.x,si=(Cn.top+so.y)/go.y,Jo=Cn.width/go.x,L=Cn.height/go.y;if(ro){const re=En(ro),ce=Zt&&dn(Zt)?En(Zt):Zt;let Pe=re,et=ei(Pe);for(;et&&Zt&&ce!==Pe;){const We=pi(et),lt=et.getBoundingClientRect(),jt=yo(et),Jt=lt.left+(et.clientLeft+parseFloat(jt.paddingLeft))*We.x,ie=lt.top+(et.clientTop+parseFloat(jt.paddingTop))*We.y;Wo*=We.x,si*=We.y,Jo*=We.x,L*=We.y,Wo+=Jt,si+=ie,Pe=En(et),et=ei(Pe)}}return St({width:Jo,height:L,x:Wo,y:si})}function qt(yt,Wt){const Pn=oo(yt).scrollLeft;return Wt?Wt.left+Pn:Gn(Un(yt)).left+Pn}function Pt(yt,Wt,Pn){void 0===Pn&&(Pn=!1);const Zt=yt.getBoundingClientRect();return{x:Zt.left+Wt.scrollLeft-(Pn?0:qt(yt,Zt)),y:Zt.top+Wt.scrollTop}}function Xn(yt,Wt,Pn){let Zt;if("viewport"===Wt)Zt=function tt(yt,Wt){const Pn=En(yt),Zt=Un(yt),Cn=Pn.visualViewport;let ro=Zt.clientWidth,go=Zt.clientHeight,so=0,Wo=0;if(Cn){ro=Cn.width,go=Cn.height;const si=bn();(!si||si&&"fixed"===Wt)&&(so=Cn.offsetLeft,Wo=Cn.offsetTop)}return{width:ro,height:go,x:so,y:Wo}}(yt,Pn);else if("document"===Wt)Zt=function Fe(yt){const Wt=Un(yt),Pn=oo(yt),Zt=yt.ownerDocument.body,Cn=a(Wt.scrollWidth,Wt.clientWidth,Zt.scrollWidth,Zt.clientWidth),ro=a(Wt.scrollHeight,Wt.clientHeight,Zt.scrollHeight,Zt.clientHeight);let go=-Pn.scrollLeft+qt(yt);const so=-Pn.scrollTop;return"rtl"===yo(Zt).direction&&(go+=a(Wt.clientWidth,Zt.clientWidth)-Cn),{width:Cn,height:ro,x:go,y:so}}(Un(yt));else if(dn(Wt))Zt=function en(yt,Wt){const Pn=Gn(yt,!0,"fixed"===Wt),Zt=Pn.top+yt.clientTop,Cn=Pn.left+yt.clientLeft,ro=gn(yt)?pi(yt):E(1);return{width:yt.clientWidth*ro.x,height:yt.clientHeight*ro.y,x:Cn*ro.x,y:Zt*ro.y}}(Wt,Pn);else{const Cn=hr(yt);Zt={x:Wt.x-Cn.x,y:Wt.y-Cn.y,width:Wt.width,height:Wt.height}}return St(Zt)}function sn(yt,Wt){const Pn=Ko(yt);return!(Pn===Wt||!dn(Pn)||Bn(Pn))&&("fixed"===yo(Pn).position||sn(Pn,Wt))}function zt(yt,Wt){const Pn=Wt.get(yt);if(Pn)return Pn;let Zt=ko(yt,[],!1).filter(so=>dn(so)&&"body"!==tn(so)),Cn=null;const ro="fixed"===yo(yt).position;let go=ro?Ko(yt):yt;for(;dn(go)&&!Bn(go);){const so=yo(go),Wo=yn(go);!Wo&&"fixed"===so.position&&(Cn=null),(ro?!Wo&&!Cn:!Wo&&"static"===so.position&&Cn&&["absolute","fixed"].includes(Cn.position)||Gt(go)&&!Wo&&sn(yt,go))?Zt=Zt.filter(Jo=>Jo!==go):Cn=so,go=Ko(go)}return Wt.set(yt,Zt),Zt}function an(yt,Wt,Pn){const Zt=gn(Wt),Cn=Un(Wt),ro="fixed"===Pn,go=Gn(yt,!0,ro,Wt);let so={scrollLeft:0,scrollTop:0};const Wo=E(0);if(Zt||!Zt&&!ro)if(("body"!==tn(Wt)||Gt(Cn))&&(so=oo(Wt)),Zt){const re=Gn(Wt,!0,ro,Wt);Wo.x=re.x+Wt.clientLeft,Wo.y=re.y+Wt.clientTop}else Cn&&(Wo.x=qt(Cn));const si=!Cn||Zt||ro?E(0):Pt(Cn,so);return{x:go.left+so.scrollLeft-Wo.x-si.x,y:go.top+so.scrollTop-Wo.y-si.y,width:go.width,height:go.height}}function Wn(yt){return"static"===yo(yt).position}function Jn(yt,Wt){if(!gn(yt)||"fixed"===yo(yt).position)return null;if(Wt)return Wt(yt);let Pn=yt.offsetParent;return Un(yt)===Pn&&(Pn=Pn.ownerDocument.body),Pn}function Do(yt,Wt){const Pn=En(yt);if(Lt(yt))return Pn;if(!gn(yt)){let Cn=Ko(yt);for(;Cn&&!Bn(Cn);){if(dn(Cn)&&!Wn(Cn))return Cn;Cn=Ko(Cn)}return Pn}let Zt=Jn(yt,Wt);for(;Zt&&Ln(Zt)&&Wn(Zt);)Zt=Jn(Zt,Wt);return Zt&&Bn(Zt)&&Wn(Zt)&&!yn(Zt)?Pn:Zt||function Mn(yt){let Wt=Ko(yt);for(;gn(Wt)&&!Bn(Wt);){if(yn(Wt))return Wt;if(Lt(Wt))return null;Wt=Ko(Wt)}return null}(yt)||Pn}const On={convertOffsetParentRelativeRectToViewportRelativeRect:function ot(yt){let{elements:Wt,rect:Pn,offsetParent:Zt,strategy:Cn}=yt;const ro="fixed"===Cn,go=Un(Zt),so=!!Wt&&Lt(Wt.floating);if(Zt===go||so&&ro)return Pn;let Wo={scrollLeft:0,scrollTop:0},si=E(1);const Jo=E(0),L=gn(Zt);if((L||!L&&!ro)&&(("body"!==tn(Zt)||Gt(go))&&(Wo=oo(Zt)),gn(Zt))){const ce=Gn(Zt);si=pi(Zt),Jo.x=ce.x+Zt.clientLeft,Jo.y=ce.y+Zt.clientTop}const re=!go||L||ro?E(0):Pt(go,Wo,!0);return{width:Pn.width*si.x,height:Pn.height*si.y,x:Pn.x*si.x-Wo.scrollLeft*si.x+Jo.x+re.x,y:Pn.y*si.y-Wo.scrollTop*si.y+Jo.y+re.y}},getDocumentElement:Un,getClippingRect:function _n(yt){let{element:Wt,boundary:Pn,rootBoundary:Zt,strategy:Cn}=yt;const go=[..."clippingAncestors"===Pn?Lt(Wt)?[]:zt(Wt,this._c):[].concat(Pn),Zt],Wo=go.reduce((si,Jo)=>{const L=Xn(Wt,Jo,Cn);return si.top=a(L.top,si.top),si.right=p(L.right,si.right),si.bottom=p(L.bottom,si.bottom),si.left=a(L.left,si.left),si},Xn(Wt,go[0],Cn));return{width:Wo.right-Wo.left,height:Wo.bottom-Wo.top,x:Wo.left,y:Wo.top}},getOffsetParent:Do,getElementRects:function(){var yt=(0,t.A)(function*(Wt){const Pn=this.getOffsetParent||Do,Zt=this.getDimensions,Cn=yield Zt(Wt.floating);return{reference:an(Wt.reference,yield Pn(Wt.floating),Wt.strategy),floating:{x:0,y:0,width:Cn.width,height:Cn.height}}});return function(Pn){return yt.apply(this,arguments)}}(),getClientRects:function De(yt){return Array.from(yt.getClientRects())},getDimensions:function kt(yt){const{width:Wt,height:Pn}=Go(yt);return{width:Wt,height:Pn}},getScale:pi,isElement:dn,isRTL:function kn(yt){return"rtl"===yo(yt).direction}};var Yt=i(19402),io=i(86648),Ho=i(60177);class Fi{attach(Wt){return this._attachedHost=Wt,Wt.attach(this)}detach(){let Wt=this._attachedHost;null!=Wt&&(this._attachedHost=null,Wt.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Wt){this._attachedHost=Wt}}class ri extends Fi{constructor(Wt,Pn,Zt,Cn,ro){super(),this.component=Wt,this.viewContainerRef=Pn,this.injector=Zt,this.componentFactoryResolver=Cn,this.projectableNodes=ro}}class is extends Fi{constructor(Wt,Pn,Zt,Cn){super(),this.templateRef=Wt,this.viewContainerRef=Pn,this.context=Zt,this.injector=Cn}get origin(){return this.templateRef.elementRef}attach(Wt,Pn=this.context){return this.context=Pn,super.attach(Wt)}detach(){return this.context=void 0,super.detach()}}class wr extends Fi{constructor(Wt){super(),this.element=Wt instanceof e.aKT?Wt.nativeElement:Wt}}class xr{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Wt){return Wt instanceof ri?(this._attachedPortal=Wt,this.attachComponentPortal(Wt)):Wt instanceof is?(this._attachedPortal=Wt,this.attachTemplatePortal(Wt)):this.attachDomPortal&&Wt instanceof wr?(this._attachedPortal=Wt,this.attachDomPortal(Wt)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Wt){this._disposeFn=Wt}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}let Cr=(()=>{var yt;class Wt extends xr{constructor(Zt,Cn,ro){super(),this._componentFactoryResolver=Zt,this._viewContainerRef=Cn,this._isInitialized=!1,this.attached=new e.bkB,this.attachDomPortal=go=>{const so=go.element,Wo=this._document.createComment("dom-portal");go.setAttachedHost(this),so.parentNode.insertBefore(Wo,so),this._getRootNode().appendChild(so),this._attachedPortal=go,super.setDisposeFn(()=>{Wo.parentNode&&Wo.parentNode.replaceChild(so,Wo)})},this._document=ro}get portal(){return this._attachedPortal}set portal(Zt){this.hasAttached()&&!Zt&&!this._isInitialized||(this.hasAttached()&&super.detach(),Zt&&super.attach(Zt),this._attachedPortal=Zt||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Zt){Zt.setAttachedHost(this);const Cn=null!=Zt.viewContainerRef?Zt.viewContainerRef:this._viewContainerRef,go=(Zt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Zt.component),so=Cn.createComponent(go,Cn.length,Zt.injector||Cn.injector,Zt.projectableNodes||void 0);return Cn!==this._viewContainerRef&&this._getRootNode().appendChild(so.hostView.rootNodes[0]),super.setDisposeFn(()=>so.destroy()),this._attachedPortal=Zt,this._attachedRef=so,this.attached.emit(so),so}attachTemplatePortal(Zt){Zt.setAttachedHost(this);const Cn=this._viewContainerRef.createEmbeddedView(Zt.templateRef,Zt.context,{injector:Zt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Zt,this._attachedRef=Cn,this.attached.emit(Cn),Cn}_getRootNode(){const Zt=this._viewContainerRef.element.nativeElement;return Zt.nodeType===Zt.ELEMENT_NODE?Zt:Zt.parentNode}}return(yt=Wt).\u0275fac=function(Zt){return new(Zt||yt)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU(Ho.qQ))},yt.\u0275dir=e.FsC({type:yt,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[e.Vt3]}),Wt})(),_r=(()=>{var yt;class Wt extends Cr{set outlet(Zt){this._outlet=Zt,this.outlet&&(this.portal=new wr(this.elementRef))}get outlet(){return this._outlet}set portal(Zt){if(!(Zt instanceof wr))throw Error(`Portal type ${Zt} is not supported`);super.portal=Zt}constructor(Zt,Cn,ro){super(Cn,ro),this.elementRef=Zt,this.componentFactoryResolver=Cn,this.viewContainerRef=ro,this.attachDomPortal=go=>{if(!this.outlet)throw Error("Outlet must be defined!");const{element:so}=go;if(!so.parentNode)throw Error("DOM portal content must be attached to a parent node.");const Wo=document.createComment("dom-portal");go.setAttachedHost(this),so.parentNode.insertBefore(Wo,so),this.outlet.appendChild(so),this._attachedPortal=go,super.setDisposeFn(()=>{Wo.parentNode&&Wo.parentNode.replaceChild(so,Wo)})}}}return(yt=Wt).\u0275fac=function(Zt){return new(Zt||yt)(e.rXU(e.aKT),e.rXU(e.OM3),e.rXU(e.c1b))},yt.\u0275dir=e.FsC({type:yt,selectors:[["","kirbyPortal",""]],inputs:{outlet:"outlet"},standalone:!0,features:[e.Vt3]}),Wt})();var Pr=function(yt){return yt[yt.none=0]="none",yt[yt.small=4]="small",yt[yt.medium=8]="medium",yt}(Pr||{}),ts=function(yt){return yt.tag="tag",yt.id="id",yt.class="class",yt.name="name",yt}(ts||{});let hi=(()=>{var yt;class Wt{set reference(Zt){this.tearDownReferenceElementEventHandling(),this._reference=Zt,this.setupEventHandling(),this.isShown&&this.autoUpdatePosition()}get reference(){return this._reference}set placement(Zt){this._placement=Zt,this.isShown&&this.updateHostElementPosition()}get placement(){return this._placement}set strategy(Zt){this._strategy=Zt,this.isShown&&this.updateHostElementPosition()}get strategy(){return this._strategy}set triggers(Zt){this._triggers=Zt,this.tearDownReferenceElementEventHandling(),this.setupEventHandling()}get triggers(){return this._triggers}set DOMPortalOutlet(Zt){this._providedPortalOutlet=Zt,this.portalDirective.outlet=this.DOMPortalOutlet??this.getOutletElement(this.portalOutletConfig)}get DOMPortalOutlet(){return this._providedPortalOutlet}set portalOutletConfig(Zt){this._portalOutletConfig=Zt,this.DOMPortalOutlet||(this.portalDirective.outlet=this.getOutletElement(Zt))}get portalOutletConfig(){return this._portalOutletConfig}onEscapeKeyPressed(){this.closeOnEscapeKey&&this.hide()}constructor(Zt,Cn,ro){this.elementRef=Zt,this.renderer=Cn,this.portalDirective=ro,this.isDisabled=!1,this.offset=Pr.none,this.shift=!1,this.autoPlacement=!1,this.closeOnSelect=!0,this.closeOnEscapeKey=!0,this.closeOnBackdrop=!0,this.displayChanged=new e.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:go=>Array.of(document.getElementById(go)),class:go=>Array.from(document.getElementsByClassName(go)),name:go=>Array.from(document.getElementsByName(go)),tag:go=>Array.from(document.getElementsByTagName(go)),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",Yt.Q.zLayer("popover")),this.setDisplayStyling()}setDisplayStyling(){this.renderer.setStyle(this.elementRef.nativeElement,"display",this.isShown?"block":"none")}updateHostElementPosition(){if(!this.reference)return;const Zt={placement:this.placement,middleware:this.getMiddlewareConfig(),strategy:this.strategy};(0,io.H)(((yt,Wt,Pn)=>{const Cn={platform:On,...Pn},ro={...Cn.platform,_c:new Map};return at(yt,Wt,{...Cn,platform:ro})})(this.reference?.nativeElement,this.elementRef.nativeElement,Zt)).subscribe(({x:Cn,y:ro})=>this.setPositionStylingOnHostElement(Cn,ro))}getMiddlewareConfig(){const Zt=[];return Zt.push(function(yt){return void 0===yt&&(yt=0),{name:"offset",options:yt,fn:Wt=>(0,t.A)(function*(){var Pn,Zt;const{x:Cn,y:ro,placement:go,middlewareData:so}=Wt,Wo=yield function xo(yt,Wt){return Kn.apply(this,arguments)}(Wt,yt);return go===(null==(Pn=so.offset)?void 0:Pn.placement)&&null!=(Zt=so.arrow)&&Zt.alignmentOffset?{}:{x:Cn+Wo.x,y:ro+Wo.y,data:{...Wo,placement:go}}})()}}(this.offset)),Zt.push(function(yt){return void 0===yt&&(yt={}),{name:"flip",options:yt,fn:Wt=>(0,t.A)(function*(){var Pn,Zt;const{placement:Cn,middlewareData:ro,rects:go,initialPlacement:so,platform:Wo,elements:si}=Wt,{mainAxis:Jo=!0,crossAxis:L=!0,fallbackPlacements:re,fallbackStrategy:ce="bestFit",fallbackAxisSideDirection:Pe="none",flipAlignment:et=!0,...We}=$(yt,Wt);if(null!=(Pn=ro.arrow)&&Pn.alignmentOffset)return{};const lt=K(Cn),jt=fe(so),Jt=K(so)===so,ie=yield null==Wo.isRTL?void 0:Wo.isRTL(si.floating),Be=re||(Jt||!et?[it(so)]:function ke(yt){const Wt=it(yt);return[be(yt),Wt,be(Wt)]}(so)),Qe="none"!==Pe;!re&&Qe&&Be.push(...function je(yt,Wt,Pn,Zt){const Cn=X(yt);let ro=function Ne(yt,Wt,Pn){const Zt=["left","right"],Cn=["right","left"],ro=["top","bottom"],go=["bottom","top"];switch(yt){case"top":case"bottom":return Pn?Wt?Cn:Zt:Wt?Zt:Cn;case"left":case"right":return Wt?ro:go;default:return[]}}(K(yt),"start"===Pn,Zt);return Cn&&(ro=ro.map(go=>go+"-"+Cn),Wt&&(ro=ro.concat(ro.map(be)))),ro}(so,et,Pe,ie));const ct=[so,...Be],Mt=yield Ge(Wt,We),Dt=[];let fn=(null==(Zt=ro.flip)?void 0:Zt.overflows)||[];if(Jo&&Dt.push(Mt[lt]),L){const vo=Me(Cn,go,ie);Dt.push(Mt[vo[0]],Mt[vo[1]])}if(fn=[...fn,{placement:Cn,overflows:Dt}],!Dt.every(vo=>vo<=0)){var un,In;const vo=((null==(un=ro.flip)?void 0:un.index)||0)+1,Mo=ct[vo];if(Mo)return{data:{index:vo,overflows:fn},reset:{placement:Mo}};let po=null==(In=fn.filter(uo=>uo.overflows[0]<=0).sort((uo,Po)=>uo.overflows[1]-Po.overflows[1])[0])?void 0:In.placement;if(!po)switch(ce){case"bestFit":{var $n;const uo=null==($n=fn.filter(Po=>{if(Qe){const Co=fe(Po.placement);return Co===jt||"y"===Co}return!0}).map(Po=>[Po.placement,Po.overflows.filter(Co=>Co>0).reduce((Co,Vo)=>Co+Vo,0)]).sort((Po,Co)=>Po[1]-Co[1])[0])?void 0:$n[0];uo&&(po=uo);break}case"initialPlacement":po=so}if(Cn!==po)return{reset:{placement:po}}}return{}})()}}()),this.shift&&Zt.push(function(yt){return void 0===yt&&(yt={}),{name:"shift",options:yt,fn:Wt=>(0,t.A)(function*(){const{x:Pn,y:Zt,placement:Cn}=Wt,{mainAxis:ro=!0,crossAxis:go=!1,limiter:so={fn:We=>{let{x:lt,y:jt}=We;return{x:lt,y:jt}}},...Wo}=$(yt,Wt),si={x:Pn,y:Zt},Jo=yield Ge(Wt,Wo),L=fe(K(Cn)),re=J(L);let ce=si[re],Pe=si[L];ro&&(ce=A(ce+Jo["y"===re?"top":"left"],ce,ce-Jo["y"===re?"bottom":"right"])),go&&(Pe=A(Pe+Jo["y"===L?"top":"left"],Pe,Pe-Jo["y"===L?"bottom":"right"]));const et=so.fn({...Wt,[re]:ce,[L]:Pe});return{...et,data:{x:et.x-Pn,y:et.y-Zt,enabled:{[re]:ro,[L]:go}}}})()}}({padding:parseInt(Yt.Q.size("s"))})),this.autoPlacement&&Zt.push(function(yt){return void 0===yt&&(yt={}),{name:"autoPlacement",options:yt,fn:Wt=>(0,t.A)(function*(){var Pn,Zt,Cn;const{rects:ro,middlewareData:go,placement:so,platform:Wo,elements:si}=Wt,{crossAxis:Jo=!1,alignment:L,allowedPlacements:re=d,autoAlignment:ce=!0,...Pe}=$(yt,Wt),et=void 0!==L||re===d?function _t(yt,Wt,Pn){return(yt?[...Pn.filter(Cn=>X(Cn)===yt),...Pn.filter(Cn=>X(Cn)!==yt)]:Pn.filter(Cn=>K(Cn)===Cn)).filter(Cn=>!yt||X(Cn)===yt||!!Wt&&be(Cn)!==Cn)}(L||null,ce,re):re,We=yield Ge(Wt,Pe),lt=(null==(Pn=go.autoPlacement)?void 0:Pn.index)||0,jt=et[lt];if(null==jt)return{};const Jt=Me(jt,ro,yield null==Wo.isRTL?void 0:Wo.isRTL(si.floating));if(so!==jt)return{reset:{placement:et[0]}};const ie=[We[K(jt)],We[Jt[0]],We[Jt[1]]],Be=[...(null==(Zt=go.autoPlacement)?void 0:Zt.overflows)||[],{placement:jt,overflows:ie}],Qe=et[lt+1];if(Qe)return{data:{index:lt+1,overflows:Be},reset:{placement:Qe}};const ct=Be.map(fn=>{const un=X(fn.placement);return[fn.placement,un&&Jo?fn.overflows.slice(0,2).reduce((In,$n)=>In+$n,0):fn.overflows[0],fn.overflows]}).sort((fn,un)=>fn[1]-un[1]),Dt=(null==(Cn=ct.filter(fn=>fn[2].slice(0,X(fn[0])?2:3).every(un=>un<=0))[0])?void 0:Cn[0])||ct[0][0];return Dt!==so?{data:{index:lt+1,overflows:Be},reset:{placement:Dt}}:{}})()}}()),Zt}autoUpdatePosition(){this.removeAutoUpdaterRef(),this.reference&&(this.autoUpdaterRef=function Ro(yt,Wt,Pn,Zt){void 0===Zt&&(Zt={});const{ancestorScroll:Cn=!0,ancestorResize:ro=!0,elementResize:go="function"==typeof ResizeObserver,layoutShift:so="function"==typeof IntersectionObserver,animationFrame:Wo=!1}=Zt,si=Ji(yt),Jo=Cn||ro?[...si?ko(si):[],...ko(Wt)]:[];Jo.forEach(lt=>{Cn&<.addEventListener("scroll",Pn,{passive:!0}),ro&<.addEventListener("resize",Pn)});const L=si&&so?function ni(yt,Wt){let Zt,Pn=null;const Cn=Un(yt);function ro(){var so;clearTimeout(Zt),null==(so=Pn)||so.disconnect(),Pn=null}return function go(so,Wo){void 0===so&&(so=!1),void 0===Wo&&(Wo=1),ro();const{left:si,top:Jo,width:L,height:re}=yt.getBoundingClientRect();if(so||Wt(),!L||!re)return;const jt={rootMargin:-v(Jo)+"px "+-v(Cn.clientWidth-(si+L))+"px "+-v(Cn.clientHeight-(Jo+re))+"px "+-v(si)+"px",threshold:a(0,p(1,Wo))||1};let Jt=!0;function ie(Be){const Qe=Be[0].intersectionRatio;if(Qe!==Wo){if(!Jt)return go();Qe?go(!1,Qe):Zt=setTimeout(()=>{go(!1,1e-7)},1e3)}Jt=!1}try{Pn=new IntersectionObserver(ie,{...jt,root:Cn.ownerDocument})}catch{Pn=new IntersectionObserver(ie,jt)}Pn.observe(yt)}(!0),ro}(si,Pn):null;let re=-1,ce=null;go&&(ce=new ResizeObserver(lt=>{let[jt]=lt;jt&&jt.target===si&&ce&&(ce.unobserve(Wt),cancelAnimationFrame(re),re=requestAnimationFrame(()=>{var Jt;null==(Jt=ce)||Jt.observe(Wt)})),Pn()}),si&&!Wo&&ce.observe(si),ce.observe(Wt));let Pe,et=Wo?Gn(yt):null;return Wo&&function We(){const lt=Gn(yt);et&&(lt.x!==et.x||lt.y!==et.y||lt.width!==et.width||lt.height!==et.height)&&Pn(),et=lt,Pe=requestAnimationFrame(We)}(),Pn(),()=>{var lt;Jo.forEach(jt=>{Cn&&jt.removeEventListener("scroll",Pn),ro&&jt.removeEventListener("resize",Pn)}),L?.(),null==(lt=ce)||lt.disconnect(),ce=null,Wo&&cancelAnimationFrame(Pe)}}(this.reference?.nativeElement,this.elementRef.nativeElement,this.updateHostElementPosition.bind(this)))}setPositionStylingOnHostElement(Zt,Cn){this.renderer.setStyle(this.elementRef.nativeElement,"left",`${Zt}px`),this.renderer.setStyle(this.elementRef.nativeElement,"top",`${Cn}px`),this.setDisplayStyling()}setupEventHandling(){!this.reference||!this.triggers||this.triggers.forEach(Zt=>this.attachTriggerEventToReferenceElement(Zt))}attachDocumentClickEventHandler(){this.documentClickEventListenerDisposeFn||(this.documentClickEventListenerDisposeFn=this.renderer.listen("document","mousedown",Zt=>this.handleClickOutsideHostElement(Zt)))}attachHostClickEventHandler(){this.hostClickEventListenerDisposeFn||!this.closeOnSelect||(this.hostClickEventListenerDisposeFn=this.renderer.listen(this.elementRef.nativeElement,"click",()=>this.handleClickInsideHostElement()))}attachTriggerEventToReferenceElement(Zt){const Cn=this.triggerEventMap.get(Zt);if(!Cn)throw new Error(`${Zt} is missing event definition(s)`);Cn.forEach(ro=>{const go=this.renderer.listen(this.reference?.nativeElement,ro.event,ro.method);this.referenceEventListenerDisposeFns.push(go)})}handleClickInsideHostElement(){this.closeOnSelect&&this.hide()}handleClickOutsideHostElement(Zt){if(Zt.target instanceof Node){if(this.elementRef.nativeElement.contains(Zt.target))return;const ro=this.reference?.nativeElement.contains(Zt.target)&&this.triggers.includes("click");this.closeOnBackdrop&&!ro&&this.hide()}}getOutletElement(Zt){if(!Zt||!Zt.selector||!Zt.value)return null;const Cn=this.getHTMLElements(Zt);if(!Cn||0===Cn.length)throw Error(`Could not locate HTMLElement for ${Zt.selector}. Did you misspell it?`);if(Cn.length>1)throw Error(`Multiple HTMLElements found for ${Zt.selector}.\n This can lead to unintended behaviours. Provide an unique outlet`);return Cn[0]}getHTMLElements(Zt){return this.HTMLElements[Zt.selector](Zt.value)||this.HTMLElements.default(Zt.value)}tearDownReferenceElementEventHandling(){this.referenceEventListenerDisposeFns.forEach(Zt=>{Zt?.()}),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()}}return(yt=Wt).\u0275fac=function(Zt){return new(Zt||yt)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(_r))},yt.\u0275dir=e.FsC({type:yt,selectors:[["","kirbyFloating",""]],hostBindings:function(Zt,Cn){1&Zt&&e.bIt("keydown.escape",function(go){return Cn.onEscapeKeyPressed(go)},!1,e.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"},standalone:!0,features:[e.Jv_([_r]),e.nM4([_r])]}),Wt})()},13339:(Ze,z,i)=>{"use strict";i.d(z,{Cd:()=>a,Iz:()=>_,TD:()=>A,ke:()=>p,r2:()=>u,s0:()=>$,tN:()=>d});var e=i(54438),t=i(53715),l=i(44354),M=i(19402);let d=(()=>{var K;class X{create(G){return typeof ResizeObserver>"u"?null:new ResizeObserver(G)}}return(K=X).\u0275fac=function(G){return new(G||K)},K.\u0275prov=e.jDH({token:K,factory:K.\u0275fac,providedIn:"root"}),X})(),p=(()=>{var K;class X{constructor(G){this._resizeObserverFactory=G,this.observedElements=new WeakMap,this.observer=this._resizeObserverFactory.create(fe=>this.handleResize(fe))}observe(G,fe){const he=G instanceof e.aKT?G.nativeElement:G;this.observedElements.has(he)||(this.observer&&this.observer.observe(he),this.observedElements.set(he,fe))}ngOnDestroy(){this.observer&&this.observer.disconnect(),this.observedElements=null}unobserve(G){const fe=G instanceof e.aKT?G.nativeElement:G;this.observedElements.has(fe)&&(this.observer&&this.observer.unobserve(fe),this.observedElements.delete(fe))}handleResize(G){G.forEach(fe=>{const he=this.observedElements.get(fe.target);he&&he(fe)})}}return(K=X).\u0275fac=function(G){return new(G||K)(e.KVO(d))},K.\u0275prov=e.jDH({token:K,factory:K.\u0275fac,providedIn:"root"}),X})(),a=(()=>{var K;class X{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(G){this._isDefault=!G,this._isPrimary="primary"===G,this._isSecondary="secondary"===G,this._isTertiary="tertiary"===G,this._isSuccess="success"===G,this._isWarning="warning"===G,this._isDanger="danger"===G,this._isLight="light"===G,this._isMedium="medium"===G,this._isDark="dark"===G,this._isWhite="white"===G;const fe=l.A.getColorBrightness(G);this._isBrightnessWhite="white"===fe,this._isBrightnessLight="light"===fe,this._isBrightnessDark="dark"===fe}}return(K=X).\u0275fac=function(G){return new(G||K)},K.\u0275dir=e.FsC({type:K,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(G,fe){2&G&&e.AVh("default",fe.isDefault)("primary",fe.isPrimary)("secondary",fe.isSecondary)("tertiary",fe.isTertiary)("success",fe.isSuccess)("warning",fe.isWarning)("danger",fe.isDanger)("light",fe.isLight)("medium",fe.isMedium)("dark",fe.isDark)("white",fe.isWhite)("kirby-color-brightness-white",fe.isBrightnessWhite)("kirby-color-brightness-light",fe.isBrightnessLight)("kirby-color-brightness-dark",fe.isBrightnessDark)},inputs:{themeColor:"themeColor"},standalone:!0}),X})(),_=(()=>{var K;class X{constructor(G,fe,he){this.componentFactoryResolver=G,this.viewContainerRef=fe,this.renderer=he}ngOnInit(){this.loadCard()}loadCard(){const G=this.componentFactoryResolver.resolveComponentFactory(this.configuration.component);this.viewContainerRef.clear();const fe=this.viewContainerRef.createComponent(G);fe&&fe.location&&fe.location.nativeElement&&this.renderer.addClass(fe.location.nativeElement,this.cssClass),fe.instance.data=this.configuration.data}}return(K=X).\u0275fac=function(G){return new(G||K)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU(e.sFG))},K.\u0275dir=e.FsC({type:K,selectors:[["","kirbyLoadComponent",""]],inputs:{configuration:[0,"kirbyLoadComponent","configuration"],cssClass:"cssClass"},standalone:!0}),X})();const v=M.Q.fontSize,E=M.Q.lineHeight;let u=(()=>{var K;class X{constructor(G,fe,he,Me){this.elementRef=G,this.renderer=fe,this.resizeObserverService=he,this.lineClampHelper=Me,this.headingSizes=[{name:"h1",fontSize:v("xl"),lineHeight:E("xl")},{name:"h2",fontSize:v("l"),lineHeight:E("l")},{name:"h3",fontSize:v("m"),lineHeight:E("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 G=this.headingSizes[this.headingSizes.length-1],fe=this.headingSizes.find(this.canFitHeading.bind(this))||G;this.setSize(this.elementRef.nativeElement,fe),this.lineClampHelper.setLineHeight(this.elementRef.nativeElement,fe.lineHeight),this.isScalingHeader=!1}canFitHeading(G){return this.setSize(this.hostElementClone,G),this.hostElementClone.clientHeight/parseInt(G.lineHeight)<=this.config.maxLines}generateHostElementClone(){const G=this.elementRef.nativeElement.cloneNode(!0);return this.renderer.setStyle(G,"position","absolute"),this.renderer.setStyle(G,"visibility","hidden"),this.lineClampHelper.removeLineClamp(G),G}setSize(G,fe){this.renderer.setStyle(G,"font-size",fe.fontSize),this.renderer.setStyle(G,"line-height",fe.lineHeight)}}return(K=X).\u0275fac=function(G){return new(G||K)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(p),e.rXU(t.aD))},K.\u0275dir=e.FsC({type:K,selectors:[["h1","kirbyFitHeading",""],["h2","kirbyFitHeading",""],["h3","kirbyFitHeading",""]],inputs:{config:[0,"kirbyFitHeading","config"]},standalone:!0,features:[e.Jv_([t.aD])]}),X})();function A(K){const X=function O(K){const X=K.closest("kirby-item");return X?X.querySelector("kirby-label"):null}(K);if(X)return X.setAttribute("aria-hidden","true"),X.textContent}function $(K){const X="aria-label";if(K.hasAttribute(X)){const J=K.getAttribute(X);return K.removeAttribute(X),J}}},26396:(Ze,z,i)=>{"use strict";i.d(z,{V:()=>M});var e=i(60177),t=i(54438);const l=d=>({"slide-done":d});let M=(()=>{var d;class p{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 t.bkB,this.slidingPercentageChanged=new t.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}}return(d=p).\u0275fac=function(_){return new(_||d)(t.rXU(t.gRc))},d.\u0275cmp=t.VBU({type:d,selectors:[["kirby-slide-button"]],hostBindings:function(_,v){1&_&&t.bIt("keyup.arrowup",function(u){return v.onSliderMouseup(u)})("keyup.arrowdown",function(u){return v.onSliderMouseup(u)})("keyup.arrowleft",function(u){return v.onSliderMouseup(u)})("keyup.arrowright",function(u){return v.onSliderMouseup(u)})("keyup.pageup",function(u){return v.onSliderMouseup(u)})("keyup.pagedown",function(u){return v.onSliderMouseup(u)})("keyup.home",function(u){return v.onSliderMouseup(u)})("keyup.end",function(u){return v.onSliderMouseup(u)})("keydown.arrowup",function(u){return v.onKeyDownEvents(u)})("keydown.arrowdown",function(u){return v.onKeyDownEvents(u)})("keydown.arrowleft",function(u){return v.onKeyDownEvents(u)})("keydown.arrowright",function(u){return v.onKeyDownEvents(u)})("keydown.pageup",function(u){return v.onSliderMousedown(u)})("keydown.pagedown",function(u){return v.onSliderMousedown(u)})("keydown.home",function(u){return v.onSliderMousedown(u)})("keydown.end",function(u){return v.onSliderMousedown(u)})},inputs:{text:"text",expand:"expand"},outputs:{slideDone:"slideDone",slidingPercentageChanged:"slidingPercentageChanged"},standalone:!0,features:[t.aNF],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(_,v){1&_&&(t.j41(0,"div",0)(1,"input",1),t.bIt("mouseup",function(){return v.onSliderMouseup()})("touchend",function(){return v.onSliderMouseup()})("input",function(u){return v.onSliderValueChange(u.target.value)})("mousedown",function(){return v.onSliderMousedown()})("touchstart",function(){return v.onSliderMousedown()}),t.k0s(),t.j41(2,"p"),t.EFF(3),t.k0s()()),2&_&&(t.Y8G("ngClass",t.eq3(8,l,v.isSlideDone))("inert",v.isSlideDone),t.R7$(),t.Y8G("value",v.value)("step",v.step),t.R7$(),t.ZvI("slide-button-text slide-",v.pctInTens,"-pct"),t.R7$(),t.JRh(v.text))},dependencies:[e.MD,e.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;z-index:1}[_nghost-%COMP%] .slide-done[_ngcontent-%COMP%]{transition:all .3s ease-in-out;opacity:0;height:0;transform:scale(0);pointer-events:none}"],changeDetection:0}),p})()},16564:(Ze,z,i)=>{"use strict";i.d(z,{F7:()=>Zi,O9:()=>ks,xM:()=>Nr,yb:()=>jr});var e=i(54438);function t(b){return null!==b&&"object"==typeof b&&"constructor"in b&&b.constructor===Object}function l(b={},ee={}){Object.keys(ee).forEach(oe=>{typeof b[oe]>"u"?b[oe]=ee[oe]:t(ee[oe])&&t(b[oe])&&Object.keys(ee[oe]).length>0&&l(b[oe],ee[oe])})}const M={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 d(){const b=typeof document<"u"?document:{};return l(b,M),b}const p={document:M,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:b=>typeof setTimeout>"u"?(b(),null):setTimeout(b,0),cancelAnimationFrame(b){typeof setTimeout>"u"||clearTimeout(b)}};function a(){const b=typeof window<"u"?window:{};return l(b,p),b}function v(b,ee=0){return setTimeout(b,ee)}function E(){return Date.now()}function O(b,ee="x"){const oe=a();let D,N,Y;const xe=function u(b){const ee=a();let oe;return ee.getComputedStyle&&(oe=ee.getComputedStyle(b,null)),!oe&&b.currentStyle&&(oe=b.currentStyle),oe||(oe=b.style),oe}(b);return oe.WebKitCSSMatrix?(N=xe.transform||xe.webkitTransform,N.split(",").length>6&&(N=N.split(", ").map(Ee=>Ee.replace(",",".")).join(", ")),Y=new oe.WebKitCSSMatrix("none"===N?"":N)):(Y=xe.MozTransform||xe.OTransform||xe.MsTransform||xe.msTransform||xe.transform||xe.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),D=Y.toString().split(",")),"x"===ee&&(N=oe.WebKitCSSMatrix?Y.m41:16===D.length?parseFloat(D[12]):parseFloat(D[4])),"y"===ee&&(N=oe.WebKitCSSMatrix?Y.m42:16===D.length?parseFloat(D[13]):parseFloat(D[5])),N||0}function A(b){return"object"==typeof b&&null!==b&&b.constructor&&"Object"===Object.prototype.toString.call(b).slice(8,-1)}function $(b){return typeof window<"u"&&typeof window.HTMLElement<"u"?b instanceof HTMLElement:b&&(1===b.nodeType||11===b.nodeType)}function K(...b){const ee=Object(b[0]),oe=["__proto__","constructor","prototype"];for(let D=1;Doe.indexOf(xe)<0);for(let xe=0,Ee=Y.length;xeN?"next":"prev",Ie=(Ae,ut)=>"next"===_e&&Ae>=ut||"prev"===_e&&Ae<=ut,Le=()=>{xe=(new Date).getTime(),null===Y&&(Y=xe);const Ae=Math.max(Math.min((xe-Y)/Ee,1),0),ut=.5-Math.cos(Ae*Math.PI)/2;let Et=N+ut*(ee-N);if(Ie(Et,ee)&&(Et=ee),b.wrapperEl.scrollTo({[oe]:Et}),Ie(Et,ee))return b.wrapperEl.style.overflow="hidden",b.wrapperEl.style.scrollSnapType="",setTimeout(()=>{b.wrapperEl.style.overflow="",b.wrapperEl.scrollTo({[oe]:Et})}),void D.cancelAnimationFrame(b.cssModeFrameID);b.cssModeFrameID=D.requestAnimationFrame(Le)};Le()}function G(b){return b.querySelector(".swiper-slide-transform")||b.shadowEl&&b.shadowEl.querySelector(".swiper-slide-transform")||b}function he(b,ee=""){return[...b.children].filter(oe=>oe.matches(ee))}function Me(b,ee=[]){const oe=document.createElement(b);return oe.classList.add(...Array.isArray(ee)?ee:[ee]),oe}function ke(b){const ee=a(),oe=d(),D=b.getBoundingClientRect(),N=oe.body;return{top:D.top+(b===ee?ee.scrollY:b.scrollTop)-(b.clientTop||N.clientTop||0),left:D.left+(b===ee?ee.scrollX:b.scrollLeft)-(b.clientLeft||N.clientLeft||0)}}function je(b,ee){return a().getComputedStyle(b,null).getPropertyValue(ee)}function it(b){let oe,ee=b;if(ee){for(oe=0;null!==(ee=ee.previousSibling);)1===ee.nodeType&&(oe+=1);return oe}}function pt(b,ee){const oe=[];let D=b.parentElement;for(;D;)ee?D.matches(ee)&&oe.push(D):oe.push(D),D=D.parentElement;return oe}function Ye(b,ee){ee&&b.addEventListener("transitionend",function oe(D){D.target===b&&(ee.call(b,D),b.removeEventListener("transitionend",oe))})}function St(b,ee,oe){const D=a();return oe?b["width"===ee?"offsetWidth":"offsetHeight"]+parseFloat(D.getComputedStyle(b,null).getPropertyValue("width"===ee?"margin-right":"margin-top"))+parseFloat(D.getComputedStyle(b,null).getPropertyValue("width"===ee?"margin-left":"margin-bottom")):b.offsetWidth}let mt,gt,Ke;function Ge(){return mt||(mt=function at(){const b=a(),ee=d();return{smoothScroll:ee.documentElement&&ee.documentElement.style&&"scrollBehavior"in ee.documentElement.style,touch:!!("ontouchstart"in b||b.DocumentTouch&&ee instanceof b.DocumentTouch)}}()),mt}const Xt=(b,ee)=>{if(!b||b.destroyed||!b.params)return;const D=ee.closest(b.isElement?"swiper-slide":`.${b.params.slideClass}`);if(D){const N=D.querySelector(`.${b.params.lazyPreloaderClass}`);N&&N.remove()}},ln=(b,ee)=>{if(!b.slides[ee])return;const oe=b.slides[ee].querySelector('[loading="lazy"]');oe&&oe.removeAttribute("loading")},tn=b=>{if(!b||b.destroyed||!b.params)return;let ee=b.params.lazyPreloadPrevNext;const oe=b.slides.length;if(!oe||!ee||ee<0)return;ee=Math.min(ee,oe);const D="auto"===b.params.slidesPerView?b.slidesPerViewDynamic():Math.ceil(b.params.slidesPerView),N=b.activeIndex;if(b.params.grid&&b.params.grid.rows>1){const xe=N,Ee=[xe-ee];return Ee.push(...Array.from({length:ee}).map((_e,Ie)=>xe+D+Ie)),void b.slides.forEach((_e,Ie)=>{Ee.includes(_e.column)&&ln(b,Ie)})}const Y=N+D-1;if(b.params.rewind||b.params.loop)for(let xe=N-ee;xe<=Y+ee;xe+=1){const Ee=(xe%oe+oe)%oe;(EeY)&&ln(b,Ee)}else for(let xe=Math.max(N-ee,0);xe<=Math.min(Y+ee,oe-1);xe+=1)xe!==N&&(xe>Y||xeY?"next":N0||N.isTouched&&N.isMoved)return;const Le=!!Y.noSwipingClass&&""!==Y.noSwipingClass,Ae=b.composedPath?b.composedPath():b.path;Le&&_e.target&&_e.target.shadowRoot&&Ae&&(Ie=Ae[0]);const ut=Y.noSwipingSelector?Y.noSwipingSelector:`.${Y.noSwipingClass}`;if(Y.noSwiping&&(_e.target&&_e.target.shadowRoot?function Fe(b,ee=this){return function oe(D){if(!D||D===d()||D===a())return null;D.assignedSlot&&(D=D.assignedSlot);const N=D.closest(b);return N||D.getRootNode?N||oe(D.getRootNode().host):null}(ee)}(ut,Ie):Ie.closest(ut)))return void(ee.allowClick=!0);if(Y.swipeHandler&&!Ie.closest(Y.swipeHandler))return;xe.currentX=_e.pageX,xe.currentY=_e.pageY;const Nt=xe.currentX,Ot=xe.currentY,pn=Y.edgeSwipeDetection||Y.iOSEdgeSwipeDetection,Ct=Y.edgeSwipeThreshold||Y.iOSEdgeSwipeThreshold;if(pn&&(Nt<=Ct||Nt>=D.innerWidth-Ct)){if("prevent"!==pn)return;b.preventDefault()}Object.assign(N,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),xe.startX=Nt,xe.startY=Ot,N.touchStartTime=E(),ee.allowClick=!0,ee.updateSize(),ee.swipeDirection=void 0,Y.threshold>0&&(N.allowThresholdMove=!1);let nn=!0;Ie.matches(N.focusableElements)&&(nn=!1,"SELECT"===Ie.nodeName&&(N.isTouched=!1)),oe.activeElement&&oe.activeElement.matches(N.focusableElements)&&oe.activeElement!==Ie&&oe.activeElement.blur(),(Y.touchStartForcePreventDefault||nn&&ee.allowTouchMove&&Y.touchStartPreventDefault)&&!Ie.isContentEditable&&_e.preventDefault(),Y.freeMode&&Y.freeMode.enabled&&ee.freeMode&&ee.animating&&!Y.cssMode&&ee.freeMode.onTouchStart(),ee.emit("touchStart",_e)}function en(b){const ee=d(),oe=this,D=oe.touchEventsData,{params:N,touches:Y,rtlTranslate:xe,enabled:Ee}=oe;if(!Ee||!N.simulateTouch&&"mouse"===b.pointerType)return;let _e=b;if(_e.originalEvent&&(_e=_e.originalEvent),!D.isTouched)return void(D.startMoving&&D.isScrolling&&oe.emit("touchMoveOpposite",_e));const Ie=D.evCache.findIndex(fo=>fo.pointerId===_e.pointerId);Ie>=0&&(D.evCache[Ie]=_e);const Le=D.evCache.length>1?D.evCache[0]:_e,Ae=Le.pageX,ut=Le.pageY;if(_e.preventedByNestedSwiper)return Y.startX=Ae,void(Y.startY=ut);if(!oe.allowTouchMove)return _e.target.matches(D.focusableElements)||(oe.allowClick=!1),void(D.isTouched&&(Object.assign(Y,{startX:Ae,startY:ut,prevX:oe.touches.currentX,prevY:oe.touches.currentY,currentX:Ae,currentY:ut}),D.touchStartTime=E()));if(N.touchReleaseOnEdges&&!N.loop)if(oe.isVertical()){if(utY.startY&&oe.translate>=oe.minTranslate())return D.isTouched=!1,void(D.isMoved=!1)}else if(AeY.startX&&oe.translate>=oe.minTranslate())return;if(ee.activeElement&&_e.target===ee.activeElement&&_e.target.matches(D.focusableElements))return D.isMoved=!0,void(oe.allowClick=!1);if(D.allowTouchCallbacks&&oe.emit("touchMove",_e),_e.targetTouches&&_e.targetTouches.length>1)return;Y.currentX=Ae,Y.currentY=ut;const Et=Y.currentX-Y.startX,Nt=Y.currentY-Y.startY;if(oe.params.threshold&&Math.sqrt(Et**2+Nt**2)"u"){let fo;oe.isHorizontal()&&Y.currentY===Y.startY||oe.isVertical()&&Y.currentX===Y.startX?D.isScrolling=!1:Et*Et+Nt*Nt>=25&&(fo=180*Math.atan2(Math.abs(Nt),Math.abs(Et))/Math.PI,D.isScrolling=oe.isHorizontal()?fo>N.touchAngle:90-fo>N.touchAngle)}if(D.isScrolling&&oe.emit("touchMoveOpposite",_e),typeof D.startMoving>"u"&&(Y.currentX!==Y.startX||Y.currentY!==Y.startY)&&(D.startMoving=!0),D.isScrolling||oe.zoom&&oe.params.zoom&&oe.params.zoom.enabled&&D.evCache.length>1)return void(D.isTouched=!1);if(!D.startMoving)return;oe.allowClick=!1,!N.cssMode&&_e.cancelable&&_e.preventDefault(),N.touchMoveStopPropagation&&!N.nested&&_e.stopPropagation();let Ot=oe.isHorizontal()?Et:Nt,pn=oe.isHorizontal()?Y.currentX-Y.previousX:Y.currentY-Y.previousY;N.oneWayMovement&&(Ot=Math.abs(Ot)*(xe?1:-1),pn=Math.abs(pn)*(xe?1:-1)),Y.diff=Ot,Ot*=N.touchRatio,xe&&(Ot=-Ot,pn=-pn);const Ct=oe.touchesDirection;oe.swipeDirection=Ot>0?"prev":"next",oe.touchesDirection=pn>0?"prev":"next";const nn=oe.params.loop&&!N.cssMode;if(!D.isMoved){if(nn&&oe.loopFix({direction:oe.swipeDirection}),D.startTranslate=oe.getTranslate(),oe.setTransition(0),oe.animating){const fo=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});oe.wrapperEl.dispatchEvent(fo)}D.allowMomentumBounce=!1,N.grabCursor&&(!0===oe.allowSlideNext||!0===oe.allowSlidePrev)&&oe.setGrabCursor(!0),oe.emit("sliderFirstMove",_e)}let on;D.isMoved&&Ct!==oe.touchesDirection&&nn&&Math.abs(Ot)>=1&&(oe.loopFix({direction:oe.swipeDirection,setTranslate:!0}),on=!0),oe.emit("sliderMove",_e),D.isMoved=!0,D.currentTranslate=Ot+D.startTranslate;let Qn=!0,eo=N.resistanceRatio;if(N.touchReleaseOnEdges&&(eo=0),Ot>0?(nn&&!on&&D.currentTranslate>(N.centeredSlides?oe.minTranslate()-oe.size/2:oe.minTranslate())&&oe.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),D.currentTranslate>oe.minTranslate()&&(Qn=!1,N.resistance&&(D.currentTranslate=oe.minTranslate()-1+(-oe.minTranslate()+D.startTranslate+Ot)**eo))):Ot<0&&(nn&&!on&&D.currentTranslate<(N.centeredSlides?oe.maxTranslate()+oe.size/2:oe.maxTranslate())&&oe.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:oe.slides.length-("auto"===N.slidesPerView?oe.slidesPerViewDynamic():Math.ceil(parseFloat(N.slidesPerView,10)))}),D.currentTranslateD.startTranslate&&(D.currentTranslate=D.startTranslate),!oe.allowSlidePrev&&!oe.allowSlideNext&&(D.currentTranslate=D.startTranslate),N.threshold>0){if(!(Math.abs(Ot)>N.threshold||D.allowThresholdMove))return void(D.currentTranslate=D.startTranslate);if(!D.allowThresholdMove)return D.allowThresholdMove=!0,Y.startX=Y.currentX,Y.startY=Y.currentY,D.currentTranslate=D.startTranslate,void(Y.diff=oe.isHorizontal()?Y.currentX-Y.startX:Y.currentY-Y.startY)}!N.followFinger||N.cssMode||((N.freeMode&&N.freeMode.enabled&&oe.freeMode||N.watchSlidesProgress)&&(oe.updateActiveIndex(),oe.updateSlidesClasses()),N.freeMode&&N.freeMode.enabled&&oe.freeMode&&oe.freeMode.onTouchMove(),oe.updateProgress(D.currentTranslate),oe.setTranslate(D.currentTranslate))}function Xn(b){const ee=this,oe=ee.touchEventsData,D=oe.evCache.findIndex(on=>on.pointerId===b.pointerId);if(D>=0&&oe.evCache.splice(D,1),["pointercancel","pointerout","pointerleave"].includes(b.type)&&("pointercancel"!==b.type||!ee.browser.isSafari&&!ee.browser.isWebView))return;const{params:N,touches:Y,rtlTranslate:xe,slidesGrid:Ee,enabled:_e}=ee;if(!_e||!N.simulateTouch&&"mouse"===b.pointerType)return;let Ie=b;if(Ie.originalEvent&&(Ie=Ie.originalEvent),oe.allowTouchCallbacks&&ee.emit("touchEnd",Ie),oe.allowTouchCallbacks=!1,!oe.isTouched)return oe.isMoved&&N.grabCursor&&ee.setGrabCursor(!1),oe.isMoved=!1,void(oe.startMoving=!1);N.grabCursor&&oe.isMoved&&oe.isTouched&&(!0===ee.allowSlideNext||!0===ee.allowSlidePrev)&&ee.setGrabCursor(!1);const Le=E(),Ae=Le-oe.touchStartTime;if(ee.allowClick){const on=Ie.path||Ie.composedPath&&Ie.composedPath();ee.updateClickedSlide(on&&on[0]||Ie.target),ee.emit("tap click",Ie),Ae<300&&Le-oe.lastClickTime<300&&ee.emit("doubleTap doubleClick",Ie)}if(oe.lastClickTime=E(),v(()=>{ee.destroyed||(ee.allowClick=!0)}),!oe.isTouched||!oe.isMoved||!ee.swipeDirection||0===Y.diff||oe.currentTranslate===oe.startTranslate)return oe.isTouched=!1,oe.isMoved=!1,void(oe.startMoving=!1);let ut;if(oe.isTouched=!1,oe.isMoved=!1,oe.startMoving=!1,ut=N.followFinger?xe?ee.translate:-ee.translate:-oe.currentTranslate,N.cssMode)return;if(N.freeMode&&N.freeMode.enabled)return void ee.freeMode.onTouchEnd({currentPos:ut});let Et=0,Nt=ee.slidesSizesGrid[0];for(let on=0;on=Ee[on]&&ut=Ee[on]&&(Et=on,Nt=Ee[Ee.length-1]-Ee[Ee.length-2])}let Ot=null,pn=null;N.rewind&&(ee.isBeginning?pn=N.virtual&&N.virtual.enabled&&ee.virtual?ee.virtual.slides.length-1:ee.slides.length-1:ee.isEnd&&(Ot=0));const Ct=(ut-Ee[Et])/Nt,nn=EtN.longSwipesMs){if(!N.longSwipes)return void ee.slideTo(ee.activeIndex);"next"===ee.swipeDirection&&ee.slideTo(Ct>=N.longSwipesRatio?N.rewind&&ee.isEnd?Ot:Et+nn:Et),"prev"===ee.swipeDirection&&(Ct>1-N.longSwipesRatio?ee.slideTo(Et+nn):null!==pn&&Ct<0&&Math.abs(Ct)>N.longSwipesRatio?ee.slideTo(pn):ee.slideTo(Et))}else{if(!N.shortSwipes)return void ee.slideTo(ee.activeIndex);!ee.navigation||Ie.target!==ee.navigation.nextEl&&Ie.target!==ee.navigation.prevEl?("next"===ee.swipeDirection&&ee.slideTo(null!==Ot?Ot:Et+nn),"prev"===ee.swipeDirection&&ee.slideTo(null!==pn?pn:Et)):ee.slideTo(Ie.target===ee.navigation.nextEl?Et+nn:Et)}}function sn(){const b=this,{params:ee,el:oe}=b;if(oe&&0===oe.offsetWidth)return;ee.breakpoints&&b.setBreakpoint();const{allowSlideNext:D,allowSlidePrev:N,snapGrid:Y}=b,xe=b.virtual&&b.params.virtual.enabled;b.allowSlideNext=!0,b.allowSlidePrev=!0,b.updateSize(),b.updateSlides(),b.updateSlidesClasses(),!("auto"===ee.slidesPerView||ee.slidesPerView>1)||!b.isEnd||b.isBeginning||b.params.centeredSlides||xe&&ee.loop?b.params.loop&&!xe?b.slideToLoop(b.realIndex,0,!1,!0):b.slideTo(b.activeIndex,0,!1,!0):b.slideTo(b.slides.length-1,0,!1,!0),b.autoplay&&b.autoplay.running&&b.autoplay.paused&&(clearTimeout(b.autoplay.resizeTimeout),b.autoplay.resizeTimeout=setTimeout(()=>{b.autoplay&&b.autoplay.running&&b.autoplay.paused&&b.autoplay.resume()},500)),b.allowSlidePrev=N,b.allowSlideNext=D,b.params.watchOverflow&&Y!==b.snapGrid&&b.checkOverflow()}function zt(b){const ee=this;ee.enabled&&(ee.allowClick||(ee.params.preventClicks&&b.preventDefault(),ee.params.preventClicksPropagation&&ee.animating&&(b.stopPropagation(),b.stopImmediatePropagation())))}function _n(){const b=this,{wrapperEl:ee,rtlTranslate:oe,enabled:D}=b;if(!D)return;let N;b.previousTranslate=b.translate,b.translate=b.isHorizontal()?-ee.scrollLeft:-ee.scrollTop,0===b.translate&&(b.translate=0),b.updateActiveIndex(),b.updateSlidesClasses();const Y=b.maxTranslate()-b.minTranslate();N=0===Y?0:(b.translate-b.minTranslate())/Y,N!==b.progress&&b.updateProgress(oe?-b.translate:b.translate),b.emit("setTranslate",b.translate,!1)}function kt(b){const ee=this;Xt(ee,b.target),!ee.params.cssMode&&("auto"===ee.params.slidesPerView||ee.params.autoHeight)&&ee.update()}let an=!1;function Wn(){}const Jn=(b,ee)=>{const oe=d(),{params:D,el:N,wrapperEl:Y,device:xe}=b,Ee=!!D.nested,_e="on"===ee?"addEventListener":"removeEventListener",Ie=ee;N[_e]("pointerdown",b.onTouchStart,{passive:!1}),oe[_e]("pointermove",b.onTouchMove,{passive:!1,capture:Ee}),oe[_e]("pointerup",b.onTouchEnd,{passive:!0}),oe[_e]("pointercancel",b.onTouchEnd,{passive:!0}),oe[_e]("pointerout",b.onTouchEnd,{passive:!0}),oe[_e]("pointerleave",b.onTouchEnd,{passive:!0}),(D.preventClicks||D.preventClicksPropagation)&&N[_e]("click",b.onClick,!0),D.cssMode&&Y[_e]("scroll",b.onScroll),b[Ie](D.updateOnWindowResize?xe.ios||xe.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",sn,!0),N[_e]("load",b.onLoad,{capture:!0})},On=(b,ee)=>b.grid&&ee.grid&&ee.grid.rows>1,mr={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 Ki(b,ee){return function(D={}){const N=Object.keys(D)[0],Y=D[N];"object"==typeof Y&&null!==Y?(["navigation","pagination","scrollbar"].indexOf(N)>=0&&!0===b[N]&&(b[N]={auto:!0}),N in b&&"enabled"in Y?(!0===b[N]&&(b[N]={enabled:!0}),"object"==typeof b[N]&&!("enabled"in b[N])&&(b[N].enabled=!0),b[N]||(b[N]={enabled:!1}),K(ee,D)):K(ee,D)):K(ee,D)}}const kr={eventsEmitter:{on(b,ee,oe){const D=this;if(!D.eventsListeners||D.destroyed||"function"!=typeof ee)return D;const N=oe?"unshift":"push";return b.split(" ").forEach(Y=>{D.eventsListeners[Y]||(D.eventsListeners[Y]=[]),D.eventsListeners[Y][N](ee)}),D},once(b,ee,oe){const D=this;if(!D.eventsListeners||D.destroyed||"function"!=typeof ee)return D;function N(...Y){D.off(b,N),N.__emitterProxy&&delete N.__emitterProxy,ee.apply(D,Y)}return N.__emitterProxy=ee,D.on(b,N,oe)},onAny(b,ee){const oe=this;if(!oe.eventsListeners||oe.destroyed||"function"!=typeof b)return oe;const D=ee?"unshift":"push";return oe.eventsAnyListeners.indexOf(b)<0&&oe.eventsAnyListeners[D](b),oe},offAny(b){const ee=this;if(!ee.eventsListeners||ee.destroyed||!ee.eventsAnyListeners)return ee;const oe=ee.eventsAnyListeners.indexOf(b);return oe>=0&&ee.eventsAnyListeners.splice(oe,1),ee},off(b,ee){const oe=this;return!oe.eventsListeners||oe.destroyed||!oe.eventsListeners||b.split(" ").forEach(D=>{typeof ee>"u"?oe.eventsListeners[D]=[]:oe.eventsListeners[D]&&oe.eventsListeners[D].forEach((N,Y)=>{(N===ee||N.__emitterProxy&&N.__emitterProxy===ee)&&oe.eventsListeners[D].splice(Y,1)})}),oe},emit(...b){const ee=this;if(!ee.eventsListeners||ee.destroyed||!ee.eventsListeners)return ee;let oe,D,N;return"string"==typeof b[0]||Array.isArray(b[0])?(oe=b[0],D=b.slice(1,b.length),N=ee):(oe=b[0].events,D=b[0].data,N=b[0].context||ee),D.unshift(N),(Array.isArray(oe)?oe:oe.split(" ")).forEach(xe=>{ee.eventsAnyListeners&&ee.eventsAnyListeners.length&&ee.eventsAnyListeners.forEach(Ee=>{Ee.apply(N,[xe,...D])}),ee.eventsListeners&&ee.eventsListeners[xe]&&ee.eventsListeners[xe].forEach(Ee=>{Ee.apply(N,D)})}),ee}},update:{updateSize:function Nn(){const b=this;let ee,oe;const D=b.el;ee=typeof b.params.width<"u"&&null!==b.params.width?b.params.width:D.clientWidth,oe=typeof b.params.height<"u"&&null!==b.params.height?b.params.height:D.clientHeight,!(0===ee&&b.isHorizontal()||0===oe&&b.isVertical())&&(ee=ee-parseInt(je(D,"padding-left")||0,10)-parseInt(je(D,"padding-right")||0,10),oe=oe-parseInt(je(D,"padding-top")||0,10)-parseInt(je(D,"padding-bottom")||0,10),Number.isNaN(ee)&&(ee=0),Number.isNaN(oe)&&(oe=0),Object.assign(b,{width:ee,height:oe,size:b.isHorizontal()?ee:oe}))},updateSlides:function Hn(){const b=this;function ee(ge){return b.isHorizontal()?ge:{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"}[ge]}function oe(ge,He){return parseFloat(ge.getPropertyValue(ee(He))||0)}const D=b.params,{wrapperEl:N,slidesEl:Y,size:xe,rtlTranslate:Ee,wrongRTL:_e}=b,Ie=b.virtual&&D.virtual.enabled,Le=Ie?b.virtual.slides.length:b.slides.length,Ae=he(Y,`.${b.params.slideClass}, swiper-slide`),ut=Ie?b.virtual.slides.length:Ae.length;let Et=[];const Nt=[],Ot=[];let pn=D.slidesOffsetBefore;"function"==typeof pn&&(pn=D.slidesOffsetBefore.call(b));let Ct=D.slidesOffsetAfter;"function"==typeof Ct&&(Ct=D.slidesOffsetAfter.call(b));const nn=b.snapGrid.length,on=b.slidesGrid.length;let Qn=D.spaceBetween,eo=-pn,fo=0,jo=0;if(typeof xe>"u")return;"string"==typeof Qn&&Qn.indexOf("%")>=0?Qn=parseFloat(Qn.replace("%",""))/100*xe:"string"==typeof Qn&&(Qn=parseFloat(Qn)),b.virtualSize=-Qn,Ae.forEach(ge=>{Ee?ge.style.marginLeft="":ge.style.marginRight="",ge.style.marginBottom="",ge.style.marginTop=""}),D.centeredSlides&&D.cssMode&&(X(N,"--swiper-centered-offset-before",""),X(N,"--swiper-centered-offset-after",""));const wo=D.grid&&D.grid.rows>1&&b.grid;let ii;wo&&b.grid.initSlides(ut);const Te="auto"===D.slidesPerView&&D.breakpoints&&Object.keys(D.breakpoints).filter(ge=>typeof D.breakpoints[ge].slidesPerView<"u").length>0;for(let ge=0;ge1&&Et.push(b.virtualSize-xe)}if(Ie&&D.loop){const ge=Ot[0]+Qn;if(D.slidesPerGroup>1){const He=Math.ceil((b.virtual.slidesBefore+b.virtual.slidesAfter)/D.slidesPerGroup),ue=ge*D.slidesPerGroup;for(let st=0;st!(D.cssMode&&!D.loop)||ue!==Ae.length-1).forEach(He=>{He.style[ge]=`${Qn}px`})}if(D.centeredSlides&&D.centeredSlidesBounds){let ge=0;Ot.forEach(ue=>{ge+=ue+(Qn||0)}),ge-=Qn;const He=ge-xe;Et=Et.map(ue=>ue<=0?-pn:ue>He?He+Ct:ue)}if(D.centerInsufficientSlides){let ge=0;if(Ot.forEach(He=>{ge+=He+(Qn||0)}),ge-=Qn,ge{Et[st]=ue-He}),Nt.forEach((ue,st)=>{Nt[st]=ue+He})}}if(Object.assign(b,{slides:Ae,snapGrid:Et,slidesGrid:Nt,slidesSizesGrid:Ot}),D.centeredSlides&&D.cssMode&&!D.centeredSlidesBounds){X(N,"--swiper-centered-offset-before",-Et[0]+"px"),X(N,"--swiper-centered-offset-after",b.size/2-Ot[Ot.length-1]/2+"px");const ge=-b.snapGrid[0],He=-b.slidesGrid[0];b.snapGrid=b.snapGrid.map(ue=>ue+ge),b.slidesGrid=b.slidesGrid.map(ue=>ue+He)}if(ut!==Le&&b.emit("slidesLengthChange"),Et.length!==nn&&(b.params.watchOverflow&&b.checkOverflow(),b.emit("snapGridLengthChange")),Nt.length!==on&&b.emit("slidesGridLengthChange"),D.watchSlidesProgress&&b.updateSlidesOffset(),!(Ie||D.cssMode||"slide"!==D.effect&&"fade"!==D.effect)){const ge=`${D.containerModifierClass}backface-hidden`,He=b.el.classList.contains(ge);ut<=D.maxBackfaceHiddenSlides?He||b.el.classList.add(ge):He&&b.el.classList.remove(ge)}},updateAutoHeight:function xo(b){const ee=this,oe=[],D=ee.virtual&&ee.params.virtual.enabled;let Y,N=0;"number"==typeof b?ee.setTransition(b):!0===b&&ee.setTransition(ee.params.speed);const xe=Ee=>D?ee.slides[ee.getSlideIndexByData(Ee)]:ee.slides[Ee];if("auto"!==ee.params.slidesPerView&&ee.params.slidesPerView>1)if(ee.params.centeredSlides)(ee.visibleSlides||[]).forEach(Ee=>{oe.push(Ee)});else for(Y=0;Yee.slides.length&&!D)break;oe.push(xe(Ee))}else oe.push(xe(ee.activeIndex));for(Y=0;YN?Ee:N}(N||0===N)&&(ee.wrapperEl.style.height=`${N}px`)},updateSlidesOffset:function Kn(){const b=this,ee=b.slides,oe=b.isElement?b.isHorizontal()?b.wrapperEl.offsetLeft:b.wrapperEl.offsetTop:0;for(let D=0;D"u"&&ee.updateSlidesOffset();let xe=-b;N&&(xe=b),D.forEach(_e=>{_e.classList.remove(oe.slideVisibleClass)}),ee.visibleSlidesIndexes=[],ee.visibleSlides=[];let Ee=oe.spaceBetween;"string"==typeof Ee&&Ee.indexOf("%")>=0?Ee=parseFloat(Ee.replace("%",""))/100*ee.size:"string"==typeof Ee&&(Ee=parseFloat(Ee));for(let _e=0;_e=0&&Et1&&Nt<=ee.size||Et<=0&&Nt>=ee.size)&&(ee.visibleSlides.push(Ie),ee.visibleSlidesIndexes.push(_e),D[_e].classList.add(oe.slideVisibleClass)),Ie.progress=N?-Ae:Ae,Ie.originalProgress=N?-ut:ut}},updateProgress:function Ht(b){const ee=this;typeof b>"u"&&(b=ee&&ee.translate&&ee.translate*(ee.rtlTranslate?-1:1)||0);const oe=ee.params,D=ee.maxTranslate()-ee.minTranslate();let{progress:N,isBeginning:Y,isEnd:xe,progressLoop:Ee}=ee;const _e=Y,Ie=xe;if(0===D)N=0,Y=!0,xe=!0;else{N=(b-ee.minTranslate())/D;const Le=Math.abs(b-ee.minTranslate())<1,Ae=Math.abs(b-ee.maxTranslate())<1;Y=Le||N<=0,xe=Ae||N>=1,Le&&(N=0),Ae&&(N=1)}if(oe.loop){const Le=ee.getSlideIndexByData(0),Ae=ee.getSlideIndexByData(ee.slides.length-1),ut=ee.slidesGrid[Le],Et=ee.slidesGrid[Ae],Nt=ee.slidesGrid[ee.slidesGrid.length-1],Ot=Math.abs(b);Ee=Ot>=ut?(Ot-ut)/Nt:(Ot+Nt-Et)/Nt,Ee>1&&(Ee-=1)}Object.assign(ee,{progress:N,progressLoop:Ee,isBeginning:Y,isEnd:xe}),(oe.watchSlidesProgress||oe.centeredSlides&&oe.autoHeight)&&ee.updateSlidesProgress(b),Y&&!_e&&ee.emit("reachBeginning toEdge"),xe&&!Ie&&ee.emit("reachEnd toEdge"),(_e&&!Y||Ie&&!xe)&&ee.emit("fromEdge"),ee.emit("progress",N)},updateSlidesClasses:function $t(){const b=this,{slides:ee,params:oe,slidesEl:D,activeIndex:N}=b,Y=b.virtual&&oe.virtual.enabled,xe=_e=>he(D,`.${oe.slideClass}${_e}, swiper-slide${_e}`)[0];let Ee;if(ee.forEach(_e=>{_e.classList.remove(oe.slideActiveClass,oe.slideNextClass,oe.slidePrevClass)}),Y)if(oe.loop){let _e=N-b.virtual.slidesBefore;_e<0&&(_e=b.virtual.slides.length+_e),_e>=b.virtual.slides.length&&(_e-=b.virtual.slides.length),Ee=xe(`[data-swiper-slide-index="${_e}"]`)}else Ee=xe(`[data-swiper-slide-index="${N}"]`);else Ee=ee[N];if(Ee){Ee.classList.add(oe.slideActiveClass);let _e=function Ne(b,ee){const oe=[];for(;b.nextElementSibling;){const D=b.nextElementSibling;ee?D.matches(ee)&&oe.push(D):oe.push(D),b=D}return oe}(Ee,`.${oe.slideClass}, swiper-slide`)[0];oe.loop&&!_e&&(_e=ee[0]),_e&&_e.classList.add(oe.slideNextClass);let Ie=function be(b,ee){const oe=[];for(;b.previousElementSibling;){const D=b.previousElementSibling;ee?D.matches(ee)&&oe.push(D):oe.push(D),b=D}return oe}(Ee,`.${oe.slideClass}, swiper-slide`)[0];oe.loop&&0===!Ie&&(Ie=ee[ee.length-1]),Ie&&Ie.classList.add(oe.slidePrevClass)}b.emitSlidesClasses()},updateActiveIndex:function Un(b){const ee=this,oe=ee.rtlTranslate?ee.translate:-ee.translate,{snapGrid:D,params:N,activeIndex:Y,realIndex:xe,snapIndex:Ee}=ee;let Ie,_e=b;const Le=ut=>{let Et=ut-ee.virtual.slidesBefore;return Et<0&&(Et=ee.virtual.slides.length+Et),Et>=ee.virtual.slides.length&&(Et-=ee.virtual.slides.length),Et};if(typeof _e>"u"&&(_e=function En(b){const{slidesGrid:ee,params:oe}=b,D=b.rtlTranslate?b.translate:-b.translate;let N;for(let Y=0;Y=ee[Y]&&D=ee[Y]&&D=ee[Y]&&(N=Y);return oe.normalizeSlideIndex&&(N<0||typeof N>"u")&&(N=0),N}(ee)),D.indexOf(oe)>=0)Ie=D.indexOf(oe);else{const ut=Math.min(N.slidesPerGroupSkip,_e);Ie=ut+Math.floor((_e-ut)/N.slidesPerGroup)}if(Ie>=D.length&&(Ie=D.length-1),_e===Y)return Ie!==Ee&&(ee.snapIndex=Ie,ee.emit("snapIndexChange")),void(ee.params.loop&&ee.virtual&&ee.params.virtual.enabled&&(ee.realIndex=Le(_e)));let Ae;Ae=ee.virtual&&N.virtual.enabled&&N.loop?Le(_e):ee.slides[_e]?parseInt(ee.slides[_e].getAttribute("data-swiper-slide-index")||_e,10):_e,Object.assign(ee,{previousSnapIndex:Ee,snapIndex:Ie,previousRealIndex:xe,realIndex:Ae,previousIndex:Y,activeIndex:_e}),ee.initialized&&tn(ee),ee.emit("activeIndexChange"),ee.emit("snapIndexChange"),xe!==Ae&&ee.emit("realIndexChange"),(ee.initialized||ee.params.runCallbacksOnInit)&&ee.emit("slideChange")},updateClickedSlide:function Tn(b){const ee=this,oe=ee.params,D=b.closest(`.${oe.slideClass}, swiper-slide`);let Y,N=!1;if(D)for(let xe=0;xe_e?_e:D&&b=_e.length&&(pn=_e.length-1);const Ct=-_e[pn];if(Ee.normalizeSlideIndex)for(let on=0;on=eo&&Qn=eo&&Qn=eo&&(xe=on)}if(Y.initialized&&xe!==Ae&&(!Y.allowSlideNext&&(ut?Ct>Y.translate&&Ct>Y.minTranslate():CtY.translate&&Ct>Y.maxTranslate()&&(Ae||0)!==xe))return!1;let nn;if(xe!==(Le||0)&&oe&&Y.emit("beforeSlideChangeStart"),Y.updateProgress(Ct),nn=xe>Ae?"next":xe0?(Y._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{Et[on?"scrollLeft":"scrollTop"]=Qn})):Et[on?"scrollLeft":"scrollTop"]=Qn,eo&&requestAnimationFrame(()=>{Y.wrapperEl.style.scrollSnapType="",Y._immediateVirtual=!1})}else{if(!Y.support.smoothScroll)return J({swiper:Y,targetPosition:Qn,side:on?"left":"top"}),!0;Et.scrollTo({[on?"left":"top"]:Qn,behavior:"smooth"})}return!0}return Y.setTransition(ee),Y.setTranslate(Ct),Y.updateActiveIndex(xe),Y.updateSlidesClasses(),Y.emit("beforeTransitionStart",ee,D),Y.transitionStart(oe,nn),0===ee?Y.transitionEnd(oe,nn):Y.animating||(Y.animating=!0,Y.onSlideToWrapperTransitionEnd||(Y.onSlideToWrapperTransitionEnd=function(Qn){!Y||Y.destroyed||Qn.target===this&&(Y.wrapperEl.removeEventListener("transitionend",Y.onSlideToWrapperTransitionEnd),Y.onSlideToWrapperTransitionEnd=null,delete Y.onSlideToWrapperTransitionEnd,Y.transitionEnd(oe,nn))}),Y.wrapperEl.addEventListener("transitionend",Y.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function ci(b=0,ee=this.params.speed,oe=!0,D){"string"==typeof b&&(b=parseInt(b,10));const N=this;let Y=b;return N.params.loop&&(N.virtual&&N.params.virtual.enabled?Y+=N.virtual.slidesBefore:Y=N.getSlideIndexByData(Y)),N.slideTo(Y,ee,oe,D)},slideNext:function ko(b=this.params.speed,ee=!0,oe){const D=this,{enabled:N,params:Y,animating:xe}=D;if(!N)return D;let Ee=Y.slidesPerGroup;"auto"===Y.slidesPerView&&1===Y.slidesPerGroup&&Y.slidesPerGroupAuto&&(Ee=Math.max(D.slidesPerViewDynamic("current",!0),1));const _e=D.activeIndexut(Ct));let Ot=Y[Nt.indexOf(Et)-1];if(typeof Ot>"u"&&N.cssMode){let Ct;Y.forEach((nn,on)=>{Et>=nn&&(Ct=on)}),typeof Ct<"u"&&(Ot=Y[Ct>0?Ct-1:Ct])}let pn=0;return typeof Ot<"u"&&(pn=xe.indexOf(Ot),pn<0&&(pn=D.activeIndex-1),"auto"===N.slidesPerView&&1===N.slidesPerGroup&&N.slidesPerGroupAuto&&(pn=pn-D.slidesPerViewDynamic("previous",!0)+1,pn=Math.max(pn,0))),D.slideTo(N.rewind&&D.isBeginning?D.params.virtual&&D.params.virtual.enabled&&D.virtual?D.virtual.slides.length-1:D.slides.length-1:pn,b,ee,oe)},slideReset:function Go(b=this.params.speed,ee=!0,oe){return this.slideTo(this.activeIndex,b,ee,oe)},slideToClosest:function Ji(b=this.params.speed,ee=!0,oe,D=.5){const N=this;let Y=N.activeIndex;const xe=Math.min(N.params.slidesPerGroupSkip,Y),Ee=xe+Math.floor((Y-xe)/N.params.slidesPerGroup),_e=N.rtlTranslate?N.translate:-N.translate;if(_e>=N.snapGrid[Ee]){const Ie=N.snapGrid[Ee];_e-Ie>(N.snapGrid[Ee+1]-Ie)*D&&(Y+=N.params.slidesPerGroup)}else{const Ie=N.snapGrid[Ee-1];_e-Ie<=(N.snapGrid[Ee]-Ie)*D&&(Y-=N.params.slidesPerGroup)}return Y=Math.max(Y,0),Y=Math.min(Y,N.slidesGrid.length-1),N.slideTo(Y,b,ee,oe)},slideToClickedSlide:function pi(){const b=this,{params:ee,slidesEl:oe}=b,D="auto"===ee.slidesPerView?b.slidesPerViewDynamic():ee.slidesPerView;let Y,N=b.clickedIndex;const xe=b.isElement?"swiper-slide":`.${ee.slideClass}`;if(ee.loop){if(b.animating)return;Y=parseInt(b.clickedSlide.getAttribute("data-swiper-slide-index"),10),ee.centeredSlides?Nb.slides.length-b.loopedSlides+D/2?(b.loopFix(),N=b.getSlideIndex(he(oe,`${xe}[data-swiper-slide-index="${Y}"]`)[0]),v(()=>{b.slideTo(N)})):b.slideTo(N):N>b.slides.length-D?(b.loopFix(),N=b.getSlideIndex(he(oe,`${xe}[data-swiper-slide-index="${Y}"]`)[0]),v(()=>{b.slideTo(N)})):b.slideTo(N)}else b.slideTo(N)}},loop:{loopCreate:function hr(b){const{params:oe,slidesEl:D}=this;!oe.loop||this.virtual&&this.params.virtual.enabled||(he(D,`.${oe.slideClass}, swiper-slide`).forEach((Y,xe)=>{Y.setAttribute("data-swiper-slide-index",xe)}),this.loopFix({slideRealIndex:b,direction:oe.centeredSlides?void 0:"next"}))},loopFix:function Pi({slideRealIndex:b,slideTo:ee=!0,direction:oe,setTranslate:D,activeSlideIndex:N,byController:Y,byMousewheel:xe}={}){const Ee=this;if(!Ee.params.loop)return;Ee.emit("beforeLoopFix");const{slides:_e,allowSlidePrev:Ie,allowSlideNext:Le,slidesEl:Ae,params:ut}=Ee;if(Ee.allowSlidePrev=!0,Ee.allowSlideNext=!0,Ee.virtual&&ut.virtual.enabled)return ee&&(ut.centeredSlides||0!==Ee.snapIndex?ut.centeredSlides&&Ee.snapIndex"u"?N=Ee.getSlideIndex(Ee.slides.filter(fo=>fo.classList.contains(ut.slideActiveClass))[0]):Ct=N;const nn="next"===oe||!oe,on="prev"===oe||!oe;let Qn=0,eo=0;if(NEe.slides.length-2*Nt){eo=Math.max(N-(Ee.slides.length-2*Nt),ut.slidesPerGroup);for(let fo=0;fo{Ee.slides[fo].swiperLoopMoveDOM=!0,Ae.prepend(Ee.slides[fo]),Ee.slides[fo].swiperLoopMoveDOM=!1}),nn&&pn.forEach(fo=>{Ee.slides[fo].swiperLoopMoveDOM=!0,Ae.append(Ee.slides[fo]),Ee.slides[fo].swiperLoopMoveDOM=!1}),Ee.recalcSlides(),"auto"===ut.slidesPerView&&Ee.updateSlides(),ut.watchSlidesProgress&&Ee.updateSlidesOffset(),ee)if(Ot.length>0&&on)if(typeof b>"u"){const wo=Ee.slidesGrid[Ct+Qn]-Ee.slidesGrid[Ct];xe?Ee.setTranslate(Ee.translate-wo):(Ee.slideTo(Ct+Qn,0,!1,!0),D&&(Ee.touches[Ee.isHorizontal()?"startX":"startY"]+=wo))}else D&&Ee.slideToLoop(b,0,!1,!0);else if(pn.length>0&&nn)if(typeof b>"u"){const wo=Ee.slidesGrid[Ct-eo]-Ee.slidesGrid[Ct];xe?Ee.setTranslate(Ee.translate-wo):(Ee.slideTo(Ct-eo,0,!1,!0),D&&(Ee.touches[Ee.isHorizontal()?"startX":"startY"]+=wo))}else Ee.slideToLoop(b,0,!1,!0);if(Ee.allowSlidePrev=Ie,Ee.allowSlideNext=Le,Ee.controller&&Ee.controller.control&&!Y){const fo={slideRealIndex:b,slideTo:!1,direction:oe,setTranslate:D,activeSlideIndex:N,byController:!0};Array.isArray(Ee.controller.control)?Ee.controller.control.forEach(jo=>{!jo.destroyed&&jo.params.loop&&jo.loopFix(fo)}):Ee.controller.control instanceof Ee.constructor&&Ee.controller.control.params.loop&&Ee.controller.control.loopFix(fo)}Ee.emit("loopFix")},loopDestroy:function Gn(){const b=this,{params:ee,slidesEl:oe}=b;if(!ee.loop||b.virtual&&b.params.virtual.enabled)return;b.recalcSlides();const D=[];b.slides.forEach(N=>{const Y=typeof N.swiperSlideIndex>"u"?1*N.getAttribute("data-swiper-slide-index"):N.swiperSlideIndex;D[Y]=N}),b.slides.forEach(N=>{N.removeAttribute("data-swiper-slide-index")}),D.forEach(N=>{oe.append(N)}),b.recalcSlides(),b.slideTo(b.realIndex,0)}},grabCursor:{setGrabCursor:function Pt(b){const ee=this;if(!ee.params.simulateTouch||ee.params.watchOverflow&&ee.isLocked||ee.params.cssMode)return;const oe="container"===ee.params.touchEventsTarget?ee.el:ee.wrapperEl;ee.isElement&&(ee.__preventObserver__=!0),oe.style.cursor="move",oe.style.cursor=b?"grabbing":"grab",ee.isElement&&requestAnimationFrame(()=>{ee.__preventObserver__=!1})},unsetGrabCursor:function ot(){const b=this;b.params.watchOverflow&&b.isLocked||b.params.cssMode||(b.isElement&&(b.__preventObserver__=!0),b["container"===b.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",b.isElement&&requestAnimationFrame(()=>{b.__preventObserver__=!1}))}},events:{attachEvents:function Do(){const b=this,ee=d(),{params:oe}=b;b.onTouchStart=tt.bind(b),b.onTouchMove=en.bind(b),b.onTouchEnd=Xn.bind(b),oe.cssMode&&(b.onScroll=_n.bind(b)),b.onClick=zt.bind(b),b.onLoad=kt.bind(b),an||(ee.addEventListener("touchstart",Wn),an=!0),Jn(b,"on")},detachEvents:function ao(){Jn(this,"off")}},breakpoints:{setBreakpoint:function ni(){const b=this,{realIndex:ee,initialized:oe,params:D,el:N}=b,Y=D.breakpoints;if(!Y||Y&&0===Object.keys(Y).length)return;const xe=b.getBreakpoint(Y,b.params.breakpointsBase,b.el);if(!xe||b.currentBreakpoint===xe)return;const _e=(xe in Y?Y[xe]:void 0)||b.originalParams,Ie=On(b,D),Le=On(b,_e),Ae=D.enabled;Ie&&!Le?(N.classList.remove(`${D.containerModifierClass}grid`,`${D.containerModifierClass}grid-column`),b.emitContainerClasses()):!Ie&&Le&&(N.classList.add(`${D.containerModifierClass}grid`),(_e.grid.fill&&"column"===_e.grid.fill||!_e.grid.fill&&"column"===D.grid.fill)&&N.classList.add(`${D.containerModifierClass}grid-column`),b.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(Ot=>{if(typeof _e[Ot]>"u")return;const pn=D[Ot]&&D[Ot].enabled,Ct=_e[Ot]&&_e[Ot].enabled;pn&&!Ct&&b[Ot].disable(),!pn&&Ct&&b[Ot].enable()});const ut=_e.direction&&_e.direction!==D.direction,Et=D.loop&&(_e.slidesPerView!==D.slidesPerView||ut);ut&&oe&&b.changeDirection(),K(b.params,_e);const Nt=b.params.enabled;Object.assign(b,{allowTouchMove:b.params.allowTouchMove,allowSlideNext:b.params.allowSlideNext,allowSlidePrev:b.params.allowSlidePrev}),Ae&&!Nt?b.disable():!Ae&&Nt&&b.enable(),b.currentBreakpoint=xe,b.emit("_beforeBreakpoint",_e),Et&&oe&&(b.loopDestroy(),b.loopCreate(ee),b.updateSlides()),b.emit("breakpoint",_e)},getBreakpoint:function Ro(b,ee="window",oe){if(!b||"container"===ee&&!oe)return;let D=!1;const N=a(),Y="window"===ee?N.innerHeight:oe.clientHeight,xe=Object.keys(b).map(Ee=>{if("string"==typeof Ee&&0===Ee.indexOf("@")){const _e=parseFloat(Ee.substr(1));return{value:Y*_e,point:Ee}}return{value:Ee,point:Ee}});xe.sort((Ee,_e)=>parseInt(Ee.value,10)-parseInt(_e.value,10));for(let Ee=0;Eeb.slidesGrid[N]+b.slidesSizesGrid[N]+2*D}else b.isLocked=1===b.snapGrid.length;!0===oe.allowSlideNext&&(b.allowSlideNext=!b.isLocked),!0===oe.allowSlidePrev&&(b.allowSlidePrev=!b.isLocked),ee&&ee!==b.isLocked&&(b.isEnd=!1),ee!==b.isLocked&&b.emit(b.isLocked?"lock":"unlock")}},classes:{addClasses:function yi(){const b=this,{classNames:ee,params:oe,rtl:D,el:N,device:Y}=b,xe=function $i(b,ee){const oe=[];return b.forEach(D=>{"object"==typeof D?Object.keys(D).forEach(N=>{D[N]&&oe.push(ee+N)}):"string"==typeof D&&oe.push(ee+D)}),oe}(["initialized",oe.direction,{"free-mode":b.params.freeMode&&oe.freeMode.enabled},{autoheight:oe.autoHeight},{rtl:D},{grid:oe.grid&&oe.grid.rows>1},{"grid-column":oe.grid&&oe.grid.rows>1&&"column"===oe.grid.fill},{android:Y.android},{ios:Y.ios},{"css-mode":oe.cssMode},{centered:oe.cssMode&&oe.centeredSlides},{"watch-progress":oe.watchSlidesProgress}],oe.containerModifierClass);ee.push(...xe),N.classList.add(...ee),b.emitContainerClasses()},removeClasses:function Gi(){const{el:ee,classNames:oe}=this;ee.classList.remove(...oe),this.emitContainerClasses()}}},Wr={};class Yt{constructor(...ee){let oe,D;1===ee.length&&ee[0].constructor&&"Object"===Object.prototype.toString.call(ee[0]).slice(8,-1)?D=ee[0]:[oe,D]=ee,D||(D={}),D=K({},D),oe&&!D.el&&(D.el=oe);const N=d();if(D.el&&"string"==typeof D.el&&N.querySelectorAll(D.el).length>1){const _e=[];return N.querySelectorAll(D.el).forEach(Ie=>{const Le=K({},D,{el:Ie});_e.push(new Yt(Le))}),_e}const Y=this;Y.__swiper__=!0,Y.support=Ge(),Y.device=function _t(b={}){return gt||(gt=function mn({userAgent:b}={}){const ee=Ge(),oe=a(),D=oe.navigator.platform,N=b||oe.navigator.userAgent,Y={ios:!1,android:!1},xe=oe.screen.width,Ee=oe.screen.height,_e=N.match(/(Android);?[\s\/]+([\d.]+)?/);let Ie=N.match(/(iPad).*OS\s([\d_]+)/);const Le=N.match(/(iPod)(.*OS\s([\d_]+))?/),Ae=!Ie&&N.match(/(iPhone\sOS|iOS)\s([\d_]+)/),ut="Win32"===D;let Et="MacIntel"===D;return!Ie&&Et&&ee.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${xe}x${Ee}`)>=0&&(Ie=N.match(/(Version)\/([\d.]+)/),Ie||(Ie=[0,1,"13_0_0"]),Et=!1),_e&&!ut&&(Y.os="android",Y.android=!0),(Ie||Ae||Le)&&(Y.os="ios",Y.ios=!0),Y}(b)),gt}({userAgent:D.userAgent}),Y.browser=function Xe(){return Ke||(Ke=function Je(){const b=a();let ee=!1;function oe(){const D=b.navigator.userAgent.toLowerCase();return D.indexOf("safari")>=0&&D.indexOf("chrome")<0&&D.indexOf("android")<0}if(oe()){const D=String(b.navigator.userAgent);if(D.includes("Version/")){const[N,Y]=D.split("Version/")[1].split(" ")[0].split(".").map(xe=>Number(xe));ee=N<16||16===N&&Y<2}}return{isSafari:ee||oe(),needPerspectiveFix:ee,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(b.navigator.userAgent)}}()),Ke}(),Y.eventsListeners={},Y.eventsAnyListeners=[],Y.modules=[...Y.__modules__],D.modules&&Array.isArray(D.modules)&&Y.modules.push(...D.modules);const xe={};Y.modules.forEach(_e=>{_e({params:D,swiper:Y,extendParams:Ki(D,xe),on:Y.on.bind(Y),once:Y.once.bind(Y),off:Y.off.bind(Y),emit:Y.emit.bind(Y)})});const Ee=K({},mr,xe);return Y.params=K({},Ee,Wr,D),Y.originalParams=K({},Y.params),Y.passedParams=K({},D),Y.params&&Y.params.on&&Object.keys(Y.params.on).forEach(_e=>{Y.on(_e,Y.params.on[_e])}),Y.params&&Y.params.onAny&&Y.onAny(Y.params.onAny),Object.assign(Y,{enabled:Y.params.enabled,el:oe,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===Y.params.direction,isVertical:()=>"vertical"===Y.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:Y.params.allowSlideNext,allowSlidePrev:Y.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:Y.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:Y.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),Y.emit("_swiper"),Y.params.init&&Y.init(),Y}getSlideIndex(ee){const{slidesEl:oe,params:D}=this,Y=it(he(oe,`.${D.slideClass}, swiper-slide`)[0]);return it(ee)-Y}getSlideIndexByData(ee){return this.getSlideIndex(this.slides.filter(oe=>1*oe.getAttribute("data-swiper-slide-index")===ee)[0])}recalcSlides(){const{slidesEl:oe,params:D}=this;this.slides=he(oe,`.${D.slideClass}, swiper-slide`)}enable(){const ee=this;ee.enabled||(ee.enabled=!0,ee.params.grabCursor&&ee.setGrabCursor(),ee.emit("enable"))}disable(){const ee=this;ee.enabled&&(ee.enabled=!1,ee.params.grabCursor&&ee.unsetGrabCursor(),ee.emit("disable"))}setProgress(ee,oe){const D=this;ee=Math.min(Math.max(ee,0),1);const N=D.minTranslate(),xe=(D.maxTranslate()-N)*ee+N;D.translateTo(xe,typeof oe>"u"?0:oe),D.updateActiveIndex(),D.updateSlidesClasses()}emitContainerClasses(){const ee=this;if(!ee.params._emitClasses||!ee.el)return;const oe=ee.el.className.split(" ").filter(D=>0===D.indexOf("swiper")||0===D.indexOf(ee.params.containerModifierClass));ee.emit("_containerClasses",oe.join(" "))}getSlideClasses(ee){const oe=this;return oe.destroyed?"":ee.className.split(" ").filter(D=>0===D.indexOf("swiper-slide")||0===D.indexOf(oe.params.slideClass)).join(" ")}emitSlidesClasses(){const ee=this;if(!ee.params._emitClasses||!ee.el)return;const oe=[];ee.slides.forEach(D=>{const N=ee.getSlideClasses(D);oe.push({slideEl:D,classNames:N}),ee.emit("_slideClass",D,N)}),ee.emit("_slideClasses",oe)}slidesPerViewDynamic(ee="current",oe=!1){const{params:N,slides:Y,slidesGrid:xe,slidesSizesGrid:Ee,size:_e,activeIndex:Ie}=this;let Le=1;if(N.centeredSlides){let ut,Ae=Y[Ie]?Y[Ie].swiperSlideSize:0;for(let Et=Ie+1;Et_e&&(ut=!0));for(let Et=Ie-1;Et>=0;Et-=1)Y[Et]&&!ut&&(Ae+=Y[Et].swiperSlideSize,Le+=1,Ae>_e&&(ut=!0))}else if("current"===ee)for(let Ae=Ie+1;Ae=0;Ae-=1)xe[Ie]-xe[Ae]<_e&&(Le+=1);return Le}update(){const ee=this;if(!ee||ee.destroyed)return;const{snapGrid:oe,params:D}=ee;function N(){const Ee=Math.min(Math.max(ee.rtlTranslate?-1*ee.translate:ee.translate,ee.maxTranslate()),ee.minTranslate());ee.setTranslate(Ee),ee.updateActiveIndex(),ee.updateSlidesClasses()}let Y;D.breakpoints&&ee.setBreakpoint(),[...ee.el.querySelectorAll('[loading="lazy"]')].forEach(xe=>{xe.complete&&Xt(ee,xe)}),ee.updateSize(),ee.updateSlides(),ee.updateProgress(),ee.updateSlidesClasses(),D.freeMode&&D.freeMode.enabled&&!D.cssMode?(N(),D.autoHeight&&ee.updateAutoHeight()):(Y=ee.slideTo(("auto"===D.slidesPerView||D.slidesPerView>1)&&ee.isEnd&&!D.centeredSlides?(ee.virtual&&D.virtual.enabled?ee.virtual.slides:ee.slides).length-1:ee.activeIndex,0,!1,!0),Y||N()),D.watchOverflow&&oe!==ee.snapGrid&&ee.checkOverflow(),ee.emit("update")}changeDirection(ee,oe=!0){const D=this,N=D.params.direction;return ee||(ee="horizontal"===N?"vertical":"horizontal"),ee===N||"horizontal"!==ee&&"vertical"!==ee||(D.el.classList.remove(`${D.params.containerModifierClass}${N}`),D.el.classList.add(`${D.params.containerModifierClass}${ee}`),D.emitContainerClasses(),D.params.direction=ee,D.slides.forEach(Y=>{"vertical"===ee?Y.style.width="":Y.style.height=""}),D.emit("changeDirection"),oe&&D.update()),D}changeLanguageDirection(ee){const oe=this;oe.rtl&&"rtl"===ee||!oe.rtl&&"ltr"===ee||(oe.rtl="rtl"===ee,oe.rtlTranslate="horizontal"===oe.params.direction&&oe.rtl,oe.rtl?(oe.el.classList.add(`${oe.params.containerModifierClass}rtl`),oe.el.dir="rtl"):(oe.el.classList.remove(`${oe.params.containerModifierClass}rtl`),oe.el.dir="ltr"),oe.update())}mount(ee){const oe=this;if(oe.mounted)return!0;let D=ee||oe.params.el;if("string"==typeof D&&(D=document.querySelector(D)),!D)return!1;D.swiper=oe,D.shadowEl&&(oe.isElement=!0);const N=()=>`.${(oe.params.wrapperClass||"").trim().split(" ").join(".")}`;let xe=D&&D.shadowRoot&&D.shadowRoot.querySelector?D.shadowRoot.querySelector(N()):he(D,N())[0];return!xe&&oe.params.createElements&&(xe=Me("div",oe.params.wrapperClass),D.append(xe),he(D,`.${oe.params.slideClass}`).forEach(Ee=>{xe.append(Ee)})),Object.assign(oe,{el:D,wrapperEl:xe,slidesEl:oe.isElement?D:xe,mounted:!0,rtl:"rtl"===D.dir.toLowerCase()||"rtl"===je(D,"direction"),rtlTranslate:"horizontal"===oe.params.direction&&("rtl"===D.dir.toLowerCase()||"rtl"===je(D,"direction")),wrongRTL:"-webkit-box"===je(xe,"display")}),!0}init(ee){const oe=this;return oe.initialized||!1===oe.mount(ee)||(oe.emit("beforeInit"),oe.params.breakpoints&&oe.setBreakpoint(),oe.addClasses(),oe.updateSize(),oe.updateSlides(),oe.params.watchOverflow&&oe.checkOverflow(),oe.params.grabCursor&&oe.enabled&&oe.setGrabCursor(),oe.slideTo(oe.params.loop&&oe.virtual&&oe.params.virtual.enabled?oe.params.initialSlide+oe.virtual.slidesBefore:oe.params.initialSlide,0,oe.params.runCallbacksOnInit,!1,!0),oe.params.loop&&oe.loopCreate(),oe.attachEvents(),[...oe.el.querySelectorAll('[loading="lazy"]')].forEach(N=>{N.complete?Xt(oe,N):N.addEventListener("load",Y=>{Xt(oe,Y.target)})}),tn(oe),oe.initialized=!0,tn(oe),oe.emit("init"),oe.emit("afterInit")),oe}destroy(ee=!0,oe=!0){const D=this,{params:N,el:Y,wrapperEl:xe,slides:Ee}=D;return typeof D.params>"u"||D.destroyed||(D.emit("beforeDestroy"),D.initialized=!1,D.detachEvents(),N.loop&&D.loopDestroy(),oe&&(D.removeClasses(),Y.removeAttribute("style"),xe.removeAttribute("style"),Ee&&Ee.length&&Ee.forEach(_e=>{_e.classList.remove(N.slideVisibleClass,N.slideActiveClass,N.slideNextClass,N.slidePrevClass),_e.removeAttribute("style"),_e.removeAttribute("data-swiper-slide-index")})),D.emit("destroy"),Object.keys(D.eventsListeners).forEach(_e=>{D.off(_e)}),!1!==ee&&(D.el.swiper=null,function _(b){const ee=b;Object.keys(ee).forEach(oe=>{try{ee[oe]=null}catch{}try{delete ee[oe]}catch{}})}(D)),D.destroyed=!0),null}static extendDefaults(ee){K(Wr,ee)}static get extendedDefaults(){return Wr}static get defaults(){return mr}static installModule(ee){Yt.prototype.__modules__||(Yt.prototype.__modules__=[]);const oe=Yt.prototype.__modules__;"function"==typeof ee&&oe.indexOf(ee)<0&&oe.push(ee)}static use(ee){return Array.isArray(ee)?(ee.forEach(oe=>Yt.installModule(oe)),Yt):(Yt.installModule(ee),Yt)}}Object.keys(kr).forEach(b=>{Object.keys(kr[b]).forEach(ee=>{Yt.prototype[ee]=kr[b][ee]})}),Yt.use([function qe({swiper:b,on:ee,emit:oe}){const D=a();let N=null,Y=null;const xe=()=>{!b||b.destroyed||!b.initialized||(oe("beforeResize"),oe("resize"))},Ie=()=>{!b||b.destroyed||!b.initialized||oe("orientationchange")};ee("init",()=>{b.params.resizeObserver&&typeof D.ResizeObserver<"u"?!b||b.destroyed||!b.initialized||(N=new ResizeObserver(Le=>{Y=D.requestAnimationFrame(()=>{const{width:Ae,height:ut}=b;let Et=Ae,Nt=ut;Le.forEach(({contentBoxSize:Ot,contentRect:pn,target:Ct})=>{Ct&&Ct!==b.el||(Et=pn?pn.width:(Ot[0]||Ot).inlineSize,Nt=pn?pn.height:(Ot[0]||Ot).blockSize)}),(Et!==Ae||Nt!==ut)&&xe()})}),N.observe(b.el)):(D.addEventListener("resize",xe),D.addEventListener("orientationchange",Ie))}),ee("destroy",()=>{Y&&D.cancelAnimationFrame(Y),N&&N.unobserve&&b.el&&(N.unobserve(b.el),N=null),D.removeEventListener("resize",xe),D.removeEventListener("orientationchange",Ie)})},function Bt({swiper:b,extendParams:ee,on:oe,emit:D}){const N=[],Y=a(),xe=(Ie,Le={})=>{const ut=new(Y.MutationObserver||Y.WebkitMutationObserver)(Et=>{if(b.__preventObserver__)return;if(1===Et.length)return void D("observerUpdate",Et[0]);const Nt=function(){D("observerUpdate",Et[0])};Y.requestAnimationFrame?Y.requestAnimationFrame(Nt):Y.setTimeout(Nt,0)});ut.observe(Ie,{attributes:typeof Le.attributes>"u"||Le.attributes,childList:typeof Le.childList>"u"||Le.childList,characterData:typeof Le.characterData>"u"||Le.characterData}),N.push(ut)};ee({observer:!1,observeParents:!1,observeSlideChildren:!1}),oe("init",()=>{if(b.params.observer){if(b.params.observeParents){const Ie=pt(b.el);for(let Le=0;Le{N.forEach(Ie=>{Ie.disconnect()}),N.splice(0,N.length)})}]);const io=Yt;function Ii(b,ee,oe,D){return b.params.createElements&&Object.keys(D).forEach(N=>{if(!oe[N]&&!0===oe.auto){let Y=he(b.el,`.${D[N]}`)[0];Y||(Y=Me("div",D[N]),Y.className=D[N],b.el.append(Y)),oe[N]=Y,ee[N]=Y}}),oe}function bi(b=""){return`.${b.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Dr(b){const ee=this,{params:oe,slidesEl:D}=ee;oe.loop&&ee.loopDestroy();const N=Y=>{if("string"==typeof Y){const xe=document.createElement("div");xe.innerHTML=Y,D.append(xe.children[0]),xe.innerHTML=""}else D.append(Y)};if("object"==typeof b&&"length"in b)for(let Y=0;Y{if("string"==typeof Ee){const _e=document.createElement("div");_e.innerHTML=Ee,N.prepend(_e.children[0]),_e.innerHTML=""}else N.prepend(Ee)};if("object"==typeof b&&"length"in b){for(let Ee=0;Ee=Ee)return void oe.appendSlide(ee);let _e=xe>b?xe+1:xe;const Ie=[];for(let Le=Ee-1;Le>=b;Le-=1){const Ae=oe.slides[Le];Ae.remove(),Ie.unshift(Ae)}if("object"==typeof ee&&"length"in ee){for(let Le=0;Leb?xe+ee.length:xe}else Y.append(ee);for(let Le=0;Le{if(oe.params.effect!==ee)return;oe.classNames.push(`${oe.params.containerModifierClass}${ee}`),Ee&&Ee()&&oe.classNames.push(`${oe.params.containerModifierClass}3d`);const Ae=xe?xe():{};Object.assign(oe.params,Ae),Object.assign(oe.originalParams,Ae)}),D("setTranslate",()=>{oe.params.effect===ee&&N()}),D("setTransition",(Ae,ut)=>{oe.params.effect===ee&&Y(ut)}),D("transitionEnd",()=>{if(oe.params.effect===ee&&_e){if(!Ie||!Ie().slideShadows)return;oe.slides.forEach(Ae=>{Ae.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(ut=>ut.remove())}),_e()}}),D("virtualUpdate",()=>{oe.params.effect===ee&&(oe.slides.length||(Le=!0),requestAnimationFrame(()=>{Le&&oe.slides&&oe.slides.length&&(N(),Le=!1)}))})}function yt(b,ee){const oe=G(ee);return oe!==ee&&(oe.style.backfaceVisibility="hidden",oe.style["-webkit-backface-visibility"]="hidden"),oe}function Wt({swiper:b,duration:ee,transformElements:oe,allSlides:D}){const{activeIndex:N}=b;if(b.params.virtualTranslate&&0!==ee){let Ee,xe=!1;Ee=D?oe:oe.filter(_e=>{const Ie=_e.classList.contains("swiper-slide-transform")?(xe=>xe.parentElement?xe.parentElement:b.slides.filter(_e=>_e.shadowEl&&_e.shadowEl===xe.parentNode)[0])(_e):_e;return b.getSlideIndex(Ie)===N}),Ee.forEach(_e=>{Ye(_e,()=>{if(xe||!b||b.destroyed)return;xe=!0,b.animating=!1;const Ie=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});b.wrapperEl.dispatchEvent(Ie)})})}}function Cn(b,ee,oe){const D="swiper-slide-shadow"+(oe?`-${oe}`:""),N=G(ee);let Y=N.querySelector(`.${D}`);return Y||(Y=Me("div","swiper-slide-shadow"+(oe?`-${oe}`:"")),N.append(Y)),Y}io.use([function Ho({swiper:b,extendParams:ee,on:oe,emit:D}){let N;ee({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const Y=d();b.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const xe=Y.createElement("div");function Ee(Et,Nt){const Ot=b.params.virtual;if(Ot.cache&&b.virtual.cache[Nt])return b.virtual.cache[Nt];let pn;return Ot.renderSlide?(pn=Ot.renderSlide.call(b,Et,Nt),"string"==typeof pn&&(xe.innerHTML=pn,pn=xe.children[0])):pn=b.isElement?Me("swiper-slide"):Me("div",b.params.slideClass),pn.setAttribute("data-swiper-slide-index",Nt),Ot.renderSlide||(pn.innerHTML=Et),Ot.cache&&(b.virtual.cache[Nt]=pn),pn}function _e(Et){const{slidesPerView:Nt,slidesPerGroup:Ot,centeredSlides:pn,loop:Ct}=b.params,{addSlidesBefore:nn,addSlidesAfter:on}=b.params.virtual,{from:Qn,to:eo,slides:fo,slidesGrid:jo,offset:wo}=b.virtual;b.params.cssMode||b.updateActiveIndex();const ii=b.activeIndex||0;let Te,ge,He;Te=b.rtlTranslate?"right":b.isHorizontal()?"left":"top",pn?(ge=Math.floor(Nt/2)+Ot+on,He=Math.floor(Nt/2)+Ot+nn):(ge=Nt+(Ot-1)+on,He=(Ct?Nt:Ot)+nn);let ue=ii-He,st=ii+ge;Ct||(ue=Math.max(ue,0),st=Math.min(st,fo.length-1));let jn=(b.slidesGrid[ue]||0)-(b.slidesGrid[0]||0);function Yn(){b.updateSlides(),b.updateProgress(),b.updateSlidesClasses(),D("virtualUpdate")}if(Ct&&ii>=He?(ue-=He,pn||(jn+=b.slidesGrid[0])):Ct&&ii{Ti.style[Te]=jn-Math.abs(b.cssOverflowAdjustment())+"px"}),b.updateProgress(),void D("virtualUpdate");if(b.params.virtual.renderExternal)return b.params.virtual.renderExternal.call(b,{offset:jn,from:ue,to:st,slides:function(){const dr=[];for(let hs=ue;hs<=st;hs+=1)dr.push(fo[hs]);return dr}()}),void(b.params.virtual.renderExternalUpdate?Yn():D("virtualUpdate"));const Lo=[],To=[],ki=Ti=>{let dr=Ti;return Ti<0?dr=fo.length+Ti:dr>=fo.length&&(dr-=fo.length),dr};if(Et)b.slidesEl.querySelectorAll(`.${b.params.slideClass}, swiper-slide`).forEach(Ti=>{Ti.remove()});else for(let Ti=Qn;Ti<=eo;Ti+=1)if(Tist){const dr=ki(Ti);b.slidesEl.querySelectorAll(`.${b.params.slideClass}[data-swiper-slide-index="${dr}"], swiper-slide[data-swiper-slide-index="${dr}"]`).forEach(hs=>{hs.remove()})}const Gr=Ct?2*fo.length:fo.length;for(let Ti=Ct?-fo.length:0;Ti=ue&&Ti<=st){const dr=ki(Ti);typeof eo>"u"||Et?To.push(dr):(Ti>eo&&To.push(dr),Ti{b.slidesEl.append(Ee(fo[Ti],Ti))}),Ct)for(let Ti=Lo.length-1;Ti>=0;Ti-=1){const dr=Lo[Ti];b.slidesEl.prepend(Ee(fo[dr],dr))}else Lo.sort((Ti,dr)=>dr-Ti),Lo.forEach(Ti=>{b.slidesEl.prepend(Ee(fo[Ti],Ti))});he(b.slidesEl,".swiper-slide, swiper-slide").forEach(Ti=>{Ti.style[Te]=jn-Math.abs(b.cssOverflowAdjustment())+"px"}),Yn()}oe("beforeInit",()=>{if(!b.params.virtual.enabled)return;let Et;if(typeof b.passedParams.virtual.slides>"u"){const Nt=[...b.slidesEl.children].filter(Ot=>Ot.matches(`.${b.params.slideClass}, swiper-slide`));Nt&&Nt.length&&(b.virtual.slides=[...Nt],Et=!0,Nt.forEach((Ot,pn)=>{Ot.setAttribute("data-swiper-slide-index",pn),b.virtual.cache[pn]=Ot,Ot.remove()}))}Et||(b.virtual.slides=b.params.virtual.slides),b.classNames.push(`${b.params.containerModifierClass}virtual`),b.params.watchSlidesProgress=!0,b.originalParams.watchSlidesProgress=!0,b.params.initialSlide||_e()}),oe("setTranslate",()=>{b.params.virtual.enabled&&(b.params.cssMode&&!b._immediateVirtual?(clearTimeout(N),N=setTimeout(()=>{_e()},100)):_e())}),oe("init update resize",()=>{b.params.virtual.enabled&&b.params.cssMode&&X(b.wrapperEl,"--swiper-virtual-size",`${b.virtualSize}px`)}),Object.assign(b.virtual,{appendSlide:function Ie(Et){if("object"==typeof Et&&"length"in Et)for(let Nt=0;Nt{const Qn=Ct[on],eo=Qn.getAttribute("data-swiper-slide-index");eo&&Qn.setAttribute("data-swiper-slide-index",parseInt(eo,10)+pn),nn[parseInt(on,10)+pn]=Qn}),b.virtual.cache=nn}_e(!0),b.slideTo(Ot,0)},removeSlide:function Ae(Et){if(typeof Et>"u"||null===Et)return;let Nt=b.activeIndex;if(Array.isArray(Et))for(let Ot=Et.length-1;Ot>=0;Ot-=1)b.virtual.slides.splice(Et[Ot],1),b.params.virtual.cache&&delete b.virtual.cache[Et[Ot]],Et[Ot]0&&0===pt(b.el,`.${b.params.slideActiveClass}`).length)return;const eo=b.el,fo=eo.clientWidth,jo=eo.clientHeight,wo=Y.innerWidth,ii=Y.innerHeight,Te=ke(eo);Le&&(Te.left-=eo.scrollLeft);const ge=[[Te.left,Te.top],[Te.left+fo,Te.top],[Te.left,Te.top+jo],[Te.left+fo,Te.top+jo]];for(let He=0;He=0&&ue[0]<=wo&&ue[1]>=0&&ue[1]<=ii){if(0===ue[0]&&0===ue[1])continue;Qn=!0}}if(!Qn)return}b.isHorizontal()?((Nt||Ot||pn||Ct)&&(Ae.preventDefault?Ae.preventDefault():Ae.returnValue=!1),((Ot||Ct)&&!Le||(Nt||pn)&&Le)&&b.slideNext(),((Nt||pn)&&!Le||(Ot||Ct)&&Le)&&b.slidePrev()):((Nt||Ot||nn||on)&&(Ae.preventDefault?Ae.preventDefault():Ae.returnValue=!1),(Ot||on)&&b.slideNext(),(Nt||nn)&&b.slidePrev()),D("keyPress",ut)}}function Ee(){b.keyboard.enabled||(N.addEventListener("keydown",xe),b.keyboard.enabled=!0)}function _e(){b.keyboard.enabled&&(N.removeEventListener("keydown",xe),b.keyboard.enabled=!1)}b.keyboard={enabled:!1},ee({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),oe("init",()=>{b.params.keyboard.enabled&&Ee()}),oe("destroy",()=>{b.keyboard.enabled&&_e()}),Object.assign(b.keyboard,{enable:Ee,disable:_e})},function xi({swiper:b,extendParams:ee,on:oe,emit:D}){const N=a();ee({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),b.mousewheel={enabled:!1};let Y,Ee,xe=E();const _e=[];function Le(){b.enabled&&(b.mouseEntered=!0)}function Ae(){b.enabled&&(b.mouseEntered=!1)}function ut(nn){return!(b.params.mousewheel.thresholdDelta&&nn.delta=6&&E()-xe<60||(nn.direction<0?(!b.isEnd||b.params.loop)&&!b.animating&&(b.slideNext(),D("scroll",nn.raw)):(!b.isBeginning||b.params.loop)&&!b.animating&&(b.slidePrev(),D("scroll",nn.raw)),xe=(new N.Date).getTime(),!1))}function Nt(nn){let on=nn,Qn=!0;if(!b.enabled||nn.target.closest(`.${b.params.mousewheel.noMousewheelClass}`))return;const eo=b.params.mousewheel;b.params.cssMode&&on.preventDefault();let fo=b.el;"container"!==b.params.mousewheel.eventsTarget&&(fo=document.querySelector(b.params.mousewheel.eventsTarget));const jo=fo&&fo.contains(on.target);if(!b.mouseEntered&&!jo&&!eo.releaseOnEdges)return!0;on.originalEvent&&(on=on.originalEvent);let wo=0;const ii=b.rtlTranslate?-1:1,Te=function Ie(nn){let fo=0,jo=0,wo=0,ii=0;return"detail"in nn&&(jo=nn.detail),"wheelDelta"in nn&&(jo=-nn.wheelDelta/120),"wheelDeltaY"in nn&&(jo=-nn.wheelDeltaY/120),"wheelDeltaX"in nn&&(fo=-nn.wheelDeltaX/120),"axis"in nn&&nn.axis===nn.HORIZONTAL_AXIS&&(fo=jo,jo=0),wo=10*fo,ii=10*jo,"deltaY"in nn&&(ii=nn.deltaY),"deltaX"in nn&&(wo=nn.deltaX),nn.shiftKey&&!wo&&(wo=ii,ii=0),(wo||ii)&&nn.deltaMode&&(1===nn.deltaMode?(wo*=40,ii*=40):(wo*=800,ii*=800)),wo&&!fo&&(fo=wo<1?-1:1),ii&&!jo&&(jo=ii<1?-1:1),{spinX:fo,spinY:jo,pixelX:wo,pixelY:ii}}(on);if(eo.forceToAxis)if(b.isHorizontal()){if(!(Math.abs(Te.pixelX)>Math.abs(Te.pixelY)))return!0;wo=-Te.pixelX*ii}else{if(!(Math.abs(Te.pixelY)>Math.abs(Te.pixelX)))return!0;wo=-Te.pixelY}else wo=Math.abs(Te.pixelX)>Math.abs(Te.pixelY)?-Te.pixelX*ii:-Te.pixelY;if(0===wo)return!0;eo.invert&&(wo=-wo);let ge=b.getTranslate()+wo*eo.sensitivity;if(ge>=b.minTranslate()&&(ge=b.minTranslate()),ge<=b.maxTranslate()&&(ge=b.maxTranslate()),Qn=!!b.params.loop||!(ge===b.minTranslate()||ge===b.maxTranslate()),Qn&&b.params.nested&&on.stopPropagation(),b.params.freeMode&&b.params.freeMode.enabled){const He={time:E(),delta:Math.abs(wo),direction:Math.sign(wo)},ue=Ee&&He.time=b.minTranslate()&&(st=b.minTranslate()),st<=b.maxTranslate()&&(st=b.maxTranslate()),b.setTransition(0),b.setTranslate(st),b.updateProgress(),b.updateActiveIndex(),b.updateSlidesClasses(),(!jn&&b.isBeginning||!Yn&&b.isEnd)&&b.updateSlidesClasses(),b.params.loop&&b.loopFix({direction:He.direction<0?"next":"prev",byMousewheel:!0}),b.params.freeMode.sticky){clearTimeout(Y),Y=void 0,_e.length>=15&&_e.shift();const Lo=_e.length?_e[_e.length-1]:void 0,To=_e[0];if(_e.push(He),Lo&&(He.delta>Lo.delta||He.direction!==Lo.direction))_e.splice(0);else if(_e.length>=15&&He.time-To.time<500&&To.delta-He.delta>=1&&He.delta<=6){const ki=wo>0?.8:.2;Ee=He,_e.splice(0),Y=v(()=>{b.slideToClosest(b.params.speed,!0,void 0,ki)},0)}Y||(Y=v(()=>{Ee=He,_e.splice(0),b.slideToClosest(b.params.speed,!0,void 0,.5)},500))}if(ue||D("scroll",on),b.params.autoplay&&b.params.autoplayDisableOnInteraction&&b.autoplay.stop(),st===b.minTranslate()||st===b.maxTranslate())return!0}}else{const He={time:E(),delta:Math.abs(wo),direction:Math.sign(wo),raw:nn};_e.length>=2&&_e.shift();const ue=_e.length?_e[_e.length-1]:void 0;if(_e.push(He),ue?(He.direction!==ue.direction||He.delta>ue.delta||He.time>ue.time+150)&&ut(He):ut(He),function Et(nn){const on=b.params.mousewheel;if(nn.direction<0){if(b.isEnd&&!b.params.loop&&on.releaseOnEdges)return!0}else if(b.isBeginning&&!b.params.loop&&on.releaseOnEdges)return!0;return!1}(He))return!0}return on.preventDefault?on.preventDefault():on.returnValue=!1,!1}function Ot(nn){let on=b.el;"container"!==b.params.mousewheel.eventsTarget&&(on=document.querySelector(b.params.mousewheel.eventsTarget)),on[nn]("mouseenter",Le),on[nn]("mouseleave",Ae),on[nn]("wheel",Nt)}function pn(){return b.params.cssMode?(b.wrapperEl.removeEventListener("wheel",Nt),!0):!b.mousewheel.enabled&&(Ot("addEventListener"),b.mousewheel.enabled=!0,!0)}function Ct(){return b.params.cssMode?(b.wrapperEl.addEventListener(event,Nt),!0):!!b.mousewheel.enabled&&(Ot("removeEventListener"),b.mousewheel.enabled=!1,!0)}oe("init",()=>{!b.params.mousewheel.enabled&&b.params.cssMode&&Ct(),b.params.mousewheel.enabled&&pn()}),oe("destroy",()=>{b.params.cssMode&&pn(),b.mousewheel.enabled&&Ct()}),Object.assign(b.mousewheel,{enable:pn,disable:Ct})},function qi({swiper:b,extendParams:ee,on:oe,emit:D}){ee({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),b.navigation={nextEl:null,prevEl:null};const N=Nt=>(Array.isArray(Nt)||(Nt=[Nt].filter(Ot=>!!Ot)),Nt);function Y(Nt){let Ot;return Nt&&"string"==typeof Nt&&b.isElement&&(Ot=b.el.shadowRoot.querySelector(Nt),Ot)?Ot:(Nt&&("string"==typeof Nt&&(Ot=[...document.querySelectorAll(Nt)]),b.params.uniqueNavElements&&"string"==typeof Nt&&Ot.length>1&&1===b.el.querySelectorAll(Nt).length&&(Ot=b.el.querySelector(Nt))),Nt&&!Ot?Nt:Ot)}function xe(Nt,Ot){const pn=b.params.navigation;(Nt=N(Nt)).forEach(Ct=>{Ct&&(Ct.classList[Ot?"add":"remove"](...pn.disabledClass.split(" ")),"BUTTON"===Ct.tagName&&(Ct.disabled=Ot),b.params.watchOverflow&&b.enabled&&Ct.classList[b.isLocked?"add":"remove"](pn.lockClass))})}function Ee(){const{nextEl:Nt,prevEl:Ot}=b.navigation;if(b.params.loop)return xe(Ot,!1),void xe(Nt,!1);xe(Ot,b.isBeginning&&!b.params.rewind),xe(Nt,b.isEnd&&!b.params.rewind)}function _e(Nt){Nt.preventDefault(),(!b.isBeginning||b.params.loop||b.params.rewind)&&(b.slidePrev(),D("navigationPrev"))}function Ie(Nt){Nt.preventDefault(),(!b.isEnd||b.params.loop||b.params.rewind)&&(b.slideNext(),D("navigationNext"))}function Le(){const Nt=b.params.navigation;if(b.params.navigation=Ii(b,b.originalParams.navigation,b.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!Nt.nextEl&&!Nt.prevEl)return;let Ot=Y(Nt.nextEl),pn=Y(Nt.prevEl);Object.assign(b.navigation,{nextEl:Ot,prevEl:pn}),Ot=N(Ot),pn=N(pn);const Ct=(nn,on)=>{nn&&nn.addEventListener("click","next"===on?Ie:_e),!b.enabled&&nn&&nn.classList.add(...Nt.lockClass.split(" "))};Ot.forEach(nn=>Ct(nn,"next")),pn.forEach(nn=>Ct(nn,"prev"))}function Ae(){let{nextEl:Nt,prevEl:Ot}=b.navigation;Nt=N(Nt),Ot=N(Ot);const pn=(Ct,nn)=>{Ct.removeEventListener("click","next"===nn?Ie:_e),Ct.classList.remove(...b.params.navigation.disabledClass.split(" "))};Nt.forEach(Ct=>pn(Ct,"next")),Ot.forEach(Ct=>pn(Ct,"prev"))}oe("init",()=>{!1===b.params.navigation.enabled?Et():(Le(),Ee())}),oe("toEdge fromEdge lock unlock",()=>{Ee()}),oe("destroy",()=>{Ae()}),oe("enable disable",()=>{let{nextEl:Nt,prevEl:Ot}=b.navigation;Nt=N(Nt),Ot=N(Ot),[...Nt,...Ot].filter(pn=>!!pn).forEach(pn=>pn.classList[b.enabled?"remove":"add"](b.params.navigation.lockClass))}),oe("click",(Nt,Ot)=>{let{nextEl:pn,prevEl:Ct}=b.navigation;pn=N(pn),Ct=N(Ct);const nn=Ot.target;if(b.params.navigation.hideOnClick&&!Ct.includes(nn)&&!pn.includes(nn)){if(b.pagination&&b.params.pagination&&b.params.pagination.clickable&&(b.pagination.el===nn||b.pagination.el.contains(nn)))return;let on;pn.length?on=pn[0].classList.contains(b.params.navigation.hiddenClass):Ct.length&&(on=Ct[0].classList.contains(b.params.navigation.hiddenClass)),D(!0===on?"navigationShow":"navigationHide"),[...pn,...Ct].filter(Qn=>!!Qn).forEach(Qn=>Qn.classList.toggle(b.params.navigation.hiddenClass))}});const Et=()=>{b.el.classList.add(...b.params.navigation.navigationDisabledClass.split(" ")),Ae()};Object.assign(b.navigation,{enable:()=>{b.el.classList.remove(...b.params.navigation.navigationDisabledClass.split(" ")),Le(),Ee()},disable:Et,update:Ee,init:Le,destroy:Ae})},function Rr({swiper:b,extendParams:ee,on:oe,emit:D}){const N="swiper-pagination";ee({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:Ct=>Ct,formatFractionTotal:Ct=>Ct,bulletClass:`${N}-bullet`,bulletActiveClass:`${N}-bullet-active`,modifierClass:`${N}-`,currentClass:`${N}-current`,totalClass:`${N}-total`,hiddenClass:`${N}-hidden`,progressbarFillClass:`${N}-progressbar-fill`,progressbarOppositeClass:`${N}-progressbar-opposite`,clickableClass:`${N}-clickable`,lockClass:`${N}-lock`,horizontalClass:`${N}-horizontal`,verticalClass:`${N}-vertical`,paginationDisabledClass:`${N}-disabled`}}),b.pagination={el:null,bullets:[]};let Y,xe=0;const Ee=Ct=>(Array.isArray(Ct)||(Ct=[Ct].filter(nn=>!!nn)),Ct);function _e(){return!b.params.pagination.el||!b.pagination.el||Array.isArray(b.pagination.el)&&0===b.pagination.el.length}function Ie(Ct,nn){const{bulletActiveClass:on}=b.params.pagination;Ct&&(Ct=Ct[("prev"===nn?"previous":"next")+"ElementSibling"])&&(Ct.classList.add(`${on}-${nn}`),(Ct=Ct[("prev"===nn?"previous":"next")+"ElementSibling"])&&Ct.classList.add(`${on}-${nn}-${nn}`))}function Le(Ct){const nn=Ct.target.closest(bi(b.params.pagination.bulletClass));if(!nn)return;Ct.preventDefault();const on=it(nn)*b.params.slidesPerGroup;if(b.params.loop){if(b.realIndex===on)return;const Qn=b.getSlideIndexByData(on),eo=b.getSlideIndexByData(b.realIndex);Qn>b.slides.length-b.loopedSlides&&b.loopFix({direction:Qn>eo?"next":"prev",activeSlideIndex:Qn,slideTo:!1}),b.slideToLoop(on)}else b.slideTo(on)}function Ae(){const Ct=b.rtl,nn=b.params.pagination;if(_e())return;let Qn,eo,on=b.pagination.el;on=Ee(on);const jo=b.params.loop?Math.ceil((b.virtual&&b.params.virtual.enabled?b.virtual.slides.length:b.slides.length)/b.params.slidesPerGroup):b.snapGrid.length;if(b.params.loop?(eo=b.previousRealIndex||0,Qn=b.params.slidesPerGroup>1?Math.floor(b.realIndex/b.params.slidesPerGroup):b.realIndex):typeof b.snapIndex<"u"?(Qn=b.snapIndex,eo=b.previousSnapIndex):(eo=b.previousIndex||0,Qn=b.activeIndex||0),"bullets"===nn.type&&b.pagination.bullets&&b.pagination.bullets.length>0){const wo=b.pagination.bullets;let ii,Te,ge;if(nn.dynamicBullets&&(Y=St(wo[0],b.isHorizontal()?"width":"height",!0),on.forEach(He=>{He.style[b.isHorizontal()?"width":"height"]=Y*(nn.dynamicMainBullets+4)+"px"}),nn.dynamicMainBullets>1&&void 0!==eo&&(xe+=Qn-(eo||0),xe>nn.dynamicMainBullets-1?xe=nn.dynamicMainBullets-1:xe<0&&(xe=0)),ii=Math.max(Qn-xe,0),Te=ii+(Math.min(wo.length,nn.dynamicMainBullets)-1),ge=(Te+ii)/2),wo.forEach(He=>{const ue=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(st=>`${nn.bulletActiveClass}${st}`)].map(st=>"string"==typeof st&&st.includes(" ")?st.split(" "):st).flat();He.classList.remove(...ue)}),on.length>1)wo.forEach(He=>{const ue=it(He);ue===Qn?He.classList.add(...nn.bulletActiveClass.split(" ")):b.isElement&&He.setAttribute("part","bullet"),nn.dynamicBullets&&(ue>=ii&&ue<=Te&&He.classList.add(...`${nn.bulletActiveClass}-main`.split(" ")),ue===ii&&Ie(He,"prev"),ue===Te&&Ie(He,"next"))});else{const He=wo[Qn];if(He&&He.classList.add(...nn.bulletActiveClass.split(" ")),b.isElement&&wo.forEach((ue,st)=>{ue.setAttribute("part",st===Qn?"bullet-active":"bullet")}),nn.dynamicBullets){const ue=wo[ii],st=wo[Te];for(let jn=ii;jn<=Te;jn+=1)wo[jn]&&wo[jn].classList.add(...`${nn.bulletActiveClass}-main`.split(" "));Ie(ue,"prev"),Ie(st,"next")}}if(nn.dynamicBullets){const He=Math.min(wo.length,nn.dynamicMainBullets+4),ue=(Y*He-Y)/2-ge*Y,st=Ct?"right":"left";wo.forEach(jn=>{jn.style[b.isHorizontal()?st:"top"]=`${ue}px`})}}on.forEach((wo,ii)=>{if("fraction"===nn.type&&(wo.querySelectorAll(bi(nn.currentClass)).forEach(Te=>{Te.textContent=nn.formatFractionCurrent(Qn+1)}),wo.querySelectorAll(bi(nn.totalClass)).forEach(Te=>{Te.textContent=nn.formatFractionTotal(jo)})),"progressbar"===nn.type){let Te;Te=nn.progressbarOpposite?b.isHorizontal()?"vertical":"horizontal":b.isHorizontal()?"horizontal":"vertical";const ge=(Qn+1)/jo;let He=1,ue=1;"horizontal"===Te?He=ge:ue=ge,wo.querySelectorAll(bi(nn.progressbarFillClass)).forEach(st=>{st.style.transform=`translate3d(0,0,0) scaleX(${He}) scaleY(${ue})`,st.style.transitionDuration=`${b.params.speed}ms`})}"custom"===nn.type&&nn.renderCustom?(wo.innerHTML=nn.renderCustom(b,Qn+1,jo),0===ii&&D("paginationRender",wo)):(0===ii&&D("paginationRender",wo),D("paginationUpdate",wo)),b.params.watchOverflow&&b.enabled&&wo.classList[b.isLocked?"add":"remove"](nn.lockClass)})}function ut(){const Ct=b.params.pagination;if(_e())return;const nn=b.virtual&&b.params.virtual.enabled?b.virtual.slides.length:b.slides.length;let on=b.pagination.el;on=Ee(on);let Qn="";if("bullets"===Ct.type){let eo=b.params.loop?Math.ceil(nn/b.params.slidesPerGroup):b.snapGrid.length;b.params.freeMode&&b.params.freeMode.enabled&&eo>nn&&(eo=nn);for(let fo=0;fo`}"fraction"===Ct.type&&(Qn=Ct.renderFraction?Ct.renderFraction.call(b,Ct.currentClass,Ct.totalClass):` / `),"progressbar"===Ct.type&&(Qn=Ct.renderProgressbar?Ct.renderProgressbar.call(b,Ct.progressbarFillClass):``),b.pagination.bullets=[],on.forEach(eo=>{"custom"!==Ct.type&&(eo.innerHTML=Qn||""),"bullets"===Ct.type&&b.pagination.bullets.push(...eo.querySelectorAll(bi(Ct.bulletClass)))}),"custom"!==Ct.type&&D("paginationRender",on[0])}function Et(){b.params.pagination=Ii(b,b.originalParams.pagination,b.params.pagination,{el:"swiper-pagination"});const Ct=b.params.pagination;if(!Ct.el)return;let nn;"string"==typeof Ct.el&&b.isElement&&(nn=b.el.shadowRoot.querySelector(Ct.el)),!nn&&"string"==typeof Ct.el&&(nn=[...document.querySelectorAll(Ct.el)]),nn||(nn=Ct.el),nn&&0!==nn.length&&(b.params.uniqueNavElements&&"string"==typeof Ct.el&&Array.isArray(nn)&&nn.length>1&&(nn=[...b.el.querySelectorAll(Ct.el)],nn.length>1&&(nn=nn.filter(on=>pt(on,".swiper")[0]===b.el)[0])),Array.isArray(nn)&&1===nn.length&&(nn=nn[0]),Object.assign(b.pagination,{el:nn}),nn=Ee(nn),nn.forEach(on=>{"bullets"===Ct.type&&Ct.clickable&&on.classList.add(Ct.clickableClass),on.classList.add(Ct.modifierClass+Ct.type),on.classList.add(b.isHorizontal()?Ct.horizontalClass:Ct.verticalClass),"bullets"===Ct.type&&Ct.dynamicBullets&&(on.classList.add(`${Ct.modifierClass}${Ct.type}-dynamic`),xe=0,Ct.dynamicMainBullets<1&&(Ct.dynamicMainBullets=1)),"progressbar"===Ct.type&&Ct.progressbarOpposite&&on.classList.add(Ct.progressbarOppositeClass),Ct.clickable&&on.addEventListener("click",Le),b.enabled||on.classList.add(Ct.lockClass)}))}function Nt(){const Ct=b.params.pagination;if(_e())return;let nn=b.pagination.el;nn&&(nn=Ee(nn),nn.forEach(on=>{on.classList.remove(Ct.hiddenClass),on.classList.remove(Ct.modifierClass+Ct.type),on.classList.remove(b.isHorizontal()?Ct.horizontalClass:Ct.verticalClass),Ct.clickable&&on.removeEventListener("click",Le)})),b.pagination.bullets&&b.pagination.bullets.forEach(on=>on.classList.remove(...Ct.bulletActiveClass.split(" ")))}oe("changeDirection",()=>{if(!b.pagination||!b.pagination.el)return;const Ct=b.params.pagination;let{el:nn}=b.pagination;nn=Ee(nn),nn.forEach(on=>{on.classList.remove(Ct.horizontalClass,Ct.verticalClass),on.classList.add(b.isHorizontal()?Ct.horizontalClass:Ct.verticalClass)})}),oe("init",()=>{!1===b.params.pagination.enabled?pn():(Et(),ut(),Ae())}),oe("activeIndexChange",()=>{typeof b.snapIndex>"u"&&Ae()}),oe("snapIndexChange",()=>{Ae()}),oe("snapGridLengthChange",()=>{ut(),Ae()}),oe("destroy",()=>{Nt()}),oe("enable disable",()=>{let{el:Ct}=b.pagination;Ct&&(Ct=Ee(Ct),Ct.forEach(nn=>nn.classList[b.enabled?"remove":"add"](b.params.pagination.lockClass)))}),oe("lock unlock",()=>{Ae()}),oe("click",(Ct,nn)=>{const on=nn.target;let{el:Qn}=b.pagination;if(Array.isArray(Qn)||(Qn=[Qn].filter(eo=>!!eo)),b.params.pagination.el&&b.params.pagination.hideOnClick&&Qn&&Qn.length>0&&!on.classList.contains(b.params.pagination.bulletClass)){if(b.navigation&&(b.navigation.nextEl&&on===b.navigation.nextEl||b.navigation.prevEl&&on===b.navigation.prevEl))return;const eo=Qn[0].classList.contains(b.params.pagination.hiddenClass);D(!0===eo?"paginationShow":"paginationHide"),Qn.forEach(fo=>fo.classList.toggle(b.params.pagination.hiddenClass))}});const pn=()=>{b.el.classList.add(b.params.pagination.paginationDisabledClass);let{el:Ct}=b.pagination;Ct&&(Ct=Ee(Ct),Ct.forEach(nn=>nn.classList.add(b.params.pagination.paginationDisabledClass))),Nt()};Object.assign(b.pagination,{enable:()=>{b.el.classList.remove(b.params.pagination.paginationDisabledClass);let{el:Ct}=b.pagination;Ct&&(Ct=Ee(Ct),Ct.forEach(nn=>nn.classList.remove(b.params.pagination.paginationDisabledClass))),Et(),ut(),Ae()},disable:pn,render:ut,update:Ae,init:Et,destroy:Nt})},function Fi({swiper:b,extendParams:ee,on:oe,emit:D}){const N=d();let _e,Ie,Le,Ae,Y=!1,xe=null,Ee=null;function ut(){if(!b.params.scrollbar.el||!b.scrollbar.el)return;const{scrollbar:ge,rtlTranslate:He}=b,{dragEl:ue,el:st}=ge,jn=b.params.scrollbar;let Lo=Ie,To=(Le-Ie)*(b.params.loop?b.progressLoop:b.progress);He?(To=-To,To>0?(Lo=Ie-To,To=0):-To+Ie>Le&&(Lo=Le+To)):To<0?(Lo=Ie+To,To=0):To+Ie>Le&&(Lo=Le-To),b.isHorizontal()?(ue.style.transform=`translate3d(${To}px, 0, 0)`,ue.style.width=`${Lo}px`):(ue.style.transform=`translate3d(0px, ${To}px, 0)`,ue.style.height=`${Lo}px`),jn.hide&&(clearTimeout(xe),st.style.opacity=1,xe=setTimeout(()=>{st.style.opacity=0,st.style.transitionDuration="400ms"},1e3))}function Nt(){if(!b.params.scrollbar.el||!b.scrollbar.el)return;const{scrollbar:ge}=b,{dragEl:He,el:ue}=ge;He.style.width="",He.style.height="",Le=b.isHorizontal()?ue.offsetWidth:ue.offsetHeight,Ae=b.size/(b.virtualSize+b.params.slidesOffsetBefore-(b.params.centeredSlides?b.snapGrid[0]:0)),Ie="auto"===b.params.scrollbar.dragSize?Le*Ae:parseInt(b.params.scrollbar.dragSize,10),b.isHorizontal()?He.style.width=`${Ie}px`:He.style.height=`${Ie}px`,ue.style.display=Ae>=1?"none":"",b.params.scrollbar.hide&&(ue.style.opacity=0),b.params.watchOverflow&&b.enabled&&ge.el.classList[b.isLocked?"add":"remove"](b.params.scrollbar.lockClass)}function Ot(ge){return b.isHorizontal()?ge.clientX:ge.clientY}function pn(ge){const{scrollbar:He,rtlTranslate:ue}=b,{el:st}=He;let jn;jn=(Ot(ge)-ke(st)[b.isHorizontal()?"left":"top"]-(null!==_e?_e:Ie/2))/(Le-Ie),jn=Math.max(Math.min(jn,1),0),ue&&(jn=1-jn);const Yn=b.minTranslate()+(b.maxTranslate()-b.minTranslate())*jn;b.updateProgress(Yn),b.setTranslate(Yn),b.updateActiveIndex(),b.updateSlidesClasses()}function Ct(ge){const He=b.params.scrollbar,{scrollbar:ue,wrapperEl:st}=b,{el:jn,dragEl:Yn}=ue;Y=!0,_e=ge.target===Yn?Ot(ge)-ge.target.getBoundingClientRect()[b.isHorizontal()?"left":"top"]:null,ge.preventDefault(),ge.stopPropagation(),st.style.transitionDuration="100ms",Yn.style.transitionDuration="100ms",pn(ge),clearTimeout(Ee),jn.style.transitionDuration="0ms",He.hide&&(jn.style.opacity=1),b.params.cssMode&&(b.wrapperEl.style["scroll-snap-type"]="none"),D("scrollbarDragStart",ge)}function nn(ge){const{scrollbar:He,wrapperEl:ue}=b,{el:st,dragEl:jn}=He;Y&&(ge.preventDefault?ge.preventDefault():ge.returnValue=!1,pn(ge),ue.style.transitionDuration="0ms",st.style.transitionDuration="0ms",jn.style.transitionDuration="0ms",D("scrollbarDragMove",ge))}function on(ge){const He=b.params.scrollbar,{scrollbar:ue,wrapperEl:st}=b,{el:jn}=ue;Y&&(Y=!1,b.params.cssMode&&(b.wrapperEl.style["scroll-snap-type"]="",st.style.transitionDuration=""),He.hide&&(clearTimeout(Ee),Ee=v(()=>{jn.style.opacity=0,jn.style.transitionDuration="400ms"},1e3)),D("scrollbarDragEnd",ge),He.snapOnRelease&&b.slideToClosest())}function Qn(ge){const{scrollbar:He,params:ue}=b,st=He.el;if(!st)return;const Yn=!!ue.passiveListeners&&{passive:!1,capture:!1},Lo=!!ue.passiveListeners&&{passive:!0,capture:!1};if(!st)return;const To="on"===ge?"addEventListener":"removeEventListener";st[To]("pointerdown",Ct,Yn),N[To]("pointermove",nn,Yn),N[To]("pointerup",on,Lo)}function jo(){const{scrollbar:ge,el:He}=b;b.params.scrollbar=Ii(b,b.originalParams.scrollbar,b.params.scrollbar,{el:"swiper-scrollbar"});const ue=b.params.scrollbar;if(!ue.el)return;let st,jn;"string"==typeof ue.el&&b.isElement&&(st=b.el.shadowRoot.querySelector(ue.el)),st||"string"!=typeof ue.el?st||(st=ue.el):st=N.querySelectorAll(ue.el),b.params.uniqueNavElements&&"string"==typeof ue.el&&st.length>1&&1===He.querySelectorAll(ue.el).length&&(st=He.querySelector(ue.el)),st.length>0&&(st=st[0]),st.classList.add(b.isHorizontal()?ue.horizontalClass:ue.verticalClass),st&&(jn=st.querySelector(`.${b.params.scrollbar.dragClass}`),jn||(jn=Me("div",b.params.scrollbar.dragClass),st.append(jn))),Object.assign(ge,{el:st,dragEl:jn}),ue.draggable&&function eo(){!b.params.scrollbar.el||!b.scrollbar.el||Qn("on")}(),st&&st.classList[b.enabled?"remove":"add"](b.params.scrollbar.lockClass)}function wo(){const ge=b.params.scrollbar,He=b.scrollbar.el;He&&He.classList.remove(b.isHorizontal()?ge.horizontalClass:ge.verticalClass),function fo(){!b.params.scrollbar.el||!b.scrollbar.el||Qn("off")}()}ee({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"}}),b.scrollbar={el:null,dragEl:null},oe("init",()=>{!1===b.params.scrollbar.enabled?Te():(jo(),Nt(),ut())}),oe("update resize observerUpdate lock unlock",()=>{Nt()}),oe("setTranslate",()=>{ut()}),oe("setTransition",(ge,He)=>{!function Et(ge){!b.params.scrollbar.el||!b.scrollbar.el||(b.scrollbar.dragEl.style.transitionDuration=`${ge}ms`)}(He)}),oe("enable disable",()=>{const{el:ge}=b.scrollbar;ge&&ge.classList[b.enabled?"remove":"add"](b.params.scrollbar.lockClass)}),oe("destroy",()=>{wo()});const Te=()=>{b.el.classList.add(b.params.scrollbar.scrollbarDisabledClass),b.scrollbar.el&&b.scrollbar.el.classList.add(b.params.scrollbar.scrollbarDisabledClass),wo()};Object.assign(b.scrollbar,{enable:()=>{b.el.classList.remove(b.params.scrollbar.scrollbarDisabledClass),b.scrollbar.el&&b.scrollbar.el.classList.remove(b.params.scrollbar.scrollbarDisabledClass),jo(),Nt(),ut()},disable:Te,updateSize:Nt,setTranslate:ut,init:jo,destroy:wo})},function ri({swiper:b,extendParams:ee,on:oe}){ee({parallax:{enabled:!1}});const D=(xe,Ee)=>{const{rtl:_e}=b,Ie=_e?-1:1,Le=xe.getAttribute("data-swiper-parallax")||"0";let Ae=xe.getAttribute("data-swiper-parallax-x"),ut=xe.getAttribute("data-swiper-parallax-y");const Et=xe.getAttribute("data-swiper-parallax-scale"),Nt=xe.getAttribute("data-swiper-parallax-opacity"),Ot=xe.getAttribute("data-swiper-parallax-rotate");if(Ae||ut?(Ae=Ae||"0",ut=ut||"0"):b.isHorizontal()?(Ae=Le,ut="0"):(ut=Le,Ae="0"),Ae=Ae.indexOf("%")>=0?parseInt(Ae,10)*Ee*Ie+"%":Ae*Ee*Ie+"px",ut=ut.indexOf("%")>=0?parseInt(ut,10)*Ee+"%":ut*Ee+"px",typeof Nt<"u"&&null!==Nt){const Ct=Nt-(Nt-1)*(1-Math.abs(Ee));xe.style.opacity=Ct}let pn=`translate3d(${Ae}, ${ut}, 0px)`;typeof Et<"u"&&null!==Et&&(pn+=` scale(${Et-(Et-1)*(1-Math.abs(Ee))})`),Ot&&typeof Ot<"u"&&null!==Ot&&(pn+=` rotate(${Ot*Ee*-1}deg)`),xe.style.transform=pn},N=()=>{const{el:xe,slides:Ee,progress:_e,snapGrid:Ie}=b;he(xe,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach(Le=>{D(Le,_e)}),Ee.forEach((Le,Ae)=>{let ut=Le.progress;b.params.slidesPerGroup>1&&"auto"!==b.params.slidesPerView&&(ut+=Math.ceil(Ae/2)-_e*(Ie.length-1)),ut=Math.min(Math.max(ut,-1),1),Le.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(Et=>{D(Et,ut)})})};oe("beforeInit",()=>{b.params.parallax.enabled&&(b.params.watchSlidesProgress=!0,b.originalParams.watchSlidesProgress=!0)}),oe("init",()=>{b.params.parallax.enabled&&N()}),oe("setTranslate",()=>{b.params.parallax.enabled&&N()}),oe("setTransition",(xe,Ee)=>{b.params.parallax.enabled&&((xe=b.params.speed)=>{const{el:Ee}=b;Ee.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach(_e=>{let Ie=parseInt(_e.getAttribute("data-swiper-parallax-duration"),10)||xe;0===xe&&(Ie=0),_e.style.transitionDuration=`${Ie}ms`})})(Ee)})},function is({swiper:b,extendParams:ee,on:oe,emit:D}){const N=a();ee({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),b.zoom={enabled:!1};let Ee,_e,Y=1,xe=!1;const Ie=[],Le={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},Ae={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:{}},ut={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let Et=1;function Nt(){return Ie.length<2?1:Math.sqrt((Ie[1].pageX-Ie[0].pageX)**2+(Ie[1].pageY-Ie[0].pageY)**2)}function Ct(Yn){const Lo=function pn(){return b.isElement?"swiper-slide":`.${b.params.slideClass}`}();return!!(Yn.target.matches(Lo)||b.slides.filter(To=>To.contains(Yn.target)).length>0)}function on(Yn){if("mouse"===Yn.pointerType&&Ie.splice(0,Ie.length),!Ct(Yn))return;const Lo=b.params.zoom;if(Ee=!1,_e=!1,Ie.push(Yn),!(Ie.length<2)){if(Ee=!0,Le.scaleStart=Nt(),!Le.slideEl){Le.slideEl=Yn.target.closest(`.${b.params.slideClass}, swiper-slide`),Le.slideEl||(Le.slideEl=b.slides[b.activeIndex]);let To=Le.slideEl.querySelector(`.${Lo.containerClass}`);if(To&&(To=To.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),Le.imageEl=To,Le.imageWrapEl=To?pt(Le.imageEl,`.${Lo.containerClass}`)[0]:void 0,!Le.imageWrapEl)return void(Le.imageEl=void 0);Le.maxRatio=Le.imageWrapEl.getAttribute("data-swiper-zoom")||Lo.maxRatio}if(Le.imageEl){const[To,ki]=function Ot(){if(Ie.length<2)return{x:null,y:null};const Yn=Le.imageEl.getBoundingClientRect();return[(Ie[0].pageX+(Ie[1].pageX-Ie[0].pageX)/2-Yn.x)/Y,(Ie[0].pageY+(Ie[1].pageY-Ie[0].pageY)/2-Yn.y)/Y]}();Le.originX=To,Le.originY=ki,Le.imageEl.style.transitionDuration="0ms"}xe=!0}}function Qn(Yn){if(!Ct(Yn))return;const Lo=b.params.zoom,To=b.zoom,ki=Ie.findIndex(cr=>cr.pointerId===Yn.pointerId);ki>=0&&(Ie[ki]=Yn),!(Ie.length<2)&&(_e=!0,Le.scaleMove=Nt(),Le.imageEl&&(To.scale=Le.scaleMove/Le.scaleStart*Y,To.scale>Le.maxRatio&&(To.scale=Le.maxRatio-1+(To.scale-Le.maxRatio+1)**.5),To.scalecr.pointerId===Yn.pointerId);ki>=0&&Ie.splice(ki,1),Ee&&_e&&(Ee=!1,_e=!1,Le.imageEl&&(To.scale=Math.max(Math.min(To.scale,Le.maxRatio),Lo.minRatio),Le.imageEl.style.transitionDuration=`${b.params.speed}ms`,Le.imageEl.style.transform=`translate3d(0,0,0) scale(${To.scale})`,Y=To.scale,xe=!1,To.scale>1&&Le.slideEl?Le.slideEl.classList.add(`${Lo.zoomedSlideClass}`):To.scale<=1&&Le.slideEl&&Le.slideEl.classList.remove(`${Lo.zoomedSlideClass}`),1===To.scale&&(Le.originX=0,Le.originY=0,Le.slideEl=void 0)))}function jo(Yn){if(!Ct(Yn)||!function nn(Yn){const Lo=`.${b.params.zoom.containerClass}`;return!!(Yn.target.matches(Lo)||[...b.el.querySelectorAll(Lo)].filter(To=>To.contains(Yn.target)).length>0)}(Yn))return;const Lo=b.zoom;if(!Le.imageEl||!Ae.isTouched||!Le.slideEl)return;Ae.isMoved||(Ae.width=Le.imageEl.offsetWidth,Ae.height=Le.imageEl.offsetHeight,Ae.startX=O(Le.imageWrapEl,"x")||0,Ae.startY=O(Le.imageWrapEl,"y")||0,Le.slideWidth=Le.slideEl.offsetWidth,Le.slideHeight=Le.slideEl.offsetHeight,Le.imageWrapEl.style.transitionDuration="0ms");const To=Ae.width*Lo.scale,ki=Ae.height*Lo.scale;if(To0?Ie[0].pageX:Yn.pageX,Ae.touchesCurrent.y=Ie.length>0?Ie[0].pageY:Yn.pageY,Math.max(Math.abs(Ae.touchesCurrent.x-Ae.touchesStart.x),Math.abs(Ae.touchesCurrent.y-Ae.touchesStart.y))>5&&(b.allowClick=!1),!Ae.isMoved&&!xe){if(b.isHorizontal()&&(Math.floor(Ae.minX)===Math.floor(Ae.startX)&&Ae.touchesCurrent.xAe.touchesStart.x))return void(Ae.isTouched=!1);if(!b.isHorizontal()&&(Math.floor(Ae.minY)===Math.floor(Ae.startY)&&Ae.touchesCurrent.yAe.touchesStart.y))return void(Ae.isTouched=!1)}Yn.cancelable&&Yn.preventDefault(),Yn.stopPropagation(),Ae.isMoved=!0;const Gr=(Lo.scale-Y)/(Le.maxRatio-b.params.zoom.minRatio),{originX:Ti,originY:dr}=Le;Ae.currentX=Ae.touchesCurrent.x-Ae.touchesStart.x+Ae.startX+Gr*(Ae.width-2*Ti),Ae.currentY=Ae.touchesCurrent.y-Ae.touchesStart.y+Ae.startY+Gr*(Ae.height-2*dr),Ae.currentXAe.maxX&&(Ae.currentX=Ae.maxX-1+(Ae.currentX-Ae.maxX+1)**.8),Ae.currentYAe.maxY&&(Ae.currentY=Ae.maxY-1+(Ae.currentY-Ae.maxY+1)**.8),ut.prevPositionX||(ut.prevPositionX=Ae.touchesCurrent.x),ut.prevPositionY||(ut.prevPositionY=Ae.touchesCurrent.y),ut.prevTime||(ut.prevTime=Date.now()),ut.x=(Ae.touchesCurrent.x-ut.prevPositionX)/(Date.now()-ut.prevTime)/2,ut.y=(Ae.touchesCurrent.y-ut.prevPositionY)/(Date.now()-ut.prevTime)/2,Math.abs(Ae.touchesCurrent.x-ut.prevPositionX)<2&&(ut.x=0),Math.abs(Ae.touchesCurrent.y-ut.prevPositionY)<2&&(ut.y=0),ut.prevPositionX=Ae.touchesCurrent.x,ut.prevPositionY=Ae.touchesCurrent.y,ut.prevTime=Date.now(),Le.imageWrapEl.style.transform=`translate3d(${Ae.currentX}px, ${Ae.currentY}px,0)`}function ii(){const Yn=b.zoom;Le.slideEl&&b.activeIndex!==b.slides.indexOf(Le.slideEl)&&(Le.imageEl&&(Le.imageEl.style.transform="translate3d(0,0,0) scale(1)"),Le.imageWrapEl&&(Le.imageWrapEl.style.transform="translate3d(0,0,0)"),Le.slideEl.classList.remove(`${b.params.zoom.zoomedSlideClass}`),Yn.scale=1,Y=1,Le.slideEl=void 0,Le.imageEl=void 0,Le.imageWrapEl=void 0,Le.originX=0,Le.originY=0)}function Te(Yn){const Lo=b.zoom,To=b.params.zoom;if(!Le.slideEl){Yn&&Yn.target&&(Le.slideEl=Yn.target.closest(`.${b.params.slideClass}, swiper-slide`)),Le.slideEl||(Le.slideEl=b.params.virtual&&b.params.virtual.enabled&&b.virtual?he(b.slidesEl,`.${b.params.slideActiveClass}`)[0]:b.slides[b.activeIndex]);let Yi=Le.slideEl.querySelector(`.${To.containerClass}`);Yi&&(Yi=Yi.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),Le.imageEl=Yi,Le.imageWrapEl=Yi?pt(Le.imageEl,`.${To.containerClass}`)[0]:void 0}if(!Le.imageEl||!Le.imageWrapEl)return;let ki,cr,Gr,Ti,dr,hs,U,Ce,Ve,dt,At,rn,cn,Fn,_o,Bo,ti,Li;b.params.cssMode&&(b.wrapperEl.style.overflow="hidden",b.wrapperEl.style.touchAction="none"),Le.slideEl.classList.add(`${To.zoomedSlideClass}`),typeof Ae.touchesStart.x>"u"&&Yn?(ki=Yn.pageX,cr=Yn.pageY):(ki=Ae.touchesStart.x,cr=Ae.touchesStart.y);const er="number"==typeof Yn?Yn:null;1===Y&&er&&(ki=void 0,cr=void 0),Lo.scale=er||Le.imageWrapEl.getAttribute("data-swiper-zoom")||To.maxRatio,Y=er||Le.imageWrapEl.getAttribute("data-swiper-zoom")||To.maxRatio,!Yn||1===Y&&er?(U=0,Ce=0):(ti=Le.slideEl.offsetWidth,Li=Le.slideEl.offsetHeight,Gr=ke(Le.slideEl).left+N.scrollX,Ti=ke(Le.slideEl).top+N.scrollY,dr=Gr+ti/2-ki,hs=Ti+Li/2-cr,Ve=Le.imageEl.offsetWidth,dt=Le.imageEl.offsetHeight,At=Ve*Lo.scale,rn=dt*Lo.scale,cn=Math.min(ti/2-At/2,0),Fn=Math.min(Li/2-rn/2,0),_o=-cn,Bo=-Fn,U=dr*Lo.scale,Ce=hs*Lo.scale,U_o&&(U=_o),CeBo&&(Ce=Bo)),er&&1===Lo.scale&&(Le.originX=0,Le.originY=0),Le.imageWrapEl.style.transitionDuration="300ms",Le.imageWrapEl.style.transform=`translate3d(${U}px, ${Ce}px,0)`,Le.imageEl.style.transitionDuration="300ms",Le.imageEl.style.transform=`translate3d(0,0,0) scale(${Lo.scale})`}function ge(){const Yn=b.zoom,Lo=b.params.zoom;if(!Le.slideEl){Le.slideEl=b.params.virtual&&b.params.virtual.enabled&&b.virtual?he(b.slidesEl,`.${b.params.slideActiveClass}`)[0]:b.slides[b.activeIndex];let To=Le.slideEl.querySelector(`.${Lo.containerClass}`);To&&(To=To.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),Le.imageEl=To,Le.imageWrapEl=To?pt(Le.imageEl,`.${Lo.containerClass}`)[0]:void 0}!Le.imageEl||!Le.imageWrapEl||(b.params.cssMode&&(b.wrapperEl.style.overflow="",b.wrapperEl.style.touchAction=""),Yn.scale=1,Y=1,Le.imageWrapEl.style.transitionDuration="300ms",Le.imageWrapEl.style.transform="translate3d(0,0,0)",Le.imageEl.style.transitionDuration="300ms",Le.imageEl.style.transform="translate3d(0,0,0) scale(1)",Le.slideEl.classList.remove(`${Lo.zoomedSlideClass}`),Le.slideEl=void 0,Le.originX=0,Le.originY=0)}function He(Yn){const Lo=b.zoom;Lo.scale&&1!==Lo.scale?ge():Te(Yn)}function ue(){return{passiveListener:!!b.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!b.params.passiveListeners||{passive:!1,capture:!0}}}function st(){const Yn=b.zoom;if(Yn.enabled)return;Yn.enabled=!0;const{passiveListener:Lo,activeListenerWithCapture:To}=ue();b.wrapperEl.addEventListener("pointerdown",on,Lo),b.wrapperEl.addEventListener("pointermove",Qn,To),["pointerup","pointercancel","pointerout"].forEach(ki=>{b.wrapperEl.addEventListener(ki,eo,Lo)}),b.wrapperEl.addEventListener("pointermove",jo,To)}function jn(){const Yn=b.zoom;if(!Yn.enabled)return;Yn.enabled=!1;const{passiveListener:Lo,activeListenerWithCapture:To}=ue();b.wrapperEl.removeEventListener("pointerdown",on,Lo),b.wrapperEl.removeEventListener("pointermove",Qn,To),["pointerup","pointercancel","pointerout"].forEach(ki=>{b.wrapperEl.removeEventListener(ki,eo,Lo)}),b.wrapperEl.removeEventListener("pointermove",jo,To)}Object.defineProperty(b.zoom,"scale",{get:()=>Et,set(Yn){Et!==Yn&&D("zoomChange",Yn,Le.imageEl,Le.slideEl),Et=Yn}}),oe("init",()=>{b.params.zoom.enabled&&st()}),oe("destroy",()=>{jn()}),oe("touchStart",(Yn,Lo)=>{b.zoom.enabled&&function fo(Yn){if(!Le.imageEl||Ae.isTouched)return;b.device.android&&Yn.cancelable&&Yn.preventDefault(),Ae.isTouched=!0;const To=Ie.length>0?Ie[0]:Yn;Ae.touchesStart.x=To.pageX,Ae.touchesStart.y=To.pageY}(Lo)}),oe("touchEnd",(Yn,Lo)=>{b.zoom.enabled&&function wo(){const Yn=b.zoom;if(!Le.imageEl)return;if(!Ae.isTouched||!Ae.isMoved)return Ae.isTouched=!1,void(Ae.isMoved=!1);Ae.isTouched=!1,Ae.isMoved=!1;let Lo=300,To=300;const cr=Ae.currentX+ut.x*Lo,Ti=Ae.currentY+ut.y*To;0!==ut.x&&(Lo=Math.abs((cr-Ae.currentX)/ut.x)),0!==ut.y&&(To=Math.abs((Ti-Ae.currentY)/ut.y));const dr=Math.max(Lo,To);Ae.currentX=cr,Ae.currentY=Ti;const U=Ae.height*Yn.scale;Ae.minX=Math.min(Le.slideWidth/2-Ae.width*Yn.scale/2,0),Ae.maxX=-Ae.minX,Ae.minY=Math.min(Le.slideHeight/2-U/2,0),Ae.maxY=-Ae.minY,Ae.currentX=Math.max(Math.min(Ae.currentX,Ae.maxX),Ae.minX),Ae.currentY=Math.max(Math.min(Ae.currentY,Ae.maxY),Ae.minY),Le.imageWrapEl.style.transitionDuration=`${dr}ms`,Le.imageWrapEl.style.transform=`translate3d(${Ae.currentX}px, ${Ae.currentY}px,0)`}()}),oe("doubleTap",(Yn,Lo)=>{!b.animating&&b.params.zoom.enabled&&b.zoom.enabled&&b.params.zoom.toggle&&He(Lo)}),oe("transitionEnd",()=>{b.zoom.enabled&&b.params.zoom.enabled&&ii()}),oe("slideChange",()=>{b.zoom.enabled&&b.params.zoom.enabled&&b.params.cssMode&&ii()}),Object.assign(b.zoom,{enable:st,disable:jn,in:Te,out:ge,toggle:He})},function wr({swiper:b,extendParams:ee,on:oe}){function D(_e,Ie){const Le=function(){let Nt,Ot,pn;return(Ct,nn)=>{for(Ot=-1,Nt=Ct.length;Nt-Ot>1;)pn=Nt+Ot>>1,Ct[pn]<=nn?Ot=pn:Nt=pn;return Nt}}();let Ae,ut;return this.x=_e,this.y=Ie,this.lastIndex=_e.length-1,this.interpolate=function(Nt){return Nt?(ut=Le(this.x,Nt),Ae=ut-1,(Nt-this.x[Ae])*(this.y[ut]-this.y[Ae])/(this.x[ut]-this.x[Ae])+this.y[Ae]):0},this}function Ee(){b.controller.control&&b.controller.spline&&(b.controller.spline=void 0,delete b.controller.spline)}ee({controller:{control:void 0,inverse:!1,by:"slide"}}),b.controller={control:void 0},oe("beforeInit",()=>{if(typeof window<"u"&&("string"==typeof b.params.controller.control||b.params.controller.control instanceof HTMLElement)){const _e=document.querySelector(b.params.controller.control);if(_e&&_e.swiper)b.controller.control=_e.swiper;else if(_e){const Ie=Le=>{b.controller.control=Le.detail[0],b.update(),_e.removeEventListener("init",Ie)};_e.addEventListener("init",Ie)}}else b.controller.control=b.params.controller.control}),oe("update",()=>{Ee()}),oe("resize",()=>{Ee()}),oe("observerUpdate",()=>{Ee()}),oe("setTranslate",(_e,Ie,Le)=>{!b.controller.control||b.controller.control.destroyed||b.controller.setTranslate(Ie,Le)}),oe("setTransition",(_e,Ie,Le)=>{!b.controller.control||b.controller.control.destroyed||b.controller.setTransition(Ie,Le)}),Object.assign(b.controller,{setTranslate:function Y(_e,Ie){const Le=b.controller.control;let Ae,ut;const Et=b.constructor;function Nt(Ot){if(Ot.destroyed)return;const pn=b.rtlTranslate?-b.translate:b.translate;"slide"===b.params.controller.by&&(function N(_e){b.controller.spline=b.params.loop?new D(b.slidesGrid,_e.slidesGrid):new D(b.snapGrid,_e.snapGrid)}(Ot),ut=-b.controller.spline.interpolate(-pn)),(!ut||"container"===b.params.controller.by)&&(Ae=(Ot.maxTranslate()-Ot.minTranslate())/(b.maxTranslate()-b.minTranslate()),(Number.isNaN(Ae)||!Number.isFinite(Ae))&&(Ae=1),ut=(pn-b.minTranslate())*Ae+Ot.minTranslate()),b.params.controller.inverse&&(ut=Ot.maxTranslate()-ut),Ot.updateProgress(ut),Ot.setTranslate(ut,b),Ot.updateActiveIndex(),Ot.updateSlidesClasses()}if(Array.isArray(Le))for(let Ot=0;Ot{Nt.updateAutoHeight()}),Ye(Nt.wrapperEl,()=>{Ae&&Nt.transitionEnd()})))}if(Array.isArray(Ae))for(ut=0;ut(Array.isArray(ue)||(ue=[ue].filter(st=>!!st)),ue);function Ee(ue){(ue=Y(ue)).forEach(st=>{st.setAttribute("tabIndex","0")})}function _e(ue){(ue=Y(ue)).forEach(st=>{st.setAttribute("tabIndex","-1")})}function Ie(ue,st){(ue=Y(ue)).forEach(jn=>{jn.setAttribute("role",st)})}function Le(ue,st){(ue=Y(ue)).forEach(jn=>{jn.setAttribute("aria-roledescription",st)})}function ut(ue,st){(ue=Y(ue)).forEach(jn=>{jn.setAttribute("aria-label",st)})}function Ot(ue){(ue=Y(ue)).forEach(st=>{st.setAttribute("aria-disabled",!0)})}function pn(ue){(ue=Y(ue)).forEach(st=>{st.setAttribute("aria-disabled",!1)})}function Ct(ue){if(13!==ue.keyCode&&32!==ue.keyCode)return;const st=b.params.a11y,jn=ue.target;b.pagination&&b.pagination.el&&(jn===b.pagination.el||b.pagination.el.contains(ue.target))&&!ue.target.matches(bi(b.params.pagination.bulletClass))||(b.navigation&&b.navigation.nextEl&&jn===b.navigation.nextEl&&(b.isEnd&&!b.params.loop||b.slideNext(),N(b.isEnd?st.lastSlideMessage:st.nextSlideMessage)),b.navigation&&b.navigation.prevEl&&jn===b.navigation.prevEl&&(b.isBeginning&&!b.params.loop||b.slidePrev(),N(b.isBeginning?st.firstSlideMessage:st.prevSlideMessage)),b.pagination&&jn.matches(bi(b.params.pagination.bulletClass))&&jn.click())}function on(){return b.pagination&&b.pagination.bullets&&b.pagination.bullets.length}function Qn(){return on()&&b.params.pagination.clickable}const fo=(ue,st,jn)=>{Ee(ue),"BUTTON"!==ue.tagName&&(Ie(ue,"button"),ue.addEventListener("keydown",Ct)),ut(ue,jn),function Ae(ue,st){(ue=Y(ue)).forEach(jn=>{jn.setAttribute("aria-controls",st)})}(ue,st)},jo=()=>{b.a11y.clicked=!0},wo=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{b.destroyed||(b.a11y.clicked=!1)})})},ii=ue=>{if(b.a11y.clicked)return;const st=ue.target.closest(`.${b.params.slideClass}, swiper-slide`);if(!st||!b.slides.includes(st))return;const jn=b.slides.indexOf(st)===b.activeIndex,Yn=b.params.watchSlidesProgress&&b.visibleSlides&&b.visibleSlides.includes(st);jn||Yn||ue.sourceCapabilities&&ue.sourceCapabilities.firesTouchEvents||(b.isHorizontal()?b.el.scrollLeft=0:b.el.scrollTop=0,b.slideTo(b.slides.indexOf(st),0))},Te=()=>{const ue=b.params.a11y;ue.itemRoleDescriptionMessage&&Le(b.slides,ue.itemRoleDescriptionMessage),ue.slideRole&&Ie(b.slides,ue.slideRole);const st=b.slides.length;ue.slideLabelMessage&&b.slides.forEach((jn,Yn)=>{const Lo=b.params.loop?parseInt(jn.getAttribute("data-swiper-slide-index"),10):Yn;ut(jn,ue.slideLabelMessage.replace(/\{\{index\}\}/,Lo+1).replace(/\{\{slidesLength\}\}/,st))})};oe("beforeInit",()=>{D=Me("span",b.params.a11y.notificationClass),D.setAttribute("aria-live","assertive"),D.setAttribute("aria-atomic","true")}),oe("afterInit",()=>{b.params.a11y.enabled&&(()=>{const ue=b.params.a11y;b.isElement?b.el.shadowEl.append(D):b.el.append(D);const st=b.el;ue.containerRoleDescriptionMessage&&Le(st,ue.containerRoleDescriptionMessage),ue.containerMessage&&ut(st,ue.containerMessage);const jn=b.wrapperEl,Yn=ue.id||jn.getAttribute("id")||`swiper-wrapper-${function xe(ue=16){return"x".repeat(ue).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`,Lo=b.params.autoplay&&b.params.autoplay.enabled?"off":"polite";(function Et(ue,st){(ue=Y(ue)).forEach(jn=>{jn.setAttribute("id",st)})})(jn,Yn),function Nt(ue,st){(ue=Y(ue)).forEach(jn=>{jn.setAttribute("aria-live",st)})}(jn,Lo),Te();let{nextEl:To,prevEl:ki}=b.navigation?b.navigation:{};To=Y(To),ki=Y(ki),To&&To.forEach(cr=>fo(cr,Yn,ue.nextSlideMessage)),ki&&ki.forEach(cr=>fo(cr,Yn,ue.prevSlideMessage)),Qn()&&(Array.isArray(b.pagination.el)?b.pagination.el:[b.pagination.el]).forEach(Gr=>{Gr.addEventListener("keydown",Ct)}),b.el.addEventListener("focus",ii,!0),b.el.addEventListener("pointerdown",jo,!0),b.el.addEventListener("pointerup",wo,!0)})()}),oe("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{b.params.a11y.enabled&&Te()}),oe("fromEdge toEdge afterInit lock unlock",()=>{b.params.a11y.enabled&&function nn(){if(b.params.loop||b.params.rewind||!b.navigation)return;const{nextEl:ue,prevEl:st}=b.navigation;st&&(b.isBeginning?(Ot(st),_e(st)):(pn(st),Ee(st))),ue&&(b.isEnd?(Ot(ue),_e(ue)):(pn(ue),Ee(ue)))}()}),oe("paginationUpdate",()=>{b.params.a11y.enabled&&function eo(){const ue=b.params.a11y;on()&&b.pagination.bullets.forEach(st=>{b.params.pagination.clickable&&(Ee(st),b.params.pagination.renderBullet||(Ie(st,"button"),ut(st,ue.paginationBulletMessage.replace(/\{\{index\}\}/,it(st)+1)))),st.matches(bi(b.params.pagination.bulletActiveClass))?st.setAttribute("aria-current","true"):st.removeAttribute("aria-current")})}()}),oe("destroy",()=>{b.params.a11y.enabled&&function He(){D&&D.remove();let{nextEl:ue,prevEl:st}=b.navigation?b.navigation:{};ue=Y(ue),st=Y(st),ue&&ue.forEach(jn=>jn.removeEventListener("keydown",Ct)),st&&st.forEach(jn=>jn.removeEventListener("keydown",Ct)),Qn()&&(Array.isArray(b.pagination.el)?b.pagination.el:[b.pagination.el]).forEach(Yn=>{Yn.removeEventListener("keydown",Ct)}),b.el.removeEventListener("focus",ii,!0),b.el.removeEventListener("pointerdown",jo,!0),b.el.removeEventListener("pointerup",wo,!0)}()})},function Zr({swiper:b,extendParams:ee,on:oe}){ee({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let D=!1,N={};const Y=ut=>ut.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),xe=ut=>{const Et=a();let Nt;Nt=ut?new URL(ut):Et.location;const Ot=Nt.pathname.slice(1).split("/").filter(on=>""!==on),pn=Ot.length;return{key:Ot[pn-2],value:Ot[pn-1]}},Ee=(ut,Et)=>{const Nt=a();if(!D||!b.params.history.enabled)return;let Ot;Ot=b.params.url?new URL(b.params.url):Nt.location;let Ct=Y(b.slides[Et].getAttribute("data-history"));if(b.params.history.root.length>0){let on=b.params.history.root;"/"===on[on.length-1]&&(on=on.slice(0,on.length-1)),Ct=`${on}/${ut?`${ut}/`:""}${Ct}`}else Ot.pathname.includes(ut)||(Ct=`${ut?`${ut}/`:""}${Ct}`);b.params.history.keepQuery&&(Ct+=Ot.search);const nn=Nt.history.state;nn&&nn.value===Ct||(b.params.history.replaceState?Nt.history.replaceState({value:Ct},null,Ct):Nt.history.pushState({value:Ct},null,Ct))},_e=(ut,Et,Nt)=>{if(Et)for(let Ot=0,pn=b.slides.length;Ot{N=xe(b.params.url),_e(b.params.speed,N.value,!1)};oe("init",()=>{b.params.history.enabled&&(()=>{const ut=a();if(b.params.history){if(!ut.history||!ut.history.pushState)return b.params.history.enabled=!1,void(b.params.hashNavigation.enabled=!0);if(D=!0,N=xe(b.params.url),!N.key&&!N.value)return void(b.params.history.replaceState||ut.addEventListener("popstate",Ie));_e(0,N.value,b.params.runCallbacksOnInit),b.params.history.replaceState||ut.addEventListener("popstate",Ie)}})()}),oe("destroy",()=>{b.params.history.enabled&&(()=>{const ut=a();b.params.history.replaceState||ut.removeEventListener("popstate",Ie)})()}),oe("transitionEnd _freeModeNoMomentumRelease",()=>{D&&Ee(b.params.history.key,b.activeIndex)}),oe("slideChange",()=>{D&&b.params.cssMode&&Ee(b.params.history.key,b.activeIndex)})},function Kr({swiper:b,extendParams:ee,emit:oe,on:D}){let N=!1;const Y=d(),xe=a();ee({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(Ae,ut){if(b.virtual&&b.params.virtual.enabled){const Et=b.slides.filter(Ot=>Ot.getAttribute("data-hash")===ut)[0];return Et?parseInt(Et.getAttribute("data-swiper-slide-index"),10):0}return b.getSlideIndex(he(b.slidesEl,`.${b.params.slideClass}[data-hash="${ut}"], swiper-slide[data-hash="${ut}"]`)[0])}}});const Ee=()=>{oe("hashChange");const Ae=Y.location.hash.replace("#",""),ut=b.virtual&&b.params.virtual.enabled?b.slidesEl.querySelector(`[data-swiper-slide-index="${b.activeIndex}"]`):b.slides[b.activeIndex];if(Ae!==(ut?ut.getAttribute("data-hash"):"")){const Nt=b.params.hashNavigation.getSlideIndex(b,Ae);if(typeof Nt>"u"||Number.isNaN(Nt))return;b.slideTo(Nt)}},_e=()=>{if(!N||!b.params.hashNavigation.enabled)return;const Ae=b.virtual&&b.params.virtual.enabled?b.slidesEl.querySelector(`[data-swiper-slide-index="${b.activeIndex}"]`):b.slides[b.activeIndex],ut=Ae?Ae.getAttribute("data-hash")||Ae.getAttribute("data-history"):"";b.params.hashNavigation.replaceState&&xe.history&&xe.history.replaceState?(xe.history.replaceState(null,null,`#${ut}`||""),oe("hashSet")):(Y.location.hash=ut||"",oe("hashSet"))};D("init",()=>{b.params.hashNavigation.enabled&&(()=>{if(!b.params.hashNavigation.enabled||b.params.history&&b.params.history.enabled)return;N=!0;const Ae=Y.location.hash.replace("#","");if(Ae){const Et=b.params.hashNavigation.getSlideIndex(b,Ae);b.slideTo(Et||0,0,b.params.runCallbacksOnInit,!0)}b.params.hashNavigation.watchState&&xe.addEventListener("hashchange",Ee)})()}),D("destroy",()=>{b.params.hashNavigation.enabled&&b.params.hashNavigation.watchState&&xe.removeEventListener("hashchange",Ee)}),D("transitionEnd _freeModeNoMomentumRelease",()=>{N&&_e()}),D("slideChange",()=>{N&&b.params.cssMode&&_e()})},function Mr({swiper:b,extendParams:ee,on:oe,emit:D,params:N}){b.autoplay={running:!1,paused:!1,timeLeft:0},ee({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let Y,xe,Ie,Ae,ut,Et,Nt,Ot,pn,Ee=N&&N.autoplay?N.autoplay.delay:3e3,_e=N&&N.autoplay?N.autoplay.delay:3e3,Le=(new Date).getTime;function Ct(Yn){!b||b.destroyed||!b.wrapperEl||Yn.target===b.wrapperEl&&(b.wrapperEl.removeEventListener("transitionend",Ct),wo())}const nn=()=>{if(b.destroyed||!b.autoplay.running)return;b.autoplay.paused?Ae=!0:Ae&&(_e=Ie,Ae=!1);const Yn=b.autoplay.paused?Ie:Le+_e-(new Date).getTime();b.autoplay.timeLeft=Yn,D("autoplayTimeLeft",Yn,Yn/Ee),xe=requestAnimationFrame(()=>{nn()})},Qn=Yn=>{if(b.destroyed||!b.autoplay.running)return;cancelAnimationFrame(xe),nn();let Lo=typeof Yn>"u"?b.params.autoplay.delay:Yn;Ee=b.params.autoplay.delay,_e=b.params.autoplay.delay;const To=(()=>{let Yn;return Yn=b.virtual&&b.params.virtual.enabled?b.slides.filter(To=>To.classList.contains("swiper-slide-active"))[0]:b.slides[b.activeIndex],Yn?parseInt(Yn.getAttribute("data-swiper-autoplay"),10):void 0})();!Number.isNaN(To)&&To>0&&typeof Yn>"u"&&(Lo=To,Ee=To,_e=To),Ie=Lo;const ki=b.params.speed,cr=()=>{!b||b.destroyed||(b.params.autoplay.reverseDirection?!b.isBeginning||b.params.loop||b.params.rewind?(b.slidePrev(ki,!0,!0),D("autoplay")):b.params.autoplay.stopOnLastSlide||(b.slideTo(b.slides.length-1,ki,!0,!0),D("autoplay")):!b.isEnd||b.params.loop||b.params.rewind?(b.slideNext(ki,!0,!0),D("autoplay")):b.params.autoplay.stopOnLastSlide||(b.slideTo(0,ki,!0,!0),D("autoplay")),b.params.cssMode&&(Le=(new Date).getTime(),requestAnimationFrame(()=>{Qn()})))};return Lo>0?(clearTimeout(Y),Y=setTimeout(()=>{cr()},Lo)):requestAnimationFrame(()=>{cr()}),Lo},eo=()=>{b.autoplay.running=!0,Qn(),D("autoplayStart")},fo=()=>{b.autoplay.running=!1,clearTimeout(Y),cancelAnimationFrame(xe),D("autoplayStop")},jo=(Yn,Lo)=>{if(b.destroyed||!b.autoplay.running)return;clearTimeout(Y),Yn||(pn=!0);const To=()=>{D("autoplayPause"),b.params.autoplay.waitForTransition?b.wrapperEl.addEventListener("transitionend",Ct):wo()};if(b.autoplay.paused=!0,Lo)return Ot&&(Ie=b.params.autoplay.delay),Ot=!1,void To();Ie=(Ie||b.params.autoplay.delay)-((new Date).getTime()-Le),(!(b.isEnd&&Ie<0)||b.params.loop)&&(Ie<0&&(Ie=0),To())},wo=()=>{b.isEnd&&Ie<0&&!b.params.loop||b.destroyed||!b.autoplay.running||(Le=(new Date).getTime(),pn?(pn=!1,Qn(Ie)):Qn(),b.autoplay.paused=!1,D("autoplayResume"))},ii=()=>{if(b.destroyed||!b.autoplay.running)return;const Yn=d();"hidden"===Yn.visibilityState&&(pn=!0,jo(!0)),"visible"===Yn.visibilityState&&wo()},Te=Yn=>{"mouse"===Yn.pointerType&&(pn=!0,jo(!0))},ge=Yn=>{"mouse"===Yn.pointerType&&b.autoplay.paused&&wo()};oe("init",()=>{b.params.autoplay.enabled&&(b.params.autoplay.pauseOnMouseEnter&&(b.el.addEventListener("pointerenter",Te),b.el.addEventListener("pointerleave",ge)),d().addEventListener("visibilitychange",ii),Le=(new Date).getTime(),eo())}),oe("destroy",()=>{b.el.removeEventListener("pointerenter",Te),b.el.removeEventListener("pointerleave",ge),d().removeEventListener("visibilitychange",ii),b.autoplay.running&&fo()}),oe("beforeTransitionStart",(Yn,Lo,To)=>{b.destroyed||!b.autoplay.running||(To||!b.params.autoplay.disableOnInteraction?jo(!0,!0):fo())}),oe("sliderFirstMove",()=>{if(!b.destroyed&&b.autoplay.running){if(b.params.autoplay.disableOnInteraction)return void fo();ut=!0,Et=!1,pn=!1,Nt=setTimeout(()=>{pn=!0,Et=!0,jo(!0)},200)}}),oe("touchEnd",()=>{if(!b.destroyed&&b.autoplay.running&&ut){if(clearTimeout(Nt),clearTimeout(Y),b.params.autoplay.disableOnInteraction)return Et=!1,void(ut=!1);Et&&b.params.cssMode&&wo(),Et=!1,ut=!1}}),oe("slideChange",()=>{b.destroyed||!b.autoplay.running||(Ot=!0)}),Object.assign(b.autoplay,{start:eo,stop:fo,pause:jo,resume:wo})},function Fs({swiper:b,extendParams:ee,on:oe}){ee({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let D=!1,N=!1;function Y(){const _e=b.thumbs.swiper;if(!_e||_e.destroyed)return;const Ie=_e.clickedIndex,Le=_e.clickedSlide;if(Le&&Le.classList.contains(b.params.thumbs.slideThumbActiveClass)||typeof Ie>"u"||null===Ie)return;let Ae;Ae=_e.params.loop?parseInt(_e.clickedSlide.getAttribute("data-swiper-slide-index"),10):Ie,b.params.loop?b.slideToLoop(Ae):b.slideTo(Ae)}function xe(){const{thumbs:_e}=b.params;if(D)return!1;D=!0;const Ie=b.constructor;if(_e.swiper instanceof Ie)b.thumbs.swiper=_e.swiper,Object.assign(b.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(b.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),b.thumbs.swiper.update();else if(A(_e.swiper)){const Le=Object.assign({},_e.swiper);Object.assign(Le,{watchSlidesProgress:!0,slideToClickedSlide:!1}),b.thumbs.swiper=new Ie(Le),N=!0}return b.thumbs.swiper.el.classList.add(b.params.thumbs.thumbsContainerClass),b.thumbs.swiper.on("tap",Y),!0}function Ee(_e){const Ie=b.thumbs.swiper;if(!Ie||Ie.destroyed)return;const Le="auto"===Ie.params.slidesPerView?Ie.slidesPerViewDynamic():Ie.params.slidesPerView;let Ae=1;const ut=b.params.thumbs.slideThumbActiveClass;if(b.params.slidesPerView>1&&!b.params.centeredSlides&&(Ae=b.params.slidesPerView),b.params.thumbs.multipleActiveThumbs||(Ae=1),Ae=Math.floor(Ae),Ie.slides.forEach(Ot=>Ot.classList.remove(ut)),Ie.params.loop||Ie.params.virtual&&Ie.params.virtual.enabled)for(let Ot=0;Ot{pn.classList.add(ut)});else for(let Ot=0;Oton.getAttribute("data-swiper-slide-index")===`${b.realIndex}`)[0];pn=Ie.slides.indexOf(nn),Ct=b.activeIndex>b.previousIndex?"next":"prev"}else pn=b.realIndex,Ct=pn>b.previousIndex?"next":"prev";Nt&&(pn+="next"===Ct?Et:-1*Et),Ie.visibleSlidesIndexes&&Ie.visibleSlidesIndexes.indexOf(pn)<0&&(Ie.params.centeredSlides&&(pn=pn>Ot?pn-Math.floor(Le/2)+1:pn+Math.floor(Le/2)-1),Ie.slideTo(pn,_e?0:void 0))}}b.thumbs={swiper:null},oe("beforeInit",()=>{const{thumbs:_e}=b.params;if(_e&&_e.swiper)if("string"==typeof _e.swiper||_e.swiper instanceof HTMLElement){const Ie=d(),Le=()=>{const ut="string"==typeof _e.swiper?Ie.querySelector(_e.swiper):_e.swiper;if(ut&&ut.swiper)_e.swiper=ut.swiper,xe(),Ee(!0);else if(ut){const Et=Nt=>{_e.swiper=Nt.detail[0],ut.removeEventListener("init",Et),xe(),Ee(!0),_e.swiper.update(),b.update()};ut.addEventListener("init",Et)}return ut},Ae=()=>{b.destroyed||Le()||requestAnimationFrame(Ae)};requestAnimationFrame(Ae)}else xe(),Ee(!0)}),oe("slideChange update resize observerUpdate",()=>{Ee()}),oe("setTransition",(_e,Ie)=>{const Le=b.thumbs.swiper;!Le||Le.destroyed||Le.setTransition(Ie)}),oe("beforeDestroy",()=>{const _e=b.thumbs.swiper;!_e||_e.destroyed||N&&_e.destroy()}),Object.assign(b.thumbs,{init:xe,update:Ee})},function es({swiper:b,extendParams:ee,emit:oe,once:D}){ee({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(b,{freeMode:{onTouchStart:function N(){if(b.params.cssMode)return;const Ee=b.getTranslate();b.setTranslate(Ee),b.setTransition(0),b.touchEventsData.velocities.length=0,b.freeMode.onTouchEnd({currentPos:b.rtl?b.translate:-b.translate})},onTouchMove:function Y(){if(b.params.cssMode)return;const{touchEventsData:Ee,touches:_e}=b;0===Ee.velocities.length&&Ee.velocities.push({position:_e[b.isHorizontal()?"startX":"startY"],time:Ee.touchStartTime}),Ee.velocities.push({position:_e[b.isHorizontal()?"currentX":"currentY"],time:E()})},onTouchEnd:function xe({currentPos:Ee}){if(b.params.cssMode)return;const{params:_e,wrapperEl:Ie,rtlTranslate:Le,snapGrid:Ae,touchEventsData:ut}=b,Nt=E()-ut.touchStartTime;if(Ee<-b.minTranslate())b.slideTo(b.activeIndex);else if(Ee>-b.maxTranslate())b.slideTo(b.slides.length1){const fo=ut.velocities.pop(),jo=ut.velocities.pop(),ii=fo.time-jo.time;b.velocity=(fo.position-jo.position)/ii,b.velocity/=2,Math.abs(b.velocity)<_e.freeMode.minimumVelocity&&(b.velocity=0),(ii>150||E()-fo.time>300)&&(b.velocity=0)}else b.velocity=0;b.velocity*=_e.freeMode.momentumVelocityRatio,ut.velocities.length=0;let Ot=1e3*_e.freeMode.momentumRatio,Ct=b.translate+b.velocity*Ot;Le&&(Ct=-Ct);let on,nn=!1;const Qn=20*Math.abs(b.velocity)*_e.freeMode.momentumBounceRatio;let eo;if(Ctb.minTranslate())_e.freeMode.momentumBounce?(Ct-b.minTranslate()>Qn&&(Ct=b.minTranslate()+Qn),on=b.minTranslate(),nn=!0,ut.allowMomentumBounce=!0):Ct=b.minTranslate(),_e.loop&&_e.centeredSlides&&(eo=!0);else if(_e.freeMode.sticky){let fo;for(let jo=0;jo-Ct){fo=jo;break}Ct=Math.abs(Ae[fo]-Ct){b.loopFix()}),0!==b.velocity){if(Ot=Le?Math.abs((-Ct-b.translate)/b.velocity):Math.abs((Ct-b.translate)/b.velocity),_e.freeMode.sticky){const fo=Math.abs((Le?-Ct:Ct)-b.translate),jo=b.slidesSizesGrid[b.activeIndex];Ot=fo{!b||b.destroyed||!ut.allowMomentumBounce||(oe("momentumBounce"),b.setTransition(_e.speed),setTimeout(()=>{b.setTranslate(on),Ye(Ie,()=>{!b||b.destroyed||b.transitionEnd()})},0))})):b.velocity?(oe("_freeModeNoMomentumRelease"),b.updateProgress(Ct),b.setTransition(Ot),b.setTranslate(Ct),b.transitionStart(!0,b.swipeDirection),b.animating||(b.animating=!0,Ye(Ie,()=>{!b||b.destroyed||b.transitionEnd()}))):b.updateProgress(Ct),b.updateActiveIndex(),b.updateSlidesClasses()}else{if(_e.freeMode.sticky)return void b.slideToClosest();_e.freeMode&&oe("_freeModeNoMomentumRelease")}(!_e.freeMode.momentum||Nt>=_e.longSwipesMs)&&(b.updateProgress(),b.updateActiveIndex(),b.updateSlidesClasses())}}}})},function Cr({swiper:b,extendParams:ee}){let oe,D,N;ee({grid:{rows:1,fill:"column"}});const Y=()=>{let Ie=b.params.spaceBetween;return"string"==typeof Ie&&Ie.indexOf("%")>=0?Ie=parseFloat(Ie.replace("%",""))/100*b.size:"string"==typeof Ie&&(Ie=parseFloat(Ie)),Ie};b.grid={initSlides:Ie=>{const{slidesPerView:Le}=b.params,{rows:Ae,fill:ut}=b.params.grid;N=Math.floor(Ie/Ae),oe=Math.floor(Ie/Ae)===Ie/Ae?Ie:Math.ceil(Ie/Ae)*Ae,"auto"!==Le&&"row"===ut&&(oe=Math.max(oe,Le*Ae)),D=oe/Ae},updateSlide:(Ie,Le,Ae,ut)=>{const{slidesPerGroup:Et}=b.params,Nt=Y(),{rows:Ot,fill:pn}=b.params.grid;let Ct,nn,on;if("row"===pn&&Et>1){const Qn=Math.floor(Ie/(Et*Ot)),eo=Ie-Ot*Et*Qn,fo=0===Qn?Et:Math.min(Math.ceil((Ae-Qn*Ot*Et)/Ot),Et);on=Math.floor(eo/fo),nn=eo-on*fo+Qn*Et,Ct=nn+on*oe/Ot,Le.style.order=Ct}else"column"===pn?(nn=Math.floor(Ie/Ot),on=Ie-nn*Ot,(nn>N||nn===N&&on===Ot-1)&&(on+=1,on>=Ot&&(on=0,nn+=1))):(on=Math.floor(Ie/D),nn=Ie-on*D);Le.row=on,Le.column=nn,Le.style[ut("margin-top")]=0!==on?Nt&&`${Nt}px`:""},updateWrapperSize:(Ie,Le,Ae)=>{const{centeredSlides:ut,roundLengths:Et}=b.params,Nt=Y(),{rows:Ot}=b.params.grid;if(b.virtualSize=(Ie+Nt)*oe,b.virtualSize=Math.ceil(b.virtualSize/Ot)-Nt,b.wrapperEl.style[Ae("width")]=`${b.virtualSize+Nt}px`,ut){const pn=[];for(let Ct=0;Ct{const{slides:Y}=b;for(let Ee=0;Ee{const xe=b.slides.map(Ee=>G(Ee));xe.forEach(Ee=>{Ee.style.transitionDuration=`${Y}ms`}),Wt({swiper:b,duration:Y,transformElements:xe,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!b.params.cssMode})})},function Zt({swiper:b,extendParams:ee,on:oe}){ee({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const D=(Ee,_e,Ie)=>{let Le=Ee.querySelector(Ie?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),Ae=Ee.querySelector(Ie?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");Le||(Le=Me("div","swiper-slide-shadow-"+(Ie?"left":"top")),Ee.append(Le)),Ae||(Ae=Me("div","swiper-slide-shadow-"+(Ie?"right":"bottom")),Ee.append(Ae)),Le&&(Le.style.opacity=Math.max(-_e,0)),Ae&&(Ae.style.opacity=Math.max(_e,0))};hi({effect:"cube",swiper:b,on:oe,setTranslate:()=>{const{el:Ee,wrapperEl:_e,slides:Ie,width:Le,height:Ae,rtlTranslate:ut,size:Et,browser:Nt}=b,Ot=b.params.cubeEffect,pn=b.isHorizontal(),Ct=b.virtual&&b.params.virtual.enabled;let on,nn=0;Ot.shadow&&(pn?(on=b.slidesEl.querySelector(".swiper-cube-shadow"),on||(on=Me("div","swiper-cube-shadow"),b.slidesEl.append(on)),on.style.height=`${Le}px`):(on=Ee.querySelector(".swiper-cube-shadow"),on||(on=Me("div","swiper-cube-shadow"),Ee.append(on))));for(let eo=0;eo-1&&(nn=90*jo+90*Te,ut&&(nn=90*-jo-90*Te)),fo.style.transform=`rotateX(${pn?0:-wo}deg) rotateY(${pn?wo:0}deg) translate3d(${ge}px, ${He}px, ${ue}px)`,Ot.slideShadows&&D(fo,Te,pn)}if(_e.style.transformOrigin=`50% 50% -${Et/2}px`,_e.style["-webkit-transform-origin"]=`50% 50% -${Et/2}px`,Ot.shadow)if(pn)on.style.transform=`translate3d(0px, ${Le/2+Ot.shadowOffset}px, ${-Le/2}px) rotateX(90deg) rotateZ(0deg) scale(${Ot.shadowScale})`;else{const eo=Math.abs(nn)-90*Math.floor(Math.abs(nn)/90),fo=1.5-(Math.sin(2*eo*Math.PI/360)/2+Math.cos(2*eo*Math.PI/360)/2),wo=Ot.shadowScale/fo;on.style.transform=`scale3d(${Ot.shadowScale}, 1, ${wo}) translate3d(0px, ${Ae/2+Ot.shadowOffset}px, ${-Ae/2/wo}px) rotateX(-90deg)`}const Qn=(Nt.isSafari||Nt.isWebView)&&Nt.needPerspectiveFix?-Et/2:0;_e.style.transform=`translate3d(0px,0,${Qn}px) rotateX(${b.isHorizontal()?0:nn}deg) rotateY(${b.isHorizontal()?-nn:0}deg)`,_e.style.setProperty("--swiper-cube-translate-z",`${Qn}px`)},setTransition:Ee=>{const{el:_e,slides:Ie}=b;if(Ie.forEach(Le=>{Le.style.transitionDuration=`${Ee}ms`,Le.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(Ae=>{Ae.style.transitionDuration=`${Ee}ms`})}),b.params.cubeEffect.shadow&&!b.isHorizontal()){const Le=_e.querySelector(".swiper-cube-shadow");Le&&(Le.style.transitionDuration=`${Ee}ms`)}},recreateShadows:()=>{const Ee=b.isHorizontal();b.slides.forEach(_e=>{const Ie=Math.max(Math.min(_e.progress,1),-1);D(_e,Ie,Ee)})},getEffectParams:()=>b.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function ro({swiper:b,extendParams:ee,on:oe}){ee({flipEffect:{slideShadows:!0,limitRotation:!0}});const D=(Ee,_e,Ie)=>{let Le=b.isHorizontal()?Ee.querySelector(".swiper-slide-shadow-left"):Ee.querySelector(".swiper-slide-shadow-top"),Ae=b.isHorizontal()?Ee.querySelector(".swiper-slide-shadow-right"):Ee.querySelector(".swiper-slide-shadow-bottom");Le||(Le=Cn(0,Ee,b.isHorizontal()?"left":"top")),Ae||(Ae=Cn(0,Ee,b.isHorizontal()?"right":"bottom")),Le&&(Le.style.opacity=Math.max(-_e,0)),Ae&&(Ae.style.opacity=Math.max(_e,0))};hi({effect:"flip",swiper:b,on:oe,setTranslate:()=>{const{slides:Ee,rtlTranslate:_e}=b,Ie=b.params.flipEffect;for(let Le=0;Le{const _e=b.slides.map(Ie=>G(Ie));_e.forEach(Ie=>{Ie.style.transitionDuration=`${Ee}ms`,Ie.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(Le=>{Le.style.transitionDuration=`${Ee}ms`})}),Wt({swiper:b,duration:Ee,transformElements:_e})},recreateShadows:()=>{b.slides.forEach(_e=>{let Ie=_e.progress;b.params.flipEffect.limitRotation&&(Ie=Math.max(Math.min(_e.progress,1),-1)),D(_e,Ie)})},getEffectParams:()=>b.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!b.params.cssMode})})},function go({swiper:b,extendParams:ee,on:oe}){ee({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),hi({effect:"coverflow",swiper:b,on:oe,setTranslate:()=>{const{width:Y,height:xe,slides:Ee,slidesSizesGrid:_e}=b,Ie=b.params.coverflowEffect,Le=b.isHorizontal(),Ae=b.translate,ut=Le?Y/2-Ae:xe/2-Ae,Et=Le?Ie.rotate:-Ie.rotate,Nt=Ie.depth;for(let Ot=0,pn=Ee.length;Ot0?eo:0),Yn&&(Yn.style.opacity=-eo>0?-eo:0)}}},setTransition:Y=>{b.slides.map(Ee=>G(Ee)).forEach(Ee=>{Ee.style.transitionDuration=`${Y}ms`,Ee.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(_e=>{_e.style.transitionDuration=`${Y}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function so({swiper:b,extendParams:ee,on:oe}){ee({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 D=xe=>"string"==typeof xe?xe:`${xe}px`;hi({effect:"creative",swiper:b,on:oe,setTranslate:()=>{const{slides:xe,wrapperEl:Ee,slidesSizesGrid:_e}=b,Ie=b.params.creativeEffect,{progressMultiplier:Le}=Ie,Ae=b.params.centeredSlides;Ae&&(Ee.style.transform=`translateX(calc(50% - ${_e[0]/2-b.params.slidesOffsetBefore||0}px))`);for(let ut=0;ut0&&(eo=Ie.prev,Qn=!0),nn.forEach((He,ue)=>{nn[ue]=`calc(${He}px + (${D(eo.translate[ue])} * ${Math.abs(Ot*Le)}))`}),on.forEach((He,ue)=>{on[ue]=eo.rotate[ue]*Math.abs(Ot*Le)}),Et.style.zIndex=-Math.abs(Math.round(Nt))+xe.length;const fo=nn.join(", "),ii=pn<0?1+(1-eo.opacity)*pn*Le:1-(1-eo.opacity)*pn*Le,Te=`translate3d(${fo}) rotateX(${on[0]}deg) rotateY(${on[1]}deg) rotateZ(${on[2]}deg) ${pn<0?`scale(${1+(1-eo.scale)*pn*Le})`:`scale(${1-(1-eo.scale)*pn*Le})`}`;if(Qn&&eo.shadow||!Qn){let He=Et.querySelector(".swiper-slide-shadow");!He&&eo.shadow&&(He=Cn(0,Et)),He&&(He.style.opacity=Math.min(Math.max(Math.abs(Ie.shadowPerProgress?Ot*(1/Ie.limitProgress):Ot),0),1))}const ge=yt(0,Et);ge.style.transform=Te,ge.style.opacity=ii,eo.origin&&(ge.style.transformOrigin=eo.origin)}},setTransition:xe=>{const Ee=b.slides.map(_e=>G(_e));Ee.forEach(_e=>{_e.style.transitionDuration=`${xe}ms`,_e.querySelectorAll(".swiper-slide-shadow").forEach(Ie=>{Ie.style.transitionDuration=`${xe}ms`})}),Wt({swiper:b,duration:xe,transformElements:Ee,allSlides:!0})},perspective:()=>b.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!b.params.cssMode})})},function Wo({swiper:b,extendParams:ee,on:oe}){ee({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),hi({effect:"cards",swiper:b,on:oe,setTranslate:()=>{const{slides:Y,activeIndex:xe,rtlTranslate:Ee}=b,_e=b.params.cardsEffect,{startTranslate:Ie,isTouched:Le}=b.touchEventsData,Ae=Ee?-b.translate:b.translate;for(let ut=0;ut0&&Ot<1&&(Le||b.params.cssMode)&&Ae-1&&(Le||b.params.cssMode)&&Ae>Ie){const ue=(1-Math.abs((Math.abs(Ot)-.5)/.5))**.5;eo+=-28*Ot*ue,Qn+=-.5*ue,fo+=96*ue,nn=-25*ue*Math.abs(Ot)+"%"}if(Ct=Ot<0?`calc(${Ct}px ${Ee?"-":"+"} (${fo*Math.abs(Ot)}%))`:Ot>0?`calc(${Ct}px ${Ee?"-":"+"} (-${fo*Math.abs(Ot)}%))`:`${Ct}px`,!b.isHorizontal()){const ue=nn;nn=Ct,Ct=ue}const ge=`\n translate3d(${Ct}, ${nn}, ${on}px)\n rotateZ(${_e.rotate?Ee?-eo:eo:0}deg)\n scale(${Ot<0?""+(1+(1-Qn)*Ot):""+(1-(1-Qn)*Ot)})\n `;if(_e.slideShadows){let ue=Et.querySelector(".swiper-slide-shadow");ue||(ue=Cn(0,Et)),ue&&(ue.style.opacity=Math.min(Math.max((Math.abs(Ot)-.5)/.5,0),1))}Et.style.zIndex=-Math.abs(Math.round(Nt))+Y.length,yt(0,Et).style.transform=ge}},setTransition:Y=>{const xe=b.slides.map(Ee=>G(Ee));xe.forEach(Ee=>{Ee.style.transitionDuration=`${Y}ms`,Ee.querySelectorAll(".swiper-slide-shadow").forEach(_e=>{_e.style.transitionDuration=`${Y}ms`})}),Wt({swiper:b,duration:Y,transformElements:xe})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!b.params.cssMode})})}]);const Jo=["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 L(b){return"object"==typeof b&&null!==b&&b.constructor&&"Object"===Object.prototype.toString.call(b).slice(8,-1)}function re(b,ee){const oe=["__proto__","constructor","prototype"];Object.keys(ee).filter(D=>oe.indexOf(D)<0).forEach(D=>{typeof b[D]>"u"?b[D]=ee[D]:L(ee[D])&&L(b[D])&&Object.keys(ee[D]).length>0?ee[D].__swiper__?b[D]=ee[D]:re(b[D],ee[D]):b[D]=ee[D]})}function lt(b=""){return b.replace(/-[a-z]/g,ee=>ee.toUpperCase().replace("-",""))}const Jt=b=>parseFloat(b)===Number(b)?Number(b):"true"===b||""===b||"false"!==b&&("null"===b?null:"undefined"!==b?b:void 0),ie=["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 Be(b,ee,oe){const D={},N={};re(D,mr);const Y=[...Jo,"on"],xe=Y.map(_e=>_e.replace(/_/,""));Y.forEach(_e=>{_e=_e.replace("_",""),typeof b[_e]<"u"&&(N[_e]=b[_e])});const Ee=[...b.attributes];return"string"==typeof ee&&typeof oe<"u"&&Ee.push({name:ee,value:oe}),Ee.forEach(_e=>{const Ie=ie.filter(Le=>0===_e.name.indexOf(`${Le}-`))[0];if(Ie){const Le=lt(Ie),Ae=lt(_e.name.split(`${Ie}-`)[1]);typeof N[Le]>"u"&&(N[Le]={}),!0===N[Le]&&(N[Le]={enabled:!0}),N[Le][Ae]=Jt(_e.value)}else{const Le=lt(_e.name);if(!xe.includes(Le))return;const Ae=Jt(_e.value);N[Le]&&ie.includes(_e.name)?(N[Le].constructor!==Object&&(N[Le]={}),N[Le].enabled=Ae):N[Le]=Ae}}),re(D,N),D.navigation?D.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==D.navigation?D.navigation:{}}:!1===D.navigation&&delete D.navigation,D.scrollbar?D.scrollbar={el:".swiper-scrollbar",...!0!==D.scrollbar?D.scrollbar:{}}:!1===D.scrollbar&&delete D.scrollbar,D.pagination?D.pagination={el:".swiper-pagination",...!0!==D.pagination?D.pagination:{}}:!1===D.pagination&&delete D.pagination,{params:D,passedParams:N}}const ct="@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 Dt=!0;const fn=(b,ee)=>{let oe=document.querySelector("style#swiper-element-styles");const D=oe&&oe.preInit&&!b;!b&&ee&&ee.cssLinks().forEach(N=>{const Y=document.createElement("link");Y.rel="stylesheet",Y.href=N,document.head.prepend(Y)}),(!oe||D)&&(oe=oe||document.createElement("style"),oe.textContent=[ct,ee?ee.cssStyles():""].join("\n"),oe.id="swiper-element-styles",oe.preInit=b,document.head.prepend(oe))},In=typeof window>"u"||typeof HTMLElement>"u"?class un{}:HTMLElement;class $n extends In{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}cssStyles(){return[Dt?":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;Dt&&fn(!1,this);const ee=this.cssStyles();ee.length&&(this.stylesEl=document.createElement("style"),this.stylesEl.textContent=ee,this.shadowEl.appendChild(this.stylesEl)),this.cssLinks().forEach(oe=>{if(this.shadowEl.querySelector(`link[href="${oe}"]`))return;const N=document.createElement("link");N.rel="stylesheet",N.href=oe,this.shadowEl.appendChild(N)}),this.tempDiv.innerHTML=`\n \n
      \n \n
      \n \n ${function ce(b={}){return b.navigation&&typeof b.navigation.nextEl>"u"&&typeof b.navigation.prevEl>"u"}(this.passedParams)?'\n
      \n
      \n ':""}\n ${function Pe(b={}){return b.pagination&&typeof b.pagination.el>"u"}(this.passedParams)?'\n
      \n ':""}\n ${function et(b={}){return b.scrollbar&&typeof b.scrollbar.el>"u"}(this.passedParams)?'\n
      \n ':""}\n `,[...this.tempDiv.children].forEach(oe=>{this.shadowEl.appendChild(oe)}),this.rendered=!0}initialize(){if(this.initialized)return;this.initialized=!0;const{params:ee,passedParams:oe}=Be(this);this.swiperParams=ee,this.passedParams=oe,delete this.swiperParams.init,this.render(),this.swiper=new io(this,{...ee,touchEventsTarget:"container",...ee.virtual?{}:{observer:!0},onAny:(D,...N)=>{const Y=ee.eventsPrefix?`${ee.eventsPrefix}${D.toLowerCase()}`:D.toLowerCase(),xe=new CustomEvent(Y,{detail:N,bubbles:!0,cancelable:!0});this.dispatchEvent(xe)}})}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 fn(!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(ee,oe){const{params:D,passedParams:N}=Be(this,ee,oe);this.passedParams=N,this.swiperParams=D,function Qe({swiper:b,slides:ee,passedParams:oe,changedParams:D,nextEl:N,prevEl:Y,scrollbarEl:xe,paginationEl:Ee}){const _e=D.filter(wo=>"children"!==wo&&"direction"!==wo&&"wrapperClass"!==wo),{params:Ie,pagination:Le,navigation:Ae,scrollbar:ut,virtual:Et,thumbs:Nt}=b;let Ot,pn,Ct,nn,on,Qn,eo,fo;D.includes("thumbs")&&oe.thumbs&&oe.thumbs.swiper&&Ie.thumbs&&!Ie.thumbs.swiper&&(Ot=!0),D.includes("controller")&&oe.controller&&oe.controller.control&&Ie.controller&&!Ie.controller.control&&(pn=!0),D.includes("pagination")&&oe.pagination&&(oe.pagination.el||Ee)&&(Ie.pagination||!1===Ie.pagination)&&Le&&!Le.el&&(Ct=!0),D.includes("scrollbar")&&oe.scrollbar&&(oe.scrollbar.el||xe)&&(Ie.scrollbar||!1===Ie.scrollbar)&&ut&&!ut.el&&(nn=!0),D.includes("navigation")&&oe.navigation&&(oe.navigation.prevEl||Y)&&(oe.navigation.nextEl||N)&&(Ie.navigation||!1===Ie.navigation)&&Ae&&!Ae.prevEl&&!Ae.nextEl&&(on=!0);const jo=wo=>{b[wo]&&(b[wo].destroy(),"navigation"===wo?(b.isElement&&(b[wo].prevEl.remove(),b[wo].nextEl.remove()),Ie[wo].prevEl=void 0,Ie[wo].nextEl=void 0,b[wo].prevEl=void 0,b[wo].nextEl=void 0):(b.isElement&&b[wo].el.remove(),Ie[wo].el=void 0,b[wo].el=void 0))};D.includes("loop")&&b.isElement&&(Ie.loop&&!oe.loop?Qn=!0:!Ie.loop&&oe.loop?eo=!0:fo=!0),_e.forEach(wo=>{if(L(Ie[wo])&&L(oe[wo]))re(Ie[wo],oe[wo]),("navigation"===wo||"pagination"===wo||"scrollbar"===wo)&&"enabled"in oe[wo]&&!oe[wo].enabled&&jo(wo);else{const ii=oe[wo];!0!==ii&&!1!==ii||"navigation"!==wo&&"pagination"!==wo&&"scrollbar"!==wo?Ie[wo]=oe[wo]:!1===ii&&jo(wo)}}),_e.includes("controller")&&!pn&&b.controller&&b.controller.control&&Ie.controller&&Ie.controller.control&&(b.controller.control=Ie.controller.control),D.includes("children")&&ee&&Et&&Ie.virtual.enabled&&(Et.slides=ee,Et.update(!0)),D.includes("children")&&ee&&Ie.loop&&(fo=!0),Ot&&Nt.init()&&Nt.update(!0),pn&&(b.controller.control=Ie.controller.control),Ct&&(b.isElement&&(!Ee||"string"==typeof Ee)&&((Ee=document.createElement("div")).classList.add("swiper-pagination"),b.el.shadowEl.appendChild(Ee)),Ee&&(Ie.pagination.el=Ee),Le.init(),Le.render(),Le.update()),nn&&(b.isElement&&(!xe||"string"==typeof xe)&&((xe=document.createElement("div")).classList.add("swiper-scrollbar"),b.el.shadowEl.appendChild(xe)),xe&&(Ie.scrollbar.el=xe),ut.init(),ut.updateSize(),ut.setTranslate()),on&&(b.isElement&&((!N||"string"==typeof N)&&((N=document.createElement("div")).classList.add("swiper-button-next"),b.el.shadowEl.appendChild(N)),(!Y||"string"==typeof Y)&&((Y=document.createElement("div")).classList.add("swiper-button-prev"),b.el.shadowEl.appendChild(Y))),N&&(Ie.navigation.nextEl=N),Y&&(Ie.navigation.prevEl=Y),Ae.init(),Ae.update()),D.includes("allowSlideNext")&&(b.allowSlideNext=oe.allowSlideNext),D.includes("allowSlidePrev")&&(b.allowSlidePrev=oe.allowSlidePrev),D.includes("direction")&&b.changeDirection(oe.direction,!1),(Qn||fo)&&b.loopDestroy(),(eo||fo)&&b.loopCreate(),b.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[lt(ee)],..."navigation"===ee&&N[ee]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===ee&&N[ee]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===ee&&N[ee]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(ee,oe,D){this.initialized&&("true"===oe&&null===D&&(D=!1),this.updateSwiperOnPropChange(ee,D))}static get observedAttributes(){return Jo.filter(oe=>oe.includes("_")).map(oe=>oe.replace(/[A-Z]/g,D=>`-${D}`).replace("_","").toLowerCase())}}Jo.forEach(b=>{"init"!==b&&(b=b.replace("_",""),Object.defineProperty($n.prototype,b,{configurable:!0,get(){return(this.passedParams||{})[b]},set(ee){this.passedParams||(this.passedParams={}),this.passedParams[b]=ee,this.initialized&&this.updateSwiperOnPropChange(b)}}))});class vo extends In{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}render(){const ee=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(this.tempDiv.innerHTML="",[...this.tempDiv.children].forEach(oe=>{this.shadowEl.appendChild(oe)}),ee){const oe=document.createElement("div");oe.classList.add("swiper-lazy-preloader"),this.appendChild(oe)}}initialize(){this.render()}connectedCallback(){this.initialize()}}typeof window<"u"&&(window.SwiperElementRegisterParams=b=>{Jo.push(...b)});var po=i(53715),uo=i(19402),Po=i(60177),Co=i(47008),Vo=i(35043);const So=["swiperContainer"],Yo=[[["button","kirby-button",""]]],Or=["button[kirby-button]"],Lr=(b,ee)=>({$implicit:b,index:ee});function fi(b,ee){if(1&b&&e.nrm(0,"div",10),2&b){const oe=e.XpG(3);e.Y8G("ngClass",oe._paginationId)}}function fr(b,ee){if(1&b&&(e.j41(0,"div",11)(1,"button",12),e.nrm(2,"kirby-icon",13),e.k0s(),e.j41(3,"button",14),e.nrm(4,"kirby-icon",15),e.k0s(),e.SdG(5),e.k0s()),2&b){const oe=e.XpG(3);e.R7$(),e.Y8G("ngClass",oe._prevButtonId),e.R7$(2),e.Y8G("ngClass",oe._nextButtonId)}}function Er(b,ee){if(1&b&&(e.j41(0,"div",7),e.DNE(1,fi,1,1,"div",8)(2,fr,6,2,"div",9),e.k0s()),2&b){const oe=e.XpG(2);e.R7$(),e.Y8G("ngIf",!oe.slidesOptions||void 0===(null==oe.slidesOptions?null:oe.slidesOptions.pagination)),e.R7$(),e.Y8G("ngIf",!(oe._isTouch||oe.slidesOptions&&void 0!==(null==oe.slidesOptions?null:oe.slidesOptions.navigation)))}}function Ci(b,ee){if(1&b&&(e.j41(0,"div",4)(1,"span",5),e.EFF(2),e.k0s(),e.DNE(3,Er,3,2,"div",6),e.k0s()),2&b){const oe=e.XpG();e.R7$(2),e.JRh(oe.title),e.R7$(),e.Y8G("ngIf",oe.showNavigation&&(!oe.slidesOptions||void 0===(null==oe.slidesOptions?null:oe.slidesOptions.navigation)||void 0===(null==oe.slidesOptions?null:oe.slidesOptions.pagination)))}}function _i(b,ee){1&b&&e.eu8(0)}function ar(b,ee){if(1&b&&(e.j41(0,"swiper-slide"),e.DNE(1,_i,1,0,"ng-container",16),e.k0s()),2&b){const oe=ee.$implicit,D=ee.index,N=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",N.slideTemplate)("ngTemplateOutletContext",e.l_i(2,Lr,oe,D))}}let Zi=(()=>{var b;class ee{}return(b=ee).\u0275fac=function(D){return new(D||b)},b.\u0275dir=e.FsC({type:b,selectors:[["","kirbySlide",""]]}),ee})();((b=!0)=>{typeof window>"u"||(b||(Dt=!1),Dt&&fn(!0),window.customElements.get("swiper-container")||window.customElements.define("swiper-container",$n),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",vo))})();let jr=(()=>{var b;class ee{constructor(D,N){this.platform=D,this.cdr=N,this.showNavigation=!0,this.slideChange=new e.bkB,this._paginationId=po.KA.scopedTo("pagination").next(),this._prevButtonId=po.KA.scopedTo("swiper-button-prev").next(),this._nextButtonId=po.KA.scopedTo("swiper-button-next").next()}ngOnInit(){this._isTouch=this.platform.isTouch()}ngAfterViewInit(){const N={...this.showNavigation?this.getDefaultConfig():this.getNoControlsConfig(),...this.slidesOptions};Object.assign(this.swiperContainer.nativeElement,N),this.swiperContainer.nativeElement.initialize()}slideTo(D){this.swiperContainer.nativeElement.swiper.slideTo(D)}ngOnChanges(D){!1===D.slides?.firstChange&&(this.cdr.detectChanges(),this.swiperContainer.nativeElement.swiper.updateSlides())}getDefaultConfig(){const D=parseInt(uo.Q.breakpoints.medium),N=parseInt(uo.Q.size("s")),Y=parseInt(uo.Q.transitionDuration("long"));return{centeredSlides:!0,centeredSlidesBounds:!0,slidesPerView:1.2,slidesPerGroup:1,breakpoints:{[D]:{centeredSlides:!1,slidesPerView:3,slidesPerGroup:3}},spaceBetween:N,speed:Y,pagination:{el:`.${this._paginationId}`,type:"bullets"},navigation:{nextEl:`.${this._nextButtonId}`,prevEl:`.${this._prevButtonId}`},on:{slideChange:xe=>{this.slideChange.emit({slide:this.slides[xe.activeIndex],index:xe.activeIndex})}}}}getNoControlsConfig(){return{...this.getDefaultConfig(),pagination:!1,navigation:!1}}}return(b=ee).\u0275fac=function(D){return new(D||b)(e.rXU(po.fP),e.rXU(e.gRc))},b.\u0275cmp=e.VBU({type:b,selectors:[["kirby-slides"]],contentQueries:function(D,N,Y){if(1&D&&e.wni(Y,Zi,7,e.C4Q),2&D){let xe;e.mGM(xe=e.lsd())&&(N.slideTemplate=xe.first)}},viewQuery:function(D,N){if(1&D&&e.GBs(So,5),2&D){let Y;e.mGM(Y=e.lsd())&&(N.swiperContainer=Y.first)}},inputs:{slidesOptions:"slidesOptions",title:"title",slides:"slides",showNavigation:"showNavigation"},outputs:{slideChange:"slideChange"},features:[e.OA$],ngContentSelectors:Or,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(D,N){1&D&&(e.NAR(Yo),e.DNE(0,Ci,4,2,"div",1),e.j41(1,"swiper-container",2,0),e.DNE(3,ar,2,5,"swiper-slide",3),e.k0s()),2&D&&(e.Y8G("ngIf",N.showNavigation||void 0!==N.title),e.R7$(3),e.Y8G("ngForOf",N.slides))},dependencies:[Po.YU,Po.Sq,Po.bT,Po.T3,Co.Q,Vo.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}),ee})(),Nr=(()=>{var b;class ee{constructor(D,N){this.elementRef=D,this.renderer=N,this.renderer.setStyle(this.elementRef.nativeElement,"height","100%")}}return(b=ee).\u0275fac=function(D){return new(D||b)(e.rXU(e.aKT),e.rXU(e.sFG))},b.\u0275dir=e.FsC({type:b,selectors:[["","slideStretchHeight",""]]}),ee})(),ks=(()=>{var b;class ee{}return(b=ee).\u0275fac=function(D){return new(D||b)},b.\u0275mod=e.$C({type:b}),b.\u0275inj=e.G2t({imports:[Po.MD,Co.Q,Vo.op]}),ee})()},90599:(Ze,z,i)=>{"use strict";i.d(z,{O:()=>M,t:()=>l});var e=i(54438),t=i(60177);let l=(()=>{var d;class p{}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275cmp=e.VBU({type:d,selectors:[["kirby-spinner"]],decls:3,vars:0,consts:[[1,"spinner"],[1,"inner-circle"],[1,"outer-circle"]],template:function(_,v){1&_&&(e.j41(0,"div",0),e.nrm(1,"div",1)(2,"div",2),e.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}),p})(),M=(()=>{var d;class p{}return(d=p).\u0275fac=function(_){return new(_||d)},d.\u0275mod=e.$C({type:d}),d.\u0275inj=e.G2t({imports:[t.MD]}),p})()},6260:(Ze,z,i)=>{"use strict";i.d(z,{FK:()=>_,mt:()=>v,uE:()=>a});var e=i(54438),t=i(35519),l=i(41727),M=i(60177);const d=["*"],p=["tabBar"];let a=(()=>{var E;class u{constructor(){this.label="",this.truncate=!0}}return(E=u).\u0275fac=function(A){return new(A||E)},E.\u0275cmp=e.VBU({type:E,selectors:[["kirby-tab-navigation-item"]],inputs:{label:"label",truncate:"truncate"},ngContentSelectors:d,decls:5,vars:4,consts:[["tabButton",""],["role","tab"]],template:function(A,$){1&A&&(e.NAR(),e.j41(0,"button",1,0)(2,"span"),e.EFF(3),e.k0s(),e.SdG(4),e.k0s()),2&A&&(e.R7$(2),e.AVh("truncate",$.truncate),e.BMQ("data-text",$.label),e.R7$(),e.JRh($.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}),u})(),_=(()=>{var E;class u{get selectedIndex(){return this._selectedIndex}set selectedIndex(A){A!==this._selectedIndex&&-1!==A&&(this._selectedIndex=A,this.focusIndex=A,this.selectTab(this.selectedIndex),this.selectedIndexChange.emit(this.selectedIndex))}get focusIndex(){return this._focusIndex}set focusIndex(A){A!==this._focusIndex&&(this._focusIndex=A,this.scrollToTab(this.focusIndex),this.focusTab(this.focusIndex))}constructor(A,$){this.window=A,this.keyboardHandlerService=$,this.DEBOUNCE_TIME_MS=250,this.tabElements=new Array,this.tabButtonElements=new Array,this._selectedIndex=-1,this._focusIndex=-1,this.selectedIndexChange=new e.bkB}ngAfterViewInit(){this.tabBarElement=this.tabBar.nativeElement,this.setTabElements(),this.updateTabElementsOnChanges()}onItemSelect(A){if(A.target!==this.tabBarElement){const $=A.target.closest("button");this.selectedIndex=this.tabButtonElements.indexOf($)}}onKeydown(A){A.preventDefault(),this.focusIndex=this.keyboardHandlerService.handle(A,this.focusIndex,this.tabElements.length-1,!0)}selectTab(A){this.tabButtonElements.forEach(($,K)=>{$.setAttribute("aria-selected",K===A?"true":"false")})}focusTab(A){this.tabButtonElements.forEach(($,K)=>{$.setAttribute("tabindex",K===A?"0":"-1")}),0<=A&&A{this.tabBarElement?.scrollTo({behavior:"smooth",left:Math.max(0,X-(J-K)/2)})})}}setTabElements(){this.tabs.forEach(A=>{this.tabElements.push(A.nativeElement)}),this.tabElements.forEach(A=>this.tabButtonElements.push(A.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()})}}return(E=u).\u0275fac=function(A){return new(A||E)(e.rXU(t.W),e.rXU(l.Vl))},E.\u0275cmp=e.VBU({type:E,selectors:[["kirby-tab-navigation"]],contentQueries:function(A,$,K){if(1&A&&e.wni(K,a,4,e.aKT),2&A){let X;e.mGM(X=e.lsd())&&($.tabs=X)}},viewQuery:function(A,$){if(1&A&&e.GBs(p,5),2&A){let K;e.mGM(K=e.lsd())&&($.tabBar=K.first)}},hostBindings:function(A,$){1&A&&e.bIt("click",function(X){return $.onItemSelect(X)})("keydown.enter",function(X){return $.onItemSelect(X)})("keydown.home",function(X){return $.onKeydown(X)})("keydown.end",function(X){return $.onKeydown(X)})("keydown.arrowright",function(X){return $.onKeydown(X)})("keydown.arrowleft",function(X){return $.onKeydown(X)})},inputs:{selectedIndex:"selectedIndex"},outputs:{selectedIndexChange:"selectedIndexChange"},ngContentSelectors:d,decls:3,vars:0,consts:[["tabBar",""],["role","tablist"]],template:function(A,$){1&A&&(e.NAR(),e.j41(0,"div",1,0),e.SdG(2),e.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}),u})(),v=(()=>{var E;class u{}return(E=u).\u0275fac=function(A){return new(A||E)},E.\u0275mod=e.$C({type:E}),E.\u0275inj=e.G2t({imports:[M.MD]}),u})()},35348:(Ze,z,i)=>{"use strict";i.d(z,{OW:()=>O,RN:()=>$,jr:()=>K});var e=i(54438),t=i(51272),l=i(92771),M=i(35043),d=i(60177);const p=["*"],a=["*",[["kirby-badge"]],[["kirby-icon",3,"selected-tab",""]],[["kirby-icon","selected-tab",""]]],_=["*","kirby-badge","kirby-icon:not([selected-tab])","kirby-icon[selected-tab]"];function v(X,J){1&X&&e.SdG(0,2,["*ngIf","icons.length === 1 || !ionTabButton.selected"])}function E(X,J){1&X&&e.SdG(0,3,["*ngIf","ionTabButton.selected"])}let u=(()=>{var X;class J{constructor(){this.outletSubject$=new l.m(1),this.outlet$=this.outletSubject$.asObservable()}setOutlet(fe){this.outletSubject$.next(fe)}resetOutlet(){this.outletSubject$.next(null)}}return(X=J).\u0275fac=function(fe){return new(fe||X)},X.\u0275prov=e.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),J})(),O=(()=>{var X;class J{constructor(fe){this.tabsService=fe,this.tabBarBottomHidden=!1}ngAfterViewInit(){this.tabsService.setOutlet(this.tabs.outlet)}ngOnDestroy(){this.tabsService.resetOutlet()}}return(X=J).\u0275fac=function(fe){return new(fe||X)(e.rXU(u))},X.\u0275cmp=e.VBU({type:X,selectors:[["kirby-tab-bar"]],viewQuery:function(fe,he){if(1&fe&&e.GBs(t.p4,7),2&fe){let Me;e.mGM(Me=e.lsd())&&(he.tabs=Me.first)}},hostVars:2,hostBindings:function(fe,he){2&fe&&e.AVh("tab-bar-bottom-hidden",he.tabBarBottomHidden)},ngContentSelectors:p,decls:3,vars:2,template:function(fe,he){1&fe&&(e.NAR(),e.j41(0,"ion-tabs")(1,"ion-tab-bar"),e.SdG(2),e.k0s()()),2&fe&&(e.R7$(),e.AVh("bottom-hidden",he.tabBarBottomHidden))},dependencies:[t.p4,t.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}}"]}),J})(),$=(()=>{var X;class J{constructor(){this.click=new e.bkB}onClick(fe,he){if(this.click.emit(fe),he){const Me=new CustomEvent("kirbySelectedTabClick");dispatchEvent(Me)}}}return(X=J).\u0275fac=function(fe){return new(fe||X)},X.\u0275cmp=e.VBU({type:X,selectors:[["kirby-tab-button"]],contentQueries:function(fe,he,Me){if(1&fe&&e.wni(Me,M.Rl,4),2&fe){let ke;e.mGM(ke=e.lsd())&&(he.icons=ke)}},inputs:{tab:"tab"},outputs:{click:"click"},ngContentSelectors:_,decls:6,vars:3,consts:[["ionTabButton",""],["tabindex","0",3,"click","tab"],[4,"ngIf"]],template:function(fe,he){if(1&fe){const Me=e.RV6();e.NAR(a),e.j41(0,"ion-tab-button",1,0),e.bIt("click",function(be){e.eBV(Me);const Ne=e.sdS(1);return e.Njj(he.onClick(be,Ne.selected))}),e.DNE(2,v,1,0,"ng-content",2)(3,E,1,0,"ng-content",2),e.SdG(4),e.SdG(5,1),e.k0s()}if(2&fe){const Me=e.sdS(1);e.Y8G("tab",he.tab),e.R7$(2),e.Y8G("ngIf",1===he.icons.length||!Me.selected),e.R7$(),e.Y8G("ngIf",Me.selected)}},dependencies:[d.bT,t.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}}"]}),J})(),K=(()=>{var X;class J{}return(X=J).\u0275fac=function(fe){return new(fe||X)},X.\u0275mod=e.$C({type:X}),X.\u0275inj=e.G2t({providers:[u],imports:[M.op,d.MD,t.p4,t.Jq,t.qW]}),J})()},57017:(Ze,z,i)=>{"use strict";i.d(z,{K:()=>d,o:()=>M});var e=i(10467),t=i(54438),l=i(51272);let M=(()=>{var p;class a{constructor(v){this.toastController=v}showToast(v){var E=this;return(0,e.A)(function*(){const u=yield E.toastController.create({animated:v.animated,message:v.message,position:"top",duration:v.durationInMs?v.durationInMs:a.DURATION_IN_MS,cssClass:E.getCssClass(v.messageType)});return yield u.present(),{dismiss:u.dismiss.bind(u),onWillDismiss:u.onWillDismiss(),onDidDismiss:u.onDidDismiss()}})()}getCssClass(v){let E=a.CSS_CLASS;return v&&(E+=" "+v),E}}return(p=a).CSS_CLASS="kirby-toast",p.DURATION_IN_MS=4e3,p.\u0275fac=function(v){return new(v||p)(t.KVO(l.K_))},p.\u0275prov=t.jDH({token:p,factory:p.\u0275fac}),a})(),d=(()=>{var p;class a{constructor(v){this.toastHelper=v}showToast(v,E){this.toastHelper.showToast(v).then(u=>{E&&u.onDidDismiss.then(()=>E())})}}return(p=a).\u0275fac=function(v){return new(v||p)(t.KVO(M))},p.\u0275prov=t.jDH({token:p,factory:p.\u0275fac}),a})()},30077:(Ze,z,i)=>{"use strict";i.d(z,{d:()=>v,o:()=>a});var e=i(54438),t=i(60177);const l=[[["button","kirby-button","","unchecked",""]],[["button","kirby-button","","checked",""]]],M=["button[kirby-button][unchecked]","button[kirby-button][checked]"];function d(E,u){1&E&&e.SdG(0,0,["*ngIf","!checked"])}function p(E,u){1&E&&e.SdG(0,1,["*ngIf","checked"])}let a=(()=>{var E;class u{constructor(){this.checkChanged=new e.bkB}onClick(A){A.target.closest("button[kirby-button]:not(:disabled)")&&(this.checked=!this.checked,this.checkChanged.emit(this.checked))}}return(E=u).\u0275fac=function(A){return new(A||E)},E.\u0275cmp=e.VBU({type:E,selectors:[["kirby-toggle-button"]],hostBindings:function(A,$){1&A&&e.bIt("click",function(X){return $.onClick(X)})},inputs:{checked:"checked"},outputs:{checkChanged:"checkChanged"},ngContentSelectors:M,decls:2,vars:2,consts:[[4,"ngIf"]],template:function(A,$){1&A&&(e.NAR(l),e.DNE(0,d,1,0,"ng-content",0)(1,p,1,0,"ng-content",0)),2&A&&(e.Y8G("ngIf",!$.checked),e.R7$(),e.Y8G("ngIf",$.checked))},dependencies:[t.bT],encapsulation:2,changeDetection:0}),u})(),v=(()=>{var E;class u{}return(E=u).\u0275fac=function(A){return new(A||E)},E.\u0275mod=e.$C({type:E}),E.\u0275inj=e.G2t({imports:[t.MD]}),u})()},57808:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>p});var e=i(60177),t=i(54438),l=i(84341),M=i(51272);const d=["*"];let p=(()=>{var a;class _{constructor(E,u){this.cdr=E,this.elementRef=u,this.checked=!1,this.disabled=!1,this.checkedChange=new t.bkB,this._pressed=!1,this._onChange=()=>{},this._onTouched=()=>{}}ngOnInit(){this.inheritAriaAttributes()}inheritAriaAttributes(){const E=this.elementRef.nativeElement,u="aria-label";if(E.hasAttribute(u)){const O=E.getAttribute(u);E.removeAttribute(u),this._ariaLabel=O}}get _isDisabled(){return this.disabled?"disabled":null}onCheckedChange(E){this.checked=E,this._onChange(this.checked),this.checkedChange.emit(this.checked)}_onActive(){this._pressed=!0}_onInactive(){this._pressed=!1,this._onTouched()}writeValue(E){this.checked=E}registerOnChange(E){this._onChange=E}registerOnTouched(E){this._onTouched=E}setDisabledState(E){this.disabled=E,this.cdr.detectChanges()}}return(a=_).\u0275fac=function(E){return new(E||a)(t.rXU(t.gRc),t.rXU(t.aKT))},a.\u0275cmp=t.VBU({type:a,selectors:[["kirby-toggle"]],hostVars:1,hostBindings:function(E,u){2&E&&t.BMQ("disabled",u._isDisabled)},inputs:{checked:"checked",disabled:"disabled"},outputs:{checkedChange:"checkedChange"},standalone:!0,features:[t.Jv_([{provide:l.kq,useExisting:(0,t.Rfq)(()=>a),multi:!0}]),t.aNF],ngContentSelectors:d,decls:2,vars:5,consts:[[3,"keydown.space","keyup.space","blur","ionChange","checked","disabled"]],template:function(E,u){1&E&&(t.NAR(),t.j41(0,"ion-toggle",0),t.bIt("keydown.space",function(){return u._onActive()})("keyup.space",function(){return u._onInactive()})("blur",function(){return u._onInactive()})("ionChange",function(A){return u.onCheckedChange(A.detail.checked)}),t.SdG(1),t.k0s()),2&E&&(t.AVh("interaction-state-active",u._pressed),t.Y8G("checked",u.checked)("disabled",u.disabled),t.BMQ("aria-label",u._ariaLabel))},dependencies:[e.MD,M.BY],styles:["[_nghost-%COMP%]{display:inline-flex}@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;z-index:1}}@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.in-item.legacy-toggle[_ngcontent-%COMP%]{padding:0}"],changeDetection:0}),_})()},35519:(Ze,z,i)=>{"use strict";i.d(z,{W:()=>t});var e=i(54438);let t=(()=>{var l;class M{get nativeWindow(){return window}}return(l=M).\u0275fac=function(p){return new(p||l)},l.\u0275prov=e.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),M})()},3271:(Ze,z,i)=>{"use strict";i.d(z,{ae$:()=>yo,uQP:()=>gn,vyB:()=>Tn});var e=i(54438),t=i(35043),l=i(75797),M=i(51272),d=i(60177),p=i(81443),a=i(82470),_=i(28287),v=i(47008),E=i(34100),u=i(98990),O=i(11235),A=i(11723),$=i(32667),K=i(41727),X=i(49711),J=i(50589),G=i(8346),fe=i(56297),he=i(81365),Me=i(67155),ke=i(84584),be=i(19539),Ne=i(64317),je=i(29756),it=i(36667),pt=i(91365),Ye=i(90351),St=i(72882),mt=i(27037),at=i(35987),Ge=i(12090),gt=i(15739),mn=i(18713),_t=i(13339),Ke=i(16564),Je=i(26396),Xe=i(90599),qe=i(35348),Bt=i(6260),It=i(57017),Nn=i(57808),Hn=i(30077),xo=i(91022),Kn=i(29660),xt=i(52375),Ht=i(22694),$t=i(92585);function Xt(oo,Ko){if(1&oo&&(e.qex(0),e.nrm(1,"kirby-icon",7),e.bVm()),2&oo){const ci=e.XpG(2).$implicit;e.R7$(),e.Y8G("name",ci.badge.icon)}}function ln(oo,Ko){if(1&oo&&e.EFF(0),2&oo){const ci=e.XpG(2).$implicit;e.SpI(" ",ci.badge.content," ")}}function tn(oo,Ko){if(1&oo&&(e.j41(0,"kirby-badge",5),e.DNE(1,Xt,2,1,"ng-container",6)(2,ln,1,1,"ng-template",null,0,e.C5r),e.k0s()),2&oo){const ci=e.sdS(3),ko=e.XpG().$implicit;e.Y8G("themeColor",ko.badge.themeColor),e.BMQ("aria-label",ko.badge.description),e.R7$(),e.Y8G("ngIf",ko.badge.icon)("ngIfElse",ci)}}function En(oo,Ko){if(1&oo){const ci=e.RV6();e.j41(0,"ion-segment-button",3),e.bIt("click",function(ei){e.eBV(ci);const Go=e.XpG();return e.Njj(Go.focusNativeButton(ei))}),e.EFF(1),e.DNE(2,tn,4,4,"kirby-badge",4),e.k0s()}if(2&oo){const ci=Ko.$implicit,ko=Ko.index,ei=e.XpG();e.Y8G("value",ci.id),e.BMQ("tabindex",ei.getTabIndex(ci,ko)),e.R7$(),e.SpI(" ",ci.text," "),e.R7$(),e.Y8G("ngIf",ci.badge)}}var Un=function(oo){return oo.chip="chip",oo.compactChip="compactChip",oo.default="default",oo}(Un||{});let Tn=(()=>{var oo;class Ko{constructor(){this.mode=Un.default,this._items=[],this._selectedIndex=-1,this.selectedIndexChange=new e.bkB,this._disableChangeOnSwipe=!1,this.segmentSelect=new e.bkB,this._segmentElementHasFocus=!1}preventOutsideClick(ko){ko.target instanceof HTMLElement&&(ko.target.closest("ion-segment-button")||ko.stopImmediatePropagation())}get _modeCssClass(){return{[Un.chip]:"chip-mode",[Un.default]:"default-mode",[Un.compactChip]:"compact chip-mode"}[this.mode]}get items(){return this._items}set items(ko){this._items=ko||[],this._value=this.items[this.selectedIndex],this.ensureIonSegmentSelected()}ensureIonSegmentSelected(){const ko=this.ionSegmentElement.nativeElement,ei=ko.ionSelect;this._value&&"function"==typeof ei?.emit&&setTimeout(()=>{ko.querySelector("ion-segment-button.segment-button-checked")||ei.emit({value:this._value?.id})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(ko){ko!==this._selectedIndex&&(this._selectedIndex=ko,this._value=this.items[this.selectedIndex],this.selectedIndexChange.emit(this.selectedIndex))}get value(){return this._value}set value(ko){this.selectedIndex=this.items.indexOf(ko)}set size(ko){this.isSmallSize="sm"===ko}get disableChangeOnSwipe(){return this._disableChangeOnSwipe}set disableChangeOnSwipe(ko){this._disableChangeOnSwipe=ko}onSegmentSelect(ko){const ei=this.items.findIndex(Go=>ko===Go.id);ei!==this.selectedIndex&&(this.selectedIndex=ei,setTimeout(()=>{this.segmentSelect.emit(this.value)}))}focusNativeButton(ko){ko.target?.setFocus()}getTabIndex(ko,ei){return this._segmentElementHasFocus?-1:ko.id===this.value?.id||!this.value&&0===ei?null:-1}_onFocusInOut(){this._segmentElementHasFocus=this.ionSegmentElement.nativeElement.matches(":focus-within")}}return(oo=Ko).\u0275fac=function(ko){return new(ko||oo)},oo.\u0275cmp=e.VBU({type:oo,selectors:[["kirby-segmented-control"]],viewQuery:function(ko,ei){if(1&ko&&e.GBs(M.Gp,7,e.aKT),2&ko){let Go;e.mGM(Go=e.lsd())&&(ei.ionSegmentElement=Go.first)}},hostVars:4,hostBindings:function(ko,ei){1&ko&&e.bIt("focusin",function(){return ei._onFocusInOut()})("focusout",function(){return ei._onFocusInOut()}),2&ko&&(e.HbH(ei._modeCssClass),e.AVh("sm",ei.isSmallSize))},inputs:{mode:"mode",items:"items",selectedIndex:"selectedIndex",value:"value",size:"size",disableChangeOnSwipe:"disableChangeOnSwipe"},outputs:{selectedIndexChange:"selectedIndexChange",segmentSelect:"segmentSelect"},standalone:!0,features:[e.aNF],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(ko,ei){1&ko&&(e.j41(0,"ion-segment",1),e.bIt("ionChange",function(Ji){return ei.onSegmentSelect(Ji.detail.value)})("click",function(Ji){return ei.preventOutsideClick(Ji)}),e.DNE(1,En,3,4,"ion-segment-button",2),e.k0s()),2&ko&&(e.Y8G("value",null==ei.value?null:ei.value.id)("scrollable",ei.disableChangeOnSwipe||"default"!==ei.mode),e.R7$(),e.Y8G("ngForOf",ei.items))},dependencies:[t.op,t.Rl,l.n,d.MD,d.Sq,d.bT,M.Gp,M.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;z-index:1}.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;z-index:1}}.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;z-index:1}}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}),Ko})(),gn=(()=>{var oo;class Ko{constructor(ko,ei){this.modalNavigationService=ko,this.elementRef=ei}ngOnInit(){this.elementRef.nativeElement.setAttribute("modal-router-link","")}onClick(){return this.modalNavigationService.navigateToModal(this.path,"string"!=typeof this.queryParams?this.queryParams:null),!1}}return(oo=Ko).\u0275fac=function(ko){return new(ko||oo)(e.rXU(p.zk),e.rXU(e.aKT))},oo.\u0275dir=e.FsC({type:oo,selectors:[["","kirbyModalRouterLink",""]],hostBindings:function(ko,ei){1&ko&&e.bIt("click",function(){return ei.onClick()})},inputs:{path:[0,"kirbyModalRouterLink","path"],queryParams:[0,"kirbyModalQueryParams","queryParams"]}}),Ko})();const bn=[p.W3,p._T,p.Sl,p.l4,It.o,It.K,it.a,_t.tN,_t.ke,p.PI],Bn=new e.nKC("USERCONFIG");let yo=(()=>{var oo;class Ko{static forChild(ko){return{ngModule:Ko,providers:[{provide:Bn,useValue:ko}]}}constructor(ko,ei){ko.initialize(ei&&ei.moduleRootRoutePath)}}return(oo=Ko).\u0275fac=function(ko){return new(ko||oo)(e.KVO(p.W3),e.KVO(Bn,8))},oo.\u0275mod=e.$C({type:oo}),oo.\u0275inj=e.G2t({providers:bn,imports:[d.MD,Ht.iI,Ne.U,be.J,gt.x8,pt.wq,xt.GC,Bt.mt,qe.jr,t.op,he.kA,Hn.d,je.HV,xo.mM,Xe.O,u.Dw,mt.s7,X.b,K.kr,fe.LT,Ke.O9,a.h6,xt.GC,Kn.p,Me._,p.Fo,fe.QC,fe.Sj,$.h,Tn,p.Cy,Ye.r,St.b,p.WY,mn.U,at.V,ke.d,St.Z,Ge.N,it.q,J.U,Nn.a,Je.V,Tn,O.P,$t.Z,p.vL,p.s$,_.f,E.S,v.Q,G.q,l.n,p.zf,A.K,be.J,gt.x8,pt.wq,xt.GC,Bt.mt,qe.jr,t.op,he.kA,Hn.d,je.HV,xo.mM,Xe.O,u.Dw,mt.s7,X.b,K.kr,fe.LT,Ke.O9,a.h6,xt.GC]}),Ko})()},49969:(Ze,z,i)=>{"use strict";i.d(z,{FX:()=>it,If:()=>e,K2:()=>p,hZ:()=>l,i0:()=>M,iF:()=>a,kY:()=>E,kp:()=>t,sf:()=>Ne,ui:()=>je,wk:()=>_});var e=function(pt){return pt[pt.State=0]="State",pt[pt.Transition=1]="Transition",pt[pt.Sequence=2]="Sequence",pt[pt.Group=3]="Group",pt[pt.Animate=4]="Animate",pt[pt.Keyframes=5]="Keyframes",pt[pt.Style=6]="Style",pt[pt.Trigger=7]="Trigger",pt[pt.Reference=8]="Reference",pt[pt.AnimateChild=9]="AnimateChild",pt[pt.AnimateRef=10]="AnimateRef",pt[pt.Query=11]="Query",pt[pt.Stagger=12]="Stagger",pt}(e||{});const t="*";function l(pt,Ye){return{type:e.Trigger,name:pt,definitions:Ye,options:{}}}function M(pt,Ye=null){return{type:e.Animate,styles:Ye,timings:pt}}function p(pt,Ye=null){return{type:e.Sequence,steps:pt,options:Ye}}function a(pt){return{type:e.Style,styles:pt,offset:null}}function _(pt,Ye,St){return{type:e.State,name:pt,styles:Ye,options:St}}function E(pt,Ye,St=null){return{type:e.Transition,expr:pt,animation:Ye,options:St}}class Ne{constructor(Ye=0,St=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Ye+St}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ye=>Ye()),this._onDoneFns=[])}onStart(Ye){this._originalOnStartFns.push(Ye),this._onStartFns.push(Ye)}onDone(Ye){this._originalOnDoneFns.push(Ye),this._onDoneFns.push(Ye)}onDestroy(Ye){this._onDestroyFns.push(Ye)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Ye=>Ye()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Ye=>Ye()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Ye){this._position=this.totalTime?Ye*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Ye){const St="start"==Ye?this._onStartFns:this._onDoneFns;St.forEach(mt=>mt()),St.length=0}}class je{constructor(Ye){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ye;let St=0,mt=0,at=0;const Ge=this.players.length;0==Ge?queueMicrotask(()=>this._onFinish()):this.players.forEach(gt=>{gt.onDone(()=>{++St==Ge&&this._onFinish()}),gt.onDestroy(()=>{++mt==Ge&&this._onDestroy()}),gt.onStart(()=>{++at==Ge&&this._onStart()})}),this.totalTime=this.players.reduce((gt,mn)=>Math.max(gt,mn.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ye=>Ye()),this._onDoneFns=[])}init(){this.players.forEach(Ye=>Ye.init())}onStart(Ye){this._onStartFns.push(Ye)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Ye=>Ye()),this._onStartFns=[])}onDone(Ye){this._onDoneFns.push(Ye)}onDestroy(Ye){this._onDestroyFns.push(Ye)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Ye=>Ye.play())}pause(){this.players.forEach(Ye=>Ye.pause())}restart(){this.players.forEach(Ye=>Ye.restart())}finish(){this._onFinish(),this.players.forEach(Ye=>Ye.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Ye=>Ye.destroy()),this._onDestroyFns.forEach(Ye=>Ye()),this._onDestroyFns=[])}reset(){this.players.forEach(Ye=>Ye.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Ye){const St=Ye*this.totalTime;this.players.forEach(mt=>{const at=mt.totalTime?Math.min(1,St/mt.totalTime):1;mt.setPosition(at)})}getPosition(){const Ye=this.players.reduce((St,mt)=>null===St||mt.totalTime>St.totalTime?mt:St,null);return null!=Ye?Ye.getPosition():0}beforeDestroy(){this.players.forEach(Ye=>{Ye.beforeDestroy&&Ye.beforeDestroy()})}triggerCallback(Ye){const St="start"==Ye?this._onStartFns:this._onDoneFns;St.forEach(mt=>mt()),St.length=0}}const it="!"},60177:(Ze,z,i)=>{"use strict";i.d(z,{AJ:()=>fn,Aq:()=>Ye,EO:()=>Wr,Jj:()=>Pn,MD:()=>Dt,N0:()=>Co,OI:()=>xi,P9:()=>ct,QT:()=>l,QX:()=>jt,Sm:()=>X,Sq:()=>bi,T3:()=>ys,TG:()=>Pe,UE:()=>In,VF:()=>d,Vy:()=>$n,Xr:()=>Mo,YU:()=>gi,ZD:()=>M,_b:()=>Yt,a:()=>It,aZ:()=>G,bT:()=>ri,fw:()=>J,gq:()=>Xe,gz:()=>St,hb:()=>$,hj:()=>v,lG:()=>We,oe:()=>ie,qQ:()=>a,vh:()=>Jo});var e=i(54438);let t=null;function l(){return t}function M(ae){t??=ae}class d{}const a=new e.nKC("");let _=(()=>{var ae;class Ue{historyGo(Re){throw new Error("")}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)},ae.\u0275prov=e.jDH({token:ae,factory:()=>(0,e.WQX)(E),providedIn:"platform"}),Ue})();const v=new e.nKC("");let E=(()=>{var ae;class Ue extends _{constructor(){super(),this._doc=(0,e.WQX)(a),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return l().getBaseHref(this._doc)}onPopState(Re){const Tt=l().getGlobalEventTarget(this._doc,"window");return Tt.addEventListener("popstate",Re,!1),()=>Tt.removeEventListener("popstate",Re)}onHashChange(Re){const Tt=l().getGlobalEventTarget(this._doc,"window");return Tt.addEventListener("hashchange",Re,!1),()=>Tt.removeEventListener("hashchange",Re)}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(Re){this._location.pathname=Re}pushState(Re,Tt,Dn){this._history.pushState(Re,Tt,Dn)}replaceState(Re,Tt,Dn){this._history.replaceState(Re,Tt,Dn)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Re=0){this._history.go(Re)}getState(){return this._history.state}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)},ae.\u0275prov=e.jDH({token:ae,factory:()=>new ae,providedIn:"platform"}),Ue})();function u(ae,Ue){if(0==ae.length)return Ue;if(0==Ue.length)return ae;let Qt=0;return ae.endsWith("/")&&Qt++,Ue.startsWith("/")&&Qt++,2==Qt?ae+Ue.substring(1):1==Qt?ae+Ue:ae+"/"+Ue}function O(ae){const Ue=ae.match(/#|\?|$/),Qt=Ue&&Ue.index||ae.length;return ae.slice(0,Qt-("/"===ae[Qt-1]?1:0))+ae.slice(Qt)}function A(ae){return ae&&"?"!==ae[0]?"?"+ae:ae}let $=(()=>{var ae;class Ue{historyGo(Re){throw new Error("")}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)},ae.\u0275prov=e.jDH({token:ae,factory:()=>(0,e.WQX)(X),providedIn:"root"}),Ue})();const K=new e.nKC("");let X=(()=>{var ae;class Ue extends ${constructor(Re,Tt){super(),this._platformLocation=Re,this._removeListenerFns=[],this._baseHref=Tt??this._platformLocation.getBaseHrefFromDOM()??(0,e.WQX)(a).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Re){this._removeListenerFns.push(this._platformLocation.onPopState(Re),this._platformLocation.onHashChange(Re))}getBaseHref(){return this._baseHref}prepareExternalUrl(Re){return u(this._baseHref,Re)}path(Re=!1){const Tt=this._platformLocation.pathname+A(this._platformLocation.search),Dn=this._platformLocation.hash;return Dn&&Re?`${Tt}${Dn}`:Tt}pushState(Re,Tt,Dn,Io){const Qo=this.prepareExternalUrl(Dn+A(Io));this._platformLocation.pushState(Re,Tt,Qo)}replaceState(Re,Tt,Dn,Io){const Qo=this.prepareExternalUrl(Dn+A(Io));this._platformLocation.replaceState(Re,Tt,Qo)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Re=0){this._platformLocation.historyGo?.(Re)}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.KVO(_),e.KVO(K,8))},ae.\u0275prov=e.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"}),Ue})(),J=(()=>{var ae;class Ue extends ${constructor(Re,Tt){super(),this._platformLocation=Re,this._baseHref="",this._removeListenerFns=[],null!=Tt&&(this._baseHref=Tt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Re){this._removeListenerFns.push(this._platformLocation.onPopState(Re),this._platformLocation.onHashChange(Re))}getBaseHref(){return this._baseHref}path(Re=!1){const Tt=this._platformLocation.hash??"#";return Tt.length>0?Tt.substring(1):Tt}prepareExternalUrl(Re){const Tt=u(this._baseHref,Re);return Tt.length>0?"#"+Tt:Tt}pushState(Re,Tt,Dn,Io){let Qo=this.prepareExternalUrl(Dn+A(Io));0==Qo.length&&(Qo=this._platformLocation.pathname),this._platformLocation.pushState(Re,Tt,Qo)}replaceState(Re,Tt,Dn,Io){let Qo=this.prepareExternalUrl(Dn+A(Io));0==Qo.length&&(Qo=this._platformLocation.pathname),this._platformLocation.replaceState(Re,Tt,Qo)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Re=0){this._platformLocation.historyGo?.(Re)}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.KVO(_),e.KVO(K,8))},ae.\u0275prov=e.jDH({token:ae,factory:ae.\u0275fac}),Ue})(),G=(()=>{var ae;class Ue{constructor(Re){this._subject=new e.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Re;const Tt=this._locationStrategy.getBaseHref();this._basePath=function ke(ae){if(new RegExp("^(https?:)?//").test(ae)){const[,Qt]=ae.split(/\/\/[^\/]+/);return Qt}return ae}(O(Me(Tt))),this._locationStrategy.onPopState(Dn=>{this._subject.emit({url:this.path(!0),pop:!0,state:Dn.state,type:Dn.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Re=!1){return this.normalize(this._locationStrategy.path(Re))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Re,Tt=""){return this.path()==this.normalize(Re+A(Tt))}normalize(Re){return Ue.stripTrailingSlash(function he(ae,Ue){if(!ae||!Ue.startsWith(ae))return Ue;const Qt=Ue.substring(ae.length);return""===Qt||["/",";","?","#"].includes(Qt[0])?Qt:Ue}(this._basePath,Me(Re)))}prepareExternalUrl(Re){return Re&&"/"!==Re[0]&&(Re="/"+Re),this._locationStrategy.prepareExternalUrl(Re)}go(Re,Tt="",Dn=null){this._locationStrategy.pushState(Dn,"",Re,Tt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Re+A(Tt)),Dn)}replaceState(Re,Tt="",Dn=null){this._locationStrategy.replaceState(Dn,"",Re,Tt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Re+A(Tt)),Dn)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Re=0){this._locationStrategy.historyGo?.(Re)}onUrlChange(Re){return this._urlChangeListeners.push(Re),this._urlChangeSubscription??=this.subscribe(Tt=>{this._notifyUrlChangeListeners(Tt.url,Tt.state)}),()=>{const Tt=this._urlChangeListeners.indexOf(Re);this._urlChangeListeners.splice(Tt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Re="",Tt){this._urlChangeListeners.forEach(Dn=>Dn(Re,Tt))}subscribe(Re,Tt,Dn){return this._subject.subscribe({next:Re,error:Tt,complete:Dn})}}return(ae=Ue).normalizeQueryParams=A,ae.joinWithSlash=u,ae.stripTrailingSlash=O,ae.\u0275fac=function(Re){return new(Re||ae)(e.KVO($))},ae.\u0275prov=e.jDH({token:ae,factory:()=>function fe(){return new G((0,e.KVO)($))}(),providedIn:"root"}),Ue})();function Me(ae){return ae.replace(/\/index.html$/,"")}const be={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 Ne=function(ae){return ae[ae.Decimal=0]="Decimal",ae[ae.Percent=1]="Percent",ae[ae.Currency=2]="Currency",ae[ae.Scientific=3]="Scientific",ae}(Ne||{}),it=function(ae){return ae[ae.Format=0]="Format",ae[ae.Standalone=1]="Standalone",ae}(it||{}),pt=function(ae){return ae[ae.Narrow=0]="Narrow",ae[ae.Abbreviated=1]="Abbreviated",ae[ae.Wide=2]="Wide",ae[ae.Short=3]="Short",ae}(pt||{}),Ye=function(ae){return ae[ae.Short=0]="Short",ae[ae.Medium=1]="Medium",ae[ae.Long=2]="Long",ae[ae.Full=3]="Full",ae}(Ye||{});const St={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 Xe(ae,Ue){return En((0,e.H5H)(ae)[e.KH2.DateFormat],Ue)}function qe(ae,Ue){return En((0,e.H5H)(ae)[e.KH2.TimeFormat],Ue)}function Bt(ae,Ue){return En((0,e.H5H)(ae)[e.KH2.DateTimeFormat],Ue)}function It(ae,Ue){const Qt=(0,e.H5H)(ae),Re=Qt[e.KH2.NumberSymbols][Ue];if(typeof Re>"u"){if(Ue===St.CurrencyDecimal)return Qt[e.KH2.NumberSymbols][St.Decimal];if(Ue===St.CurrencyGroup)return Qt[e.KH2.NumberSymbols][St.Group]}return Re}function Nn(ae,Ue){return(0,e.H5H)(ae)[e.KH2.NumberFormats][Ue]}function $t(ae){if(!ae[e.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${ae[e.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function En(ae,Ue){for(let Qt=Ue;Qt>-1;Qt--)if(typeof ae[Qt]<"u")return ae[Qt];throw new Error("Locale data API: locale data undefined")}function Un(ae){const[Ue,Qt]=ae.split(":");return{hours:+Ue,minutes:+Qt}}const Vt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Gt={},Ln=/((?:[^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]*)/;var Lt=function(ae){return ae[ae.Short=0]="Short",ae[ae.ShortGMT=1]="ShortGMT",ae[ae.Long=2]="Long",ae[ae.Extended=3]="Extended",ae}(Lt||{}),yn=function(ae){return ae[ae.FullYear=0]="FullYear",ae[ae.Month=1]="Month",ae[ae.Date=2]="Date",ae[ae.Hours=3]="Hours",ae[ae.Minutes=4]="Minutes",ae[ae.Seconds=5]="Seconds",ae[ae.FractionalSeconds=6]="FractionalSeconds",ae[ae.Day=7]="Day",ae}(yn||{}),Mn=function(ae){return ae[ae.DayPeriods=0]="DayPeriods",ae[ae.Days=1]="Days",ae[ae.Months=2]="Months",ae[ae.Eras=3]="Eras",ae}(Mn||{});function bn(ae,Ue,Qt,Re){let Tt=function Xn(ae){if(zt(ae))return ae;if("number"==typeof ae&&!isNaN(ae))return new Date(ae);if("string"==typeof ae){if(ae=ae.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(ae)){const[Tt,Dn=1,Io=1]=ae.split("-").map(Qo=>+Qo);return Bn(Tt,Dn-1,Io)}const Qt=parseFloat(ae);if(!isNaN(ae-Qt))return new Date(Qt);let Re;if(Re=ae.match(Vt))return function sn(ae){const Ue=new Date(0);let Qt=0,Re=0;const Tt=ae[8]?Ue.setUTCFullYear:Ue.setFullYear,Dn=ae[8]?Ue.setUTCHours:Ue.setHours;ae[9]&&(Qt=Number(ae[9]+ae[10]),Re=Number(ae[9]+ae[11])),Tt.call(Ue,Number(ae[1]),Number(ae[2])-1,Number(ae[3]));const Io=Number(ae[4]||0)-Qt,Qo=Number(ae[5]||0)-Re,nr=Number(ae[6]||0),Ir=Math.floor(1e3*parseFloat("0."+(ae[7]||0)));return Dn.call(Ue,Io,Qo,nr,Ir),Ue}(Re)}const Ue=new Date(ae);if(!zt(Ue))throw new Error(`Unable to convert "${ae}" into a date`);return Ue}(ae);Ue=yo(Qt,Ue)||Ue;let Qo,Io=[];for(;Ue;){if(Qo=Ln.exec(Ue),!Qo){Io.push(Ue);break}{Io=Io.concat(Qo.slice(1));const gr=Io.pop();if(!gr)break;Ue=gr}}let nr=Tt.getTimezoneOffset();Re&&(nr=Fe(Re,nr),Tt=function en(ae,Ue,Qt){const Re=Qt?-1:1,Tt=ae.getTimezoneOffset();return function tt(ae,Ue){return(ae=new Date(ae.getTime())).setMinutes(ae.getMinutes()+Ue),ae}(ae,Re*(Fe(Ue,Tt)-Tt))}(Tt,Re,!0));let Ir="";return Io.forEach(gr=>{const lr=function De(ae){if(ot[ae])return ot[ae];let Ue;switch(ae){case"G":case"GG":case"GGG":Ue=Go(Mn.Eras,pt.Abbreviated);break;case"GGGG":Ue=Go(Mn.Eras,pt.Wide);break;case"GGGGG":Ue=Go(Mn.Eras,pt.Narrow);break;case"y":Ue=ko(yn.FullYear,1,0,!1,!0);break;case"yy":Ue=ko(yn.FullYear,2,0,!0,!0);break;case"yyy":Ue=ko(yn.FullYear,3,0,!1,!0);break;case"yyyy":Ue=ko(yn.FullYear,4,0,!1,!0);break;case"Y":Ue=Pt(1);break;case"YY":Ue=Pt(2,!0);break;case"YYY":Ue=Pt(3);break;case"YYYY":Ue=Pt(4);break;case"M":case"L":Ue=ko(yn.Month,1,1);break;case"MM":case"LL":Ue=ko(yn.Month,2,1);break;case"MMM":Ue=Go(Mn.Months,pt.Abbreviated);break;case"MMMM":Ue=Go(Mn.Months,pt.Wide);break;case"MMMMM":Ue=Go(Mn.Months,pt.Narrow);break;case"LLL":Ue=Go(Mn.Months,pt.Abbreviated,it.Standalone);break;case"LLLL":Ue=Go(Mn.Months,pt.Wide,it.Standalone);break;case"LLLLL":Ue=Go(Mn.Months,pt.Narrow,it.Standalone);break;case"w":Ue=qt(1);break;case"ww":Ue=qt(2);break;case"W":Ue=qt(1,!0);break;case"d":Ue=ko(yn.Date,1);break;case"dd":Ue=ko(yn.Date,2);break;case"c":case"cc":Ue=ko(yn.Day,1);break;case"ccc":Ue=Go(Mn.Days,pt.Abbreviated,it.Standalone);break;case"cccc":Ue=Go(Mn.Days,pt.Wide,it.Standalone);break;case"ccccc":Ue=Go(Mn.Days,pt.Narrow,it.Standalone);break;case"cccccc":Ue=Go(Mn.Days,pt.Short,it.Standalone);break;case"E":case"EE":case"EEE":Ue=Go(Mn.Days,pt.Abbreviated);break;case"EEEE":Ue=Go(Mn.Days,pt.Wide);break;case"EEEEE":Ue=Go(Mn.Days,pt.Narrow);break;case"EEEEEE":Ue=Go(Mn.Days,pt.Short);break;case"a":case"aa":case"aaa":Ue=Go(Mn.DayPeriods,pt.Abbreviated);break;case"aaaa":Ue=Go(Mn.DayPeriods,pt.Wide);break;case"aaaaa":Ue=Go(Mn.DayPeriods,pt.Narrow);break;case"b":case"bb":case"bbb":Ue=Go(Mn.DayPeriods,pt.Abbreviated,it.Standalone,!0);break;case"bbbb":Ue=Go(Mn.DayPeriods,pt.Wide,it.Standalone,!0);break;case"bbbbb":Ue=Go(Mn.DayPeriods,pt.Narrow,it.Standalone,!0);break;case"B":case"BB":case"BBB":Ue=Go(Mn.DayPeriods,pt.Abbreviated,it.Format,!0);break;case"BBBB":Ue=Go(Mn.DayPeriods,pt.Wide,it.Format,!0);break;case"BBBBB":Ue=Go(Mn.DayPeriods,pt.Narrow,it.Format,!0);break;case"h":Ue=ko(yn.Hours,1,-12);break;case"hh":Ue=ko(yn.Hours,2,-12);break;case"H":Ue=ko(yn.Hours,1);break;case"HH":Ue=ko(yn.Hours,2);break;case"m":Ue=ko(yn.Minutes,1);break;case"mm":Ue=ko(yn.Minutes,2);break;case"s":Ue=ko(yn.Seconds,1);break;case"ss":Ue=ko(yn.Seconds,2);break;case"S":Ue=ko(yn.FractionalSeconds,1);break;case"SS":Ue=ko(yn.FractionalSeconds,2);break;case"SSS":Ue=ko(yn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ue=pi(Lt.Short);break;case"ZZZZZ":Ue=pi(Lt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ue=pi(Lt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ue=pi(Lt.Long);break;default:return null}return ot[ae]=Ue,Ue}(gr);Ir+=lr?lr(Tt,Qt,nr):"''"===gr?"'":gr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ir}function Bn(ae,Ue,Qt){const Re=new Date(0);return Re.setFullYear(ae,Ue,Qt),Re.setHours(0,0,0),Re}function yo(ae,Ue){const Qt=function at(ae){return(0,e.H5H)(ae)[e.KH2.LocaleId]}(ae);if(Gt[Qt]??={},Gt[Qt][Ue])return Gt[Qt][Ue];let Re="";switch(Ue){case"shortDate":Re=Xe(ae,Ye.Short);break;case"mediumDate":Re=Xe(ae,Ye.Medium);break;case"longDate":Re=Xe(ae,Ye.Long);break;case"fullDate":Re=Xe(ae,Ye.Full);break;case"shortTime":Re=qe(ae,Ye.Short);break;case"mediumTime":Re=qe(ae,Ye.Medium);break;case"longTime":Re=qe(ae,Ye.Long);break;case"fullTime":Re=qe(ae,Ye.Full);break;case"short":const Tt=yo(ae,"shortTime"),Dn=yo(ae,"shortDate");Re=oo(Bt(ae,Ye.Short),[Tt,Dn]);break;case"medium":const Io=yo(ae,"mediumTime"),Qo=yo(ae,"mediumDate");Re=oo(Bt(ae,Ye.Medium),[Io,Qo]);break;case"long":const nr=yo(ae,"longTime"),Ir=yo(ae,"longDate");Re=oo(Bt(ae,Ye.Long),[nr,Ir]);break;case"full":const gr=yo(ae,"fullTime"),lr=yo(ae,"fullDate");Re=oo(Bt(ae,Ye.Full),[gr,lr])}return Re&&(Gt[Qt][Ue]=Re),Re}function oo(ae,Ue){return Ue&&(ae=ae.replace(/\{([^}]+)}/g,function(Qt,Re){return null!=Ue&&Re in Ue?Ue[Re]:Qt})),ae}function Ko(ae,Ue,Qt="-",Re,Tt){let Dn="";(ae<0||Tt&&ae<=0)&&(Tt?ae=1-ae:(ae=-ae,Dn=Qt));let Io=String(ae);for(;Io.length0||Qo>-Qt)&&(Qo+=Qt),ae===yn.Hours)0===Qo&&-12===Qt&&(Qo=12);else if(ae===yn.FractionalSeconds)return function ci(ae,Ue){return Ko(ae,3).substring(0,Ue)}(Qo,Ue);const nr=It(Io,St.MinusSign);return Ko(Qo,Ue,nr,Re,Tt)}}function Go(ae,Ue,Qt=it.Format,Re=!1){return function(Tt,Dn){return function Ji(ae,Ue,Qt,Re,Tt,Dn){switch(Qt){case Mn.Months:return function mn(ae,Ue,Qt){const Re=(0,e.H5H)(ae),Dn=En([Re[e.KH2.MonthsFormat],Re[e.KH2.MonthsStandalone]],Ue);return En(Dn,Qt)}(Ue,Tt,Re)[ae.getMonth()];case Mn.Days:return function gt(ae,Ue,Qt){const Re=(0,e.H5H)(ae),Dn=En([Re[e.KH2.DaysFormat],Re[e.KH2.DaysStandalone]],Ue);return En(Dn,Qt)}(Ue,Tt,Re)[ae.getDay()];case Mn.DayPeriods:const Io=ae.getHours(),Qo=ae.getMinutes();if(Dn){const Ir=function Xt(ae){const Ue=(0,e.H5H)(ae);return $t(Ue),(Ue[e.KH2.ExtraData][2]||[]).map(Re=>"string"==typeof Re?Un(Re):[Un(Re[0]),Un(Re[1])])}(Ue),gr=function ln(ae,Ue,Qt){const Re=(0,e.H5H)(ae);$t(Re);const Dn=En([Re[e.KH2.ExtraData][0],Re[e.KH2.ExtraData][1]],Ue)||[];return En(Dn,Qt)||[]}(Ue,Tt,Re),lr=Ir.findIndex(Br=>{if(Array.isArray(Br)){const[$r,zr]=Br,ls=Io>=$r.hours&&Qo>=$r.minutes,Fr=Io0?Math.floor(Tt/60):Math.ceil(Tt/60);switch(ae){case Lt.Short:return(Tt>=0?"+":"")+Ko(Io,2,Dn)+Ko(Math.abs(Tt%60),2,Dn);case Lt.ShortGMT:return"GMT"+(Tt>=0?"+":"")+Ko(Io,1,Dn);case Lt.Long:return"GMT"+(Tt>=0?"+":"")+Ko(Io,2,Dn)+":"+Ko(Math.abs(Tt%60),2,Dn);case Lt.Extended:return 0===Re?"Z":(Tt>=0?"+":"")+Ko(Io,2,Dn)+":"+Ko(Math.abs(Tt%60),2,Dn);default:throw new Error(`Unknown zone width "${ae}"`)}}}const Si=0,hr=4;function Gn(ae){const Ue=ae.getDay(),Qt=0===Ue?-3:hr-Ue;return Bn(ae.getFullYear(),ae.getMonth(),ae.getDate()+Qt)}function qt(ae,Ue=!1){return function(Qt,Re){let Tt;if(Ue){const Dn=new Date(Qt.getFullYear(),Qt.getMonth(),1).getDay()-1,Io=Qt.getDate();Tt=1+Math.floor((Io+Dn)/7)}else{const Dn=Gn(Qt),Io=function Pi(ae){const Ue=Bn(ae,Si,1).getDay();return Bn(ae,0,1+(Ue<=hr?hr:hr+7)-Ue)}(Dn.getFullYear()),Qo=Dn.getTime()-Io.getTime();Tt=1+Math.round(Qo/6048e5)}return Ko(Tt,ae,It(Re,St.MinusSign))}}function Pt(ae,Ue=!1){return function(Qt,Re){return Ko(Gn(Qt).getFullYear(),ae,It(Re,St.MinusSign),Ue)}}const ot={};function Fe(ae,Ue){ae=ae.replace(/:/g,"");const Qt=Date.parse("Jan 01, 1970 00:00:00 "+ae)/6e4;return isNaN(Qt)?Ue:Qt}function zt(ae){return ae instanceof Date&&!isNaN(ae.valueOf())}const _n=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kt=22,an=".",Wn="0",Jn=";",Do=",",ao="#";function ni(ae,Ue,Qt,Re,Tt,Dn,Io=!1){let Qo="",nr=!1;if(isFinite(ae)){let Ir=function tr(ae){let Re,Tt,Dn,Io,Qo,Ue=Math.abs(ae)+"",Qt=0;for((Tt=Ue.indexOf(an))>-1&&(Ue=Ue.replace(an,"")),(Dn=Ue.search(/e/i))>0?(Tt<0&&(Tt=Dn),Tt+=+Ue.slice(Dn+1),Ue=Ue.substring(0,Dn)):Tt<0&&(Tt=Ue.length),Dn=0;Ue.charAt(Dn)===Wn;Dn++);if(Dn===(Qo=Ue.length))Re=[0],Tt=1;else{for(Qo--;Ue.charAt(Qo)===Wn;)Qo--;for(Tt-=Dn,Re=[],Io=0;Dn<=Qo;Dn++,Io++)Re[Io]=Number(Ue.charAt(Dn))}return Tt>kt&&(Re=Re.splice(0,kt-1),Qt=Tt-1,Tt=1),{digits:Re,exponent:Qt,integerLen:Tt}}(ae);Io&&(Ir=function Gi(ae){if(0===ae.digits[0])return ae;const Ue=ae.digits.length-ae.integerLen;return ae.exponent?ae.exponent+=2:(0===Ue?ae.digits.push(0,0):1===Ue&&ae.digits.push(0),ae.integerLen+=2),ae}(Ir));let gr=Ue.minInt,lr=Ue.minFrac,Br=Ue.maxFrac;if(Dn){const Ei=Dn.match(_n);if(null===Ei)throw new Error(`${Dn} is not a valid digit info`);const yr=Ei[1],ns=Ei[3],Jr=Ei[5];null!=yr&&(gr=wi(yr)),null!=ns&&(lr=wi(ns)),null!=Jr?Br=wi(Jr):null!=ns&&lr>Br&&(Br=lr)}!function Sr(ae,Ue,Qt){if(Ue>Qt)throw new Error(`The minimum number of digits after fraction (${Ue}) is higher than the maximum (${Qt}).`);let Re=ae.digits,Tt=Re.length-ae.integerLen;const Dn=Math.min(Math.max(Ue,Tt),Qt);let Io=Dn+ae.integerLen,Qo=Re[Io];if(Io>0){Re.splice(Math.max(ae.integerLen,Io));for(let lr=Io;lr=5)if(Io-1<0){for(let lr=0;lr>Io;lr--)Re.unshift(0),ae.integerLen++;Re.unshift(1),ae.integerLen++}else Re[Io-1]++;for(;Tt=Ir?zr.pop():nr=!1),Br>=10?1:0},0);gr&&(Re.unshift(gr),ae.integerLen++)}(Ir,lr,Br);let $r=Ir.digits,zr=Ir.integerLen;const ls=Ir.exponent;let Fr=[];for(nr=$r.every(Ei=>!Ei);zr0?Fr=$r.splice(zr,$r.length):(Fr=$r,$r=[0]);const Zo=[];for($r.length>=Ue.lgSize&&Zo.unshift($r.splice(-Ue.lgSize,$r.length).join(""));$r.length>Ue.gSize;)Zo.unshift($r.splice(-Ue.gSize,$r.length).join(""));$r.length&&Zo.unshift($r.join("")),Qo=Zo.join(It(Qt,Re)),Fr.length&&(Qo+=It(Qt,Tt)+Fr.join("")),ls&&(Qo+=It(Qt,St.Exponential)+"+"+ls)}else Qo=It(Qt,St.Infinity);return Qo=ae<0&&!nr?Ue.negPre+Qo+Ue.negSuf:Ue.posPre+Qo+Ue.posSuf,Qo}function yi(ae,Ue="-"){const Qt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Re=ae.split(Jn),Tt=Re[0],Dn=Re[1],Io=-1!==Tt.indexOf(an)?Tt.split(an):[Tt.substring(0,Tt.lastIndexOf(Wn)+1),Tt.substring(Tt.lastIndexOf(Wn)+1)],Qo=Io[0],nr=Io[1]||"";Qt.posPre=Qo.substring(0,Qo.indexOf(ao));for(let gr=0;gr{var ae;class Ue{constructor(Re,Tt){this._ngEl=Re,this._renderer=Tt,this.initialClasses=Ho,this.stateMap=new Map}set klass(Re){this.initialClasses=null!=Re?Re.trim().split(io):Ho}set ngClass(Re){this.rawClass="string"==typeof Re?Re.trim().split(io):Re}ngDoCheck(){for(const Tt of this.initialClasses)this._updateState(Tt,!0);const Re=this.rawClass;if(Array.isArray(Re)||Re instanceof Set)for(const Tt of Re)this._updateState(Tt,!0);else if(null!=Re)for(const Tt of Object.keys(Re))this._updateState(Tt,!!Re[Tt]);this._applyStateDiff()}_updateState(Re,Tt){const Dn=this.stateMap.get(Re);void 0!==Dn?(Dn.enabled!==Tt&&(Dn.changed=!0,Dn.enabled=Tt),Dn.touched=!0):this.stateMap.set(Re,{enabled:Tt,changed:!0,touched:!0})}_applyStateDiff(){for(const Re of this.stateMap){const Tt=Re[0],Dn=Re[1];Dn.changed?(this._toggleClass(Tt,Dn.enabled),Dn.changed=!1):Dn.touched||(Dn.enabled&&this._toggleClass(Tt,!1),this.stateMap.delete(Tt)),Dn.touched=!1}}_toggleClass(Re,Tt){(Re=Re.trim()).length>0&&Re.split(io).forEach(Dn=>{Tt?this._renderer.addClass(this._ngEl.nativeElement,Dn):this._renderer.removeClass(this._ngEl.nativeElement,Dn)})}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.aKT),e.rXU(e.sFG))},ae.\u0275dir=e.FsC({type:ae,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0}),Ue})(),xi=(()=>{var ae;class Ue{constructor(Re){this._viewContainerRef=Re,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Re){return void 0!==Re.ngComponentOutletNgModule||void 0!==Re.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Re){return void 0!==Re.ngComponentOutlet||void 0!==Re.ngComponentOutletContent||void 0!==Re.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Re)}ngOnChanges(Re){if(this._needToReCreateComponentInstance(Re)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const Tt=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Re)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,e.w6W)(this.ngComponentOutletNgModule,Ii(Tt)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Ii(Tt)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Tt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Re of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Re,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Re){for(const[Tt,Dn]of this._inputsUsed)Dn?(Re.setInput(Tt,this.ngComponentOutletInputs[Tt]),this._inputsUsed.set(Tt,!1)):(Re.setInput(Tt,void 0),this._inputsUsed.delete(Tt))}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.c1b))},ae.\u0275dir=e.FsC({type:ae,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[e.OA$]}),Ue})();function Ii(ae){return ae.get(e.Vns).injector}class qi{constructor(Ue,Qt,Re,Tt){this.$implicit=Ue,this.ngForOf=Qt,this.index=Re,this.count=Tt}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 bi=(()=>{var ae;class Ue{set ngForOf(Re){this._ngForOf=Re,this._ngForOfDirty=!0}set ngForTrackBy(Re){this._trackByFn=Re}get ngForTrackBy(){return this._trackByFn}constructor(Re,Tt,Dn){this._viewContainer=Re,this._template=Tt,this._differs=Dn,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Re){Re&&(this._template=Re)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Re=this._ngForOf;!this._differ&&Re&&(this._differ=this._differs.find(Re).create(this.ngForTrackBy))}if(this._differ){const Re=this._differ.diff(this._ngForOf);Re&&this._applyChanges(Re)}}_applyChanges(Re){const Tt=this._viewContainer;Re.forEachOperation((Dn,Io,Qo)=>{if(null==Dn.previousIndex)Tt.createEmbeddedView(this._template,new qi(Dn.item,this._ngForOf,-1,-1),null===Qo?void 0:Qo);else if(null==Qo)Tt.remove(null===Io?void 0:Io);else if(null!==Io){const nr=Tt.get(Io);Tt.move(nr,Qo),Rr(nr,Dn)}});for(let Dn=0,Io=Tt.length;Dn{Rr(Tt.get(Dn.currentIndex),Dn)})}static ngTemplateContextGuard(Re,Tt){return!0}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(e._q3))},ae.\u0275dir=e.FsC({type:ae,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),Ue})();function Rr(ae,Ue){ae.context.$implicit=Ue.item}let ri=(()=>{var ae;class Ue{constructor(Re,Tt){this._viewContainer=Re,this._context=new is,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Tt}set ngIf(Re){this._context.$implicit=this._context.ngIf=Re,this._updateView()}set ngIfThen(Re){wr("ngIfThen",Re),this._thenTemplateRef=Re,this._thenViewRef=null,this._updateView()}set ngIfElse(Re){wr("ngIfElse",Re),this._elseTemplateRef=Re,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Re,Tt){return!0}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.c1b),e.rXU(e.C4Q))},ae.\u0275dir=e.FsC({type:ae,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),Ue})();class is{constructor(){this.$implicit=null,this.ngIf=null}}function wr(ae,Ue){if(Ue&&!Ue.createEmbeddedView)throw new Error(`${ae} must be a TemplateRef, but received '${(0,e.Tbb)(Ue)}'.`)}let ys=(()=>{var ae;class Ue{constructor(Re){this._viewContainerRef=Re,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Re){if(this._shouldRecreateView(Re)){const Tt=this._viewContainerRef;if(this._viewRef&&Tt.remove(Tt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Dn=this._createContextForwardProxy();this._viewRef=Tt.createEmbeddedView(this.ngTemplateOutlet,Dn,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Re){return!!Re.ngTemplateOutlet||!!Re.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Re,Tt,Dn)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Tt,Dn),get:(Re,Tt,Dn)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Tt,Dn)}})}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.c1b))},ae.\u0275dir=e.FsC({type:ae,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.OA$]}),Ue})();function Pr(ae,Ue){return new e.wOt(2100,!1)}class ts{createSubscription(Ue,Qt){return(0,e.O8t)(()=>Ue.subscribe({next:Qt,error:Re=>{throw Re}}))}dispose(Ue){(0,e.O8t)(()=>Ue.unsubscribe())}}class hi{createSubscription(Ue,Qt){return Ue.then(Qt,Re=>{throw Re})}dispose(Ue){}}const yt=new hi,Wt=new ts;let Pn=(()=>{var ae;class Ue{constructor(Re){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Re}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Re){if(!this._obj){if(Re)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Re)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Re!==this._obj?(this._dispose(),this.transform(Re)):this._latestValue}_subscribe(Re){this._obj=Re,this._strategy=this._selectStrategy(Re),this._subscription=this._strategy.createSubscription(Re,Tt=>this._updateLatestValue(Re,Tt))}_selectStrategy(Re){if((0,e.jNT)(Re))return yt;if((0,e.zjR)(Re))return Wt;throw Pr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Re,Tt){Re===this._obj&&(this._latestValue=Tt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.gRc,16))},ae.\u0275pipe=e.EJ8({name:"async",type:ae,pure:!1,standalone:!0}),Ue})();const Wo=new e.nKC(""),si=new e.nKC("");let Jo=(()=>{var ae;class Ue{constructor(Re,Tt,Dn){this.locale=Re,this.defaultTimezone=Tt,this.defaultOptions=Dn}transform(Re,Tt,Dn,Io){if(null==Re||""===Re||Re!=Re)return null;try{return bn(Re,Tt??this.defaultOptions?.dateFormat??"mediumDate",Io||this.locale,Dn??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Qo){throw Pr()}}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.xe9,16),e.rXU(Wo,24),e.rXU(si,24))},ae.\u0275pipe=e.EJ8({name:"date",type:ae,pure:!0,standalone:!0}),Ue})(),Pe=(()=>{var ae;class Ue{transform(Re){return JSON.stringify(Re,null,2)}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)},ae.\u0275pipe=e.EJ8({name:"json",type:ae,pure:!1,standalone:!0}),Ue})(),We=(()=>{var ae;class Ue{constructor(Re){this.differs=Re,this.keyValues=[],this.compareFn=lt}transform(Re,Tt=lt){if(!Re||!(Re instanceof Map)&&"object"!=typeof Re)return null;this.differ??=this.differs.find(Re).create();const Dn=this.differ.diff(Re),Io=Tt!==this.compareFn;return Dn&&(this.keyValues=[],Dn.forEachItem(Qo=>{this.keyValues.push(function et(ae,Ue){return{key:ae,value:Ue}}(Qo.key,Qo.currentValue))})),(Dn||Io)&&(this.keyValues.sort(Tt),this.compareFn=Tt),this.keyValues}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.MKu,16))},ae.\u0275pipe=e.EJ8({name:"keyvalue",type:ae,pure:!1,standalone:!0}),Ue})();function lt(ae,Ue){const Qt=ae.key,Re=Ue.key;if(Qt===Re)return 0;if(void 0===Qt)return 1;if(void 0===Re)return-1;if(null===Qt)return 1;if(null===Re)return-1;if("string"==typeof Qt&&"string"==typeof Re)return Qt{var ae;class Ue{constructor(Re){this._locale=Re}transform(Re,Tt,Dn){if(!Be(Re))return null;Dn||=this._locale;try{return function $i(ae,Ue,Qt){return ni(ae,yi(Nn(Ue,Ne.Decimal),It(Ue,St.MinusSign)),Ue,St.Group,St.Decimal,Qt)}(Qe(Re),Dn,Tt)}catch(Io){throw Pr()}}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.xe9,16))},ae.\u0275pipe=e.EJ8({name:"number",type:ae,pure:!0,standalone:!0}),Ue})(),ie=(()=>{var ae;class Ue{constructor(Re,Tt="USD"){this._locale=Re,this._defaultCurrencyCode=Tt}transform(Re,Tt=this._defaultCurrencyCode,Dn="symbol",Io,Qo){if(!Be(Re))return null;Qo||=this._locale,"boolean"==typeof Dn&&(Dn=Dn?"symbol":"code");let nr=Tt||this._defaultCurrencyCode;"code"!==Dn&&(nr="symbol"===Dn||"symbol-narrow"===Dn?function Tn(ae,Ue,Qt="en"){const Re=function xt(ae){return(0,e.H5H)(ae)[e.KH2.Currencies]}(Qt)[ae]||be[ae]||[],Tt=Re[1];return"narrow"===Ue&&"string"==typeof Tt?Tt:Re[0]||ae}(nr,"symbol"===Dn?"wide":"narrow",Qo):Dn);try{return function Ro(ae,Ue,Qt,Re,Tt){const Io=yi(Nn(Ue,Ne.Currency),It(Ue,St.MinusSign));return Io.minFrac=function gn(ae){let Ue;const Qt=be[ae];return Qt&&(Ue=Qt[2]),"number"==typeof Ue?Ue:2}(Re),Io.maxFrac=Io.minFrac,ni(ae,Io,Ue,St.CurrencyGroup,St.CurrencyDecimal,Tt).replace("\xa4",Qt).replace("\xa4","").trim()}(Qe(Re),Qo,nr,Tt,Io)}catch(Ir){throw Pr()}}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)(e.rXU(e.xe9,16),e.rXU(e.Ocv,16))},ae.\u0275pipe=e.EJ8({name:"currency",type:ae,pure:!0,standalone:!0}),Ue})();function Be(ae){return!(null==ae||""===ae||ae!=ae)}function Qe(ae){if("string"==typeof ae&&!isNaN(Number(ae)-parseFloat(ae)))return Number(ae);if("number"!=typeof ae)throw new Error(`${ae} is not a number`);return ae}let ct=(()=>{var ae;class Ue{transform(Re,Tt,Dn){if(null==Re)return null;if(!this.supports(Re))throw Pr();return Re.slice(Tt,Dn)}supports(Re){return"string"==typeof Re||Array.isArray(Re)}}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)},ae.\u0275pipe=e.EJ8({name:"slice",type:ae,pure:!1,standalone:!0}),Ue})(),Dt=(()=>{var ae;class Ue{}return(ae=Ue).\u0275fac=function(Re){return new(Re||ae)},ae.\u0275mod=e.$C({type:ae}),ae.\u0275inj=e.G2t({}),Ue})();const fn="browser",un="server";function In(ae){return ae===fn}function $n(ae){return ae===un}let Mo=(()=>{var ae;class Ue{}return(ae=Ue).\u0275prov=(0,e.jDH)({token:ae,providedIn:"root",factory:()=>In((0,e.WQX)(e.Agw))?new po((0,e.WQX)(a),window):new Po}),Ue})();class po{constructor(Ue,Qt){this.document=Ue,this.window=Qt,this.offset=()=>[0,0]}setOffset(Ue){this.offset=Array.isArray(Ue)?()=>Ue:Ue}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ue){this.window.scrollTo(Ue[0],Ue[1])}scrollToAnchor(Ue){const Qt=function uo(ae,Ue){const Qt=ae.getElementById(Ue)||ae.getElementsByName(Ue)[0];if(Qt)return Qt;if("function"==typeof ae.createTreeWalker&&ae.body&&"function"==typeof ae.body.attachShadow){const Re=ae.createTreeWalker(ae.body,NodeFilter.SHOW_ELEMENT);let Tt=Re.currentNode;for(;Tt;){const Dn=Tt.shadowRoot;if(Dn){const Io=Dn.getElementById(Ue)||Dn.querySelector(`[name="${Ue}"]`);if(Io)return Io}Tt=Re.nextNode()}}return null}(this.document,Ue);Qt&&(this.scrollToElement(Qt),Qt.focus())}setHistoryScrollRestoration(Ue){this.window.history.scrollRestoration=Ue}scrollToElement(Ue){const Qt=Ue.getBoundingClientRect(),Re=Qt.left+this.window.pageXOffset,Tt=Qt.top+this.window.pageYOffset,Dn=this.offset();this.window.scrollTo(Re-Dn[0],Tt-Dn[1])}}class Po{setOffset(Ue){}getScrollPosition(){return[0,0]}scrollToPosition(Ue){}scrollToAnchor(Ue){}setHistoryScrollRestoration(Ue){}}class Co{}},54438:(Ze,z,i)=>{"use strict";function e(n,o){return Object.is(n,o)}i.d(z,{bc$:()=>zy,iLQ:()=>Zf,sZ2:()=>Md,hnV:()=>zC,Hbi:()=>ZO,o8S:()=>zl,BIS:()=>ub,gRc:()=>oE,Ql9:()=>vO,OM3:()=>Xd,Ocv:()=>DO,Z63:()=>Y,aKT:()=>fl,uvJ:()=>gs,zcH:()=>kl,bkB:()=>ml,y_5:()=>Po,$GK:()=>so,nKC:()=>bi,zZn:()=>Oa,_q3:()=>yy,MKu:()=>vy,xe9:()=>hy,Co$:()=>Lk,Vns:()=>sd,SKi:()=>Ps,Xx1:()=>Co,Agw:()=>Ku,PLl:()=>rm,sFG:()=>Cw,_9s:()=>Q0,czy:()=>jd,WPN:()=>fc,kdw:()=>So,C4Q:()=>nd,NYb:()=>hO,giA:()=>NC,RxE:()=>TC,c1b:()=>xf,gXe:()=>Le,mal:()=>Tf,L39:()=>PF,EWP:()=>FF,a0P:()=>BF,Ol2:()=>h_,w6W:()=>hM,oH4:()=>qC,SmG:()=>LO,Rfq:()=>Fe,WQX:()=>un,QuC:()=>dt,EmA:()=>ti,fpN:()=>QO,HJs:()=>jF,N4e:()=>va,vPA:()=>gk,O8t:()=>TF,H3F:()=>SC,H8p:()=>la,KH2:()=>gu,TgB:()=>Yl,wOt:()=>Gt,WHO:()=>BC,e01:()=>jC,lNU:()=>Vt,h9k:()=>Cm,$MX:()=>Rd,ZF7:()=>mc,Kcf:()=>Mb,e5t:()=>Ob,UyX:()=>Yy,cWb:()=>Db,osQ:()=>Pb,H5H:()=>$_,Zy3:()=>Ln,mq5:()=>V1,JZv:()=>pi,LfX:()=>Wr,plB:()=>xc,jNT:()=>cy,zjR:()=>$C,XSP:()=>Z2,TL$:()=>cb,Tbb:()=>qt,rcV:()=>Rl,nM4:()=>Fk,Vt3:()=>c_,GFd:()=>Rk,OA$:()=>Ns,Jv_:()=>Zx,aNF:()=>Jx,R7$:()=>m0,BMQ:()=>M_,HbH:()=>D1,ZvI:()=>A1,STu:()=>R1,AVh:()=>I_,wni:()=>Mx,VBU:()=>To,FsC:()=>dr,jDH:()=>wi,G2t:()=>Ki,$C:()=>Gr,EJ8:()=>hs,rXU:()=>Qc,nrm:()=>j_,eu8:()=>N_,bVm:()=>$f,qex:()=>Nf,k0s:()=>jf,j41:()=>Bf,RV6:()=>z1,xGo:()=>Fg,KVO:()=>Dt,kS0:()=>Su,QTQ:()=>Hm,bIt:()=>W_,lsd:()=>Ox,joV:()=>ph,qSk:()=>Mu,XpG:()=>fx,nI1:()=>uC,bMT:()=>pC,i5U:()=>hC,brH:()=>mC,SdG:()=>bx,NAR:()=>gx,Y8G:()=>F_,FS9:()=>H_,Mz_:()=>Hf,lJ4:()=>tC,eq3:()=>nC,l_i:()=>oC,sMw:()=>iC,ziG:()=>rC,mGM:()=>Px,sdS:()=>Fx,Njj:()=>rl,EBC:()=>Tm,tSv:()=>Fm,eBV:()=>ka,npT:()=>Em,f$h:()=>mp,B4B:()=>hp,n$t:()=>Hb,xc7:()=>S_,DNE:()=>f_,C5r:()=>fC,EFF:()=>$x,JRh:()=>K_,SpI:()=>Gf,Lme:()=>Y_,Ld:()=>X_,xRd:()=>Q_,DH7:()=>Kx,mxI:()=>J_,R50:()=>Z_,GBs:()=>Dx});let t=null,l=!1,M=1;const d=Symbol("SIGNAL");function p(n){const o=t;return t=n,o}const E={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function u(n){if(l)throw new Error("");if(null===t)return;t.consumerOnSignalRead(n);const o=t.nextProducerIndex++;Ne(t),on.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function fe(n){Ne(n);for(let o=0;o0}function Ne(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function je(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function it(n){return void 0!==n.producerNode}const Ye=Symbol("UNSET"),St=Symbol("COMPUTING"),mt=Symbol("ERRORED"),at={...E,value:Ye,dirty:!0,error:null,equal:e,producerMustRecompute:n=>n.value===Ye||n.value===St,producerRecomputeValue(n){if(n.value===St)throw new Error("Detected cycle in computations.");const o=n.value;n.value=St;const r=J(n);let c;try{c=n.computation()}catch(m){c=mt,n.error=m}finally{G(n,r)}o!==Ye&&o!==mt&&c!==mt&&n.equal(o,c)?n.value=o:(n.value=c,n.version++)}};let gt=function Ge(){throw new Error};function mn(){gt()}let Ke=null;function Bt(n,o){K()||mn(),n.equal(n.value,o)||(n.value=o,function xo(n){n.version++,function O(){M++}(),$(n),Ke?.()}(n))}const Hn={...E,equal:e,value:void 0};var Un,dn,Xt=i(84412),ln=i(21413),tn=i(18359),En=i(96354);const Vt="https://g.co/ng/security#xss";class Gt extends Error{constructor(o,r){super(Ln(o,r)),this.code=o}}function Ln(n,o){return`NG0${Math.abs(n)}${o?": "+o:""}`}function yo(n){return{toString:n}.toString()}const Ko="__parameters__";function Go(n,o,r){return yo(()=>{const c=function ei(n){return function(...r){if(n){const c=n(...r);for(const m in c)this[m]=c[m]}}}(o);function m(...x){if(this instanceof m)return c.apply(this,x),this;const S=new m(...x);return Q.annotation=S,Q;function Q(de,ze,rt){const Ut=de.hasOwnProperty(Ko)?de[Ko]:Object.defineProperty(de,Ko,{value:[]})[Ko];for(;Ut.length<=rt;)Ut.push(null);return(Ut[rt]=Ut[rt]||[]).push(S),de}}return r&&(m.prototype=Object.create(r.prototype)),m.prototype.ngMetadataName=n,m.annotationCls=m,m})}const pi=globalThis;function Pi(n){for(let o in n)if(n[o]===Pi)return o;throw Error("Could not find renamed property on target object.")}function Gn(n,o){for(const r in o)o.hasOwnProperty(r)&&!n.hasOwnProperty(r)&&(n[r]=o[r])}function qt(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(qt).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const o=n.toString();if(null==o)return""+o;const r=o.indexOf("\n");return-1===r?o:o.substring(0,r)}function Pt(n,o){return null==n||""===n?null===o?"":o:null==o||""===o?n:n+" "+o}const De=Pi({__forward_ref__:Pi});function Fe(n){return n.__forward_ref__=Fe,n.toString=function(){return qt(this())},n}function tt(n){return en(n)?n():n}function en(n){return"function"==typeof n&&n.hasOwnProperty(De)&&n.__forward_ref__===Fe}function wi(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Ki(n){return{providers:n.providers||[],imports:n.imports||[]}}function kr(n){return Yt(n,gi)||Yt(n,Ii)}function Wr(n){return null!==kr(n)}function Yt(n,o){return n.hasOwnProperty(o)?n[o]:null}function Ho(n){return n&&(n.hasOwnProperty(xi)||n.hasOwnProperty(qi))?n[xi]:null}const gi=Pi({\u0275prov:Pi}),xi=Pi({\u0275inj:Pi}),Ii=Pi({ngInjectableDef:Pi}),qi=Pi({ngInjectorDef:Pi});class bi{constructor(o,r){this._desc=o,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=wi({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function es(n){return n&&!!n.\u0275providers}const Cr=Pi({\u0275cmp:Pi}),Dr=Pi({\u0275dir:Pi}),rs=Pi({\u0275pipe:Pi}),ys=Pi({\u0275mod:Pi}),_r=Pi({\u0275fac:Pi}),Pr=Pi({__NG_ELEMENT_ID__:Pi}),ts=Pi({__NG_ENV_ID__:Pi});function hi(n){return"string"==typeof n?n:null==n?"":String(n)}function go(n,o){throw new Gt(-201,!1)}var so=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(so||{});let Wo;function si(){return Wo}function Jo(n){const o=Wo;return Wo=n,o}function L(n,o,r){const c=kr(n);return c&&"root"==c.providedIn?void 0===c.value?c.value=c.factory():c.value:r&so.Optional?null:void 0!==o?o:void go()}const Pe={},et="__NG_DI_FLAG__",We="ngTempTokenPath",jt=/\n/gm,ie="__source";let Be;function ct(n){const o=Be;return Be=n,o}function Mt(n,o=so.Default){if(void 0===Be)throw new Gt(-203,!1);return null===Be?L(n,void 0,o):Be.get(n,o&so.Optional?null:void 0,o)}function Dt(n,o=so.Default){return(si()||Mt)(tt(n),o)}function un(n,o=so.Default){return Dt(n,In(o))}function In(n){return typeof n>"u"||"number"==typeof n?n:(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function $n(n){const o=[];for(let r=0;r({token:n})),-1),Co=vo(Go("Optional"),8),So=vo(Go("SkipSelf"),4);function Or(n,o){return n.hasOwnProperty(_r)?n[_r]:null}function fr(n,o){n.forEach(r=>Array.isArray(r)?fr(r,o):o(r))}function Er(n,o,r){o>=n.length?n.push(r):n.splice(o,0,r)}function Ci(n,o){return o>=n.length-1?n.pop():n.splice(o,1)[0]}function Hr(n,o,r){let c=b(n,o);return c>=0?n[1|c]=r:(c=~c,function jr(n,o,r,c){let m=n.length;if(m==o)n.push(r,c);else if(1===m)n.push(c,n[0]),n[0]=r;else{for(m--,n.push(n[m-1],n[m]);m>o;)n[m]=n[m-2],m--;n[o]=r,n[o+1]=c}}(n,c,o,r)),c}function ks(n,o){const r=b(n,o);if(r>=0)return n[1|r]}function b(n,o){return function oe(n,o,r){let c=0,m=n.length>>r;for(;m!==c;){const x=c+(m-c>>1),S=n[x<o?m=x:c=x+1}return~(m<o){S=x-1;break}}}for(;x-1){let x;for(;++mx?"":m[rt+1].toLowerCase(),2&c&&ze!==Ut){if(jo(c))return!1;S=!0}}}}else{if(!S&&!jo(c)&&!jo(de))return!1;if(S&&jo(de))continue;S=!1,c=de|1&c}}return jo(c)||S}function jo(n){return!(1&n)}function wo(n,o,r,c){if(null===o)return-1;let m=0;if(c||!r){let x=!1;for(;m-1)for(r++;r0?'="'+Q+'"':"")+"]"}else 8&c?m+="."+S:4&c&&(m+=" "+S);else""!==m&&!jo(S)&&(o+=st(x,m),m=""),c=S,x=x||!jo(c);r++}return""!==m&&(o+=st(x,m)),o}function To(n){return yo(()=>{const o=rn(n),r={...o,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Ie.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Le.Emulated,styles:n.styles||N,_:null,schemas:n.schemas||null,tView:null,id:""};cn(r);const c=n.dependencies;return r.directiveDefs=Fn(c,!1),r.pipeDefs=Fn(c,!0),r.id=function Bo(n){let o=0;const r=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const m of r)o=Math.imul(31,o)+m.charCodeAt(0)|0;return o+=2147483648,"c"+o}(r),r})}function ki(n){return U(n)||Ce(n)}function cr(n){return null!==n}function Gr(n){return yo(()=>({type:n.type,bootstrap:n.bootstrap||N,declarations:n.declarations||N,imports:n.imports||N,exports:n.exports||N,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Ti(n,o){if(null==n)return D;const r={};for(const c in n)if(n.hasOwnProperty(c)){const m=n[c];let x,S,Q=Ae.None;Array.isArray(m)?(Q=m[0],x=m[1],S=m[2]??x):(x=m,S=m),o?(r[x]=Q!==Ae.None?[c,Q]:c,o[x]=S):r[x]=c}return r}function dr(n){return yo(()=>{const o=rn(n);return cn(o),o})}function hs(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function U(n){return n[Cr]||null}function Ce(n){return n[Dr]||null}function Ve(n){return n[rs]||null}function dt(n){const o=U(n)||Ce(n)||Ve(n);return null!==o&&o.standalone}function At(n,o){const r=n[ys]||null;if(!r&&!0===o)throw new Error(`Type ${qt(n)} does not have '\u0275mod' property.`);return r}function rn(n){const o={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:o,inputTransforms:null,inputConfig:n.inputs||D,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||N,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ti(n.inputs,o),outputs:Ti(n.outputs),debugInfo:null}}function cn(n){n.features?.forEach(o=>o(n))}function Fn(n,o){if(!n)return null;const r=o?Ve:ki;return()=>("function"==typeof n?n():n).map(c=>r(c)).filter(cr)}function ti(n){return{\u0275providers:n}}function Li(...n){return{\u0275providers:er(0,n),\u0275fromNgModule:!0}}function er(n,...o){const r=[],c=new Set;let m;const x=S=>{r.push(S)};return fr(o,S=>{const Q=S;Ai(Q,x,[],c)&&(m||=[],m.push(Q))}),void 0!==m&&Yi(m,x),r}function Yi(n,o){for(let r=0;r{o(x,c)})}}function Ai(n,o,r,c){if(!(n=tt(n)))return!1;let m=null,x=Ho(n);const S=!x&&U(n);if(x||S){if(S&&!S.standalone)return!1;m=n}else{const de=n.ngModule;if(x=Ho(de),!x)return!1;m=de}const Q=c.has(m);if(S){if(Q)return!1;if(c.add(m),S.dependencies){const de="function"==typeof S.dependencies?S.dependencies():S.dependencies;for(const ze of de)Ai(ze,o,r,c)}}else{if(!x)return!1;{if(null!=x.imports&&!Q){let ze;c.add(m);try{fr(x.imports,rt=>{Ai(rt,o,r,c)&&(ze||=[],ze.push(rt))})}finally{}void 0!==ze&&Yi(ze,o)}if(!Q){const ze=Or(m)||(()=>new m);o({provide:m,useFactory:ze,deps:N},m),o({provide:Ee,useValue:m,multi:!0},m),o({provide:Y,useValue:()=>Dt(m),multi:!0},m)}const de=x.providers;if(null!=de&&!Q){const ze=n;ss(de,rt=>{o(rt,ze)})}}}return m!==n&&void 0!==n.providers}function ss(n,o){for(let r of n)es(r)&&(r=r.\u0275providers),Array.isArray(r)?ss(r,o):o(r)}const Cs=Pi({provide:String,useValue:Pi});function ms(n){return null!==n&&"object"==typeof n&&Cs in n}function Yr(n){return"function"==typeof n}const la=new bi(""),Ss={},Ea={};let Qs;function js(){return void 0===Qs&&(Qs=new _e),Qs}class gs{}class Vs extends gs{get destroyed(){return this._destroyed}constructor(o,r,c,m){super(),this.parent=r,this.source=c,this.scopes=m,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zs(o,S=>this.processProvider(S)),this.records.set(xe,ua(void 0,this)),m.has("environment")&&this.records.set(gs,ua(void 0,this));const x=this.records.get(la);null!=x&&"string"==typeof x.value&&this.scopes.add(x.value),this.injectorDefTypes=new Set(this.get(Ee,N,so.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const o=p(null);try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const c of r)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),p(o)}}onDestroy(o){return this.assertNotDestroyed(),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){this.assertNotDestroyed();const r=ct(this),c=Jo(void 0);try{return o()}finally{ct(r),Jo(c)}}get(o,r=Pe,c=so.Default){if(this.assertNotDestroyed(),o.hasOwnProperty(ts))return o[ts](this);c=In(c);const x=ct(this),S=Jo(void 0);try{if(!(c&so.SkipSelf)){let de=this.records.get(o);if(void 0===de){const ze=function ca(n){return"function"==typeof n||"object"==typeof n&&n instanceof bi}(o)&&kr(o);de=ze&&this.injectableDefInScope(ze)?ua(Ia(o),Ss):null,this.records.set(o,de)}if(null!=de)return this.hydrate(o,de)}return(c&so.Self?js():this.parent).get(o,r=c&so.Optional&&r===Pe?null:r)}catch(Q){if("NullInjectorError"===Q.name){if((Q[We]=Q[We]||[]).unshift(qt(o)),x)throw Q;return function po(n,o,r,c){const m=n[We];throw o[ie]&&m.unshift(o[ie]),n.message=function uo(n,o,r,c=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let m=qt(o);if(Array.isArray(o))m=o.map(qt).join(" -> ");else if("object"==typeof o){let x=[];for(let S in o)if(o.hasOwnProperty(S)){let Q=o[S];x.push(S+":"+("string"==typeof Q?JSON.stringify(Q):qt(Q)))}m=`{${x.join(", ")}}`}return`${r}${c?"("+c+")":""}[${m}]: ${n.replace(jt,"\n ")}`}("\n"+n.message,m,r,c),n.ngTokenPath=m,n[We]=null,n}(Q,o,"R3InjectorError",this.source)}throw Q}finally{Jo(S),ct(x)}}resolveInjectorInitializers(){const o=p(null),r=ct(this),c=Jo(void 0);try{const x=this.get(Y,N,so.Self);for(const S of x)S()}finally{ct(r),Jo(c),p(o)}}toString(){const o=[],r=this.records;for(const c of r.keys())o.push(qt(c));return`R3Injector[${o.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Gt(205,!1)}processProvider(o){let r=Yr(o=tt(o))?o:tt(o&&o.provide);const c=function ya(n){return ms(n)?ua(void 0,n.useValue):ua(Aa(n),Ss)}(o);if(!Yr(o)&&!0===o.multi){let m=this.records.get(r);m||(m=ua(void 0,Ss,!0),m.factory=()=>$n(m.multi),this.records.set(r,m)),r=o,m.multi.push(o)}this.records.set(r,c)}hydrate(o,r){const c=p(null);try{return r.value===Ss&&(r.value=Ea,r.value=r.factory()),"object"==typeof r.value&&r.value&&function Za(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{p(c)}}injectableDefInScope(o){if(!o.providedIn)return!1;const r=tt(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 Ia(n){const o=kr(n),r=null!==o?o.factory:Or(n);if(null!==r)return r;if(n instanceof bi)throw new Gt(204,!1);if(n instanceof Function)return function Qa(n){if(n.length>0)throw new Gt(204,!1);const r=function io(n){return n&&(n[gi]||n[Ii])||null}(n);return null!==r?()=>r.factory(n):()=>new n}(n);throw new Gt(204,!1)}function Aa(n,o,r){let c;if(Yr(n)){const m=tt(n);return Or(m)||Ia(m)}if(ms(n))c=()=>tt(n.useValue);else if(function Xs(n){return!(!n||!n.useFactory)}(n))c=()=>n.useFactory(...$n(n.deps||[]));else if(function Ls(n){return!(!n||!n.useExisting)}(n))c=()=>Dt(tt(n.useExisting));else{const m=tt(n&&(n.useClass||n.provide));if(!function Na(n){return!!n.deps}(n))return Or(m)||Ia(m);c=()=>new m(...$n(n.deps))}return c}function ua(n,o,r=!1){return{factory:n,value:o,multi:r?[]:void 0}}function Zs(n,o){for(const r of n)Array.isArray(r)?Zs(r,o):r&&es(r)?Zs(r.\u0275providers,o):o(r)}function va(n,o){n instanceof Vs&&n.assertNotDestroyed();const c=ct(n),m=Jo(void 0);try{return o()}finally{ct(c),Jo(m)}}function Ja(){return void 0!==si()||null!=function Qe(){return Be}()}const Fr=0,Zo=1,Ei=2,yr=3,ns=4,Jr=5,Es=6,da=7,qr=8,as=9,fs=10,Xi=11,ws=12,Is=13,ds=14,cs=15,Js=16,us=17,pa=18,qs=19,wa=20,ha=21,$a=22,Bs=23,Mi=25,Ra=1,Ma=7,y=9,f=10;var C=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(C||{});function P(n){return Array.isArray(n)&&"object"==typeof n[Ra]}function B(n){return Array.isArray(n)&&!0===n[Ra]}function H(n){return!!(4&n.flags)}function ne(n){return n.componentOffset>-1}function me(n){return!(1&~n.flags)}function Se(n){return!!n.template}function ft(n){return!!(512&n[Ei])}class ma{constructor(o,r,c){this.previousValue=o,this.currentValue=r,this.firstChange=c}isFirstChange(){return this.firstChange}}function As(n,o,r,c){null!==o?o.applyValueToInputSignal(o,c):n[r]=c}function Ns(){return fa}function fa(n){return n.type.prototype.ngOnChanges&&(n.setInput=Ul),ea}function ea(){const n=La(this),o=n?.current;if(o){const r=n.previous;if(r===D)n.previous=o;else for(let c in o)r[c]=o[c];n.current=null,this.ngOnChanges(o)}}function Ul(n,o,r,c,m){const x=this.declaredInputs[c],S=La(n)||function nc(n,o){return n[dl]=o}(n,{previous:D,current:null}),Q=S.current||(S.current={}),de=S.previous,ze=de[x];Q[x]=new ma(ze&&ze.currentValue,r,de===D),As(n,o,m,r)}Ns.ngInherit=!0;const dl="__ngSimpleChanges__";function La(n){return n[dl]||null}const j=function(n,o,r){},le="svg";function T(n){for(;Array.isArray(n);)n=n[Fr];return n}function R(n,o){return T(o[n])}function V(n,o){return T(o[n.index])}function $e(n,o){return n.data[o]}function vt(n,o){return n[o]}function Rt(n,o){const r=o[n];return P(r)?r:r[Fr]}function Vn(n){return!(128&~n[Ei])}function Xo(n,o){return null==o?null:n[o]}function qo(n){n[us]=0}function oi(n){1024&n[Ei]||(n[Ei]|=1024,Vn(n)&&ur(n))}function Bi(n){return!!(9216&n[Ei]||n[Bs]?.dirty)}function Hi(n){n[fs].changeDetectionScheduler?.notify(8),64&n[Ei]&&(n[Ei]|=1024),Bi(n)&&ur(n)}function ur(n){n[fs].changeDetectionScheduler?.notify(0);let o=br(n);for(;null!==o&&!(8192&o[Ei])&&(o[Ei]|=8192,Vn(o));)o=br(o)}function Vr(n,o){if(!(256&~n[Ei]))throw new Gt(911,!1);null===n[ha]&&(n[ha]=[]),n[ha].push(o)}function br(n){const o=n[yr];return B(o)?o[yr]:o}const Vi={lFrame:rc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Us=!1;function ic(){return Vi.bindingsEnabled}function pl(){return null!==Vi.skipHydrationRootTNode}function Eo(){return Vi.lFrame.lView}function pr(){return Vi.lFrame.tView}function ka(n){return Vi.lFrame.contextLView=n,n[qr]}function rl(n){return Vi.lFrame.contextLView=null,n}function sr(){let n=Dc();for(;null!==n&&64===n.type;)n=n.parent;return n}function Dc(){return Vi.lFrame.currentTNode}function vs(n,o){const r=Vi.lFrame;r.currentTNode=n,r.isParent=o}function sl(){return Vi.lFrame.isParent}function xa(){Vi.lFrame.isParent=!1}function ah(){return Us}function lh(n){Us=n}function Pa(){const n=Vi.lFrame;let o=n.bindingRootIndex;return-1===o&&(o=n.bindingRootIndex=n.tView.bindingStartIndex),o}function Pl(){return Vi.lFrame.bindingIndex}function ch(n){return Vi.lFrame.bindingIndex=n}function Ua(){return Vi.lFrame.bindingIndex++}function el(n){const o=Vi.lFrame,r=o.bindingIndex;return o.bindingIndex=o.bindingIndex+n,r}function wy(n,o){const r=Vi.lFrame;r.bindingIndex=r.bindingRootIndex=n,ku(o)}function ku(n){Vi.lFrame.currentDirectiveIndex=n}function Pc(){return Vi.lFrame.currentQueryIndex}function Cu(n){Vi.lFrame.currentQueryIndex=n}function pg(n){const o=n[Zo];return 2===o.type?o.declTNode:1===o.type?n[Jr]:null}function hd(n,o,r){if(r&so.SkipSelf){let m=o,x=n;for(;!(m=m.parent,null!==m||r&so.Host||(m=pg(x),null===m||(x=x[ds],10&m.type))););if(null===m)return!1;o=m,n=x}const c=Vi.lFrame=Hl();return c.currentTNode=o,c.lView=n,!0}function Eu(n){const o=Hl(),r=n[Zo];Vi.lFrame=o,o.currentTNode=r.firstChild,o.lView=n,o.tView=r,o.contextLView=n,o.bindingIndex=r.bindingStartIndex,o.inI18n=!1}function Hl(){const n=Vi.lFrame,o=null===n?null:n.child;return null===o?rc(n):o}function rc(n){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:n,child:null,inI18n:!1};return null!==n&&(n.child=o),o}function uh(){const n=Vi.lFrame;return Vi.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const md=uh;function Oc(){const n=uh();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function ga(){return Vi.lFrame.selectedIndex}function Gl(n){Vi.lFrame.selectedIndex=n}function Ds(){const n=Vi.lFrame;return $e(n.tView,n.selectedIndex)}function Mu(){Vi.lFrame.currentNamespace=le}function ph(){!function mg(){Vi.lFrame.currentNamespace=null}()}let mh=!0;function Fc(){return mh}function Wa(n){mh=n}function Tc(n,o){for(let r=o.directiveStart,c=o.directiveEnd;r=c)break}else o[de]<0&&(n[us]+=65536),(Q>14>16&&(3&n[Ei])===o&&(n[Ei]+=16384,bh(Q,x)):bh(Q,x)}const Sc=-1;class Ic{constructor(o,r,c){this.factory=o,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=c}}const _h={};class Kl{constructor(o,r){this.injector=o,this.parentInjector=r}get(o,r,c){c=In(c);const m=this.injector.get(o,_h,c);return m!==_h||r===_h?m:this.parentInjector.get(o,r,c)}}function Ou(n){return n!==Sc}function Ol(n){return 32767&n}function sc(n,o){let r=function kg(n){return n>>16}(n),c=o;for(;r>0;)c=c[ds],r--;return c}let gd=!0;function bd(n){const o=gd;return gd=n,o}const xg=255,vh=5;let Oy=0;const hl={};function _d(n,o){const r=kh(n,o);if(-1!==r)return r;const c=o[Zo];c.firstCreatePass&&(n.injectorIndex=o.length,Fu(c.data,n),Fu(o,null),Fu(c.blueprint,null));const m=yd(n,o),x=n.injectorIndex;if(Ou(m)){const S=Ol(m),Q=sc(m,o),de=Q[Zo].data;for(let ze=0;ze<8;ze++)o[x+ze]=Q[S+ze]|de[S+ze]}return o[x+8]=m,x}function Fu(n,o){n.push(0,0,0,0,0,0,0,0,o)}function kh(n,o){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===o[n.injectorIndex+8]?-1:n.injectorIndex}function yd(n,o){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let r=0,c=null,m=o;for(;null!==m;){if(c=Mh(m),null===c)return Sc;if(r++,m=m[ds],-1!==c.injectorIndex)return c.injectorIndex|r<<16}return Sc}function xh(n,o,r){!function Fy(n,o,r){let c;"string"==typeof r?c=r.charCodeAt(0)||0:r.hasOwnProperty(Pr)&&(c=r[Pr]),null==c&&(c=r[Pr]=Oy++);const m=c&xg;o.data[n+(m>>vh)]|=1<=0?o&xg:Og:o}(r);if("function"==typeof x){if(!hd(o,n,c))return c&so.Host?Eg(m,0,c):Ch(o,r,c,m);try{let S;if(S=x(c),null!=S||c&so.Optional)return S;go()}finally{md()}}else if("number"==typeof x){let S=null,Q=kh(n,o),de=Sc,ze=c&so.Host?o[cs][Jr]:null;for((-1===Q||c&so.SkipSelf)&&(de=-1===Q?yd(n,o):o[Q+8],de!==Sc&&wh(c,!1)?(S=o[Zo],Q=Ol(de),o=sc(de,o)):Q=-1);-1!==Q;){const rt=o[Zo];if(Pg(x,Q,rt.data)){const Ut=Mg(Q,o,r,S,c,ze);if(Ut!==hl)return Ut}de=o[Q+8],de!==Sc&&wh(c,o[Zo].data[Q+8]===ze)&&Pg(x,Q,o)?(S=rt,Q=Ol(de),o=sc(de,o)):Q=-1}}return m}function Mg(n,o,r,c,m,x){const S=o[Zo],Q=S.data[n+8],rt=vd(Q,S,r,null==c?ne(Q)&&gd:c!=S&&!!(3&Q.type),m&so.Host&&x===Q);return null!==rt?ac(o,S,rt,Q):hl}function vd(n,o,r,c,m){const x=n.providerIndexes,S=o.data,Q=1048575&x,de=n.directiveStart,rt=x>>20,xn=m?Q+rt:n.directiveEnd;for(let Rn=c?Q:Q+rt;Rn=de&&to.type===r)return Rn}if(m){const Rn=S[de];if(Rn&&Se(Rn)&&Rn.type===r)return de}return null}function ac(n,o,r,c){let m=n[r];const x=o.data;if(function My(n){return n instanceof Ic}(m)){const S=m;S.resolving&&function Zt(n,o){throw o&&o.join(" > "),new Gt(-200,n)}(function yt(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():hi(n)}(x[r]));const Q=bd(S.canSeeViewProviders);S.resolving=!0;const ze=S.injectImpl?Jo(S.injectImpl):null;hd(n,c,so.Default);try{m=n[r]=S.factory(void 0,x,n,c),o.firstCreatePass&&r>=c.directiveStart&&function fg(n,o,r){const{ngOnChanges:c,ngOnInit:m,ngDoCheck:x}=o.type.prototype;if(c){const S=fa(o);(r.preOrderHooks??=[]).push(n,S),(r.preOrderCheckHooks??=[]).push(n,S)}m&&(r.preOrderHooks??=[]).push(0-n,m),x&&((r.preOrderHooks??=[]).push(n,x),(r.preOrderCheckHooks??=[]).push(n,x))}(r,x[r],o)}finally{null!==ze&&Jo(ze),bd(Q),S.resolving=!1,md()}}return m}function Pg(n,o,r){return!!(r[o+(n>>vh)]&1<{const o=n.prototype.constructor,r=o[_r]||Tu(o),c=Object.prototype;let m=Object.getPrototypeOf(n.prototype).constructor;for(;m&&m!==c;){const x=m[_r]||Tu(m);if(x&&x!==r)return x;m=Object.getPrototypeOf(m)}return x=>new x})}function Tu(n){return en(n)?()=>{const o=Tu(tt(n));return o&&o()}:Or(n)}function Mh(n){const o=n[Zo],r=o.type;return 2===r?o.declTNode:1===r?n[Jr]:null}function Su(n){return function Cg(n,o){if("class"===o)return n.classes;if("style"===o)return n.styles;const r=n.attrs;if(r){const c=r.length;let m=0;for(;mDt(xe)}),Un.__NG_ELEMENT_ID__=-1,new bi("").__NG_ELEMENT_ID__=n=>{const o=sr();if(null===o)throw new Gt(204,!1);if(2&o.type)return o.value;if(n&so.Optional)return null;throw new Gt(204,!1)};function Lu(n){return n.ngOriginalError}const Ng=!0;let Rc=(()=>{var n;class o{}return(n=o).__NG_ELEMENT_ID__=$g,n.__NG_ENV_ID__=r=>r,o})();class Ay extends Rc{constructor(o){super(),this._lView=o}onDestroy(o){return Vr(this._lView,o),()=>function xs(n,o){if(null===n[ha])return;const r=n[ha].indexOf(o);-1!==r&&n[ha].splice(r,1)}(this._lView,o)}}function $g(){return new Ay(Eo())}let Yl=(()=>{var n;class o{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Xt.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const c=this.taskId++;return this.pendingTasks.add(c),c}remove(c){this.pendingTasks.delete(c),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}return(n=o).\u0275prov=wi({token:n,providedIn:"root",factory:()=>new n}),o})();const ml=class Ly extends ln.B{constructor(o=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=o,Ja()&&(this.destroyRef=un(Rc,{optional:!0})??void 0,this.pendingTasks=un(Yl,{optional:!0})??void 0)}emit(o){const r=p(null);try{super.next(o)}finally{p(r)}}subscribe(o,r,c){let m=o,x=r||(()=>null),S=c;if(o&&"object"==typeof o){const de=o;m=de.next?.bind(de),x=de.error?.bind(de),S=de.complete?.bind(de)}this.__isAsync&&(x=this.wrapInTimeout(x),m&&(m=this.wrapInTimeout(m)),S&&(S=this.wrapInTimeout(S)));const Q=super.subscribe({next:m,error:x,complete:S});return o instanceof tn.yU&&o.add(Q),Q}wrapInTimeout(o){return r=>{const c=this.pendingTasks?.add();setTimeout(()=>{o(r),void 0!==c&&this.pendingTasks?.remove(c)})}}};function Va(...n){}function zg(n){let o,r;function c(){n=Va;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==o&&clearTimeout(o)}catch{}}return o=setTimeout(()=>{n(),c()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{n(),c()})),()=>c()}function Ih(n){return queueMicrotask(()=>n()),()=>{n=Va}}const Bu="isAngularZone",kd=Bu+"_ID";let Ug=0;class Ps{constructor(o){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ml(!1),this.onMicrotaskEmpty=new ml(!1),this.onStable=new ml(!1),this.onError=new ml(!1);const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:c=!1,shouldCoalesceRunChangeDetection:m=!1,scheduleInRootZone:x=Ng}=o;if(typeof Zone>"u")throw new Gt(908,!1);Zone.assertZonePatched();const S=this;S._nesting=0,S._outer=S._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(S._inner=S._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(S._inner=S._inner.fork(Zone.longStackTraceZoneSpec)),S.shouldCoalesceEventChangeDetection=!m&&c,S.shouldCoalesceRunChangeDetection=m,S.callbackScheduled=!1,S.scheduleInRootZone=x,function tl(n){const o=()=>{!function Wg(n){function o(){zg(()=>{n.callbackScheduled=!1,al(n),n.isCheckStableRunning=!0,ju(n),n.isCheckStableRunning=!1})}n.isCheckStableRunning||n.callbackScheduled||(n.callbackScheduled=!0,n.scheduleInRootZone?Zone.root.run(()=>{o()}):n._outer.run(()=>{o()}),al(n))}(n)},r=Ug++;n._inner=n._inner.fork({name:"angular",properties:{[Bu]:!0,[kd]:r,[kd+r]:!0},onInvokeTask:(c,m,x,S,Q,de)=>{if(function $u(n){return ll(n,"__ignore_ng_zone__")}(de))return c.invokeTask(x,S,Q,de);try{return Fl(n),c.invokeTask(x,S,Q,de)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===S.type||n.shouldCoalesceRunChangeDetection)&&o(),Ah(n)}},onInvoke:(c,m,x,S,Q,de,ze)=>{try{return Fl(n),c.invoke(x,S,Q,de,ze)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!function zu(n){return ll(n,"__scheduler_tick__")}(de)&&o(),Ah(n)}},onHasTask:(c,m,x,S)=>{c.hasTask(x,S),m===x&&("microTask"==S.change?(n._hasPendingMicrotasks=S.microTask,al(n),ju(n)):"macroTask"==S.change&&(n.hasPendingMacrotasks=S.macroTask))},onHandleError:(c,m,x,S)=>(c.handleError(x,S),n.runOutsideAngular(()=>n.onError.emit(S)),!1)})}(S)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Bu)}static assertInAngularZone(){if(!Ps.isInAngularZone())throw new Gt(909,!1)}static assertNotInAngularZone(){if(Ps.isInAngularZone())throw new Gt(909,!1)}run(o,r,c){return this._inner.run(o,r,c)}runTask(o,r,c,m){const x=this._inner,S=x.scheduleEventTask("NgZoneEvent: "+m,o,By,Va,Va);try{return x.runTask(S,r,c)}finally{x.cancelTask(S)}}runGuarded(o,r,c){return this._inner.runGuarded(o,r,c)}runOutsideAngular(o){return this._outer.run(o)}}const By={};function ju(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function al(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&!0===n.callbackScheduled)}function Fl(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Ah(n){n._nesting--,ju(n)}class Nu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ml,this.onMicrotaskEmpty=new ml,this.onStable=new ml,this.onError=new ml}run(o,r,c){return o.apply(r,c)}runGuarded(o,r,c){return o.apply(r,c)}runOutsideAngular(o){return o()}runTask(o,r,c,m){return o.apply(r,c)}}function ll(n,o){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0]?.data?.[o]}class kl{constructor(){this._console=console}handleError(o){const r=this._findOriginalError(o);this._console.error("ERROR",o),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(o){let r=o&&Lu(o);for(;r&&Lu(r);)r=Lu(r);return r||null}}const Vg=new bi("",{providedIn:"root",factory:()=>{const n=un(Ps),o=un(kl);return r=>n.runOutsideAngular(()=>o.handleError(r))}});function Kg(){return cc(sr(),Eo())}function cc(n,o){return new fl(V(n,o))}let fl=(()=>{class o{constructor(c){this.nativeElement=c}}return o.__NG_ELEMENT_ID__=Kg,o})();function Bh(n){return n instanceof fl?n.nativeElement:n}function Tl(){return this._results[Symbol.iterator]()}class Cd{get changes(){return this._changes??=new ml}constructor(o=!1){this._emitDistinctChangesOnly=o,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const r=Cd.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=Tl)}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 c=function fi(n){return n.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function Lr(n,o,r){if(n.length!==o.length)return!1;for(let c=0;cdb}),db="ng",rm=new bi(""),Ku=new bi("",{providedIn:"platform",factory:()=>"unknown"}),zy=new bi(""),ub=new bi("",{providedIn:"root",factory:()=>Ql().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let mb=()=>null;function tp(n,o,r=!1){return mb(n,o,r)}const um=new bi("",{providedIn:"root",factory:()=>!1});let bl,Ad;function Al(n){return function Id(){if(void 0===bl&&(bl=null,pi.trustedTypes))try{bl=pi.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return bl}()?.createHTML(n)||n}function ap(){if(void 0===Ad&&(Ad=null,pi.trustedTypes))try{Ad=pi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ad}function hm(n){return ap()?.createHTML(n)||n}function mm(n){return ap()?.createScriptURL(n)||n}class El{constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Vt})`}}class fm extends El{getTypeName(){return"HTML"}}class gm extends El{getTypeName(){return"Style"}}class Cb extends El{getTypeName(){return"Script"}}class Ky extends El{getTypeName(){return"URL"}}class Eb extends El{getTypeName(){return"ResourceURL"}}function Rl(n){return n instanceof El?n.changingThisBreaksApplicationSecurity:n}function mc(n,o){const r=function wb(n){return n instanceof El&&n.getTypeName()||null}(n);if(null!=r&&r!==o){if("ResourceURL"===r&&"URL"===o)return!0;throw new Error(`Required a safe ${o}, got a ${r} (see ${Vt})`)}return r===o}function Mb(n){return new fm(n)}function Db(n){return new gm(n)}function Yy(n){return new Cb(n)}function Pb(n){return new Ky(n)}function Ob(n){return new Eb(n)}class lp{constructor(o){this.inertDocumentHelper=o}getInertBodyElement(o){o=""+o;try{const r=(new window.DOMParser).parseFromString(Al(o),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(o):(r.firstChild?.remove(),r)}catch{return null}}}class Xy{constructor(o){this.defaultDoc=o,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(o){const r=this.inertDocument.createElement("template");return r.innerHTML=Al(o),r}}const Tb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Rd(n){return(n=String(n)).match(Tb)?n:"unsafe:"+n}function Ll(n){const o={};for(const r of n.split(","))o[r]=!0;return o}function Gc(...n){const o={};for(const r of n)for(const c in r)r.hasOwnProperty(c)&&(o[c]=!0);return o}const Sb=Ll("area,br,col,hr,img,wbr"),_m=Ll("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ym=Ll("rp,rt"),cp=Gc(Sb,Gc(_m,Ll("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")),Gc(ym,Ll("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")),Gc(ym,_m)),dp=Ll("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ab=Gc(dp,Ll("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"),Ll("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")),Rb=Ll("script,style,template");class Zy{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(o){let r=o.firstChild,c=!0,m=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?c=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,c&&r.firstChild)m.push(r),r=jb(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let x=Bb(r);if(x){r=x;break}r=m.pop()}return this.buf.join("")}startElement(o){const r=km(o).toLowerCase();if(!cp.hasOwnProperty(r))return this.sanitizedSomething=!0,!Rb.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const c=o.attributes;for(let m=0;m"),!0}endElement(o){const r=km(o).toLowerCase();cp.hasOwnProperty(r)&&!Sb.hasOwnProperty(r)&&(this.buf.push(""))}chars(o){this.buf.push(xm(o))}}function Bb(n){const o=n.nextSibling;if(o&&n!==o.previousSibling)throw Nb(o);return o}function jb(n){const o=n.firstChild;if(o&&function Lb(n,o){return(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,o))throw Nb(o);return o}function km(n){const o=n.nodeName;return"string"==typeof o?o:"FORM"}function Nb(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const $b=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jy=/([^\#-~ |!])/g;function xm(n){return n.replace(/&/g,"&").replace($b,function(o){return"&#"+(1024*(o.charCodeAt(0)-55296)+(o.charCodeAt(1)-56320)+65536)+";"}).replace(Jy,function(o){return"&#"+o.charCodeAt(0)+";"}).replace(//g,">")}let up;function Cm(n,o){let r=null;try{up=up||function bm(n){const o=new Xy(n);return function Fb(){try{return!!(new window.DOMParser).parseFromString(Al(""),"text/html")}catch{return!1}}()?new lp(o):o}(n);let c=o?String(o):"";r=up.getInertBodyElement(c);let m=5,x=c;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,c=x,x=r.innerHTML,r=up.getInertBodyElement(c)}while(c!==x);return Al((new Zy).sanitizeChildren(pp(r)||r))}finally{if(r){const c=pp(r)||r;for(;c.firstChild;)c.firstChild.remove()}}}function pp(n){return"content"in n&&function zb(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var fc=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(fc||{});function Em(n){const o=gc();return o?hm(o.sanitize(fc.HTML,n)||""):mc(n,"HTML")?hm(Rl(n)):Cm(Ql(),hi(n))}function hp(n){const o=gc();return o?o.sanitize(fc.URL,n)||"":mc(n,"URL")?Rl(n):Rd(hi(n))}function mp(n){const o=gc();if(o)return mm(o.sanitize(fc.RESOURCE_URL,n)||"");if(mc(n,"ResourceURL"))return mm(Rl(n));throw new Gt(904,!1)}function Hb(n,o,r){return function Vb(n,o){return"src"===o&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===o&&("base"===n||"link"===n)?mp:hp}(o,r)(n)}function gc(){const n=Eo();return n&&n[fs].sanitizer}const Gb=/^>|^->||--!>|)/g,Yb="\u200b$1\u200b";function Fm(n){return n.ownerDocument.defaultView}function Tm(n){return n.ownerDocument}function Ta(n){return n instanceof Function?n():n}var jd=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(jd||{});let Am;function bp(n,o){return Am(n,o)}function _c(n,o,r,c,m){if(null!=c){let x,S=!1;B(c)?x=c:P(c)&&(S=!0,c=c[Fr]);const Q=T(c);0===n&&null!==r?null==m?a0(o,r,Q):yc(o,r,Q,m||null,!0):1===n&&null!==r?yc(o,r,Q,m||null,!0):2===n?function Xc(n,o,r){n.removeChild(null,o,r)}(o,Q,S):3===n&&o.destroyNode(Q),null!=x&&function bv(n,o,r,c,m){const x=r[Ma];x!==T(r)&&_c(o,n,c,x,m);for(let Q=f;Qo.replace(Kb,Yb))}(o))}function Nd(n,o,r){return n.createElement(o,r)}function n0(n,o){o[fs].changeDetectionScheduler?.notify(9),Ep(n,o,o[Xi],2,null,null)}function Ar(n,o){const r=n[y],c=o[yr];(P(c)||o[cs]!==c[yr][cs])&&(n[Ei]|=C.HasTransplantedViews),null===r?n[y]=[o]:r.push(o)}function yp(n,o){const r=n[y],c=r.indexOf(o);r.splice(c,1)}function $d(n,o){if(n.length<=f)return;const r=f+o,c=n[r];if(c){const m=c[Js];null!==m&&m!==n&&yp(m,c),o>0&&(n[r-1][ns]=c[ns]);const x=Ci(n,f+o);!function e0(n,o){n0(n,o),o[Fr]=null,o[Jr]=null}(c[Zo],c);const S=x[pa];null!==S&&S.detachView(x[Zo]),c[yr]=null,c[ns]=null,c[Ei]&=-129}return c}function zd(n,o){if(!(256&o[Ei])){const r=o[Xi];r.destroyNode&&Ep(n,o,r,3,null,null),function o0(n){let o=n[ws];if(!o)return vp(n[Zo],n);for(;o;){let r=null;if(P(o))r=o[ws];else{const c=o[f];c&&(r=c)}if(!r){for(;o&&!o[ns]&&o!==n;)P(o)&&vp(o[Zo],o),o=o[yr];null===o&&(o=n),P(o)&&vp(o[Zo],o),r=o&&o[ns]}o=r}}(o)}}function vp(n,o){if(256&o[Ei])return;const r=p(null);try{o[Ei]&=-129,o[Ei]|=256,o[Bs]&&he(o[Bs]),function Ud(n,o){let r;if(null!=n&&null!=(r=n.destroyHooks))for(let c=0;c=0?c[S]():c[-S].unsubscribe(),x+=2}else r[x].call(c[r[x+1]]);null!==c&&(o[da]=null);const m=o[ha];if(null!==m){o[ha]=null;for(let x=0;x-1){const{encapsulation:x}=n.data[c.directiveStart+m];if(x===Le.None||x===Le.Emulated)return null}return V(c,r)}}(n,o.parent,r)}function yc(n,o,r,c,m){n.insertBefore(o,r,c,m)}function a0(n,o,r){n.appendChild(o,r)}function l0(n,o,r,c,m){null!==c?yc(n,o,r,c,m):a0(n,o,r)}function xp(n,o){return n.parentNode(o)}function na(n,o,r){return Ur(n,o,r)}let jm,Ur=function d0(n,o,r){return 40&n.type?V(n,r):null};function Cp(n,o,r,c){const m=kp(n,c,o),x=o[Xi],Q=na(c.parent||o[Jr],c,o);if(null!=m)if(Array.isArray(r))for(let de=0;deMi&&Vm(n,o,Mi,!1),j(S?2:0,m),r(c,m)}finally{Gl(x),j(S?3:1,m)}}function Km(n,o,r){if(H(o)){const c=p(null);try{const x=o.directiveEnd;for(let S=o.directiveStart;Snull;function x0(n,o,r,c,m){for(let x in o){if(!o.hasOwnProperty(x))continue;const S=o[x];if(void 0===S)continue;c??={};let Q,de=Ae.None;Array.isArray(S)?(Q=S[0],de=S[1]):Q=S;let ze=x;if(null!==m){if(!m.hasOwnProperty(x))continue;ze=m[x]}0===n?C0(c,r,ze,Q,de):C0(c,r,ze,Q)}return c}function C0(n,o,r,c,m){let x;n.hasOwnProperty(r)?(x=n[r]).push(o,c):x=n[r]=[o,c],void 0!==m&&x.push(m)}function Ga(n,o,r,c,m,x,S,Q){const de=V(o,r);let rt,ze=o.inputs;!Q&&null!=ze&&(rt=ze[c])?(Tp(n,r,rt,c,m),ne(o)&&function Ev(n,o){const r=Rt(o,n);16&r[Ei]||(r[Ei]|=64)}(r,o.index)):3&o.type&&(c=function Cv(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(c),m=null!=S?S(m,o.value||"",c):m,x.setProperty(de,c,m))}function Zm(n,o,r,c){if(ic()){const m=null===c?null:{"":-1},x=function Pv(n,o){const r=n.directiveRegistry;let c=null,m=null;if(r)for(let x=0;x0;){const r=n[--o];if("number"==typeof r&&r<0)return r}return 0})(S)!=Q&&S.push(Q),S.push(r,c,x)}}(n,o,c,Vd(n,r,m.hostVars,Tr),m)}function _l(n,o,r,c,m,x){const S=V(n,o);!function ef(n,o,r,c,m,x,S){if(null==x)n.removeAttribute(o,m,r);else{const Q=null==S?hi(x):S(x,c||"",m);n.setAttribute(o,m,Q,r)}}(o[Xi],S,x,n.value,r,c,m)}function Iv(n,o,r,c,m,x){const S=x[o];if(null!==S)for(let Q=0;Q0&&(r[m-1][ns]=o),c{ur(n.lView)},consumerOnSignalRead(){this.lView[Bs]=this}},df={...E,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let o=br(n.lView);for(;o&&!uf(o[Zo]);)o=br(o);o&&oi(o)},consumerOnSignalRead(){this.lView[Bs]=this}};function uf(n){return 2!==n.type}const L0=100;function qc(n,o=!0,r=0){const c=n[fs],m=c.rendererFactory;m.begin?.();try{!function B0(n,o){const r=ah();try{lh(!0),Ip(n,o);let c=0;for(;Bi(n);){if(c===L0)throw new Gt(103,!1);c++,Ip(n,1)}}finally{lh(r)}}(n,r)}catch(S){throw o&&Fp(n,S),S}finally{m.end?.(),c.inlineEffectRunner?.flush()}}function j0(n,o,r,c){const m=o[Ei];if(!(256&~m))return;o[fs].inlineEffectRunner?.flush(),Eu(o);let Q=!0,de=null,ze=null;uf(n)?(ze=function T0(n){return n[Bs]??function S0(n){const o=cf.pop()??Object.create(A0);return o.lView=n,o}(n)}(o),de=J(ze)):null===function a(){return t}()?(Q=!1,ze=function R0(n){const o=n[Bs]??Object.create(df);return o.lView=n,o}(o),de=J(ze)):o[Bs]&&(he(o[Bs]),o[Bs]=null);try{qo(o),ch(n.bindingStartIndex),null!==r&&g0(n,o,r,2,c);const rt=!(3&~m);if(rt){const Rn=n.preOrderCheckHooks;null!==Rn&&Du(o,Rn,null)}else{const Rn=n.preOrderHooks;null!==Rn&&fd(o,Rn,0,null),fh(o,0)}if(function N0(n){for(let o=Yh(n);null!==o;o=Gu(o)){if(!(o[Ei]&C.HasTransplantedViews))continue;const r=o[y];for(let c=0;c-1&&($d(o,c),Ci(r,c))}this._attachedToViewContainer=!1}zd(this._lView[Zo],this._lView)}onDestroy(o){Vr(this._lView,o)}markForCheck(){ed(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ei]&=-129}reattach(){Hi(this._lView),this._lView[Ei]|=128}detectChanges(){this._lView[Ei]|=1024,qc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Gt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const o=ft(this._lView),r=this._lView[Js];null!==r&&!o&&yp(r,this._lView),n0(this._lView[Zo],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new Gt(902,!1);this._appRef=o;const r=ft(this._lView),c=this._lView[Js];null!==c&&!r&&Ar(c,this._lView),Hi(this._lView)}}let nd=(()=>{class o{}return o.__NG_ELEMENT_ID__=bf,o})();const $0=nd,z0=class extends $0{constructor(o,r,c){super(),this._declarationLView=o,this._declarationTContainer=r,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,r){return this.createEmbeddedViewImpl(o,r)}createEmbeddedViewImpl(o,r,c){const m=Zc(this._declarationLView,this._declarationTContainer,o,{embeddedViewInjector:r,dehydratedView:c});return new td(m)}};function bf(){return k(sr(),Eo())}function k(n,o){return 4&n.type?new z0(o,n,cc(n,o)):null}let Kv=()=>null;function rd(n,o){return Kv(n,o)}class Yd{}const Bp=new bi("",{providedIn:"root",factory:()=>!1}),Yv=new bi(""),X0=new bi("");class vw{}class Xv{}class xw{resolveComponentFactory(o){throw function kw(n){const o=Error(`No component factory found for ${qt(n)}.`);return o.ngComponent=n,o}(o)}}class Xd{}Xd.NULL=new xw;class Q0{}let Cw=(()=>{class o{constructor(){this.destroyNode=null}}return o.__NG_ELEMENT_ID__=()=>function Ew(){const n=Eo(),r=Rt(sr().index,n);return(P(r)?r:n)[Xi]}(),o})(),ww=(()=>{var n;class o{}return(n=o).\u0275prov=wi({token:n,providedIn:"root",factory:()=>null}),o})();function xc(n){return!!At(n)}function kf(n,o,r){let c=r?n.styles:null,m=r?n.classes:null,x=0;if(null!==o)for(let S=0;S0&&p0(n,r,x.join(" "))}}(xn,aa,to,c),void 0!==r&&function Rw(n,o,r){const c=n.projection=[];for(let m=0;m{class o{}return o.__NG_ELEMENT_ID__=Bw,o})();function Bw(){return ok(sr(),Eo())}const jw=xf,tk=class extends jw{constructor(o,r,c){super(),this._lContainer=o,this._hostTNode=r,this._hostLView=c}get element(){return cc(this._hostTNode,this._hostLView)}get injector(){return new ta(this._hostTNode,this._hostLView)}get parentInjector(){const o=yd(this._hostTNode,this._hostLView);if(Ou(o)){const r=sc(o,this._hostLView),c=Ol(o);return new ta(r[Zo].data[c+8],r)}return new ta(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){const r=nk(this._lContainer);return null!==r&&r[o]||null}get length(){return this._lContainer.length-f}createEmbeddedView(o,r,c){let m,x;"number"==typeof c?m=c:null!=c&&(m=c.index,x=c.injector);const S=rd(this._lContainer,o.ssrId),Q=o.createEmbeddedViewImpl(r||{},x,S);return this.insertImpl(Q,m,Jl(this._hostTNode,S)),Q}createComponent(o,r,c,m,x){const S=o&&!function Qo(n){return"function"==typeof n}(o);let Q;if(S)Q=r;else{const to=r||{};Q=to.index,c=to.injector,m=to.projectableNodes,x=to.environmentInjector||to.ngModuleRef}const de=S?o:new $p(U(o)),ze=c||this.parentInjector;if(!x&&null==de.ngModule){const Uo=(S?ze:this.parentInjector).get(gs,null);Uo&&(x=Uo)}const rt=U(de.componentType??{}),Ut=rd(this._lContainer,rt?.id??null),Rn=de.create(ze,m,Ut?.firstChild??null,x);return this.insertImpl(Rn.hostView,Q,Jl(this._hostTNode,Ut)),Rn}insert(o,r){return this.insertImpl(o,r,!0)}insertImpl(o,r,c){const m=o._lView;if(function $o(n){return B(n[yr])}(m)){const Q=this.indexOf(o);if(-1!==Q)this.detach(Q);else{const de=m[yr],ze=new tk(de,de[Jr],de[yr]);ze.detach(ze.indexOf(o))}}const x=this._adjustIndex(r),S=this._lContainer;return ql(S,m,x,c),o.attachToViewContainerRef(),Er(q0(S),x,o),o}move(o,r){return this.insert(o,r)}indexOf(o){const r=nk(this._lContainer);return null!==r?r.indexOf(o):-1}remove(o){const r=this._adjustIndex(o,-1),c=$d(this._lContainer,r);c&&(Ci(q0(this._lContainer),r),zd(c[Zo],c))}detach(o){const r=this._adjustIndex(o,-1),c=$d(this._lContainer,r);return c&&null!=Ci(q0(this._lContainer),r)?new td(c):null}_adjustIndex(o,r=0){return o??this.length+r}};function nk(n){return n[8]}function q0(n){return n[8]||(n[8]=[])}function ok(n,o){let r;const c=o[n.index];return B(c)?r=c:(r=D0(c,o,null,n),o[n.index]=r,Hd(o,r)),ik(r,o,n,c),new tk(r,n,o)}let ik=function sk(n,o,r,c){if(n[Ma])return;let m;m=8&r.type?T(c):function Nw(n,o){const r=n[Xi],c=r.createComment(""),m=V(o,n);return yc(r,xp(r,m),c,function c0(n,o){return n.nextSibling(o)}(r,m),!1),c}(o,r),n[Ma]=m},e_=()=>!1;class t_{constructor(o){this.queryList=o,this.matches=null}clone(){return new t_(this.queryList)}setDirty(){this.queryList.setDirty()}}class n_{constructor(o=[]){this.queries=o}createEmbeddedView(o){const r=o.queries;if(null!==r){const c=null!==o.contentQueries?o.contentQueries[0]:r.length,m=[];for(let x=0;xo.trim())}(o):o}}class o_{constructor(o=[]){this.queries=o}elementStart(o,r){for(let c=0;c0)c.push(S[Q/2]);else{const ze=x[Q+1],rt=o[-de];for(let Ut=f;Ut(u(o),o.value);return r[d]=o,r}(n),c=r[d];return o?.equal&&(c.equal=o.equal),r.set=m=>Bt(c,m),r.update=m=>function It(n,o){K()||mn(),Bt(n,o(n.value))}(c,m),r.asReadonly=bk.bind(r),r}function bk(){const n=this[d];if(void 0===n.readonlyFn){const o=()=>this();o[d]=n,n.readonlyFn=o}return n.readonlyFn}function _k(n){return function fk(n){return"function"==typeof n&&void 0!==n[d]}(n)&&"function"==typeof n.set}function c_(n){let o=function Ok(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),r=!0;const c=[n];for(;o;){let m;if(Se(n))m=o.\u0275cmp||o.\u0275dir;else{if(o.\u0275cmp)throw new Gt(903,!1);m=o.\u0275dir}if(m){if(r){c.push(m);const S=n;S.inputs=Ef(n.inputs),S.inputTransforms=Ef(n.inputTransforms),S.declaredInputs=Ef(n.declaredInputs),S.outputs=Ef(n.outputs);const Q=m.hostBindings;Q&&lM(n,Q);const de=m.viewQuery,ze=m.contentQueries;if(de&&sM(n,de),ze&&aM(n,ze),iM(n,m),Gn(n.outputs,m.outputs),Se(m)&&m.data.animation){const rt=n.data;rt.animation=(rt.animation||[]).concat(m.data.animation)}}const x=m.features;if(x)for(let S=0;S=0;c--){const m=n[c];m.hostVars=o+=m.hostVars,m.hostAttrs=pn(m.hostAttrs,r=pn(r,m.hostAttrs))}}(c)}function iM(n,o){for(const r in o.inputs){if(!o.inputs.hasOwnProperty(r)||n.inputs.hasOwnProperty(r))continue;const c=o.inputs[r];if(void 0!==c&&(n.inputs[r]=c,n.declaredInputs[r]=o.declaredInputs[r],null!==o.inputTransforms)){const m=Array.isArray(c)?c[0]:c;if(!o.inputTransforms.hasOwnProperty(m))continue;n.inputTransforms??={},n.inputTransforms[m]=o.inputTransforms[m]}}}function Ef(n){return n===D?{}:n===N?[]:n}function sM(n,o){const r=n.viewQuery;n.viewQuery=r?(c,m)=>{o(c,m),r(c,m)}:o}function aM(n,o){const r=n.contentQueries;n.contentQueries=r?(c,m,x)=>{o(c,m,x),r(c,m,x)}:o}function lM(n,o){const r=n.hostBindings;n.hostBindings=r?(c,m)=>{o(c,m),r(c,m)}:o}function Fk(n){const o=r=>{const c=Array.isArray(n);null===r.hostDirectives?(r.findHostDirectiveDefs=Tk,r.hostDirectives=c?n.map(d_):[n]):c?r.hostDirectives.unshift(...n.map(d_)):r.hostDirectives.unshift(n)};return o.ngInherit=!0,o}function Tk(n,o,r){if(null!==n.hostDirectives)for(const c of n.hostDirectives)if("function"==typeof c){const m=c();for(const x of m)Sk(d_(x),o,r)}else Sk(c,o,r)}function Sk(n,o,r){const c=Ce(n.directive);(function pM(n,o){for(const r in o)o.hasOwnProperty(r)&&(n[o[r]]=n[r])})(c.declaredInputs,n.inputs),Tk(c,o,r),r.set(c,n),o.push(c)}function d_(n){return"function"==typeof n?{directive:tt(n),inputs:D,outputs:D}:{directive:tt(n.directive),inputs:Ik(n.inputs),outputs:Ik(n.outputs)}}function Ik(n){if(void 0===n||0===n.length)return D;const o={};for(let r=0;rr()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}}class p_ extends Lk{constructor(o){super(),this.moduleType=o}create(o){return new u_(this.moduleType,o,[])}}class Bk extends sd{constructor(o){super(),this.componentFactoryResolver=new qv(this),this.instance=null;const r=new Vs([...o.providers,{provide:sd,useValue:this},{provide:Xd,useValue:this.componentFactoryResolver}],o.parent||js(),o.debugName,new Set(["environment"]));this.injector=r,o.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}}function h_(n,o,r=null){return new Bk({providers:n,parent:o,debugName:r,runEnvironmentInitializers:!0}).injector}function wf(n){return!!m_(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function m_(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function jl(n,o,r){return n[o]=r}function ia(n,o,r){return!Object.is(n[o],r)&&(n[o]=r,!0)}function ad(n,o,r,c){const m=ia(n,o,r);return ia(n,o+1,c)||m}function yl(n,o,r,c,m,x){const S=ad(n,o,r,c);return ad(n,o+2,m,x)||S}function Wp(n,o,r,c,m,x,S,Q,de,ze){const rt=r+Mi,Ut=o.firstCreatePass?function yM(n,o,r,c,m,x,S,Q,de){const ze=o.consts,rt=kc(o,n,4,S||null,Q||null);Zm(o,r,rt,Xo(ze,de)),Tc(o,rt);const Ut=rt.tView=Dp(2,rt,c,m,x,o.directiveRegistry,o.pipeRegistry,null,o.schemas,ze,null);return null!==o.queries&&(o.queries.template(o,rt),Ut.queries=o.queries.embeddedTView(rt)),rt}(rt,o,n,c,m,x,S,Q,de):o.data[rt];vs(Ut,!1);const xn=jk(o,n,Ut,r);Fc()&&Cp(o,n,xn,Ut),Ca(xn,n);const Rn=D0(xn,n,xn,Ut);return n[rt]=Rn,Hd(n,Rn),function rk(n,o,r){return e_(n,o,r)}(Rn,Ut,n),me(Ut)&&Ym(o,n,Ut),null!=de&&Mp(n,Ut,ze),Ut}function f_(n,o,r,c,m,x,S,Q){const de=Eo(),ze=pr();return Wp(de,ze,n,o,r,c,m,Xo(ze.consts,x),S,Q),f_}let jk=function Nk(n,o,r,c){return Wa(!0),o[Xi].createComment("")};var qd=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(qd||{});let Hk=(()=>{var n;class o{constructor(){this.impl=null}execute(){this.impl?.execute()}}return(n=o).\u0275prov=wi({token:n,providedIn:"root",factory:()=>new n}),o})();class Ff{constructor(){this.ngZone=un(Ps),this.scheduler=un(Yd),this.errorHandler=un(kl,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(const o of Ff.PHASES)for(const r of this.sequences)if(!r.erroredOrDestroyed&&r.hooks[o])try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[o](r.pipelinedValue))}catch(c){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(c)}this.executing=!1;for(const o of this.sequences)o.afterRun(),o.once&&(this.sequences.delete(o),o.destroy());for(const o of this.deferredRegistrations)this.sequences.add(o);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(o){this.executing?this.deferredRegistrations.add(o):(this.sequences.add(o),this.scheduler.notify(6))}unregister(o){this.executing&&this.sequences.has(o)?(o.erroredOrDestroyed=!0,o.pipelinedValue=void 0,o.once=!0):(this.sequences.delete(o),this.deferredRegistrations.delete(o))}}(dn=Ff).PHASES=[qd.EarlyRead,qd.Write,qd.MixedReadWrite,qd.Read],dn.\u0275prov=wi({token:dn,providedIn:"root",factory:()=>new dn});class CM{constructor(o,r,c,m){this.impl=o,this.hooks=r,this.once=c,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=m?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Tf(n,o){!o?.injector&&function ae(n){if(!Ja())throw new Gt(-203,!1)}();const r=o?.injector??un(Oa);return function Ha(n){return"browser"===(n??un(Oa)).get(Ku)}(r)?(Ya("NgAfterNextRender"),function Gk(n,o,r,c){const m=o.get(Hk);m.impl??=o.get(Ff);const x=r?.phase??qd.MixedReadWrite,S=!0!==r?.manualCleanup?o.get(Rc):null,Q=new CM(m.impl,function wM(n,o){if(n instanceof Function){const r=[void 0,void 0,void 0,void 0];return r[o]=n,r}return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}(n,x),c,S);return m.impl.register(Q),Q}(n,r,o,!0)):Kk}const Kk={destroy(){}};function M_(n,o,r,c){const m=Eo();return ia(m,Ua(),o)&&(pr(),_l(Ds(),m,n,o,r,c)),M_}function su(n,o,r,c){return ia(n,Ua(),r)?o+hi(r)+c:Tr}function au(n,o,r,c,m,x){const Q=ad(n,Pl(),r,m);return el(2),Q?o+hi(r)+c+hi(m)+x:Tr}function Af(n,o){return n<<17|o<<2}function wc(n){return n>>17&32767}function D_(n){return 2|n}function cd(n){return(131068&n)>>2}function P_(n,o){return-131069&n|o<<2}function O_(n){return 1|n}function v1(n,o,r,c){const m=n[r+1],x=null===o;let S=c?wc(m):cd(m),Q=!1;for(;0!==S&&(!1===Q||x);){const ze=n[S+1];a2(n[S],o)&&(Q=!0,n[S+1]=c?O_(ze):D_(ze)),S=c?wc(ze):cd(ze)}Q&&(n[r+1]=c?D_(m):O_(m))}function a2(n,o){return null===n||null==o||(Array.isArray(n)?n[1]:n)===o||!(!Array.isArray(n)||"string"!=typeof o)&&b(n,o)>=0}const ba={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function k1(n){return n.substring(ba.key,ba.keyEnd)}function x1(n,o){const r=ba.textEnd;return r===o?-1:(o=ba.keyEnd=function u2(n,o,r){for(;o32;)o++;return o}(n,ba.key=o,r),mu(n,o,r))}function mu(n,o,r){for(;o=0;r=x1(o,r))Hr(n,k1(o),!0)}function Ml(n,o,r,c){const m=Eo(),x=pr(),S=el(2);x.firstUpdatePass&&O1(x,n,S,c),o!==Tr&&ia(m,S,o)&&T1(x,x.data[ga()],m,m[Xi],n,m[S+1]=function x2(n,o){return null==n||""===n||("string"==typeof o?n+=o:"object"==typeof n&&(n=qt(Rl(n)))),n}(o,r),c,S)}function Dl(n,o,r,c){const m=pr(),x=el(2);m.firstUpdatePass&&O1(m,null,x,c);const S=Eo();if(r!==Tr&&ia(S,x,r)){const Q=m.data[ga()];if(I1(Q,c)&&!P1(m,x)){let de=c?Q.classesWithoutHost:Q.stylesWithoutHost;null!==de&&(r=Pt(de,r||"")),T_(m,Q,S,r,c)}else!function k2(n,o,r,c,m,x,S,Q){m===Tr&&(m=N);let de=0,ze=0,rt=0=n.expandoStartIndex}function O1(n,o,r,c){const m=n.data;if(null===m[r+1]){const x=m[ga()],S=P1(n,r);I1(x,c)&&null===o&&!S&&(o=!1),o=function f2(n,o,r,c){const m=function xu(n){const o=Vi.lFrame.currentDirectiveIndex;return-1===o?null:n[o]}(n);let x=c?o.residualClasses:o.residualStyles;if(null===m)0===(c?o.classBindings:o.styleBindings)&&(r=Kp(r=A_(null,n,o,r,c),o.attrs,c),x=null);else{const S=o.directiveStylingLast;if(-1===S||n[S]!==m)if(r=A_(m,n,o,r,c),null===x){let de=function g2(n,o,r){const c=r?o.classBindings:o.styleBindings;if(0!==cd(c))return n[wc(c)]}(n,o,c);void 0!==de&&Array.isArray(de)&&(de=A_(null,n,o,de[1],c),de=Kp(de,o.attrs,c),function b2(n,o,r,c){n[wc(r?o.classBindings:o.styleBindings)]=c}(n,o,c,de))}else x=function _2(n,o,r){let c;const m=o.directiveEnd;for(let x=1+o.directiveStylingLast;x0)&&(ze=!0)):rt=r,m)if(0!==de){const xn=wc(n[Q+1]);n[c+1]=Af(xn,Q),0!==xn&&(n[xn+1]=P_(n[xn+1],c)),n[Q+1]=function o2(n,o){return 131071&n|o<<17}(n[Q+1],c)}else n[c+1]=Af(Q,0),0!==Q&&(n[Q+1]=P_(n[Q+1],c)),Q=c;else n[c+1]=Af(de,0),0===Q?Q=c:n[de+1]=P_(n[de+1],c),de=c;ze&&(n[c+1]=D_(n[c+1])),v1(n,rt,c,!0),v1(n,rt,c,!1),function s2(n,o,r,c,m){const x=m?n.residualClasses:n.residualStyles;null!=x&&"string"==typeof o&&b(x,o)>=0&&(r[c+1]=O_(r[c+1]))}(o,rt,n,c,x),S=Af(Q,de),x?o.classBindings=S:o.styleBindings=S}(m,x,o,r,S,c)}}function A_(n,o,r,c,m){let x=null;const S=r.directiveEnd;let Q=r.directiveStylingLast;for(-1===Q?Q=r.directiveStart:Q++;Q0;){const de=n[m],ze=Array.isArray(de),rt=ze?de[1]:de,Ut=null===rt;let xn=r[m+1];xn===Tr&&(xn=Ut?N:void 0);let Rn=Ut?ks(xn,c):rt===c?xn:void 0;if(ze&&!Rf(Rn)&&(Rn=ks(de,c)),Rf(Rn)&&(Q=Rn,S))return Q;const to=n[m+1];m=S?wc(to):cd(to)}if(null!==o){let de=x?o.residualClasses:o.residualStyles;null!=de&&(Q=ks(de,c))}return Q}function Rf(n){return void 0!==n}function I1(n,o){return!!(n.flags&(o?8:16))}function A1(n,o,r){Dl(Hr,$l,su(Eo(),n,o,r),!0)}function R1(n,o,r,c,m){Dl(Hr,$l,au(Eo(),n,o,r,c,m),!0)}function Bf(n,o,r,c){const m=Eo(),x=pr(),S=Mi+n,Q=m[Xi],de=x.firstCreatePass?function W2(n,o,r,c,m,x){const S=o.consts,de=kc(o,n,2,c,Xo(S,m));return Zm(o,r,de,Xo(S,x)),null!==de.attrs&&kf(de,de.attrs,!1),null!==de.mergedAttrs&&kf(de,de.mergedAttrs,!0),null!==o.queries&&o.queries.elementStart(o,de),de}(S,x,m,o,r,c):x.data[S],ze=N1(x,m,de,Q,o,n);m[S]=ze;const rt=me(de);return vs(de,!0),h0(Q,ze,de),!function Zd(n){return!(32&~n.flags)}(de)&&Fc()&&Cp(x,m,ze,de),0===function ul(){return Vi.lFrame.elementDepthCount}()&&Ca(ze,m),function oc(){Vi.lFrame.elementDepthCount++}(),rt&&(Ym(x,m,de),Km(x,de,m)),null!==c&&Mp(m,de),Bf}function jf(){let n=sr();sl()?xa():(n=n.parent,vs(n,!1));const o=n;(function pd(n){return Vi.skipHydrationRootTNode===n})(o)&&function os(){Vi.skipHydrationRootTNode=null}(),function vl(){Vi.lFrame.elementDepthCount--}();const r=pr();return r.firstCreatePass&&(Tc(r,n),H(n)&&r.queries.elementEnd(n)),null!=o.classesWithoutHost&&function yg(n){return!!(8&n.flags)}(o)&&T_(r,o,Eo(),o.classesWithoutHost,!0),null!=o.stylesWithoutHost&&function vg(n){return!!(16&n.flags)}(o)&&T_(r,o,Eo(),o.stylesWithoutHost,!1),jf}function j_(n,o,r,c){return Bf(n,o,r,c),jf(),j_}let N1=(n,o,r,c,m,x)=>(Wa(!0),Nd(c,m,function hh(){return Vi.lFrame.currentNamespace}()));function Nf(n,o,r){const c=Eo(),m=pr(),x=n+Mi,S=m.firstCreatePass?function G2(n,o,r,c,m){const x=o.consts,S=Xo(x,c),Q=kc(o,n,8,"ng-container",S);return null!==S&&kf(Q,S,!0),Zm(o,r,Q,Xo(x,m)),null!==o.queries&&o.queries.elementStart(o,Q),Q}(x,m,c,o,r):m.data[x];vs(S,!0);const Q=$1(m,c,S,n);return c[x]=Q,Fc()&&Cp(m,c,Q,S),Ca(Q,c),me(S)&&(Ym(m,c,S),Km(m,S,c)),null!=r&&Mp(c,S),Nf}function $f(){let n=sr();const o=pr();return sl()?xa():(n=n.parent,vs(n,!1)),o.firstCreatePass&&(Tc(o,n),H(n)&&o.queries.elementEnd(n)),$f}function N_(n,o,r){return Nf(n,o,r),$f(),N_}let $1=(n,o,r,c)=>(Wa(!0),_p(o[Xi],""));function z1(){return Eo()}const dd=void 0;var Q2=["en",[["a","p"],["AM","PM"],dd],[["AM","PM"],dd,dd],[["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"]],dd,[["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"]],dd,[["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}",dd,"{1} 'at' {0}",dd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function X2(n){const r=Math.floor(Math.abs(n)),c=n.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===c?1:5}];let fu={};function Z2(n,o,r){"string"!=typeof o&&(r=o,o=n[gu.LocaleId]),o=o.toLowerCase().replace(/_/g,"-"),fu[o]=n,r&&(fu[o][gu.ExtraData]=r)}function $_(n){const o=function J2(n){return n.toLowerCase().replace(/_/g,"-")}(n);let r=H1(o);if(r)return r;const c=o.split("-")[0];if(r=H1(c),r)return r;if("en"===c)return Q2;throw new Gt(701,!1)}function V1(n){return $_(n)[gu.PluralCase]}function H1(n){return n in fu||(fu[n]=pi.ng&&pi.ng.common&&pi.ng.common.locales&&pi.ng.common.locales[n]),fu[n]}var gu=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData",n}(gu||{});const zf="en-US";let G1=zf,dx=(n,o,r)=>{};function W_(n,o,r,c){const m=Eo(),x=pr(),S=sr();return V_(x,m,m[Xi],S,n,o,c),W_}function V_(n,o,r,c,m,x,S){const Q=me(c),ze=n.firstCreatePass&&rf(n),rt=o[qr],Ut=nf(o);let xn=!0;if(3&c.type||S){const Uo=V(c,o),ui=S?S(Uo):Uo,mi=Ut.length,No=S?Qr=>S(T(Qr[c.index])):c.index;let vr=null;if(!S&&Q&&(vr=function $D(n,o,r,c){const m=n.cleanup;if(null!=m)for(let x=0;xde?Q[de]:null}"string"==typeof S&&(x+=2)}return null}(n,o,m,c.index)),null!==vr)(vr.__ngLastListenerFn__||vr).__ngNextListenerFn__=x,vr.__ngLastListenerFn__=x,xn=!1;else{x=mx(c,o,rt,x),dx(Uo,m,x);const Qr=r.listen(ui,m,x);Ut.push(x,Qr),ze&&ze.push(m,No,mi,mi+1)}}else x=mx(c,o,rt,x);const Rn=c.outputs;let to;if(xn&&null!==Rn&&(to=Rn[m])){const Uo=to.length;if(Uo)for(let ui=0;ui-1?Rt(n.index,o):o,5);let Q=hx(o,r,c,x),de=m.__ngNextListenerFn__;for(;de;)Q=hx(o,r,de,x)&&Q,de=de.__ngNextListenerFn__;return Q}}function fx(n=1){return function wu(n){return(Vi.lFrame.contextLView=function Di(n,o){for(;n>0;)o=o[ds],n--;return o}(n,Vi.lFrame.contextLView))[qr]}(n)}function zD(n,o){let r=null;const c=function Te(n){const o=n.attrs;if(null!=o){const r=o.indexOf(5);if(!(1&r))return o[r+1]}return null}(n);for(let m=0;m(Wa(!0),function Rm(n,o){return n.createText(o)}(o[Xi],c));function K_(n){return Gf("",n,""),K_}function Gf(n,o,r){const c=Eo(),m=su(c,n,o,r);return m!==Tr&&Bl(c,ga(),m),Gf}function Y_(n,o,r,c,m){const x=Eo(),S=au(x,n,o,r,c,m);return S!==Tr&&Bl(x,ga(),S),Y_}function X_(n,o,r,c,m,x,S,Q,de,ze,rt,Ut,xn,Rn,to,Uo,ui){const mi=Eo(),No=function hu(n,o,r,c,m,x,S,Q,de,ze,rt,Ut,xn,Rn,to,Uo,ui,mi){const No=Pl();let vr=yl(n,No,r,m,S,de);return vr=yl(n,No+4,rt,xn,to,ui)||vr,el(8),vr?o+hi(r)+c+hi(m)+x+hi(S)+Q+hi(de)+ze+hi(rt)+Ut+hi(xn)+Rn+hi(to)+Uo+hi(ui)+mi:Tr}(mi,n,o,r,c,m,x,S,Q,de,ze,rt,Ut,xn,Rn,to,Uo,ui);return No!==Tr&&Bl(mi,ga(),No),X_}function Q_(n){const o=Eo(),r=function ru(n,o){let r=!1,c=Pl();for(let x=1;x>20;if(Yr(n)||!n.multi){const Rn=new Ic(ze,m,Qc),to=ty(de,o,m?rt:rt+xn,Ut);-1===to?(xh(_d(Q,S),x,de),ey(x,n,o.length),o.push(de),Q.directiveStart++,Q.directiveEnd++,m&&(Q.providerIndexes+=1048576),r.push(Rn),S.push(Rn)):(r[to]=Rn,S[to]=Rn)}else{const Rn=ty(de,o,rt+xn,Ut),to=ty(de,o,rt,rt+xn),ui=to>=0&&r[to];if(m&&!ui||!m&&!(Rn>=0&&r[Rn])){xh(_d(Q,S),x,de);const mi=function lP(n,o,r,c,m){const x=new Ic(n,r,Qc);return x.multi=[],x.index=o,x.componentProviders=0,Qx(x,m,c&&!r),x}(m?aP:sP,r.length,m,c,ze);!m&&ui&&(r[to].providerFactory=mi),ey(x,n,o.length,0),o.push(de),Q.directiveStart++,Q.directiveEnd++,m&&(Q.providerIndexes+=1048576),r.push(mi),S.push(mi)}else ey(x,n,Rn>-1?Rn:to,Qx(r[m?to:Rn],ze,!m&&c));!m&&c&&ui&&r[to].componentProviders++}}}function ey(n,o,r,c){const m=Yr(o),x=function Sa(n){return!!n.useClass}(o);if(m||x){const de=(x?tt(o.useClass):o).prototype.ngOnDestroy;if(de){const ze=n.destroyHooks||(n.destroyHooks=[]);if(!m&&o.multi){const rt=ze.indexOf(r);-1===rt?ze.push(r,[c,de]):ze[rt+1].push(c,de)}else ze.push(r,de)}}}function Qx(n,o,r){return r&&n.componentProviders++,n.multi.push(o)-1}function ty(n,o,r,c){for(let m=r;m{r.providersResolver=(c,m)=>function rP(n,o,r){const c=pr();if(c.firstCreatePass){const m=Se(n);q_(r,c.data,c.blueprint,m,!0),q_(o,c.data,c.blueprint,m,!1)}}(c,m?m(n):n,o)}}let cP=(()=>{var n;class o{constructor(c){this._injector=c,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(c){if(!c.standalone)return null;if(!this.cachedInjectors.has(c)){const m=er(0,c.type),x=m.length>0?h_([m],this._injector,`Standalone[${c.type.name}]`):null;this.cachedInjectors.set(c,x)}return this.cachedInjectors.get(c)}ngOnDestroy(){try{for(const c of this.cachedInjectors.values())null!==c&&c.destroy()}finally{this.cachedInjectors.clear()}}}return(n=o).\u0275prov=wi({token:n,providedIn:"environment",factory:()=>new n(Dt(gs))}),o})();function Jx(n){Ya("NgStandalone"),n.getStandaloneInjector=o=>o.get(cP).getOrCreateStandaloneInjector(n)}function tC(n,o,r){const c=Pa()+n,m=Eo();return m[c]===Tr?jl(m,c,r?o.call(r):o()):function Up(n,o){return n[o]}(m,c)}function nC(n,o,r,c){return sC(Eo(),Pa(),n,o,r,c)}function oC(n,o,r,c,m){return aC(Eo(),Pa(),n,o,r,c,m)}function iC(n,o,r,c,m,x){return lC(Eo(),Pa(),n,o,r,c,m,x)}function rC(n,o,r,c,m,x,S){return function cC(n,o,r,c,m,x,S,Q,de){const ze=o+r;return yl(n,ze,m,x,S,Q)?jl(n,ze+4,de?c.call(de,m,x,S,Q):c(m,x,S,Q)):qp(n,ze+4)}(Eo(),Pa(),n,o,r,c,m,x,S)}function qp(n,o){const r=n[o];return r===Tr?void 0:r}function sC(n,o,r,c,m,x){const S=o+r;return ia(n,S,m)?jl(n,S+1,x?c.call(x,m):c(m)):qp(n,S+1)}function aC(n,o,r,c,m,x,S){const Q=o+r;return ad(n,Q,m,x)?jl(n,Q+2,S?c.call(S,m,x):c(m,x)):qp(n,Q+2)}function lC(n,o,r,c,m,x,S,Q){const de=o+r;return function Mf(n,o,r,c,m){const x=ad(n,o,r,c);return ia(n,o+2,m)||x}(n,de,m,x,S)?jl(n,de+3,Q?c.call(Q,m,x,S):c(m,x,S)):qp(n,de+3)}function uC(n,o){const r=pr();let c;const m=n+Mi;r.firstCreatePass?(c=function _P(n,o){if(o)for(let r=o.length-1;r>=0;r--){const c=o[r];if(n===c.name)return c}}(o,r.pipeRegistry),r.data[m]=c,c.onDestroy&&(r.destroyHooks??=[]).push(m,c.onDestroy)):c=r.data[m];const x=c.factory||(c.factory=Or(c.type)),Q=Jo(Qc);try{const de=bd(!1),ze=x();return bd(de),function G_(n,o,r,c){r>=n.data.length&&(n.data[r]=null,n.blueprint[r]=null),o[r]=c}(r,Eo(),m,ze),ze}finally{Jo(Q)}}function pC(n,o,r){const c=n+Mi,m=Eo(),x=vt(m,c);return eh(m,c)?sC(m,Pa(),o,x.transform,r,x):x.transform(r)}function hC(n,o,r,c){const m=n+Mi,x=Eo(),S=vt(x,m);return eh(x,m)?aC(x,Pa(),o,S.transform,r,c,S):S.transform(r,c)}function mC(n,o,r,c,m){const x=n+Mi,S=Eo(),Q=vt(S,x);return eh(S,x)?lC(S,Pa(),o,Q.transform,r,c,m,Q):Q.transform(r,c,m)}function eh(n,o){return n[Zo].data[o].pure}function fC(n,o){return k(n,o)}class TC{constructor(o){this.full=o;const r=o.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}}let SC=(()=>{var n;class o{log(c){console.log(c)}warn(c){console.warn(c)}}return(n=o).\u0275fac=function(c){return new(c||n)},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"platform"}),o})();const BC=new bi(""),jC=new bi("");let ly,hO=(()=>{var n;class o{constructor(c,m,x){this._ngZone=c,this.registry=m,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ly||(function mO(n){ly=n}(x),x.addToWindow(m)),this._watchAngularEvents(),c.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:()=>{Ps.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 c=this._callbacks.pop();clearTimeout(c.timeoutId),c.doneCb()}});else{let c=this.getPendingTasks();this._callbacks=this._callbacks.filter(m=>!m.updateCb||!m.updateCb(c)||(clearTimeout(m.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(c=>({source:c.source,creationLocation:c.creationLocation,data:c.data})):[]}addCallback(c,m,x){let S=-1;m&&m>0&&(S=setTimeout(()=>{this._callbacks=this._callbacks.filter(Q=>Q.timeoutId!==S),c()},m)),this._callbacks.push({doneCb:c,timeoutId:S,updateCb:x})}whenStable(c,m,x){if(x&&!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(c,m,x),this._runCallbacksIfReady()}registerApplication(c){this.registry.registerApplication(c,this)}unregisterApplication(c){this.registry.unregisterApplication(c)}findProviders(c,m,x){return[]}}return(n=o).\u0275fac=function(c){return new(c||n)(Dt(Ps),Dt(NC),Dt(jC))},n.\u0275prov=wi({token:n,factory:n.\u0275fac}),o})(),NC=(()=>{var n;class o{constructor(){this._applications=new Map}registerApplication(c,m){this._applications.set(c,m)}unregisterApplication(c){this._applications.delete(c)}unregisterAllApplications(){this._applications.clear()}getTestability(c){return this._applications.get(c)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(c,m=!0){return ly?.findTestabilityInTree(this,c,m)??null}}return(n=o).\u0275fac=function(c){return new(c||n)},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"platform"}),o})();function cy(n){return!!n&&"function"==typeof n.then}function $C(n){return!!n&&"function"==typeof n.subscribe}const zC=new bi("");let UC=(()=>{var n;class o{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((c,m)=>{this.resolve=c,this.reject=m}),this.appInits=un(zC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const c=[];for(const x of this.appInits){const S=x();if(cy(S))c.push(S);else if($C(S)){const Q=new Promise((de,ze)=>{S.subscribe({complete:de,error:ze})});c.push(Q)}}const m=()=>{this.done=!0,this.resolve()};Promise.all(c).then(()=>{m()}).catch(x=>{this.reject(x)}),0===c.length&&m(),this.initialized=!0}}return(n=o).\u0275fac=function(c){return new(c||n)},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"root"}),o})();const Zf=new bi("");function VC(n,o){return Array.isArray(o)?o.reduce(VC,n):{...n,...o}}let zl=(()=>{var n;class o{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=un(Vg),this.afterRenderManager=un(Hk),this.zonelessEnabled=un(Bp),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ln.B,this.afterTick=new ln.B,this.componentTypes=[],this.components=[],this.isStable=un(Yl).hasPendingTasks.pipe((0,En.T)(c=>!c)),this._injector=un(gs)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let c;return new Promise(m=>{c=this.isStable.subscribe({next:x=>{x&&m()}})}).finally(()=>{c.unsubscribe()})}get injector(){return this._injector}bootstrap(c,m){const x=c instanceof Xv;if(!this._injector.get(UC).done)throw!x&&dt(c),new Gt(405,!1);let Q;Q=x?c:this._injector.get(Xd).resolveComponentFactory(c),this.componentTypes.push(Q.componentType);const de=function fO(n){return n.isBoundToModule}(Q)?void 0:this._injector.get(sd),rt=Q.create(Oa.NULL,[],m||Q.selector,de),Ut=rt.location.nativeElement,xn=rt.injector.get(BC,null);return xn?.registerApplication(Ut),rt.onDestroy(()=>{this.detachView(rt.hostView),Jf(this.components,rt),xn?.unregisterApplication(Ut)}),this._loadComponent(rt),rt}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Gt(101,!1);const c=p(null);try{this._runningTick=!0,this.synchronize()}catch(m){this.internalErrorHandler(m)}finally{this._runningTick=!1,p(c),this.afterTick.next()}}synchronize(){let c=null;this._injector.destroyed||(c=this._injector.get(Q0,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let m=0;for(;0!==this.dirtyFlags&&m++<10;)this.synchronizeOnce(c)}synchronizeOnce(c){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const m=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(m);for(let{_lView:x,notifyErrorHandler:S}of this._views)_O(x,S,m,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else c?.begin?.(),c?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:c})=>Bi(c))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(c){const m=c;this._views.push(m),m.attachToAppRef(this)}detachView(c){const m=c;Jf(this._views,m),m.detachFromAppRef()}_loadComponent(c){this.attachView(c.hostView),this.tick(),this.components.push(c);const m=this._injector.get(Zf,[]);[...this._bootstrapListeners,...m].forEach(x=>x(c))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(c=>c()),this._views.slice().forEach(c=>c.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(c){return this._destroyListeners.push(c),()=>Jf(this._destroyListeners,c)}destroy(){if(this._destroyed)throw new Gt(406,!1);const c=this._injector;c.destroy&&!c.destroyed&&c.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(n=o).\u0275fac=function(c){return new(c||n)},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"root"}),o})();function Jf(n,o){const r=n.indexOf(o);r>-1&&n.splice(r,1)}function _O(n,o,r,c){(r||Bi(n))&&qc(n,o,r&&!c?0:1)}class yO{constructor(o,r){this.ngModuleFactory=o,this.componentFactories=r}}let vO=(()=>{var n;class o{compileModuleSync(c){return new p_(c)}compileModuleAsync(c){return Promise.resolve(this.compileModuleSync(c))}compileModuleAndAllComponentsSync(c){const m=this.compileModuleSync(c),S=Ta(At(c).declarations).reduce((Q,de)=>{const ze=U(de);return ze&&Q.push(new $p(ze)),Q},[]);return new yO(m,S)}compileModuleAndAllComponentsAsync(c){return Promise.resolve(this.compileModuleAndAllComponentsSync(c))}clearCache(){}clearCacheFor(c){}getModuleId(c){}}return(n=o).\u0275fac=function(c){return new(c||n)},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"root"}),o})(),CO=(()=>{var n;class o{constructor(){this.zone=un(Ps),this.changeDetectionScheduler=un(Yd),this.applicationRef=un(zl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(n=o).\u0275fac=function(c){return new(c||n)},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"root"}),o})();function dy({ngZoneFactory:n,ignoreChangesOutsideZone:o,scheduleInRootZone:r}){return n??=()=>new Ps({...uy(),scheduleInRootZone:r}),[{provide:Ps,useFactory:n},{provide:Y,multi:!0,useFactory:()=>{const c=un(CO,{optional:!0});return()=>c.initialize()}},{provide:Y,multi:!0,useFactory:()=>{const c=un(wO);return()=>{c.initialize()}}},!0===o?{provide:Yv,useValue:!0}:[],{provide:X0,useValue:r??Ng}]}function uy(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}let wO=(()=>{var n;class o{constructor(){this.subscription=new tn.yU,this.initialized=!1,this.zone=un(Ps),this.pendingTasks=un(Yl)}initialize(){if(this.initialized)return;this.initialized=!0;let c=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(c=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ps.assertNotInAngularZone(),queueMicrotask(()=>{null!==c&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(c),c=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ps.assertInAngularZone(),c??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(n=o).\u0275fac=function(c){return new(c||n)},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"root"}),o})(),oh=(()=>{var n;class o{constructor(){this.appRef=un(zl),this.taskService=un(Yl),this.ngZone=un(Ps),this.zonelessEnabled=un(Bp),this.disableScheduling=un(Yv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new tn.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(kd):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(un(X0,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Nu||!this.zoneIsDefined)}notify(c){if(!this.zonelessEnabled&&5===c)return;switch(c){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const m=this.useMicrotaskScheduler?Ih:zg;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>m(()=>this.tick())):this.ngZone.runOutsideAngular(()=>m(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(kd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const c=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(m){throw this.taskService.remove(c),m}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ih(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(c)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const c=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(c)}}}return(n=o).\u0275fac=function(c){return new(c||n)},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"root"}),o})();const hy=new bi("",{providedIn:"root",factory:()=>un(hy,so.Optional|so.SkipSelf)||function MO(){return typeof $localize<"u"&&$localize.locale||zf}()}),DO=new bi("",{providedIn:"root",factory:()=>"USD"}),eg=new bi("");function tg(n){return!n.moduleRef}let ZC=(()=>{var n;class o{constructor(c){this._injector=c,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(c,m){const x=m?.scheduleInRootZone,Q=m?.ignoreChangesOutsideZone,de=[dy({ngZoneFactory:()=>function Rh(n="zone.js",o){return"noop"===n?new Nu:"zone.js"===n?new Ps(o):n}(m?.ngZone,{...uy({eventCoalescing:m?.ngZoneEventCoalescing,runCoalescing:m?.ngZoneRunCoalescing}),scheduleInRootZone:x}),ignoreChangesOutsideZone:Q}),{provide:Yd,useExisting:oh}],ze=function mM(n,o,r){return new u_(n,o,r,!1)}(c.moduleType,this.injector,de);return function QC(n){const o=tg(n)?n.r3Injector:n.moduleRef.injector,r=o.get(Ps);return r.run(()=>{tg(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();const c=o.get(kl,null);let m;if(r.runOutsideAngular(()=>{m=r.onError.subscribe({next:x=>{c.handleError(x)}})}),tg(n)){const x=()=>o.destroy(),S=n.platformInjector.get(eg);S.add(x),o.onDestroy(()=>{m.unsubscribe(),S.delete(x)})}else{const x=()=>n.moduleRef.destroy(),S=n.platformInjector.get(eg);S.add(x),n.moduleRef.onDestroy(()=>{Jf(n.allPlatformModules,n.moduleRef),m.unsubscribe(),S.delete(x)})}return function bO(n,o,r){try{const c=r();return cy(c)?c.catch(m=>{throw o.runOutsideAngular(()=>n.handleError(m)),m}):c}catch(c){throw o.runOutsideAngular(()=>n.handleError(c)),c}}(c,r,()=>{const x=o.get(UC);return x.runInitializers(),x.donePromise.then(()=>{if(function nD(n){"string"==typeof n&&(G1=n.toLowerCase().replace(/_/g,"-"))}(o.get(hy,zf)||zf),tg(n)){const Q=o.get(zl);return void 0!==n.rootComponent&&Q.bootstrap(n.rootComponent),Q}return function SO(n,o){const r=n.injector.get(zl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(c=>r.bootstrap(c));else{if(!n.instance.ngDoBootstrap)throw new Gt(-403,!1);n.instance.ngDoBootstrap(r)}o.push(n)}(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}({moduleRef:ze,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(c,m=[]){const x=VC({},m);return function xO(n,o,r){const c=new p_(r);return Promise.resolve(c)}(0,0,c).then(S=>this.bootstrapModuleFactory(S,x))}onDestroy(c){this._destroyListeners.push(c)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Gt(404,!1);this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m());const c=this._injector.get(eg,null);c&&(c.forEach(m=>m()),c.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(n=o).\u0275fac=function(c){return new(c||n)(Dt(Oa))},n.\u0275prov=wi({token:n,factory:n.\u0275fac,providedIn:"platform"}),o})(),Mc=null;const JC=new bi("");function qC(n,o,r=[]){const c=`Platform: ${o}`,m=new bi(c);return(x=[])=>{let S=my();if(!S||S.injector.get(JC,!1)){const Q=[...r,...x,{provide:m,useValue:!0}];n?n(Q):function IO(n){if(Mc&&!Mc.get(JC,!1))throw new Gt(400,!1);(function WC(){!function _t(n){gt=n}(()=>{throw new Gt(600,!1)})})(),Mc=n;const o=n.get(ZC);(function tE(n){n.get(rm,null)?.forEach(r=>r())})(n)}(function eE(n=[],o){return Oa.create({name:o,providers:[{provide:la,useValue:"platform"},{provide:eg,useValue:new Set([()=>Mc=null])},...n]})}(Q,c))}return function AO(){const o=my();if(!o)throw new Gt(401,!1);return o}()}}function my(){return Mc?.get(ZC)??null}function LO(){}let oE=(()=>{class o{}return o.__NG_ELEMENT_ID__=BO,o})();function BO(n){return function jO(n,o,r){if(ne(n)&&!r){const c=Rt(n.index,o);return new td(c,c)}return 175&n.type?new td(o[cs],o):null}(sr(),Eo(),!(16&~n))}class aE{constructor(){}supports(o){return wf(o)}create(o){return new WO(o)}}const UO=(n,o)=>o;class WO{constructor(o){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=o||UO}forEachItem(o){let r;for(r=this._itHead;null!==r;r=r._next)o(r)}forEachOperation(o){let r=this._itHead,c=this._removalsHead,m=0,x=null;for(;r||c;){const S=!c||r&&r.currentIndex{S=this._trackByFn(m,Q),null!==r&&Object.is(r.trackById,S)?(c&&(r=this._verifyReinsertion(r,Q,S,m)),Object.is(r.item,Q)||this._addIdentityChange(r,Q)):(r=this._mismatch(r,Q,S,m),c=!0),r=r._next,m++}),this.length=m;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,c,m){let x;return null===o?x=this._itTail:(x=o._prev,this._remove(o)),null!==(o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null))?(Object.is(o.item,r)||this._addIdentityChange(o,r),this._reinsertAfter(o,x,m)):null!==(o=null===this._linkedRecords?null:this._linkedRecords.get(c,m))?(Object.is(o.item,r)||this._addIdentityChange(o,r),this._moveAfter(o,x,m)):o=this._addAfter(new VO(r,c),x,m),o}_verifyReinsertion(o,r,c,m){let x=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);return null!==x?o=this._reinsertAfter(x,o._prev,m):o.currentIndex!=m&&(o.currentIndex=m,this._addToMoves(o,m)),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,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(o);const m=o._prevRemoved,x=o._nextRemoved;return null===m?this._removalsHead=x:m._nextRemoved=x,null===x?this._removalsTail=m:x._prevRemoved=m,this._insertAfter(o,r,c),this._addToMoves(o,c),o}_moveAfter(o,r,c){return this._unlink(o),this._insertAfter(o,r,c),this._addToMoves(o,c),o}_addAfter(o,r,c){return this._insertAfter(o,r,c),this._additionsTail=null===this._additionsTail?this._additionsHead=o:this._additionsTail._nextAdded=o,o}_insertAfter(o,r,c){const m=null===r?this._itHead:r._next;return o._next=m,o._prev=r,null===m?this._itTail=o:m._prev=o,null===r?this._itHead=o:r._next=o,null===this._linkedRecords&&(this._linkedRecords=new lE),this._linkedRecords.put(o),o.currentIndex=c,o}_remove(o){return this._addToRemovals(this._unlink(o))}_unlink(o){null!==this._linkedRecords&&this._linkedRecords.remove(o);const r=o._prev,c=o._next;return null===r?this._itHead=c:r._next=c,null===c?this._itTail=r:c._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 lE),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 VO{constructor(o,r){this.item=o,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class HO{constructor(){this._head=null,this._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 c;for(c=this._head;null!==c;c=c._nextDup)if((null===r||r<=c.currentIndex)&&Object.is(c.trackById,o))return c;return null}remove(o){const r=o._prevDup,c=o._nextDup;return null===r?this._head=c:r._nextDup=c,null===c?this._tail=r:c._prevDup=r,null===this._head}}class lE{constructor(){this.map=new Map}put(o){const r=o.trackById;let c=this.map.get(r);c||(c=new HO,this.map.set(r,c)),c.add(o)}get(o,r){const m=this.map.get(o);return m?m.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 cE(n,o,r){const c=n.previousIndex;if(null===c)return c;let m=0;return r&&c{if(r&&r.key===m)this._maybeAddToChanges(r,c),this._appendAfter=r,r=r._next;else{const x=this._getOrCreateRecordForKey(m,c);r=this._insertBeforeOrAppend(r,x)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let c=r;null!==c;c=c._nextRemoved)c===this._mapHead&&(this._mapHead=null),this._records.delete(c.key),c._nextRemoved=c._next,c.previousValue=c.currentValue,c.currentValue=null,c._prev=null,c._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(o,r){if(o){const c=o._prev;return r._next=o,r._prev=c,o._prev=r,c&&(c._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 m=this._records.get(o);this._maybeAddToChanges(m,r);const x=m._prev,S=m._next;return x&&(x._next=S),S&&(S._prev=x),m._next=null,m._prev=null,m}const c=new KO(o);return this._records.set(o,c),c.currentValue=r,this._addToAdditions(c),c}_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(c=>r(o[c],c))}}class KO{constructor(o){this.key=o,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function uE(){return new yy([new aE])}let yy=(()=>{var n;class o{constructor(c){this.factories=c}static create(c,m){if(null!=m){const x=m.factories.slice();c=c.concat(x)}return new o(c)}static extend(c){return{provide:o,useFactory:m=>o.create(c,m||uE()),deps:[[o,new So,new Co]]}}find(c){const m=this.factories.find(x=>x.supports(c));if(null!=m)return m;throw new Gt(901,!1)}}return(n=o).\u0275prov=wi({token:n,providedIn:"root",factory:uE}),o})();function pE(){return new vy([new dE])}let vy=(()=>{var n;class o{constructor(c){this.factories=c}static create(c,m){if(m){const x=m.factories.slice();c=c.concat(x)}return new o(c)}static extend(c){return{provide:o,useFactory:m=>o.create(c,m||pE()),deps:[[o,new So,new Co]]}}find(c){const m=this.factories.find(x=>x.supports(c));if(m)return m;throw new Gt(901,!1)}}return(n=o).\u0275prov=wi({token:n,providedIn:"root",factory:pE}),o})();const QO=qC(null,"core",[]);let ZO=(()=>{var n;class o{constructor(c){}}return(n=o).\u0275fac=function(c){return new(c||n)(Dt(zl))},n.\u0275mod=Gr({type:n}),n.\u0275inj=Ki({}),o})();function PF(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function FF(n,o){Ya("NgSignals");const r=function pt(n){const o=Object.create(at);o.computation=n;const r=()=>{if(A(o),u(o),o.value===mt)throw o.error;return o.value};return r[d]=o,r}(n);return o?.equal&&(r[d].equal=o.equal),r}function TF(n){const o=p(null);try{return n()}finally{p(o)}}function BF(n,o){const r=U(n),c=o.elementInjector||js();return new $p(r).create(c,o.projectableNodes,o.hostElement,o.environmentInjector)}function jF(n){const o=U(n);if(!o)return null;const r=new $p(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:(Ze,z,i)=>{"use strict";i.d(z,{me:()=>ke,ok:()=>Qn,MJ:()=>yt,JD:()=>uo,j4:()=>fn,YN:()=>wo,kq:()=>X,vO:()=>Vt,BC:()=>yn,cb:()=>Mn,vS:()=>re,xH:()=>Yo,X1:()=>ii,YS:()=>oe,hs:()=>Wt,J3:()=>Gi,k0:()=>Ye,qT:()=>ce,y7:()=>Ci});var e=i(54438),t=i(60177),l=i(86648),M=i(71985),d=i(93073),p=i(58750),a=i(9326),_=i(54360),v=i(6450),E=i(58496),O=i(21413),A=i(96354);let $=(()=>{var Te;class ge{constructor(ue,st){this._renderer=ue,this._elementRef=st,this.onChange=jn=>{},this.onTouched=()=>{}}setProperty(ue,st){this._renderer.setProperty(this._elementRef.nativeElement,ue,st)}registerOnTouched(ue){this.onTouched=ue}registerOnChange(ue){this.onChange=ue}setDisabledState(ue){this.setProperty("disabled",ue)}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)(e.rXU(e.sFG),e.rXU(e.aKT))},Te.\u0275dir=e.FsC({type:Te}),ge})(),K=(()=>{var Te;class ge extends ${}return(Te=ge).\u0275fac=(()=>{let He;return function(st){return(He||(He=e.xGo(Te)))(st||Te)}})(),Te.\u0275dir=e.FsC({type:Te,features:[e.Vt3]}),ge})();const X=new e.nKC(""),fe={provide:X,useExisting:(0,e.Rfq)(()=>ke),multi:!0},Me=new e.nKC("");let ke=(()=>{var Te;class ge extends ${constructor(ue,st,jn){super(ue,st),this._compositionMode=jn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function he(){const Te=(0,t.QT)()?(0,t.QT)().getUserAgent():"";return/android (\d+)/.test(Te.toLowerCase())}())}writeValue(ue){this.setProperty("value",ue??"")}_handleInput(ue){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ue)}_compositionStart(){this._composing=!0}_compositionEnd(ue){this._composing=!1,this._compositionMode&&this.onChange(ue)}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(Me,8))},Te.\u0275dir=e.FsC({type:Te,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(ue,st){1&ue&&e.bIt("input",function(Yn){return st._handleInput(Yn.target.value)})("blur",function(){return st.onTouched()})("compositionstart",function(){return st._compositionStart()})("compositionend",function(Yn){return st._compositionEnd(Yn.target.value)})},features:[e.Jv_([fe]),e.Vt3]}),ge})();function be(Te){return null==Te||("string"==typeof Te||Array.isArray(Te))&&0===Te.length}function Ne(Te){return null!=Te&&"number"==typeof Te.length}const je=new e.nKC(""),it=new e.nKC(""),pt=/^(?=.{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 Ye{static min(ge){return function St(Te){return ge=>{if(be(ge.value)||be(Te))return null;const He=parseFloat(ge.value);return!isNaN(He)&&He{if(be(ge.value)||be(Te))return null;const He=parseFloat(ge.value);return!isNaN(He)&&He>Te?{max:{max:Te,actual:ge.value}}:null}}(ge)}static required(ge){return at(ge)}static requiredTrue(ge){return function Ge(Te){return!0===Te.value?null:{required:!0}}(ge)}static email(ge){return function gt(Te){return be(Te.value)||pt.test(Te.value)?null:{email:!0}}(ge)}static minLength(ge){return function mn(Te){return ge=>be(ge.value)||!Ne(ge.value)?null:ge.value.lengthNe(ge.value)&&ge.value.length>Te?{maxlength:{requiredLength:Te,actualLength:ge.value.length}}:null}(ge)}static pattern(ge){return function Ke(Te){if(!Te)return Je;let ge,He;return"string"==typeof Te?(He="","^"!==Te.charAt(0)&&(He+="^"),He+=Te,"$"!==Te.charAt(Te.length-1)&&(He+="$"),ge=new RegExp(He)):(He=Te.toString(),ge=Te),ue=>{if(be(ue.value))return null;const st=ue.value;return ge.test(st)?null:{pattern:{requiredPattern:He,actualValue:st}}}}(ge)}static nullValidator(ge){return null}static compose(ge){return xo(ge)}static composeAsync(ge){return xt(ge)}}function at(Te){return be(Te.value)?{required:!0}:null}function Je(Te){return null}function Xe(Te){return null!=Te}function qe(Te){return(0,e.jNT)(Te)?(0,l.H)(Te):Te}function Bt(Te){let ge={};return Te.forEach(He=>{ge=null!=He?{...ge,...He}:ge}),0===Object.keys(ge).length?null:ge}function It(Te,ge){return ge.map(He=>He(Te))}function Hn(Te){return Te.map(ge=>function Nn(Te){return!Te.validate}(ge)?ge:He=>ge.validate(He))}function xo(Te){if(!Te)return null;const ge=Te.filter(Xe);return 0==ge.length?null:function(He){return Bt(It(He,ge))}}function Kn(Te){return null!=Te?xo(Hn(Te)):null}function xt(Te){if(!Te)return null;const ge=Te.filter(Xe);return 0==ge.length?null:function(He){return function u(...Te){const ge=(0,a.ms)(Te),{args:He,keys:ue}=(0,d.D)(Te),st=new M.c(jn=>{const{length:Yn}=He;if(!Yn)return void jn.complete();const Lo=new Array(Yn);let To=Yn,ki=Yn;for(let cr=0;cr{Gr||(Gr=!0,ki--),Lo[cr]=Ti},()=>To--,void 0,()=>{(!To||!Gr)&&(ki||jn.next(ue?(0,E.e)(ue,Lo):Lo),jn.complete())}))}});return ge?st.pipe((0,v.I)(ge)):st}(It(He,ge).map(qe)).pipe((0,A.T)(Bt))}}function Ht(Te){return null!=Te?xt(Hn(Te)):null}function $t(Te,ge){return null===Te?[ge]:Array.isArray(Te)?[...Te,ge]:[Te,ge]}function Xt(Te){return Te._rawValidators}function ln(Te){return Te._rawAsyncValidators}function tn(Te){return Te?Array.isArray(Te)?Te:[Te]:[]}function En(Te,ge){return Array.isArray(Te)?Te.includes(ge):Te===ge}function Un(Te,ge){const He=tn(ge);return tn(Te).forEach(st=>{En(He,st)||He.push(st)}),He}function Tn(Te,ge){return tn(ge).filter(He=>!En(Te,He))}class dn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ge){this._rawValidators=ge||[],this._composedValidatorFn=Kn(this._rawValidators)}_setAsyncValidators(ge){this._rawAsyncValidators=ge||[],this._composedAsyncValidatorFn=Ht(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ge){this._onDestroyCallbacks.push(ge)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ge=>ge()),this._onDestroyCallbacks=[]}reset(ge=void 0){this.control&&this.control.reset(ge)}hasError(ge,He){return!!this.control&&this.control.hasError(ge,He)}getError(ge,He){return this.control?this.control.getError(ge,He):null}}class gn extends dn{get formDirective(){return null}get path(){return null}}class Vt extends dn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Gt{constructor(ge){this._cd=ge}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 yn=(()=>{var Te;class ge extends Gt{constructor(ue){super(ue)}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)(e.rXU(Vt,2))},Te.\u0275dir=e.FsC({type:Te,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ue,st){2&ue&&e.AVh("ng-untouched",st.isUntouched)("ng-touched",st.isTouched)("ng-pristine",st.isPristine)("ng-dirty",st.isDirty)("ng-valid",st.isValid)("ng-invalid",st.isInvalid)("ng-pending",st.isPending)},features:[e.Vt3]}),ge})(),Mn=(()=>{var Te;class ge extends Gt{constructor(ue){super(ue)}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)(e.rXU(gn,10))},Te.\u0275dir=e.FsC({type:Te,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ue,st){2&ue&&e.AVh("ng-untouched",st.isUntouched)("ng-touched",st.isTouched)("ng-pristine",st.isPristine)("ng-dirty",st.isDirty)("ng-valid",st.isValid)("ng-invalid",st.isInvalid)("ng-pending",st.isPending)("ng-submitted",st.isSubmitted)},features:[e.Vt3]}),ge})();const De="VALID",Fe="INVALID",tt="PENDING",en="DISABLED";class Xn{}class sn extends Xn{constructor(ge,He){super(),this.value=ge,this.source=He}}class zt extends Xn{constructor(ge,He){super(),this.pristine=ge,this.source=He}}class _n extends Xn{constructor(ge,He){super(),this.touched=ge,this.source=He}}class kt extends Xn{constructor(ge,He){super(),this.status=ge,this.source=He}}class an extends Xn{constructor(ge){super(),this.source=ge}}class Wn extends Xn{constructor(ge){super(),this.source=ge}}function Jn(Te){return(On(Te)?Te.validators:Te)||null}function ao(Te,ge){return(On(ge)?ge.asyncValidators:Te)||null}function On(Te){return null!=Te&&!Array.isArray(Te)&&"object"==typeof Te}function ni(Te,ge,He){const ue=Te.controls;if(!(ge?Object.keys(ue):ue).length)throw new e.wOt(1e3,"");if(!ue[He])throw new e.wOt(1001,"")}function Ro(Te,ge,He){Te._forEachChild((ue,st)=>{if(void 0===He[st])throw new e.wOt(1002,"")})}class bo{constructor(ge,He){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,e.EWP)(()=>this.statusReactive()),this.statusReactive=(0,e.vPA)(void 0),this._pristine=(0,e.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,e.vPA)(!0),this._touched=(0,e.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,e.vPA)(!1),this._events=new O.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(ge),this._assignAsyncValidators(He)}get validator(){return this._composedValidatorFn}set validator(ge){this._rawValidators=this._composedValidatorFn=ge}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ge){this._rawAsyncValidators=this._composedAsyncValidatorFn=ge}get parent(){return this._parent}get status(){return(0,e.O8t)(this.statusReactive)}set status(ge){(0,e.O8t)(()=>this.statusReactive.set(ge))}get valid(){return this.status===De}get invalid(){return this.status===Fe}get pending(){return this.status==tt}get disabled(){return this.status===en}get enabled(){return this.status!==en}get pristine(){return(0,e.O8t)(this.pristineReactive)}set pristine(ge){(0,e.O8t)(()=>this.pristineReactive.set(ge))}get dirty(){return!this.pristine}get touched(){return(0,e.O8t)(this.touchedReactive)}set touched(ge){(0,e.O8t)(()=>this.touchedReactive.set(ge))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ge){this._assignValidators(ge)}setAsyncValidators(ge){this._assignAsyncValidators(ge)}addValidators(ge){this.setValidators(Un(ge,this._rawValidators))}addAsyncValidators(ge){this.setAsyncValidators(Un(ge,this._rawAsyncValidators))}removeValidators(ge){this.setValidators(Tn(ge,this._rawValidators))}removeAsyncValidators(ge){this.setAsyncValidators(Tn(ge,this._rawAsyncValidators))}hasValidator(ge){return En(this._rawValidators,ge)}hasAsyncValidator(ge){return En(this._rawAsyncValidators,ge)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ge={}){const He=!1===this.touched;this.touched=!0;const ue=ge.sourceControl??this;this._parent&&!ge.onlySelf&&this._parent.markAsTouched({...ge,sourceControl:ue}),He&&!1!==ge.emitEvent&&this._events.next(new _n(!0,ue))}markAllAsTouched(ge={}){this.markAsTouched({onlySelf:!0,emitEvent:ge.emitEvent,sourceControl:this}),this._forEachChild(He=>He.markAllAsTouched(ge))}markAsUntouched(ge={}){const He=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const ue=ge.sourceControl??this;this._forEachChild(st=>{st.markAsUntouched({onlySelf:!0,emitEvent:ge.emitEvent,sourceControl:ue})}),this._parent&&!ge.onlySelf&&this._parent._updateTouched(ge,ue),He&&!1!==ge.emitEvent&&this._events.next(new _n(!1,ue))}markAsDirty(ge={}){const He=!0===this.pristine;this.pristine=!1;const ue=ge.sourceControl??this;this._parent&&!ge.onlySelf&&this._parent.markAsDirty({...ge,sourceControl:ue}),He&&!1!==ge.emitEvent&&this._events.next(new zt(!1,ue))}markAsPristine(ge={}){const He=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const ue=ge.sourceControl??this;this._forEachChild(st=>{st.markAsPristine({onlySelf:!0,emitEvent:ge.emitEvent})}),this._parent&&!ge.onlySelf&&this._parent._updatePristine(ge,ue),He&&!1!==ge.emitEvent&&this._events.next(new zt(!0,ue))}markAsPending(ge={}){this.status=tt;const He=ge.sourceControl??this;!1!==ge.emitEvent&&(this._events.next(new kt(this.status,He)),this.statusChanges.emit(this.status)),this._parent&&!ge.onlySelf&&this._parent.markAsPending({...ge,sourceControl:He})}disable(ge={}){const He=this._parentMarkedDirty(ge.onlySelf);this.status=en,this.errors=null,this._forEachChild(st=>{st.disable({...ge,onlySelf:!0})}),this._updateValue();const ue=ge.sourceControl??this;!1!==ge.emitEvent&&(this._events.next(new sn(this.value,ue)),this._events.next(new kt(this.status,ue)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ge,skipPristineCheck:He},this),this._onDisabledChange.forEach(st=>st(!0))}enable(ge={}){const He=this._parentMarkedDirty(ge.onlySelf);this.status=De,this._forEachChild(ue=>{ue.enable({...ge,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ge.emitEvent}),this._updateAncestors({...ge,skipPristineCheck:He},this),this._onDisabledChange.forEach(ue=>ue(!1))}_updateAncestors(ge,He){this._parent&&!ge.onlySelf&&(this._parent.updateValueAndValidity(ge),ge.skipPristineCheck||this._parent._updatePristine({},He),this._parent._updateTouched({},He))}setParent(ge){this._parent=ge}getRawValue(){return this.value}updateValueAndValidity(ge={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const ue=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===De||this.status===tt)&&this._runAsyncValidator(ue,ge.emitEvent)}const He=ge.sourceControl??this;!1!==ge.emitEvent&&(this._events.next(new sn(this.value,He)),this._events.next(new kt(this.status,He)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ge.onlySelf&&this._parent.updateValueAndValidity({...ge,sourceControl:He})}_updateTreeValidity(ge={emitEvent:!0}){this._forEachChild(He=>He._updateTreeValidity(ge)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ge.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?en:De}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ge,He){if(this.asyncValidator){this.status=tt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==He};const ue=qe(this.asyncValidator(this));this._asyncValidationSubscription=ue.subscribe(st=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(st,{emitEvent:He,shouldHaveEmitted:ge})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const ge=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,ge}return!1}setErrors(ge,He={}){this.errors=ge,this._updateControlsErrors(!1!==He.emitEvent,this,He.shouldHaveEmitted)}get(ge){let He=ge;return null==He||(Array.isArray(He)||(He=He.split(".")),0===He.length)?null:He.reduce((ue,st)=>ue&&ue._find(st),this)}getError(ge,He){const ue=He?this.get(He):this;return ue&&ue.errors?ue.errors[ge]:null}hasError(ge,He){return!!this.getError(ge,He)}get root(){let ge=this;for(;ge._parent;)ge=ge._parent;return ge}_updateControlsErrors(ge,He,ue){this.status=this._calculateStatus(),ge&&this.statusChanges.emit(this.status),(ge||ue)&&this._events.next(new kt(this.status,He)),this._parent&&this._parent._updateControlsErrors(ge,He,ue)}_initObservables(){this.valueChanges=new e.bkB,this.statusChanges=new e.bkB}_calculateStatus(){return this._allControlsDisabled()?en:this.errors?Fe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(tt)?tt:this._anyControlsHaveStatus(Fe)?Fe:De}_anyControlsHaveStatus(ge){return this._anyControls(He=>He.status===ge)}_anyControlsDirty(){return this._anyControls(ge=>ge.dirty)}_anyControlsTouched(){return this._anyControls(ge=>ge.touched)}_updatePristine(ge,He){const ue=!this._anyControlsDirty(),st=this.pristine!==ue;this.pristine=ue,this._parent&&!ge.onlySelf&&this._parent._updatePristine(ge,He),st&&this._events.next(new zt(this.pristine,He))}_updateTouched(ge={},He){this.touched=this._anyControlsTouched(),this._events.next(new _n(this.touched,He)),this._parent&&!ge.onlySelf&&this._parent._updateTouched(ge,He)}_registerOnCollectionChange(ge){this._onCollectionChange=ge}_setUpdateStrategy(ge){On(ge)&&null!=ge.updateOn&&(this._updateOn=ge.updateOn)}_parentMarkedDirty(ge){return!ge&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ge){return null}_assignValidators(ge){this._rawValidators=Array.isArray(ge)?ge.slice():ge,this._composedValidatorFn=function Do(Te){return Array.isArray(Te)?Kn(Te):Te||null}(this._rawValidators)}_assignAsyncValidators(ge){this._rawAsyncValidators=Array.isArray(ge)?ge.slice():ge,this._composedAsyncValidatorFn=function kn(Te){return Array.isArray(Te)?Ht(Te):Te||null}(this._rawAsyncValidators)}}class $i extends bo{constructor(ge,He,ue){super(Jn(He),ao(ue,He)),this.controls=ge,this._initObservables(),this._setUpdateStrategy(He),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ge,He){return this.controls[ge]?this.controls[ge]:(this.controls[ge]=He,He.setParent(this),He._registerOnCollectionChange(this._onCollectionChange),He)}addControl(ge,He,ue={}){this.registerControl(ge,He),this.updateValueAndValidity({emitEvent:ue.emitEvent}),this._onCollectionChange()}removeControl(ge,He={}){this.controls[ge]&&this.controls[ge]._registerOnCollectionChange(()=>{}),delete this.controls[ge],this.updateValueAndValidity({emitEvent:He.emitEvent}),this._onCollectionChange()}setControl(ge,He,ue={}){this.controls[ge]&&this.controls[ge]._registerOnCollectionChange(()=>{}),delete this.controls[ge],He&&this.registerControl(ge,He),this.updateValueAndValidity({emitEvent:ue.emitEvent}),this._onCollectionChange()}contains(ge){return this.controls.hasOwnProperty(ge)&&this.controls[ge].enabled}setValue(ge,He={}){Ro(this,0,ge),Object.keys(ge).forEach(ue=>{ni(this,!0,ue),this.controls[ue].setValue(ge[ue],{onlySelf:!0,emitEvent:He.emitEvent})}),this.updateValueAndValidity(He)}patchValue(ge,He={}){null!=ge&&(Object.keys(ge).forEach(ue=>{const st=this.controls[ue];st&&st.patchValue(ge[ue],{onlySelf:!0,emitEvent:He.emitEvent})}),this.updateValueAndValidity(He))}reset(ge={},He={}){this._forEachChild((ue,st)=>{ue.reset(ge?ge[st]:null,{onlySelf:!0,emitEvent:He.emitEvent})}),this._updatePristine(He,this),this._updateTouched(He,this),this.updateValueAndValidity(He)}getRawValue(){return this._reduceChildren({},(ge,He,ue)=>(ge[ue]=He.getRawValue(),ge))}_syncPendingControls(){let ge=this._reduceChildren(!1,(He,ue)=>!!ue._syncPendingControls()||He);return ge&&this.updateValueAndValidity({onlySelf:!0}),ge}_forEachChild(ge){Object.keys(this.controls).forEach(He=>{const ue=this.controls[He];ue&&ge(ue,He)})}_setUpControls(){this._forEachChild(ge=>{ge.setParent(this),ge._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ge){for(const[He,ue]of Object.entries(this.controls))if(this.contains(He)&&ge(ue))return!0;return!1}_reduceValue(){return this._reduceChildren({},(He,ue,st)=>((ue.enabled||this.disabled)&&(He[st]=ue.value),He))}_reduceChildren(ge,He){let ue=ge;return this._forEachChild((st,jn)=>{ue=He(ue,st,jn)}),ue}_allControlsDisabled(){for(const ge of Object.keys(this.controls))if(this.controls[ge].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ge){return this.controls.hasOwnProperty(ge)?this.controls[ge]:null}}const Gi=$i;class Sr extends $i{}const mr=new e.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Ki}),Ki="always";function kr(Te,ge){return[...ge.path,Te]}function Wr(Te,ge,He=Ki){gi(Te,ge),ge.valueAccessor.writeValue(Te.value),(Te.disabled||"always"===He)&&ge.valueAccessor.setDisabledState?.(Te.disabled),function Ii(Te,ge){ge.valueAccessor.registerOnChange(He=>{Te._pendingValue=He,Te._pendingChange=!0,Te._pendingDirty=!0,"change"===Te.updateOn&&bi(Te,ge)})}(Te,ge),function Rr(Te,ge){const He=(ue,st)=>{ge.valueAccessor.writeValue(ue),st&&ge.viewToModelUpdate(ue)};Te.registerOnChange(He),ge._registerOnDestroy(()=>{Te._unregisterOnChange(He)})}(Te,ge),function qi(Te,ge){ge.valueAccessor.registerOnTouched(()=>{Te._pendingTouched=!0,"blur"===Te.updateOn&&Te._pendingChange&&bi(Te,ge),"submit"!==Te.updateOn&&Te.markAsTouched()})}(Te,ge),function Ho(Te,ge){if(ge.valueAccessor.setDisabledState){const He=ue=>{ge.valueAccessor.setDisabledState(ue)};Te.registerOnDisabledChange(He),ge._registerOnDestroy(()=>{Te._unregisterOnDisabledChange(He)})}}(Te,ge)}function Yt(Te,ge,He=!0){const ue=()=>{};ge.valueAccessor&&(ge.valueAccessor.registerOnChange(ue),ge.valueAccessor.registerOnTouched(ue)),xi(Te,ge),Te&&(ge._invokeOnDestroyCallbacks(),Te._registerOnCollectionChange(()=>{}))}function io(Te,ge){Te.forEach(He=>{He.registerOnValidatorChange&&He.registerOnValidatorChange(ge)})}function gi(Te,ge){const He=Xt(Te);null!==ge.validator?Te.setValidators($t(He,ge.validator)):"function"==typeof He&&Te.setValidators([He]);const ue=ln(Te);null!==ge.asyncValidator?Te.setAsyncValidators($t(ue,ge.asyncValidator)):"function"==typeof ue&&Te.setAsyncValidators([ue]);const st=()=>Te.updateValueAndValidity();io(ge._rawValidators,st),io(ge._rawAsyncValidators,st)}function xi(Te,ge){let He=!1;if(null!==Te){if(null!==ge.validator){const st=Xt(Te);if(Array.isArray(st)&&st.length>0){const jn=st.filter(Yn=>Yn!==ge.validator);jn.length!==st.length&&(He=!0,Te.setValidators(jn))}}if(null!==ge.asyncValidator){const st=ln(Te);if(Array.isArray(st)&&st.length>0){const jn=st.filter(Yn=>Yn!==ge.asyncValidator);jn.length!==st.length&&(He=!0,Te.setAsyncValidators(jn))}}}const ue=()=>{};return io(ge._rawValidators,ue),io(ge._rawAsyncValidators,ue),He}function bi(Te,ge){Te._pendingDirty&&Te.markAsDirty(),Te.setValue(Te._pendingValue,{emitModelToViewChange:!1}),ge.viewToModelUpdate(Te._pendingValue),Te._pendingChange=!1}function Mr(Te,ge){if(!Te.hasOwnProperty("model"))return!1;const He=Te.model;return!!He.isFirstChange()||!Object.is(ge,He.currentValue)}function Cr(Te,ge){if(!ge)return null;let He,ue,st;return Array.isArray(ge),ge.forEach(jn=>{jn.constructor===ke?He=jn:function Fs(Te){return Object.getPrototypeOf(Te.constructor)===K}(jn)?ue=jn:st=jn}),st||ue||He||null}function ts(Te,ge){const He=Te.indexOf(ge);He>-1&&Te.splice(He,1)}function hi(Te){return"object"==typeof Te&&null!==Te&&2===Object.keys(Te).length&&"value"in Te&&"disabled"in Te}Promise.resolve();const yt=class extends bo{constructor(ge=null,He,ue){super(Jn(He),ao(ue,He)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ge),this._setUpdateStrategy(He),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),On(He)&&(He.nonNullable||He.initialValueIsDefault)&&(this.defaultValue=hi(ge)?ge.value:ge)}setValue(ge,He={}){this.value=this._pendingValue=ge,this._onChange.length&&!1!==He.emitModelToViewChange&&this._onChange.forEach(ue=>ue(this.value,!1!==He.emitViewToModelChange)),this.updateValueAndValidity(He)}patchValue(ge,He={}){this.setValue(ge,He)}reset(ge=this.defaultValue,He={}){this._applyFormState(ge),this.markAsPristine(He),this.markAsUntouched(He),this.setValue(this.value,He),this._pendingChange=!1}_updateValue(){}_anyControls(ge){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ge){this._onChange.push(ge)}_unregisterOnChange(ge){ts(this._onChange,ge)}registerOnDisabledChange(ge){this._onDisabledChange.push(ge)}_unregisterOnDisabledChange(ge){ts(this._onDisabledChange,ge)}_forEachChild(ge){}_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(ge){hi(ge)?(this.value=this._pendingValue=ge.value,ge.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ge}},Wt=yt,Jo={provide:Vt,useExisting:(0,e.Rfq)(()=>re)},L=Promise.resolve();let re=(()=>{var Te;class ge extends Vt{constructor(ue,st,jn,Yn,Lo,To){super(),this._changeDetectorRef=Lo,this.callSetDisabledState=To,this.control=new yt,this._registered=!1,this.name="",this.update=new e.bkB,this._parent=ue,this._setValidators(st),this._setAsyncValidators(jn),this.valueAccessor=Cr(0,Yn)}ngOnChanges(ue){if(this._checkForErrors(),!this._registered||"name"in ue){if(this._registered&&(this._checkName(),this.formDirective)){const st=ue.name.previousValue;this.formDirective.removeControl({name:st,path:this._getPath(st)})}this._setUpControl()}"isDisabled"in ue&&this._updateDisabled(ue),Mr(ue,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(ue){this.viewModel=ue,this.update.emit(ue)}_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(){Wr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ue){L.then(()=>{this.control.setValue(ue,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ue){const st=ue.isDisabled.currentValue,jn=0!==st&&(0,e.L39)(st);L.then(()=>{jn&&!this.control.disabled?this.control.disable():!jn&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ue){return this._parent?kr(ue,this._parent):[ue]}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)(e.rXU(gn,9),e.rXU(je,10),e.rXU(it,10),e.rXU(X,10),e.rXU(e.gRc,8),e.rXU(mr,8))},Te.\u0275dir=e.FsC({type:Te,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e.Jv_([Jo]),e.Vt3,e.OA$]}),ge})(),ce=(()=>{var Te;class ge{}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)},Te.\u0275dir=e.FsC({type:Te,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ge})();const Qe=new e.nKC(""),Dt={provide:gn,useExisting:(0,e.Rfq)(()=>fn)};let fn=(()=>{var Te;class ge extends gn{get submitted(){return(0,e.O8t)(this._submittedReactive)}set submitted(ue){this._submittedReactive.set(ue)}constructor(ue,st,jn){super(),this.callSetDisabledState=jn,this._submitted=(0,e.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,e.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.bkB,this._setValidators(ue),this._setAsyncValidators(st)}ngOnChanges(ue){this._checkFormPresent(),ue.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(xi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ue){const st=this.form.get(ue.path);return Wr(st,ue,this.callSetDisabledState),st.updateValueAndValidity({emitEvent:!1}),this.directives.push(ue),st}getControl(ue){return this.form.get(ue.path)}removeControl(ue){Yt(ue.control||null,ue,!1),function Dr(Te,ge){const He=Te.indexOf(ge);He>-1&&Te.splice(He,1)}(this.directives,ue)}addFormGroup(ue){this._setUpFormContainer(ue)}removeFormGroup(ue){this._cleanUpFormContainer(ue)}getFormGroup(ue){return this.form.get(ue.path)}addFormArray(ue){this._setUpFormContainer(ue)}removeFormArray(ue){this._cleanUpFormContainer(ue)}getFormArray(ue){return this.form.get(ue.path)}updateModel(ue,st){this.form.get(ue.path).setValue(st)}onSubmit(ue){return this._submittedReactive.set(!0),function es(Te,ge){Te._syncPendingControls(),ge.forEach(He=>{const ue=He.control;"submit"===ue.updateOn&&ue._pendingChange&&(He.viewToModelUpdate(ue._pendingValue),ue._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(ue),this.form._events.next(new an(this.control)),"dialog"===ue?.target?.method}onReset(){this.resetForm()}resetForm(ue=void 0){this.form.reset(ue),this._submittedReactive.set(!1),this.form._events.next(new Wn(this.form))}_updateDomValue(){this.directives.forEach(ue=>{const st=ue.control,jn=this.form.get(ue.path);st!==jn&&(Yt(st||null,ue),(Te=>Te instanceof yt)(jn)&&(Wr(jn,ue,this.callSetDisabledState),ue.control=jn))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ue){const st=this.form.get(ue.path);(function Fi(Te,ge){gi(Te,ge)})(st,ue),st.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ue){if(this.form){const st=this.form.get(ue.path);st&&function ri(Te,ge){return xi(Te,ge)}(st,ue)&&st.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gi(this.form,this),this._oldForm&&xi(this._oldForm,this)}_checkFormPresent(){}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)(e.rXU(je,10),e.rXU(it,10),e.rXU(mr,8))},Te.\u0275dir=e.FsC({type:Te,selectors:[["","formGroup",""]],hostBindings:function(ue,st){1&ue&&e.bIt("submit",function(Yn){return st.onSubmit(Yn)})("reset",function(){return st.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([Dt]),e.Vt3,e.OA$]}),ge})();const po={provide:Vt,useExisting:(0,e.Rfq)(()=>uo)};let uo=(()=>{var Te;class ge extends Vt{set isDisabled(ue){}constructor(ue,st,jn,Yn,Lo){super(),this._ngModelWarningConfig=Lo,this._added=!1,this.name=null,this.update=new e.bkB,this._ngModelWarningSent=!1,this._parent=ue,this._setValidators(st),this._setAsyncValidators(jn),this.valueAccessor=Cr(0,Yn)}ngOnChanges(ue){this._added||this._setUpControl(),Mr(ue,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ue){this.viewModel=ue,this.update.emit(ue)}get path(){return kr(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return(Te=ge)._ngModelWarningSentOnce=!1,Te.\u0275fac=function(ue){return new(ue||Te)(e.rXU(gn,13),e.rXU(je,10),e.rXU(it,10),e.rXU(X,10),e.rXU(Qe,8))},Te.\u0275dir=e.FsC({type:Te,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.Jv_([po]),e.Vt3,e.OA$]}),ge})();const Po={provide:X,useExisting:(0,e.Rfq)(()=>So),multi:!0};function Co(Te,ge){return null==Te?`${ge}`:(ge&&"object"==typeof ge&&(ge="Object"),`${Te}: ${ge}`.slice(0,50))}let So=(()=>{var Te;class ge extends K{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ue){this._compareWith=ue}writeValue(ue){this.value=ue;const jn=Co(this._getOptionId(ue),ue);this.setProperty("value",jn)}registerOnChange(ue){this.onChange=st=>{this.value=this._getOptionValue(st),ue(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ue){for(const st of this._optionMap.keys())if(this._compareWith(this._optionMap.get(st),ue))return st;return null}_getOptionValue(ue){const st=function Vo(Te){return Te.split(":")[0]}(ue);return this._optionMap.has(st)?this._optionMap.get(st):ue}}return(Te=ge).\u0275fac=(()=>{let He;return function(st){return(He||(He=e.xGo(Te)))(st||Te)}})(),Te.\u0275dir=e.FsC({type:Te,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ue,st){1&ue&&e.bIt("change",function(Yn){return st.onChange(Yn.target.value)})("blur",function(){return st.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.Jv_([Po]),e.Vt3]}),ge})(),Yo=(()=>{var Te;class ge{constructor(ue,st,jn){this._element=ue,this._renderer=st,this._select=jn,this._select&&(this.id=this._select._registerOption())}set ngValue(ue){null!=this._select&&(this._select._optionMap.set(this.id,ue),this._setElementValue(Co(this.id,ue)),this._select.writeValue(this._select.value))}set value(ue){this._setElementValue(ue),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ue){this._renderer.setProperty(this._element.nativeElement,"value",ue)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(So,9))},Te.\u0275dir=e.FsC({type:Te,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ge})();const Or={provide:X,useExisting:(0,e.Rfq)(()=>Er),multi:!0};function Lr(Te,ge){return null==Te?`${ge}`:("string"==typeof ge&&(ge=`'${ge}'`),ge&&"object"==typeof ge&&(ge="Object"),`${Te}: ${ge}`.slice(0,50))}let Er=(()=>{var Te;class ge extends K{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ue){this._compareWith=ue}writeValue(ue){let st;if(this.value=ue,Array.isArray(ue)){const jn=ue.map(Yn=>this._getOptionId(Yn));st=(Yn,Lo)=>{Yn._setSelected(jn.indexOf(Lo.toString())>-1)}}else st=(jn,Yn)=>{jn._setSelected(!1)};this._optionMap.forEach(st)}registerOnChange(ue){this.onChange=st=>{const jn=[],Yn=st.selectedOptions;if(void 0!==Yn){const Lo=Yn;for(let To=0;To{let He;return function(st){return(He||(He=e.xGo(Te)))(st||Te)}})(),Te.\u0275dir=e.FsC({type:Te,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ue,st){1&ue&&e.bIt("change",function(Yn){return st.onChange(Yn.target)})("blur",function(){return st.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.Jv_([Or]),e.Vt3]}),ge})(),Ci=(()=>{var Te;class ge{constructor(ue,st,jn){this._element=ue,this._renderer=st,this._select=jn,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ue){null!=this._select&&(this._value=ue,this._setElementValue(Lr(this.id,ue)),this._select.writeValue(this._select.value))}set value(ue){this._select?(this._value=ue,this._setElementValue(Lr(this.id,ue)),this._select.writeValue(this._select.value)):this._setElementValue(ue)}_setElementValue(ue){this._renderer.setProperty(this._element.nativeElement,"value",ue)}_setSelected(ue){this._renderer.setProperty(this._element.nativeElement,"selected",ue)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(Er,9))},Te.\u0275dir=e.FsC({type:Te,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ge})(),Zi=(()=>{var Te;class ge{constructor(){this._validator=Je}ngOnChanges(ue){if(this.inputName in ue){const st=this.normalizeInput(ue[this.inputName].currentValue);this._enabled=this.enabled(st),this._validator=this._enabled?this.createValidator(st):Je,this._onChange&&this._onChange()}}validate(ue){return this._validator(ue)}registerOnValidatorChange(ue){this._onChange=ue}enabled(ue){return null!=ue}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)},Te.\u0275dir=e.FsC({type:Te,features:[e.OA$]}),ge})();const b={provide:je,useExisting:(0,e.Rfq)(()=>oe),multi:!0};let oe=(()=>{var Te;class ge extends Zi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.L39,this.createValidator=ue=>at}enabled(ue){return ue}}return(Te=ge).\u0275fac=(()=>{let He;return function(st){return(He||(He=e.xGo(Te)))(st||Te)}})(),Te.\u0275dir=e.FsC({type:Te,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ue,st){2&ue&&e.BMQ("required",st._enabled?"":null)},inputs:{required:"required"},features:[e.Jv_([b]),e.Vt3]}),ge})(),Ot=(()=>{var Te;class ge{}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)},Te.\u0275mod=e.$C({type:Te}),Te.\u0275inj=e.G2t({}),ge})();class pn extends bo{constructor(ge,He,ue){super(Jn(He),ao(ue,He)),this.controls=ge,this._initObservables(),this._setUpdateStrategy(He),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ge){return this.controls[this._adjustIndex(ge)]}push(ge,He={}){this.controls.push(ge),this._registerControl(ge),this.updateValueAndValidity({emitEvent:He.emitEvent}),this._onCollectionChange()}insert(ge,He,ue={}){this.controls.splice(ge,0,He),this._registerControl(He),this.updateValueAndValidity({emitEvent:ue.emitEvent})}removeAt(ge,He={}){let ue=this._adjustIndex(ge);ue<0&&(ue=0),this.controls[ue]&&this.controls[ue]._registerOnCollectionChange(()=>{}),this.controls.splice(ue,1),this.updateValueAndValidity({emitEvent:He.emitEvent})}setControl(ge,He,ue={}){let st=this._adjustIndex(ge);st<0&&(st=0),this.controls[st]&&this.controls[st]._registerOnCollectionChange(()=>{}),this.controls.splice(st,1),He&&(this.controls.splice(st,0,He),this._registerControl(He)),this.updateValueAndValidity({emitEvent:ue.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ge,He={}){Ro(this,0,ge),ge.forEach((ue,st)=>{ni(this,!1,st),this.at(st).setValue(ue,{onlySelf:!0,emitEvent:He.emitEvent})}),this.updateValueAndValidity(He)}patchValue(ge,He={}){null!=ge&&(ge.forEach((ue,st)=>{this.at(st)&&this.at(st).patchValue(ue,{onlySelf:!0,emitEvent:He.emitEvent})}),this.updateValueAndValidity(He))}reset(ge=[],He={}){this._forEachChild((ue,st)=>{ue.reset(ge[st],{onlySelf:!0,emitEvent:He.emitEvent})}),this._updatePristine(He,this),this._updateTouched(He,this),this.updateValueAndValidity(He)}getRawValue(){return this.controls.map(ge=>ge.getRawValue())}clear(ge={}){this.controls.length<1||(this._forEachChild(He=>He._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ge.emitEvent}))}_adjustIndex(ge){return ge<0?ge+this.length:ge}_syncPendingControls(){let ge=this.controls.reduce((He,ue)=>!!ue._syncPendingControls()||He,!1);return ge&&this.updateValueAndValidity({onlySelf:!0}),ge}_forEachChild(ge){this.controls.forEach((He,ue)=>{ge(He,ue)})}_updateValue(){this.value=this.controls.filter(ge=>ge.enabled||this.disabled).map(ge=>ge.value)}_anyControls(ge){return this.controls.some(He=>He.enabled&&ge(He))}_setUpControls(){this._forEachChild(ge=>this._registerControl(ge))}_allControlsDisabled(){for(const ge of this.controls)if(ge.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ge){ge.setParent(this),ge._registerOnCollectionChange(this._onCollectionChange)}_find(ge){return this.at(ge)??null}}function on(Te){return!!Te&&(void 0!==Te.asyncValidators||void 0!==Te.validators||void 0!==Te.updateOn)}let Qn=(()=>{var Te;class ge{constructor(){this.useNonNullable=!1}get nonNullable(){const ue=new ge;return ue.useNonNullable=!0,ue}group(ue,st=null){const jn=this._reduceControls(ue);let Yn={};return on(st)?Yn=st:null!==st&&(Yn.validators=st.validator,Yn.asyncValidators=st.asyncValidator),new $i(jn,Yn)}record(ue,st=null){const jn=this._reduceControls(ue);return new Sr(jn,st)}control(ue,st,jn){let Yn={};return this.useNonNullable?(on(st)?Yn=st:(Yn.validators=st,Yn.asyncValidators=jn),new yt(ue,{...Yn,nonNullable:!0})):new yt(ue,st,jn)}array(ue,st,jn){const Yn=ue.map(Lo=>this._createControl(Lo));return new pn(Yn,st,jn)}_reduceControls(ue){const st={};return Object.keys(ue).forEach(jn=>{st[jn]=this._createControl(ue[jn])}),st}_createControl(ue){return ue instanceof yt||ue instanceof bo?ue:Array.isArray(ue)?this.control(ue[0],ue.length>1?ue[1]:null,ue.length>2?ue[2]:null):this.control(ue)}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)},Te.\u0275prov=e.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"}),ge})(),wo=(()=>{var Te;class ge{static withConfig(ue){return{ngModule:ge,providers:[{provide:mr,useValue:ue.callSetDisabledState??Ki}]}}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)},Te.\u0275mod=e.$C({type:Te}),Te.\u0275inj=e.G2t({imports:[Ot]}),ge})(),ii=(()=>{var Te;class ge{static withConfig(ue){return{ngModule:ge,providers:[{provide:Qe,useValue:ue.warnOnNgModelWithFormControl??"always"},{provide:mr,useValue:ue.callSetDisabledState??Ki}]}}}return(Te=ge).\u0275fac=function(ue){return new(ue||Te)},Te.\u0275mod=e.$C({type:Te}),Te.\u0275inj=e.G2t({imports:[Ot]}),ge})()},345:(Ze,z,i)=>{"use strict";i.d(z,{B7:()=>je,Bb:()=>ln,hE:()=>Un,sG:()=>xt,up:()=>ci});var e=i(60177),t=i(54438);class l extends e.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class M extends l{static makeCurrent(){(0,e.ZD)(new M)}onAndCancel(ot,De,Fe){return ot.addEventListener(De,Fe),()=>{ot.removeEventListener(De,Fe)}}dispatchEvent(ot,De){ot.dispatchEvent(De)}remove(ot){ot.remove()}createElement(ot,De){return(De=De||this.getDefaultDocument()).createElement(ot)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ot){return ot.nodeType===Node.ELEMENT_NODE}isShadowRoot(ot){return ot instanceof DocumentFragment}getGlobalEventTarget(ot,De){return"window"===De?window:"document"===De?ot:"body"===De?ot.body:null}getBaseHref(ot){const De=function p(){return d=d||document.querySelector("base"),d?d.getAttribute("href"):null}();return null==De?null:function a(Pt){return new URL(Pt,document.baseURI).pathname}(De)}resetBaseElement(){d=null}getUserAgent(){return window.navigator.userAgent}getCookie(ot){return(0,e._b)(document.cookie,ot)}}let d=null,v=(()=>{var Pt;class ot{build(){return new XMLHttpRequest}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)},Pt.\u0275prov=t.jDH({token:Pt,factory:Pt.\u0275fac}),ot})();const E=new t.nKC("");let u=(()=>{var Pt;class ot{constructor(Fe,tt){this._zone=tt,this._eventNameToPlugin=new Map,Fe.forEach(en=>{en.manager=this}),this._plugins=Fe.slice().reverse()}addEventListener(Fe,tt,en){return this._findPluginFor(tt).addEventListener(Fe,tt,en)}getZone(){return this._zone}_findPluginFor(Fe){let tt=this._eventNameToPlugin.get(Fe);if(tt)return tt;if(tt=this._plugins.find(Xn=>Xn.supports(Fe)),!tt)throw new t.wOt(5101,!1);return this._eventNameToPlugin.set(Fe,tt),tt}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)(t.KVO(E),t.KVO(t.SKi))},Pt.\u0275prov=t.jDH({token:Pt,factory:Pt.\u0275fac}),ot})();class O{constructor(ot){this._doc=ot}}const A="ng-app-id";let $=(()=>{var Pt;class ot{constructor(Fe,tt,en,Xn={}){this.doc=Fe,this.appId=tt,this.nonce=en,this.platformId=Xn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,e.Vy)(Xn),this.resetHostNodes()}addStyles(Fe){for(const tt of Fe)1===this.changeUsageCount(tt,1)&&this.onStyleAdded(tt)}removeStyles(Fe){for(const tt of Fe)this.changeUsageCount(tt,-1)<=0&&this.onStyleRemoved(tt)}ngOnDestroy(){const Fe=this.styleNodesInDOM;Fe&&(Fe.forEach(tt=>tt.remove()),Fe.clear());for(const tt of this.getAllStyles())this.onStyleRemoved(tt);this.resetHostNodes()}addHost(Fe){this.hostNodes.add(Fe);for(const tt of this.getAllStyles())this.addStyleToHost(Fe,tt)}removeHost(Fe){this.hostNodes.delete(Fe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Fe){for(const tt of this.hostNodes)this.addStyleToHost(tt,Fe)}onStyleRemoved(Fe){const tt=this.styleRef;tt.get(Fe)?.elements?.forEach(en=>en.remove()),tt.delete(Fe)}collectServerRenderedStyles(){const Fe=this.doc.head?.querySelectorAll(`style[${A}="${this.appId}"]`);if(Fe?.length){const tt=new Map;return Fe.forEach(en=>{null!=en.textContent&&tt.set(en.textContent,en)}),tt}return null}changeUsageCount(Fe,tt){const en=this.styleRef;if(en.has(Fe)){const Xn=en.get(Fe);return Xn.usage+=tt,Xn.usage}return en.set(Fe,{usage:tt,elements:[]}),tt}getStyleElement(Fe,tt){const en=this.styleNodesInDOM,Xn=en?.get(tt);if(Xn?.parentNode===Fe)return en.delete(tt),Xn.removeAttribute(A),Xn;{const sn=this.doc.createElement("style");return this.nonce&&sn.setAttribute("nonce",this.nonce),sn.textContent=tt,this.platformIsServer&&sn.setAttribute(A,this.appId),Fe.appendChild(sn),sn}}addStyleToHost(Fe,tt){const en=this.getStyleElement(Fe,tt),Xn=this.styleRef,sn=Xn.get(tt)?.elements;sn?sn.push(en):Xn.set(tt,{elements:[en],usage:1})}resetHostNodes(){const Fe=this.hostNodes;Fe.clear(),Fe.add(this.doc.head)}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)(t.KVO(e.qQ),t.KVO(t.sZ2),t.KVO(t.BIS,8),t.KVO(t.Agw))},Pt.\u0275prov=t.jDH({token:Pt,factory:Pt.\u0275fac}),ot})();const K={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"},X=/%COMP%/g,J="%COMP%",G=`_nghost-${J}`,fe=`_ngcontent-${J}`,Me=new t.nKC("",{providedIn:"root",factory:()=>!0});function Ne(Pt,ot){return ot.map(De=>De.replace(X,Pt))}let je=(()=>{var Pt;class ot{constructor(Fe,tt,en,Xn,sn,zt,_n,kt=null){this.eventManager=Fe,this.sharedStylesHost=tt,this.appId=en,this.removeStylesOnCompDestroy=Xn,this.doc=sn,this.platformId=zt,this.ngZone=_n,this.nonce=kt,this.rendererByCompId=new Map,this.platformIsServer=(0,e.Vy)(zt),this.defaultRenderer=new it(Fe,sn,_n,this.platformIsServer)}createRenderer(Fe,tt){if(!Fe||!tt)return this.defaultRenderer;this.platformIsServer&&tt.encapsulation===t.gXe.ShadowDom&&(tt={...tt,encapsulation:t.gXe.Emulated});const en=this.getOrCreateRenderer(Fe,tt);return en instanceof Ge?en.applyToHost(Fe):en instanceof at&&en.applyStyles(),en}getOrCreateRenderer(Fe,tt){const en=this.rendererByCompId;let Xn=en.get(tt.id);if(!Xn){const sn=this.doc,zt=this.ngZone,_n=this.eventManager,kt=this.sharedStylesHost,an=this.removeStylesOnCompDestroy,Wn=this.platformIsServer;switch(tt.encapsulation){case t.gXe.Emulated:Xn=new Ge(_n,kt,tt,this.appId,an,sn,zt,Wn);break;case t.gXe.ShadowDom:return new mt(_n,kt,Fe,tt,sn,zt,this.nonce,Wn);default:Xn=new at(_n,kt,tt,an,sn,zt,Wn)}en.set(tt.id,Xn)}return Xn}ngOnDestroy(){this.rendererByCompId.clear()}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)(t.KVO(u),t.KVO($),t.KVO(t.sZ2),t.KVO(Me),t.KVO(e.qQ),t.KVO(t.Agw),t.KVO(t.SKi),t.KVO(t.BIS))},Pt.\u0275prov=t.jDH({token:Pt,factory:Pt.\u0275fac}),ot})();class it{constructor(ot,De,Fe,tt){this.eventManager=ot,this.doc=De,this.ngZone=Fe,this.platformIsServer=tt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ot,De){return De?this.doc.createElementNS(K[De]||De,ot):this.doc.createElement(ot)}createComment(ot){return this.doc.createComment(ot)}createText(ot){return this.doc.createTextNode(ot)}appendChild(ot,De){(St(ot)?ot.content:ot).appendChild(De)}insertBefore(ot,De,Fe){ot&&(St(ot)?ot.content:ot).insertBefore(De,Fe)}removeChild(ot,De){De.remove()}selectRootElement(ot,De){let Fe="string"==typeof ot?this.doc.querySelector(ot):ot;if(!Fe)throw new t.wOt(-5104,!1);return De||(Fe.textContent=""),Fe}parentNode(ot){return ot.parentNode}nextSibling(ot){return ot.nextSibling}setAttribute(ot,De,Fe,tt){if(tt){De=tt+":"+De;const en=K[tt];en?ot.setAttributeNS(en,De,Fe):ot.setAttribute(De,Fe)}else ot.setAttribute(De,Fe)}removeAttribute(ot,De,Fe){if(Fe){const tt=K[Fe];tt?ot.removeAttributeNS(tt,De):ot.removeAttribute(`${Fe}:${De}`)}else ot.removeAttribute(De)}addClass(ot,De){ot.classList.add(De)}removeClass(ot,De){ot.classList.remove(De)}setStyle(ot,De,Fe,tt){tt&(t.czy.DashCase|t.czy.Important)?ot.style.setProperty(De,Fe,tt&t.czy.Important?"important":""):ot.style[De]=Fe}removeStyle(ot,De,Fe){Fe&t.czy.DashCase?ot.style.removeProperty(De):ot.style[De]=""}setProperty(ot,De,Fe){null!=ot&&(ot[De]=Fe)}setValue(ot,De){ot.nodeValue=De}listen(ot,De,Fe){if("string"==typeof ot&&!(ot=(0,e.QT)().getGlobalEventTarget(this.doc,ot)))throw new Error(`Unsupported event target ${ot} for event ${De}`);return this.eventManager.addEventListener(ot,De,this.decoratePreventDefault(Fe))}decoratePreventDefault(ot){return De=>{if("__ngUnwrap__"===De)return ot;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ot(De)):ot(De))&&De.preventDefault()}}}function St(Pt){return"TEMPLATE"===Pt.tagName&&void 0!==Pt.content}class mt extends it{constructor(ot,De,Fe,tt,en,Xn,sn,zt){super(ot,en,Xn,zt),this.sharedStylesHost=De,this.hostEl=Fe,this.shadowRoot=Fe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _n=Ne(tt.id,tt.styles);for(const kt of _n){const an=document.createElement("style");sn&&an.setAttribute("nonce",sn),an.textContent=kt,this.shadowRoot.appendChild(an)}}nodeOrShadowRoot(ot){return ot===this.hostEl?this.shadowRoot:ot}appendChild(ot,De){return super.appendChild(this.nodeOrShadowRoot(ot),De)}insertBefore(ot,De,Fe){return super.insertBefore(this.nodeOrShadowRoot(ot),De,Fe)}removeChild(ot,De){return super.removeChild(null,De)}parentNode(ot){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ot)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class at extends it{constructor(ot,De,Fe,tt,en,Xn,sn,zt){super(ot,en,Xn,sn),this.sharedStylesHost=De,this.removeStylesOnCompDestroy=tt,this.styles=zt?Ne(zt,Fe.styles):Fe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ge extends at{constructor(ot,De,Fe,tt,en,Xn,sn,zt){const _n=tt+"-"+Fe.id;super(ot,De,Fe,en,Xn,sn,zt,_n),this.contentAttr=function ke(Pt){return fe.replace(X,Pt)}(_n),this.hostAttr=function be(Pt){return G.replace(X,Pt)}(_n)}applyToHost(ot){this.applyStyles(),this.setAttribute(ot,this.hostAttr,"")}createElement(ot,De){const Fe=super.createElement(ot,De);return super.setAttribute(Fe,this.contentAttr,""),Fe}}let gt=(()=>{var Pt;class ot extends O{constructor(Fe){super(Fe)}supports(Fe){return!0}addEventListener(Fe,tt,en){return Fe.addEventListener(tt,en,!1),()=>this.removeEventListener(Fe,tt,en)}removeEventListener(Fe,tt,en){return Fe.removeEventListener(tt,en)}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)(t.KVO(e.qQ))},Pt.\u0275prov=t.jDH({token:Pt,factory:Pt.\u0275fac}),ot})();const mn=["alt","control","meta","shift"],_t={"\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"},Ke={alt:Pt=>Pt.altKey,control:Pt=>Pt.ctrlKey,meta:Pt=>Pt.metaKey,shift:Pt=>Pt.shiftKey};let Je=(()=>{var Pt;class ot extends O{constructor(Fe){super(Fe)}supports(Fe){return null!=ot.parseEventName(Fe)}addEventListener(Fe,tt,en){const Xn=ot.parseEventName(tt),sn=ot.eventCallback(Xn.fullKey,en,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.QT)().onAndCancel(Fe,Xn.domEventName,sn))}static parseEventName(Fe){const tt=Fe.toLowerCase().split("."),en=tt.shift();if(0===tt.length||"keydown"!==en&&"keyup"!==en)return null;const Xn=ot._normalizeKey(tt.pop());let sn="",zt=tt.indexOf("code");if(zt>-1&&(tt.splice(zt,1),sn="code."),mn.forEach(kt=>{const an=tt.indexOf(kt);an>-1&&(tt.splice(an,1),sn+=kt+".")}),sn+=Xn,0!=tt.length||0===Xn.length)return null;const _n={};return _n.domEventName=en,_n.fullKey=sn,_n}static matchEventFullKeyCode(Fe,tt){let en=_t[Fe.key]||Fe.key,Xn="";return tt.indexOf("code.")>-1&&(en=Fe.code,Xn="code."),!(null==en||!en)&&(en=en.toLowerCase()," "===en?en="space":"."===en&&(en="dot"),mn.forEach(sn=>{sn!==en&&(0,Ke[sn])(Fe)&&(Xn+=sn+".")}),Xn+=en,Xn===tt)}static eventCallback(Fe,tt,en){return Xn=>{ot.matchEventFullKeyCode(Xn,Fe)&&en.runGuarded(()=>tt(Xn))}}static _normalizeKey(Fe){return"esc"===Fe?"escape":Fe}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)(t.KVO(e.qQ))},Pt.\u0275prov=t.jDH({token:Pt,factory:Pt.\u0275fac}),ot})();const xt=(0,t.oH4)(t.fpN,"browser",[{provide:t.Agw,useValue:e.AJ},{provide:t.PLl,useValue:function Nn(){M.makeCurrent()},multi:!0},{provide:e.qQ,useFactory:function xo(){return(0,t.TL$)(document),document},deps:[]}]),Ht=new t.nKC(""),$t=[{provide:t.e01,useClass:class _{addToWindow(ot){t.JZv.getAngularTestability=(Fe,tt=!0)=>{const en=ot.findTestabilityInTree(Fe,tt);if(null==en)throw new t.wOt(5103,!1);return en},t.JZv.getAllAngularTestabilities=()=>ot.getAllTestabilities(),t.JZv.getAllAngularRootElements=()=>ot.getAllRootElements(),t.JZv.frameworkStabilizers||(t.JZv.frameworkStabilizers=[]),t.JZv.frameworkStabilizers.push(Fe=>{const tt=t.JZv.getAllAngularTestabilities();let en=tt.length;const Xn=function(){en--,0==en&&Fe()};tt.forEach(sn=>{sn.whenStable(Xn)})})}findTestabilityInTree(ot,De,Fe){return null==De?null:ot.getTestability(De)??(Fe?(0,e.QT)().isShadowRoot(De)?this.findTestabilityInTree(ot,De.host,!0):this.findTestabilityInTree(ot,De.parentElement,!0):null)}},deps:[]},{provide:t.WHO,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]},{provide:t.NYb,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]}],Xt=[{provide:t.H8p,useValue:"root"},{provide:t.zcH,useFactory:function Hn(){return new t.zcH},deps:[]},{provide:E,useClass:gt,multi:!0,deps:[e.qQ,t.SKi,t.Agw]},{provide:E,useClass:Je,multi:!0,deps:[e.qQ]},je,$,u,{provide:t._9s,useExisting:je},{provide:e.N0,useClass:v,deps:[]},[]];let ln=(()=>{var Pt;class ot{constructor(Fe){}static withServerTransition(Fe){return{ngModule:ot,providers:[{provide:t.sZ2,useValue:Fe.appId}]}}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)(t.KVO(Ht,12))},Pt.\u0275mod=t.$C({type:Pt}),Pt.\u0275inj=t.G2t({providers:[...Xt,...$t],imports:[e.MD,t.Hbi]}),ot})(),Un=(()=>{var Pt;class ot{constructor(Fe){this._doc=Fe}getTitle(){return this._doc.title}setTitle(Fe){this._doc.title=Fe||""}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)(t.KVO(e.qQ))},Pt.\u0275prov=t.jDH({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),ot})(),ci=(()=>{var Pt;class ot{}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)},Pt.\u0275prov=t.jDH({token:Pt,factory:function(Fe){let tt=null;return tt=Fe?new(Fe||Pt):t.KVO(ko),tt},providedIn:"root"}),ot})(),ko=(()=>{var Pt;class ot extends ci{constructor(Fe){super(),this._doc=Fe}sanitize(Fe,tt){if(null==tt)return null;switch(Fe){case t.WPN.NONE:return tt;case t.WPN.HTML:return(0,t.ZF7)(tt,"HTML")?(0,t.rcV)(tt):(0,t.h9k)(this._doc,String(tt)).toString();case t.WPN.STYLE:return(0,t.ZF7)(tt,"Style")?(0,t.rcV)(tt):tt;case t.WPN.SCRIPT:if((0,t.ZF7)(tt,"Script"))return(0,t.rcV)(tt);throw new t.wOt(5200,!1);case t.WPN.URL:return(0,t.ZF7)(tt,"URL")?(0,t.rcV)(tt):(0,t.$MX)(String(tt));case t.WPN.RESOURCE_URL:if((0,t.ZF7)(tt,"ResourceURL"))return(0,t.rcV)(tt);throw new t.wOt(5201,!1);default:throw new t.wOt(5202,!1)}}bypassSecurityTrustHtml(Fe){return(0,t.Kcf)(Fe)}bypassSecurityTrustStyle(Fe){return(0,t.cWb)(Fe)}bypassSecurityTrustScript(Fe){return(0,t.UyX)(Fe)}bypassSecurityTrustUrl(Fe){return(0,t.osQ)(Fe)}bypassSecurityTrustResourceUrl(Fe){return(0,t.e5t)(Fe)}}return(Pt=ot).\u0275fac=function(Fe){return new(Fe||Pt)(t.KVO(e.qQ))},Pt.\u0275prov=t.jDH({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),ot})()},22694:(Ze,z,i)=>{"use strict";i.d(z,{nX:()=>In,Zp:()=>Jt,wF:()=>wr,Z:()=>is,Xk:()=>Kn,bw:()=>ya,Ix:()=>ls,Wk:()=>Ei,wQ:()=>yr,iI:()=>H,n3:()=>So,Sd:()=>Go});var e=i(54438),t=i(74402),l=i(86648),M=i(7673),d=i(84412),p=i(84572),a=i(9350),_=i(28793),v=i(71985),E=i(58750);function u(W){return new v.c(te=>{(0,E.Tg)(W()).subscribe(te)})}var O=i(71203),A=i(98071);function $(W,te){const ye=(0,A.T)(W)?W:()=>W,se=Oe=>Oe.error(ye());return new v.c(te?Oe=>te.schedule(se,0,Oe):se)}var K=i(983),X=i(30017),J=i(21413),G=i(18359),fe=i(60177),he=i(96354),Me=i(25558),ke=i(96697),be=i(99172),Ne=i(5964),je=i(31397),it=i(61594),pt=i(70274),Ye=i(39974),St=i(54360),mt=i(33669);function at(W,te,ye){const se=(0,A.T)(W)||te||ye?{next:W,error:te,complete:ye}:W;return se?(0,Ye.N)((Oe,bt)=>{var wt;null===(wt=se.subscribe)||void 0===wt||wt.call(se);let zn=!0;Oe.subscribe((0,St._)(bt,lo=>{var no;null===(no=se.next)||void 0===no||no.call(se,lo),bt.next(lo)},()=>{var lo;zn=!1,null===(lo=se.complete)||void 0===lo||lo.call(se),bt.complete()},lo=>{var no;zn=!1,null===(no=se.error)||void 0===no||no.call(se,lo),bt.error(lo)},()=>{var lo,no;zn&&(null===(lo=se.unsubscribe)||void 0===lo||lo.call(se)),null===(no=se.finalize)||void 0===no||no.call(se)}))}):mt.D}function Ge(W){return(0,Ye.N)((te,ye)=>{let bt,se=null,Oe=!1;se=te.subscribe((0,St._)(ye,void 0,void 0,wt=>{bt=(0,E.Tg)(W(wt,Ge(W)(te))),se?(se.unsubscribe(),se=null,bt.subscribe(ye)):Oe=!0})),Oe&&(se.unsubscribe(),se=null,bt.subscribe(ye))})}var _t=i(39901);function Ke(W){return W<=0?()=>K.w:(0,Ye.N)((te,ye)=>{let se=[];te.subscribe((0,St._)(ye,Oe=>{se.push(Oe),W{for(const Oe of se)ye.next(Oe);ye.complete()},void 0,()=>{se=null}))})}var Je=i(93774),Bt=i(70980),It=i(99898),Nn=i(56977),Hn=i(26365),xo=i(345);const Kn="primary",xt=Symbol("RouteTitle");class Ht{constructor(te){this.params=te||{}}has(te){return Object.prototype.hasOwnProperty.call(this.params,te)}get(te){if(this.has(te)){const ye=this.params[te];return Array.isArray(ye)?ye[0]:ye}return null}getAll(te){if(this.has(te)){const ye=this.params[te];return Array.isArray(ye)?ye:[ye]}return[]}get keys(){return Object.keys(this.params)}}function $t(W){return new Ht(W)}function Xt(W,te,ye){const se=ye.path.split("/");if(se.length>W.length||"full"===ye.pathMatch&&(te.hasChildren()||se.lengthse[bt]===Oe)}return W===te}function Tn(W){return W.length>0?W[W.length-1]:null}function dn(W){return(0,t.A)(W)?W:(0,e.jNT)(W)?(0,l.H)(Promise.resolve(W)):(0,M.of)(W)}const gn={exact:function Lt(W,te,ye){if(!ko(W.segments,te.segments)||!Bn(W.segments,te.segments,ye)||W.numberOfChildren!==te.numberOfChildren)return!1;for(const se in te.children)if(!W.children[se]||!Lt(W.children[se],te.children[se],ye))return!1;return!0},subset:Mn},Vt={exact:function Ln(W,te){return tn(W,te)},subset:function yn(W,te){return Object.keys(te).length<=Object.keys(W).length&&Object.keys(te).every(ye=>Un(W[ye],te[ye]))},ignored:()=>!0};function Gt(W,te,ye){return gn[ye.paths](W.root,te.root,ye.matrixParams)&&Vt[ye.queryParams](W.queryParams,te.queryParams)&&!("exact"===ye.fragment&&W.fragment!==te.fragment)}function Mn(W,te,ye){return bn(W,te,te.segments,ye)}function bn(W,te,ye,se){if(W.segments.length>ye.length){const Oe=W.segments.slice(0,ye.length);return!(!ko(Oe,ye)||te.hasChildren()||!Bn(Oe,ye,se))}if(W.segments.length===ye.length){if(!ko(W.segments,ye)||!Bn(W.segments,ye,se))return!1;for(const Oe in te.children)if(!W.children[Oe]||!Mn(W.children[Oe],te.children[Oe],se))return!1;return!0}{const Oe=ye.slice(0,W.segments.length),bt=ye.slice(W.segments.length);return!!(ko(W.segments,Oe)&&Bn(W.segments,Oe,se)&&W.children[Kn])&&bn(W.children[Kn],te,bt,se)}}function Bn(W,te,ye){return te.every((se,Oe)=>Vt[ye](W[Oe].parameters,se.parameters))}class yo{constructor(te=new oo([],{}),ye={},se=null){this.root=te,this.queryParams=ye,this.fragment=se}get queryParamMap(){return this._queryParamMap??=$t(this.queryParams),this._queryParamMap}toString(){return pi.serialize(this)}}class oo{constructor(te,ye){this.segments=te,this.children=ye,this.parent=null,Object.values(ye).forEach(se=>se.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Si(this)}}class Ko{constructor(te,ye){this.path=te,this.parameters=ye}get parameterMap(){return this._parameterMap??=$t(this.parameters),this._parameterMap}toString(){return Fe(this)}}function ko(W,te){return W.length===te.length&&W.every((ye,se)=>ye.path===te[se].path)}let Go=(()=>{var W;class te{}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:()=>new Ji,providedIn:"root"}),te})();class Ji{parse(te){const ye=new Do(te);return new yo(ye.parseRootSegment(),ye.parseQueryParams(),ye.parseFragment())}serialize(te){const ye=`/${hr(te.root,!0)}`,se=function en(W){const te=Object.entries(W).map(([ye,se])=>Array.isArray(se)?se.map(Oe=>`${Gn(ye)}=${Gn(Oe)}`).join("&"):`${Gn(ye)}=${Gn(se)}`).filter(ye=>ye);return te.length?`?${te.join("&")}`:""}(te.queryParams);return`${ye}${se}${"string"==typeof te.fragment?`#${function qt(W){return encodeURI(W)}(te.fragment)}`:""}`}}const pi=new Ji;function Si(W){return W.segments.map(te=>Fe(te)).join("/")}function hr(W,te){if(!W.hasChildren())return Si(W);if(te){const ye=W.children[Kn]?hr(W.children[Kn],!1):"",se=[];return Object.entries(W.children).forEach(([Oe,bt])=>{Oe!==Kn&&se.push(`${Oe}:${hr(bt,!1)}`)}),se.length>0?`${ye}(${se.join("//")})`:ye}{const ye=function ei(W,te){let ye=[];return Object.entries(W.children).forEach(([se,Oe])=>{se===Kn&&(ye=ye.concat(te(Oe,se)))}),Object.entries(W.children).forEach(([se,Oe])=>{se!==Kn&&(ye=ye.concat(te(Oe,se)))}),ye}(W,(se,Oe)=>Oe===Kn?[hr(W.children[Kn],!1)]:[`${Oe}:${hr(se,!1)}`]);return 1===Object.keys(W.children).length&&null!=W.children[Kn]?`${Si(W)}/${ye[0]}`:`${Si(W)}/(${ye.join("//")})`}}function Pi(W){return encodeURIComponent(W).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gn(W){return Pi(W).replace(/%3B/gi,";")}function Pt(W){return Pi(W).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ot(W){return decodeURIComponent(W)}function De(W){return ot(W.replace(/\+/g,"%20"))}function Fe(W){return`${Pt(W.path)}${function tt(W){return Object.entries(W).map(([te,ye])=>`;${Pt(te)}=${Pt(ye)}`).join("")}(W.parameters)}`}const Xn=/^[^\/()?;#]+/;function sn(W){const te=W.match(Xn);return te?te[0]:""}const zt=/^[^\/()?;=#]+/,kt=/^[^=?&#]+/,Wn=/^[^&#]+/;class Do{constructor(te){this.url=te,this.remaining=te}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new oo([],{}):new oo([],this.parseChildren())}parseQueryParams(){const te={};if(this.consumeOptional("?"))do{this.parseQueryParam(te)}while(this.consumeOptional("&"));return te}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const te=[];for(this.peekStartsWith("(")||te.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),te.push(this.parseSegment());let ye={};this.peekStartsWith("/(")&&(this.capture("/"),ye=this.parseParens(!0));let se={};return this.peekStartsWith("(")&&(se=this.parseParens(!1)),(te.length>0||Object.keys(ye).length>0)&&(se[Kn]=new oo(te,ye)),se}parseSegment(){const te=sn(this.remaining);if(""===te&&this.peekStartsWith(";"))throw new e.wOt(4009,!1);return this.capture(te),new Ko(ot(te),this.parseMatrixParams())}parseMatrixParams(){const te={};for(;this.consumeOptional(";");)this.parseParam(te);return te}parseParam(te){const ye=function _n(W){const te=W.match(zt);return te?te[0]:""}(this.remaining);if(!ye)return;this.capture(ye);let se="";if(this.consumeOptional("=")){const Oe=sn(this.remaining);Oe&&(se=Oe,this.capture(se))}te[ot(ye)]=ot(se)}parseQueryParam(te){const ye=function an(W){const te=W.match(kt);return te?te[0]:""}(this.remaining);if(!ye)return;this.capture(ye);let se="";if(this.consumeOptional("=")){const wt=function Jn(W){const te=W.match(Wn);return te?te[0]:""}(this.remaining);wt&&(se=wt,this.capture(se))}const Oe=De(ye),bt=De(se);if(te.hasOwnProperty(Oe)){let wt=te[Oe];Array.isArray(wt)||(wt=[wt],te[Oe]=wt),wt.push(bt)}else te[Oe]=bt}parseParens(te){const ye={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const se=sn(this.remaining),Oe=this.remaining[se.length];if("/"!==Oe&&")"!==Oe&&";"!==Oe)throw new e.wOt(4010,!1);let bt;se.indexOf(":")>-1?(bt=se.slice(0,se.indexOf(":")),this.capture(bt),this.capture(":")):te&&(bt=Kn);const wt=this.parseChildren();ye[bt]=1===Object.keys(wt).length?wt[Kn]:new oo([],wt),this.consumeOptional("//")}return ye}peekStartsWith(te){return this.remaining.startsWith(te)}consumeOptional(te){return!!this.peekStartsWith(te)&&(this.remaining=this.remaining.substring(te.length),!0)}capture(te){if(!this.consumeOptional(te))throw new e.wOt(4011,!1)}}function ao(W){return W.segments.length>0?new oo([],{[Kn]:W}):W}function kn(W){const te={};for(const[se,Oe]of Object.entries(W.children)){const bt=kn(Oe);if(se===Kn&&0===bt.segments.length&&bt.hasChildren())for(const[wt,zn]of Object.entries(bt.children))te[wt]=zn;else(bt.segments.length>0||bt.hasChildren())&&(te[se]=bt)}return function On(W){if(1===W.numberOfChildren&&W.children[Kn]){const te=W.children[Kn];return new oo(W.segments.concat(te.segments),te.children)}return W}(new oo(W.segments,te))}function ni(W){return W instanceof yo}function bo(W){let te;const Oe=ao(function ye(bt){const wt={};for(const lo of bt.children){const no=ye(lo);wt[lo.outlet]=no}const zn=new oo(bt.url,wt);return bt===W&&(te=zn),zn}(W.root));return te??Oe}function $i(W,te,ye,se){let Oe=W;for(;Oe.parent;)Oe=Oe.parent;if(0===te.length)return tr(Oe,Oe,Oe,ye,se);const bt=function mr(W){if("string"==typeof W[0]&&1===W.length&&"/"===W[0])return new wi(!0,0,W);let te=0,ye=!1;const se=W.reduce((Oe,bt,wt)=>{if("object"==typeof bt&&null!=bt){if(bt.outlets){const zn={};return Object.entries(bt.outlets).forEach(([lo,no])=>{zn[lo]="string"==typeof no?no.split("/"):no}),[...Oe,{outlets:zn}]}if(bt.segmentPath)return[...Oe,bt.segmentPath]}return"string"!=typeof bt?[...Oe,bt]:0===wt?(bt.split("/").forEach((zn,lo)=>{0==lo&&"."===zn||(0==lo&&""===zn?ye=!0:".."===zn?te++:""!=zn&&Oe.push(zn))}),Oe):[...Oe,bt]},[]);return new wi(ye,te,se)}(te);if(bt.toRoot())return tr(Oe,Oe,new oo([],{}),ye,se);const wt=function kr(W,te,ye){if(W.isAbsolute)return new Ki(te,!0,0);if(!ye)return new Ki(te,!1,NaN);if(null===ye.parent)return new Ki(ye,!0,0);const se=yi(W.commands[0])?0:1;return function Wr(W,te,ye){let se=W,Oe=te,bt=ye;for(;bt>Oe;){if(bt-=Oe,se=se.parent,!se)throw new e.wOt(4005,!1);Oe=se.segments.length}return new Ki(se,!1,Oe-bt)}(ye,ye.segments.length-1+se,W.numberOfDoubleDots)}(bt,Oe,W),zn=wt.processChildren?Ho(wt.segmentGroup,wt.index,bt.commands):io(wt.segmentGroup,wt.index,bt.commands);return tr(Oe,wt.segmentGroup,zn,ye,se)}function yi(W){return"object"==typeof W&&null!=W&&!W.outlets&&!W.segmentPath}function Gi(W){return"object"==typeof W&&null!=W&&W.outlets}function tr(W,te,ye,se,Oe){let wt,bt={};se&&Object.entries(se).forEach(([lo,no])=>{bt[lo]=Array.isArray(no)?no.map(vi=>`${vi}`):`${no}`}),wt=W===te?ye:Sr(W,te,ye);const zn=ao(kn(wt));return new yo(zn,bt,Oe)}function Sr(W,te,ye){const se={};return Object.entries(W.children).forEach(([Oe,bt])=>{se[Oe]=bt===te?ye:Sr(bt,te,ye)}),new oo(W.segments,se)}class wi{constructor(te,ye,se){if(this.isAbsolute=te,this.numberOfDoubleDots=ye,this.commands=se,te&&se.length>0&&yi(se[0]))throw new e.wOt(4003,!1);const Oe=se.find(Gi);if(Oe&&Oe!==Tn(se))throw new e.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ki{constructor(te,ye,se){this.segmentGroup=te,this.processChildren=ye,this.index=se}}function io(W,te,ye){if(W??=new oo([],{}),0===W.segments.length&&W.hasChildren())return Ho(W,te,ye);const se=function gi(W,te,ye){let se=0,Oe=te;const bt={match:!1,pathIndex:0,commandIndex:0};for(;Oe=ye.length)return bt;const wt=W.segments[Oe],zn=ye[se];if(Gi(zn))break;const lo=`${zn}`,no=se0&&void 0===lo)break;if(lo&&no&&"object"==typeof no&&void 0===no.outlets){if(!bi(lo,no,wt))return bt;se+=2}else{if(!bi(lo,{},wt))return bt;se++}Oe++}return{match:!0,pathIndex:Oe,commandIndex:se}}(W,te,ye),Oe=ye.slice(se.commandIndex);if(se.match&&se.pathIndexbt!==Kn)&&W.children[Kn]&&1===W.numberOfChildren&&0===W.children[Kn].segments.length){const bt=Ho(W.children[Kn],te,ye);return new oo(W.segments,bt.children)}return Object.entries(se).forEach(([bt,wt])=>{"string"==typeof wt&&(wt=[wt]),null!==wt&&(Oe[bt]=io(W.children[bt],te,wt))}),Object.entries(W.children).forEach(([bt,wt])=>{void 0===se[bt]&&(Oe[bt]=wt)}),new oo(W.segments,Oe)}}function xi(W,te,ye){const se=W.segments.slice(0,te);let Oe=0;for(;Oe{"string"==typeof se&&(se=[se]),null!==se&&(te[ye]=xi(new oo([],{}),0,se))}),te}function qi(W){const te={};return Object.entries(W).forEach(([ye,se])=>te[ye]=`${se}`),te}function bi(W,te,ye){return W==ye.path&&tn(te,ye.parameters)}const Rr="imperative";var Fi=function(W){return W[W.NavigationStart=0]="NavigationStart",W[W.NavigationEnd=1]="NavigationEnd",W[W.NavigationCancel=2]="NavigationCancel",W[W.NavigationError=3]="NavigationError",W[W.RoutesRecognized=4]="RoutesRecognized",W[W.ResolveStart=5]="ResolveStart",W[W.ResolveEnd=6]="ResolveEnd",W[W.GuardsCheckStart=7]="GuardsCheckStart",W[W.GuardsCheckEnd=8]="GuardsCheckEnd",W[W.RouteConfigLoadStart=9]="RouteConfigLoadStart",W[W.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",W[W.ChildActivationStart=11]="ChildActivationStart",W[W.ChildActivationEnd=12]="ChildActivationEnd",W[W.ActivationStart=13]="ActivationStart",W[W.ActivationEnd=14]="ActivationEnd",W[W.Scroll=15]="Scroll",W[W.NavigationSkipped=16]="NavigationSkipped",W}(Fi||{});class ri{constructor(te,ye){this.id=te,this.url=ye}}class is extends ri{constructor(te,ye,se="imperative",Oe=null){super(te,ye),this.type=Fi.NavigationStart,this.navigationTrigger=se,this.restoredState=Oe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wr extends ri{constructor(te,ye,se){super(te,ye),this.urlAfterRedirects=se,this.type=Fi.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var xr=function(W){return W[W.Redirect=0]="Redirect",W[W.SupersededByNewNavigation=1]="SupersededByNewNavigation",W[W.NoDataFromResolver=2]="NoDataFromResolver",W[W.GuardRejected=3]="GuardRejected",W}(xr||{}),Zr=function(W){return W[W.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",W[W.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",W}(Zr||{});class Kr extends ri{constructor(te,ye,se,Oe){super(te,ye),this.reason=se,this.code=Oe,this.type=Fi.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Mr extends ri{constructor(te,ye,se,Oe){super(te,ye),this.reason=se,this.code=Oe,this.type=Fi.NavigationSkipped}}class Fs extends ri{constructor(te,ye,se,Oe){super(te,ye),this.error=se,this.target=Oe,this.type=Fi.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class es extends ri{constructor(te,ye,se,Oe){super(te,ye),this.urlAfterRedirects=se,this.state=Oe,this.type=Fi.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Cr extends ri{constructor(te,ye,se,Oe){super(te,ye),this.urlAfterRedirects=se,this.state=Oe,this.type=Fi.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dr extends ri{constructor(te,ye,se,Oe,bt){super(te,ye),this.urlAfterRedirects=se,this.state=Oe,this.shouldActivate=bt,this.type=Fi.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class rs extends ri{constructor(te,ye,se,Oe){super(te,ye),this.urlAfterRedirects=se,this.state=Oe,this.type=Fi.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ys extends ri{constructor(te,ye,se,Oe){super(te,ye),this.urlAfterRedirects=se,this.state=Oe,this.type=Fi.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _r{constructor(te){this.route=te,this.type=Fi.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Pr{constructor(te){this.route=te,this.type=Fi.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ts{constructor(te){this.snapshot=te,this.type=Fi.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hi{constructor(te){this.snapshot=te,this.type=Fi.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(te){this.snapshot=te,this.type=Fi.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wt{constructor(te){this.snapshot=te,this.type=Fi.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pn{constructor(te,ye,se){this.routerEvent=te,this.position=ye,this.anchor=se,this.type=Fi.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Zt{}class Cn{constructor(te,ye){this.url=te,this.navigationBehaviorOptions=ye}}function et(W){return W.outlet||Kn}function lt(W){if(!W)return null;if(W.routeConfig?._injector)return W.routeConfig._injector;for(let te=W.parent;te;te=te.parent){const ye=te.routeConfig;if(ye?._loadedInjector)return ye._loadedInjector;if(ye?._injector)return ye._injector}return null}class jt{get injector(){return lt(this.route?.snapshot)??this.rootInjector}set injector(te){}constructor(te){this.rootInjector=te,this.outlet=null,this.route=null,this.children=new Jt(this.rootInjector),this.attachRef=null}}let Jt=(()=>{var W;class te{constructor(se){this.rootInjector=se,this.contexts=new Map}onChildOutletCreated(se,Oe){const bt=this.getOrCreateContext(se);bt.outlet=Oe,this.contexts.set(se,bt)}onChildOutletDestroyed(se){const Oe=this.getContext(se);Oe&&(Oe.outlet=null,Oe.attachRef=null)}onOutletDeactivated(){const se=this.contexts;return this.contexts=new Map,se}onOutletReAttached(se){this.contexts=se}getOrCreateContext(se){let Oe=this.getContext(se);return Oe||(Oe=new jt(this.rootInjector),this.contexts.set(se,Oe)),Oe}getContext(se){return this.contexts.get(se)||null}}return(W=te).\u0275fac=function(se){return new(se||W)(e.KVO(e.uvJ))},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})();class ie{constructor(te){this._root=te}get root(){return this._root.value}parent(te){const ye=this.pathFromRoot(te);return ye.length>1?ye[ye.length-2]:null}children(te){const ye=Be(te,this._root);return ye?ye.children.map(se=>se.value):[]}firstChild(te){const ye=Be(te,this._root);return ye&&ye.children.length>0?ye.children[0].value:null}siblings(te){const ye=Qe(te,this._root);return ye.length<2?[]:ye[ye.length-2].children.map(Oe=>Oe.value).filter(Oe=>Oe!==te)}pathFromRoot(te){return Qe(te,this._root).map(ye=>ye.value)}}function Be(W,te){if(W===te.value)return te;for(const ye of te.children){const se=Be(W,ye);if(se)return se}return null}function Qe(W,te){if(W===te.value)return[te];for(const ye of te.children){const se=Qe(W,ye);if(se.length)return se.unshift(te),se}return[]}class ct{constructor(te,ye){this.value=te,this.children=ye}toString(){return`TreeNode(${this.value})`}}function Mt(W){const te={};return W&&W.children.forEach(ye=>te[ye.value.outlet]=ye),te}class Dt extends ie{constructor(te,ye){super(te),this.snapshot=ye,po(this,te)}toString(){return this.snapshot.toString()}}function fn(W){const te=function un(W){const bt=new vo([],{},{},"",{},Kn,W,null,{});return new Mo("",new ct(bt,[]))}(W),ye=new d.t([new Ko("",{})]),se=new d.t({}),Oe=new d.t({}),bt=new d.t({}),wt=new d.t(""),zn=new In(ye,se,bt,wt,Oe,Kn,W,te.root);return zn.snapshot=te.root,new Dt(new ct(zn,[]),te)}class In{constructor(te,ye,se,Oe,bt,wt,zn,lo){this.urlSubject=te,this.paramsSubject=ye,this.queryParamsSubject=se,this.fragmentSubject=Oe,this.dataSubject=bt,this.outlet=wt,this.component=zn,this._futureSnapshot=lo,this.title=this.dataSubject?.pipe((0,he.T)(no=>no[xt]))??(0,M.of)(void 0),this.url=te,this.params=ye,this.queryParams=se,this.fragment=Oe,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,he.T)(te=>$t(te))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,he.T)(te=>$t(te))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $n(W,te,ye="emptyOnly"){let se;const{routeConfig:Oe}=W;return se=null===te||"always"!==ye&&""!==Oe?.path&&(te.component||te.routeConfig?.loadComponent)?{params:{...W.params},data:{...W.data},resolve:{...W.data,...W._resolvedData??{}}}:{params:{...te.params,...W.params},data:{...te.data,...W.data},resolve:{...W.data,...te.data,...Oe?.data,...W._resolvedData}},Oe&&Vo(Oe)&&(se.resolve[xt]=Oe.title),se}class vo{get title(){return this.data?.[xt]}constructor(te,ye,se,Oe,bt,wt,zn,lo,no){this.url=te,this.params=ye,this.queryParams=se,this.fragment=Oe,this.data=bt,this.outlet=wt,this.component=zn,this.routeConfig=lo,this._resolve=no}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??=$t(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$t(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(se=>se.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Mo extends ie{constructor(te,ye){super(ye),this.url=te,po(this,ye)}toString(){return uo(this._root)}}function po(W,te){te.value._routerState=W,te.children.forEach(ye=>po(W,ye))}function uo(W){const te=W.children.length>0?` { ${W.children.map(uo).join(", ")} } `:"";return`${W.value}${te}`}function Po(W){if(W.snapshot){const te=W.snapshot,ye=W._futureSnapshot;W.snapshot=ye,tn(te.queryParams,ye.queryParams)||W.queryParamsSubject.next(ye.queryParams),te.fragment!==ye.fragment&&W.fragmentSubject.next(ye.fragment),tn(te.params,ye.params)||W.paramsSubject.next(ye.params),function ln(W,te){if(W.length!==te.length)return!1;for(let ye=0;yetn(ye.parameters,te[se].parameters))}(W.url,te.url);return ye&&!(!W.parent!=!te.parent)&&(!W.parent||Co(W.parent,te.parent))}function Vo(W){return"string"==typeof W.title||null===W.title}let So=(()=>{var W;class te{constructor(){this.activated=null,this._activatedRoute=null,this.name=Kn,this.activateEvents=new e.bkB,this.deactivateEvents=new e.bkB,this.attachEvents=new e.bkB,this.detachEvents=new e.bkB,this.parentContexts=(0,e.WQX)(Jt),this.location=(0,e.WQX)(e.c1b),this.changeDetector=(0,e.WQX)(e.gRc),this.inputBinder=(0,e.WQX)(Or,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(se){if(se.name){const{firstChange:Oe,previousValue:bt}=se.name;if(Oe)return;this.isTrackedInParentContexts(bt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(bt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(se){return this.parentContexts.getContext(se)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const se=this.parentContexts.getContext(this.name);se?.route&&(se.attachRef?this.attach(se.attachRef,se.route):this.activateWith(se.route,se.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.wOt(4012,!1);this.location.detach();const se=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(se.instance),se}attach(se,Oe){this.activated=se,this._activatedRoute=Oe,this.location.insert(se.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(se.instance)}deactivate(){if(this.activated){const se=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(se)}}activateWith(se,Oe){if(this.isActivated)throw new e.wOt(4013,!1);this._activatedRoute=se;const bt=this.location,zn=se.snapshot.component,lo=this.parentContexts.getOrCreateContext(this.name).children,no=new Yo(se,lo,bt.injector);this.activated=bt.createComponent(zn,{index:bt.length,injector:no,environmentInjector:Oe}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275dir=e.FsC({type:W,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.OA$]}),te})();class Yo{__ngOutletInjector(te){return new Yo(this.route,this.childContexts,te)}constructor(te,ye,se){this.route=te,this.childContexts=ye,this.parent=se}get(te,ye){return te===In?this.route:te===Jt?this.childContexts:this.parent.get(te,ye)}}const Or=new e.nKC("");let Lr=(()=>{var W;class te{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(se){this.unsubscribeFromRouteData(se),this.subscribeToRouteData(se)}unsubscribeFromRouteData(se){this.outletDataSubscriptions.get(se)?.unsubscribe(),this.outletDataSubscriptions.delete(se)}subscribeToRouteData(se){const{activatedRoute:Oe}=se,bt=(0,p.z)([Oe.queryParams,Oe.params,Oe.data]).pipe((0,Me.n)(([wt,zn,lo],no)=>(lo={...wt,...zn,...lo},0===no?(0,M.of)(lo):Promise.resolve(lo)))).subscribe(wt=>{if(!se.isActivated||!se.activatedComponentRef||se.activatedRoute!==Oe||null===Oe.component)return void this.unsubscribeFromRouteData(se);const zn=(0,e.HJs)(Oe.component);if(zn)for(const{templateName:lo}of zn.inputs)se.activatedComponentRef.setInput(lo,wt[lo]);else this.unsubscribeFromRouteData(se)});this.outletDataSubscriptions.set(se,bt)}}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac}),te})();function fr(W,te,ye){if(ye&&W.shouldReuseRoute(te.value,ye.value.snapshot)){const se=ye.value;se._futureSnapshot=te.value;const Oe=function Er(W,te,ye){return te.children.map(se=>{for(const Oe of ye.children)if(W.shouldReuseRoute(se.value,Oe.value.snapshot))return fr(W,se,Oe);return fr(W,se)})}(W,te,ye);return new ct(se,Oe)}{if(W.shouldAttach(te.value)){const bt=W.retrieve(te.value);if(null!==bt){const wt=bt.route;return wt.value._futureSnapshot=te.value,wt.children=te.children.map(zn=>fr(W,zn)),wt}}const se=function Ci(W){return new In(new d.t(W.url),new d.t(W.params),new d.t(W.queryParams),new d.t(W.fragment),new d.t(W.data),W.outlet,W.component,W)}(te.value),Oe=te.children.map(bt=>fr(W,bt));return new ct(se,Oe)}}class _i{constructor(te,ye){this.redirectTo=te,this.navigationBehaviorOptions=ye}}const ar="ngNavigationCancelingError";function Zi(W,te){const{redirectTo:ye,navigationBehaviorOptions:se}=ni(te)?{redirectTo:te,navigationBehaviorOptions:void 0}:te,Oe=jr(!1,xr.Redirect);return Oe.url=ye,Oe.navigationBehaviorOptions=se,Oe}function jr(W,te){const ye=new Error(`NavigationCancelingError: ${W||""}`);return ye[ar]=!0,ye.cancellationCode=te,ye}function Hr(W){return!!W&&W[ar]}class ee{constructor(te,ye,se,Oe,bt){this.routeReuseStrategy=te,this.futureState=ye,this.currState=se,this.forwardEvent=Oe,this.inputBindingEnabled=bt}activate(te){const ye=this.futureState._root,se=this.currState?this.currState._root:null;this.deactivateChildRoutes(ye,se,te),Po(this.futureState.root),this.activateChildRoutes(ye,se,te)}deactivateChildRoutes(te,ye,se){const Oe=Mt(ye);te.children.forEach(bt=>{const wt=bt.value.outlet;this.deactivateRoutes(bt,Oe[wt],se),delete Oe[wt]}),Object.values(Oe).forEach(bt=>{this.deactivateRouteAndItsChildren(bt,se)})}deactivateRoutes(te,ye,se){const Oe=te.value,bt=ye?ye.value:null;if(Oe===bt)if(Oe.component){const wt=se.getContext(Oe.outlet);wt&&this.deactivateChildRoutes(te,ye,wt.children)}else this.deactivateChildRoutes(te,ye,se);else bt&&this.deactivateRouteAndItsChildren(ye,se)}deactivateRouteAndItsChildren(te,ye){te.value.component&&this.routeReuseStrategy.shouldDetach(te.value.snapshot)?this.detachAndStoreRouteSubtree(te,ye):this.deactivateRouteAndOutlet(te,ye)}detachAndStoreRouteSubtree(te,ye){const se=ye.getContext(te.value.outlet),Oe=se&&te.value.component?se.children:ye,bt=Mt(te);for(const wt of Object.values(bt))this.deactivateRouteAndItsChildren(wt,Oe);if(se&&se.outlet){const wt=se.outlet.detach(),zn=se.children.onOutletDeactivated();this.routeReuseStrategy.store(te.value.snapshot,{componentRef:wt,route:te,contexts:zn})}}deactivateRouteAndOutlet(te,ye){const se=ye.getContext(te.value.outlet),Oe=se&&te.value.component?se.children:ye,bt=Mt(te);for(const wt of Object.values(bt))this.deactivateRouteAndItsChildren(wt,Oe);se&&(se.outlet&&(se.outlet.deactivate(),se.children.onOutletDeactivated()),se.attachRef=null,se.route=null)}activateChildRoutes(te,ye,se){const Oe=Mt(ye);te.children.forEach(bt=>{this.activateRoutes(bt,Oe[bt.value.outlet],se),this.forwardEvent(new Wt(bt.value.snapshot))}),te.children.length&&this.forwardEvent(new hi(te.value.snapshot))}activateRoutes(te,ye,se){const Oe=te.value,bt=ye?ye.value:null;if(Po(Oe),Oe===bt)if(Oe.component){const wt=se.getOrCreateContext(Oe.outlet);this.activateChildRoutes(te,ye,wt.children)}else this.activateChildRoutes(te,ye,se);else if(Oe.component){const wt=se.getOrCreateContext(Oe.outlet);if(this.routeReuseStrategy.shouldAttach(Oe.snapshot)){const zn=this.routeReuseStrategy.retrieve(Oe.snapshot);this.routeReuseStrategy.store(Oe.snapshot,null),wt.children.onOutletReAttached(zn.contexts),wt.attachRef=zn.componentRef,wt.route=zn.route.value,wt.outlet&&wt.outlet.attach(zn.componentRef,zn.route.value),Po(zn.route.value),this.activateChildRoutes(te,null,wt.children)}else wt.attachRef=null,wt.route=Oe,wt.outlet&&wt.outlet.activateWith(Oe,wt.injector),this.activateChildRoutes(te,null,wt.children)}else this.activateChildRoutes(te,null,se)}}class oe{constructor(te){this.path=te,this.route=this.path[this.path.length-1]}}class D{constructor(te,ye){this.component=te,this.route=ye}}function N(W,te,ye){const se=W._root;return Ee(se,te?te._root:null,ye,[se.value])}function xe(W,te){const ye=Symbol(),se=te.get(W,ye);return se===ye?"function"!=typeof W||(0,e.LfX)(W)?te.get(W):W:se}function Ee(W,te,ye,se,Oe={canDeactivateChecks:[],canActivateChecks:[]}){const bt=Mt(te);return W.children.forEach(wt=>{(function _e(W,te,ye,se,Oe={canDeactivateChecks:[],canActivateChecks:[]}){const bt=W.value,wt=te?te.value:null,zn=ye?ye.getContext(W.value.outlet):null;if(wt&&bt.routeConfig===wt.routeConfig){const lo=function Ie(W,te,ye){if("function"==typeof ye)return ye(W,te);switch(ye){case"pathParamsChange":return!ko(W.url,te.url);case"pathParamsOrQueryParamsChange":return!ko(W.url,te.url)||!tn(W.queryParams,te.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Co(W,te)||!tn(W.queryParams,te.queryParams);default:return!Co(W,te)}}(wt,bt,bt.routeConfig.runGuardsAndResolvers);lo?Oe.canActivateChecks.push(new oe(se)):(bt.data=wt.data,bt._resolvedData=wt._resolvedData),Ee(W,te,bt.component?zn?zn.children:null:ye,se,Oe),lo&&zn&&zn.outlet&&zn.outlet.isActivated&&Oe.canDeactivateChecks.push(new D(zn.outlet.component,wt))}else wt&&Le(te,zn,Oe),Oe.canActivateChecks.push(new oe(se)),Ee(W,null,bt.component?zn?zn.children:null:ye,se,Oe)})(wt,bt[wt.value.outlet],ye,se.concat([wt.value]),Oe),delete bt[wt.value.outlet]}),Object.entries(bt).forEach(([wt,zn])=>Le(zn,ye.getContext(wt),Oe)),Oe}function Le(W,te,ye){const se=Mt(W),Oe=W.value;Object.entries(se).forEach(([bt,wt])=>{Le(wt,Oe.component?te?te.children.getContext(bt):null:te,ye)}),ye.canDeactivateChecks.push(new D(Oe.component&&te&&te.outlet&&te.outlet.isActivated?te.outlet.component:null,Oe))}function Ae(W){return"function"==typeof W}function nn(W){return W instanceof a.G||"EmptyError"===W?.name}const on=Symbol("INITIAL_VALUE");function Qn(){return(0,Me.n)(W=>(0,p.z)(W.map(te=>te.pipe((0,ke.s)(1),(0,be.Z)(on)))).pipe((0,he.T)(te=>{for(const ye of te)if(!0!==ye){if(ye===on)return on;if(!1===ye||eo(ye))return ye}return!0}),(0,Ne.p)(te=>te!==on),(0,ke.s)(1)))}function eo(W){return ni(W)||W instanceof _i}function jn(W){return(0,O.F)(at(te=>{if("boolean"!=typeof te)throw Zi(0,te)}),(0,he.T)(te=>!0===te))}class Lo{constructor(te){this.segmentGroup=te||null}}class To extends Error{constructor(te){super(),this.urlTree=te}}function ki(W){return $(new Lo(W))}class dr{constructor(te,ye){this.urlSerializer=te,this.urlTree=ye}lineralizeSegments(te,ye){let se=[],Oe=ye.root;for(;;){if(se=se.concat(Oe.segments),0===Oe.numberOfChildren)return(0,M.of)(se);if(Oe.numberOfChildren>1||!Oe.children[Kn])return $(new e.wOt(4e3,!1));Oe=Oe.children[Kn]}}applyRedirectCommands(te,ye,se,Oe,bt){if("string"!=typeof ye){const zn=ye,{queryParams:lo,fragment:no,routeConfig:vi,url:di,outlet:Ri,params:or,data:bs,title:ma}=Oe,As=(0,e.N4e)(bt,()=>zn({params:or,data:bs,queryParams:lo,fragment:no,routeConfig:vi,url:di,outlet:Ri,title:ma}));if(As instanceof yo)throw new To(As);ye=As}const wt=this.applyRedirectCreateUrlTree(ye,this.urlSerializer.parse(ye),te,se);if("/"===ye[0])throw new To(wt);return wt}applyRedirectCreateUrlTree(te,ye,se,Oe){const bt=this.createSegmentGroup(te,ye.root,se,Oe);return new yo(bt,this.createQueryParams(ye.queryParams,this.urlTree.queryParams),ye.fragment)}createQueryParams(te,ye){const se={};return Object.entries(te).forEach(([Oe,bt])=>{if("string"==typeof bt&&":"===bt[0]){const zn=bt.substring(1);se[Oe]=ye[zn]}else se[Oe]=bt}),se}createSegmentGroup(te,ye,se,Oe){const bt=this.createSegments(te,ye.segments,se,Oe);let wt={};return Object.entries(ye.children).forEach(([zn,lo])=>{wt[zn]=this.createSegmentGroup(te,lo,se,Oe)}),new oo(bt,wt)}createSegments(te,ye,se,Oe){return ye.map(bt=>":"===bt.path[0]?this.findPosParam(te,bt,Oe):this.findOrReturn(bt,se))}findPosParam(te,ye,se){const Oe=se[ye.path.substring(1)];if(!Oe)throw new e.wOt(4001,!1);return Oe}findOrReturn(te,ye){let se=0;for(const Oe of ye){if(Oe.path===te.path)return ye.splice(se),Oe;se++}return te}}const hs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function U(W,te,ye,se,Oe){const bt=Ce(W,te,ye);return bt.matched?(se=function go(W,te){return W.providers&&!W._injector&&(W._injector=(0,e.Ol2)(W.providers,te,`Route: ${W.path}`)),W._injector??te}(te,se),function Yn(W,te,ye,se){const Oe=te.canMatch;if(!Oe||0===Oe.length)return(0,M.of)(!0);const bt=Oe.map(wt=>{const zn=xe(wt,W);return dn(function Ct(W){return W&&Ae(W.canMatch)}(zn)?zn.canMatch(te,ye):(0,e.N4e)(W,()=>zn(te,ye)))});return(0,M.of)(bt).pipe(Qn(),jn())}(se,te,ye).pipe((0,he.T)(wt=>!0===wt?bt:{...hs}))):(0,M.of)(bt)}function Ce(W,te,ye){if("**"===te.path)return function Ve(W){return{matched:!0,parameters:W.length>0?Tn(W).parameters:{},consumedSegments:W,remainingSegments:[],positionalParamSegments:{}}}(ye);if(""===te.path)return"full"===te.pathMatch&&(W.hasChildren()||ye.length>0)?{...hs}:{matched:!0,consumedSegments:[],remainingSegments:ye,parameters:{},positionalParamSegments:{}};const Oe=(te.matcher||Xt)(ye,W,te);if(!Oe)return{...hs};const bt={};Object.entries(Oe.posParams??{}).forEach(([zn,lo])=>{bt[zn]=lo.path});const wt=Oe.consumed.length>0?{...bt,...Oe.consumed[Oe.consumed.length-1].parameters}:bt;return{matched:!0,consumedSegments:Oe.consumed,remainingSegments:ye.slice(Oe.consumed.length),parameters:wt,positionalParamSegments:Oe.posParams??{}}}function dt(W,te,ye,se){return ye.length>0&&function cn(W,te,ye){return ye.some(se=>_o(W,te,se)&&et(se)!==Kn)}(W,ye,se)?{segmentGroup:new oo(te,rn(se,new oo(ye,W.children))),slicedSegments:[]}:0===ye.length&&function Fn(W,te,ye){return ye.some(se=>_o(W,te,se))}(W,ye,se)?{segmentGroup:new oo(W.segments,At(W,ye,se,W.children)),slicedSegments:ye}:{segmentGroup:new oo(W.segments,W.children),slicedSegments:ye}}function At(W,te,ye,se){const Oe={};for(const bt of ye)if(_o(W,te,bt)&&!se[et(bt)]){const wt=new oo([],{});Oe[et(bt)]=wt}return{...se,...Oe}}function rn(W,te){const ye={};ye[Kn]=te;for(const se of W)if(""===se.path&&et(se)!==Kn){const Oe=new oo([],{});ye[et(se)]=Oe}return ye}function _o(W,te,ye){return(!(W.hasChildren()||te.length>0)||"full"!==ye.pathMatch)&&""===ye.path}class ti{}class Yi{constructor(te,ye,se,Oe,bt,wt,zn){this.injector=te,this.configLoader=ye,this.rootComponentType=se,this.config=Oe,this.urlTree=bt,this.paramsInheritanceStrategy=wt,this.urlSerializer=zn,this.applyRedirects=new dr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(te){return new e.wOt(4002,`'${te.segmentGroup}'`)}recognize(){const te=dt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(te).pipe((0,he.T)(({children:ye,rootSnapshot:se})=>{const Oe=new ct(se,ye),bt=new Mo("",Oe),wt=function Ro(W,te,ye=null,se=null){return $i(bo(W),te,ye,se)}(se,[],this.urlTree.queryParams,this.urlTree.fragment);return wt.queryParams=this.urlTree.queryParams,bt.url=this.urlSerializer.serialize(wt),{state:bt,tree:wt}}))}match(te){const ye=new vo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Kn,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,te,Kn,ye).pipe((0,he.T)(se=>({children:se,rootSnapshot:ye})),Ge(se=>{if(se instanceof To)return this.urlTree=se.urlTree,this.match(se.urlTree.root);throw se instanceof Lo?this.noMatchError(se):se}))}processSegmentGroup(te,ye,se,Oe,bt){return 0===se.segments.length&&se.hasChildren()?this.processChildren(te,ye,se,bt):this.processSegment(te,ye,se,se.segments,Oe,!0,bt).pipe((0,he.T)(wt=>wt instanceof ct?[wt]:[]))}processChildren(te,ye,se,Oe){const bt=[];for(const wt of Object.keys(se.children))"primary"===wt?bt.unshift(wt):bt.push(wt);return(0,l.H)(bt).pipe((0,pt.H)(wt=>{const zn=se.children[wt],lo=function We(W,te){const ye=W.filter(se=>et(se)===te);return ye.push(...W.filter(se=>et(se)!==te)),ye}(ye,wt);return this.processSegmentGroup(te,lo,zn,wt,Oe)}),function mn(W,te){return(0,Ye.N)(function gt(W,te,ye,se,Oe){return(bt,wt)=>{let zn=ye,lo=te,no=0;bt.subscribe((0,St._)(wt,vi=>{const di=no++;lo=zn?W(lo,vi,di):(zn=!0,vi),se&&wt.next(lo)},Oe&&(()=>{zn&&wt.next(lo),wt.complete()})))}}(W,te,arguments.length>=2,!0))}((wt,zn)=>(wt.push(...zn),wt)),(0,_t.U)(null),function Xe(W,te){const ye=arguments.length>=2;return se=>se.pipe(W?(0,Ne.p)((Oe,bt)=>W(Oe,bt,se)):mt.D,Ke(1),ye?(0,_t.U)(te):(0,Je.v)(()=>new a.G))}(),(0,je.Z)(wt=>{if(null===wt)return ki(se);const zn=ss(wt);return function Ai(W){W.sort((te,ye)=>te.value.outlet===Kn?-1:ye.value.outlet===Kn?1:te.value.outlet.localeCompare(ye.value.outlet))}(zn),(0,M.of)(zn)}))}processSegment(te,ye,se,Oe,bt,wt,zn){return(0,l.H)(ye).pipe((0,pt.H)(lo=>this.processSegmentAgainstRoute(lo._injector??te,ye,lo,se,Oe,bt,wt,zn).pipe(Ge(no=>{if(no instanceof Lo)return(0,M.of)(null);throw no}))),(0,it.$)(lo=>!!lo),Ge(lo=>{if(nn(lo))return function Bo(W,te,ye){return 0===te.length&&!W.children[ye]}(se,Oe,bt)?(0,M.of)(new ti):ki(se);throw lo}))}processSegmentAgainstRoute(te,ye,se,Oe,bt,wt,zn,lo){return et(se)===wt||wt!==Kn&&_o(Oe,bt,se)?void 0===se.redirectTo?this.matchSegmentAgainstRoute(te,Oe,se,bt,wt,lo):this.allowRedirects&&zn?this.expandSegmentAgainstRouteUsingRedirect(te,Oe,ye,se,bt,wt,lo):ki(Oe):ki(Oe)}expandSegmentAgainstRouteUsingRedirect(te,ye,se,Oe,bt,wt,zn){const{matched:lo,parameters:no,consumedSegments:vi,positionalParamSegments:di,remainingSegments:Ri}=Ce(ye,Oe,bt);if(!lo)return ki(ye);"string"==typeof Oe.redirectTo&&"/"===Oe.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const or=new vo(bt,no,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ms(Oe),et(Oe),Oe.component??Oe._loadedComponent??null,Oe,Ls(Oe)),bs=$n(or,zn,this.paramsInheritanceStrategy);or.params=Object.freeze(bs.params),or.data=Object.freeze(bs.data);const ma=this.applyRedirects.applyRedirectCommands(vi,Oe.redirectTo,di,or,te);return this.applyRedirects.lineralizeSegments(Oe,ma).pipe((0,je.Z)(As=>this.processSegment(te,se,ye,As.concat(Ri),wt,!1,zn)))}matchSegmentAgainstRoute(te,ye,se,Oe,bt,wt){const zn=U(ye,se,Oe,te);return"**"===se.path&&(ye.children={}),zn.pipe((0,Me.n)(lo=>lo.matched?this.getChildConfig(te=se._injector??te,se,Oe).pipe((0,Me.n)(({routes:no})=>{const vi=se._loadedInjector??te,{parameters:di,consumedSegments:Ri,remainingSegments:or}=lo,bs=new vo(Ri,di,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ms(se),et(se),se.component??se._loadedComponent??null,se,Ls(se)),ma=$n(bs,wt,this.paramsInheritanceStrategy);bs.params=Object.freeze(ma.params),bs.data=Object.freeze(ma.data);const{segmentGroup:As,slicedSegments:Ns}=dt(ye,Ri,or,no);if(0===Ns.length&&As.hasChildren())return this.processChildren(vi,no,As,bs).pipe((0,he.T)(ea=>new ct(bs,ea)));if(0===no.length&&0===Ns.length)return(0,M.of)(new ct(bs,[]));const fa=et(se)===bt;return this.processSegment(vi,no,As,Ns,fa?Kn:bt,!0,bs).pipe((0,he.T)(ea=>new ct(bs,ea instanceof ct?[ea]:[])))})):ki(ye)))}getChildConfig(te,ye,se){return ye.children?(0,M.of)({routes:ye.children,injector:te}):ye.loadChildren?void 0!==ye._loadedRoutes?(0,M.of)({routes:ye._loadedRoutes,injector:ye._loadedInjector}):function st(W,te,ye,se){const Oe=te.canLoad;if(void 0===Oe||0===Oe.length)return(0,M.of)(!0);const bt=Oe.map(wt=>{const zn=xe(wt,W);return dn(function Et(W){return W&&Ae(W.canLoad)}(zn)?zn.canLoad(te,ye):(0,e.N4e)(W,()=>zn(te,ye)))});return(0,M.of)(bt).pipe(Qn(),jn())}(te,ye,se).pipe((0,je.Z)(Oe=>Oe?this.configLoader.loadChildren(te,ye).pipe(at(bt=>{ye._loadedRoutes=bt.routes,ye._loadedInjector=bt.injector})):function Ti(){return $(jr(!1,xr.GuardRejected))}())):(0,M.of)({routes:[],injector:te})}}function Ts(W){const te=W.value.routeConfig;return te&&""===te.path}function ss(W){const te=[],ye=new Set;for(const se of W){if(!Ts(se)){te.push(se);continue}const Oe=te.find(bt=>se.value.routeConfig===bt.value.routeConfig);void 0!==Oe?(Oe.children.push(...se.children),ye.add(Oe)):te.push(se)}for(const se of ye){const Oe=ss(se.children);te.push(new ct(se.value,Oe))}return te.filter(se=>!ye.has(se))}function ms(W){return W.data||{}}function Ls(W){return W.resolve||{}}function Sa(W){const te=W.children.map(ye=>Sa(ye)).flat();return[W,...te]}function Qs(W){return(0,Me.n)(te=>{const ye=W(te);return ye?(0,l.H)(ye).pipe((0,he.T)(()=>te)):(0,M.of)(te)})}let js=(()=>{var W;class te{buildTitle(se){let Oe,bt=se.root;for(;void 0!==bt;)Oe=this.getResolvedTitleForRoute(bt)??Oe,bt=bt.children.find(wt=>wt.outlet===Kn);return Oe}getResolvedTitleForRoute(se){return se.data[xt]}}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:()=>(0,e.WQX)(gs),providedIn:"root"}),te})(),gs=(()=>{var W;class te extends js{constructor(se){super(),this.title=se}updateTitle(se){const Oe=this.buildTitle(se);void 0!==Oe&&this.title.setTitle(Oe)}}return(W=te).\u0275fac=function(se){return new(se||W)(e.KVO(xo.hE))},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})();const Vs=new e.nKC("",{providedIn:"root",factory:()=>({})});let Ia=(()=>{var W;class te{}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275cmp=e.VBU({type:W,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:1,vars:0,template:function(se,Oe){1&se&&e.nrm(0,"router-outlet")},dependencies:[So],encapsulation:2}),te})();function Qa(W){const te=W.children&&W.children.map(Qa),ye=te?{...W,children:te}:{...W};return!ye.component&&!ye.loadComponent&&(te||ye.loadChildren)&&ye.outlet&&ye.outlet!==Kn&&(ye.component=Ia),ye}const ya=new e.nKC("");let Aa=(()=>{var W;class te{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.WQX)(e.Ql9)}loadComponent(se){if(this.componentLoaders.get(se))return this.componentLoaders.get(se);if(se._loadedComponent)return(0,M.of)(se._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(se);const Oe=dn(se.loadComponent()).pipe((0,he.T)(Za),at(wt=>{this.onLoadEndListener&&this.onLoadEndListener(se),se._loadedComponent=wt}),(0,Bt.j)(()=>{this.componentLoaders.delete(se)})),bt=new X.G(Oe,()=>new J.B).pipe((0,It.B)());return this.componentLoaders.set(se,bt),bt}loadChildren(se,Oe){if(this.childrenLoaders.get(Oe))return this.childrenLoaders.get(Oe);if(Oe._loadedRoutes)return(0,M.of)({routes:Oe._loadedRoutes,injector:Oe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Oe);const wt=function ua(W,te,ye,se){return dn(W.loadChildren()).pipe((0,he.T)(Za),(0,je.Z)(Oe=>Oe instanceof e.Co$||Array.isArray(Oe)?(0,M.of)(Oe):(0,l.H)(te.compileModuleAsync(Oe))),(0,he.T)(Oe=>{se&&se(W);let bt,wt,zn=!1;return Array.isArray(Oe)?(wt=Oe,!0):(bt=Oe.create(ye).injector,wt=bt.get(ya,[],{optional:!0,self:!0}).flat()),{routes:wt.map(Qa),injector:bt}}))}(Oe,this.compiler,se,this.onLoadEndListener).pipe((0,Bt.j)(()=>{this.childrenLoaders.delete(Oe)})),zn=new X.G(wt,()=>new J.B).pipe((0,It.B)());return this.childrenLoaders.set(Oe,zn),zn}}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})();function Za(W){return function Na(W){return W&&"object"==typeof W&&"default"in W}(W)?W.default:W}let ca=(()=>{var W;class te{}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:()=>(0,e.WQX)(Zs),providedIn:"root"}),te})(),Zs=(()=>{var W;class te{shouldProcessUrl(se){return!0}extract(se){return se}merge(se,Oe){return se}}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})();const va=new e.nKC(""),Ja=new e.nKC("");function ae(W,te,ye){const se=W.get(Ja),Oe=W.get(fe.qQ);return W.get(e.SKi).runOutsideAngular(()=>{if(!Oe.startViewTransition||se.skipNextTransition)return se.skipNextTransition=!1,new Promise(no=>setTimeout(no));let bt;const wt=new Promise(no=>{bt=no}),zn=Oe.startViewTransition(()=>(bt(),function Ue(W){return new Promise(te=>{(0,e.mal)({read:()=>setTimeout(te)},{injector:W})})}(W))),{onViewTransitionCreated:lo}=se;return lo&&(0,e.N4e)(W,()=>lo({transition:zn,from:te,to:ye})),wt})}const Qt=new e.nKC("");let Re=(()=>{var W;class te{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new J.B,this.transitionAbortSubject=new J.B,this.configLoader=(0,e.WQX)(Aa),this.environmentInjector=(0,e.WQX)(e.uvJ),this.urlSerializer=(0,e.WQX)(Go),this.rootContexts=(0,e.WQX)(Jt),this.location=(0,e.WQX)(fe.aZ),this.inputBindingEnabled=null!==(0,e.WQX)(Or,{optional:!0}),this.titleStrategy=(0,e.WQX)(js),this.options=(0,e.WQX)(Vs,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.WQX)(ca),this.createViewTransition=(0,e.WQX)(va,{optional:!0}),this.navigationErrorHandler=(0,e.WQX)(Qt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,M.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=bt=>this.events.next(new Pr(bt)),this.configLoader.onLoadStartListener=bt=>this.events.next(new _r(bt))}complete(){this.transitions?.complete()}handleNavigationRequest(se){const Oe=++this.navigationId;this.transitions?.next({...this.transitions.value,...se,id:Oe})}setupNavigations(se,Oe,bt){return this.transitions=new d.t({id:0,currentUrlTree:Oe,currentRawUrl:Oe,extractedUrl:this.urlHandlingStrategy.extract(Oe),urlAfterRedirects:this.urlHandlingStrategy.extract(Oe),rawUrl:Oe,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Rr,restoredState:null,currentSnapshot:bt.snapshot,targetSnapshot:null,currentRouterState:bt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ne.p)(wt=>0!==wt.id),(0,he.T)(wt=>({...wt,extractedUrl:this.urlHandlingStrategy.extract(wt.rawUrl)})),(0,Me.n)(wt=>{let zn=!1,lo=!1;return(0,M.of)(wt).pipe((0,Me.n)(no=>{if(this.navigationId>wt.id)return this.cancelNavigationTransition(wt,"",xr.SupersededByNewNavigation),K.w;this.currentTransition=wt,this.currentNavigation={id:no.id,initialUrl:no.rawUrl,extractedUrl:no.extractedUrl,targetBrowserUrl:"string"==typeof no.extras.browserUrl?this.urlSerializer.parse(no.extras.browserUrl):no.extras.browserUrl,trigger:no.source,extras:no.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const vi=!se.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!vi&&"reload"!==(no.extras.onSameUrlNavigation??se.onSameUrlNavigation)){const Ri="";return this.events.next(new Mr(no.id,this.urlSerializer.serialize(no.rawUrl),Ri,Zr.IgnoredSameUrlNavigation)),no.resolve(!1),K.w}if(this.urlHandlingStrategy.shouldProcessUrl(no.rawUrl))return(0,M.of)(no).pipe((0,Me.n)(Ri=>{const or=this.transitions?.getValue();return this.events.next(new is(Ri.id,this.urlSerializer.serialize(Ri.extractedUrl),Ri.source,Ri.restoredState)),or!==this.transitions?.getValue()?K.w:Promise.resolve(Ri)}),function Xs(W,te,ye,se,Oe,bt){return(0,je.Z)(wt=>function Li(W,te,ye,se,Oe,bt,wt="emptyOnly"){return new Yi(W,te,ye,se,Oe,wt,bt).recognize()}(W,te,ye,se,wt.extractedUrl,Oe,bt).pipe((0,he.T)(({state:zn,tree:lo})=>({...wt,targetSnapshot:zn,urlAfterRedirects:lo}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,se.config,this.urlSerializer,this.paramsInheritanceStrategy),at(Ri=>{wt.targetSnapshot=Ri.targetSnapshot,wt.urlAfterRedirects=Ri.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ri.urlAfterRedirects};const or=new es(Ri.id,this.urlSerializer.serialize(Ri.extractedUrl),this.urlSerializer.serialize(Ri.urlAfterRedirects),Ri.targetSnapshot);this.events.next(or)}));if(vi&&this.urlHandlingStrategy.shouldProcessUrl(no.currentRawUrl)){const{id:Ri,extractedUrl:or,source:bs,restoredState:ma,extras:As}=no,Ns=new is(Ri,this.urlSerializer.serialize(or),bs,ma);this.events.next(Ns);const fa=fn(this.rootComponentType).snapshot;return this.currentTransition=wt={...no,targetSnapshot:fa,urlAfterRedirects:or,extras:{...As,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=or,(0,M.of)(wt)}{const Ri="";return this.events.next(new Mr(no.id,this.urlSerializer.serialize(no.extractedUrl),Ri,Zr.IgnoredByUrlHandlingStrategy)),no.resolve(!1),K.w}}),at(no=>{const vi=new Cr(no.id,this.urlSerializer.serialize(no.extractedUrl),this.urlSerializer.serialize(no.urlAfterRedirects),no.targetSnapshot);this.events.next(vi)}),(0,he.T)(no=>(this.currentTransition=wt={...no,guards:N(no.targetSnapshot,no.currentSnapshot,this.rootContexts)},wt)),function fo(W,te){return(0,je.Z)(ye=>{const{targetSnapshot:se,currentSnapshot:Oe,guards:{canActivateChecks:bt,canDeactivateChecks:wt}}=ye;return 0===wt.length&&0===bt.length?(0,M.of)({...ye,guardsResult:!0}):function jo(W,te,ye,se){return(0,l.H)(W).pipe((0,je.Z)(Oe=>function ue(W,te,ye,se,Oe){const bt=te&&te.routeConfig?te.routeConfig.canDeactivate:null;if(!bt||0===bt.length)return(0,M.of)(!0);const wt=bt.map(zn=>{const lo=lt(te)??Oe,no=xe(zn,lo);return dn(function pn(W){return W&&Ae(W.canDeactivate)}(no)?no.canDeactivate(W,te,ye,se):(0,e.N4e)(lo,()=>no(W,te,ye,se))).pipe((0,it.$)())});return(0,M.of)(wt).pipe(Qn())}(Oe.component,Oe.route,ye,te,se)),(0,it.$)(Oe=>!0!==Oe,!0))}(wt,se,Oe,W).pipe((0,je.Z)(zn=>zn&&function ut(W){return"boolean"==typeof W}(zn)?function wo(W,te,ye,se){return(0,l.H)(te).pipe((0,pt.H)(Oe=>(0,_.x)(function Te(W,te){return null!==W&&te&&te(new ts(W)),(0,M.of)(!0)}(Oe.route.parent,se),function ii(W,te){return null!==W&&te&&te(new yt(W)),(0,M.of)(!0)}(Oe.route,se),function He(W,te,ye){const se=te[te.length-1],bt=te.slice(0,te.length-1).reverse().map(wt=>function Y(W){const te=W.routeConfig?W.routeConfig.canActivateChild:null;return te&&0!==te.length?{node:W,guards:te}:null}(wt)).filter(wt=>null!==wt).map(wt=>u(()=>{const zn=wt.guards.map(lo=>{const no=lt(wt.node)??ye,vi=xe(lo,no);return dn(function Ot(W){return W&&Ae(W.canActivateChild)}(vi)?vi.canActivateChild(se,W):(0,e.N4e)(no,()=>vi(se,W))).pipe((0,it.$)())});return(0,M.of)(zn).pipe(Qn())}));return(0,M.of)(bt).pipe(Qn())}(W,Oe.path,ye),function ge(W,te,ye){const se=te.routeConfig?te.routeConfig.canActivate:null;if(!se||0===se.length)return(0,M.of)(!0);const Oe=se.map(bt=>u(()=>{const wt=lt(te)??ye,zn=xe(bt,wt);return dn(function Nt(W){return W&&Ae(W.canActivate)}(zn)?zn.canActivate(te,W):(0,e.N4e)(wt,()=>zn(te,W))).pipe((0,it.$)())}));return(0,M.of)(Oe).pipe(Qn())}(W,Oe.route,ye))),(0,it.$)(Oe=>!0!==Oe,!0))}(se,bt,W,te):(0,M.of)(zn)),(0,he.T)(zn=>({...ye,guardsResult:zn})))})}(this.environmentInjector,no=>this.events.next(no)),at(no=>{if(wt.guardsResult=no.guardsResult,no.guardsResult&&"boolean"!=typeof no.guardsResult)throw Zi(0,no.guardsResult);const vi=new Dr(no.id,this.urlSerializer.serialize(no.extractedUrl),this.urlSerializer.serialize(no.urlAfterRedirects),no.targetSnapshot,!!no.guardsResult);this.events.next(vi)}),(0,Ne.p)(no=>!!no.guardsResult||(this.cancelNavigationTransition(no,"",xr.GuardRejected),!1)),Qs(no=>{if(no.guards.canActivateChecks.length)return(0,M.of)(no).pipe(at(vi=>{const di=new rs(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects),vi.targetSnapshot);this.events.next(di)}),(0,Me.n)(vi=>{let di=!1;return(0,M.of)(vi).pipe(function Yr(W,te){return(0,je.Z)(ye=>{const{targetSnapshot:se,guards:{canActivateChecks:Oe}}=ye;if(!Oe.length)return(0,M.of)(ye);const bt=new Set(Oe.map(lo=>lo.route)),wt=new Set;for(const lo of bt)if(!wt.has(lo))for(const no of Sa(lo))wt.add(no);let zn=0;return(0,l.H)(wt).pipe((0,pt.H)(lo=>bt.has(lo)?function la(W,te,ye,se){const Oe=W.routeConfig,bt=W._resolve;return void 0!==Oe?.title&&!Vo(Oe)&&(bt[xt]=Oe.title),function Ss(W,te,ye,se){const Oe=En(W);if(0===Oe.length)return(0,M.of)({});const bt={};return(0,l.H)(Oe).pipe((0,je.Z)(wt=>function Ea(W,te,ye,se){const Oe=lt(te)??se,bt=xe(W,Oe);return dn(bt.resolve?bt.resolve(te,ye):(0,e.N4e)(Oe,()=>bt(te,ye)))}(W[wt],te,ye,se).pipe((0,it.$)(),at(zn=>{if(zn instanceof _i)throw Zi(new Ji,zn);bt[wt]=zn}))),Ke(1),function qe(W){return(0,he.T)(()=>W)}(bt),Ge(wt=>nn(wt)?K.w:$(wt)))}(bt,W,te,se).pipe((0,he.T)(wt=>(W._resolvedData=wt,W.data=$n(W,W.parent,ye).resolve,null)))}(lo,se,W,te):(lo.data=$n(lo,lo.parent,W).resolve,(0,M.of)(void 0))),at(()=>zn++),Ke(1),(0,je.Z)(lo=>zn===wt.size?(0,M.of)(ye):K.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),at({next:()=>di=!0,complete:()=>{di||this.cancelNavigationTransition(vi,"",xr.NoDataFromResolver)}}))}),at(vi=>{const di=new ys(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects),vi.targetSnapshot);this.events.next(di)}))}),Qs(no=>{const vi=di=>{const Ri=[];di.routeConfig?.loadComponent&&!di.routeConfig._loadedComponent&&Ri.push(this.configLoader.loadComponent(di.routeConfig).pipe(at(or=>{di.component=or}),(0,he.T)(()=>{})));for(const or of di.children)Ri.push(...vi(or));return Ri};return(0,p.z)(vi(no.targetSnapshot.root)).pipe((0,_t.U)(null),(0,ke.s)(1))}),Qs(()=>this.afterPreactivation()),(0,Me.n)(()=>{const{currentSnapshot:no,targetSnapshot:vi}=wt,di=this.createViewTransition?.(this.environmentInjector,no.root,vi.root);return di?(0,l.H)(di).pipe((0,he.T)(()=>wt)):(0,M.of)(wt)}),(0,he.T)(no=>{const vi=function fi(W,te,ye){const se=fr(W,te._root,ye?ye._root:void 0);return new Dt(se,te)}(se.routeReuseStrategy,no.targetSnapshot,no.currentRouterState);return this.currentTransition=wt={...no,targetRouterState:vi},this.currentNavigation.targetRouterState=vi,wt}),at(()=>{this.events.next(new Zt)}),((W,te,ye,se)=>(0,he.T)(Oe=>(new ee(te,Oe.targetRouterState,Oe.currentRouterState,ye,se).activate(W),Oe)))(this.rootContexts,se.routeReuseStrategy,no=>this.events.next(no),this.inputBindingEnabled),(0,ke.s)(1),at({next:no=>{zn=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wr(no.id,this.urlSerializer.serialize(no.extractedUrl),this.urlSerializer.serialize(no.urlAfterRedirects))),this.titleStrategy?.updateTitle(no.targetRouterState.snapshot),no.resolve(!0)},complete:()=>{zn=!0}}),(0,Nn.Q)(this.transitionAbortSubject.pipe(at(no=>{throw no}))),(0,Bt.j)(()=>{!zn&&!lo&&this.cancelNavigationTransition(wt,"",xr.SupersededByNewNavigation),this.currentTransition?.id===wt.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ge(no=>{if(lo=!0,Hr(no))this.events.next(new Kr(wt.id,this.urlSerializer.serialize(wt.extractedUrl),no.message,no.cancellationCode)),function Nr(W){return Hr(W)&&ni(W.url)}(no)?this.events.next(new Cn(no.url,no.navigationBehaviorOptions)):wt.resolve(!1);else{const vi=new Fs(wt.id,this.urlSerializer.serialize(wt.extractedUrl),no,wt.targetSnapshot??void 0);try{const di=(0,e.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(vi));if(di instanceof _i){const{message:Ri,cancellationCode:or}=Zi(0,di);this.events.next(new Kr(wt.id,this.urlSerializer.serialize(wt.extractedUrl),Ri,or)),this.events.next(new Cn(di.redirectTo,di.navigationBehaviorOptions))}else{this.events.next(vi);const Ri=se.errorHandler(no);wt.resolve(!!Ri)}}catch(di){this.options.resolveNavigationPromiseOnError?wt.resolve(!1):wt.reject(di)}}return K.w}))}))}cancelNavigationTransition(se,Oe,bt){const wt=new Kr(se.id,this.urlSerializer.serialize(se.extractedUrl),Oe,bt);this.events.next(wt),se.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const se=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),Oe=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return se.toString()!==Oe?.toString()&&!this.currentNavigation?.extras.skipLocationChange}}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})();function Tt(W){return W!==Rr}let Dn=(()=>{var W;class te{}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:()=>(0,e.WQX)(Qo),providedIn:"root"}),te})();class Io{shouldDetach(te){return!1}store(te,ye){}shouldAttach(te){return!1}retrieve(te){return null}shouldReuseRoute(te,ye){return te.routeConfig===ye.routeConfig}}let Qo=(()=>{var W;class te extends Io{}return(W=te).\u0275fac=(()=>{let ye;return function(Oe){return(ye||(ye=e.xGo(W)))(Oe||W)}})(),W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})(),nr=(()=>{var W;class te{}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:()=>(0,e.WQX)(Ir),providedIn:"root"}),te})(),Ir=(()=>{var W;class te extends nr{constructor(){super(...arguments),this.location=(0,e.WQX)(fe.aZ),this.urlSerializer=(0,e.WQX)(Go),this.options=(0,e.WQX)(Vs,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.WQX)(ca),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new yo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=fn(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(se){return this.location.subscribe(Oe=>{"popstate"===Oe.type&&se(Oe.url,Oe.state)})}handleRouterEvent(se,Oe){if(se instanceof is)this.stateMemento=this.createStateMemento();else if(se instanceof Mr)this.rawUrlTree=Oe.initialUrl;else if(se instanceof es){if("eager"===this.urlUpdateStrategy&&!Oe.extras.skipLocationChange){const bt=this.urlHandlingStrategy.merge(Oe.finalUrl,Oe.initialUrl);this.setBrowserUrl(Oe.targetBrowserUrl??bt,Oe)}}else se instanceof Zt?(this.currentUrlTree=Oe.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Oe.finalUrl,Oe.initialUrl),this.routerState=Oe.targetRouterState,"deferred"===this.urlUpdateStrategy&&!Oe.extras.skipLocationChange&&this.setBrowserUrl(Oe.targetBrowserUrl??this.rawUrlTree,Oe)):se instanceof Kr&&(se.code===xr.GuardRejected||se.code===xr.NoDataFromResolver)?this.restoreHistory(Oe):se instanceof Fs?this.restoreHistory(Oe,!0):se instanceof wr&&(this.lastSuccessfulId=se.id,this.currentPageId=this.browserPageId)}setBrowserUrl(se,Oe){const bt=se instanceof yo?this.urlSerializer.serialize(se):se;if(this.location.isCurrentPathEqualTo(bt)||Oe.extras.replaceUrl){const zn={...Oe.extras.state,...this.generateNgRouterState(Oe.id,this.browserPageId)};this.location.replaceState(bt,"",zn)}else{const wt={...Oe.extras.state,...this.generateNgRouterState(Oe.id,this.browserPageId+1)};this.location.go(bt,"",wt)}}restoreHistory(se,Oe=!1){if("computed"===this.canceledNavigationResolution){const wt=this.currentPageId-this.browserPageId;0!==wt?this.location.historyGo(wt):this.currentUrlTree===se.finalUrl&&0===wt&&(this.resetState(se),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Oe&&this.resetState(se),this.resetUrlToCurrentUrlTree())}resetState(se){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,se.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(se,Oe){return"computed"===this.canceledNavigationResolution?{navigationId:se,\u0275routerPageId:Oe}:{navigationId:se}}}return(W=te).\u0275fac=(()=>{let ye;return function(Oe){return(ye||(ye=e.xGo(W)))(Oe||W)}})(),W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})();var gr=function(W){return W[W.COMPLETE=0]="COMPLETE",W[W.FAILED=1]="FAILED",W[W.REDIRECTING=2]="REDIRECTING",W}(gr||{});function lr(W,te){W.events.pipe((0,Ne.p)(ye=>ye instanceof wr||ye instanceof Kr||ye instanceof Fs||ye instanceof Mr),(0,he.T)(ye=>ye instanceof wr||ye instanceof Mr?gr.COMPLETE:ye instanceof Kr&&(ye.code===xr.Redirect||ye.code===xr.SupersededByNewNavigation)?gr.REDIRECTING:gr.FAILED),(0,Ne.p)(ye=>ye!==gr.REDIRECTING),(0,ke.s)(1)).subscribe(()=>{te()})}function Br(W){throw W}const $r={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ls=(()=>{var W;class te{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,e.WQX)(e.H3F),this.stateManager=(0,e.WQX)(nr),this.options=(0,e.WQX)(Vs,{optional:!0})||{},this.pendingTasks=(0,e.WQX)(e.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.WQX)(Re),this.urlSerializer=(0,e.WQX)(Go),this.location=(0,e.WQX)(fe.aZ),this.urlHandlingStrategy=(0,e.WQX)(ca),this._events=new J.B,this.errorHandler=this.options.errorHandler||Br,this.navigated=!1,this.routeReuseStrategy=(0,e.WQX)(Dn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.WQX)(ya,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.WQX)(Or,{optional:!0}),this.eventsSubscription=new G.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:se=>{this.console.warn(se)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const se=this.navigationTransitions.events.subscribe(Oe=>{try{const bt=this.navigationTransitions.currentTransition,wt=this.navigationTransitions.currentNavigation;if(null!==bt&&null!==wt)if(this.stateManager.handleRouterEvent(Oe,wt),Oe instanceof Kr&&Oe.code!==xr.Redirect&&Oe.code!==xr.SupersededByNewNavigation)this.navigated=!0;else if(Oe instanceof wr)this.navigated=!0;else if(Oe instanceof Cn){const zn=Oe.navigationBehaviorOptions,lo=this.urlHandlingStrategy.merge(Oe.url,bt.currentRawUrl),no={browserUrl:bt.extras.browserUrl,info:bt.extras.info,skipLocationChange:bt.extras.skipLocationChange,replaceUrl:bt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Tt(bt.source),...zn};this.scheduleNavigation(lo,Rr,null,no,{resolve:bt.resolve,reject:bt.reject,promise:bt.promise})}(function Zo(W){return!(W instanceof Zt||W instanceof Cn)})(Oe)&&this._events.next(Oe)}catch(bt){this.navigationTransitions.transitionAbortSubject.next(bt)}});this.eventsSubscription.add(se)}resetRootComponentType(se){this.routerState.root.component=se,this.navigationTransitions.rootComponentType=se}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((se,Oe)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(se,"popstate",Oe)},0)})}navigateToSyncWithBrowser(se,Oe,bt){const wt={replaceUrl:!0},zn=bt?.navigationId?bt:null;if(bt){const no={...bt};delete no.navigationId,delete no.\u0275routerPageId,0!==Object.keys(no).length&&(wt.state=no)}const lo=this.parseUrl(se);this.scheduleNavigation(lo,Oe,zn,wt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(se){this.config=se.map(Qa),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(se,Oe={}){const{relativeTo:bt,queryParams:wt,fragment:zn,queryParamsHandling:lo,preserveFragment:no}=Oe,vi=no?this.currentUrlTree.fragment:zn;let Ri,di=null;switch(lo??this.options.defaultQueryParamsHandling){case"merge":di={...this.currentUrlTree.queryParams,...wt};break;case"preserve":di=this.currentUrlTree.queryParams;break;default:di=wt||null}null!==di&&(di=this.removeEmptyProps(di));try{Ri=bo(bt?bt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof se[0]||"/"!==se[0][0])&&(se=[]),Ri=this.currentUrlTree.root}return $i(Ri,se,di,vi??null)}navigateByUrl(se,Oe={skipLocationChange:!1}){const bt=ni(se)?se:this.parseUrl(se),wt=this.urlHandlingStrategy.merge(bt,this.rawUrlTree);return this.scheduleNavigation(wt,Rr,null,Oe)}navigate(se,Oe={skipLocationChange:!1}){return function Fr(W){for(let te=0;te(null!=wt&&(Oe[bt]=wt),Oe),{})}scheduleNavigation(se,Oe,bt,wt,zn){if(this.disposed)return Promise.resolve(!1);let lo,no,vi;zn?(lo=zn.resolve,no=zn.reject,vi=zn.promise):vi=new Promise((Ri,or)=>{lo=Ri,no=or});const di=this.pendingTasks.add();return lr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(di))}),this.navigationTransitions.handleNavigationRequest({source:Oe,restoredState:bt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:se,extras:wt,resolve:lo,reject:no,promise:vi,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),vi.catch(Ri=>Promise.reject(Ri))}}return(W=te).\u0275fac=function(se){return new(se||W)},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})(),Ei=(()=>{var W;class te{constructor(se,Oe,bt,wt,zn,lo){this.router=se,this.route=Oe,this.tabIndexAttribute=bt,this.renderer=wt,this.el=zn,this.locationStrategy=lo,this.href=null,this.onChanges=new J.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const no=zn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===no||"area"===no,this.isAnchorElement?this.subscription=se.events.subscribe(vi=>{vi instanceof wr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(se){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",se)}ngOnChanges(se){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(se){null==se?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=ni(se)||Array.isArray(se)?se:[se],this.setTabIndexIfNotOnNativeEl("0"))}onClick(se,Oe,bt,wt,zn){const lo=this.urlTree;return!!(null===lo||this.isAnchorElement&&(0!==se||Oe||bt||wt||zn||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(lo,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const se=this.urlTree;this.href=null!==se&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(se)):null;const Oe=null===this.href?null:(0,e.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Oe)}applyAttributeValue(se,Oe){const bt=this.renderer,wt=this.el.nativeElement;null!==Oe?bt.setAttribute(wt,se,Oe):bt.removeAttribute(wt,se)}get urlTree(){return null===this.routerLinkInput?null:ni(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})}}return(W=te).\u0275fac=function(se){return new(se||W)(e.rXU(ls),e.rXU(In),e.kS0("tabindex"),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(fe.hb))},W.\u0275dir=e.FsC({type:W,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(se,Oe){1&se&&e.bIt("click",function(wt){return Oe.onClick(wt.button,wt.ctrlKey,wt.shiftKey,wt.altKey,wt.metaKey)}),2&se&&e.BMQ("target",Oe.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",e.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",e.L39],replaceUrl:[2,"replaceUrl","replaceUrl",e.L39],routerLink:"routerLink"},standalone:!0,features:[e.GFd,e.OA$]}),te})(),yr=(()=>{var W;class te{get isActive(){return this._isActive}constructor(se,Oe,bt,wt,zn){this.router=se,this.element=Oe,this.renderer=bt,this.cdr=wt,this.link=zn,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.bkB,this.routerEventsSubscription=se.events.subscribe(lo=>{lo instanceof wr&&this.update()})}ngAfterContentInit(){(0,M.of)(this.links.changes,(0,M.of)(null)).pipe((0,Hn.U)()).subscribe(se=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const se=[...this.links.toArray(),this.link].filter(Oe=>!!Oe).map(Oe=>Oe.onChanges);this.linkInputChangesSubscription=(0,l.H)(se).pipe((0,Hn.U)()).subscribe(Oe=>{this._isActive!==this.isLinkActive(this.router)(Oe)&&this.update()})}set routerLinkActive(se){const Oe=Array.isArray(se)?se:se.split(" ");this.classes=Oe.filter(bt=>!!bt)}ngOnChanges(se){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const se=this.hasActiveLinks();this.classes.forEach(Oe=>{se?this.renderer.addClass(this.element.nativeElement,Oe):this.renderer.removeClass(this.element.nativeElement,Oe)}),se&&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!==se&&(this._isActive=se,this.cdr.markForCheck(),this.isActiveChange.emit(se))})}isLinkActive(se){const Oe=function ns(W){return!!W.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return bt=>{const wt=bt.urlTree;return!!wt&&se.isActive(wt,Oe)}}hasActiveLinks(){const se=this.isLinkActive(this.router);return this.link&&se(this.link)||this.links.some(se)}}return(W=te).\u0275fac=function(se){return new(se||W)(e.rXU(ls),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(Ei,8))},W.\u0275dir=e.FsC({type:W,selectors:[["","routerLinkActive",""]],contentQueries:function(se,Oe,bt){if(1&se&&e.wni(bt,Ei,5),2&se){let wt;e.mGM(wt=e.lsd())&&(Oe.links=wt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.OA$]}),te})();class Jr{}let qr=(()=>{var W;class te{constructor(se,Oe,bt,wt,zn){this.router=se,this.injector=bt,this.preloadingStrategy=wt,this.loader=zn}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ne.p)(se=>se instanceof wr),(0,pt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(se,Oe){const bt=[];for(const wt of Oe){wt.providers&&!wt._injector&&(wt._injector=(0,e.Ol2)(wt.providers,se,`Route: ${wt.path}`));const zn=wt._injector??se,lo=wt._loadedInjector??zn;(wt.loadChildren&&!wt._loadedRoutes&&void 0===wt.canLoad||wt.loadComponent&&!wt._loadedComponent)&&bt.push(this.preloadConfig(zn,wt)),(wt.children||wt._loadedRoutes)&&bt.push(this.processRoutes(lo,wt.children??wt._loadedRoutes))}return(0,l.H)(bt).pipe((0,Hn.U)())}preloadConfig(se,Oe){return this.preloadingStrategy.preload(Oe,()=>{let bt;bt=Oe.loadChildren&&void 0===Oe.canLoad?this.loader.loadChildren(se,Oe):(0,M.of)(null);const wt=bt.pipe((0,je.Z)(zn=>null===zn?(0,M.of)(void 0):(Oe._loadedRoutes=zn.routes,Oe._loadedInjector=zn.injector,this.processRoutes(zn.injector??se,zn.routes))));if(Oe.loadComponent&&!Oe._loadedComponent){const zn=this.loader.loadComponent(Oe);return(0,l.H)([wt,zn]).pipe((0,Hn.U)())}return wt})}}return(W=te).\u0275fac=function(se){return new(se||W)(e.KVO(ls),e.KVO(e.Ql9),e.KVO(e.uvJ),e.KVO(Jr),e.KVO(Aa))},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),te})();const as=new e.nKC("");let fs=(()=>{var W;class te{constructor(se,Oe,bt,wt,zn={}){this.urlSerializer=se,this.transitions=Oe,this.viewportScroller=bt,this.zone=wt,this.options=zn,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},zn.scrollPositionRestoration||="disabled",zn.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(se=>{se instanceof is?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=se.navigationTrigger,this.restoredId=se.restoredState?se.restoredState.navigationId:0):se instanceof wr?(this.lastId=se.id,this.scheduleScrollEvent(se,this.urlSerializer.parse(se.urlAfterRedirects).fragment)):se instanceof Mr&&se.code===Zr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(se,this.urlSerializer.parse(se.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(se=>{se instanceof Pn&&(se.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(se.position):se.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(se.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(se,Oe){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Pn(se,"popstate"===this.lastSource?this.store[this.restoredId]:null,Oe))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(W=te).\u0275fac=function(se){e.QTQ()},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac}),te})();function Is(W,te){return{\u0275kind:W,\u0275providers:te}}function pa(){const W=(0,e.WQX)(e.zZn);return te=>{const ye=W.get(e.o8S);if(te!==ye.components[0])return;const se=W.get(ls),Oe=W.get(qs);1===W.get(wa)&&se.initialNavigation(),W.get(Mi,null,e.$GK.Optional)?.setUpPreloading(),W.get(as,null,e.$GK.Optional)?.init(),se.resetRootComponentType(ye.componentTypes[0]),Oe.closed||(Oe.next(),Oe.complete(),Oe.unsubscribe())}}const qs=new e.nKC("",{factory:()=>new J.B}),wa=new e.nKC("",{providedIn:"root",factory:()=>1}),Mi=new e.nKC("");function Ra(W){return Is(0,[{provide:Mi,useExisting:qr},{provide:Jr,useExisting:W}])}function f(W){return Is(9,[{provide:va,useValue:ae},{provide:Ja,useValue:{skipNextTransition:!!W?.skipInitialTransition,...W}}])}const P=new e.nKC("ROUTER_FORROOT_GUARD"),B=[fe.aZ,{provide:Go,useClass:Ji},ls,Jt,{provide:In,useFactory:function ws(W){return W.routerState.root},deps:[ls]},Aa,[]];let H=(()=>{var W;class te{constructor(se){}static forRoot(se,Oe){return{ngModule:te,providers:[B,[],{provide:ya,multi:!0,useValue:se},{provide:P,useFactory:ft,deps:[[ls,new e.Xx1,new e.kdw]]},{provide:Vs,useValue:Oe||{}},Oe?.useHash?{provide:fe.hb,useClass:fe.fw}:{provide:fe.hb,useClass:fe.Sm},{provide:as,useFactory:()=>{const W=(0,e.WQX)(fe.Xr),te=(0,e.WQX)(e.SKi),ye=(0,e.WQX)(Vs),se=(0,e.WQX)(Re),Oe=(0,e.WQX)(Go);return ye.scrollOffset&&W.setOffset(ye.scrollOffset),new fs(Oe,se,W,te,ye)}},Oe?.preloadingStrategy?Ra(Oe.preloadingStrategy).\u0275providers:[],Oe?.initialNavigation?Ft(Oe):[],Oe?.bindToComponentInputs?Is(8,[Lr,{provide:Or,useExisting:Lr}]).\u0275providers:[],Oe?.enableViewTransitions?f().\u0275providers:[],[{provide:hn,useFactory:pa},{provide:e.iLQ,multi:!0,useExisting:hn}]]}}static forChild(se){return{ngModule:te,providers:[{provide:ya,multi:!0,useValue:se}]}}}return(W=te).\u0275fac=function(se){return new(se||W)(e.KVO(P,8))},W.\u0275mod=e.$C({type:W}),W.\u0275inj=e.G2t({}),te})();function ft(W){return"guarded"}function Ft(W){return["disabled"===W.initialNavigation?Is(3,[{provide:e.hnV,multi:!0,useFactory:()=>{const te=(0,e.WQX)(ls);return()=>{te.setUpLocationChangeListener()}}},{provide:wa,useValue:2}]).\u0275providers:[],"enabledBlocking"===W.initialNavigation?Is(2,[{provide:wa,useValue:0},{provide:e.hnV,multi:!0,deps:[e.zZn],useFactory:te=>{const ye=te.get(fe.hj,Promise.resolve());return()=>ye.then(()=>new Promise(se=>{const Oe=te.get(ls),bt=te.get(qs);lr(Oe,()=>{se(!0)}),te.get(Re).afterPreactivation=()=>(se(!0),bt.closed?(0,M.of)(void 0):bt),Oe.initialNavigation()}))}}]).\u0275providers:[]]}const hn=new e.nKC("")},70600:(Ze,z,i)=>{"use strict";i.d(z,{Kb:()=>Xn,Rg:()=>Bn,Sb:()=>tn,TS:()=>mt,YV:()=>ci,Yq:()=>mn,el:()=>Go,fL:()=>Pt,hO:()=>Kn,p4:()=>Gn,q9:()=>it,sR:()=>at,z3:()=>ot});var e=i(10467),t=i(99842),l=i(54438),M=i(22694),d=i(60177),p=i(45531),a=i(46031),_=i(1656),v=i(21413),E=i(33726),u=i(84412),O=i(84572),A=i(7673),$=i(31635),K=i(5964),X=i(25558),J=i(23294),G=i(84341);const fe=["tabsInner"];let be=(()=>{var sn;class zt{constructor(kt,an){(0,t.A)(this,"doc",void 0),(0,t.A)(this,"_readyPromise",void 0),(0,t.A)(this,"win",void 0),(0,t.A)(this,"backButton",new v.B),(0,t.A)(this,"keyboardDidShow",new v.B),(0,t.A)(this,"keyboardDidHide",new v.B),(0,t.A)(this,"pause",new v.B),(0,t.A)(this,"resume",new v.B),(0,t.A)(this,"resize",new v.B),this.doc=kt,an.run(()=>{let Wn;this.win=kt.defaultView,this.backButton.subscribeWithPriority=function(Jn,Do){return this.subscribe(ao=>ao.register(Jn,kn=>an.run(()=>Do(kn))))},je(this.pause,kt,"pause",an),je(this.resume,kt,"resume",an),je(this.backButton,kt,"ionBackButton",an),je(this.resize,this.win,"resize",an),je(this.keyboardDidShow,this.win,"ionKeyboardDidShow",an),je(this.keyboardDidHide,this.win,"ionKeyboardDidHide",an),this._readyPromise=new Promise(Jn=>{Wn=Jn}),this.win?.cordova?kt.addEventListener("deviceready",()=>{Wn("cordova")},{once:!0}):Wn("dom")})}is(kt){return(0,p.a)(this.win,kt)}platforms(){return(0,p.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(kt){return Ne(this.win.location.href,kt)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(kt){const an=this.win.navigator;return!!(an?.userAgent&&an.userAgent.indexOf(kt)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return sn=zt,(0,t.A)(zt,"\u0275fac",function(kt){return new(kt||sn)(l.KVO(d.qQ),l.KVO(l.SKi))}),(0,t.A)(zt,"\u0275prov",l.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})),zt})();const Ne=(sn,zt)=>{zt=zt.replace(/[[\]\\]/g,"\\$&");const kt=new RegExp("[\\?&]"+zt+"=([^&#]*)").exec(sn);return kt?decodeURIComponent(kt[1].replace(/\+/g," ")):null},je=(sn,zt,_n,kt)=>{zt&&zt.addEventListener(_n,an=>{kt.run(()=>{const Wn=an?.detail;sn.next(Wn)})})};let it=(()=>{var sn;class zt{constructor(kt,an,Wn,Jn){(0,t.A)(this,"location",void 0),(0,t.A)(this,"serializer",void 0),(0,t.A)(this,"router",void 0),(0,t.A)(this,"topOutlet",void 0),(0,t.A)(this,"direction",Ye),(0,t.A)(this,"animated",St),(0,t.A)(this,"animationBuilder",void 0),(0,t.A)(this,"guessDirection","forward"),(0,t.A)(this,"guessAnimation",void 0),(0,t.A)(this,"lastNavId",-1),this.location=an,this.serializer=Wn,this.router=Jn,Jn&&Jn.events.subscribe(Do=>{if(Do instanceof M.Z){const ao=Do.restoredState?Do.restoredState.navigationId:Do.id;this.guessDirection=this.guessAnimation=ao{this.pop(),Do()})}navigateForward(kt,an={}){return this.setDirection("forward",an.animated,an.animationDirection,an.animation),this.navigate(kt,an)}navigateBack(kt,an={}){return this.setDirection("back",an.animated,an.animationDirection,an.animation),this.navigate(kt,an)}navigateRoot(kt,an={}){return this.setDirection("root",an.animated,an.animationDirection,an.animation),this.navigate(kt,an)}back(kt={animated:!0,animationDirection:"back"}){return this.setDirection("back",kt.animated,kt.animationDirection,kt.animation),this.location.back()}pop(){var kt=this;return(0,e.A)(function*(){let an=kt.topOutlet;for(;an;){if(yield an.pop())return!0;an=an.parentOutlet}return!1})()}setDirection(kt,an,Wn,Jn){this.direction=kt,this.animated=pt(kt,an,Wn),this.animationBuilder=Jn}setTopOutlet(kt){this.topOutlet=kt}consumeTransition(){let an,kt="root";const Wn=this.animationBuilder;return"auto"===this.direction?(kt=this.guessDirection,an=this.guessAnimation):(an=this.animated,kt=this.direction),this.direction=Ye,this.animated=St,this.animationBuilder=void 0,{direction:kt,animation:an,animationBuilder:Wn}}navigate(kt,an){if(Array.isArray(kt))return this.router.navigate(kt,an);{const Wn=this.serializer.parse(kt.toString());return void 0!==an.queryParams&&(Wn.queryParams={...an.queryParams}),void 0!==an.fragment&&(Wn.fragment=an.fragment),this.router.navigateByUrl(Wn,an)}}}return sn=zt,(0,t.A)(zt,"\u0275fac",function(kt){return new(kt||sn)(l.KVO(be),l.KVO(d.aZ),l.KVO(M.Sd),l.KVO(M.Ix,8))}),(0,t.A)(zt,"\u0275prov",l.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})),zt})();const pt=(sn,zt,_n)=>{if(!1!==zt){if(void 0!==_n)return _n;if("forward"===sn||"back"===sn)return sn;if("root"===sn&&!0===zt)return"forward"}},Ye="auto",St=void 0;let mt=(()=>{var sn;class zt{get(kt,an){const Wn=Ge();return Wn?Wn.get(kt,an):null}getBoolean(kt,an){const Wn=Ge();return!!Wn&&Wn.getBoolean(kt,an)}getNumber(kt,an){const Wn=Ge();return Wn?Wn.getNumber(kt,an):0}}return sn=zt,(0,t.A)(zt,"\u0275fac",function(kt){return new(kt||sn)}),(0,t.A)(zt,"\u0275prov",l.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})),zt})();const at=new l.nKC("USERCONFIG"),Ge=()=>{if(typeof window<"u"){const sn=window.Ionic;if(sn?.config)return sn.config}return null};class gt{constructor(zt={}){(0,t.A)(this,"data",void 0),this.data=zt,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(zt){return this.data[zt]}}let mn=(()=>{var sn;class zt{constructor(){(0,t.A)(this,"zone",(0,l.WQX)(l.SKi)),(0,t.A)(this,"applicationRef",(0,l.WQX)(l.o8S)),(0,t.A)(this,"config",(0,l.WQX)(at))}create(kt,an,Wn){return new _t(kt,an,this.applicationRef,this.zone,Wn,this.config.useSetInputAPI??!1)}}return sn=zt,(0,t.A)(zt,"\u0275fac",function(kt){return new(kt||sn)}),(0,t.A)(zt,"\u0275prov",l.jDH({token:sn,factory:sn.\u0275fac})),zt})();class _t{constructor(zt,_n,kt,an,Wn,Jn){(0,t.A)(this,"environmentInjector",void 0),(0,t.A)(this,"injector",void 0),(0,t.A)(this,"applicationRef",void 0),(0,t.A)(this,"zone",void 0),(0,t.A)(this,"elementReferenceKey",void 0),(0,t.A)(this,"enableSignalsSupport",void 0),(0,t.A)(this,"elRefMap",new WeakMap),(0,t.A)(this,"elEventsMap",new WeakMap),this.environmentInjector=zt,this.injector=_n,this.applicationRef=kt,this.zone=an,this.elementReferenceKey=Wn,this.enableSignalsSupport=Jn}attachViewToDom(zt,_n,kt,an){return this.zone.run(()=>new Promise(Wn=>{const Jn={...kt};void 0!==this.elementReferenceKey&&(Jn[this.elementReferenceKey]=zt),Wn(Ke(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,zt,_n,Jn,an,this.elementReferenceKey,this.enableSignalsSupport))}))}removeViewFromDom(zt,_n){return this.zone.run(()=>new Promise(kt=>{const an=this.elRefMap.get(_n);if(an){an.destroy(),this.elRefMap.delete(_n);const Wn=this.elEventsMap.get(_n);Wn&&(Wn(),this.elEventsMap.delete(_n))}kt()}))}}const Ke=(sn,zt,_n,kt,an,Wn,Jn,Do,ao,kn,On,ni)=>{const Ro=l.zZn.create({providers:Bt(ao),parent:_n}),bo=(0,l.a0P)(Do,{environmentInjector:zt,elementInjector:Ro}),$i=bo.instance,yi=bo.location.nativeElement;if(ao)if(On&&void 0!==$i[On]&&console.error(`[Ionic Error]: ${On} is a reserved property when using ${Jn.tagName.toLowerCase()}. Rename or remove the "${On}" property from ${Do.name}.`),!0===ni&&void 0!==bo.setInput){const{modal:tr,popover:Sr,...wi}=ao;for(const mr in wi)bo.setInput(mr,wi[mr]);void 0!==tr&&Object.assign($i,{modal:tr}),void 0!==Sr&&Object.assign($i,{popover:Sr})}else Object.assign($i,ao);if(kn)for(const tr of kn)yi.classList.add(tr);const Gi=Xe(sn,$i,yi);return Jn.appendChild(yi),kt.attachView(bo.hostView),an.set(yi,bo),Wn.set(yi,Gi),yi},Je=[a.L,a.a,a.b,a.c,a.d],Xe=(sn,zt,_n)=>sn.run(()=>{const kt=Je.filter(an=>"function"==typeof zt[an]).map(an=>{const Wn=Jn=>zt[an](Jn.detail);return _n.addEventListener(an,Wn),()=>_n.removeEventListener(an,Wn)});return()=>kt.forEach(an=>an())}),qe=new l.nKC("NavParamsToken"),Bt=sn=>[{provide:qe,useValue:sn},{provide:gt,useFactory:It,deps:[qe]}],It=sn=>new gt(sn),Nn=(sn,zt)=>{const _n=sn.prototype;zt.forEach(kt=>{Object.defineProperty(_n,kt,{get(){return this.el[kt]},set(an){this.z.runOutsideAngular(()=>this.el[kt]=an)}})})},Hn=(sn,zt)=>{const _n=sn.prototype;zt.forEach(kt=>{_n[kt]=function(){const an=arguments;return this.z.runOutsideAngular(()=>this.el[kt].apply(this.el,an))}})};function Kn(sn){return function(_n){const{defineCustomElementFn:kt,inputs:an,methods:Wn}=sn;return void 0!==kt&&kt(),an&&Nn(_n,an),Wn&&Hn(_n,Wn),_n}}const Xt=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","focusTrap","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],ln=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let tn=(()=>{var sn;let zt=(sn=class{constructor(kt,an,Wn){(0,t.A)(this,"z",void 0),(0,t.A)(this,"template",void 0),(0,t.A)(this,"isCmpOpen",!1),(0,t.A)(this,"el",void 0),this.z=Wn,this.el=an.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,kt.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,kt.detectChanges()}),((sn,zt)=>{["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"].forEach(kt=>sn[kt]=(0,E.R)(zt,kt))})(this,this.el)}},(0,t.A)(sn,"\u0275fac",function(kt){return new(kt||sn)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,t.A)(sn,"\u0275dir",l.FsC({type:sn,selectors:[["ion-modal"]],contentQueries:function(kt,an,Wn){if(1&kt&&l.wni(Wn,l.C4Q,5),2&kt){let Jn;l.mGM(Jn=l.lsd())&&(an.template=Jn.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"}})),sn);return zt=(0,$.Cg)([Kn({inputs:Xt,methods:ln})],zt),zt})();const Un=(sn,zt)=>((sn=sn.filter(_n=>_n.stackId!==zt.stackId)).push(zt),sn),gn=(sn,zt)=>{const _n=sn.createUrlTree(["."],{relativeTo:zt});return sn.serializeUrl(_n)},Vt=(sn,zt)=>!zt||sn.stackId!==zt.stackId,Gt=(sn,zt)=>{if(!sn)return;const _n=Ln(zt);for(let kt=0;kt<_n.length;kt++){if(kt>=sn.length)return _n[kt];if(_n[kt]!==sn[kt])return}},Ln=sn=>sn.split("/").map(zt=>zt.trim()).filter(zt=>""!==zt),Lt=sn=>{sn&&(sn.ref.destroy(),sn.unlistenEvents())};class yn{constructor(zt,_n,kt,an,Wn,Jn){(0,t.A)(this,"containerEl",void 0),(0,t.A)(this,"router",void 0),(0,t.A)(this,"navCtrl",void 0),(0,t.A)(this,"zone",void 0),(0,t.A)(this,"location",void 0),(0,t.A)(this,"views",[]),(0,t.A)(this,"runningTask",void 0),(0,t.A)(this,"skipTransition",!1),(0,t.A)(this,"tabsPrefix",void 0),(0,t.A)(this,"activeView",void 0),(0,t.A)(this,"nextId",0),this.containerEl=_n,this.router=kt,this.navCtrl=an,this.zone=Wn,this.location=Jn,this.tabsPrefix=void 0!==zt?Ln(zt):void 0}createView(zt,_n){const kt=gn(this.router,_n),an=zt?.location?.nativeElement,Wn=Xe(this.zone,zt.instance,an);return{id:this.nextId++,stackId:Gt(this.tabsPrefix,kt),unlistenEvents:Wn,element:an,ref:zt,url:kt}}getExistingView(zt){const _n=gn(this.router,zt),kt=this.views.find(an=>an.url===_n);return kt&&kt.ref.changeDetectorRef.reattach(),kt}setActive(zt){const _n=this.navCtrl.consumeTransition();let{direction:kt,animation:an,animationBuilder:Wn}=_n;const Jn=this.activeView,Do=Vt(zt,Jn);Do&&(kt="back",an=void 0);const ao=this.views.slice();let kn;const On=this.router;On.getCurrentNavigation?kn=On.getCurrentNavigation():On.navigations?.value&&(kn=On.navigations.value),kn?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const ni=this.views.includes(zt),Ro=this.insertView(zt,kt);ni||zt.ref.changeDetectorRef.detectChanges();const bo=zt.animationBuilder;return void 0===Wn&&"back"===kt&&!Do&&void 0!==bo&&(Wn=bo),Jn&&(Jn.animationBuilder=Wn),this.zone.runOutsideAngular(()=>this.wait(()=>(Jn&&Jn.ref.changeDetectorRef.detach(),zt.ref.changeDetectorRef.reattach(),this.transition(zt,Jn,an,this.canGoBack(1),!1,Wn).then(()=>Mn(zt,Ro,ao,this.location,this.zone)).then(()=>({enteringView:zt,direction:kt,animation:an,tabSwitch:Do})))))}canGoBack(zt,_n=this.getActiveStackId()){return this.getStack(_n).length>zt}pop(zt,_n=this.getActiveStackId()){return this.zone.run(()=>{const kt=this.getStack(_n);if(kt.length<=zt)return Promise.resolve(!1);const an=kt[kt.length-zt-1];let Wn=an.url;const Jn=an.savedData;if(Jn){const ao=Jn.get("primary");ao?.route?._routerState?.snapshot.url&&(Wn=ao.route._routerState.snapshot.url)}const{animationBuilder:Do}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Wn,{...an.savedExtras,animation:Do}).then(()=>!0)})}startBackTransition(){const zt=this.activeView;if(zt){const _n=this.getStack(zt.stackId),kt=_n[_n.length-2],an=kt.animationBuilder;return this.wait(()=>this.transition(kt,zt,"back",this.canGoBack(2),!0,an))}return Promise.resolve()}endBackTransition(zt){zt?(this.skipTransition=!0,this.pop(1)):this.activeView&&bn(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(zt){const _n=this.getStack(zt);return _n.length>0?_n[_n.length-1]:void 0}getRootUrl(zt){const _n=this.getStack(zt);return _n.length>0?_n[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(Lt),this.activeView=void 0,this.views=[]}getStack(zt){return this.views.filter(_n=>_n.stackId===zt)}insertView(zt,_n){return this.activeView=zt,this.views=((sn,zt,_n)=>"root"===_n?Un(sn,zt):"forward"===_n?((sn,zt)=>(sn.indexOf(zt)>=0?sn=sn.filter(kt=>kt.stackId!==zt.stackId||kt.id<=zt.id):sn.push(zt),sn))(sn,zt):((sn,zt)=>sn.indexOf(zt)>=0?sn.filter(kt=>kt.stackId!==zt.stackId||kt.id<=zt.id):Un(sn,zt))(sn,zt))(this.views,zt,_n),this.views.slice()}transition(zt,_n,kt,an,Wn,Jn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(_n===zt)return Promise.resolve(!1);const Do=zt?zt.element:void 0,ao=_n?_n.element:void 0,kn=this.containerEl;return Do&&Do!==ao&&(Do.classList.add("ion-page"),Do.classList.add("ion-page-invisible"),kn.commit)?kn.commit(Do,ao,{duration:void 0===kt?0:void 0,direction:kt,showGoBack:an,progressAnimation:Wn,animationBuilder:Jn}):Promise.resolve(!1)}wait(zt){var _n=this;return(0,e.A)(function*(){void 0!==_n.runningTask&&(yield _n.runningTask,_n.runningTask=void 0);const kt=_n.runningTask=zt();return kt.finally(()=>_n.runningTask=void 0),kt})()}}const Mn=(sn,zt,_n,kt,an)=>"function"==typeof requestAnimationFrame?new Promise(Wn=>{requestAnimationFrame(()=>{bn(sn,zt,_n,kt,an),Wn()})}):Promise.resolve(),bn=(sn,zt,_n,kt,an)=>{an.run(()=>_n.filter(Wn=>!zt.includes(Wn)).forEach(Lt)),zt.forEach(Wn=>{const Do=kt.path().split("?")[0].split("#")[0];if(Wn!==sn&&Wn.url!==Do){const ao=Wn.element;ao.setAttribute("aria-hidden","true"),ao.classList.add("ion-page-hidden"),Wn.ref.changeDetectorRef.detach()}})};let Bn=(()=>{var sn;class zt{get activatedComponentRef(){return this.activated}set animation(kt){this.nativeEl.animation=kt}set animated(kt){this.nativeEl.animated=kt}set swipeGesture(kt){this._swipeGesture=kt,this.nativeEl.swipeHandler=kt?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:an=>this.stackCtrl.endBackTransition(an)}:void 0}constructor(kt,an,Wn,Jn,Do,ao,kn,On){(0,t.A)(this,"parentOutlet",void 0),(0,t.A)(this,"nativeEl",void 0),(0,t.A)(this,"activatedView",null),(0,t.A)(this,"tabsPrefix",void 0),(0,t.A)(this,"_swipeGesture",void 0),(0,t.A)(this,"stackCtrl",void 0),(0,t.A)(this,"proxyMap",new WeakMap),(0,t.A)(this,"currentActivatedRoute$",new u.t(null)),(0,t.A)(this,"activated",null),(0,t.A)(this,"_activatedRoute",null),(0,t.A)(this,"name",M.Xk),(0,t.A)(this,"stackWillChange",new l.bkB),(0,t.A)(this,"stackDidChange",new l.bkB),(0,t.A)(this,"activateEvents",new l.bkB),(0,t.A)(this,"deactivateEvents",new l.bkB),(0,t.A)(this,"parentContexts",(0,l.WQX)(M.Zp)),(0,t.A)(this,"location",(0,l.WQX)(l.c1b)),(0,t.A)(this,"environmentInjector",(0,l.WQX)(l.uvJ)),(0,t.A)(this,"inputBinder",(0,l.WQX)(oo,{optional:!0})),(0,t.A)(this,"supportsBindingToComponentInputs",!0),(0,t.A)(this,"config",(0,l.WQX)(mt)),(0,t.A)(this,"navCtrl",(0,l.WQX)(it)),this.parentOutlet=On,this.nativeEl=Jn.nativeElement,this.name=kt||M.Xk,this.tabsPrefix="true"===an?gn(Do,kn):void 0,this.stackCtrl=new yn(this.tabsPrefix,this.nativeEl,Do,this.navCtrl,ao,Wn),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 kt=this.getContext();kt?.route&&this.activateWith(kt.route,kt.injector)}new Promise(kt=>(0,_.c)(this.nativeEl,kt)).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(kt,an){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const an=this.getContext();this.activatedView.savedData=new Map(an.children.contexts);const Wn=this.activatedView.savedData.get("primary");if(Wn&&an.route&&(Wn.route={...an.route}),this.activatedView.savedExtras={},an.route){const Jn=an.route.snapshot;this.activatedView.savedExtras.queryParams=Jn.queryParams,this.activatedView.savedExtras.fragment=Jn.fragment}}const kt=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(kt)}}activateWith(kt,an){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=kt;let Wn,Jn=this.stackCtrl.getExistingView(kt);if(Jn){Wn=this.activated=Jn.ref;const ao=Jn.savedData;ao&&(this.getContext().children.contexts=ao),this.updateActivatedRouteProxy(Wn.instance,kt)}else{const ao=kt._futureSnapshot,kn=this.parentContexts.getOrCreateContext(this.name).children,On=new u.t(null),ni=this.createActivatedRouteProxy(On,kt),Ro=new yo(ni,kn,this.location.injector);Wn=this.activated=this.outletContent.createComponent(ao.routeConfig.component??ao.component,{index:this.outletContent.length,injector:Ro,environmentInjector:an??this.environmentInjector}),On.next(Wn.instance),Jn=this.stackCtrl.createView(this.activated,kt),this.proxyMap.set(Wn.instance,ni),this.currentActivatedRoute$.next({component:Wn.instance,activatedRoute:kt})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=Jn,this.navCtrl.setTopOutlet(this);const Do=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:Jn,tabSwitch:Vt(Jn,Do)}),this.stackCtrl.setActive(Jn).then(ao=>{this.activateEvents.emit(Wn.instance),this.stackDidChange.emit(ao)})}canGoBack(kt=1,an){return this.stackCtrl.canGoBack(kt,an)}pop(kt=1,an){return this.stackCtrl.pop(kt,an)}getLastUrl(kt){const an=this.stackCtrl.getLastUrl(kt);return an?an.url:void 0}getLastRouteView(kt){return this.stackCtrl.getLastUrl(kt)}getRootView(kt){return this.stackCtrl.getRootUrl(kt)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(kt,an){const Wn=new M.nX;return Wn._futureSnapshot=an._futureSnapshot,Wn._routerState=an._routerState,Wn.snapshot=an.snapshot,Wn.outlet=an.outlet,Wn.component=an.component,Wn._paramMap=this.proxyObservable(kt,"paramMap"),Wn._queryParamMap=this.proxyObservable(kt,"queryParamMap"),Wn.url=this.proxyObservable(kt,"url"),Wn.params=this.proxyObservable(kt,"params"),Wn.queryParams=this.proxyObservable(kt,"queryParams"),Wn.fragment=this.proxyObservable(kt,"fragment"),Wn.data=this.proxyObservable(kt,"data"),Wn}proxyObservable(kt,an){return kt.pipe((0,K.p)(Wn=>!!Wn),(0,X.n)(Wn=>this.currentActivatedRoute$.pipe((0,K.p)(Jn=>null!==Jn&&Jn.component===Wn),(0,X.n)(Jn=>Jn&&Jn.activatedRoute[an]),(0,J.F)())))}updateActivatedRouteProxy(kt,an){const Wn=this.proxyMap.get(kt);if(!Wn)throw new Error("Could not find activated route proxy for view");Wn._futureSnapshot=an._futureSnapshot,Wn._routerState=an._routerState,Wn.snapshot=an.snapshot,Wn.outlet=an.outlet,Wn.component=an.component,this.currentActivatedRoute$.next({component:kt,activatedRoute:an})}}return sn=zt,(0,t.A)(zt,"\u0275fac",function(kt){return new(kt||sn)(l.kS0("name"),l.kS0("tabs"),l.rXU(d.aZ),l.rXU(l.aKT),l.rXU(M.Ix),l.rXU(l.SKi),l.rXU(M.nX),l.rXU(sn,12))}),(0,t.A)(zt,"\u0275dir",l.FsC({type:sn,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"]})),zt})();class yo{constructor(zt,_n,kt){(0,t.A)(this,"route",void 0),(0,t.A)(this,"childContexts",void 0),(0,t.A)(this,"parent",void 0),this.route=zt,this.childContexts=_n,this.parent=kt}get(zt,_n){return zt===M.nX?this.route:zt===M.Zp?this.childContexts:this.parent.get(zt,_n)}}const oo=new l.nKC("");let Ko=(()=>{var sn;class zt{constructor(){(0,t.A)(this,"outletDataSubscriptions",new Map)}bindActivatedRouteToOutletComponent(kt){this.unsubscribeFromRouteData(kt),this.subscribeToRouteData(kt)}unsubscribeFromRouteData(kt){this.outletDataSubscriptions.get(kt)?.unsubscribe(),this.outletDataSubscriptions.delete(kt)}subscribeToRouteData(kt){const{activatedRoute:an}=kt,Wn=(0,O.z)([an.queryParams,an.params,an.data]).pipe((0,X.n)(([Jn,Do,ao],kn)=>(ao={...Jn,...Do,...ao},0===kn?(0,A.of)(ao):Promise.resolve(ao)))).subscribe(Jn=>{if(!kt.isActivated||!kt.activatedComponentRef||kt.activatedRoute!==an||null===an.component)return void this.unsubscribeFromRouteData(kt);const Do=(0,l.HJs)(an.component);if(Do)for(const{templateName:ao}of Do.inputs)kt.activatedComponentRef.setInput(ao,Jn[ao]);else this.unsubscribeFromRouteData(kt)});this.outletDataSubscriptions.set(kt,Wn)}}return sn=zt,(0,t.A)(zt,"\u0275fac",function(kt){return new(kt||sn)}),(0,t.A)(zt,"\u0275prov",l.jDH({token:sn,factory:sn.\u0275fac})),zt})();const ci=()=>({provide:oo,useFactory:ko,deps:[M.Ix]});function ko(sn){return sn?.componentInputBindingEnabled?new Ko:null}const ei=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Go=(()=>{var sn;let zt=((0,t.A)(sn=class{constructor(kt,an,Wn,Jn,Do,ao){(0,t.A)(this,"routerOutlet",void 0),(0,t.A)(this,"navCtrl",void 0),(0,t.A)(this,"config",void 0),(0,t.A)(this,"r",void 0),(0,t.A)(this,"z",void 0),(0,t.A)(this,"el",void 0),this.routerOutlet=kt,this.navCtrl=an,this.config=Wn,this.r=Jn,this.z=Do,ao.detach(),this.el=this.r.nativeElement}onClick(kt){const an=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),kt.preventDefault()):null!=an&&(this.navCtrl.navigateBack(an,{animation:this.routerAnimation}),kt.preventDefault())}},"\u0275fac",function(kt){return new(kt||sn)(l.rXU(Bn,8),l.rXU(it),l.rXU(mt),l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.gRc))}),(0,t.A)(sn,"\u0275dir",l.FsC({type:sn,hostBindings:function(kt,an){1&kt&&l.bIt("click",function(Jn){return an.onClick(Jn)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}})),sn);return zt=(0,$.Cg)([Kn({inputs:ei})],zt),zt})(),Gn=(()=>{var sn;class zt{constructor(kt){(0,t.A)(this,"navCtrl",void 0),(0,t.A)(this,"tabsInner",void 0),(0,t.A)(this,"ionTabsWillChange",new l.bkB),(0,t.A)(this,"ionTabsDidChange",new l.bkB),(0,t.A)(this,"tabBarSlot","bottom"),this.navCtrl=kt}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:kt,tabSwitch:an}){const Wn=kt.stackId;an&&void 0!==Wn&&this.ionTabsWillChange.emit({tab:Wn})}onStackDidChange({enteringView:kt,tabSwitch:an}){const Wn=kt.stackId;an&&void 0!==Wn&&(this.tabBar&&(this.tabBar.selectedTab=Wn),this.ionTabsDidChange.emit({tab:Wn}))}select(kt){const an="string"==typeof kt,Wn=an?kt:kt.detail.tab,Jn=this.outlet.getActiveStackId()===Wn,Do=`${this.outlet.tabsPrefix}/${Wn}`;if(an||kt.stopPropagation(),Jn){const ao=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(ao)?.url===Do)return;const On=this.outlet.getRootView(Wn);return this.navCtrl.navigateRoot(Do,{...On&&Do===On.url&&On.savedExtras,animated:!0,animationDirection:"back"})}{const ao=this.outlet.getLastRouteView(Wn),kn=ao?.url||Do,On=ao?.savedExtras;return this.navCtrl.navigateRoot(kn,{...On,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(kt=>{const an=kt.el.getAttribute("slot");an!==this.tabBarSlot&&(this.tabBarSlot=an,this.relocateTabBar())})}relocateTabBar(){const kt=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(kt):this.tabsInner.nativeElement.after(kt)}}return sn=zt,(0,t.A)(zt,"\u0275fac",function(kt){return new(kt||sn)(l.rXU(it))}),(0,t.A)(zt,"\u0275dir",l.FsC({type:sn,selectors:[["ion-tabs"]],viewQuery:function(kt,an){if(1&kt&&l.GBs(fe,7,l.aKT),2&kt){let Wn;l.mGM(Wn=l.lsd())&&(an.tabsInner=Wn.first)}},hostBindings:function(kt,an){1&kt&&l.bIt("ionTabButtonClick",function(Jn){return an.select(Jn)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}})),zt})(),Pt=(()=>{var sn;class zt{constructor(kt,an){(0,t.A)(this,"injector",void 0),(0,t.A)(this,"elementRef",void 0),(0,t.A)(this,"onChange",()=>{}),(0,t.A)(this,"onTouched",()=>{}),(0,t.A)(this,"lastValue",void 0),(0,t.A)(this,"statusChanges",void 0),this.injector=kt,this.elementRef=an}writeValue(kt){this.elementRef.nativeElement.value=this.lastValue=kt,ot(this.elementRef)}handleValueChange(kt,an){kt===this.elementRef.nativeElement&&(an!==this.lastValue&&(this.lastValue=an,this.onChange(an)),ot(this.elementRef))}_handleBlurEvent(kt){kt===this.elementRef.nativeElement&&(this.onTouched(),ot(this.elementRef))}registerOnChange(kt){this.onChange=kt}registerOnTouched(kt){this.onTouched=kt}setDisabledState(kt){this.elementRef.nativeElement.disabled=kt}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let kt;try{kt=this.injector.get(G.vO)}catch{}if(!kt)return;kt.statusChanges&&(this.statusChanges=kt.statusChanges.subscribe(()=>ot(this.elementRef)));const an=kt.control;an&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(Jn=>{if(typeof an[Jn]<"u"){const Do=an[Jn].bind(an);an[Jn]=(...ao)=>{Do(...ao),ot(this.elementRef)}}})}}return sn=zt,(0,t.A)(zt,"\u0275fac",function(kt){return new(kt||sn)(l.rXU(l.zZn),l.rXU(l.aKT))}),(0,t.A)(zt,"\u0275dir",l.FsC({type:sn,hostBindings:function(kt,an){1&kt&&l.bIt("ionBlur",function(Jn){return an._handleBlurEvent(Jn.target)})}})),zt})();const ot=sn=>{(sn=>{"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(sn):"function"==typeof requestAnimationFrame?requestAnimationFrame(sn):setTimeout(sn)})(()=>{const zt=sn.nativeElement,_n=null!=zt.value&&zt.value.toString().length>0,kt=De(zt);Fe(zt,kt);const an=zt.closest("ion-item");an&&Fe(an,_n?[...kt,"item-has-value"]:kt)})},De=sn=>{const zt=sn.classList,_n=[];for(let kt=0;kt{const _n=sn.classList;_n.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),_n.add(...zt)},tt=(sn,zt)=>sn.substring(0,zt.length)===zt;class Xn{constructor(zt){(0,t.A)(this,"ctrl",void 0),this.ctrl=zt}create(zt){return this.ctrl.create(zt||{})}dismiss(zt,_n,kt){return this.ctrl.dismiss(zt,_n,kt)}getTop(){return this.ctrl.getTop()}}},51272:(Ze,z,i)=>{"use strict";i.d(z,{Hx:()=>Tp,U1:()=>Nm,el:()=>kp,ZF:()=>Xc,In:()=>zm,QW:()=>Wm,eY:()=>ql,W9:()=>Vm,Q8:()=>Hm,YW:()=>Gm,OL:()=>f0,M0:()=>Wd,eU:()=>wp,iq:()=>cf,uz:()=>Mp,Dg:()=>Xm,jh:()=>Dp,LU:()=>b0,CE:()=>_0,A7:()=>y0,he:()=>Qm,nf:()=>v0,AF:()=>k0,Sb:()=>Bm,KO:()=>Jm,f0:()=>df,Ob:()=>qc,To:()=>E0,UB:()=>w0,p$:()=>qm,Rg:()=>Ud,Gp:()=>mf,eP:()=>Pp,Jq:()=>Op,qW:()=>_l,p4:()=>Hd,BC:()=>M0,BY:()=>bf,ai:()=>tf,Xi:()=>O0,W3:()=>Gd,K_:()=>F0,_H:()=>nf});var e=i(99842),t=i(31635),l=i(54438),M=i(70600),d=i(10467),p=i(51771),a=i(1656);const _=(k,s)=>null!==s.closest(k),v=(k,s)=>"string"==typeof k&&k.length>0?Object.assign({"ion-color":!0,[`ion-color-${k}`]:!0},s):s,u=k=>{const s={};return(k=>void 0!==k?(Array.isArray(k)?k:k.split(" ")).filter(h=>null!=h).map(h=>h.trim()).filter(h=>""!==h):[])(k).forEach(h=>s[h]=!0),s},O=/^[a-z][a-z0-9+\-.]*:/,A=function(){var k=(0,d.A)(function*(s,h,g,F){if(null!=s&&"#"!==s[0]&&!O.test(s)){const Z=document.querySelector("ion-router");if(Z)return h?.preventDefault(),Z.push(s,g,F)}return!1});return function(h,g,F,Z){return k.apply(this,arguments)}}(),be="data:image/svg+xml;utf8,",mn="data:image/svg+xml;utf8,";var qe=i(45531);let Bt;const xo=(k,s,h,g,F)=>(h="ios"===(h&&$t(h))?"ios":"md",g&&"ios"===h?k=$t(g):F&&"md"===h?k=$t(F):(!k&&s&&!xt(s)&&(k=s),Ht(k)&&(k=$t(k))),Ht(k)&&""!==k.trim()&&""===k.replace(/[a-z]|-|\d/gi,"")?k:null),Kn=k=>Ht(k)&&(k=k.trim(),xt(k))?k:null,xt=k=>k.length>0&&/(\/|\.)/.test(k),Ht=k=>"string"==typeof k,$t=k=>k.toLowerCase(),En=k=>{if(1===k.nodeType){if("script"===k.nodeName.toLowerCase())return!1;for(let s=0;s{const h={};return s.forEach(g=>{k.hasAttribute(g)&&(null!==k.getAttribute(g)&&(h[g]=k.getAttribute(g)),k.removeAttribute(g))}),h})(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(s,h,g){if(p.L2.isBrowser&&this.lazy&&typeof window<"u"&&window.IntersectionObserver){const F=this.io=new window.IntersectionObserver(Z=>{Z[0].isIntersecting&&(F.disconnect(),this.io=void 0,g())},{rootMargin:h});F.observe(s)}else g()}loadIcon(){if(p.L2.isBrowser&&this.isVisible){const s=(k=>{let s=Kn(k.src);return s||(s=xo(k.name,k.icon,k.mode,k.ios,k.md),s?((k,s)=>{const h=(()=>{if(typeof window>"u")return new Map;if(!Bt){const k=window;k.Ionicons=k.Ionicons||{},Bt=k.Ionicons.map=k.Ionicons.map||new Map}return Bt})().get(k);if(h)return h;try{return(0,p.OX)(`svg/${k}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${k}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,s)}})(s,k):k.icon&&(s=Kn(k.icon),s||(s=Kn(k.icon[k.mode]),s))?s:null)})(this);s&&(dn.has(s)?this.svgContent=dn.get(s):((k,s)=>{let h=gn.get(k);if(!h){if(!(typeof fetch<"u"&&typeof document<"u"))return dn.set(k,""),Promise.resolve();if((k=>k.startsWith("data:image/svg+xml"))(k)&&(k=>-1!==k.indexOf(";utf8,"))(k)){Vt||(Vt=new DOMParser);const F=Vt.parseFromString(k,"text/html").querySelector("svg");return F&&dn.set(k,F.outerHTML),Promise.resolve()}h=fetch(k).then(g=>{if(g.ok)return g.text().then(F=>{F&&!1!==s&&(F=(k=>{const s=document.createElement("div");s.innerHTML=k;for(let g=s.childNodes.length-1;g>=0;g--)"svg"!==s.childNodes[g].nodeName.toLowerCase()&&s.removeChild(s.childNodes[g]);const h=s.firstElementChild;if(h&&"svg"===h.nodeName.toLowerCase()){const g=h.getAttribute("class")||"";if(h.setAttribute("class",(g+" s-ion-icon").trim()),En(h))return s.innerHTML}return""})(F)),dn.set(k,F||"")});dn.set(k,"")}),gn.set(k,h)}return h})(s,this.sanitize).then(()=>this.svgContent=dn.get(s)),this.didLoadIcon=!0)}this.iconName=xo(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:s,iconName:h,inheritedAttributes:g,el:F}=this,Z=this.mode||"md",we=!!h&&(h.includes("arrow")||h.includes("chevron"))&&!1!==s,nt=s||we;return(0,p.h)(p.xr,Object.assign({role:"img",class:Object.assign(Object.assign({[Z]:!0},bn(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":nt,"icon-rtl":nt&&(k=F,k&&""!==k.dir?"rtl"===k.dir.toLowerCase():"rtl"===document?.dir.toLowerCase())})},g),(0,p.h)("div",p.L2.isBrowser&&this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}));var k}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"]}]),Mn=()=>p.L2.isBrowser&&typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",bn=k=>k?{"ion-color":!0,[`ion-color-${k}`]:!0}:null;function Bn(){typeof customElements>"u"||["ion-icon"].forEach(s=>{"ion-icon"===s&&(customElements.get(s)||customElements.define(s,yn))})}const Ko=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}addRipple(s,h){var g=this;return(0,d.A)(function*(){return new Promise(F=>{(0,p.gv)(()=>{const Z=g.el.getBoundingClientRect(),we=Z.width,nt=Z.height,ht=Math.sqrt(we*we+nt*nt),Kt=Math.max(nt,we),An=g.unbounded?Kt:ht+ko,Zn=Math.floor(Kt*ei),mo=An/Zn;let co=s-Z.left,Oo=h-Z.top;g.unbounded&&(co=.5*we,Oo=.5*nt);const Ao=co-.5*Zn,li=Oo-.5*Zn,ji=.5*we-co,zi=.5*nt-Oo;(0,p.bN)(()=>{const Oi=document.createElement("div");Oi.classList.add("ripple-effect");const Wi=Oi.style;Wi.top=li+"px",Wi.left=Ao+"px",Wi.width=Wi.height=Zn+"px",Wi.setProperty("--final-scale",`${mo}`),Wi.setProperty("--translate-end",`${ji}px, ${zi}px`),(g.el.shadowRoot||g.el).appendChild(Oi),setTimeout(()=>{F(()=>{ci(Oi)})},325)})})})})()}get unbounded(){return"unbounded"===this.type}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"2302f087ab1c6755355736e4ca77309c5fdcf185",role:"presentation",class:{[s]:!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]}]),ci=k=>{k.classList.add("fade-out"),setTimeout(()=>{k.remove()},200)},ko=10,ei=.5;function Go(){typeof customElements>"u"||["ion-ripple-effect"].forEach(s=>{"ion-ripple-effect"===s&&(customElements.get(s)||customElements.define(s,Ko))})}const Pi=(0,p.w$)(class extends p.wt{constructor(){var s;super(),s=this,this.__registerHost(),this.__attachShadow(),this.inheritedAttributes={},this.onClick=function(){var h=(0,d.A)(function*(g){const F=s.el.closest("ion-nav");return g.preventDefault(),F&&(yield F.canGoBack())?F.pop({animationBuilder:s.routerAnimation,skipIfBusy:!0}):A(s.defaultHref,g,"back",s.routerAnimation)});return function(g){return h.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,a.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=qe.c.get("backButtonDefaultHref"))}get backButtonIcon(){return this.icon??("ios"===(0,qe.b)(this)?qe.c.get("backButtonIcon","data:image/svg+xml;utf8,"):qe.c.get("backButtonIcon","data:image/svg+xml;utf8,"))}get backButtonText(){const s="ios"===(0,qe.b)(this)?"Back":null;return null!=this.text?this.text:qe.c.get("backButtonText",s)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:s,defaultHref:h,disabled:g,type:F,hasIconOnly:Z,backButtonIcon:we,backButtonText:nt,icon:ht,inheritedAttributes:Kt}=this,An=void 0!==h,Zn=(0,qe.b)(this),mo=Kt["aria-label"]||nt||"back";return(0,p.h)(p.xr,{key:"8351c93a1812c94c979fb115f07a9ad7b3152188",onClick:this.onClick,class:v(s,{[Zn]:!0,button:!0,"back-button-disabled":g,"back-button-has-icon-only":Z,"in-toolbar":_("ion-toolbar",this.el),"in-toolbar-color":_("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":An})},(0,p.h)("button",{key:"991b8baa784dbfbdf8d3581cbbf6a858ac1f1e6e",type:F,disabled:g,class:"button-native",part:"native","aria-label":mo},(0,p.h)("span",{key:"929fcd83a4fdb00cf97ca803f234719171602a5e",class:"button-inner"},we&&(0,p.h)("ion-icon",{key:"0c10d412ae8342d96f221e626b421c9abadac748",part:"icon",icon:we,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===ht}),nt&&(0,p.h)("span",{key:"96f505880a80f36ee8b8c78268b450f3629ee613",part:"text","aria-hidden":"true",class:"button-text"},nt)),"md"===Zn&&(0,p.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]}]),Pt=function Gn(){typeof customElements>"u"||["ion-back-button","ion-icon","ion-ripple-effect"].forEach(s=>{switch(s){case"ion-back-button":customElements.get(s)||customElements.define(s,Pi);break;case"ion-icon":customElements.get(s)||Bn();break;case"ion-ripple-effect":customElements.get(s)||Go()}})},ot=(k,s,h,g,F)=>Fe(k[1],s[1],h[1],g[1],F).map(Z=>De(k[0],s[0],h[0],g[0],Z)),De=(k,s,h,g,F)=>F*(3*s*Math.pow(F-1,2)+F*(-3*h*F+3*h+g*F))-k*Math.pow(F-1,3),Fe=(k,s,h,g,F)=>en((g-=F)-3*(h-=F)+3*(s-=F)-(k-=F),3*h-6*s+3*k,3*s-3*k,k).filter(we=>we>=0&&we<=1),en=(k,s,h,g)=>{if(0===k)return((k,s,h)=>{const g=s*s-4*k*h;return g<0?[]:[(-s+Math.sqrt(g))/(2*k),(-s-Math.sqrt(g))/(2*k)]})(s,h,g);const F=(3*(h/=k)-(s/=k)*s)/3,Z=(2*s*s*s-9*s*h+27*(g/=k))/27;if(0===F)return[Math.pow(-Z,1/3)];if(0===Z)return[Math.sqrt(-F),-Math.sqrt(-F)];const we=Math.pow(Z/2,2)+Math.pow(F/3,3);if(0===we)return[Math.pow(Z/2,.5)-s/3];if(we>0)return[Math.pow(-Z/2+Math.sqrt(we),1/3)-Math.pow(Z/2+Math.sqrt(we),1/3)-s/3];const nt=Math.sqrt(Math.pow(-F/3,3)),ht=Math.acos(-Z/(2*Math.sqrt(Math.pow(-F/3,3)))),Kt=2*Math.pow(nt,1/3);return[Kt*Math.cos(ht/3)-s/3,Kt*Math.cos((ht+2*Math.PI)/3)-s/3,Kt*Math.cos((ht+4*Math.PI)/3)-s/3]},Xn=function(){var k=(0,d.A)(function*(s,h,g,F,Z,we){var nt;if(s)return s.attachViewToDom(h,g,Z,F);if(!(we||"string"==typeof g||g instanceof HTMLElement))throw new Error("framework delegate is missing");const ht="string"==typeof g?null===(nt=h.ownerDocument)||void 0===nt?void 0:nt.createElement(g):g;return F&&F.forEach(Kt=>ht.classList.add(Kt)),Z&&Object.assign(ht,Z),h.appendChild(ht),yield new Promise(Kt=>(0,a.c)(ht,Kt)),ht});return function(h,g,F,Z,we,nt){return k.apply(this,arguments)}}(),sn=(k,s)=>{if(s){if(k)return k.removeViewFromDom(s.parentElement,s);s.remove()}return Promise.resolve()},zt=()=>{let k,s;return{attachViewToDom:function(){var F=(0,d.A)(function*(Z,we,nt={},ht=[]){var Kt,An;let Zn;if(k=Z,we){const co="string"==typeof we?null===(Kt=k.ownerDocument)||void 0===Kt?void 0:Kt.createElement(we):we;ht.forEach(Oo=>co.classList.add(Oo)),Object.assign(co,nt),k.appendChild(co),Zn=co,yield new Promise(Oo=>(0,a.c)(co,Oo))}else if(k.children.length>0&&("ION-MODAL"===k.tagName||"ION-POPOVER"===k.tagName)&&!(Zn=k.children[0]).classList.contains("ion-delegate-host")){const Oo=null===(An=k.ownerDocument)||void 0===An?void 0:An.createElement("div");Oo.classList.add("ion-delegate-host"),ht.forEach(Ao=>Oo.classList.add(Ao)),Oo.append(...k.children),k.appendChild(Oo),Zn=Oo}const mo=document.querySelector("ion-app")||document.body;return s=document.createComment("ionic teleport"),k.parentNode.insertBefore(s,k),mo.appendChild(k),Zn??k});return function(we,nt){return F.apply(this,arguments)}}(),removeViewFromDom:()=>(k&&s&&(s.parentNode.insertBefore(k,s),s.remove()),Promise.resolve())}},_n=()=>{let k;return{lock:function(){var h=(0,d.A)(function*(){const g=k;let F;return k=new Promise(Z=>F=Z),void 0!==g&&(yield g),F});return function(){return h.apply(this,arguments)}}()}};var kt=i(46031);const Jn=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=(0,p.lh)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,p.lh)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,p.lh)(this,"ionNavDidChange",3),this.lockController=_n(),this.gestureOrAnimationInProgress=!1,this.mode=(0,qe.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 s=this;return(0,d.A)(function*(){s.gesture=(yield i.e(6499).then(i.bind(i,76499))).createSwipeBackGesture(s.el,()=>!s.gestureOrAnimationInProgress&&!!s.swipeHandler&&s.swipeHandler.canStart(),()=>(s.gestureOrAnimationInProgress=!0,void(s.swipeHandler&&s.swipeHandler.onStart())),g=>{var F;return null===(F=s.ani)||void 0===F?void 0:F.progressStep(g)},(g,F,Z)=>{if(s.ani){s.ani.onFinish(()=>{s.gestureOrAnimationInProgress=!1,s.swipeHandler&&s.swipeHandler.onEnd(g)},{oneTimeCallback:!0});let we=g?-.001:.001;g?we+=ot([0,0],[.32,.72],[0,1],[1,1],F)[0]:(s.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),we+=ot([0,0],[1,0],[.68,.28],[1,1],F)[0]),s.ani.progressEnd(g?1:0,we,Z)}else s.gestureOrAnimationInProgress=!1}),s.swipeHandlerChanged()})()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}commit(s,h,g){var F=this;return(0,d.A)(function*(){const Z=yield F.lockController.lock();let we=!1;try{we=yield F.transition(s,h,g)}catch(nt){console.error(nt)}return Z(),we})()}setRouteId(s,h,g,F){var Z=this;return(0,d.A)(function*(){return{changed:yield Z.setRoot(s,h,{duration:"root"===g?0:void 0,direction:"back"===g?"back":"forward",animationBuilder:F}),element:Z.activeEl}})()}getRouteId(){var s=this;return(0,d.A)(function*(){const h=s.activeEl;return h?{id:h.tagName,element:h,params:s.activeParams}:void 0})()}setRoot(s,h,g){var F=this;return(0,d.A)(function*(){if(F.activeComponent===s&&(0,a.s)(h,F.activeParams))return!1;const Z=F.activeEl,we=yield Xn(F.delegate,F.el,s,["ion-page","ion-page-invisible"],h);return F.activeComponent=s,F.activeEl=we,F.activeParams=h,yield F.commit(we,Z,g),yield sn(F.delegate,Z),!0})()}transition(s,h,g={}){var F=this;return(0,d.A)(function*(){if(h===s)return!1;F.ionNavWillChange.emit();const{el:Z,mode:we}=F,nt=F.animated&&qe.c.getBoolean("animated",!0),ht=g.animationBuilder||F.animation||qe.c.get("navAnimation");return yield(0,kt.t)(Object.assign(Object.assign({mode:we,animated:nt,enteringEl:s,leavingEl:h,baseEl:Z,deepWait:(0,a.j)(Z),progressCallback:g.progressAnimation?Kt=>{void 0===Kt||F.gestureOrAnimationInProgress?F.ani=Kt:(F.gestureOrAnimationInProgress=!0,Kt.onFinish(()=>{F.gestureOrAnimationInProgress=!1,F.swipeHandler&&F.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),Kt.progressEnd(0,0,0))}:void 0},g),{animationBuilder:ht})),F.ionNavDidChange.emit(),!0})()}render(){return(0,p.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"]}]),kn=function Do(){typeof customElements>"u"||["ion-router-outlet"].forEach(s=>{"ion-router-outlet"===s&&(customElements.get(s)||customElements.define(s,Jn))})};var On=i(60177),ni=i(22694),Ro=i(67849),bo=i(91979),$i=i(76081),yi=i(84878),Gi=i(95098),tr=i(88875);const Sr='[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])',wi=(k,s)=>{const h=k.querySelector(Sr);Ki(h,s??k)},mr=(k,s)=>{const h=Array.from(k.querySelectorAll(Sr));Ki(h.length>0?h[h.length-1]:null,s??k)},Ki=(k,s)=>{let h=k;const g=k?.shadowRoot;g&&(h=g.querySelector(Sr)||k),h?(0,a.f)(h):s.focus()};let kr=0,Wr=0;const Yt=new WeakMap,io=k=>({create:s=>is(k,s),dismiss:(s,h,g)=>Mr(document,s,h,k,g),getTop:()=>(0,d.A)(function*(){return Cr(document,k)})()}),xi=io("ion-loading"),Ii=io("ion-modal"),bi=io("ion-popover"),Rr=io("ion-toast"),Fi=k=>{typeof document<"u"&&Kr(document);const s=kr++;k.overlayIndex=s},ri=k=>(k.hasAttribute("id")||(k.id="ion-overlay-"+ ++Wr),k.id),is=(k,s)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(k).then(()=>{const h=document.createElement(k);return h.classList.add("overlay-hidden"),Object.assign(h,Object.assign(Object.assign({},s),{hasController:!0})),Pr(document).appendChild(h),new Promise(g=>(0,a.c)(h,g))}):Promise.resolve(),xr=(k,s)=>{let h=k;const g=k?.shadowRoot;g&&(h=g.querySelector(Sr)||k),h?(0,a.f)(h):s.focus()},Kr=k=>{0===kr&&(kr=1,k.addEventListener("focus",s=>{((k,s)=>{const h=Cr(s,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),g=k.target;h&&g&&!h.classList.contains(L)&&(h.shadowRoot?(()=>{if(h.contains(g))h.lastFocus=g;else if("ION-TOAST"===g.tagName)xr(h.lastFocus,h);else{const we=h.lastFocus;wi(h),we===s.activeElement&&mr(h),h.lastFocus=s.activeElement}})():(()=>{if(h===g)h.lastFocus=void 0;else if("ION-TOAST"===g.tagName)xr(h.lastFocus,h);else{const we=(0,a.g)(h);if(!we.contains(g))return;const nt=we.querySelector(".ion-overlay-wrapper");if(!nt)return;if(nt.contains(g)||g===we.querySelector("ion-backdrop"))h.lastFocus=g;else{const ht=h.lastFocus;wi(nt,h),ht===s.activeElement&&mr(nt,h),h.lastFocus=s.activeElement}}})())})(s,k)},!0),k.addEventListener("ionBackButton",s=>{const h=Cr(k);h?.backdropDismiss&&s.detail.register(Gi.OVERLAY_BACK_BUTTON_PRIORITY,()=>{h.dismiss(void 0,Cn)})}),(0,Gi.shouldUseCloseWatcher)()||k.addEventListener("keydown",s=>{if("Escape"===s.key){const h=Cr(k);h?.backdropDismiss&&h.dismiss(void 0,Cn)}}))},Mr=(k,s,h,g,F)=>{const Z=Cr(k,g,F);return Z?Z.dismiss(s,h):Promise.reject("overlay does not exist")},es=(k,s)=>((k,s)=>(void 0===s&&(s="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(k.querySelectorAll(s)).filter(h=>h.overlayIndex>0)))(k,s).filter(h=>!(k=>k.classList.contains("overlay-hidden"))(h)),Cr=(k,s,h)=>{const g=es(k,s);return void 0===h?g[g.length-1]:g.find(F=>F.id===h)},Dr=(k=!1)=>{const h=Pr(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");h&&(k?h.setAttribute("aria-hidden","true"):h.removeAttribute("aria-hidden"))},rs=function(){var k=(0,d.A)(function*(s,h,g,F,Z){var we,nt;if(s.presented)return;Dr(!0),document.body.classList.add(tr.B),si(s.el),s.presented=!0,s.willPresent.emit(),null===(we=s.willPresentShorthand)||void 0===we||we.emit();const ht=(0,qe.b)(s),Kt=s.enterAnimation?s.enterAnimation:qe.c.get(h,"ios"===ht?g:F);(yield ts(s,Kt,s.el,Z))&&(s.didPresent.emit(),null===(nt=s.didPresentShorthand)||void 0===nt||nt.emit()),"ION-TOAST"!==s.el.tagName&&ys(s.el),s.keyboardClose&&(null===document.activeElement||!s.el.contains(document.activeElement))&&s.el.focus(),s.el.removeAttribute("aria-hidden")});return function(h,g,F,Z,we){return k.apply(this,arguments)}}(),ys=function(){var k=(0,d.A)(function*(s){let h=document.activeElement;if(!h)return;const g=h?.shadowRoot;g&&(h=g.querySelector(Sr)||h),yield s.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&h.focus()});return function(h){return k.apply(this,arguments)}}(),_r=function(){var k=(0,d.A)(function*(s,h,g,F,Z,we,nt){var ht,Kt;if(!s.presented)return!1;void 0!==yi.d&&1===es(yi.d).length&&(Dr(!1),document.body.classList.remove(tr.B)),s.presented=!1;try{s.el.style.setProperty("pointer-events","none"),s.willDismiss.emit({data:h,role:g}),null===(ht=s.willDismissShorthand)||void 0===ht||ht.emit({data:h,role:g});const Zn=(0,qe.b)(s),mo=s.leaveAnimation?s.leaveAnimation:qe.c.get(F,"ios"===Zn?Z:we);g!==ro&&(yield ts(s,mo,s.el,nt)),s.didDismiss.emit({data:h,role:g}),null===(Kt=s.didDismissShorthand)||void 0===Kt||Kt.emit({data:h,role:g}),(Yt.get(s)||[]).forEach(Oo=>Oo.destroy()),Yt.delete(s),s.el.classList.add("overlay-hidden"),s.el.style.removeProperty("pointer-events"),void 0!==s.el.lastFocus&&(s.el.lastFocus=void 0)}catch(Zn){console.error(Zn)}return s.el.remove(),Jo(),!0});return function(h,g,F,Z,we,nt,ht){return k.apply(this,arguments)}}(),Pr=k=>k.querySelector("ion-app")||k.body,ts=function(){var k=(0,d.A)(function*(s,h,g,F){g.classList.remove("overlay-hidden");const we=h(s.el,F);(!s.animated||!qe.c.getBoolean("animated",!0))&&we.duration(0),s.keyboardClose&&we.beforeAddWrite(()=>{const ht=g.ownerDocument.activeElement;ht?.matches("input,ion-input, ion-textarea")&&ht.blur()});const nt=Yt.get(s)||[];return Yt.set(s,[...nt,we]),yield we.play(),!0});return function(h,g,F,Z){return k.apply(this,arguments)}}(),hi=(k,s)=>{let h;const g=new Promise(F=>h=F);return yt(k,s,F=>{h(F.detail)}),g},yt=(k,s,h)=>{const g=F=>{(0,a.b)(k,s,g),h(F)};(0,a.a)(k,s,g)},Wt=k=>"cancel"===k||k===Cn,Pn=k=>k(),Cn="backdrop",ro="gesture",so=k=>{let h,s=!1;const g=zt(),F=(nt=!1)=>{if(h&&!nt)return{delegate:h,inline:s};const{el:ht,hasController:Kt,delegate:An}=k;return s=null!==ht.parentNode&&!Kt,h=s?An||g:An,{inline:s,delegate:h}};return{attachViewToDom:function(){var nt=(0,d.A)(function*(ht){const{delegate:Kt}=F(!0);if(Kt)return yield Kt.attachViewToDom(k.el,ht);const{hasController:An}=k;if(An&&void 0!==ht)throw new Error("framework delegate is missing");return null});return function(Kt){return nt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:nt}=F();nt&&void 0!==k.el&&nt.removeViewFromDom(k.el.parentElement,k.el)}}},Wo=()=>{let k;const s=()=>{k&&(k(),k=void 0)};return{addClickListener:(g,F)=>{s();const Z=void 0!==F?document.getElementById(F):null;Z?k=((nt,ht)=>{const Kt=()=>{ht.present()};return nt.addEventListener("click",Kt),()=>{nt.removeEventListener("click",Kt)}})(Z,g):(0,bo.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.`,g)},removeClickListener:s}},si=k=>{var s;if(void 0===yi.d)return;const h=es(yi.d);for(let g=h.length-1;g>=0;g--){const F=h[g],Z=null!==(s=h[g+1])&&void 0!==s?s:k;(Z.hasAttribute("aria-hidden")||"ION-TOAST"!==Z.tagName)&&F.setAttribute("aria-hidden","true")}},Jo=()=>{if(void 0===yi.d)return;const k=es(yi.d);for(let s=k.length-1;s>=0;s--){const h=k[s];if(h.removeAttribute("aria-hidden"),"ION-TOAST"!==h.tagName)break}},L="ion-disable-focus-trap";var re=i(86008),ce=i(90555),Pe=i(2104);const Jt=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=(0,p.lh)(this,"ionBackdropTap",7),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}onMouseDown(s){this.emitTap(s)}emitTap(s){this.stopPropagation&&(s.preventDefault(),s.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"c803b4302c8e722064feb03dafe3cb6e190b4f2b",tabindex:"-1","aria-hidden":"true",class:{[s]:!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(s=>{"ion-backdrop"===s&&(customElements.get(s)||customElements.define(s,Jt))})}var Be=function(k){return k.Dark="DARK",k.Light="LIGHT",k.Default="DEFAULT",k}(Be||{});const Qe={getEngine(){const k=(0,$i.g)();if(k?.isPluginAvailable("StatusBar"))return k.Plugins.StatusBar},setStyle(k){const s=this.getEngine();s&&s.setStyle(k)},getStyle:(k=(0,d.A)(function*(){const s=this.getEngine();if(!s)return Be.Default;const{style:h}=yield s.getInfo();return h}),function(){return k.apply(this,arguments)})},ct=(k,s)=>{if(1===s)return 0;const h=1/(1-s);return k*h+-s*h},Mt=()=>{!yi.w||yi.w.innerWidth>=768||Qe.setStyle({style:Be.Dark})},Dt=(k=Be.Default)=>{!yi.w||yi.w.innerWidth>=768||Qe.setStyle({style:k})},fn=function(){var k=(0,d.A)(function*(s,h){"function"!=typeof s.canDismiss||!(yield s.canDismiss(void 0,ro))||(h.isRunning()?h.onFinish(()=>{s.dismiss(void 0,"handler")},{oneTimeCallback:!0}):s.dismiss(void 0,"handler"))});return function(h,g){return k.apply(this,arguments)}}(),un=k=>.00255275*2.71828**(-14.9619*k)-1.00255*2.71828**(-.0380968*k)+1,vo=(k,s)=>(0,a.k)(400,k/Math.abs(1.1*s),500),Mo=k=>{const{currentBreakpoint:s,backdropBreakpoint:h}=k,g=void 0===h||h{const{currentBreakpoint:s,backdropBreakpoint:h}=k,g=`calc(var(--backdrop-opacity) * ${ct(s,h)})`,F=[{offset:0,opacity:g},{offset:1,opacity:0}],Z=[{offset:0,opacity:g},{offset:h,opacity:0},{offset:1,opacity:0}],we=(0,ce.c)("backdropAnimation").keyframes(0!==h?Z:F);return{wrapperAnimation:(0,ce.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*s}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:we}},Po=(k,s)=>{const{presentingEl:h,currentBreakpoint:g}=s,F=(0,a.g)(k),{wrapperAnimation:Z,backdropAnimation:we}=void 0!==g?Mo(s):{backdropAnimation:(0,ce.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,ce.c)().fromTo("transform","translateY(100vh)","translateY(0vh)")};we.addElement(F.querySelector("ion-backdrop")),Z.addElement(F.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const nt=(0,ce.c)("entering-base").addElement(k).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(Z);if(h){const ht=window.innerWidth<768,Kt="ION-MODAL"===h.tagName&&void 0!==h.presentingElement,An=(0,a.g)(h),Zn=(0,ce.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),mo=document.body;if(ht){const co=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",li=`translateY(${Kt?"-10px":co}) scale(0.915)`;Zn.afterStyles({transform:li}).beforeAddWrite(()=>mo.style.setProperty("background-color","black")).addElement(h).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:li,borderRadius:"10px 10px 0 0"}]),nt.addAnimation(Zn)}else if(nt.addAnimation(we),Kt){const Oo=`translateY(-10px) scale(${Kt?.915:1})`;Zn.afterStyles({transform:Oo}).addElement(An.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:Oo}]);const Ao=(0,ce.c)().afterStyles({transform:Oo}).addElement(An.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:Oo}]);nt.addAnimation([Zn,Ao])}else Z.fromTo("opacity","0","1")}else nt.addAnimation(we);return nt},Vo=(k,s,h=500)=>{const{presentingEl:g,currentBreakpoint:F}=s,Z=(0,a.g)(k),{wrapperAnimation:we,backdropAnimation:nt}=void 0!==F?po(s):{backdropAnimation:(0,ce.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,ce.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")};nt.addElement(Z.querySelector("ion-backdrop")),we.addElement(Z.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const ht=(0,ce.c)("leaving-base").addElement(k).easing("cubic-bezier(0.32,0.72,0,1)").duration(h).addAnimation(we);if(g){const Kt=window.innerWidth<768,An="ION-MODAL"===g.tagName&&void 0!==g.presentingElement,Zn=(0,a.g)(g),mo=(0,ce.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(Oo=>{1===Oo&&(g.style.setProperty("overflow",""),Array.from(co.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(li=>void 0!==li.presentingElement).length<=1&&co.style.setProperty("background-color",""))}),co=document.body;if(Kt){const Oo=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",ji=`translateY(${An?"-10px":Oo}) scale(0.915)`;mo.addElement(g).keyframes([{offset:0,filter:"contrast(0.85)",transform:ji,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),ht.addAnimation(mo)}else if(ht.addAnimation(nt),An){const Ao=`translateY(-10px) scale(${An?.915:1})`;mo.addElement(Zn.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:Ao},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const li=(0,ce.c)().addElement(Zn.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:Ao},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);ht.addAnimation([mo,li])}else we.fromTo("opacity","1","0")}else ht.addAnimation(nt);return ht},Yo=(k,s)=>{const{currentBreakpoint:h}=s,g=(0,a.g)(k),{wrapperAnimation:F,backdropAnimation:Z}=void 0!==h?Mo(s):{backdropAnimation:(0,ce.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,ce.c)().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return Z.addElement(g.querySelector("ion-backdrop")),F.addElement(g.querySelector(".modal-wrapper")),(0,ce.c)().addElement(k).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([Z,F])},Lr=(k,s)=>{const{currentBreakpoint:h}=s,g=(0,a.g)(k),{wrapperAnimation:F,backdropAnimation:Z}=void 0!==h?po(s):{backdropAnimation:(0,ce.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,ce.c)().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return Z.addElement(g.querySelector("ion-backdrop")),F.addElement(g.querySelector(".modal-wrapper")),(0,ce.c)().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([Z,F])},ar=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=(0,p.lh)(this,"ionModalDidPresent",7),this.willPresent=(0,p.lh)(this,"ionModalWillPresent",7),this.willDismiss=(0,p.lh)(this,"ionModalWillDismiss",7),this.didDismiss=(0,p.lh)(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=(0,p.lh)(this,"ionBreakpointDidChange",7),this.didPresentShorthand=(0,p.lh)(this,"didPresent",7),this.willPresentShorthand=(0,p.lh)(this,"willPresent",7),this.willDismissShorthand=(0,p.lh)(this,"willDismiss",7),this.didDismissShorthand=(0,p.lh)(this,"didDismiss",7),this.ionMount=(0,p.lh)(this,"ionMount",7),this.lockController=_n(),this.triggerController=Wo(),this.coreDelegate=zt(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:s,handleBehavior:h}=this;"cycle"!==h||void 0!==s||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:s}=this;void 0===s&&this.dismiss(void 0,Cn)},this.onLifecycle=s=>{const h=this.usersElement,g=Zi[s.type];if(h&&g){const F=new CustomEvent(g,{bubbles:!1,cancelable:!1,detail:s.detail});h.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(s,h){!0===s&&!1===h?this.present():!1===s&&!0===h&&this.dismiss()}triggerChanged(){const{trigger:s,el:h,triggerController:g}=this;s&&g.addClickListener(h,s)}breakpointsChanged(s){void 0!==s&&(this.sortedBreakpoints=s.sort((h,g)=>h-g))}connectedCallback(){const{el:s}=this;Fi(s),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var s;const{breakpoints:h,initialBreakpoint:g,el:F,htmlAttributes:Z}=this,we=this.isSheetModal=void 0!==h&&void 0!==g,nt=["aria-label","role"];this.inheritedAttributes=(0,a.d)(F,nt),void 0!==Z&&nt.forEach(ht=>{Z[ht]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[ht]:Z[ht]}),delete Z[ht])}),we&&(this.currentBreakpoint=this.initialBreakpoint),void 0!==h&&void 0!==g&&!h.includes(g)&&(0,bo.p)("Your breakpoints array must include the initialBreakpoint value."),null!==(s=this.htmlAttributes)&&void 0!==s&&s.id||ri(this.el)}componentDidLoad(){!0===this.isOpen&&(0,a.r)(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(s=!1){if(this.workingDelegate&&!s)return{delegate:this.workingDelegate,inline:this.inline};const g=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:g,delegate:this.workingDelegate=g?this.delegate||this.coreDelegate:this.delegate}}checkCanDismiss(s,h){var g=this;return(0,d.A)(function*(){const{canDismiss:F}=g;return"function"==typeof F?F(s,h):F})()}present(){var s=this;return(0,d.A)(function*(){const h=yield s.lockController.lock();if(s.presented)return void h();const{presentingElement:g,el:F}=s;s.currentBreakpoint=s.initialBreakpoint;const{inline:Z,delegate:we}=s.getDelegate(!0);s.ionMount.emit(),s.usersElement=yield Xn(we,F,s.component,["ion-page"],s.componentProps,Z),(0,a.j)(F)?yield(0,kt.e)(s.usersElement):s.keepContentsMounted||(yield(0,kt.w)()),(0,p.bN)(()=>s.el.classList.add("show-modal"));const nt=void 0!==g;nt&&"ios"===(0,qe.b)(s)&&(s.statusBarStyle=yield Qe.getStyle(),Mt()),yield rs(s,"modalEnter",Po,Yo,{presentingEl:g,currentBreakpoint:s.initialBreakpoint,backdropBreakpoint:s.backdropBreakpoint}),typeof window<"u"&&(s.keyboardOpenCallback=()=>{s.gesture&&(s.gesture.enable(!1),(0,a.r)(()=>{s.gesture&&s.gesture.enable(!0)}))},window.addEventListener(re.KEYBOARD_DID_OPEN,s.keyboardOpenCallback)),s.isSheetModal?s.initSheetGesture():nt&&s.initSwipeToClose(),h()})()}initSwipeToClose(){var h,s=this;if("ios"!==(0,qe.b)(this))return;const{el:g}=this,F=this.leaveAnimation||qe.c.get("modalLeave",Vo),Z=this.animation=F(g,{presentingEl:this.presentingElement});if(!(0,Ro.f)(g))return void(0,Ro.p)(g);const nt=null!==(h=this.statusBarStyle)&&void 0!==h?h:Be.Default;this.gesture=((k,s,h,g)=>{const Z=k.offsetHeight;let we=!1,nt=!1,ht=null,Kt=null,Zn=!0,mo=0;const zi=(0,Pe.createGesture)({el:k,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:Oi=>{const Wi=Oi.event.target;return null===Wi||!Wi.closest||(ht=(0,Ro.a)(Wi),ht?(Kt=(0,Ro.i)(ht)?(0,a.g)(ht).querySelector(".inner-scroll"):ht,!ht.querySelector("ion-refresher")&&0===Kt.scrollTop):null===Wi.closest("ion-footer"))},onStart:Oi=>{const{deltaY:Wi}=Oi;Zn=!ht||!(0,Ro.i)(ht)||ht.scrollY,nt=void 0!==k.canDismiss&&!0!==k.canDismiss,Wi>0&&ht&&(0,Ro.d)(ht),s.progressStart(!0,we?1:0)},onMove:Oi=>{const{deltaY:Wi}=Oi;Wi>0&&ht&&(0,Ro.d)(ht);const Ni=Oi.deltaY/Z,Qi=Ni>=0&&nt,Xr=Qi?.2:.9999,_s=Qi?un(Ni/Xr):Ni,ps=(0,a.k)(1e-4,_s,Xr);s.progressStep(ps),ps>=.5&&mo<.5?Dt(h):ps<.5&&mo>=.5&&Mt(),mo=ps},onEnd:Oi=>{const Wi=Oi.velocityY,Ni=Oi.deltaY/Z,Qi=Ni>=0&&nt,Xr=Qi?.2:.9999,_s=Qi?un(Ni/Xr):Ni,ps=(0,a.k)(1e-4,_s,Xr),Hs=!Qi&&(Oi.deltaY+1e3*Wi)/Z>=.5;let Gs=Hs?-.001:.001;Hs?(s.easing("cubic-bezier(0.32, 0.72, 0, 1)"),Gs+=ot([0,0],[.32,.72],[0,1],[1,1],ps)[0]):(s.easing("cubic-bezier(1, 0, 0.68, 0.28)"),Gs+=ot([0,0],[1,0],[.68,.28],[1,1],ps)[0]);const Rs=vo(Hs?Ni*Z:(1-ps)*Z,Wi);we=Hs,zi.enable(!1),ht&&(0,Ro.r)(ht,Zn),s.onFinish(()=>{Hs||zi.enable(!0)}).progressEnd(Hs?1:0,Gs,Rs),Qi&&ps>Xr/4?fn(k,s):Hs&&g()}});return zi})(g,Z,nt,()=>{this.gestureAnimationDismissing=!0,Dt(this.statusBarStyle),this.animation.onFinish((0,d.A)(function*(){yield s.dismiss(void 0,ro),s.gestureAnimationDismissing=!1}))}),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:s,initialBreakpoint:h,backdropBreakpoint:g}=this;if(!s||void 0===h)return;const F=this.enterAnimation||qe.c.get("modalEnter",Po),Z=this.animation=F(this.el,{presentingEl:this.presentingElement,currentBreakpoint:h,backdropBreakpoint:g});Z.progressStart(!0,1);const{gesture:we,moveSheetToBreakpoint:nt}=((k,s,h,g,F,Z,we=[],nt,ht,Kt)=>{const mo={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}]},co=k.querySelector("ion-content"),Oo=h.clientHeight;let Ao=g,li=0,ji=!1;const Oi=Z.childAnimations.find($s=>"wrapperAnimation"===$s.id),Wi=Z.childAnimations.find($s=>"backdropAnimation"===$s.id),Ni=we[we.length-1],Qi=we[0],Xr=()=>{k.style.setProperty("pointer-events","auto"),s.style.setProperty("pointer-events","auto"),k.classList.remove(L)},_s=()=>{k.style.setProperty("pointer-events","none"),s.style.setProperty("pointer-events","none"),k.classList.add(L)};Oi&&Wi&&(Oi.keyframes([...mo.WRAPPER_KEYFRAMES]),Wi.keyframes([...mo.BACKDROP_KEYFRAMES]),Z.progressStart(!0,1-Ao),Ao>F?Xr():_s()),co&&Ao!==Ni&&(co.scrollY=!1);const Rs=$s=>{const{breakpoint:Ks,canDismiss:Ys,breakpointOffset:oa,animated:wl}=$s,nl=Ys&&0===Ks,ja=nl?Ao:Ks,od=0!==ja;return Ao=0,Oi&&Wi&&(Oi.keyframes([{offset:0,transform:`translateY(${100*oa}%)`},{offset:1,transform:`translateY(${100*(1-ja)}%)`}]),Wi.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${ct(1-oa,F)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${ct(ja,F)})`}]),Z.progressStep(0)),Ka.enable(!1),nl?fn(k,Z):od||ht(),co&&ja===we[we.length-1]&&(co.scrollY=!0),new Promise(ec=>{Z.onFinish(()=>{od?Oi&&Wi?(0,a.r)(()=>{Oi.keyframes([...mo.WRAPPER_KEYFRAMES]),Wi.keyframes([...mo.BACKDROP_KEYFRAMES]),Z.progressStart(!0,1-ja),Ao=ja,Kt(Ao),Ao>F?Xr():_s(),Ka.enable(!0),ec()}):(Ka.enable(!0),ec()):ec()},{oneTimeCallback:!0}).progressEnd(1,0,wl?500:0)})},Ka=(0,Pe.createGesture)({el:h,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:$s=>{const Ks=(0,Ro.a)($s.event.target);if(Ao=nt(),1===Ao&&Ks){const Ys=(0,Ro.i)(Ks)?(0,a.g)(Ks).querySelector(".inner-scroll"):Ks;return!Ks.querySelector("ion-refresher")&&0===Ys.scrollTop}return!0},onStart:$s=>{ji=void 0!==k.canDismiss&&!0!==k.canDismiss&&0===Qi,$s.deltaY>0&&co&&(co.scrollY=!1),(0,a.r)(()=>{k.focus()}),Z.progressStart(!0,1-Ao)},onMove:$s=>{$s.deltaY>0&&co&&(co.scrollY=!1);const Ys=we.length>1?1-we[1]:void 0,oa=1-Ao+$s.deltaY/Oo,wl=void 0!==Ys&&oa>=Ys&&ji,nl=wl?.95:.9999,ja=wl&&void 0!==Ys?Ys+un((oa-Ys)/(nl-Ys)):oa;li=(0,a.k)(1e-4,ja,nl),Z.progressStep(li)},onEnd:$s=>{const oa=Ao-($s.deltaY+350*$s.velocityY)/Oo,wl=we.reduce((nl,ja)=>Math.abs(ja-oa){var ht;return null!==(ht=this.currentBreakpoint)&&void 0!==ht?ht:0},()=>this.sheetOnDismiss(),ht=>{this.currentBreakpoint!==ht&&(this.currentBreakpoint=ht,this.ionBreakpointDidChange.emit({breakpoint:ht}))});this.gesture=we,this.moveSheetToBreakpoint=nt,this.gesture.enable(!0)}sheetOnDismiss(){var s=this;this.gestureAnimationDismissing=!0,this.animation.onFinish((0,d.A)(function*(){s.currentBreakpoint=0,s.ionBreakpointDidChange.emit({breakpoint:s.currentBreakpoint}),yield s.dismiss(void 0,ro),s.gestureAnimationDismissing=!1}))}dismiss(s,h){var g=this;return(0,d.A)(function*(){var F;if(g.gestureAnimationDismissing&&h!==ro)return!1;const Z=yield g.lockController.lock();if("handler"!==h&&!(yield g.checkCanDismiss(s,h)))return Z(),!1;const{presentingElement:we}=g;void 0!==we&&"ios"===(0,qe.b)(g)&&Dt(g.statusBarStyle),typeof window<"u"&&g.keyboardOpenCallback&&(window.removeEventListener(re.KEYBOARD_DID_OPEN,g.keyboardOpenCallback),g.keyboardOpenCallback=void 0);const ht=yield _r(g,s,h,"modalLeave",Vo,Lr,{presentingEl:we,currentBreakpoint:null!==(F=g.currentBreakpoint)&&void 0!==F?F:g.initialBreakpoint,backdropBreakpoint:g.backdropBreakpoint});if(ht){const{delegate:Kt}=g.getDelegate();yield sn(Kt,g.usersElement),(0,p.bN)(()=>g.el.classList.remove("show-modal")),g.animation&&g.animation.destroy(),g.gesture&&g.gesture.destroy()}return g.currentBreakpoint=void 0,g.animation=void 0,Z(),ht})()}onDidDismiss(){return hi(this.el,"ionModalDidDismiss")}onWillDismiss(){return hi(this.el,"ionModalWillDismiss")}setCurrentBreakpoint(s){var h=this;return(0,d.A)(function*(){if(!h.isSheetModal)return void(0,bo.p)("setCurrentBreakpoint is only supported on sheet modals.");if(!h.breakpoints.includes(s))return void(0,bo.p)(`Attempted to set invalid breakpoint value ${s}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:g,moveSheetToBreakpoint:F,canDismiss:Z,breakpoints:we,animated:nt}=h;g!==s&&F&&(h.sheetTransition=F({breakpoint:s,breakpointOffset:1-g,canDismiss:void 0!==Z&&!0!==Z&&0===we[0],animated:nt}),yield h.sheetTransition,h.sheetTransition=void 0)})()}getCurrentBreakpoint(){var s=this;return(0,d.A)(function*(){return s.currentBreakpoint})()}moveToNextBreakpoint(){var s=this;return(0,d.A)(function*(){const{breakpoints:h,currentBreakpoint:g}=s;if(!h||null==g)return!1;const F=h.filter(ht=>0!==ht),we=(F.indexOf(g)+1)%F.length,nt=F[we];return yield s.setCurrentBreakpoint(nt),!0})()}render(){const{handle:s,isSheetModal:h,presentingElement:g,htmlAttributes:F,handleBehavior:Z,inheritedAttributes:we,focusTrap:nt}=this,ht=!1!==s&&h,Kt=(0,qe.b)(this),An=void 0!==g&&"ios"===Kt,Zn="cycle"===Z;return(0,p.h)(p.xr,Object.assign({key:"013ba4864ca4d2c1052c512f6a4b0732b8decff7","no-router":!0,tabindex:"-1"},F,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[Kt]:!0,"modal-default":!An&&!h,"modal-card":An,"modal-sheet":h,"overlay-hidden":!0,[L]:!1===nt},u(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),(0,p.h)("ion-backdrop",{key:"498b1c0a03836d6799dcf3b8e9315805c70f6480",ref:mo=>this.backdropEl=mo,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===Kt&&(0,p.h)("div",{key:"ce22e4caf1096e87248926fe2477f0d5a4c8a5cf",class:"modal-shadow"}),(0,p.h)("div",Object.assign({key:"540e47b15d8290166c39b022c725182114a75682",role:"dialog"},we,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:mo=>this.wrapperEl=mo}),ht&&(0,p.h)("button",{key:"f3b352ec9a63a7ec801462aacfd8295b4302d115",class:"modal-handle",tabIndex:Zn?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:Zn?this.onHandleClick:void 0,part:"handle"}),(0,p.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"]}]),Zi={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};var k;const Hr=function jr(){typeof customElements>"u"||["ion-modal","ion-backdrop"].forEach(s=>{switch(s){case"ion-modal":customElements.get(s)||customElements.define(s,ar);break;case"ion-backdrop":customElements.get(s)||ie()}})},b=(k,s,h)=>{const g=s.getBoundingClientRect(),F=g.height;let Z=g.width;return"cover"===k&&h&&(Z=h.getBoundingClientRect().width),{contentWidth:Z,contentHeight:F}},oe=(k,s,h)=>{let g=[];switch(s){case"hover":let F;g=[{eventName:"mouseenter",callback:(Z=(0,d.A)(function*(we){we.stopPropagation(),F&&clearTimeout(F),F=setTimeout(()=>{(0,a.r)(()=>{h.presentFromTrigger(we),F=void 0})},100)}),function(nt){return Z.apply(this,arguments)})},{eventName:"mouseleave",callback:Z=>{F&&clearTimeout(F);const we=Z.relatedTarget;we&&we.closest("ion-popover")!==h&&h.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:Z=>Z.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:Z=>h.presentFromTrigger(Z,!0)}];break;case"context-menu":g=[{eventName:"contextmenu",callback:Z=>{Z.preventDefault(),h.presentFromTrigger(Z)}},{eventName:"click",callback:Z=>Z.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:Z=>h.presentFromTrigger(Z,!0)}];break;default:g=[{eventName:"click",callback:Z=>h.presentFromTrigger(Z)},{eventName:"ionPopoverActivateTrigger",callback:Z=>h.presentFromTrigger(Z,!0)}]}var Z;return g.forEach(({eventName:F,callback:Z})=>k.addEventListener(F,Z)),k.setAttribute("data-ion-popover-trigger","true"),()=>{g.forEach(({eventName:F,callback:Z})=>k.removeEventListener(F,Z)),k.removeAttribute("data-ion-popover-trigger")}},D=(k,s)=>s&&"ION-ITEM"===s.tagName?k.findIndex(h=>h===s):-1,xe=k=>{const h=(0,a.g)(k).querySelector("button");h&&(0,a.r)(()=>h.focus())},_e=k=>{const s=function(){var h=(0,d.A)(function*(g){var F;const Z=document.activeElement;let we=[];const nt=null===(F=g.target)||void 0===F?void 0:F.tagName;if("ION-POPOVER"===nt||"ION-ITEM"===nt){try{we=Array.from(k.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(g.key){case"ArrowLeft":(yield k.getParentPopover())&&k.dismiss(void 0,void 0,!1);break;case"ArrowDown":g.preventDefault();const Kt=((k,s)=>k[D(k,s)+1])(we,Z);void 0!==Kt&&xe(Kt);break;case"ArrowUp":g.preventDefault();const An=((k,s)=>k[D(k,s)-1])(we,Z);void 0!==An&&xe(An);break;case"Home":g.preventDefault();const Zn=we[0];void 0!==Zn&&xe(Zn);break;case"End":g.preventDefault();const mo=we[we.length-1];void 0!==mo&&xe(mo);break;case"ArrowRight":case" ":case"Enter":if(Z&&(k=>k.hasAttribute("data-ion-popover-trigger"))(Z)){const co=new CustomEvent("ionPopoverActivateTrigger");Z.dispatchEvent(co)}}}});return function(F){return h.apply(this,arguments)}}();return k.addEventListener("keydown",s),()=>k.removeEventListener("keydown",s)},Ie=(k,s,h,g,F,Z,we,nt,ht,Kt,An)=>{var Zn;let mo={top:0,left:0,width:0,height:0};if("event"===Z){if(!An)return ht;mo={top:An.clientY,left:An.clientX,width:1,height:1}}else{const Qi=An,Xr=Kt||(null===(Zn=Qi?.detail)||void 0===Zn?void 0:Zn.ionShadowTarget)||Qi?.target;if(!Xr)return ht;const _s=Xr.getBoundingClientRect();mo={top:_s.top,left:_s.left,width:_s.width,height:_s.height}}const co=Nt(we,mo,s,h,g,F,k),Oo=Ot(nt,we,mo,s,h),Ao=co.top+Oo.top,li=co.left+Oo.left,{arrowTop:ji,arrowLeft:zi}=Et(we,g,F,Ao,li,s,h,k),{originX:Oi,originY:Wi}=Le(we,nt,k);return{top:Ao,left:li,referenceCoordinates:mo,arrowTop:ji,arrowLeft:zi,originX:Oi,originY:Wi}},Le=(k,s,h)=>{switch(k){case"top":return{originX:Ae(s),originY:"bottom"};case"bottom":return{originX:Ae(s),originY:"top"};case"left":return{originX:"right",originY:ut(s)};case"right":return{originX:"left",originY:ut(s)};case"start":return{originX:h?"left":"right",originY:ut(s)};case"end":return{originX:h?"right":"left",originY:ut(s)}}},Ae=k=>{switch(k){case"start":return"left";case"center":return"center";case"end":return"right"}},ut=k=>{switch(k){case"start":return"top";case"center":return"center";case"end":return"bottom"}},Et=(k,s,h,g,F,Z,we,nt)=>{const ht={arrowTop:g+we/2-s/2,arrowLeft:F+Z-s/2},Kt={arrowTop:g+we/2-s/2,arrowLeft:F-1.5*s};switch(k){case"top":return{arrowTop:g+we,arrowLeft:F+Z/2-s/2};case"bottom":return{arrowTop:g-h,arrowLeft:F+Z/2-s/2};case"left":return ht;case"right":return Kt;case"start":return nt?Kt:ht;case"end":return nt?ht:Kt;default:return{arrowTop:0,arrowLeft:0}}},Nt=(k,s,h,g,F,Z,we)=>{const nt={top:s.top,left:s.left-h-F},ht={top:s.top,left:s.left+s.width+F};switch(k){case"top":return{top:s.top-g-Z,left:s.left};case"right":return ht;case"bottom":return{top:s.top+s.height+Z,left:s.left};case"left":return nt;case"start":return we?ht:nt;case"end":return we?nt:ht}},Ot=(k,s,h,g,F)=>{switch(k){case"center":return Ct(s,h,g,F);case"end":return pn(s,h,g,F);default:return{top:0,left:0}}},pn=(k,s,h,g)=>{switch(k){case"start":case"end":case"left":case"right":return{top:-(g-s.height),left:0};default:return{top:0,left:-(h-s.width)}}},Ct=(k,s,h,g)=>{switch(k){case"start":case"end":case"left":case"right":return{top:-(g/2-s.height/2),left:0};default:return{top:0,left:-(h/2-s.width/2)}}},nn=(k,s,h,g,F,Z,we,nt,ht,Kt,An,Zn,mo=0,co=0,Oo=0)=>{let Ao=mo;const li=co;let Oi,ji=h,zi=s,Wi=Kt,Ni=An,Qi=!1,Xr=!1;const _s=Zn?Zn.top+Zn.height:Z/2-nt/2,ps=Zn?Zn.height:0;let Ws=!1;return jiF&&(Xr=!0,ji=F-we-g,Wi="right"),_s+ps+nt>Z&&("top"===k||"bottom"===k)&&(_s-nt>0?(zi=Math.max(12,_s-nt-ps-(Oo-1)),Ao=zi+nt,Ni="bottom",Ws=!0):Oi=g),{top:zi,left:ji,bottom:Oi,originX:Wi,originY:Ni,checkSafeAreaLeft:Qi,checkSafeAreaRight:Xr,arrowTop:Ao,arrowLeft:li,addPopoverBottomClass:Ws}},eo=(k,s)=>{var h;const{event:g,size:F,trigger:Z,reference:we,side:nt,align:ht}=s,Kt=k.ownerDocument,An="rtl"===Kt.dir,Zn=Kt.defaultView.innerWidth,mo=Kt.defaultView.innerHeight,co=(0,a.g)(k),Oo=co.querySelector(".popover-content"),Ao=co.querySelector(".popover-arrow"),li=Z||(null===(h=g?.detail)||void 0===h?void 0:h.ionShadowTarget)||g?.target,{contentWidth:ji,contentHeight:zi}=b(F,Oo,li),{arrowWidth:Oi,arrowHeight:Wi}=(k=>{if(!k)return{arrowWidth:0,arrowHeight:0};const{width:s,height:h}=k.getBoundingClientRect();return{arrowWidth:s,arrowHeight:h}})(Ao),Qi=Ie(An,ji,zi,Oi,Wi,we,nt,ht,{top:mo/2-zi/2,left:Zn/2-ji/2,originX:An?"right":"left",originY:"top"},Z,g),Xr="cover"===F?0:5,_s="cover"===F?0:25,{originX:ps,originY:Ws,top:Hs,left:Gs,bottom:Rs,checkSafeAreaLeft:Ka,checkSafeAreaRight:$s,arrowTop:Ks,arrowLeft:Ys,addPopoverBottomClass:oa}=nn(nt,Qi.top,Qi.left,Xr,Zn,mo,ji,zi,_s,Qi.originX,Qi.originY,Qi.referenceCoordinates,Qi.arrowTop,Qi.arrowLeft,Wi),wl=(0,ce.c)(),nl=(0,ce.c)(),ja=(0,ce.c)();return nl.addElement(co.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),ja.addElement(co.querySelector(".popover-arrow")).addElement(co.querySelector(".popover-content")).fromTo("opacity",.01,1),wl.easing("ease").duration(100).beforeAddWrite(()=>{"cover"===F&&k.style.setProperty("--width",`${ji}px`),oa&&k.classList.add("popover-bottom"),void 0!==Rs&&Oo.style.setProperty("bottom",`${Rs}px`);let tc=`${Gs}px`;Ka&&(tc=`${Gs}px + var(--ion-safe-area-left, 0)`),$s&&(tc=`${Gs}px - var(--ion-safe-area-right, 0)`),Oo.style.setProperty("top",`calc(${Hs}px + var(--offset-y, 0))`),Oo.style.setProperty("left",`calc(${tc} + var(--offset-x, 0))`),Oo.style.setProperty("transform-origin",`${Ws} ${ps}`),null!==Ao&&(((k,s=!1,h,g)=>!(!h&&!g||"top"!==k&&"bottom"!==k&&s))(nt,Qi.top!==Hs||Qi.left!==Gs,g,Z)?(Ao.style.setProperty("top",`calc(${Ks}px + var(--offset-y, 0))`),Ao.style.setProperty("left",`calc(${Ys}px + var(--offset-x, 0))`)):Ao.style.setProperty("display","none"))}).addAnimation([nl,ja])},fo=k=>{const s=(0,a.g)(k),h=s.querySelector(".popover-content"),g=s.querySelector(".popover-arrow"),F=(0,ce.c)(),Z=(0,ce.c)(),we=(0,ce.c)();return Z.addElement(s.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),we.addElement(s.querySelector(".popover-arrow")).addElement(s.querySelector(".popover-content")).fromTo("opacity",.99,0),F.easing("ease").afterAddWrite(()=>{k.style.removeProperty("--width"),k.classList.remove("popover-bottom"),h.style.removeProperty("top"),h.style.removeProperty("left"),h.style.removeProperty("bottom"),h.style.removeProperty("transform-origin"),g&&(g.style.removeProperty("top"),g.style.removeProperty("left"),g.style.removeProperty("display"))}).duration(300).addAnimation([Z,we])},wo=(k,s)=>{var h;const{event:g,size:F,trigger:Z,reference:we,side:nt,align:ht}=s,Kt=k.ownerDocument,An="rtl"===Kt.dir,Zn=Kt.defaultView.innerWidth,mo=Kt.defaultView.innerHeight,co=(0,a.g)(k),Oo=co.querySelector(".popover-content"),Ao=Z||(null===(h=g?.detail)||void 0===h?void 0:h.ionShadowTarget)||g?.target,{contentWidth:li,contentHeight:ji}=b(F,Oo,Ao),Oi=Ie(An,li,ji,0,0,we,nt,ht,{top:mo/2-ji/2,left:Zn/2-li/2,originX:An?"right":"left",originY:"top"},Z,g),Wi="cover"===F?0:12,{originX:Ni,originY:Qi,top:Xr,left:_s,bottom:ps}=nn(nt,Oi.top,Oi.left,Wi,Zn,mo,li,ji,0,Oi.originX,Oi.originY,Oi.referenceCoordinates),Ws=(0,ce.c)(),Hs=(0,ce.c)(),Gs=(0,ce.c)(),Rs=(0,ce.c)(),Ka=(0,ce.c)();return Hs.addElement(co.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),Gs.addElement(co.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),Rs.addElement(Oo).beforeStyles({top:`calc(${Xr}px + var(--offset-y, 0px))`,left:`calc(${_s}px + var(--offset-x, 0px))`,"transform-origin":`${Qi} ${Ni}`}).beforeAddWrite(()=>{void 0!==ps&&Oo.style.setProperty("bottom",`${ps}px`)}).fromTo("transform","scale(0.8)","scale(1)"),Ka.addElement(co.querySelector(".popover-viewport")).fromTo("opacity",.01,1),Ws.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{"cover"===F&&k.style.setProperty("--width",`${li}px`),"bottom"===Qi&&k.classList.add("popover-bottom")}).addAnimation([Hs,Gs,Rs,Ka])},ii=k=>{const s=(0,a.g)(k),h=s.querySelector(".popover-content"),g=(0,ce.c)(),F=(0,ce.c)(),Z=(0,ce.c)();return F.addElement(s.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),Z.addElement(s.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),g.easing("ease").afterAddWrite(()=>{k.style.removeProperty("--width"),k.classList.remove("popover-bottom"),h.style.removeProperty("top"),h.style.removeProperty("left"),h.style.removeProperty("bottom"),h.style.removeProperty("transform-origin")}).duration(150).addAnimation([F,Z])},st=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=(0,p.lh)(this,"ionPopoverDidPresent",7),this.willPresent=(0,p.lh)(this,"ionPopoverWillPresent",7),this.willDismiss=(0,p.lh)(this,"ionPopoverWillDismiss",7),this.didDismiss=(0,p.lh)(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=(0,p.lh)(this,"didPresent",7),this.willPresentShorthand=(0,p.lh)(this,"willPresent",7),this.willDismissShorthand=(0,p.lh)(this,"willDismiss",7),this.didDismissShorthand=(0,p.lh)(this,"didDismiss",7),this.ionMount=(0,p.lh)(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=zt(),this.lockController=_n(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,Cn)},this.onLifecycle=s=>{const h=this.usersElement,g=jn[s.type];if(h&&g){const F=new CustomEvent(g,{bubbles:!1,cancelable:!1,detail:s.detail});h.dispatchEvent(F)}},this.configureTriggerInteraction=()=>{const{trigger:s,triggerAction:h,el:g,destroyTriggerInteraction:F}=this;if(F&&F(),void 0===s)return;const Z=this.triggerEl=void 0!==s?document.getElementById(s):null;Z?this.destroyTriggerInteraction=oe(Z,h,g):(0,bo.p)(`A trigger element with the ID "${s}" 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:s,el:h}=this;s&&s(),this.destroyKeyboardInteraction=_e(h)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:s,parentPopover:h,triggerAction:g,triggerEl:F,el:Z}=this;!h||!F||(s&&s(),this.destroyDismissInteraction=((k,s,h,g)=>{let F=[];const we=(0,a.g)(g).querySelector(".popover-content");return F="hover"===s?[{eventName:"mouseenter",callback:nt=>{document.elementFromPoint(nt.clientX,nt.clientY)!==k&&h.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:nt=>{nt.target.closest("[data-ion-popover-trigger]")!==k?h.dismiss(void 0,void 0,!1):nt.stopPropagation()}}],F.forEach(({eventName:nt,callback:ht})=>we.addEventListener(nt,ht)),()=>{F.forEach(({eventName:nt,callback:ht})=>we.removeEventListener(nt,ht))}})(F,g,Z,h))},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(s,h){!0===s&&!1===h?this.present():!1===s&&!0===h&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:s,el:h}=this;Fi(h),s()}disconnectedCallback(){const{destroyTriggerInteraction:s}=this;s&&s()}componentWillLoad(){var s,h;const{el:g}=this,F=null!==(h=null===(s=this.htmlAttributes)||void 0===s?void 0:s.id)&&void 0!==h?h:ri(g);this.parentPopover=g.closest(`ion-popover:not(#${F})`),void 0===this.alignment&&(this.alignment="ios"===(0,qe.b)(this)?"center":"start")}componentDidLoad(){const{parentPopover:s,isOpen:h}=this;!0===h&&(0,a.r)(()=>this.present()),s&&(0,a.a)(s,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}presentFromTrigger(s,h=!1){var g=this;return(0,d.A)(function*(){g.focusDescendantOnPresent=h,yield g.present(s),g.focusDescendantOnPresent=!1})()}getDelegate(s=!1){if(this.workingDelegate&&!s)return{delegate:this.workingDelegate,inline:this.inline};const g=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:g,delegate:this.workingDelegate=g?this.delegate||this.coreDelegate:this.delegate}}present(s){var h=this;return(0,d.A)(function*(){const g=yield h.lockController.lock();if(h.presented)return void g();const{el:F}=h,{inline:Z,delegate:we}=h.getDelegate(!0);h.ionMount.emit(),h.usersElement=yield Xn(we,F,h.component,["popover-viewport"],h.componentProps,Z),h.keyboardEvents||h.configureKeyboardInteraction(),h.configureDismissInteraction(),(0,a.j)(F)?yield(0,kt.e)(h.usersElement):h.keepContentsMounted||(yield(0,kt.w)()),yield rs(h,"popoverEnter",eo,wo,{event:s||h.event,size:h.size,trigger:h.triggerEl,reference:h.reference,side:h.side,align:h.alignment}),h.focusDescendantOnPresent&&wi(F),g()})()}dismiss(s,h,g=!0){var F=this;return(0,d.A)(function*(){const Z=yield F.lockController.lock(),{destroyKeyboardInteraction:we,destroyDismissInteraction:nt}=F;g&&F.parentPopover&&F.parentPopover.dismiss(s,h,g);const ht=yield _r(F,s,h,"popoverLeave",fo,ii,F.event);if(ht){we&&(we(),F.destroyKeyboardInteraction=void 0),nt&&(nt(),F.destroyDismissInteraction=void 0);const{delegate:Kt}=F.getDelegate();yield sn(Kt,F.usersElement)}return Z(),ht})()}getParentPopover(){var s=this;return(0,d.A)(function*(){return s.parentPopover})()}onDidDismiss(){return hi(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return hi(this.el,"ionPopoverWillDismiss")}render(){const s=(0,qe.b)(this),{onLifecycle:h,parentPopover:g,dismissOnSelect:F,side:Z,arrow:we,htmlAttributes:nt,focusTrap:ht}=this,Kt=(0,qe.a)("desktop"),An=we&&!g;return(0,p.h)(p.xr,Object.assign({key:"3a7c4c39384bab1447c4bd6b9b06d7837a09353b","aria-modal":"true","no-router":!0,tabindex:"-1"},nt,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},u(this.cssClass)),{[s]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":Kt,[`popover-side-${Z}`]:!0,[L]:!1===ht,"popover-nested":!!g}),onIonPopoverDidPresent:h,onIonPopoverWillPresent:h,onIonPopoverWillDismiss:h,onIonPopoverDidDismiss:h,onIonBackdropTap:this.onBackdropTap}),!g&&(0,p.h)("ion-backdrop",{key:"38a1c4ad29238d1e81cab407f099121fa4947cce",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),(0,p.h)("div",{key:"f825494c5e3be89d7fcf0229e29b405bccb13edb",class:"popover-wrapper ion-overlay-wrapper",onClick:F?()=>this.dismiss():void 0},An&&(0,p.h)("div",{key:"3acae5a0106389c776c8ffe5bf10f3ff006e0346",class:"popover-arrow",part:"arrow"}),(0,p.h)("div",{key:"2aa73e9f06b1d2ac4c0d36c23186b9164f395079",class:"popover-content",part:"content"},(0,p.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"]}]),jn={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};const To=function Yn(){typeof customElements>"u"||["ion-popover","ion-backdrop"].forEach(s=>{switch(s){case"ion-popover":customElements.get(s)||customElements.define(s,st);break;case"ion-backdrop":customElements.get(s)||ie()}})};var ki=i(33726);const Ti=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost()}componentDidLoad(){var s=this;p.L2.isBrowser&&hs((0,d.A)(function*(){const h=(0,qe.a)(window,"hybrid");if(qe.c.getBoolean("_testing")||i.e(7338).then(i.bind(i,97338)).then(Z=>Z.startTapClick(qe.c)),qe.c.getBoolean("statusTap",h)&&i.e(6631).then(i.bind(i,96631)).then(Z=>Z.startStatusTap()),qe.c.getBoolean("inputShims",dr())){const Z=(0,qe.a)(window,"ios")?"ios":"android";i.e(7402).then(i.bind(i,57402)).then(we=>we.startInputShims(qe.c,Z))}const g=yield Promise.resolve().then(i.bind(i,95098)),F=h||(0,Gi.shouldUseCloseWatcher)();qe.c.getBoolean("hardwareBackButton",F)?g.startHardwareBackButton():((0,Gi.shouldUseCloseWatcher)()&&(0,bo.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."),g.blockHardwareBackButton()),typeof window<"u"&&Promise.resolve().then(i.bind(i,86008)).then(Z=>Z.startKeyboardAssist(window)),Promise.resolve().then(i.bind(i,35498)).then(Z=>s.focusVisible=Z.startFocusVisible())}))}setFocus(s){var h=this;return(0,d.A)(function*(){h.focusVisible&&h.focusVisible.setFocus(s)})()}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"a562850f242d9d45573e35efdd4bd178254677ef",class:{[s]:!0,"ion-page":!0,"force-statusbar-padding":qe.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,qe.a)(window,"ios")&&(0,qe.a)(window,"mobile")||(0,qe.a)(window,"android")&&(0,qe.a)(window,"mobileweb")),hs=k=>{"requestIdleCallback"in window?window.requestIdleCallback(k):setTimeout(k,32)},Ve=function U(){typeof customElements>"u"||["ion-app"].forEach(s=>{"ion-app"===s&&(customElements.get(s)||customElements.define(s,Ti))})},At=ie,Bo=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"1253618692342bcf9487188402dc3d49ae0de480",class:v(this.color,{[s]:!0})},(0,p.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]}]),er=function ti(){typeof customElements>"u"||["ion-badge"].forEach(s=>{"ion-badge"===s&&(customElements.get(s)||customElements.define(s,Bo))})},Cs=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.collapse=!1}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"4e5ce9abb3f56e8c91e3eb58c2819300e61eba24",class:{[s]:!0,"buttons-collapse":this.collapse}},(0,p.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 Xs=function ms(){typeof customElements>"u"||["ion-buttons"].forEach(s=>{"ion-buttons"===s&&(customElements.get(s)||customElements.define(s,Cs))})};var Yr=i(62782);const Ss=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionScrollStart=(0,p.lh)(this,"ionScrollStart",7),this.ionScroll=(0,p.lh)(this,"ionScroll",7),this.ionScrollEnd=(0,p.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,a.i)(this.el)}connectedCallback(){if(this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal"),(0,a.j)(this.el)){const s=this.tabsElement=this.el.closest("ion-tabs");null!==s&&(this.tabsLoadCallback=()=>this.resize(),s.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),(0,a.j)(this.el)){const{tabsElement:s,tabsLoadCallback:h}=this;null!==s&&void 0!==h&&s.removeEventListener("ionTabBarLoaded",h),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:s}=this,h=(0,qe.b)(this);return void 0===s?"ios"===h&&(0,qe.a)("ios"):s}resize(){p.L2.isBrowser&&(this.fullscreen?(0,p.gv)(()=>this.readDimensions()):(0!==this.cTop||0!==this.cBottom)&&(this.cTop=this.cBottom=0,(0,p.$x)(this)))}readDimensions(){const s=Qs(this.el),h=Math.max(this.el.offsetTop,0),g=Math.max(s.offsetHeight-h-this.el.offsetHeight,0);(h!==this.cTop||g!==this.cBottom)&&(this.cTop=h,this.cBottom=g,(0,p.$x)(this))}onScroll(s){const h=Date.now(),g=!this.isScrolling;this.lastScroll=h,g&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,p.gv)(F=>{this.queued=!1,this.detail.event=s,js(this.detail,this.scrollEl,F,g),this.ionScroll.emit(this.detail)}))}getScrollElement(){var s=this;return(0,d.A)(function*(){return s.scrollEl||(yield new Promise(h=>(0,a.c)(s.el,h))),Promise.resolve(s.scrollEl)})()}getBackgroundElement(){var s=this;return(0,d.A)(function*(){return s.backgroundContentEl||(yield new Promise(h=>(0,a.c)(s.el,h))),Promise.resolve(s.backgroundContentEl)})()}scrollToTop(s=0){return this.scrollToPoint(void 0,0,s)}scrollToBottom(s=0){var h=this;return(0,d.A)(function*(){const g=yield h.getScrollElement();return h.scrollToPoint(void 0,g.scrollHeight-g.clientHeight,s)})()}scrollByPoint(s,h,g){var F=this;return(0,d.A)(function*(){const Z=yield F.getScrollElement();return F.scrollToPoint(s+Z.scrollLeft,h+Z.scrollTop,g)})()}scrollToPoint(s,h,g=0){var F=this;return(0,d.A)(function*(){const Z=yield F.getScrollElement();if(g<32)return null!=h&&(Z.scrollTop=h),void(null!=s&&(Z.scrollLeft=s));let we,nt=0;const ht=new Promise(Oo=>we=Oo),Kt=Z.scrollTop,An=Z.scrollLeft,Zn=null!=h?h-Kt:0,mo=null!=s?s-An:0,co=Oo=>{const Ao=Math.min(1,(Oo-nt)/g)-1,li=Math.pow(Ao,3)+1;0!==Zn&&(Z.scrollTop=Math.floor(li*Zn+Kt)),0!==mo&&(Z.scrollLeft=Math.floor(li*mo+An)),li<1?requestAnimationFrame(co):we()};return requestAnimationFrame(Oo=>{nt=Oo,co(Oo)}),ht})()}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=Zn,id:"background-content",part:"background"}),"before"===s?(0,p.h)("slot",{name:"fixed"}):null,(0,p.h)("div",{key:"00e157a53485b285300404178436276afceb63f5",class:{"inner-scroll":!0,"scroll-x":F,"scroll-y":Z,overscroll:(F||Z)&&Kt},ref:Zn=>this.scrollEl=Zn,onScroll:this.scrollEvents?Zn=>this.onScroll(Zn):void 0,part:"scroll"},(0,p.h)("slot",{key:"8522320514a2e8a63f7dc9ade6c1fb3fb00f454e"})),An?(0,p.h)("div",{class:"transition-effect"},(0,p.h)("div",{class:"transition-cover"}),(0,p.h)("div",{class:"transition-shadow"})):null,"after"===s?(0,p.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"]]]),Qs=k=>{const s=k.closest("ion-tabs");return s||(k.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content")||(k=>{var s;return k.parentElement?k.parentElement:null!==(s=k.parentNode)&&void 0!==s&&s.host?k.parentNode.host:null})(k))},js=(k,s,h,g)=>{const F=k.currentX,Z=k.currentY,nt=s.scrollLeft,ht=s.scrollTop,Kt=h-k.currentTime;if(g&&(k.startTime=h,k.startX=nt,k.startY=ht,k.velocityX=k.velocityY=0),k.currentTime=h,k.currentX=k.scrollLeft=nt,k.currentY=k.scrollTop=ht,k.deltaX=nt-k.startX,k.deltaY=ht-k.startY,Kt>0&&Kt<100){const Zn=(ht-Z)/Kt;k.velocityX=(nt-F)/Kt*.7+.3*k.velocityX,k.velocityY=.7*Zn+.3*k.velocityY}},Ia=function gs(){typeof customElements>"u"||["ion-content"].forEach(s=>{"ion-content"===s&&(customElements.get(s)||customElements.define(s,Ss))})},Aa=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.horizontal=void 0,this.vertical=void 0,this.edge=!1,this.activated=!1}activatedChanged(){const s=this.activated,h=this.getFab();h&&(h.activated=s),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(g=>{g.activated=s})}componentDidLoad(){this.activated&&this.activatedChanged()}close(){var s=this;return(0,d.A)(function*(){s.activated=!1})()}getFab(){return this.el.querySelector("ion-fab-button")}toggle(){var s=this;return(0,d.A)(function*(){s.el.querySelector("ion-fab-list")&&(s.activated=!s.activated)})()}render(){const{horizontal:s,vertical:h,edge:g}=this,F=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"cb44cf6486b0a6439b99da87c065b0b52e2514f4",class:{[F]:!0,[`fab-horizontal-${s}`]:void 0!==s,[`fab-vertical-${h}`]:void 0!==h,"fab-edge":g}},(0,p.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"]}]),Za=function ua(){typeof customElements>"u"||["ion-fab"].forEach(s=>{"ion-fab"===s&&(customElements.get(s)||customElements.define(s,Aa))})},ae=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionFocus=(0,p.lh)(this,"ionFocus",7),this.ionBlur=(0,p.lh)(this,"ionBlur",7),this.fab=null,this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=()=>{const{fab:s}=this;s&&s.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,a.i)(this.el)}render(){const{el:s,disabled:h,color:g,href:F,activated:Z,show:we,translucent:nt,size:ht,inheritedAttributes:Kt}=this,An=_("ion-fab-list",s),Zn=(0,qe.b)(this),mo=void 0===F?"button":"a",co="button"===mo?{type:this.type}:{download:this.download,href:F,rel:this.rel,target:this.target};return(0,p.h)(p.xr,{key:"eb347f7d6749c40637540d84778eb8d1b667a947",onClick:this.onClick,"aria-disabled":h?"true":null,class:v(g,{[Zn]:!0,"fab-button-in-list":An,"fab-button-translucent-in-list":An&&nt,"fab-button-close-active":Z,"fab-button-show":we,"fab-button-disabled":h,"fab-button-translucent":nt,"ion-activatable":!0,"ion-focusable":!0,[`fab-button-${ht}`]:void 0!==ht})},(0,p.h)(mo,Object.assign({key:"83e853c8815f41543c848eb2e05ec2bb1716110a"},co,{class:"button-native",part:"native",disabled:h,onFocus:this.onFocus,onBlur:this.onBlur,onClick:Oo=>A(F,Oo,this.routerDirection,this.routerAnimation)},Kt),(0,p.h)("ion-icon",{key:"798deede94de658e4345acf7c2aafe2ab2567b0b","aria-hidden":"true",icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),(0,p.h)("span",{key:"99252fde6de1aca73fc240a6da7e29acac9acb18",class:"button-inner"},(0,p.h)("slot",{key:"dc73e9b41bf1f0e385e5784f975dfb81e37c8dfb"})),"md"===Zn&&(0,p.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"]}]),Re=function Ue(){typeof customElements>"u"||["ion-fab-button","ion-icon","ion-ripple-effect"].forEach(s=>{switch(s){case"ion-fab-button":customElements.get(s)||customElements.define(s,ae);break;case"ion-icon":customElements.get(s)||Bn();break;case"ion-ripple-effect":customElements.get(s)||Go()}})},Io=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.activated=!1,this.side="bottom"}activatedChanged(s){const h=Array.from(this.el.querySelectorAll("ion-fab-button")),g=s?30:0;h.forEach((F,Z)=>{setTimeout(()=>F.show=s,Z*g)})}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"fa1d195b9950654ba0e984bf61d981c977d05275",class:{[s]:!0,"fab-list-active":this.activated,[`fab-list-side-${this.side}`]:!0}},(0,p.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"]}]),Ir=function Qo(){typeof customElements>"u"||["ion-fab-list"].forEach(s=>{"ion-fab-list"===s&&(customElements.get(s)||customElements.define(s,Io))})};var gr=i(85680);const lr=k=>void 0===yi.d||k===gr.a.None||void 0===k?null:yi.d.querySelector("ion-app")??yi.d.body,Br=k=>{const s=lr(k);return null===s?0:s.clientHeight},$r=function(){var k=(0,d.A)(function*(s){let h,g,F,Z;const we=function(){var Zn=(0,d.A)(function*(){const mo=yield gr.K.getResizeMode(),co=void 0===mo?void 0:mo.mode;h=()=>{void 0===Z&&(Z=Br(co)),F=!0,nt(F,co)},g=()=>{F=!1,nt(F,co)},null==yi.w||yi.w.addEventListener("keyboardWillShow",h),null==yi.w||yi.w.addEventListener("keyboardWillHide",g)});return function(){return Zn.apply(this,arguments)}}(),nt=(Zn,mo)=>{s&&s(Zn,ht(mo))},ht=Zn=>{if(0===Z||Z===Br(Zn))return;const mo=lr(Zn);return null!==mo?new Promise(co=>{const Ao=new ResizeObserver(()=>{mo.clientHeight===Z&&(Ao.disconnect(),co())});Ao.observe(mo)}):void 0};return yield we(),{init:we,destroy:()=>{null==yi.w||yi.w.removeEventListener("keyboardWillShow",h),null==yi.w||yi.w.removeEventListener("keyboardWillHide",g),h=g=void 0},isKeyboardVisible:()=>F}});return function(h){return k.apply(this,arguments)}}(),zr=(k,s)=>{(0,p.gv)(()=>{const nt=(0,a.k)(0,1-(k.scrollTop-(k.scrollHeight-k.clientHeight-10))/10,1);(0,p.bN)(()=>{s.style.setProperty("--opacity-scale",nt.toString())})})},yr=(0,p.w$)(class extends p.wt{constructor(){var s;super(),s=this,this.__registerHost(),this.keyboardCtrl=null,this.checkCollapsibleFooter=()=>{if("ios"!==(0,qe.b)(this))return;const{collapse:g}=this,F="fade"===g;if(this.destroyCollapsibleFooter(),F){const Z=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),we=Z?(0,Ro.f)(Z):null;if(!we)return void(0,Ro.p)(this.el);this.setupFadeFooter(we)}},this.setupFadeFooter=function(){var h=(0,d.A)(function*(g){const F=s.scrollEl=yield(0,Ro.g)(g);s.contentScrollCallback=()=>{zr(F,s.el)},F.addEventListener("scroll",s.contentScrollCallback),zr(F,s.el)});return function(g){return h.apply(this,arguments)}}(),this.keyboardVisible=!1,this.collapse=void 0,this.translucent=!1}componentDidLoad(){this.checkCollapsibleFooter()}componentDidUpdate(){this.checkCollapsibleFooter()}connectedCallback(){var s=this;return(0,d.A)(function*(){s.keyboardCtrl=yield $r(function(){var h=(0,d.A)(function*(g,F){!1===g&&void 0!==F&&(yield F),s.keyboardVisible=g});return function(g,F){return h.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:s,collapse:h}=this,g=(0,qe.b)(this),F=this.el.closest("ion-tabs"),Z=F?.querySelector(":scope > ion-tab-bar");return(0,p.h)(p.xr,{key:"5da19dc38ba73e1ddfd1bef3ebd485105d77c751",role:"contentinfo",class:{[g]:!0,[`footer-${g}`]:!0,"footer-translucent":s,[`footer-translucent-${g}`]:s,"footer-toolbar-padding":!(this.keyboardVisible||Z&&"bottom"===Z.slot),[`footer-collapse-${h}`]:void 0!==h}},"ios"===g&&s&&(0,p.h)("div",{key:"fafad08090a33d8c4e8a5b63d61929dcb89aab47",class:"footer-background"}),(0,p.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]}]),Es=function ns(){typeof customElements>"u"||["ion-footer"].forEach(s=>{"ion-footer"===s&&(customElements.get(s)||customElements.define(s,yr))})},qr=k=>{const s=document.querySelector(`${k}.ion-cloned-element`);if(null!==s)return s;const h=document.createElement(k);return h.classList.add("ion-cloned-element"),h.style.setProperty("display","none"),document.body.appendChild(h),h},as=k=>{if(!k)return;const s=k.querySelectorAll("ion-toolbar");return{el:k,toolbars:Array.from(s).map(h=>{const g=h.querySelector("ion-title");return{el:h,background:h.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:g,innerTitleEl:g?g.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(h.querySelectorAll("ion-buttons"))}})}},Xi=(k,s)=>{"fade"!==k.collapse&&(void 0===s?k.style.removeProperty("--opacity-scale"):k.style.setProperty("--opacity-scale",s.toString()))},ds=(k,s=!0)=>{const h=k.el;s?(h.classList.remove("header-collapse-condense-inactive"),h.removeAttribute("aria-hidden")):(h.classList.add("header-collapse-condense-inactive"),h.setAttribute("aria-hidden","true"))},Js=(k,s,h)=>{(0,p.gv)(()=>{const g=k.scrollTop,F=s.clientHeight,Z=h?h.clientHeight:0;if(null!==h&&g{k.style.removeProperty("clip-path"),s.style.setProperty("--opacity-scale",ht.toString())})})},ha=(0,p.w$)(class extends p.wt{constructor(){var s;super(),s=this,this.__registerHost(),this.inheritedAttributes={},this.setupFadeHeader=function(){var h=(0,d.A)(function*(g,F){const Z=s.scrollEl=yield(0,Ro.g)(g);s.contentScrollCallback=()=>{Js(s.scrollEl,s.el,F)},Z.addEventListener("scroll",s.contentScrollCallback),Js(s.scrollEl,s.el,F)});return function(g,F){return h.apply(this,arguments)}}(),this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=(0,a.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}checkCollapsibleHeader(){var s=this;return(0,d.A)(function*(){if("ios"!==(0,qe.b)(s))return;const{collapse:g}=s,F="condense"===g,Z="fade"===g;if(s.destroyCollapsibleHeader(),F){const we=s.el.closest("ion-app,ion-page,.ion-page,page-inner"),nt=we?(0,Ro.f)(we):null;(0,p.bN)(()=>{qr("ion-title").size="large",qr("ion-back-button")}),yield s.setupCondenseHeader(nt,we)}else if(Z){const we=s.el.closest("ion-app,ion-page,.ion-page,page-inner"),nt=we?(0,Ro.f)(we):null;if(!nt)return void(0,Ro.p)(s.el);const ht=nt.querySelector('ion-header[collapse="condense"]');yield s.setupFadeHeader(nt,ht)}})()}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(s,h){var g=this;return(0,d.A)(function*(){if(!s||!h)return void(0,Ro.p)(g.el);if(typeof IntersectionObserver>"u")return;g.scrollEl=yield(0,Ro.g)(s);const F=h.querySelectorAll("ion-header");if(g.collapsibleMainHeader=Array.from(F).find(ht=>"condense"!==ht.collapse),!g.collapsibleMainHeader)return;const Z=as(g.collapsibleMainHeader),we=as(g.el);Z&&we&&(ds(Z,!1),Xi(Z.el,0),g.intersectionObserver=new IntersectionObserver(ht=>{((k,s,h,g)=>{(0,p.bN)(()=>{const F=g.scrollTop;((k,s,h)=>{if(!k[0].isIntersecting)return;const g=k[0].intersectionRatio>.9||h<=0?0:100*(1-k[0].intersectionRatio)/75;Xi(s.el,1===g?void 0:g)})(k,s,F);const Z=k[0],we=Z.intersectionRect,nt=we.width*we.height,Kt=0===nt&&0==Z.rootBounds.width*Z.rootBounds.height,An=Math.abs(we.left-Z.boundingClientRect.left),Zn=Math.abs(we.right-Z.boundingClientRect.right);Kt||nt>0&&(An>=5||Zn>=5)||(Z.isIntersecting?(ds(s,!1),ds(h)):(0===we.x&&0===we.y||0!==we.width&&0!==we.height)&&F>0&&(ds(s),ds(h,!1),Xi(s.el)))})})(ht,Z,we,g.scrollEl)},{root:s,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),g.intersectionObserver.observe(we.toolbars[we.toolbars.length-1].el),g.contentScrollCallback=()=>{((k,s,h)=>{(0,p.gv)(()=>{const F=(0,a.k)(1,1+-k.scrollTop/500,1.1);null===h.querySelector("ion-refresher.refresher-native")&&(0,p.bN)(()=>{((k=[],s=1,h=!1)=>{k.forEach(g=>{const F=g.ionTitleEl,Z=g.innerTitleEl;!F||"large"!==F.size||(Z.style.transition=h?"all 0.2s ease-in-out":"",Z.style.transform=`scale3d(${s}, ${s}, 1)`)})})(s.toolbars,F)})})})(g.scrollEl,we,s)},g.scrollEl.addEventListener("scroll",g.contentScrollCallback),(0,p.bN)(()=>{void 0!==g.collapsibleMainHeader&&g.collapsibleMainHeader.classList.add("header-collapse-main")}))})()}render(){const{translucent:s,inheritedAttributes:h}=this,g=(0,qe.b)(this),F=this.collapse||"none",Z=_("ion-menu",this.el)?"none":"banner";return(0,p.h)(p.xr,Object.assign({key:"c687314ef290793a9d633ad20cfc5eeb47621e31",role:Z,class:{[g]:!0,[`header-${g}`]:!0,"header-translucent":this.translucent,[`header-collapse-${F}`]:!0,[`header-translucent-${g}`]:this.translucent}},h),"ios"===g&&s&&(0,p.h)("div",{key:"b429996046082405a91e7c23f95516db0b736f12",class:"header-background"}),(0,p.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]}]),Mi=function $a(){typeof customElements>"u"||["ion-header"].forEach(s=>{"ion-header"===s&&(customElements.get(s)||customElements.define(s,ha))})},y=(0,p.w$)(class extends p.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=be,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(s){const{color:h}=this;void 0===h&&(this.labelColorStyles=s.detail)}itemStyle(s){s.stopPropagation();const h=s.target.tagName,g=s.detail,F={},Z=this.itemStyles.get(h)||{};let we=!1;Object.keys(g).forEach(nt=>{if(g[nt]){const ht=`item-${nt}`;Z[ht]||(we=!0),F[ht]=!0}}),!we&&Object.keys(F).length!==Object.keys(Z).length&&(we=!0),we&&(this.itemStyles.set(h,F),(0,p.$x)(this))}connectedCallback(){this.hasStartEl()}componentWillLoad(){this.inheritedAriaAttributes=(0,a.d)(this.el,["aria-label"])}componentDidLoad(){(0,a.r)(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const s=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),h=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),g=this.el.querySelectorAll("ion-router-link, ion-button, a, button");this.multipleInputs=s.length+h.length>1||s.length+g.length>1||s.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 s=this.el.querySelector(".ion-focusable");return this.canActivate()||null!==s}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:s,detailIcon:h,download:g,labelColorStyles:F,lines:Z,disabled:we,href:nt,rel:ht,target:Kt,routerAnimation:An,routerDirection:Zn,inheritedAriaAttributes:mo,multipleInputs:co}=this,Oo={},Ao=(0,qe.b)(this),li=this.isClickable(),ji=this.canActivate(),zi=li?void 0===nt?"button":"a":"div",Oi="button"===zi?{type:this.type}:{download:g,href:nt,rel:ht,target:Kt};let Wi={};const Ni=this.getFirstInteractive();(li||void 0!==Ni&&!co)&&(Wi={onClick:Ws=>{if(li&&A(nt,Ws,Zn,An),void 0!==Ni&&!co){const Gs=Ws.composedPath()[0];Ws.isTrusted&&this.el.shadowRoot.contains(Gs)&&("ION-INPUT"===Ni.tagName||"ION-TEXTAREA"===Ni.tagName?Ni.setFocus():Ni.click())}}});const Qi=void 0!==s?s:"ios"===Ao&&li;this.itemStyles.forEach(Ws=>{Object.assign(Oo,Ws)});const Xr=we||Oo["item-interactive-disabled"]?"true":null,_s=_("ion-list",this.el)&&!_("ion-radio-group",this.el),ps=void 0!==Ni&&!["ION-INPUT","ION-TEXTAREA"].includes(Ni.tagName);return(0,p.h)(p.xr,{key:"02f540d8666146b5f2665ba6b39dfe774c65d5e6","aria-disabled":Xr,class:Object.assign(Object.assign(Object.assign({},Oo),F),v(this.color,{item:!0,[Ao]:!0,"item-lines-default":void 0===Z,[`item-lines-${Z}`]:void 0!==Z,"item-control-needs-pointer-cursor":ps,"item-disabled":we,"in-list":_s,"item-multiple-inputs":this.multipleInputs,"ion-activatable":ji,"ion-focusable":this.focusable,"item-rtl":"rtl"===document.dir})),role:_s?"listitem":null},(0,p.h)(zi,Object.assign({key:"91cf3eedc2d7eca40a45fc3b0aaae5a87d387eb7"},Oi,mo,{class:"item-native",part:"native",disabled:we},Wi),(0,p.h)("slot",{key:"ae4c679ca903a78a7c933c1d02f21f5d677b6388",name:"start"}),(0,p.h)("div",{key:"a61de72dce135b6dce18e6fa19680524958924dd",class:"item-inner"},(0,p.h)("div",{key:"d5b09966b6de8d6b4da8e139875edec4eeb1ae27",class:"input-wrapper"},(0,p.h)("slot",{key:"79077e5708a1783b135fab6f8caff9fb2f6f387a"})),(0,p.h)("slot",{key:"cdcc71689a87e985d32170ab98538ef25227f384",name:"end"}),Qi&&(0,p.h)("ion-icon",{key:"1e82f2d0e2d2fc18bd3429a7c72e4e57447cad7a",icon:h,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":h===be})),ji&&"md"===Ao&&(0,p.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 P=function f(){typeof customElements>"u"||["ion-item","ion-icon","ion-ripple-effect"].forEach(s=>{switch(s){case"ion-item":customElements.get(s)||customElements.define(s,y);break;case"ion-icon":customElements.get(s)||Bn();break;case"ion-ripple-effect":customElements.get(s)||Go()}})},Se=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0,this.sticky=!1}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"60fda1dab7dbc0038ec7ff68a661896430f7d5c5",class:v(this.color,{[s]:!0,"item-divider-sticky":this.sticky,item:!0})},(0,p.h)("slot",{key:"6ce072dfc2adfa699a2c34ffe25ed221c74d9eea",name:"start"}),(0,p.h)("div",{key:"9a441be204ee2f0b567432722407c75e3cbbe942",class:"item-divider-inner"},(0,p.h)("div",{key:"fd6f2969b345dba51400a290473e594d2d019dc5",class:"item-divider-wrapper"},(0,p.h)("slot",{key:"ebf5601b21c4cf199c01bf142865b8da0c1ba4a6"})),(0,p.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]}]),hn=function ft(){typeof customElements>"u"||["ion-item-divider"].forEach(s=>{"ion-item-divider"===s&&(customElements.get(s)||customElements.define(s,Se))})},Fo=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost()}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"24ff047b7c45f963f0dad072c65d38a230c2bc97",role:"group",class:{[s]:!0,[`item-group-${s}`]:!0,item:!0}})}static get style(){return{ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"}}},[32,"ion-item-group"]),W=function zo(){typeof customElements>"u"||["ion-item-group"].forEach(s=>{"ion-item-group"===s&&(customElements.get(s)||customElements.define(s,Fo))})},bt=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.onClick=s=>{s.target.closest("ion-item-option")&&s.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:s,expandable:h,href:g}=this,F=void 0===g?"button":"a",Z=(0,qe.b)(this),we="button"===F?{type:this.type}:{download:this.download,href:this.href,target:this.target};return(0,p.h)(p.xr,{key:"1900e015f593fefd710478a2088e052399c957eb",onClick:this.onClick,class:v(this.color,{[Z]:!0,"item-option-disabled":s,"item-option-expandable":h,"ion-activatable":!0})},(0,p.h)(F,Object.assign({key:"5db2bb9bc72b7b00c324e4189cd1b5f862680ebb"},we,{class:"button-native",part:"native",disabled:s}),(0,p.h)("span",{key:"6927e812ad001c5e7bd17f440d82c3830c58957b",class:"button-inner"},(0,p.h)("slot",{key:"0fde4333def94c55d1318868c2bc71e780d5876a",name:"top"}),(0,p.h)("div",{key:"7ecc9ae8ddf66d7ed5d9f30becc9faf820e1c62e",class:"horizontal-wrapper"},(0,p.h)("slot",{key:"a15567fd4bd91080e9fbb6bb0c9b0e67d8a67051",name:"start"}),(0,p.h)("slot",{key:"7f86cdd28063e23f9d78997623333c5037c4f364",name:"icon-only"}),(0,p.h)("slot",{key:"4abb69ce3ad6c4917dd87b7b1eb0fa1c69917d73"}),(0,p.h)("slot",{key:"8b35a29f48722040465f182679ac17209937578d",name:"end"})),(0,p.h)("slot",{key:"fa15a00891b41d66a4ccb51575dec54b72d0059e",name:"bottom"})),"md"===Z&&(0,p.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]}]),lo=function wt(){typeof customElements>"u"||["ion-item-option","ion-ripple-effect"].forEach(s=>{switch(s){case"ion-item-option":customElements.get(s)||customElements.define(s,bt);break;case"ion-ripple-effect":customElements.get(s)||Go()}})},or=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.ionSwipe=(0,p.lh)(this,"ionSwipe",7),this.side="end"}fireSwipeEvent(){var s=this;return(0,d.A)(function*(){s.ionSwipe.emit({side:s.side})})()}render(){const s=(0,qe.b)(this),h=(0,a.m)(this.side);return(0,p.h)(p.xr,{key:"e28cd6a236323b5cc203c9b96782aa81024da924",class:{[s]:!0,[`item-options-${s}`]:!0,"item-options-start":!h,"item-options-end":h}})}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]}]),As=function bs(){typeof customElements>"u"||["ion-item-options"].forEach(s=>{"ion-item-options"===s&&(customElements.get(s)||customElements.define(s,or))})},fa=(k,s)=>{let h;return k.forEach(g=>{for(let F=0;F{if(1!==k.nodeType)return;const h=k;return(h.tagName===s.toUpperCase()?[h]:Array.from(h.querySelectorAll(s))).find(F=>F.value===h.value)};let Da;const q=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.ionDrag=(0,p.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 s=this;return(0,d.A)(function*(){const{el:h}=s;s.item=h.querySelector("ion-item"),s.contentEl=(0,Ro.a)(h),s.mutationObserver=((k,s,h)=>{if(typeof MutationObserver>"u")return;const g=new MutationObserver(F=>{h(fa(F,s))});return g.observe(k,{childList:!0,subtree:!0}),g})(h,"ion-item-option",(0,d.A)(function*(){yield s.updateOptions()})),yield s.updateOptions(),s.gesture=(yield Promise.resolve().then(i.bind(i,2104))).createGesture({el:h,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:g=>s.canStart(g),onStart:()=>s.onStart(),onMove:g=>s.onMove(g),onEnd:g=>s.onEnd(g)}),s.disabledChanged()})()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,Da===this.el&&(Da=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}open(s){var h=this;return(0,d.A)(function*(){var g;if(null===(h.item=null!==(g=h.item)&&void 0!==g?g:h.el.querySelector("ion-item")))return;const Z=h.getOptions(s);Z&&(void 0===s&&(s=Z===h.leftOptions?"start":"end"),s=(0,a.m)(s)?"end":"start",h.openAmount<0&&Z===h.leftOptions||h.openAmount>0&&Z===h.rightOptions||(h.closeOpened(),h.state=4,requestAnimationFrame(()=>{h.calculateOptsWidth(),Da=h.el,h.setOpenAmount("end"===s?h.optsWidthRightSide:-h.optsWidthLeftSide,!1),h.state="end"===s?8:16})))})()}close(){var s=this;return(0,d.A)(function*(){s.setOpenAmount(0,!0)})()}closeOpened(){return(0,d.A)(function*(){return void 0!==Da&&(Da.close(),Da=void 0,!0)})()}getOptions(s){return void 0===s?this.leftOptions||this.rightOptions:"start"===s?this.leftOptions:this.rightOptions}updateOptions(){var s=this;return(0,d.A)(function*(){const h=s.el.querySelectorAll("ion-item-options");let g=0;s.leftOptions=s.rightOptions=void 0;for(let F=0;Fthis.optsWidthRightSide?(g=this.optsWidthRightSide,h=g+.55*(h-g)):h<-this.optsWidthLeftSide&&(g=-this.optsWidthLeftSide,h=g+.55*(h-g)),this.setOpenAmount(h,!1)}onEnd(s){const{contentEl:h,initialContentScrollY:g}=this;h&&(0,Ro.r)(h,g);const F=s.velocityX;let Z=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const we=this.openAmount>0==!(F<0),nt=Math.abs(F)>.3,ht=Math.abs(this.openAmount)0)this.state=s>=this.optsWidthRightSide+30?40:8;else{if(!(s<0))return g.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),g.classList.remove("item-sliding-closing")},600),Da=void 0,void(F.transform="");this.state=s<=-this.optsWidthLeftSide-30?80:16}F.transform=`translate3d(${-s}px,0,0)`,this.ionDrag.emit({amount:s,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"99f87c8bd794ae69830b407ba55013ac44793c26",class:{[s]:!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"]}]),j=(k,s,h)=>!s&&h||k&&s,T=function le(){typeof customElements>"u"||["ion-item-sliding"].forEach(s=>{"ion-item-sliding"===s&&(customElements.get(s)||customElements.define(s,q))})},$e=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.ionColor=(0,p.lh)(this,"ionColor",7),this.ionStyle=(0,p.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:s}=this;this.ionColor.emit({"item-label-color":void 0!==s,[`ion-color-${s}`]:void 0!==s})}emitStyle(){const{inRange:s,position:h}=this;s||this.ionStyle.emit({label:!0,[`label-${h}`]:void 0!==h})}render(){const s=this.position,h=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"c2c0f388dab910d294efb9fbb409ee4ef829c1ed",class:v(this.color,{[h]:!0,"in-item-color":_("ion-item.ion-color",this.el),[`label-${s}`]:void 0!==s,"label-no-animate":this.noAnimate,"label-rtl":"rtl"===document.dir})},(0,p.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 wn=function vt(){typeof customElements>"u"||["ion-label"].forEach(s=>{"ion-label"===s&&(customElements.get(s)||customElements.define(s,$e))})},oi=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.lines=void 0,this.inset=!1}closeSlidingItems(){var s=this;return(0,d.A)(function*(){const h=s.el.querySelector("ion-item-sliding");return!!h?.closeOpened&&h.closeOpened()})()}render(){const s=(0,qe.b)(this),{lines:h,inset:g}=this;return(0,p.h)(p.xr,{key:"8bde220025a7eeca6da075379c6487c4c9bdddc1",role:"list",class:{[s]:!0,[`list-${s}`]:!0,"list-inset":g,[`list-lines-${h}`]:void 0!==h,[`list-${s}-lines-${h}`]:void 0!==h}})}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 Hi=function Di(){typeof customElements>"u"||["ion-list"].forEach(s=>{"ion-list"===s&&(customElements.get(s)||customElements.define(s,oi))})},Vi=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0,this.lines=void 0}render(){const{lines:s}=this,h=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"7e2e050f13722f2b870a2415d99a9e631e9ca267",class:v(this.color,{[h]:!0,[`list-header-lines-${s}`]:void 0!==s})},(0,p.h)("div",{key:"6117bebc45800d874e9b75355476fbced5cc8398",class:"list-header-inner"},(0,p.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 Us=function zs(){typeof customElements>"u"||["ion-list-header"].forEach(s=>{"ion-list-header"===s&&(customElements.get(s)||customElements.define(s,Vi))})},za=k=>{try{if(k instanceof pd)return k.value;if(!vl()||"string"!=typeof k||""===k)return k;if(k.includes("onload="))return"";const s=document.createDocumentFragment(),h=document.createElement("div");s.appendChild(h),h.innerHTML=k,pl.forEach(we=>{const nt=s.querySelectorAll(we);for(let ht=nt.length-1;ht>=0;ht--){const Kt=nt[ht];Kt.parentNode?Kt.parentNode.removeChild(Kt):s.removeChild(Kt);const An=oc(Kt);for(let Zn=0;Zn{if(k.nodeType&&1!==k.nodeType)return;if(typeof NamedNodeMap<"u"&&!(k.attributes instanceof NamedNodeMap))return void k.remove();for(let h=k.attributes.length-1;h>=0;h--){const g=k.attributes.item(h),F=g.name;if(!ic.includes(F.toLowerCase())){k.removeAttribute(F);continue}const Z=g.value,we=k[F];(null!=Z&&Z.toLowerCase().includes("javascript:")||null!=we&&we.toLowerCase().includes("javascript:"))&&k.removeAttribute(F)}const s=oc(k);for(let h=0;hnull!=k.children?k.children:k.childNodes,vl=()=>{var k;const s=window,h=null===(k=s?.Ionic)||void 0===k?void 0:k.config;return!h||(h.get?h.get("sanitizerEnabled",!0):!0===h.sanitizerEnabled||void 0===h.sanitizerEnabled)},ic=["class","id","href","src","name","slot"],pl=["script","style","iframe","meta","link","object","embed"];class pd{constructor(s){this.value=s}}const Eo={bubbles:{dur:1e3,circles:9,fn:(k,s,h)=>{const g=k*s/h-k+"ms",F=2*Math.PI*s/h;return{r:5,style:{top:32*Math.sin(F)+"%",left:32*Math.cos(F)+"%","animation-delay":g}}}},circles:{dur:1e3,circles:8,fn:(k,s,h)=>{const g=s/h,F=k*g-k+"ms",Z=2*Math.PI*g;return{r:5,style:{top:32*Math.sin(Z)+"%",left:32*Math.cos(Z)+"%","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:(k,s)=>({r:6,style:{left:32-32*s+"%","animation-delay":-110*s+"ms"}})},lines:{dur:1e3,lines:8,fn:(k,s,h)=>({y1:14,y2:26,style:{transform:`rotate(${360/h*s+(s({y1:12,y2:20,style:{transform:`rotate(${360/h*s+(s({y1:17,y2:29,style:{transform:`rotate(${30*s+(s<6?180:-180)}deg)`,"animation-delay":k*s/h-k+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(k,s,h)=>({y1:12,y2:20,style:{transform:`rotate(${30*s+(s<6?180:-180)}deg)`,"animation-delay":k*s/h-k+"ms"}})}},rl=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0,this.duration=void 0,this.name=void 0,this.paused=!1}getName(){const s=this.name||qe.c.get("spinner"),h=(0,qe.b)(this);return s||("ios"===h?"lines":"circular")}render(){var s;const h=this,g=(0,qe.b)(h),F=h.getName(),Z=null!==(s=Eo[F])&&void 0!==s?s:Eo.lines,we="number"==typeof h.duration&&h.duration>10?h.duration:Z.dur,nt=[];if(void 0!==Z.circles)for(let ht=0;ht{const F=k.fn(s,h,g);return F.style["animation-duration"]=s+"ms",(0,p.h)("svg",{viewBox:F.viewBox||"0 0 64 64",style:F.style},(0,p.h)("circle",{transform:F.transform||"translate(32,32)",cx:F.cx,cy:F.cy,r:F.r,style:k.elmDuration?{animationDuration:s+"ms"}:{}}))},Dc=(k,s,h,g)=>{const F=k.fn(s,h,g);return F.style["animation-duration"]=s+"ms",(0,p.h)("svg",{viewBox:F.viewBox||"0 0 64 64",style:F.style},(0,p.h)("line",{transform:"translate(32,32)",y1:F.y1,y2:F.y2}))},vs=k=>{const s=(0,ce.c)(),h=(0,ce.c)(),g=(0,ce.c)();return h.addElement(k.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),g.addElement(k.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),s.addElement(k).easing("ease-in-out").duration(200).addAnimation([h,g])},sl=k=>{const s=(0,ce.c)(),h=(0,ce.c)(),g=(0,ce.c)();return h.addElement(k.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),g.addElement(k.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),s.addElement(k).easing("ease-in-out").duration(200).addAnimation([h,g])},xa=k=>{const s=(0,ce.c)(),h=(0,ce.c)(),g=(0,ce.c)();return h.addElement(k.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),g.addElement(k.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),s.addElement(k).easing("ease-in-out").duration(200).addAnimation([h,g])},Vl=k=>{const s=(0,ce.c)(),h=(0,ce.c)(),g=(0,ce.c)();return h.addElement(k.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),g.addElement(k.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),s.addElement(k).easing("ease-in-out").duration(200).addAnimation([h,g])},lh=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.didPresent=(0,p.lh)(this,"ionLoadingDidPresent",7),this.willPresent=(0,p.lh)(this,"ionLoadingWillPresent",7),this.willDismiss=(0,p.lh)(this,"ionLoadingWillDismiss",7),this.didDismiss=(0,p.lh)(this,"ionLoadingDidDismiss",7),this.didPresentShorthand=(0,p.lh)(this,"didPresent",7),this.willPresentShorthand=(0,p.lh)(this,"willPresent",7),this.willDismissShorthand=(0,p.lh)(this,"willDismiss",7),this.didDismissShorthand=(0,p.lh)(this,"didDismiss",7),this.delegateController=so(this),this.lockController=_n(),this.triggerController=Wo(),this.customHTMLEnabled=qe.c.get("innerHTMLTemplatesEnabled",false),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,Cn)},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(s,h){!0===s&&!1===h?this.present():!1===s&&!0===h&&this.dismiss()}triggerChanged(){const{trigger:s,el:h,triggerController:g}=this;s&&g.addClickListener(h,s)}connectedCallback(){Fi(this.el),this.triggerChanged()}componentWillLoad(){var s;if(void 0===this.spinner){const h=(0,qe.b)(this);this.spinner=qe.c.get("loadingSpinner",qe.c.get("spinner","ios"===h?"lines":"crescent"))}null!==(s=this.htmlAttributes)&&void 0!==s&&s.id||ri(this.el)}componentDidLoad(){!0===this.isOpen&&(0,a.r)(()=>this.present()),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}present(){var s=this;return(0,d.A)(function*(){const h=yield s.lockController.lock();yield s.delegateController.attachViewToDom(),yield rs(s,"loadingEnter",vs,xa),s.duration>0&&(s.durationTimeout=setTimeout(()=>s.dismiss(),s.duration+10)),h()})()}dismiss(s,h){var g=this;return(0,d.A)(function*(){const F=yield g.lockController.lock();g.durationTimeout&&clearTimeout(g.durationTimeout);const Z=yield _r(g,s,h,"loadingLeave",sl,Vl);return Z&&g.delegateController.removeViewFromDom(),F(),Z})()}onDidDismiss(){return hi(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return hi(this.el,"ionLoadingWillDismiss")}renderLoadingMessage(s){const{customHTMLEnabled:h,message:g}=this;return h?(0,p.h)("div",{class:"loading-content",id:s,innerHTML:za(g)}):(0,p.h)("div",{class:"loading-content",id:s},g)}render(){const{message:s,spinner:h,htmlAttributes:g,overlayIndex:F}=this,Z=(0,qe.b)(this),we=`loading-${F}-msg`;return(0,p.h)(p.xr,Object.assign({key:"fb3d2cd7cd0539ed6540d8be50e243c7916b3ca2",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==s?we:null,tabindex:"-1"},g,{style:{zIndex:`${4e4+this.overlayIndex}`},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},u(this.cssClass)),{[Z]:!0,"overlay-hidden":!0,"loading-translucent":this.translucent})}),(0,p.h)("ion-backdrop",{key:"c8bd30782f3040b1b80e88aa924861e439d40754",visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,p.h)("div",{key:"4ebfbb67c92e8eb56c27dd7c199b35bf6be1cf63",tabindex:"0"}),(0,p.h)("div",{key:"9492723cd87f1ef75534e449d4bc2b2deb0cb3cc",class:"loading-wrapper ion-overlay-wrapper"},h&&(0,p.h)("div",{key:"d9eb42454e48c82704d974a68b80ceb4de990417",class:"loading-spinner"},(0,p.h)("ion-spinner",{key:"cdb046bad89872f4208ae466979315652766bf3a",name:h,"aria-hidden":"true"})),void 0!==s&&this.renderLoadingMessage(we)),(0,p.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"]}]),Ua=(k,s,h)=>"function"==typeof h?h(k,s):"string"==typeof h?k[h]===s[h]:Array.isArray(s)?s.includes(k):k===s,ku=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionFocus=(0,p.lh)(this,"ionFocus",7),this.ionBlur=(0,p.lh)(this,"ionBlur",7),this.inputId="ion-rb-"+xu++,this.radioGroup=null,this.updateState=()=>{if(this.radioGroup){const{compareWith:s,value:h}=this.radioGroup;this.checked=((k,s,h)=>void 0!==k&&(Array.isArray(k)?k.some(g=>Ua(g,s,h)):Ua(k,s,h)))(h,this.value,s)}},this.onClick=()=>{const{radioGroup:s,checked:h,disabled:g}=this;g||(this.checked=!h||!s?.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(s){var h=this;return(0,d.A)(function*(){s.stopPropagation(),s.preventDefault(),h.el.focus()})()}setButtonTabindex(s){var h=this;return(0,d.A)(function*(){h.buttonTabindex=s})()}connectedCallback(){void 0===this.value&&(this.value=this.inputId);const s=this.radioGroup=this.el.closest("ion-radio-group");s&&(this.updateState(),(0,a.a)(s,"ionValueChange",this.updateState))}disconnectedCallback(){const s=this.radioGroup;s&&((0,a.b)(s,"ionValueChange",this.updateState),this.radioGroup=null)}get hasLabel(){return""!==this.el.textContent}renderRadioControl(){return(0,p.h)("div",{class:"radio-icon",part:"container"},(0,p.h)("div",{class:"radio-inner",part:"mark"}),(0,p.h)("div",{class:"radio-ripple"}))}render(){const{checked:s,disabled:h,color:g,el:F,justify:Z,labelPlacement:we,hasLabel:nt,buttonTabindex:ht,alignment:Kt}=this,An=(0,qe.b)(this),Zn=_("ion-item",F);return(0,p.h)(p.xr,{key:"43c95effb6acb119733270e8a5e02fe18b47ee4b",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:v(g,{[An]:!0,"in-item":Zn,"radio-checked":s,"radio-disabled":h,[`radio-justify-${Z}`]:!0,[`radio-alignment-${Kt}`]:!0,[`radio-label-placement-${we}`]:!0,"ion-activatable":!Zn,"ion-focusable":!Zn}),role:"radio","aria-checked":s?"true":"false","aria-disabled":h?"true":null,tabindex:ht},(0,p.h)("label",{key:"168ea77c08fde9832077d617662b93dc9986b544",class:"radio-wrapper"},(0,p.h)("div",{key:"ce1e6eee63fbab1e5a66b18f767f4eecc2a227f1",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!nt},part:"label"},(0,p.h)("slot",{key:"7d849e43d4356b5c3978c2bba9a6fba5d21ca69d"})),(0,p.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 xu=0;const pg=function Pc(){typeof customElements>"u"||["ion-radio"].forEach(s=>{"ion-radio"===s&&(customElements.get(s)||customElements.define(s,ku))})};var hd=function(k){return k.Heavy="HEAVY",k.Medium="MEDIUM",k.Light="LIGHT",k}(hd||{});const Hl={getEngine(){const k=(0,$i.g)();if(k?.isPluginAvailable("Haptics"))return k.Plugins.Haptics},available(){if(!this.getEngine())return!1;const s=(0,$i.g)();return"web"!==s?.getPlatform()||typeof navigator<"u"&&void 0!==navigator.vibrate},impact(k){const s=this.getEngine();s&&s.impact({style:k.style})},notification(k){const s=this.getEngine();s&&s.notification({type:k.type})},selection(){this.impact({style:hd.Light})},selectionStart(){const k=this.getEngine();k&&k.selectionStart()},selectionChanged(){const k=this.getEngine();k&&k.selectionChanged()},selectionEnd(){const k=this.getEngine();k&&k.selectionEnd()}},rc=()=>Hl.available(),Mu=k=>{const s=k.querySelector("ion-spinner"),h=s.shadowRoot.querySelector("circle"),g=k.querySelector(".spinner-arrow-container"),F=k.querySelector(".arrow-container"),Z=F?F.querySelector("ion-icon"):null,we=(0,ce.c)().duration(1e3).easing("ease-out"),nt=(0,ce.c)().addElement(g).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),ht=(0,ce.c)().addElement(h).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),Kt=(0,ce.c)().addElement(s).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(F&&Z){const An=(0,ce.c)().addElement(F).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),Zn=(0,ce.c)().addElement(Z).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)"}]);we.addAnimation([An,Zn])}return we.addAnimation([nt,ht,Kt])},Wa=(k,s,h=200)=>{if(!k)return Promise.resolve();const g=(0,a.t)(k,h);return(0,p.bN)(()=>{k.style.setProperty("transition",`${h}ms all ease-out`),void 0===s?k.style.removeProperty("transform"):k.style.setProperty("transform",`translate3d(0px, ${s}, 0px)`)}),g},Tc=function(){var k=(0,d.A)(function*(s,h){const g=s.querySelector("ion-refresher-content");if(!g)return Promise.resolve(!1);yield new Promise(we=>(0,a.c)(g,we));const F=s.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),Z=s.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==F&&null!==Z&&("ios"===h&&navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)")||"md"===h)});return function(h,g){return k.apply(this,arguments)}}(),bh=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.ionRefresh=(0,p.lh)(this,"ionRefresh",7),this.ionPull=(0,p.lh)(this,"ionPull",7),this.ionStart=(0,p.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 s=this;return(0,d.A)(function*(){const h=yield Tc(s.el,(0,qe.b)(s));if(h&&!s.nativeRefresher){const g=s.el.closest("ion-content");s.setupNativeRefresher(g)}else h||s.destroyNativeRefresher()})()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}resetNativeRefresher(s,h){var g=this;return(0,d.A)(function*(){g.state=h,"ios"===(0,qe.b)(g)?yield Wa(s,void 0,300):yield(0,a.t)(g.el.querySelector(".refresher-refreshing-icon"),200),g.didRefresh=!1,g.needsCompletion=!1,g.pointerDown=!1,g.animations.forEach(F=>F.destroy()),g.animations=[],g.progress=0,g.state=1})()}setupiOSNativeRefresher(s,h){var g=this;return(0,d.A)(function*(){g.elementToTransform=g.scrollEl;const F=s.shadowRoot.querySelectorAll("svg");let Z=.16*g.scrollEl.clientHeight;const we=F.length;(0,p.bN)(()=>F.forEach(nt=>nt.style.setProperty("animation","none"))),g.scrollListenerCallback=()=>{!g.pointerDown&&1===g.state||(0,p.gv)(()=>{const nt=g.scrollEl.scrollTop,ht=g.el.clientHeight;if(nt>0){if(8===g.state){const mo=(0,a.k)(0,nt/(.5*ht),1);return void(0,p.bN)(()=>((k,s)=>{k.style.setProperty("opacity",s.toString())})(h,1-mo))}return}g.pointerDown&&(g.didStart||(g.didStart=!0,g.ionStart.emit()),g.pointerDown&&g.ionPull.emit());const Kt=g.didStart?30:0,An=g.progress=(0,a.k)(0,(Math.abs(nt)-Kt)/Z,1);8===g.state||1===An?(g.pointerDown&&((k,s)=>{(0,p.bN)(()=>{k.style.setProperty("--refreshing-rotation-duration",s>=1?"0.5s":"2s"),k.style.setProperty("opacity","1")})})(h,g.lastVelocityY),g.didRefresh||(g.beginRefresh(),g.didRefresh=!0,(k=>{rc()&&Hl.impact(k)})({style:hd.Light}),g.pointerDown||Wa(g.elementToTransform,`${ht}px`))):(g.state=2,((k,s,h)=>{(0,p.bN)(()=>{k.forEach((F,Z)=>{const we=Z*(1/s),Kt=(0,a.k)(0,(h-we)/(1-we),1);F.style.setProperty("opacity",Kt.toString())})})})(F,we,An))})},g.scrollEl.addEventListener("scroll",g.scrollListenerCallback),g.gesture=(yield Promise.resolve().then(i.bind(i,2104))).createGesture({el:g.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{g.pointerDown=!0,g.didRefresh||Wa(g.elementToTransform,"0px"),0===Z&&(Z=.16*g.scrollEl.clientHeight)},onMove:nt=>{g.lastVelocityY=nt.velocityY},onEnd:()=>{g.pointerDown=!1,g.didStart=!1,g.needsCompletion?(g.resetNativeRefresher(g.elementToTransform,32),g.needsCompletion=!1):g.didRefresh&&(0,p.gv)(()=>Wa(g.elementToTransform,`${g.el.clientHeight}px`))}}),g.disabledChanged()})()}setupMDNativeRefresher(s,h,g){var F=this;return(0,d.A)(function*(){const Z=(0,a.g)(h).querySelector("circle"),we=F.el.querySelector("ion-refresher-content .refresher-pulling-icon"),nt=(0,a.g)(g).querySelector("circle");null!==Z&&null!==nt&&(0,p.bN)(()=>{Z.style.setProperty("animation","none"),g.style.setProperty("animation-delay","-655ms"),nt.style.setProperty("animation-delay","-655ms")}),F.gesture=(yield Promise.resolve().then(i.bind(i,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:ht=>{F.progress=0,ht.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:ht=>{if(ht.velocityY<0&&0===F.progress&&!ht.data.didStart||ht.data.cancelled)ht.data.cancelled=!0;else{if(!ht.data.didStart){ht.data.didStart=!0,F.state=2;const{scrollEl:Kt}=F,An=Kt.matches(Ro.I)?"overflow":"--overflow";(0,p.bN)(()=>Kt.style.setProperty(An,"hidden"));const Zn=(k=>{const s=k.previousElementSibling;return null!==s&&"ION-HEADER"===s.tagName?"translate":"scale"})(s),mo=((k,s,h)=>"scale"===k?((k,s)=>{const h=s.clientHeight,g=(0,ce.c)().addElement(k).keyframes([{offset:0,transform:`scale(0) translateY(-${h}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return Mu(k).addAnimation([g])})(s,h):((k,s)=>{const h=s.clientHeight,g=(0,ce.c)().addElement(k).keyframes([{offset:0,transform:`translateY(-${h}px)`},{offset:1,transform:"translateY(100px)"}]);return Mu(k).addAnimation([g])})(s,h))(Zn,we,F.el);return ht.data.animation=mo,mo.progressStart(!1,0),F.ionStart.emit(),void F.animations.push(mo)}F.progress=(0,a.k)(0,ht.deltaY/180*.5,1),ht.data.animation.progressStep(F.progress),F.ionPull.emit()}},onEnd:ht=>{if(!ht.data.didStart)return;F.gesture.enable(!1);const{scrollEl:Kt}=F,An=Kt.matches(Ro.I)?"overflow":"--overflow";if((0,p.bN)(()=>Kt.style.removeProperty(An)),F.progress<=.4)return void ht.data.animation.progressEnd(0,F.progress,500).onFinish(()=>{F.animations.forEach(co=>co.destroy()),F.animations=[],F.gesture.enable(!0),F.state=1});const Zn=ot([0,0],[0,0],[1,1],[1,1],F.progress)[0],mo=(k=>(0,ce.c)().duration(125).addElement(k).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(we);F.animations.push(mo),(0,p.bN)((0,d.A)(function*(){we.style.setProperty("--ion-pulling-refresher-translate",100*Zn+"px"),ht.data.animation.progressEnd(),yield mo.play(),F.beginRefresh(),ht.data.animation.destroy(),F.gesture.enable(!0)}))}}),F.disabledChanged()})()}setupNativeRefresher(s){var h=this;return(0,d.A)(function*(){if(h.scrollListenerCallback||!s||h.nativeRefresher||!h.scrollEl)return;h.setCss(0,"",!1,""),h.nativeRefresher=!0;const g=h.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),F=h.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===(0,qe.b)(h)?h.setupiOSNativeRefresher(g,F):h.setupMDNativeRefresher(s,g,F)})()}componentDidUpdate(){this.checkNativeRefresher()}connectedCallback(){var s=this;return(0,d.A)(function*(){if("fixed"!==s.el.getAttribute("slot"))return void console.error('Make sure you use: ');const h=s.el.closest(Ro.b);h?(0,a.c)(h,(0,d.A)(function*(){const g=h.querySelector(Ro.I);s.scrollEl=yield(0,Ro.g)(g??h),s.backgroundContentEl=yield h.getBackgroundElement(),s.contentFullscreen=h.fullscreen,(yield Tc(s.el,(0,qe.b)(s)))?s.setupNativeRefresher(h):(s.gesture=(yield Promise.resolve().then(i.bind(i,2104))).createGesture({el:h,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>s.canStart(),onStart:()=>s.onStart(),onMove:F=>s.onMove(F),onEnd:()=>s.onEnd()}),s.disabledChanged())})):(0,Ro.p)(s.el)})()}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(){var s=this;return(0,d.A)(function*(){s.nativeRefresher?(s.needsCompletion=!0,s.pointerDown||(0,a.r)(()=>(0,a.r)(()=>s.resetNativeRefresher(s.elementToTransform,32)))):s.close(32,"120ms")})()}cancel(){var s=this;return(0,d.A)(function*(){s.nativeRefresher?s.pointerDown||(0,a.r)(()=>(0,a.r)(()=>s.resetNativeRefresher(s.elementToTransform,16))):s.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(s){if(!this.scrollEl)return;const h=s.event;if(void 0!==h.touches&&h.touches.length>1||56&this.state)return;const g=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,F=s.deltaY*g;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(h.cancelable&&h.preventDefault(),this.setCss(F,"0ms",!0,""),0===F)return void(this.progress=0);const Z=this.pullMin;this.progress=F/Z,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(s,h){setTimeout(()=>{var g;this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"",!0),this.contentFullscreen&&this.backgroundContentEl&&(null===(g=this.backgroundContentEl)||void 0===g||g.style.removeProperty("--offset-top"))},600),this.state=s,this.setCss(0,this.closeDuration,!0,h)}setCss(s,h,g,F,Z=!1){this.nativeRefresher||(this.appliedStyles=s>0,(0,p.bN)(()=>{if(this.scrollEl&&this.backgroundContentEl){const we=this.scrollEl.style,nt=this.backgroundContentEl.style;we.transform=nt.transform=s>0?`translateY(${s}px) translateZ(0px)`:"",we.transitionDuration=nt.transitionDuration=h,we.transitionDelay=nt.transitionDelay=F,we.overflow=g?"hidden":""}Z&&this.restoreOverflowStyle()}))}memoizeOverflowStyle(){if(this.scrollEl){const{overflow:s,overflowX:h,overflowY:g}=this.scrollEl.style;this.overflowStyles={overflow:s??"",overflowX:h??"",overflowY:g??""}}}restoreOverflowStyle(){if(void 0!==this.overflowStyles&&void 0!==this.scrollEl){const{overflow:s,overflowX:h,overflowY:g}=this.overflowStyles;this.scrollEl.style.overflow=s,this.scrollEl.style.overflowX=h,this.scrollEl.style.overflowY=g,this.overflowStyles=void 0}}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"3270f181a5141e7d886ec554a3e892974446b90e",slot:"fixed",class:{[s]:!0,[`refresher-${s}`]:!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"]}]),Ic=function gg(){typeof customElements>"u"||["ion-refresher"].forEach(s=>{"ion-refresher"===s&&(customElements.get(s)||customElements.define(s,bh))})},yg=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow()}onClick(s){const h=this.el.closest("ion-reorder-group");s.preventDefault(),(!h||!h.disabled)&&s.stopImmediatePropagation()}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"663d74e231e3af56b6298ee2539fdac9c8465839",class:s},(0,p.h)("slot",{key:"c7c384ab8c9ca8abdc89cd984a39dfde70e342ca"},(0,p.h)("ion-icon",{key:"c8b6052db03d4b9e33a90e600c20861c73ee73ce",icon:"ios"===s?"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"]]]),Dy=function vg(){typeof customElements>"u"||["ion-reorder","ion-icon"].forEach(s=>{switch(s){case"ion-reorder":customElements.get(s)||customElements.define(s,yg);break;case"ion-icon":customElements.get(s)||Bn()}})},Ou=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.ionItemReorder=(0,p.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 s=this;return(0,d.A)(function*(){const h=(0,Ro.a)(s.el);h&&(s.scrollEl=yield(0,Ro.g)(h)),s.gesture=(yield Promise.resolve().then(i.bind(i,2104))).createGesture({el:s.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:g=>s.canStart(g),onStart:g=>s.onStart(g),onMove:g=>s.onMove(g),onEnd:()=>s.onEnd()}),s.disabledChanged()})()}disconnectedCallback(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(s){return Promise.resolve(this.completeReorder(s))}canStart(s){if(this.selectedItemEl||0!==this.state)return!1;const g=s.event.target.closest("ion-reorder");if(!g)return!1;const F=kg(g,this.el);return!!F&&(s.data=F,!0)}onStart(s){s.event.preventDefault();const h=this.selectedItemEl=s.data,g=this.cachedHeights;g.length=0;const F=this.el,Z=F.children;if(!Z||0===Z.length)return;let we=0;for(let ht=0;ht{Z===we||void 0!==s&&!0!==s||this.el.insertBefore(h,wes)return g;return h.length-1}reorderMove(s,h){const g=this.selectedItemHeight,F=this.el.children;for(let Z=0;Zs&&Z<=h?nt=`translateY(${-g}px)`:Z=h&&(nt=`translateY(${g}px)`),F[Z].style.transform=nt}}autoscroll(s){if(!this.scrollEl)return 0;let h=0;return sthis.scrollElBottom&&(h=yh),0!==h&&this.scrollEl.scrollBy(0,h),this.scrollEl.scrollTop-this.scrollElInitial}render(){const s=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"491f3e5843cf728ff4589e58bd86b8ce6709b293",class:{[s]:!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"]}]),Ol=k=>k.$ionIndex,kg=(k,s)=>{let h;for(;k;){if(h=k.parentElement,h===s)return k;k=h}},sc=60,yh=10,gd="reorder-selected",bd=(k,s,h)=>{const g=k[s];return k.splice(s,1),k.splice(h,0,g),k.slice()},vh=function Py(){typeof customElements>"u"||["ion-reorder-group"].forEach(s=>{"ion-reorder-group"===s&&(customElements.get(s)||customElements.define(s,Ou))})};let Fu=0;const kh=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.segmentEl=null,this.inheritedAttributes={},this.updateStyle=()=>{(0,p.$x)(this)},this.updateState=()=>{const{segmentEl:s}=this;s&&(this.checked=s.value===this.value,s.disabled&&(this.disabled=!0))},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+Fu++}valueChanged(){this.updateState()}connectedCallback(){const s=this.segmentEl=this.el.closest("ion-segment");s&&(this.updateState(),(0,a.a)(s,"ionSelect",this.updateState),(0,a.a)(s,"ionStyle",this.updateStyle))}disconnectedCallback(){const s=this.segmentEl;s&&((0,a.b)(s,"ionSelect",this.updateState),(0,a.b)(s,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,a.d)(this.el,["aria-label"]))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}setFocus(){var s=this;return(0,d.A)(function*(){const{nativeEl:h}=s;void 0!==h&&h.focus()})()}render(){const{checked:s,type:h,disabled:g,hasIcon:F,hasLabel:Z,layout:we,segmentEl:nt}=this,ht=(0,qe.b)(this);return(0,p.h)(p.xr,{key:"70cf5c7a3ae2620222c5250c644faf3cfc3b3e4e",class:{[ht]:!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!==nt?.color,"segment-button-has-label":Z,"segment-button-has-icon":F,"segment-button-has-label-only":Z&&!F,"segment-button-has-icon-only":F&&!Z,"segment-button-disabled":g,"segment-button-checked":s,[`segment-button-layout-${we}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},(0,p.h)("button",Object.assign({key:"a53c9f1e360934e8d2e90476642ba4507fc38ebd","aria-selected":s?"true":"false",role:"tab",ref:An=>this.nativeEl=An,type:h,class:"button-native",part:"native",disabled:g},this.inheritedAttributes),(0,p.h)("span",{key:"7d8feda840d389941cc693f500b5eba0b39b41da",class:"button-inner"},(0,p.h)("slot",{key:"d9ae1eec45db253cbf573d29cd545658dd595d87"})),"md"===ht&&(0,p.h)("ion-ripple-effect",{key:"49e6a16968709dc9b3fc77bc9fb99acb42fda88c"})),(0,p.h)("div",{key:"4e3ea0989ed5205dbb03586e4facb439b05a92de",part:"indicator",class:{"segment-button-indicator":!0,"segment-button-indicator-animated":!0}},(0,p.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"]}]),Cg=function yd(){typeof customElements>"u"||["ion-segment-button","ion-ripple-effect"].forEach(s=>{switch(s){case"ion-segment-button":customElements.get(s)||customElements.define(s,kh);break;case"ion-ripple-effect":customElements.get(s)||Go()}})},Mg=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=(0,p.lh)(this,"ionTabBarChanged",7),this.ionTabBarLoaded=(0,p.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 s=this;return(0,d.A)(function*(){s.keyboardCtrl=yield $r(function(){var h=(0,d.A)(function*(g,F){!1===g&&void 0!==F&&(yield F),s.keyboardVisible=g});return function(g,F){return h.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:s,translucent:h,keyboardVisible:g}=this,F=(0,qe.b)(this),Z=g&&"top"!==this.el.getAttribute("slot");return(0,p.h)(p.xr,{key:"3a8595dd83f89e8319471a7a7f9f64b2565b384c",role:"tablist","aria-hidden":Z?"true":null,class:v(s,{[F]:!0,"tab-bar-translucent":h,"tab-bar-hidden":Z})},(0,p.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"]}]),Dg=function vd(){typeof customElements>"u"||["ion-tab-bar"].forEach(s=>{"ion-tab-bar"===s&&(customElements.get(s)||customElements.define(s,Mg))})},ta=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=(0,p.lh)(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=s=>{("Enter"===s.key||" "===s.key)&&this.selectTab(s)},this.onClick=s=>{this.selectTab(s)},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(s){const h=s.target,g=this.el.parentElement;(s.composedPath().includes(g)||h?.contains(this.el))&&(this.selected=this.tab===s.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,a.d)(this.el,["aria-label"])),void 0===this.layout&&(this.layout=qe.c.get("tabButtonLayout","icon-top"))}selectTab(s){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),s.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:s,hasIcon:h,hasLabel:g,href:F,rel:Z,target:we,layout:nt,selected:ht,tab:Kt,inheritedAttributes:An}=this,Zn=(0,qe.b)(this),mo={download:this.download,href:F,rel:Z,target:we};return(0,p.h)(p.xr,{key:"4b528ce31f67e10ad849e0c99bd034bba675c227",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==Kt?`tab-button-${Kt}`:null,class:{[Zn]:!0,"tab-selected":ht,"tab-disabled":s,"tab-has-label":g,"tab-has-icon":h,"tab-has-label-only":g&&!h,"tab-has-icon-only":h&&!g,[`tab-layout-${nt}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,p.h)("a",Object.assign({key:"0da8784b1b243ffaaaf04dd7adb55d6881ed0c08"},mo,{class:"button-native",part:"native",role:"tab","aria-selected":ht?"true":null,"aria-disabled":s?"true":null,tabindex:s?"-1":void 0},An),(0,p.h)("span",{key:"2c628e8f1ebc129f84876c01530468cb97d8bf3a",class:"button-inner"},(0,p.h)("slot",{key:"8052a171d197a7de1a7eb12b091c35f73ae1ee21"})),"md"===Zn&&(0,p.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"]]]),Tu=function Og(){typeof customElements>"u"||["ion-tab-button","ion-ripple-effect"].forEach(s=>{switch(s){case"ion-tab-button":customElements.get(s)||customElements.define(s,ta);break;case"ion-ripple-effect":customElements.get(s)||Go()}})},Dh=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=(0,p.lh)(this,"ionStyle",7),this.color=void 0,this.size=void 0}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){const s=this.getSize();this.ionStyle.emit({[`title-${s}`]:!0})}getSize(){return void 0!==this.size?this.size:"default"}render(){const s=(0,qe.b)(this),h=this.getSize();return(0,p.h)(p.xr,{key:"5a58dc437a6f4257244bbdd7e9a682a17d8c9a6b",class:v(this.color,{[s]:!0,[`title-${h}`]:!0,"title-rtl":"rtl"===document.dir})},(0,p.h)("div",{key:"58682ea7b8f47a08adfad419b5c76b34784c6501",class:"toolbar-title"},(0,p.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"]}]),Ph=function Iu(){typeof customElements>"u"||["ion-title"].forEach(s=>{"ion-title"===s&&(customElements.get(s)||customElements.define(s,Dh))})};const Ru=(k,s)=>Math.floor(k/2-s/2),Oh=(k,s)=>{const h=(0,ce.c)(),g=(0,ce.c)(),{position:F,top:Z,bottom:we}=s,ht=(0,a.g)(k).querySelector(".toast-wrapper");switch(g.addElement(ht),F){case"top":g.fromTo("transform","translateY(-100%)",`translateY(${Z})`);break;case"middle":const Kt=Ru(k.clientHeight,ht.clientHeight);ht.style.top=`${Kt}px`,g.fromTo("opacity",.01,1);break;default:g.fromTo("transform","translateY(100%)",`translateY(${we})`)}return h.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(g)},Ag=(k,s)=>{const h=(0,ce.c)(),g=(0,ce.c)(),{position:F,top:Z,bottom:we}=s,ht=(0,a.g)(k).querySelector(".toast-wrapper");switch(g.addElement(ht),F){case"top":g.fromTo("transform",`translateY(${Z})`,"translateY(-100%)");break;case"middle":g.fromTo("opacity",.99,0);break;default:g.fromTo("transform",`translateY(${we})`,"translateY(100%)")}return h.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(g)},Fh=(k,s)=>{const h=(0,ce.c)(),g=(0,ce.c)(),{position:F,top:Z,bottom:we}=s,ht=(0,a.g)(k).querySelector(".toast-wrapper");switch(g.addElement(ht),F){case"top":ht.style.setProperty("transform",`translateY(${Z})`),g.fromTo("opacity",.01,1);break;case"middle":const Kt=Ru(k.clientHeight,ht.clientHeight);ht.style.top=`${Kt}px`,g.fromTo("opacity",.01,1);break;default:ht.style.setProperty("transform",`translateY(${we})`),g.fromTo("opacity",.01,1)}return h.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(g)},Rg=k=>{const s=(0,ce.c)(),h=(0,ce.c)(),F=(0,a.g)(k).querySelector(".toast-wrapper");return h.addElement(F).fromTo("opacity",.99,0),s.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(h)},Sy=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=(0,p.lh)(this,"ionToastDidPresent",7),this.willPresent=(0,p.lh)(this,"ionToastWillPresent",7),this.willDismiss=(0,p.lh)(this,"ionToastWillDismiss",7),this.didDismiss=(0,p.lh)(this,"ionToastDidDismiss",7),this.didPresentShorthand=(0,p.lh)(this,"didPresent",7),this.willPresentShorthand=(0,p.lh)(this,"willPresent",7),this.willDismissShorthand=(0,p.lh)(this,"willDismiss",7),this.didDismissShorthand=(0,p.lh)(this,"didDismiss",7),this.delegateController=so(this),this.lockController=_n(),this.triggerController=Wo(),this.customHTMLEnabled=qe.c.get("innerHTMLTemplatesEnabled",false),this.presented=!1,this.dispatchCancelHandler=s=>{if(Wt(s.detail.role)){const g=this.getButtons().find(F=>"cancel"===F.role);this.callButtonHandler(g)}},this.createSwipeGesture=s=>{(this.gesture=((k,s,h)=>{const g=p.L2.isTesting?document.createElement("div"):(0,a.g)(k).querySelector(".toast-wrapper"),F=k.clientHeight,Z=g.getBoundingClientRect();let we=0;const ht="middle"===k.position?.5:0,Kt="top"===k.position?-1:1,An=Ru(F,Z.height),Zn=[{offset:0,transform:`translateY(-${An+Z.height}px)`},{offset:.5,transform:"translateY(0px)"},{offset:1,transform:`translateY(${An+Z.height}px)`}],mo=(0,ce.c)("toast-swipe-to-dismiss-animation").addElement(g).duration(100);switch(k.position){case"middle":we=F+Z.height,mo.keyframes(Zn),mo.progressStart(!0,.5);break;case"top":we=Z.bottom,mo.keyframes([{offset:0,transform:`translateY(${s.top})`},{offset:1,transform:"translateY(-100%)"}]),mo.progressStart(!0,0);break;default:we=F-Z.top,mo.keyframes([{offset:0,transform:`translateY(${s.bottom})`},{offset:1,transform:"translateY(100%)"}]),mo.progressStart(!0,0)}const co=ji=>ji*Kt/we,li=(0,Pe.createGesture)({el:g,gestureName:"toast-swipe-to-dismiss",gesturePriority:39,direction:"y",onMove:ji=>{const zi=ht+co(ji.deltaY);mo.progressStep(zi)},onEnd:ji=>{const zi=ji.velocityY,Oi=(ji.deltaY+1e3*zi)/we*Kt;li.enable(!1);let Wi=!0,Ni=1,Qi=0,Xr=0;if("middle"===k.position){Wi=Oi>=.25||Oi<=-.25,Ni=1,Qi=0;const ps=g.getBoundingClientRect(),Ws=ps.top-An,Rs=(An+ps.height)*(ji.deltaY<=0?-1:1);mo.keyframes([{offset:0,transform:`translateY(${Ws}px)`},{offset:1,transform:`translateY(${Wi?`${Rs}px`:"0px"})`}]),Xr=Rs-Ws}else Wi=Oi>=.5,Ni=Wi?1:0,Qi=co(ji.deltaY),Xr=(Wi?1-Qi:Qi)*we;const _s=Math.min(Math.abs(Xr)/Math.abs(zi),200);mo.onFinish(()=>{Wi?(h(),mo.destroy()):("middle"===k.position?mo.keyframes(Zn).progressStart(!0,.5):mo.progressStart(!0,0),li.enable(!0))},{oneTimeCallback:!0}).progressEnd(Ni,Qi,_s)}});return li})(this.el,s,()=>{this.dismiss(void 0,ro)})).enable(!0)},this.destroySwipeGesture=()=>{const{gesture:s}=this;void 0!==s&&(s.destroy(),this.gesture=void 0)},this.prefersSwipeGesture=()=>{const{swipeGesture:s}=this;return"vertical"===s},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=qe.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(s,h){!0===s&&!1===h?this.present():!1===s&&!0===h&&this.dismiss()}triggerChanged(){const{trigger:s,el:h,triggerController:g}=this;s&&g.addClickListener(h,s)}connectedCallback(){Fi(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var s;null!==(s=this.htmlAttributes)&&void 0!==s&&s.id||ri(this.el)}componentDidLoad(){!0===this.isOpen&&(0,a.r)(()=>this.present()),this.triggerChanged()}present(){var s=this;return(0,d.A)(function*(){const h=yield s.lockController.lock();yield s.delegateController.attachViewToDom();const{el:g,position:F}=s,we=function Sg(k,s,h,g){let F;if(F="md"===h?"top"===k?8:-8:"top"===k?10:-10,s&&yi.w){!function Ig(k,s){null===k.offsetParent&&(0,bo.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.",s)}(s,g);const Z=s.getBoundingClientRect();return"top"===k?F+=Z.bottom:"bottom"===k&&(F-=yi.w.innerHeight-Z.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,s.getAnchorElement(),(0,qe.b)(s),g);s.lastPresentedPosition=we,yield rs(s,"toastEnter",Oh,Fh,{position:F,top:we.top,bottom:we.bottom}),s.revealContentToScreenReader=!0,s.duration>0&&(s.durationTimeout=setTimeout(()=>s.dismiss(void 0,"timeout"),s.duration)),s.prefersSwipeGesture()&&s.createSwipeGesture(we),h()})()}dismiss(s,h){var g=this;return(0,d.A)(function*(){var F,Z;const we=yield g.lockController.lock(),{durationTimeout:nt,position:ht,lastPresentedPosition:Kt}=g;nt&&clearTimeout(nt);const An=yield _r(g,s,h,"toastLeave",Ag,Rg,{position:ht,top:null!==(F=Kt?.top)&&void 0!==F?F:"",bottom:null!==(Z=Kt?.bottom)&&void 0!==Z?Z:""});return An&&(g.delegateController.removeViewFromDom(),g.revealContentToScreenReader=!1),g.lastPresentedPosition=void 0,g.destroySwipeGesture(),we(),An})()}onDidDismiss(){return hi(this.el,"ionToastDidDismiss")}onWillDismiss(){return hi(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map(h=>"string"==typeof h?{text:h}:h):[]}getAnchorElement(){const{position:s,positionAnchor:h,el:g}=this;if(void 0!==h){if("middle"===s&&void 0!==h)return void(0,bo.p)('The positionAnchor property is ignored when using position="middle".',this.el);if("string"==typeof h){const F=document.getElementById(h);return null===F?void(0,bo.p)(`An anchor element with an ID of "${h}" was not found in the DOM.`,g):F}if(h instanceof p.wt)return h;(0,bo.p)("Invalid positionAnchor value:",h,g)}}buttonClick(s){var h=this;return(0,d.A)(function*(){const g=s.role;return Wt(g)||(yield h.callButtonHandler(s))?h.dismiss(void 0,g):Promise.resolve()})()}callButtonHandler(s){return(0,d.A)(function*(){if(s?.handler)try{if(!1===(yield((k,s)=>{if("function"==typeof k)return qe.c.get("_zoneGate",Pn)(()=>{try{return k(s)}catch(g){throw g}})})(s.handler)))return!1}catch(h){console.error(h)}return!0})()}renderButtons(s,h){if(0===s.length)return;const g=(0,qe.b)(this);return(0,p.h)("div",{class:{"toast-button-group":!0,[`toast-button-group-${h}`]:!0}},s.map(Z=>(0,p.h)("button",Object.assign({},Z.htmlAttributes,{type:"button",class:jg(Z),tabIndex:0,onClick:()=>this.buttonClick(Z),part:Iy(Z)}),(0,p.h)("div",{class:"toast-button-inner"},Z.icon&&(0,p.h)("ion-icon",{"aria-hidden":"true",icon:Z.icon,slot:void 0===Z.text?"icon-only":void 0,class:"toast-button-icon"}),Z.text),"md"===g&&(0,p.h)("ion-ripple-effect",{type:void 0!==Z.icon&&void 0===Z.text?"unbounded":"bounded"}))))}renderToastMessage(s,h=null){const{customHTMLEnabled:g,message:F}=this;return g?(0,p.h)("div",{key:s,"aria-hidden":h,class:"toast-message",part:"message",innerHTML:za(F)}):(0,p.h)("div",{key:s,"aria-hidden":h,class:"toast-message",part:"message"},F)}renderHeader(s,h=null){return(0,p.h)("div",{key:s,class:"toast-header","aria-hidden":h,part:"header"},this.header)}render(){const{layout:s,el:h,revealContentToScreenReader:g,header:F,message:Z}=this,we=this.getButtons(),nt=we.filter(Zn=>"start"===Zn.side),ht=we.filter(Zn=>"start"!==Zn.side),Kt=(0,qe.b)(this),An={"toast-wrapper":!0,[`toast-${this.position}`]:!0,[`toast-layout-${s}`]:!0};return"stacked"===s&&nt.length>0&&ht.length>0&&(0,bo.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.",h),(0,p.h)(p.xr,Object.assign({key:"68c336f80af04ba484ca9899bae8f40c0d9b7691",tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:v(this.color,Object.assign(Object.assign({[Kt]:!0},u(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),(0,p.h)("div",{key:"3483b188f14b700964a123997a60a43a2023a1b6",class:An},(0,p.h)("div",{key:"1b88544a9b87253b364cbec6285625388979b560",class:"toast-container",part:"container"},this.renderButtons(nt,"start"),void 0!==this.icon&&(0,p.h)("ion-icon",{key:"bd1c42e3b14af66b880dfe283e3ae910075c0f70",class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),(0,p.h)("div",{key:"a5ef6cdabc1f7c70d11a5f2a0abf8737fe7550e8",class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!g&&void 0!==F&&this.renderHeader("oldHeader","true"),!g&&void 0!==Z&&this.renderToastMessage("oldMessage","true"),g&&void 0!==F&&this.renderHeader("header"),g&&void 0!==Z&&this.renderToastMessage("header")),this.renderButtons(ht,"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"]}]),jg=k=>({"toast-button":!0,"toast-button-icon-only":void 0!==k.icon&&void 0===k.text,[`toast-button-${k.role}`]:void 0!==k.role,"ion-focusable":!0,"ion-activatable":!0}),Iy=k=>Wt(k.role)?"button cancel":"button",Yl=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const s=Array.from(this.el.querySelectorAll("ion-buttons")),h=s.find(Z=>"start"===Z.slot);h&&h.classList.add("buttons-first-slot");const g=s.reverse(),F=g.find(Z=>"end"===Z.slot)||g.find(Z=>"primary"===Z.slot)||g.find(Z=>"secondary"===Z.slot);F&&F.classList.add("buttons-last-slot")}childrenStyle(s){s.stopPropagation();const h=s.target.tagName,g=s.detail,F={},Z=this.childrenStyles.get(h)||{};let we=!1;Object.keys(g).forEach(nt=>{const ht=`toolbar-${nt}`,Kt=g[nt];Kt!==Z[ht]&&(we=!0),Kt&&(F[ht]=!0)}),we&&(this.childrenStyles.set(h,F),(0,p.$x)(this))}render(){const s=(0,qe.b)(this),h={};return this.childrenStyles.forEach(g=>{Object.assign(h,g)}),(0,p.h)(p.xr,{key:"4bb3a55001408a3bdf033af76b9196cb96c07c09",class:Object.assign(Object.assign({},h),v(this.color,{[s]:!0,"in-toolbar":_("ion-toolbar",this.el)}))},(0,p.h)("div",{key:"0891db157d6e028c6d03696f13fb510ea91b0296",class:"toolbar-background"}),(0,p.h)("div",{key:"95fbc870d808f74af4bb18cd8f8ec8c7828a9e0b",class:"toolbar-container"},(0,p.h)("slot",{key:"84d4a9644660fe00ca085055ca8d12f3647531ad",name:"start"}),(0,p.h)("slot",{key:"fd361dc9c9979f59aed2fedcf94629506fae62b0",name:"secondary"}),(0,p.h)("div",{key:"54d2b28616a4627c55766f66dc453707752758a6",class:"toolbar-content"},(0,p.h)("slot",{key:"8f65e0830cce7135640b90eb694e282cb7e5efd2"})),(0,p.h)("slot",{key:"c78be11a207c8674f222543646398636956087e6",name:"primary"}),(0,p.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"]]]),ml=function Ry(){typeof customElements>"u"||["ion-toolbar"].forEach(s=>{"ion-toolbar"===s&&(customElements.get(s)||customElements.define(s,Yl))})};var Va=i(84341);const kd=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=(0,p.lh)(this,"ionChange",7),this.ionFocus=(0,p.lh)(this,"ionFocus",7),this.ionBlur=(0,p.lh)(this,"ionBlur",7),this.inputId="ion-cb-"+Ug++,this.inheritedAttributes={},this.setChecked=s=>{const h=this.checked=s;this.ionChange.emit({checked:h,value:this.value})},this.toggleChecked=s=>{s.preventDefault(),this.setFocus(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=s=>{this.disabled||this.toggleChecked(s)},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,a.i)(this.el))}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{color:s,checked:h,disabled:g,el:F,getSVGPath:Z,indeterminate:we,inheritedAttributes:nt,inputId:ht,justify:Kt,labelPlacement:An,name:Zn,value:mo,alignment:co}=this,Oo=(0,qe.b)(this),Ao=Z(Oo,we);return(0,a.e)(!0,F,Zn,h?mo:"",g),(0,p.h)(p.xr,{key:"0ac95890562c7f035704c40959c69f8c8ca4bc9f","aria-checked":we?"mixed":`${h}`,class:v(s,{[Oo]:!0,"in-item":_("ion-item",F),"checkbox-checked":h,"checkbox-disabled":g,"checkbox-indeterminate":we,interactive:!0,[`checkbox-justify-${Kt}`]:!0,[`checkbox-alignment-${co}`]:!0,[`checkbox-label-placement-${An}`]:!0}),onClick:this.onClick},(0,p.h)("label",{key:"3f9f7c8383dded8f7997086b25399d052df76b5c",class:"checkbox-wrapper"},(0,p.h)("input",Object.assign({key:"6fb11d06c424c289357d5d7c1a4d1b967be231d0",type:"checkbox",checked:!!h||void 0,disabled:g,id:ht,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:li=>this.focusEl=li},nt)),(0,p.h)("div",{key:"f577a272e5e3f9f1852fc95e40466c80b76309c7",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":""===F.textContent},part:"label"},(0,p.h)("slot",{key:"7c9b0b4513e797a1acdf55a5f286563e5f397e9c"})),(0,p.h)("div",{key:"e47c50a078b8d761ddc5efcb9a9635281b5818f6",class:"native-wrapper"},(0,p.h)("svg",{key:"4dca47179ae15e9094e01c799ef4ed25fbb0d840",class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},Ao))))}getSVGPath(s,h){let g=(0,p.h)("path",h?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===s&&(g=(0,p.h)("path",h?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),g}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 Ug=0;const ju=function Ps(){typeof customElements>"u"||["ion-checkbox"].forEach(s=>{"ion-checkbox"===s&&(customElements.get(s)||customElements.define(s,kd))})};i(35498);const Hu=k=>{const s=k.getTimezoneOffset();return k.setMinutes(k.getMinutes()-s),k};let Zl;Hu(new Date("2022T01:00")),Hu(new Date("2022T13:00"));const yb=(k,s)=>{const h=(()=>{if(typeof window>"u")return new Map;if(!Zl){const k=window;k.Ionicons=k.Ionicons||{},Zl=k.Ionicons.map=k.Ionicons.map||new Map}return Zl})().get(k);if(h)return h;try{return(0,p.OX)(`svg/${k}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${k}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,s)}},op=(k,s,h,g,F)=>(h="ios"===(h&&Hc(h))?"ios":"md",g&&"ios"===h?k=Hc(g):F&&"md"===h?k=Hc(F):(!k&&s&&!ip(s)&&(k=s),gl(k)&&(k=Hc(k))),gl(k)&&""!==k.trim()&&""===k.replace(/[a-z]|-|\d/gi,"")?k:null),Vc=k=>gl(k)&&(k=k.trim(),ip(k))?k:null,ip=k=>k.length>0&&/(\/|\.)/.test(k),gl=k=>"string"==typeof k,Hc=k=>k.toLowerCase(),dm=k=>k&&""!==k.dir?"rtl"===k.dir.toLowerCase():"rtl"===document?.dir.toLowerCase(),rp=k=>{if(1===k.nodeType){if("script"===k.nodeName.toLowerCase())return!1;for(let s=0;s{const h={};return s.forEach(g=>{k.hasAttribute(g)&&(null!==k.getAttribute(g)&&(h[g]=k.getAttribute(g)),k.removeAttribute(g))}),h})(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(s,h,g){if(p.L2.isBrowser&&this.lazy&&typeof window<"u"&&window.IntersectionObserver){const F=this.io=new window.IntersectionObserver(Z=>{Z[0].isIntersecting&&(F.disconnect(),this.io=void 0,g())},{rootMargin:h});F.observe(s)}else g()}loadIcon(){if(p.L2.isBrowser&&this.isVisible){const s=(k=>{let s=Vc(k.src);return s||(s=op(k.name,k.icon,k.mode,k.ios,k.md),s?yb(s,k):k.icon&&(s=Vc(k.icon),s||(s=Vc(k.icon[k.mode]),s))?s:null)})(this);s&&(bl.has(s)?this.svgContent=bl.get(s):((k,s)=>{let h=Id.get(k);if(!h){if(!(typeof fetch<"u"&&typeof document<"u"))return bl.set(k,""),Promise.resolve();if((k=>k.startsWith("data:image/svg+xml"))(k)&&(k=>-1!==k.indexOf(";utf8,"))(k)){Al||(Al=new DOMParser);const F=Al.parseFromString(k,"text/html").querySelector("svg");return F&&bl.set(k,F.outerHTML),Promise.resolve()}h=fetch(k).then(g=>{if(g.ok)return g.text().then(F=>{F&&!1!==s&&(F=(k=>{const s=document.createElement("div");s.innerHTML=k;for(let g=s.childNodes.length-1;g>=0;g--)"svg"!==s.childNodes[g].nodeName.toLowerCase()&&s.removeChild(s.childNodes[g]);const h=s.firstElementChild;if(h&&"svg"===h.nodeName.toLowerCase()){const g=h.getAttribute("class")||"";if(h.setAttribute("class",(g+" s-ion-icon").trim()),rp(h))return s.innerHTML}return""})(F)),bl.set(k,F||"")});bl.set(k,"")}),Id.set(k,h)}return h})(s,this.sanitize).then(()=>this.svgContent=bl.get(s)),this.didLoadIcon=!0)}this.iconName=op(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:s,iconName:h,inheritedAttributes:g,el:F}=this,Z=this.mode||"md",we=!!h&&(h.includes("arrow")||h.includes("chevron"))&&!1!==s,nt=s||we;return(0,p.h)(p.xr,Object.assign({role:"img",class:Object.assign(Object.assign({[Z]:!0},ap(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":nt,"icon-rtl":nt&&dm(F)})},g),(0,p.h)("div",p.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]}]),Ad=()=>p.L2.isBrowser&&typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",ap=k=>k?{"ion-color":!0,[`ion-color-${k}`]:!0}:null,mm=function hm(){typeof customElements>"u"||["ion-icon"].forEach(s=>{"ion-icon"===s&&(customElements.get(s)||customElements.define(s,Gy))})},Ob=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.ionChange=(0,p.lh)(this,"ionChange",7),this.ionValueChange=(0,p.lh)(this,"ionValueChange",7),this.inputId="ion-rg-"+bm++,this.labelId=`${this.inputId}-lbl`,this.setRadioTabindex=s=>{const h=this.getRadios(),g=h.find(we=>!we.disabled),F=h.find(we=>we.value===s&&!we.disabled);if(!g&&!F)return;const Z=F||g;for(const we of h)we.setButtonTabindex(we===Z?0:-1)},this.onClick=s=>{s.preventDefault();const h=s.target&&s.target.closest("ion-radio");if(h&&!h.disabled){const F=h.value;F!==this.value?(this.value=F,this.emitValueChange(s)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(s))}},this.allowEmptySelection=!1,this.compareWith=void 0,this.name=this.inputId,this.value=void 0}valueChanged(s){this.setRadioTabindex(s),this.ionValueChange.emit({value:s})}componentDidLoad(){this.valueChanged(this.value)}connectedCallback(){var s=this;return(0,d.A)(function*(){const h=s.el.querySelector("ion-list-header")||s.el.querySelector("ion-item-divider");if(h){const g=s.label=h.querySelector("ion-label");g&&(s.labelId=g.id=s.name+"-lbl")}})()}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(s){const{value:h}=this;this.ionChange.emit({value:h,event:s})}onKeydown(s){const h=!!this.el.closest("ion-select-popover");if(s.target&&!this.el.contains(s.target))return;const g=this.getRadios().filter(F=>!F.disabled);if(s.target&&g.includes(s.target)){const F=g.findIndex(nt=>nt===s.target),Z=g[F];let we;if(["ArrowDown","ArrowRight"].includes(s.key)&&(we=F===g.length-1?g[0]:g[F+1]),["ArrowUp","ArrowLeft"].includes(s.key)&&(we=0===F?g[g.length-1]:g[F-1]),we&&g.includes(we)&&(we.setFocus(s),h||(this.value=we.value,this.emitValueChange(s))),[" "].includes(s.key)){const nt=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:Z.value,(nt!==this.value||this.allowEmptySelection)&&this.emitValueChange(s),s.preventDefault()}}}render(){const{label:s,labelId:h,el:g,name:F,value:Z}=this,we=(0,qe.b)(this);return(0,a.e)(!0,g,F,Z,!1),(0,p.h)(p.xr,{key:"7a8ad7eb6a05c6f96a348dcf30fd0c610a95688c",role:"radiogroup","aria-labelledby":s?h:null,onClick:this.onClick,class:we})}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 bm=0;const Fb=function lp(){typeof customElements>"u"||["ion-radio-group"].forEach(s=>{"ion-radio-group"===s&&(customElements.get(s)||customElements.define(s,Ob))})},ym=(0,p.w$)(class extends p.wt{constructor(){var s;super(),s=this,this.__registerHost(),this.__attachShadow(),this.ionChange=(0,p.lh)(this,"ionChange",7),this.ionInput=(0,p.lh)(this,"ionInput",7),this.ionFocus=(0,p.lh)(this,"ionFocus",7),this.ionBlur=(0,p.lh)(this,"ionBlur",7),this.ionKnobMoveStart=(0,p.lh)(this,"ionKnobMoveStart",7),this.ionKnobMoveEnd=(0,p.lh)(this,"ionKnobMoveEnd",7),this.rangeId="ion-r-"+cp++,this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.inheritedAttributes={},this.contentEl=null,this.initialContentScrollY=!0,this.clampBounds=h=>(0,a.k)(this.min,h,this.max),this.ensureValueInBounds=h=>this.dualKnobs?{lower:this.clampBounds(h.lower),upper:this.clampBounds(h.upper)}:this.clampBounds(h),this.setupGesture=(0,d.A)(function*(){const h=s.rangeSlider;h&&(s.gesture=(yield Promise.resolve().then(i.bind(i,2104))).createGesture({el:h,gestureName:"range",gesturePriority:100,threshold:10,onStart:()=>s.onStart(),onMove:g=>s.onMove(g),onEnd:g=>s.onEnd(g)}),s.gesture.enable(!s.disabled))}),this.handleKeyboard=(h,g)=>{const{ensureValueInBounds:F}=this;let Z=this.step;Z=Z>0?Z:1,Z/=this.max-this.min,g||(Z*=-1),"A"===h?this.ratioA=(0,a.k)(0,this.ratioA+Z,1):this.ratioB=(0,a.k)(0,this.ratioB+Z,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=h=>Math.round(h),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:s,debounce:h,originalIonInput:g}=this;this.ionInput=void 0===h?g??s:(0,a.l)(s,h)}minChanged(){this.noUpdate||this.updateRatio()}maxChanged(){this.noUpdate||this.updateRatio()}activeBarStartChanged(){const{activeBarStart:s}=this;void 0!==s&&(s>this.max?((0,bo.p)(`Range: The value of activeBarStart (${s}) 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):s({[li]:Ni[li]});!1===this.dualKnobs&&(this.valA<(null!==(s=this.activeBarStart)&&void 0!==s?s:this.min)?(co=100*An+"%",Oo=100-100*Kt+"%"):(co=100*Kt+"%",Oo=100-100*An+"%"));const Oi={[li]:co,[ji]:Oo},Wi=[];if(this.snaps&&this.ticks)for(let Ni=h;Ni<=g;Ni+=F){const Qi=Kc(Ni,h,g),Xr=Math.min(Kt,An),_s=Math.max(Kt,An),ps={ratio:Qi,active:Qi>=Xr&&Qi<=_s};ps[li]=100*Qi+"%",Wi.push(ps)}return(0,p.h)("div",{class:"range-slider",ref:Ni=>this.rangeSlider=Ni,onPointerUp:Ni=>{void 0===this.pressedKnob&&(this.onStart(),this.onEnd(Ni))}},Wi.map(Ni=>(0,p.h)("div",{style:zi(Ni),role:"presentation",class:{"range-tick":!0,"range-tick-active":Ni.active},part:Ni.active?"tick-active":"tick"})),(0,p.h)("div",{class:"range-bar-container"},(0,p.h)("div",{class:"range-bar",role:"presentation",part:"bar"}),(0,p.h)("div",{class:{"range-bar":!0,"range-bar-active":!0,"has-ticks":Wi.length>0},role:"presentation",style:Oi,part:"bar-active"})),Ib(Ao,{knob:"A",pressed:"A"===we,value:this.valA,ratio:this.ratioA,pin:ht,pinFormatter:Zn,disabled:nt,handleKeyboard:Z,min:h,max:g,inheritedAttributes:mo}),this.dualKnobs&&Ib(Ao,{knob:"B",pressed:"B"===we,value:this.valB,ratio:this.ratioB,pin:ht,pinFormatter:Zn,disabled:nt,handleKeyboard:Z,min:h,max:g,inheritedAttributes:mo}))}render(){const{disabled:s,el:h,hasLabel:g,rangeId:F,pin:Z,pressedKnob:we,labelPlacement:nt,label:ht}=this,Kt=_("ion-item",h),Zn=Kt&&!(g&&("start"===nt||"fixed"===nt)||this.hasStartSlotContent),co=Kt&&!(g&&"end"===nt||this.hasEndSlotContent),Oo=(0,qe.b)(this);return(0,a.e)(!0,h,this.name,JSON.stringify(this.getValue()),s),(0,p.h)(p.xr,{key:"7ad5ca892fd46c64ce5583e91e6812410a869921",onFocusin:this.onFocus,onFocusout:this.onBlur,id:F,class:v(this.color,{[Oo]:!0,"in-item":Kt,"range-disabled":s,"range-pressed":void 0!==we,"range-has-pin":Z,[`range-label-placement-${nt}`]:!0,"range-item-start-adjustment":Zn,"range-item-end-adjustment":co})},(0,p.h)("label",{key:"eb8d46a9572341b4cc3c91d8a5de0667bd166ca4",class:"range-wrapper",id:"range-label"},(0,p.h)("div",{key:"21acd6ff6eba17bf6923bf723fea055b95fd29ca",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!g},part:"label"},void 0!==ht?(0,p.h)("div",{class:"label-text"},ht):(0,p.h)("slot",{name:"label"})),(0,p.h)("div",{key:"7644c86a6ad3edf2c27f02dd2a14795b3720ea0d",class:"native-wrapper"},(0,p.h)("slot",{key:"1bbeccee57addc126b36de395e28ba655248695b",name:"start"}),this.renderRangeSlider(),(0,p.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"]}]),Ib=(k,{knob:s,value:h,ratio:g,min:F,max:Z,disabled:we,pressed:nt,pin:ht,handleKeyboard:Kt,pinFormatter:An,inheritedAttributes:Zn})=>{const mo=k?"right":"left",Oo=Zn["aria-label"];return(0,p.h)("div",{onKeyDown:Ao=>{const li=Ao.key;"ArrowLeft"===li||"ArrowDown"===li?(Kt(s,!1),Ao.preventDefault(),Ao.stopPropagation()):("ArrowRight"===li||"ArrowUp"===li)&&(Kt(s,!0),Ao.preventDefault(),Ao.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":"A"===s,"range-knob-b":"B"===s,"range-knob-pressed":nt,"range-knob-min":h===F,"range-knob-max":h===Z,"ion-activatable":!0,"ion-focusable":!0},style:(()=>{const Ao={};return Ao[mo]=100*g+"%",Ao})(),role:"slider",tabindex:we?-1:0,"aria-label":void 0!==Oo?Oo:null,"aria-labelledby":void 0===Oo?"range-label":null,"aria-valuemin":F,"aria-valuemax":Z,"aria-disabled":we?"true":null,"aria-valuenow":h},ht&&(0,p.h)("div",{class:"range-pin",role:"presentation",part:"pin"},An(h)),(0,p.h)("div",{class:"range-knob",role:"presentation",part:"knob"}))},vm=(k,s,h,g)=>{let F=(h-s)*k;return g>0&&(F=Math.round(F/g)*g+s),function Rd(k,...s){const h=Math.max(...s.map(g=>function Tb(k){return k%1==0?0:k.toString().split(".")[1].length}(g)));return Number(k.toFixed(h))}((0,a.k)(s,F,h),s,h,g)},Kc=(k,s,h)=>(0,a.k)(0,(k-s)/(h-s),1);let cp=0;const Qy=function dp(){typeof customElements>"u"||["ion-range"].forEach(s=>{"ion-range"===s&&(customElements.get(s)||customElements.define(s,ym))})},pp=(0,p.w$)(class extends p.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=(0,p.lh)(this,"ionChange",7),this.ionSelect=(0,p.lh)(this,"ionSelect",7),this.ionStyle=(0,p.lh)(this,"ionStyle",7),this.onClick=s=>{const h=s.target,g=this.checked;"ION-SEGMENT"!==h.tagName&&(this.value=h.value,h!==g&&this.emitValueChange(),(this.scrollable||!this.swipeGesture)&&(g?this.checkButton(g,h):this.setCheckedClasses()))},this.onSlottedItemsChange=()=>{this.valueChanged(this.value)},this.getSegmentButton=s=>{var h,g;const F=this.getButtons().filter(we=>!we.disabled),Z=F.findIndex(we=>we===document.activeElement);switch(s){case"first":return F[0];case"last":return F[F.length-1];case"next":return null!==(h=F[Z+1])&&void 0!==h?h:F[0];case"previous":return null!==(g=F[Z-1])&&void 0!==g?g: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(s,h){(void 0===h&&void 0!==s||void 0!==h&&void 0===s)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(s){this.ionSelect.emit({value:s}),this.scrollActiveButtonIntoView()}disabledChanged(){this.gestureChanged();const s=this.getButtons();for(const h of s)h.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}componentDidLoad(){var s=this;return(0,d.A)(function*(){s.setCheckedClasses(),(0,a.r)(()=>{s.scrollActiveButtonIntoView(!1)}),s.gesture=(yield Promise.resolve().then(i.bind(i,2104))).createGesture({el:s.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:h=>s.onStart(h),onMove:h=>s.onMove(h),onEnd:h=>s.onEnd(h)}),s.gestureChanged(),s.disabled&&s.disabledChanged()})()}onStart(s){this.valueBeforeGesture=this.value,this.activate(s)}onMove(s){this.setNextIndex(s)}onEnd(s){this.setActivated(!1),this.setNextIndex(s,!0),s.event.stopImmediatePropagation();const h=this.value;void 0!==h&&this.valueBeforeGesture!==h&&this.emitValueChange(),this.valueBeforeGesture=void 0}emitValueChange(){const{value:s}=this;this.ionChange.emit({value:s})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(s=>s.value===this.value)}setActivated(s){this.getButtons().forEach(g=>{s?g.classList.add("segment-button-activated"):g.classList.remove("segment-button-activated")}),this.activated=s}activate(s){const h=s.event.target,F=this.getButtons().find(Z=>Z.value===this.value);"ION-SEGMENT-BUTTON"===h.tagName&&(F||(this.value=h.value,this.setCheckedClasses()),this.value===h.value&&this.setActivated(!0))}getIndicator(s){return(s.shadowRoot||s).querySelector(".segment-button-indicator")}checkButton(s,h){const g=this.getIndicator(s),F=this.getIndicator(h);if(null===g||null===F)return;const Z=g.getBoundingClientRect(),we=F.getBoundingClientRect(),Kt=`translate3d(${Z.left-we.left}px, 0, 0) scaleX(${Z.width/we.width})`;(0,p.bN)(()=>{F.classList.remove("segment-button-indicator-animated"),F.style.setProperty("transform",Kt),F.getBoundingClientRect(),F.classList.add("segment-button-indicator-animated"),F.style.setProperty("transform","")}),this.value=h.value,this.setCheckedClasses()}setCheckedClasses(){const s=this.getButtons(),g=s.findIndex(F=>F.value===this.value)+1;for(const F of s)F.classList.remove("segment-button-after-checked");gnt.value===g);if(void 0!==we){const nt=F.getBoundingClientRect(),ht=we.getBoundingClientRect();F.scrollBy({top:0,left:ht.x-nt.x-nt.width/2+ht.width/2,behavior:s?"smooth":"instant"})}}}setNextIndex(s,h=!1){const g=(0,Yr.i)(this.el),F=this.activated,Z=this.getButtons(),we=Z.findIndex(Oi=>Oi.value===this.value),nt=Z[we];let ht,Kt;if(-1===we)return;const An=nt.getBoundingClientRect(),Zn=An.left,mo=An.width,co=s.currentX,Oo=An.top+An.height/2,li=this.el.getRootNode().elementFromPoint(co,Oo);if(F&&!h){if(g?co>Zn+mo:co=0&&(Kt=Oi)}else if((g?coZn+mo)&&F&&!h){const Oi=we+1;Oi"u"||["ion-segment"].forEach(s=>{"ion-segment"===s&&(customElements.get(s)||customElements.define(s,pp))})},_p=(0,p.w$)(class extends p.wt{constructor(){var s;super(),s=this,this.__registerHost(),this.__attachShadow(),this.ionChange=(0,p.lh)(this,"ionChange",7),this.ionFocus=(0,p.lh)(this,"ionFocus",7),this.ionBlur=(0,p.lh)(this,"ionBlur",7),this.inputId="ion-tg-"+e0++,this.lastDrag=0,this.inheritedAttributes={},this.didLoad=!1,this.setupGesture=(0,d.A)(function*(){const{toggleTrack:h}=s;h&&(s.gesture=(yield Promise.resolve().then(i.bind(i,2104))).createGesture({el:h,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:()=>s.onStart(),onMove:g=>s.onMove(g),onEnd:g=>s.onEnd(g)}),s.disabledChanged())}),this.onClick=h=>{this.disabled||(h.preventDefault(),this.lastDrag+300{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.getSwitchLabelIcon=(h,g)=>"md"===h?g?"data:image/svg+xml;utf8,":mn:g?mn:"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=qe.c.get("toggleOnOffLabels"),this.labelPlacement="start",this.justify="space-between",this.alignment="center"}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}toggleChecked(){const{checked:s,value:h}=this,g=!s;this.checked=g,this.ionChange.emit({checked:g,value:h})}connectedCallback(){var s=this;return(0,d.A)(function*(){s.didLoad&&s.setupGesture()})()}componentDidLoad(){this.setupGesture(),this.didLoad=!0}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,a.i)(this.el))}onStart(){this.activated=!0,this.setFocus()}onMove(s){Nd((0,Yr.i)(this.el),this.checked,s.deltaX,-10)&&(this.toggleChecked(),rc()&&Hl.selection())}onEnd(s){this.activated=!1,this.lastDrag=Date.now(),s.event.preventDefault(),s.event.stopImmediatePropagation()}getValue(){return this.value||""}setFocus(){this.focusEl&&this.focusEl.focus()}renderOnOffSwitchLabels(s,h){const g=this.getSwitchLabelIcon(s,h);return(0,p.h)("ion-icon",{class:{"toggle-switch-icon":!0,"toggle-switch-icon-checked":h},icon:g,"aria-hidden":"true"})}renderToggleControl(){const s=(0,qe.b)(this),{enableOnOffLabels:h,checked:g}=this;return(0,p.h)("div",{class:"toggle-icon",part:"track",ref:F=>this.toggleTrack=F},h&&"ios"===s&&[this.renderOnOffSwitchLabels(s,!0),this.renderOnOffSwitchLabels(s,!1)],(0,p.h)("div",{class:"toggle-icon-wrapper"},(0,p.h)("div",{class:"toggle-inner",part:"handle"},h&&"md"===s&&this.renderOnOffSwitchLabels(s,g))))}get hasLabel(){return""!==this.el.textContent}render(){const{activated:s,color:h,checked:g,disabled:F,el:Z,justify:we,labelPlacement:nt,inputId:ht,name:Kt,alignment:An}=this,Zn=(0,qe.b)(this),mo=this.getValue(),co=(0,Yr.i)(Z)?"rtl":"ltr";return(0,a.e)(!0,Z,Kt,g?mo:"",F),(0,p.h)(p.xr,{key:"b0d648e071bc8095998b519ce4dcdd0ea91575c0",onClick:this.onClick,class:v(h,{[Zn]:!0,"in-item":_("ion-item",Z),"toggle-activated":s,"toggle-checked":g,"toggle-disabled":F,[`toggle-justify-${we}`]:!0,[`toggle-alignment-${An}`]:!0,[`toggle-label-placement-${nt}`]:!0,[`toggle-${co}`]:!0})},(0,p.h)("label",{key:"9a2fe1d16dba66a9dfef450efebf2e5cbe3dcd00",class:"toggle-wrapper"},(0,p.h)("input",Object.assign({key:"4358d18cb86da768155c17f9da3aac641296c256",type:"checkbox",role:"switch","aria-checked":`${g}`,checked:g,disabled:F,id:ht,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:Oo=>this.focusEl=Oo},this.inheritedAttributes)),(0,p.h)("div",{key:"0ec99e452164d7059cc4f93d09e5b918f82c022a",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},(0,p.h)("slot",{key:"1c5cbc99905a79e842e9487eb3ca654e1bab3c66"})),(0,p.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"]}]),Nd=(k,s,h,g)=>s?!k&&g>h||k&&-gh;let e0=0;const o0=function t0(){typeof customElements>"u"||["ion-toggle","ion-icon"].forEach(s=>{switch(s){case"ion-toggle":customElements.get(s)||customElements.define(s,_p);break;case"ion-icon":customElements.get(s)||Bn()}})},r0=["outletContent"],Ar=["*"];function yp(k,s){if(1&k&&(l.j41(0,"div",1),l.eu8(1,2),l.k0s()),2&k){const h=l.XpG();l.R7$(),l.Y8G("ngTemplateOutlet",h.template)}}const zd=["outlet"],vp=[[["","slot","top"]],"*"],s0=["[slot=top]","*"];let Ud=(()=>{var k;let s=((0,e.A)(k=class extends M.Rg{constructor(g,F,Z,we,nt,ht,Kt,An){super(g,F,Z,we,nt,ht,Kt,An),(0,e.A)(this,"parentOutlet",void 0),(0,e.A)(this,"outletContent",void 0),this.parentOutlet=An}},"\u0275fac",function(g){return new(g||k)(l.kS0("name"),l.kS0("tabs"),l.rXU(On.aZ),l.rXU(l.aKT),l.rXU(ni.Ix),l.rXU(l.SKi),l.rXU(ni.nX),l.rXU(k,12))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-router-outlet"]],viewQuery:function(g,F){if(1&g&&l.GBs(r0,7,l.c1b),2&g){let Z;l.mGM(Z=l.lsd())&&(F.outletContent=Z.first)}},standalone:!0,features:[l.Vt3,l.aNF],ngContentSelectors:Ar,decls:3,vars:0,consts:[["outletContent",""]],template:function(g,F){1&g&&(l.NAR(),l.qex(0,null,0),l.SdG(2),l.bVm())},encapsulation:2})),k);return s=(0,t.Cg)([(0,M.hO)({defineCustomElementFn:kn})],s),s})(),kp=(()=>{var k;let s=((0,e.A)(k=class extends M.el{constructor(g,F,Z,we,nt,ht){super(g,F,Z,we,nt,ht)}},"\u0275fac",function(g){return new(g||k)(l.rXU(Ud,8),l.rXU(M.q9),l.rXU(M.TS),l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.gRc))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-back-button"]],standalone:!0,features:[l.Vt3,l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([(0,M.hO)({defineCustomElementFn:Pt})],s),s})(),Bm=(()=>{var k;let s=((0,e.A)(k=class extends M.Sb{},"\u0275fac",(()=>{let h;return function(F){return(h||(h=l.xGo(k)))(F||k)}})()),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-modal"]],standalone:!0,features:[l.Vt3,l.aNF],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(g,F){1&g&&l.DNE(0,yp,2,1,"div",0),2&g&&l.Y8G("ngIf",F.isCmpOpen||F.keepContentsMounted)},dependencies:[On.MD,On.bT,On.T3],encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([(0,M.hO)({defineCustomElementFn:Hr})],s),s})();const xp=(k,s)=>{const h=k.prototype;s.forEach(g=>{Object.defineProperty(h,g,{get(){return this.el[g]},set(F){this.z.runOutsideAngular(()=>this.el[g]=F)},configurable:!0})})},c0=(k,s)=>{const h=k.prototype;s.forEach(g=>{h[g]=function(){const F=arguments;return this.z.runOutsideAngular(()=>this.el[g].apply(this.el,F))}})},na=(k,s,h)=>{h.forEach(g=>k[g]=(0,ki.R)(s,g))};function Ur(k){return function(h){const{defineCustomElementFn:g,inputs:F,methods:Z}=k;return void 0!==g&&g(),F&&xp(h,F),Z&&c0(h,Z),h}}let Nm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-app"]],standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Ve})],s),s})(),Xc=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionBackdropTap"])}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:At,inputs:["stopPropagation","tappable","visible"]})],s),s})(),zm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:er,inputs:["color","mode"]})],s),s})(),Wm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Xs,inputs:["collapse"]})],s),s})(),Vm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Ia,inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],s),s})(),Hm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Za,inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],s),s})(),Gm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionFocus","ionBlur"])}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,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"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Re,inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],s),s})(),f0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Ir,inputs:["activated","side"]})],s),s})(),Wd=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Es,inputs:["collapse","mode","translucent"]})],s),s})(),wp=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Mi,inputs:["collapse","mode","translucent"]})],s),s})(),Mp=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,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"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:P,inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],s),s})(),Xm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:hn,inputs:["color","mode","sticky"]})],s),s})(),Dp=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-item-group"]],standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:W})],s),s})(),b0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:lo,inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],s),s})(),_0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionSwipe"])}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-item-options"]],inputs:{side:"side"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:As,inputs:["side"]})],s),s})(),y0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionDrag"])}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:T,inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],s),s})(),Qm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:wn,inputs:["color","mode","position"]})],s),s})(),v0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Hi,inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],s),s})(),k0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Us,inputs:["color","lines","mode"]})],s),s})(),Jm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionFocus","ionBlur"])}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:pg,inputs:["alignment","color","disabled","justify","labelPlacement","mode","name","value"]})],s),s})(),E0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionRefresh","ionPull","ionStart"])}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Ic,inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],s),s})(),w0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-reorder"]],standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Dy})],s),s})(),qm=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionItemReorder"])}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:vh,inputs:["disabled"],methods:["complete"]})],s),s})(),Pp=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Cg,inputs:["disabled","layout","mode","type","value"]})],s),s})(),Op=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Dg,inputs:["color","mode","selectedTab","translucent"]})],s),s})(),_l=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Tu,inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],s),s})(),M0=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Ph,inputs:["color","size"]})],s),s})(),tf=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:ml,inputs:["color","mode"]})],s),s})(),Hd=(()=>{var k;class s extends M.p4{constructor(...g){super(...g),(0,e.A)(this,"outlet",void 0),(0,e.A)(this,"tabBar",void 0),(0,e.A)(this,"tabBars",void 0)}}return k=s,(0,e.A)(s,"\u0275fac",(()=>{let h;return function(F){return(h||(h=l.xGo(k)))(F||k)}})()),(0,e.A)(s,"\u0275cmp",l.VBU({type:k,selectors:[["ion-tabs"]],contentQueries:function(g,F,Z){if(1&g&&(l.wni(Z,Op,5),l.wni(Z,Op,4)),2&g){let we;l.mGM(we=l.lsd())&&(F.tabBar=we.first),l.mGM(we=l.lsd())&&(F.tabBars=we)}},viewQuery:function(g,F){if(1&g&&l.GBs(zd,5,Ud),2&g){let Z;l.mGM(Z=l.lsd())&&(F.outlet=Z.first)}},standalone:!0,features:[l.Vt3,l.aNF],ngContentSelectors:s0,decls:6,vars:0,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(g,F){if(1&g){const Z=l.RV6();l.NAR(vp),l.SdG(0),l.j41(1,"div",2,0)(3,"ion-router-outlet",3,1),l.bIt("stackWillChange",function(nt){return l.eBV(Z),l.Njj(F.onStackWillChange(nt))})("stackDidChange",function(nt){return l.eBV(Z),l.Njj(F.onStackDidChange(nt))}),l.k0s()(),l.SdG(5,1)}},dependencies:[Ud],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}"]})),s})(),Gd=(()=>{var k;class s extends M.Kb{constructor(){super(Ii),(0,e.A)(this,"angularDelegate",(0,l.WQX)(M.Yq)),(0,e.A)(this,"injector",(0,l.WQX)(l.zZn)),(0,e.A)(this,"environmentInjector",(0,l.WQX)(l.uvJ)),Hr()}create(g){return super.create({...g,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return k=s,(0,e.A)(s,"\u0275fac",function(g){return new(g||k)}),(0,e.A)(s,"\u0275prov",l.jDH({token:k,factory:k.\u0275fac})),s})();class Av extends M.Kb{constructor(){super(bi),(0,e.A)(this,"angularDelegate",(0,l.WQX)(M.Yq)),(0,e.A)(this,"injector",(0,l.WQX)(l.zZn)),(0,e.A)(this,"environmentInjector",(0,l.WQX)(l.uvJ)),To()}create(s){return super.create({...s,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}const nf=(k={})=>(0,l.EmA)([{provide:M.sR,useValue:k},{provide:l.hnV,useFactory:rf,multi:!0,deps:[M.sR,On.qQ]},(0,M.YV)(),M.Yq,Gd,Av]),rf=(k,s)=>()=>{s.documentElement.classList.add("ion-ce"),(0,qe.i)(k)};let Tp=(()=>{var k;class s{create(g){return(0,ce.c)(g)}easingTime(g,F,Z,we,nt){return ot(g,F,Z,we,nt)}}return k=s,(0,e.A)(s,"\u0275fac",function(g){return new(g||k)}),(0,e.A)(s,"\u0275prov",l.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})),s})(),O0=(()=>{var k;class s extends M.Kb{constructor(){super(xi),function Pa(){typeof customElements>"u"||["ion-loading","ion-backdrop","ion-spinner"].forEach(s=>{switch(s){case"ion-loading":customElements.get(s)||customElements.define(s,lh);break;case"ion-backdrop":customElements.get(s)||ie();break;case"ion-spinner":customElements.get(s)||function Wl(){typeof customElements>"u"||["ion-spinner"].forEach(s=>{"ion-spinner"===s&&(customElements.get(s)||customElements.define(s,rl))})}()}})}()}}return k=s,(0,e.A)(s,"\u0275fac",function(g){return new(g||k)}),(0,e.A)(s,"\u0275prov",l.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})),s})(),F0=(()=>{var k;class s extends M.Kb{constructor(){super(Rr),function Sh(){typeof customElements>"u"||["ion-toast","ion-icon","ion-ripple-effect"].forEach(s=>{switch(s){case"ion-toast":customElements.get(s)||customElements.define(s,Sy);break;case"ion-icon":customElements.get(s)||Bn();break;case"ion-ripple-effect":customElements.get(s)||Go()}})}()}}return k=s,(0,e.A)(s,"\u0275fac",function(g){return new(g||k)}),(0,e.A)(s,"\u0275prov",l.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})),s})();const af=["checked","color","disabled","indeterminate","justify","labelPlacement","mode","name","value"],Jl={provide:Va.kq,useExisting:(0,l.Rfq)(()=>ql),multi:!0};let ql=(()=>{var k;let s=((0,e.A)(k=class extends M.fL{constructor(g,F,Z,we){super(we,F),(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionChange","ionFocus","ionBlur"])}writeValue(g){this.elementRef.nativeElement.checked=this.lastValue=g,(0,M.z3)(this.elementRef)}handleIonChange(g){this.handleValueChange(g,g.checked)}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.zZn))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-checkbox"]],hostBindings:function(g,F){1&g&&l.bIt("ionChange",function(we){return F.handleIonChange(we.target)})},inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},standalone:!0,features:[l.Jv_([Jl]),l.Vt3,l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:ju,inputs:af})],s),s})(),cf=(()=>{var k;let s=((0,e.A)(k=class{constructor(g,F,Z){(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,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"},standalone:!0,features:[l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:mm,inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],s),s})();const A0=["allowEmptySelection","name","value"],R0={provide:Va.kq,useExisting:(0,l.Rfq)(()=>df),multi:!0};let df=(()=>{var k;let s=((0,e.A)(k=class extends M.fL{constructor(g,F,Z,we){super(we,F),(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionChange"])}handleIonChange(g){this.handleValueChange(g,g.value)}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.zZn))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-radio-group"]],hostBindings:function(g,F){1&g&&l.bIt("ionChange",function(we){return F.handleIonChange(we.target)})},inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},standalone:!0,features:[l.Jv_([R0]),l.Vt3,l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Fb,inputs:A0})],s),s})();const uf=["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"],L0={provide:Va.kq,useExisting:(0,l.Rfq)(()=>qc),multi:!0};let qc=(()=>{var k;let s=((0,e.A)(k=class extends M.fL{constructor(g,F,Z,we){super(we,F),(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}handleIonInput(g){this.handleValueChange(g,g.value)}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.zZn))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-range"]],hostBindings:function(g,F){1&g&&l.bIt("ionInput",function(we){return F.handleIonInput(we.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"},standalone:!0,features:[l.Jv_([L0]),l.Vt3,l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Qy,inputs:uf})],s),s})();const hf=["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"],N0={provide:Va.kq,useExisting:(0,l.Rfq)(()=>mf),multi:!0};let mf=(()=>{var k;let s=((0,e.A)(k=class extends M.fL{constructor(g,F,Z,we){super(we,F),(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionChange"])}handleIonChange(g){this.handleValueChange(g,g.value)}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.zZn))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-segment"]],hostBindings:function(g,F){1&g&&l.bIt("ionChange",function(we){return F.handleIonChange(we.target)})},inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},standalone:!0,features:[l.Jv_([N0]),l.Vt3,l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:Em,inputs:hf})],s),s})();const $0=["checked","color","disabled","enableOnOffLabels","justify","labelPlacement","mode","name","value"],z0={provide:Va.kq,useExisting:(0,l.Rfq)(()=>bf),multi:!0};let bf=(()=>{var k;let s=((0,e.A)(k=class extends M.fL{constructor(g,F,Z,we){super(we,F),(0,e.A)(this,"z",void 0),(0,e.A)(this,"el",void 0),this.z=Z,g.detach(),this.el=F.nativeElement,na(this,this.el,["ionChange","ionFocus","ionBlur"])}writeValue(g){this.elementRef.nativeElement.checked=this.lastValue=g,(0,M.z3)(this.elementRef)}handleIonChange(g){this.handleValueChange(g,g.checked)}},"\u0275fac",function(g){return new(g||k)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.zZn))}),(0,e.A)(k,"\u0275cmp",l.VBU({type:k,selectors:[["ion-toggle"]],hostBindings:function(g,F){1&g&&l.bIt("ionChange",function(we){return F.handleIonChange(we.target)})},inputs:{checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},standalone:!0,features:[l.Jv_([z0]),l.Vt3,l.aNF],ngContentSelectors:Ar,decls:1,vars:0,template:function(g,F){1&g&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})),k);return s=(0,t.Cg)([Ur({defineCustomElementFn:o0,inputs:$0})],s),s})()},51771:(Ze,z,i)=>{"use strict";i.d(z,{L2:()=>a,wt:()=>Bt,xr:()=>ot,lh:()=>ao,$x:()=>si,OX:()=>Ln,Wi:()=>Wn,h:()=>qt,w$:()=>Lr,gv:()=>Vt,iY:()=>an,zb:()=>Nn,bN:()=>Gt});var e=i(10467),t={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},M="app",d=Object.defineProperty,a={isDev:!!t.isDev,isBrowser:!0,isServer:!1,isTesting:!!t.isTesting},_=t.hotModuleReplacement?window.__STENCIL_HOSTREFS__||(window.__STENCIL_HOSTREFS__=new WeakMap):new WeakMap,v=D=>_.get(D),O=(D,N)=>N in D,$=(D,N)=>(0,console.error)(D,N),K=t.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],X=(...D)=>console.error(...K,...D),J=(...D)=>console.warn(...K,...D),he=new Map,be=new Map,Ne=[],St="s-id",Ke="http://www.w3.org/1999/xlink",Je=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],Xe=typeof window<"u"?window:{},qe=Xe.document||{head:{}},Bt=Xe.HTMLElement||class{},It={$flags$:0,$resourcesUrl$:"",jmp:D=>D(),raf:D=>requestAnimationFrame(D),ael:(D,N,Y,xe)=>D.addEventListener(N,Y,xe),rel:(D,N,Y,xe)=>D.removeEventListener(N,Y,xe),ce:(D,N)=>new CustomEvent(D,N)},Nn=D=>{Object.assign(It,D)},Hn=t.shadowDom,xo=(()=>{let D=!1;try{qe.addEventListener("e",null,Object.defineProperty({},"passive",{get(){D=!0}}))}catch{}return D})(),xt=!!t.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Ht=0,$t=!1,Xt=[],ln=[],tn=[],En=(D,N)=>Y=>{D.push(Y),$t||($t=!0,N&&4&It.$flags$?gn(dn):It.raf(dn))},Un=D=>{for(let N=0;N{let Y=0,xe=0;for(;Y{if(t.asyncQueue&&Ht++,Un(Xt),t.asyncQueue){const D=2==(6&It.$flags$)?performance.now()+14*Math.ceil(.1*Ht):1/0;Tn(ln,D),Tn(tn,D),ln.length>0&&(tn.push(...ln),ln.length=0),($t=Xt.length+ln.length+tn.length>0)?It.raf(dn):Ht=0}else Un(ln),($t=Xt.length>0)&&It.raf(dn)},gn=D=>Promise.resolve(void 0).then(D),Vt=En(Xt,!1),Gt=En(ln,!0),Ln=D=>{const N=new URL(D,It.$resourcesUrl$);return N.origin!==Xe.location.origin?N.href:N.pathname},yn={},yo=D=>"object"==(D=typeof D)||"function"===D;((D,N)=>{for(var Y in N)d(D,Y,{get:N[Y],enumerable:!0})})({},{err:()=>ko,map:()=>ei,ok:()=>ci,unwrap:()=>Go,unwrapErr:()=>Ji});var ci=D=>({isOk:!0,isErr:!1,value:D}),ko=D=>({isOk:!1,isErr:!0,value:D});function ei(D,N){if(D.isOk){const Y=N(D.value);return Y instanceof Promise?Y.then(xe=>ci(xe)):ci(Y)}if(D.isErr)return ko(D.value);throw"should never get here"}var Go=D=>{if(D.isOk)return D.value;throw D.value},Ji=D=>{if(D.isErr)return D.value;throw D.value},pi=0,Si=(D,N="")=>{if(t.profile&&performance.mark){const Y=`st:${D}:${N}:${pi++}`;return performance.mark(Y),()=>performance.measure(`[Stencil] ${D}() <${N}>`,Y)}return()=>{}},qt=(D,N,...Y)=>{let xe=null,Ee=null,_e=null,Ie=!1,Le=!1;const Ae=[],ut=Nt=>{for(let Ot=0;OtNt[Ot]).join(" "))}if(t.isDev&&Ae.some(De)&&X("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."),t.vdomFunctional&&"function"==typeof D)return D(null===N?{}:N,Ae,Fe);const Et=Pt(D,null);return Et.$attrs$=N,Ae.length>0&&(Et.$children$=Ae),t.vdomKey&&(Et.$key$=Ee),t.slotRelocation&&(Et.$name$=_e),Et},Pt=(D,N)=>{const Y={$flags$:0,$tag$:D,$text$:N,$elm$:null,$children$:null};return t.vdomAttribute&&(Y.$attrs$=null),t.vdomKey&&(Y.$key$=null),t.slotRelocation&&(Y.$name$=null),Y},ot={},De=D=>D&&D.$tag$===ot,Fe={forEach:(D,N)=>D.map(tt).forEach(N),map:(D,N)=>D.map(tt).map(N).map(en)},tt=D=>({vattrs:D.$attrs$,vchildren:D.$children$,vkey:D.$key$,vname:D.$name$,vtag:D.$tag$,vtext:D.$text$}),en=D=>{if("function"==typeof D.vtag){const Y={...D.vattrs};return D.vkey&&(Y.key=D.vkey),D.vname&&(Y.name=D.vname),qt(D.vtag,Y,...D.vchildren||[])}const N=Pt(D.vtag,D.vtext);return N.$attrs$=D.vattrs,N.$children$=D.vchildren,N.$key$=D.vkey,N.$name$=D.vname,N},Xn=D=>{const N=Object.keys(D),Y=N.indexOf("value");if(-1===Y)return;const xe=N.indexOf("type"),Ee=N.indexOf("min"),_e=N.indexOf("max"),Ie=N.indexOf("step");(Y should be set after "min", "max", "type" and "step"')},zt=(D,N,Y,xe,Ee,_e,Ie)=>{let Le,Ae,ut,Et;if(1===_e.nodeType){if(Le=_e.getAttribute("c-id"),Le&&(Ae=Le.split("."),(Ae[0]===Ie||"0"===Ae[0])&&(ut={$flags$:0,$hostId$:Ae[0],$nodeId$:Ae[1],$depth$:Ae[2],$index$:Ae[3],$tag$:_e.tagName.toLowerCase(),$elm$:_e,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},N.push(ut),_e.removeAttribute("c-id"),D.$children$||(D.$children$=[]),D.$children$[ut.$index$]=ut,D=ut,xe&&"0"===ut.$depth$&&(xe[ut.$index$]=ut.$elm$))),_e.shadowRoot)for(Et=_e.shadowRoot.childNodes.length-1;Et>=0;Et--)zt(D,N,Y,xe,Ee,_e.shadowRoot.childNodes[Et],Ie);for(Et=_e.childNodes.length-1;Et>=0;Et--)zt(D,N,Y,xe,Ee,_e.childNodes[Et],Ie)}else if(8===_e.nodeType)Ae=_e.nodeValue.split("."),(Ae[1]===Ie||"0"===Ae[1])&&(Le=Ae[0],ut={$flags$:0,$hostId$:Ae[1],$nodeId$:Ae[2],$depth$:Ae[3],$index$:Ae[4],$elm$:_e,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===Le?(ut.$elm$=_e.nextSibling,ut.$elm$&&3===ut.$elm$.nodeType&&(ut.$text$=ut.$elm$.textContent,N.push(ut),_e.remove(),D.$children$||(D.$children$=[]),D.$children$[ut.$index$]=ut,xe&&"0"===ut.$depth$&&(xe[ut.$index$]=ut.$elm$))):ut.$hostId$===Ie&&("s"===Le?(ut.$tag$="slot",_e["s-sn"]=Ae[5]?ut.$name$=Ae[5]:"",_e["s-sr"]=!0,t.shadowDom&&xe&&(ut.$elm$=qe.createElement(ut.$tag$),ut.$name$&&ut.$elm$.setAttribute("name",ut.$name$),_e.parentNode.insertBefore(ut.$elm$,_e),_e.remove(),"0"===ut.$depth$&&(xe[ut.$index$]=ut.$elm$)),Y.push(ut),D.$children$||(D.$children$=[]),D.$children$[ut.$index$]=ut):"r"===Le&&(t.shadowDom&&xe?_e.remove():t.slotRelocation&&(Ee["s-cr"]=_e,_e["s-cn"]=!0))));else if(D&&"style"===D.$tag$){const Nt=Pt(null,_e.textContent);Nt.$elm$=_e,Nt.$index$="0",D.$children$=[Nt]}},_n=(D,N)=>{if(1===D.nodeType){let Y=0;if(D.shadowRoot)for(;YNe.push(D),Wn=D=>v(D).$modeName$,ao=(D,N,Y)=>{const xe=(D=>t.lazyLoad?v(D).$hostElement$:D)(D);return{emit:Ee=>(t.isDev&&!xe.isConnected&&J(`The "${N}" event was emitted, but the dispatcher node is no longer connected to the dom.`),kn(xe,N,{bubbles:!!(4&Y),composed:!!(2&Y),cancelable:!!(1&Y),detail:Ee}))}},kn=(D,N,Y)=>{const xe=It.ce(N,Y);return D.dispatchEvent(xe),xe},On=new WeakMap,Ro=(D,N,Y)=>{var xe;const Ee=$i(N,Y),_e=be.get(Ee);if(!t.attachStyles)return Ee;if(D=11===D.nodeType?D:qe,_e)if("string"==typeof _e){let Le,Ie=On.get(D=D.head||D);if(Ie||On.set(D,Ie=new Set),!Ie.has(Ee)){if(t.hydrateClientSide&&D.host&&(Le=D.querySelector(`[sty-id="${Ee}"]`)))Le.innerHTML=_e;else{Le=qe.createElement("style"),Le.innerHTML=_e;const Ae=null!=(xe=It.$nonce$)?xe:function oo(D){var N,Y,xe;return null!=(xe=null==(Y=null==(N=D.head)?void 0:N.querySelector('meta[name="csp-nonce"]'))?void 0:Y.getAttribute("content"))?xe:void 0}(qe);if(null!=Ae&&Le.setAttribute("nonce",Ae),(t.hydrateServerSide||t.hotModuleReplacement)&&2&N.$flags$&&Le.setAttribute("sty-id",Ee),!(1&N.$flags$))if("HEAD"===D.nodeName){const ut=D.querySelectorAll("link[rel=preconnect]"),Et=ut.length>0?ut[ut.length-1].nextSibling:D.querySelector("style");D.insertBefore(Le,Et)}else if("host"in D)if(xt){const ut=new CSSStyleSheet;ut.replaceSync(_e),D.adoptedStyleSheets=[ut,...D.adoptedStyleSheets]}else{const ut=D.querySelector("style");ut?ut.innerHTML=_e+ut.innerHTML:D.prepend(Le)}else D.append(Le);1&N.$flags$&&"HEAD"!==D.nodeName&&D.insertBefore(Le,null)}4&N.$flags$&&(Le.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),Ie&&Ie.add(Ee)}}else t.constructableCSS&&!D.adoptedStyleSheets.includes(_e)&&(D.adoptedStyleSheets=[...D.adoptedStyleSheets,_e]);return Ee},$i=(D,N)=>"sc-"+(t.mode&&N&&32&D.$flags$?D.$tagName$+"-"+N:D.$tagName$),yi=(D,N,Y,xe,Ee,_e)=>{if(Y!==xe){let Ie=O(D,N),Le=N.toLowerCase();if(t.vdomClass&&"class"===N){const Ae=D.classList,ut=tr(Y),Et=tr(xe);Ae.remove(...ut.filter(Nt=>Nt&&!Et.includes(Nt))),Ae.add(...Et.filter(Nt=>Nt&&!ut.includes(Nt)))}else if(t.vdomStyle&&"style"===N){if(t.updatable)for(const Ae in Y)(!xe||null==xe[Ae])&&(!t.hydrateServerSide&&Ae.includes("-")?D.style.removeProperty(Ae):D.style[Ae]="");for(const Ae in xe)(!Y||xe[Ae]!==Y[Ae])&&(!t.hydrateServerSide&&Ae.includes("-")?D.style.setProperty(Ae,xe[Ae]):D.style[Ae]=xe[Ae])}else if(!t.vdomKey||"key"!==N)if(t.vdomRef&&"ref"===N)xe&&xe(D);else if(!t.vdomListener||(t.lazyLoad?Ie:D.__lookupSetter__(N))||"o"!==N[0]||"n"!==N[1]){if(t.vdomPropOrAttr){const Ae=yo(xe);if((Ie||Ae&&null!==xe)&&!Ee)try{if(D.tagName.includes("-"))D[N]=xe;else{const Et=xe??"";"list"===N?Ie=!1:(null==Y||D[N]!=Et)&&("function"==typeof D.__lookupSetter__(N)?D[N]=Et:D.setAttribute(N,Et))}}catch{}let ut=!1;t.vdomXlink&&Le!==(Le=Le.replace(/^xlink\:?/,""))&&(N=Le,ut=!0),null==xe||!1===xe?(!1!==xe||""===D.getAttribute(N))&&(t.vdomXlink&&ut?D.removeAttributeNS(Ke,N):D.removeAttribute(N)):(!Ie||4&_e||Ee)&&!Ae&&(xe=!0===xe?"":xe,t.vdomXlink&&ut?D.setAttributeNS(Ke,N,xe):D.setAttribute(N,xe))}}else if(N="-"===N[2]?N.slice(3):O(Xe,Le)?Le.slice(2):Le[2]+N.slice(3),Y||xe){const Ae=N.endsWith(Sr);N=N.replace(wi,""),Y&&It.rel(D,N,Y,Ae),xe&&It.ael(D,N,xe,Ae)}}},Gi=/\s/,tr=D=>D?D.split(Gi):[],Sr="Capture",wi=new RegExp(Sr+"$"),mr=(D,N,Y)=>{const xe=11===N.$elm$.nodeType&&N.$elm$.host?N.$elm$.host:N.$elm$,Ee=D&&D.$attrs$||yn,_e=N.$attrs$||yn;if(t.updatable)for(const Ie of Ki(Object.keys(Ee)))Ie in _e||yi(xe,Ie,Ee[Ie],void 0,Y,N.$flags$);for(const Ie of Ki(Object.keys(_e)))yi(xe,Ie,Ee[Ie],_e[Ie],Y,N.$flags$)};function Ki(D){return D.includes("ref")?[...D.filter(N=>"ref"!==N),"ref"]:D}var kr,Wr,Yt,io=!1,Ho=!1,gi=!1,xi=!1,Ii=(D,N,Y,xe)=>{var Ee;const _e=N.$children$[Y];let Le,Ae,ut,Ie=0;if(t.slotRelocation&&!io&&(gi=!0,"slot"===_e.$tag$&&(kr&&xe.classList.add(kr+"-s"),_e.$flags$|=_e.$children$?2:1)),t.isDev&&_e.$elm$&&X(`The JSX ${null!==_e.$text$?`"${_e.$text$}" text`:`"${_e.$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`),t.vdomText&&null!==_e.$text$)Le=_e.$elm$=qe.createTextNode(_e.$text$);else if(t.slotRelocation&&1&_e.$flags$)Le=_e.$elm$=t.isDebug||t.hydrateServerSide?Pr(_e):qe.createTextNode("");else{if(t.svg&&!xi&&(xi="svg"===_e.$tag$),Le=_e.$elm$=t.svg?qe.createElementNS(xi?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!io&&t.slotRelocation&&2&_e.$flags$?"slot-fb":_e.$tag$):qe.createElement(!io&&t.slotRelocation&&2&_e.$flags$?"slot-fb":_e.$tag$),t.svg&&xi&&"foreignObject"===_e.$tag$&&(xi=!1),t.vdomAttribute&&mr(null,_e,xi),!!Le.getRootNode().querySelector("body")&&t.scoped&&(D=>null!=D)(kr)&&Le["s-si"]!==kr&&Le.classList.add(Le["s-si"]=kr),t.scoped&&ys(Le,xe),_e.$children$)for(Ie=0;Ie<_e.$children$.length;++Ie)Ae=Ii(D,_e,Ie,Le),Ae&&Le.appendChild(Ae);t.svg&&("svg"===_e.$tag$?xi=!1:"foreignObject"===Le.tagName&&(xi=!0))}return Le["s-hn"]=Yt,t.slotRelocation&&3&_e.$flags$&&(Le["s-sr"]=!0,Le["s-cr"]=Wr,Le["s-sn"]=_e.$name$||"",Le["s-rf"]=null==(Ee=_e.$attrs$)?void 0:Ee.ref,ut=D&&D.$children$&&D.$children$[Y],ut&&ut.$tag$===_e.$tag$&&D.$elm$&&(t.experimentalSlotFixes?qi(D.$elm$):bi(D.$elm$,!1))),Le},qi=D=>{It.$flags$|=1;const N=D.closest(Yt.toLowerCase());if(null!=N){const Y=Array.from(N.childNodes).find(Ee=>Ee["s-cr"]),xe=Array.from(D.childNodes);for(const Ee of Y?xe.reverse():xe)null!=Ee["s-sh"]&&(Dr(N,Ee,Y??null),Ee["s-sh"]=void 0,gi=!0)}It.$flags$&=-2},bi=(D,N)=>{It.$flags$|=1;const Y=Array.from(D.childNodes);if(D["s-sr"]&&t.experimentalSlotFixes){let xe=D;for(;xe=xe.nextSibling;)xe&&xe["s-sn"]===D["s-sn"]&&xe["s-sh"]===Yt&&Y.push(xe)}for(let xe=Y.length-1;xe>=0;xe--){const Ee=Y[xe];Ee["s-hn"]!==Yt&&Ee["s-ol"]&&(Dr(xr(Ee),Ee,wr(Ee)),Ee["s-ol"].remove(),Ee["s-ol"]=void 0,Ee["s-sh"]=void 0,gi=!0),N&&bi(Ee,N)}It.$flags$&=-2},Rr=(D,N,Y,xe,Ee,_e)=>{let Le,Ie=t.slotRelocation&&D["s-cr"]&&D["s-cr"].parentNode||D;for(t.shadowDom&&Ie.shadowRoot&&Ie.tagName===Yt&&(Ie=Ie.shadowRoot);Ee<=_e;++Ee)xe[Ee]&&(Le=Ii(null,Y,Ee,D),Le&&(xe[Ee].$elm$=Le,Dr(Ie,Le,t.slotRelocation?wr(N):N)))},Fi=(D,N,Y)=>{for(let xe=N;xe<=Y;++xe){const Ee=D[xe];if(Ee){const _e=Ee.$elm$;Cr(Ee),_e&&(t.slotRelocation&&(Ho=!0,_e["s-ol"]?_e["s-ol"].remove():bi(_e,!0)),_e.remove())}}},is=(D,N,Y=!1)=>!(D.$tag$!==N.$tag$||(t.slotRelocation&&"slot"===D.$tag$?"$nodeId$"in D&&Y&&8!==D.$elm$.nodeType||D.$name$!==N.$name$:t.vdomKey&&!Y&&D.$key$!==N.$key$)),wr=D=>D&&D["s-ol"]||D,xr=D=>(D["s-ol"]?D["s-ol"]:D).parentNode,Zr=(D,N,Y=!1)=>{const xe=N.$elm$=D.$elm$,Ee=D.$children$,_e=N.$children$,Ie=N.$tag$,Le=N.$text$;let Ae;t.vdomText&&null!==Le?t.vdomText&&t.slotRelocation&&(Ae=xe["s-cr"])?Ae.parentNode.textContent=Le:t.vdomText&&D.$text$!==Le&&(xe.data=Le):(t.svg&&(xi="svg"===Ie||"foreignObject"!==Ie&&xi),(t.vdomAttribute||t.reflect)&&(t.slot&&"slot"===Ie&&!io?t.experimentalSlotFixes&&D.$name$!==N.$name$&&(N.$elm$["s-sn"]=N.$name$||"",qi(N.$elm$.parentElement)):mr(D,N,xi)),t.updatable&&null!==Ee&&null!==_e?((D,N,Y,xe,Ee=!1)=>{let nn,on,_e=0,Ie=0,Le=0,Ae=0,ut=N.length-1,Et=N[0],Nt=N[ut],Ot=xe.length-1,pn=xe[0],Ct=xe[Ot];for(;_e<=ut&&Ie<=Ot;)if(null==Et)Et=N[++_e];else if(null==Nt)Nt=N[--ut];else if(null==pn)pn=xe[++Ie];else if(null==Ct)Ct=xe[--Ot];else if(is(Et,pn,Ee))Zr(Et,pn,Ee),Et=N[++_e],pn=xe[++Ie];else if(is(Nt,Ct,Ee))Zr(Nt,Ct,Ee),Nt=N[--ut],Ct=xe[--Ot];else if(is(Et,Ct,Ee))t.slotRelocation&&("slot"===Et.$tag$||"slot"===Ct.$tag$)&&bi(Et.$elm$.parentNode,!1),Zr(Et,Ct,Ee),Dr(D,Et.$elm$,Nt.$elm$.nextSibling),Et=N[++_e],Ct=xe[--Ot];else if(is(Nt,pn,Ee))t.slotRelocation&&("slot"===Et.$tag$||"slot"===Ct.$tag$)&&bi(Nt.$elm$.parentNode,!1),Zr(Nt,pn,Ee),Dr(D,Nt.$elm$,Et.$elm$),Nt=N[--ut],pn=xe[++Ie];else{if(Le=-1,t.vdomKey)for(Ae=_e;Ae<=ut;++Ae)if(N[Ae]&&null!==N[Ae].$key$&&N[Ae].$key$===pn.$key$){Le=Ae;break}t.vdomKey&&Le>=0?(on=N[Le],on.$tag$!==pn.$tag$?nn=Ii(N&&N[Ie],Y,Le,D):(Zr(on,pn,Ee),N[Le]=void 0,nn=on.$elm$),pn=xe[++Ie]):(nn=Ii(N&&N[Ie],Y,Ie,D),pn=xe[++Ie]),nn&&(t.slotRelocation?Dr(xr(Et.$elm$),nn,wr(Et.$elm$)):Dr(Et.$elm$.parentNode,nn,Et.$elm$))}_e>ut?Rr(D,null==xe[Ot+1]?null:xe[Ot+1].$elm$,Y,xe,Ie,Ot):t.updatable&&Ie>Ot&&Fi(N,_e,ut)})(xe,Ee,N,_e,Y):null!==_e?(t.updatable&&t.vdomText&&null!==D.$text$&&(xe.textContent=""),Rr(xe,null,N,_e,0,_e.length-1)):!Y&&t.updatable&&null!==Ee&&Fi(Ee,0,Ee.length-1),t.svg&&xi&&"svg"===Ie&&(xi=!1))},Kr=D=>{const N=D.childNodes;for(const Y of N)if(1===Y.nodeType){if(Y["s-sr"]){const xe=Y["s-sn"];Y.hidden=!1;for(const Ee of N)if(Ee!==Y)if(Ee["s-hn"]!==Y["s-hn"]||""!==xe){if(1===Ee.nodeType&&(xe===Ee.getAttribute("slot")||xe===Ee["s-sn"])||3===Ee.nodeType&&xe===Ee["s-sn"]){Y.hidden=!0;break}}else if(1===Ee.nodeType||3===Ee.nodeType&&""!==Ee.textContent.trim()){Y.hidden=!0;break}}Kr(Y)}},Mr=[],Fs=D=>{let N,Y,xe;for(const Ee of D.childNodes){if(Ee["s-sr"]&&(N=Ee["s-cr"])&&N.parentNode){Y=N.parentNode.childNodes;const _e=Ee["s-sn"];for(xe=Y.length-1;xe>=0;xe--)if(N=Y[xe],!(N["s-cn"]||N["s-nr"]||N["s-hn"]===Ee["s-hn"]||t.experimentalSlotFixes&&N["s-sh"]&&N["s-sh"]===Ee["s-hn"]))if(es(N,_e)){let Ie=Mr.find(Le=>Le.$nodeToRelocate$===N);Ho=!0,N["s-sn"]=N["s-sn"]||_e,Ie?(Ie.$nodeToRelocate$["s-sh"]=Ee["s-hn"],Ie.$slotRefNode$=Ee):(N["s-sh"]=Ee["s-hn"],Mr.push({$slotRefNode$:Ee,$nodeToRelocate$:N})),N["s-sr"]&&Mr.map(Le=>{es(Le.$nodeToRelocate$,N["s-sn"])&&(Ie=Mr.find(Ae=>Ae.$nodeToRelocate$===N),Ie&&!Le.$slotRefNode$&&(Le.$slotRefNode$=Ie.$slotRefNode$))})}else Mr.some(Ie=>Ie.$nodeToRelocate$===N)||Mr.push({$nodeToRelocate$:N})}1===Ee.nodeType&&Fs(Ee)}},es=(D,N)=>1===D.nodeType?null===D.getAttribute("slot")&&""===N||D.getAttribute("slot")===N:D["s-sn"]===N||""===N,Cr=D=>{t.vdomRef&&(D.$attrs$&&D.$attrs$.ref&&D.$attrs$.ref(null),D.$children$&&D.$children$.map(Cr))},Dr=(D,N,Y)=>{const xe=D?.insertBefore(N,Y);return t.scoped&&ys(N,D),xe},rs=D=>{const N=[];return D&&N.push(...D["s-scs"]||[],D["s-si"],D["s-sc"],...rs(D.parentElement)),N},ys=(D,N,Y=!1)=>{var xe;if(D&&N&&1===D.nodeType){const Ee=new Set(rs(N).filter(Boolean));if(Ee.size&&(null==(xe=D.classList)||xe.add(...D["s-scs"]=[...Ee]),D["s-ol"]||Y))for(const _e of Array.from(D.childNodes))ys(_e,D,!0)}},_r=(D,N,Y=!1)=>{var xe,Ee,_e,Ie,Le;const Ae=D.$hostElement$,ut=D.$cmpMeta$,Et=D.$vnode$||Pt(null,null),Nt=De(N)?N:qt(null,null,N);if(Yt=Ae.tagName,t.isDev&&Array.isArray(N)&&N.some(De))throw new Error(`The must be the single root component.\nLooks like the render() function of "${Yt.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(t.reflect&&ut.$attrsToReflect$&&(Nt.$attrs$=Nt.$attrs$||{},ut.$attrsToReflect$.map(([Ot,pn])=>Nt.$attrs$[pn]=Ae[Ot])),Y&&Nt.$attrs$)for(const Ot of Object.keys(Nt.$attrs$))Ae.hasAttribute(Ot)&&!["key","ref","style","class"].includes(Ot)&&(Nt.$attrs$[Ot]=Ae[Ot]);if(Nt.$tag$=null,Nt.$flags$|=4,D.$vnode$=Nt,Nt.$elm$=Et.$elm$=t.shadowDom&&Ae.shadowRoot||Ae,(t.scoped||t.shadowDom)&&(kr=Ae["s-sc"]),io=Hn&&!!(1&ut.$flags$),t.slotRelocation&&(Wr=Ae["s-cr"],Ho=!1),Zr(Et,Nt,Y),t.slotRelocation){if(It.$flags$|=1,gi){Fs(Nt.$elm$);for(const Ot of Mr){const pn=Ot.$nodeToRelocate$;if(!pn["s-ol"]){const Ct=t.isDebug||t.hydrateServerSide?ts(pn):qe.createTextNode("");Ct["s-nr"]=pn,Dr(pn.parentNode,pn["s-ol"]=Ct,pn)}}for(const Ot of Mr){const pn=Ot.$nodeToRelocate$,Ct=Ot.$slotRefNode$;if(Ct){const nn=Ct.parentNode;let on=Ct.nextSibling;if(!t.experimentalSlotFixes||on&&1===on.nodeType){let Qn=null==(xe=pn["s-ol"])?void 0:xe.previousSibling;for(;Qn;){let eo=null!=(Ee=Qn["s-nr"])?Ee:null;if(eo&&eo["s-sn"]===pn["s-sn"]&&nn===eo.parentNode){for(eo=eo.nextSibling;eo===pn||eo?.["s-sr"];)eo=eo?.nextSibling;if(!eo||!eo["s-nr"]){on=eo;break}}Qn=Qn.previousSibling}}(!on&&nn!==pn.parentNode||pn.nextSibling!==on)&&pn!==on&&(!t.experimentalSlotFixes&&!pn["s-hn"]&&pn["s-ol"]&&(pn["s-hn"]=pn["s-ol"].parentNode.nodeName),Dr(nn,pn,on),1===pn.nodeType&&(pn.hidden=null!=(_e=pn["s-ih"])&&_e)),pn&&"function"==typeof Ct["s-rf"]&&Ct["s-rf"](pn)}else 1===pn.nodeType&&(Y&&(pn["s-ih"]=null!=(Ie=pn.hidden)&&Ie),pn.hidden=!0)}}Ho&&Kr(Nt.$elm$),It.$flags$&=-2,Mr.length=0}if(t.experimentalScopedSlotChanges&&2&ut.$flags$)for(const Ot of Nt.$elm$.childNodes)Ot["s-hn"]!==Yt&&!Ot["s-sh"]&&(Y&&null==Ot["s-ih"]&&(Ot["s-ih"]=null!=(Le=Ot.hidden)&&Le),Ot.hidden=!0);Wr=void 0},Pr=D=>qe.createComment(` (host=${Yt.toLowerCase()})`),ts=D=>qe.createComment("org-location for "+(D.localName?`<${D.localName}> (host=${D["s-hn"]})`:`[${D.textContent}]`)),hi=(D,N)=>{t.asyncLoading&&N&&!D.$onRenderResolve$&&N["s-p"]&&N["s-p"].push(new Promise(Y=>D.$onRenderResolve$=Y))},yt=(D,N)=>{if(t.taskQueue&&t.updatable&&(D.$flags$|=16),t.asyncLoading&&4&D.$flags$)return void(D.$flags$|=512);hi(D,D.$ancestorComponent$);const Y=()=>Wt(D,N);return t.taskQueue?Gt(Y):Y()},Wt=(D,N)=>{const Y=D.$hostElement$,xe=Si("scheduleUpdate",D.$cmpMeta$.$tagName$),Ee=t.lazyLoad?D.$lazyInstance$:Y;if(!Ee)throw new Error(`Can't render component <${Y.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 _e;return N?(t.lazyLoad&&t.hostListener&&(D.$flags$|=256,D.$queuedListeners$&&(D.$queuedListeners$.map(([Ie,Le])=>L(Ee,Ie,Le)),D.$queuedListeners$=void 0)),re(Y,"componentWillLoad"),t.cmpWillLoad&&(_e=L(Ee,"componentWillLoad"))):(re(Y,"componentWillUpdate"),t.cmpWillUpdate&&(_e=L(Ee,"componentWillUpdate"))),re(Y,"componentWillRender"),t.cmpWillRender&&(_e=Pn(_e,()=>L(Ee,"componentWillRender"))),xe(),Pn(_e,()=>Cn(D,Ee,N))},Pn=(D,N)=>Zt(D)?D.then(N).catch(Y=>{console.error(Y),N()}):N(),Zt=D=>D instanceof Promise||D&&D.then&&"function"==typeof D.then,Cn=function(){var D=(0,e.A)(function*(N,Y,xe){var Ee;const _e=N.$hostElement$,Ie=Si("update",N.$cmpMeta$.$tagName$),Le=_e["s-rc"];t.style&&xe&&(D=>{const N=D.$cmpMeta$,Y=D.$hostElement$,xe=N.$flags$,Ee=Si("attachStyles",N.$tagName$),_e=Ro(t.shadowDom&&Hn&&Y.shadowRoot?Y.shadowRoot:Y.getRootNode(),N,D.$modeName$);(t.shadowDom||t.scoped)&&t.cssAnnotations&&10&xe&&2&xe&&(Y["s-sc"]=_e,Y.classList.add(_e+"-h"),t.scoped&&2&xe&&Y.classList.add(_e+"-s")),Ee()})(N);const Ae=Si("render",N.$cmpMeta$.$tagName$);if(t.isDev&&(N.$flags$|=1024),t.hydrateServerSide?yield go(N,Y,_e,xe):go(N,Y,_e,xe),t.isDev&&(N.$renderCount$=void 0===N.$renderCount$?1:N.$renderCount$+1,N.$flags$&=-1025),t.hydrateServerSide)try{Pe(_e),xe&&(1&N.$cmpMeta$.$flags$?_e["s-en"]="":2&N.$cmpMeta$.$flags$&&(_e["s-en"]="c"))}catch(ut){$(ut,_e)}if(t.asyncLoading&&Le&&(Le.map(ut=>ut()),_e["s-rc"]=void 0),Ae(),Ie(),t.asyncLoading){const ut=null!=(Ee=_e["s-p"])?Ee:[],Et=()=>Wo(N);0===ut.length?Et():(Promise.all(ut).then(Et),N.$flags$|=4,ut.length=0)}else Wo(N)});return function(Y,xe,Ee){return D.apply(this,arguments)}}(),go=(D,N,Y,xe)=>{const Ee=!!t.allRenderFn,_e=!!t.lazyLoad,Ie=!!t.taskQueue,Le=!!t.updatable;try{if(N=(Ee||N.render)&&N.render(),Le&&Ie&&(D.$flags$&=-17),(Le||_e)&&(D.$flags$|=2),t.hasRenderFn||t.reflect)if(t.vdomRender||t.reflect){if(t.hydrateServerSide)return Promise.resolve(N).then(Ae=>_r(D,Ae,xe));_r(D,N,xe)}else 1&D.$cmpMeta$.$flags$?Y.shadowRoot.textContent=N:Y.textContent=N}catch(Ae){$(Ae,D.$hostElement$)}return null},Wo=D=>{const N=D.$cmpMeta$.$tagName$,Y=D.$hostElement$,xe=Si("postUpdate",N),Ee=t.lazyLoad?D.$lazyInstance$:Y,_e=D.$ancestorComponent$;t.cmpDidRender&&(t.isDev&&(D.$flags$|=1024),L(Ee,"componentDidRender"),t.isDev&&(D.$flags$&=-1025)),re(Y,"componentDidRender"),64&D.$flags$?(t.cmpDidUpdate&&(t.isDev&&(D.$flags$|=1024),L(Ee,"componentDidUpdate"),t.isDev&&(D.$flags$&=-1025)),re(Y,"componentDidUpdate"),xe()):(D.$flags$|=64,t.asyncLoading&&t.cssAnnotations&&ce(Y),t.cmpDidLoad&&(t.isDev&&(D.$flags$|=2048),L(Ee,"componentDidLoad"),t.isDev&&(D.$flags$&=-2049)),re(Y,"componentDidLoad"),xe(),t.asyncLoading&&(D.$onReadyResolve$(Y),_e||Jo(N))),t.method&&t.lazyLoad&&D.$onInstanceResolve$(Y),t.asyncLoading&&(D.$onRenderResolve$&&(D.$onRenderResolve$(),D.$onRenderResolve$=void 0),512&D.$flags$&&gn(()=>yt(D,!1)),D.$flags$&=-517)},si=D=>{if(t.updatable&&(a.isBrowser||a.isTesting)){const N=v(D),Y=N.$hostElement$.isConnected;return Y&&2==(18&N.$flags$)&&yt(N,!1),Y}return!1},Jo=D=>{t.cssAnnotations&&ce(qe.documentElement),t.asyncQueue&&(It.$flags$|=2),gn(()=>kn(Xe,"appload",{detail:{namespace:M}})),t.profile&&performance.measure&&performance.measure(`[Stencil] ${M} initial load (by ${D})`,"st:app:start")},L=(D,N,Y)=>{if(D&&D[N])try{return D[N](Y)}catch(xe){$(xe)}},re=(D,N)=>{t.lifecycleDOMEvents&&kn(D,"stencil_"+N,{bubbles:!0,composed:!0,detail:{namespace:M}})},ce=D=>{var N,Y;return t.hydratedClass?D.classList.add(null!=(N=t.hydratedSelectorName)?N:"hydrated"):t.hydratedAttribute?D.setAttribute(null!=(Y=t.hydratedSelectorName)?Y:"hydrated",""):void 0},Pe=D=>{const N=D.children;if(null!=N)for(let Y=0,xe=N.length;Y{var xe,Ee;const _e=D.prototype;if(t.formAssociated&&64&N.$flags$&&1&Y&&Je.forEach(Ie=>Object.defineProperty(_e,Ie,{value(...Le){const Ae=v(this),Et=t.lazyLoad?Ae.$lazyInstance$:t.lazyLoad?Ae.$hostElement$:this;if(Et){const Nt=Et[Ie];"function"==typeof Nt&&Nt.call(Et,...Le)}else Ae.$onReadyPromise$.then(Nt=>{const Ot=Nt[Ie];"function"==typeof Ot&&Ot.call(Nt,...Le)})}})),t.member&&N.$members$||t.watchCallback&&(N.$watchers$||D.watchers)){t.watchCallback&&D.watchers&&!N.$watchers$&&(N.$watchers$=D.watchers);const Ie=Object.entries(null!=(xe=N.$members$)?xe:{});if(Ie.map(([Le,[Ae]])=>{(t.prop||t.state)&&(31&Ae||(!t.lazyLoad||2&Y)&&32&Ae)?Object.defineProperty(_e,Le,{get(){return((D,N)=>v(this).$instanceValues$.get(N))(0,Le)},set(ut){if(t.isDev){const Et=v(this);!(1&Y)&&0===(Et&&8&Et.$flags$)&&31&Ae&&!(1024&Ae)&&J(`@Prop() "${Le}" on <${N.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}((D,N,Y,xe)=>{const Ee=v(D);if(t.lazyLoad&&!Ee)throw new Error(`Couldn't find host element for "${xe.$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 _e=t.lazyLoad?Ee.$hostElement$:D,Ie=Ee.$instanceValues$.get(N),Le=Ee.$flags$,Ae=t.lazyLoad?Ee.$lazyInstance$:_e;Y=((D,N)=>null==D||yo(D)?D:t.propBoolean&&4&N?"false"!==D&&(""===D||!!D):t.propNumber&&2&N?parseFloat(D):t.propString&&1&N?String(D):D)(Y,xe.$members$[N][0]);const ut=Number.isNaN(Ie)&&Number.isNaN(Y);if((!t.lazyLoad||!(8&Le)||void 0===Ie)&&Y!==Ie&&!ut&&(Ee.$instanceValues$.set(N,Y),t.isDev&&(1024&Ee.$flags$?J(`The state/prop "${N}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",_e,"\nNew value",Y,"\nOld value",Ie):2048&Ee.$flags$&&J(`The state/prop "${N}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",_e,"\nNew value",Y,"\nOld value",Ie)),!t.lazyLoad||Ae)){if(t.watchCallback&&xe.$watchers$&&128&Le){const Nt=xe.$watchers$[N];Nt&&Nt.map(Ot=>{try{Ae[Ot](Y,Ie,N)}catch(pn){$(pn,_e)}})}if(t.updatable&&2==(18&Le)){if(t.cmpShouldUpdate&&Ae.componentShouldUpdate&&!1===Ae.componentShouldUpdate(Y,Ie,N))return;yt(Ee,!1)}}})(this,Le,ut,N)},configurable:!0,enumerable:!0}):t.lazyLoad&&t.method&&1&Y&&64&Ae&&Object.defineProperty(_e,Le,{value(...ut){var Et;const Nt=v(this);return null==(Et=Nt?.$onInstancePromise$)?void 0:Et.then(()=>{var Ot;return null==(Ot=Nt.$lazyInstance$)?void 0:Ot[Le](...ut)})}})}),t.observeAttribute&&(!t.lazyLoad||1&Y)){const Le=new Map;_e.attributeChangedCallback=function(Ae,ut,Et){It.jmp(()=>{var Nt;const Ot=Le.get(Ae);if(this.hasOwnProperty(Ot))Et=this[Ot],delete this[Ot];else{if(_e.hasOwnProperty(Ot)&&"number"==typeof this[Ot]&&this[Ot]==Et)return;if(null==Ot){const pn=v(this),Ct=pn?.$flags$;if(Ct&&!(8&Ct)&&128&Ct&&Et!==ut){const on=t.lazyLoad?pn.$lazyInstance$:t.lazyLoad?pn.$hostElement$:this,Qn=null==(Nt=N.$watchers$)?void 0:Nt[Ae];Qn?.forEach(eo=>{null!=on[eo]&&on[eo].call(on,Et,ut,Ae)})}return}}this[Ot]=(null!==Et||"boolean"!=typeof this[Ot])&&Et})},D.observedAttributes=Array.from(new Set([...Object.keys(null!=(Ee=N.$watchers$)?Ee:{}),...Ie.filter(([Ae,ut])=>15&ut[0]).map(([Ae,ut])=>{var Et;const Nt=ut[1]||Ae;return Le.set(Nt,Ae),t.reflect&&512&ut[0]&&(null==(Et=N.$attrsToReflect$)||Et.push([Ae,Nt])),Nt})]))}}return D},jt=function(){var D=(0,e.A)(function*(N,Y,xe,Ee){let _e;if(!(32&Y.$flags$)){if(Y.$flags$|=32,(t.lazyLoad||t.hydrateClientSide)&&xe.$lazyBundleId$){const ut=((D,N,Y)=>{const xe=D.$tagName$.replace(/-/g,"_"),Ee=D.$lazyBundleId$;if(t.isDev&&"string"!=typeof Ee)return void X(`Trying to lazily load component <${D.$tagName$}> with style mode "${N.$modeName$}", but it does not exist.`);if(!Ee)return;const _e=!t.hotModuleReplacement&&he.get(Ee);return _e?_e[xe]:i(54140)(`./${Ee}.entry.js${t.hotModuleReplacement&&Y?"?s-hmr="+Y:""}`).then(Ie=>(t.hotModuleReplacement||he.set(Ee,Ie),Ie[xe]),$)})(xe,Y,Ee);if(ut&&"then"in ut){const Nt=((D,N)=>t.profile&&performance.mark?(0===performance.getEntriesByName(D,"mark").length&&performance.mark(D),()=>{0===performance.getEntriesByName(N,"measure").length&&performance.measure(N,D)}):()=>{})(`st:load:${xe.$tagName$}:${Y.$modeName$}`,`[Stencil] Load module for <${xe.$tagName$}>`);_e=yield ut,Nt()}else _e=ut;if(!_e)throw new Error(`Constructor for "${xe.$tagName$}#${Y.$modeName$}" was not found`);t.member&&!_e.isProxied&&(t.watchCallback&&(xe.$watchers$=_e.watchers),lt(_e,xe,2),_e.isProxied=!0);const Et=Si("createInstance",xe.$tagName$);t.member&&(Y.$flags$|=8);try{new _e(Y)}catch(Nt){$(Nt)}t.member&&(Y.$flags$&=-9),t.watchCallback&&(Y.$flags$|=128),Et(),Jt(Y.$lazyInstance$)}else _e=N.constructor,customElements.whenDefined(N.localName).then(()=>Y.$flags$|=128);if(t.style&&_e&&_e.style){let ut;"string"==typeof _e.style?ut=_e.style:t.mode&&"string"!=typeof _e.style&&(Y.$modeName$=(D=>Ne.map(N=>N(D)).find(N=>!!N))(N),Y.$modeName$&&(ut=_e.style[Y.$modeName$]),t.hydrateServerSide&&Y.$modeName$&&N.setAttribute("s-mode",Y.$modeName$));const Et=$i(xe,Y.$modeName$);if(!be.has(Et)){const Nt=Si("registerStyles",xe.$tagName$);!t.hydrateServerSide&&t.shadowDom&&t.shadowDomShim&&8&xe.$flags$&&(ut=yield i.e(3687).then(i.bind(i,13687)).then(Ot=>Ot.scopeCss(ut,Et))),((D,N,Y)=>{let xe=be.get(D);xt&&Y?(xe=xe||new CSSStyleSheet,"string"==typeof xe?xe=N:xe.replaceSync(N)):xe=N,be.set(D,xe)})(Et,ut,!!(1&xe.$flags$)),Nt()}}}const Ie=Y.$ancestorComponent$,Le=()=>yt(Y,!0);t.asyncLoading&&Ie&&Ie["s-rc"]?Ie["s-rc"].push(Le):Le()});return function(Y,xe,Ee,_e){return D.apply(this,arguments)}}(),Jt=D=>{t.lazyLoad&&t.connectedCallback&&L(D,"connectedCallback")},Be=D=>{const N=D["s-cr"]=qe.createComment(t.isDebug?`content-ref (host=${D.localName})`:"");N["s-cn"]=!0,Dr(D,N,D.firstChild)},Qe=D=>{t.lazyLoad&&t.disconnectedCallback&&L(D,"disconnectedCallback"),t.cmpDidUnload&&L(D,"componentDidUnload")},ct=function(){var D=(0,e.A)(function*(N){if(!(1&It.$flags$)){const Y=v(N);t.hostListener&&Y.$rmListeners$&&(Y.$rmListeners$.map(xe=>xe()),Y.$rmListeners$=void 0),t.lazyLoad?Y?.$lazyInstance$?Qe(Y.$lazyInstance$):Y?.$onReadyPromise$&&Y.$onReadyPromise$.then(()=>Qe(Y.$lazyInstance$)):Qe(N)}});return function(Y){return D.apply(this,arguments)}}(),Dt=D=>{const N=D.cloneNode;D.cloneNode=function(Y){const xe=this,Ee=!!t.shadowDom&&xe.shadowRoot&&Hn,_e=N.call(xe,!!Ee&&Y);if(t.slot&&!Ee&&Y){let Le,Ae,Ie=0;const ut=["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"];for(;Ie!xe.childNodes[Ie][Et]),Le&&(t.appendChildSlotFix&&_e.__appendChild?_e.__appendChild(Le.cloneNode(!0)):_e.appendChild(Le.cloneNode(!0))),Ae&&_e.appendChild(xe.childNodes[Ie].cloneNode(!0))}return _e}},fn=D=>{D.__appendChild=D.appendChild,D.appendChild=function(N){const Y=N["s-sn"]=Vo(N),xe=So(this.childNodes,Y,this.tagName);if(xe){const Ee=document.createTextNode("");Ee["s-nr"]=N,xe["s-cr"].parentNode.__appendChild(Ee),N["s-ol"]=Ee,N["s-sh"]=xe["s-hn"];const _e=Yo(xe,Y),Ie=_e[_e.length-1],Le=Dr(Ie.parentNode,N,Ie.nextSibling);return Kr(this),Le}return this.__appendChild(N)}},un=D=>{D.__removeChild=D.removeChild,D.removeChild=function(N){if(N&&typeof N["s-sn"]<"u"){const Y=So(this.childNodes,N["s-sn"],this.tagName);if(Y){const Ee=Yo(Y,N["s-sn"]).find(_e=>_e===N);if(Ee)return Ee.remove(),void Kr(this)}}return this.__removeChild(N)}},In=D=>{const N=D.prepend;D.prepend=function(...Y){Y.forEach(xe=>{"string"==typeof xe&&(xe=this.ownerDocument.createTextNode(xe));const Ee=xe["s-sn"]=Vo(xe),_e=So(this.childNodes,Ee,this.tagName);if(_e){const Ie=document.createTextNode("");Ie["s-nr"]=xe,_e["s-cr"].parentNode.__appendChild(Ie),xe["s-ol"]=Ie,xe["s-sh"]=_e["s-hn"];const Ae=Yo(_e,Ee)[0];return Dr(Ae.parentNode,xe,Ae.nextSibling)}return 1===xe.nodeType&&xe.getAttribute("slot")&&(xe.hidden=!0),N.call(this,xe)})}},$n=D=>{D.append=function(...N){N.forEach(Y=>{"string"==typeof Y&&(Y=this.ownerDocument.createTextNode(Y)),this.appendChild(Y)})}},vo=D=>{const N=D.insertAdjacentHTML;D.insertAdjacentHTML=function(Y,xe){if("afterbegin"!==Y&&"beforeend"!==Y)return N.call(this,Y,xe);const Ee=this.ownerDocument.createElement("_");let _e;if(Ee.innerHTML=xe,"afterbegin"===Y)for(;_e=Ee.firstChild;)this.prepend(_e);else if("beforeend"===Y)for(;_e=Ee.firstChild;)this.append(_e)}},Mo=D=>{D.insertAdjacentText=function(N,Y){this.insertAdjacentHTML(N,Y)}},po=D=>{const N=D.insertAdjacentElement;D.insertAdjacentElement=function(Y,xe){return"afterbegin"!==Y&&"beforeend"!==Y?N.call(this,Y,xe):"afterbegin"===Y?(this.prepend(xe),xe):("beforeend"===Y&&this.append(xe),xe)}},uo=D=>{const N=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(D,"__textContent",N),Object.defineProperty(D,"textContent",t.experimentalScopedSlotChanges?{get(){return" "+Co(this.childNodes).map(Ee=>{var _e,Ie;const Le=[];let Ae=Ee.nextSibling;for(;Ae&&Ae["s-sn"]===Ee["s-sn"];)(3===Ae.nodeType||1===Ae.nodeType)&&Le.push(null!=(Ie=null==(_e=Ae.textContent)?void 0:_e.trim())?Ie:""),Ae=Ae.nextSibling;return Le.filter(ut=>""!==ut).join(" ")}).filter(Ee=>""!==Ee).join(" ")+" "},set(Y){Co(this.childNodes).forEach(Ee=>{let _e=Ee.nextSibling;for(;_e&&_e["s-sn"]===Ee["s-sn"];){const Ie=_e;_e=_e.nextSibling,Ie.remove()}if(""===Ee["s-sn"]){const Ie=this.ownerDocument.createTextNode(Y);Ie["s-sn"]="",Dr(Ee.parentElement,Ie,Ee.nextSibling)}else Ee.remove()})}}:{get(){var Y;const xe=So(this.childNodes,"",this.tagName);return 3===(null==(Y=xe?.nextSibling)?void 0:Y.nodeType)?xe.nextSibling.textContent:xe?xe.textContent:this.__textContent},set(Y){var xe;const Ee=So(this.childNodes,"",this.tagName);if(3===(null==(xe=Ee?.nextSibling)?void 0:xe.nodeType))Ee.nextSibling.textContent=Y;else if(Ee)Ee.textContent=Y;else{this.__textContent=Y;const _e=this["s-cr"];_e&&Dr(this,_e,this.firstChild)}}})},Po=(D,N)=>{class Y extends Array{item(Ee){return this[Ee]}}if(8&N.$flags$){const xe=D.__lookupGetter__("childNodes");Object.defineProperty(D,"children",{get(){return this.childNodes.map(Ee=>1===Ee.nodeType)}}),Object.defineProperty(D,"childElementCount",{get:()=>D.children.length}),Object.defineProperty(D,"childNodes",{get(){const Ee=xe.call(this);if(!(1&It.$flags$)&&2&v(this).$flags$){const _e=new Y;for(let Ie=0;Ie{const N=[];for(const Y of Array.from(D))Y["s-sr"]&&N.push(Y),N.push(...Co(Y.childNodes));return N},Vo=D=>D["s-sn"]||1===D.nodeType&&D.getAttribute("slot")||"",So=(D,N,Y)=>{let Ee,xe=0;for(;xe{const Y=[D];for(;(D=D.nextSibling)&&D["s-sn"]===N;)Y.push(D);return Y},Lr=(D,N)=>{const Y={$flags$:N[0],$tagName$:N[1]};t.member&&(Y.$members$=N[2]),t.hostListener&&(Y.$listeners$=N[3]),t.watchCallback&&(Y.$watchers$=D.$watchers$),t.reflect&&(Y.$attrsToReflect$=[]),t.shadowDom&&!Hn&&1&Y.$flags$&&(Y.$flags$|=8),t.experimentalSlotFixes?t.scoped&&2&Y.$flags$&&((D,N)=>{Dt(D),fn(D),$n(D),In(D),po(D),vo(D),Mo(D),uo(D),Po(D,N),un(D)})(D.prototype,Y):(t.slotChildNodesFix&&Po(D.prototype,Y),t.cloneNodeFix&&Dt(D.prototype),t.appendChildSlotFix&&fn(D.prototype),t.scopedSlotTextContentFix&&2&Y.$flags$&&uo(D.prototype));const xe=D.prototype.connectedCallback,Ee=D.prototype.disconnectedCallback;return Object.assign(D.prototype,{__registerHost(){((D,N)=>{const Y={$flags$:0,$hostElement$:D,$cmpMeta$:N,$instanceValues$:new Map};t.isDev&&(Y.$renderCount$=0),t.method&&t.lazyLoad&&(Y.$onInstancePromise$=new Promise(xe=>Y.$onInstanceResolve$=xe)),t.asyncLoading&&(Y.$onReadyPromise$=new Promise(xe=>Y.$onReadyResolve$=xe),D["s-p"]=[],D["s-rc"]=[]),_.set(D,Y)})(this,Y)},connectedCallback(){const _e=v(this);_i(this,_e,Y.$listeners$,!1),(D=>{if(!(1&It.$flags$)){const N=v(D),Y=N.$cmpMeta$,xe=Si("connectedCallback",Y.$tagName$);if(t.hostListenerTargetParent&&_i(D,N,Y.$listeners$,!0),1&N.$flags$)_i(D,N,Y.$listeners$,!1),N?.$lazyInstance$?Jt(N.$lazyInstance$):N?.$onReadyPromise$&&N.$onReadyPromise$.then(()=>Jt(N.$lazyInstance$));else{let Ee;if(N.$flags$|=1,t.hydrateClientSide&&(Ee=D.getAttribute(St),Ee)){if(t.shadowDom&&Hn&&1&Y.$flags$){const _e=t.mode?Ro(D.shadowRoot,Y,D.getAttribute("s-mode")):Ro(D.shadowRoot,Y);D.classList.remove(_e+"-h",_e+"-s")}((D,N,Y,xe)=>{const Ee=Si("hydrateClient",N),_e=D.shadowRoot,Ie=[],Ae=t.shadowDom&&_e?[]:null,ut=xe.$vnode$=Pt(N,null);It.$orgLocNodes$||_n(qe.body,It.$orgLocNodes$=new Map),D[St]=Y,D.removeAttribute(St),zt(ut,Ie,[],Ae,D,D,Y),Ie.map(Et=>{const Nt=Et.$hostId$+"."+Et.$nodeId$,Ot=It.$orgLocNodes$.get(Nt),pn=Et.$elm$;Ot&&Hn&&""===Ot["s-en"]&&Ot.parentNode.insertBefore(pn,Ot.nextSibling),_e||(pn["s-hn"]=N,Ot&&(pn["s-ol"]=Ot,pn["s-ol"]["s-nr"]=pn)),It.$orgLocNodes$.delete(Nt)}),t.shadowDom&&_e&&Ae.map(Et=>{Et&&_e.appendChild(Et)}),Ee()})(D,Y.$tagName$,Ee,N)}if(t.slotRelocation&&!Ee&&(t.hydrateServerSide||(t.slot||t.shadowDom)&&12&Y.$flags$)&&Be(D),t.asyncLoading){let _e=D;for(;_e=_e.parentNode||_e.host;)if(t.hydrateClientSide&&1===_e.nodeType&&_e.hasAttribute("s-id")&&_e["s-p"]||_e["s-p"]){hi(N,N.$ancestorComponent$=_e);break}}t.prop&&!t.hydrateServerSide&&Y.$members$&&Object.entries(Y.$members$).map(([_e,[Ie]])=>{if(31&Ie&&D.hasOwnProperty(_e)){const Le=D[_e];delete D[_e],D[_e]=Le}}),t.initializeNextTick?gn(()=>jt(D,N,Y)):jt(D,N,Y)}xe()}})(this),t.connectedCallback&&xe&&xe.call(this)},disconnectedCallback(){ct(this),t.disconnectedCallback&&Ee&&Ee.call(this)},__attachShadow(){if(Hn)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${Y.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow(t.shadowDelegatesFocus?{mode:"open",delegatesFocus:!!(16&Y.$flags$)}:{mode:"open"});else this.shadowRoot=this}}),D.is=Y.$tagName$,lt(D,Y,3)},_i=(D,N,Y,xe)=>{t.hostListener&&Y&&(t.hostListenerTargetParent&&(Y=Y.filter(xe?([Ee])=>32&Ee:([Ee])=>!(32&Ee))),Y.map(([Ee,_e,Ie])=>{const Le=t.hostListenerTarget?Zi(D,Ee):D,Ae=ar(N,Ie),ut=jr(Ee);It.ael(Le,_e,Ae,ut),(N.$rmListeners$=N.$rmListeners$||[]).push(()=>It.rel(Le,_e,Ae,ut))}))},ar=(D,N)=>Y=>{var xe;try{t.lazyLoad?256&D.$flags$?null==(xe=D.$lazyInstance$)||xe[N](Y):(D.$queuedListeners$=D.$queuedListeners$||[]).push([N,Y]):D.$hostElement$[N](Y)}catch(Ee){$(Ee)}},Zi=(D,N)=>t.hostListenerTargetDocument&&4&N?qe:t.hostListenerTargetWindow&&8&N?Xe:t.hostListenerTargetBody&&16&N?qe.body:t.hostListenerTargetParent&&32&N&&D.parentElement?D.parentElement:D,jr=D=>xo?{passive:!!(1&D),capture:!!(2&D)}:!!(2&D)},33510:(Ze,z,i)=>{"use strict";i.d(z,{A6:()=>$t,Bs:()=>ar,E8:()=>on,FN:()=>Ie,Hg:()=>gn,NT:()=>e.d,No:()=>Ee,PP:()=>Qo,Qw:()=>E,UA:()=>Bs,ZT:()=>En,dN:()=>Ts,ij:()=>kt,kc:()=>lr,m_:()=>Qt,s$:()=>Xs,t1:()=>Co});var e=i(66935),l=new class t{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(y,f,C,P){const H=f.duration;f.listeners[P].forEach(ne=>ne({chart:y,initial:f.initial,numSteps:H,currentStep:Math.min(C-f.start,H)}))}_refresh(){this._request||(this._running=!0,this._request=e.r.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(y=Date.now()){let f=0;this._charts.forEach((C,P)=>{if(!C.running||!C.items.length)return;const B=C.items;let me,H=B.length-1,ne=!1;for(;H>=0;--H)me=B[H],me._active?(me._total>C.duration&&(C.duration=me._total),me.tick(y),ne=!0):(B[H]=B[B.length-1],B.pop());ne&&(P.draw(),this._notify(P,C,y,"progress")),B.length||(C.running=!1,this._notify(P,C,y,"complete"),C.initial=!1),f+=B.length}),this._lastDate=y,0===f&&(this._running=!1)}_getAnims(y){const f=this._charts;let C=f.get(y);return C||(C={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},f.set(y,C)),C}listen(y,f,C){this._getAnims(y).listeners[f].push(C)}add(y,f){!f||!f.length||this._getAnims(y).items.push(...f)}has(y){return this._getAnims(y).items.length>0}start(y){const f=this._charts.get(y);f&&(f.running=!0,f.start=Date.now(),f.duration=f.items.reduce((C,P)=>Math.max(C,P._duration),0),this._refresh())}running(y){if(!this._running)return!1;const f=this._charts.get(y);return!(!f||!f.running||!f.items.length)}stop(y){const f=this._charts.get(y);if(!f||!f.items.length)return;const C=f.items;let P=C.length-1;for(;P>=0;--P)C[P].cancel();f.items=[],this._notify(y,f,Date.now(),"complete")}remove(y){return this._charts.delete(y)}};const M="transparent",d={boolean:(I,y,f)=>f>.5?y:I,color(I,y,f){const C=(0,e.c)(I||M),P=C.valid&&(0,e.c)(y||M);return P&&P.valid?P.mix(C,f).hexString():y},number:(I,y,f)=>I+(y-I)*f};class p{constructor(y,f,C,P){const B=f[C];P=(0,e.a)([y.to,P,B,y.from]);const H=(0,e.a)([y.from,B,P]);this._active=!0,this._fn=y.fn||d[y.type||typeof H],this._easing=e.e[y.easing]||e.e.linear,this._start=Math.floor(Date.now()+(y.delay||0)),this._duration=this._total=Math.floor(y.duration),this._loop=!!y.loop,this._target=f,this._prop=C,this._from=H,this._to=P,this._promises=void 0}active(){return this._active}update(y,f,C){if(this._active){this._notify(!1);const P=this._target[this._prop],B=C-this._start,H=this._duration-B;this._start=C,this._duration=Math.floor(Math.max(H,y.duration)),this._total+=B,this._loop=!!y.loop,this._to=(0,e.a)([y.to,f,P,y.from]),this._from=(0,e.a)([y.from,P,f])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(y){const f=y-this._start,C=this._duration,P=this._prop,B=this._from,H=this._loop,ne=this._to;let me;if(this._active=B!==ne&&(H||f1?2-me:me,me=this._easing(Math.min(1,Math.max(0,me))),this._target[P]=this._fn(B,ne,me))}wait(){const y=this._promises||(this._promises=[]);return new Promise((f,C)=>{y.push({res:f,rej:C})})}_notify(y){const f=y?"res":"rej",C=this._promises||[];for(let P=0;P"onProgress"!==I&&"onComplete"!==I&&"fn"!==I}),e.d.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),e.d.describe("animations",{_fallback:"animation"}),e.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:I=>0|I}}}});class E{constructor(y,f){this._chart=y,this._properties=new Map,this.configure(f)}configure(y){if(!(0,e.i)(y))return;const f=this._properties;Object.getOwnPropertyNames(y).forEach(C=>{const P=y[C];if(!(0,e.i)(P))return;const B={};for(const H of v)B[H]=P[H];((0,e.b)(P.properties)&&P.properties||[C]).forEach(H=>{(H===C||!f.has(H))&&f.set(H,B)})})}_animateOptions(y,f){const C=f.options,P=function O(I,y){if(!y)return;let f=I.options;if(f)return f.$shared&&(I.options=f=Object.assign({},f,{$shared:!1,$animations:{}})),f;I.options=y}(y,C);if(!P)return[];const B=this._createAnimations(P,C);return C.$shared&&function u(I,y){const f=[],C=Object.keys(y);for(let P=0;P{y.options=C},()=>{}),B}_createAnimations(y,f){const C=this._properties,P=[],B=y.$animations||(y.$animations={}),H=Object.keys(f),ne=Date.now();let me;for(me=H.length-1;me>=0;--me){const Se=H[me];if("$"===Se.charAt(0))continue;if("options"===Se){P.push(...this._animateOptions(y,f));continue}const ft=f[Se];let Ft=B[Se];const hn=C.get(Se);if(Ft){if(hn&&Ft.active()){Ft.update(hn,ft,ne);continue}Ft.cancel()}hn&&hn.duration?(B[Se]=Ft=new p(hn,y,Se,ft),P.push(Ft)):y[Se]=ft}return P}update(y,f){if(0===this._properties.size)return void Object.assign(y,f);const C=this._createAnimations(y,f);return C.length?(l.add(this._chart,C),!0):void 0}}function A(I,y){const f=I&&I.options||{},C=f.reverse,P=void 0===f.min?y:0,B=void 0===f.max?y:0;return{start:C?B:P,end:C?P:B}}function X(I,y){const f=[],C=I._getSortedDatasetMetas(y);let P,B;for(P=0,B=C.length;P0||!f&&B<0)return P.index}return null}function Ne(I,y){const{chart:f,_cachedMeta:C}=I,P=f._stacks||(f._stacks={}),{iScale:B,vScale:H,index:ne}=C,me=B.axis,Se=H.axis,ft=function he(I,y,f){return`${I.id}.${y.id}.${f.stack||f.type}`}(B,H,C),Ft=y.length;let hn;for(let vn=0;vnf[C].axis===y).shift()}function Ye(I,y){const f=I.controller.index,C=I.vScale&&I.vScale.axis;if(C){y=y||I._parsed;for(const P of y){const B=P._stacks;if(!B||void 0===B[C]||void 0===B[C][f])return;delete B[C][f]}}}const St=I=>"reset"===I||"none"===I,mt=(I,y)=>y?I:Object.assign({},I);let Ge=(()=>{class I{constructor(f,C){this.chart=f,this._ctx=f.ctx,this.index=C,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 f=this._cachedMeta;this.configure(),this.linkScales(),f._stacked=fe(f.vScale,f),this.addElements()}updateIndex(f){this.index!==f&&Ye(this._cachedMeta),this.index=f}linkScales(){const f=this.chart,C=this._cachedMeta,P=this.getDataset(),B=(hn,vn,Sn,qn)=>"x"===hn?vn:"r"===hn?qn:Sn,H=C.xAxisID=(0,e.v)(P.xAxisID,je(f,"x")),ne=C.yAxisID=(0,e.v)(P.yAxisID,je(f,"y")),me=C.rAxisID=(0,e.v)(P.rAxisID,je(f,"r")),Se=C.indexAxis,ft=C.iAxisID=B(Se,H,ne,me),Ft=C.vAxisID=B(Se,ne,H,me);C.xScale=this.getScaleForId(H),C.yScale=this.getScaleForId(ne),C.rScale=this.getScaleForId(me),C.iScale=this.getScaleForId(ft),C.vScale=this.getScaleForId(Ft)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(f){return this.chart.scales[f]}_getOtherScale(f){const C=this._cachedMeta;return f===C.iScale?C.vScale:C.iScale}reset(){this._update("reset")}_destroy(){const f=this._cachedMeta;this._data&&(0,e.u)(this._data,this),f._stacked&&Ye(f)}_dataCheck(){const f=this.getDataset(),C=f.data||(f.data=[]),P=this._data;if((0,e.i)(C))this._data=function G(I){const y=Object.keys(I),f=new Array(y.length);let C,P,B;for(C=0,P=y.length;C0&&P._parsed[f-1];if(!1===this._parsing)P._parsed=B,P._sorted=!0,vn=B;else{vn=(0,e.b)(B[f])?this.parseArrayData(P,B,f,C):(0,e.i)(B[f])?this.parseObjectData(P,B,f,C):this.parsePrimitiveData(P,B,f,C);const Sn=()=>null===hn[me]||ft&&hn[me]I&&!y.hidden&&y._stacked&&{keys:X(this.chart,!0),values:null})(C,P),ft={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:Ft,max:hn}=function Me(I){const{min:y,max:f,minDefined:C,maxDefined:P}=I.getUserBounds();return{min:C?y:Number.NEGATIVE_INFINITY,max:P?f:Number.POSITIVE_INFINITY}}(me);let vn,Sn;function qn(){Sn=B[vn];const ho=Sn[me.axis];return!(0,e.g)(Sn[f.axis])||Ft>ho||hn=0;--vn)if(!qn()){this.updateRangeFromParsed(ft,f,Sn,Se);break}return ft}getAllParsedValues(f){const C=this._cachedMeta._parsed,P=[];let B,H,ne;for(B=0,H=C.length;B=0&&fthis.getContext(P,B),hn);return ho.$shared&&(ho.$shared=Se,H[ne]=Object.freeze(mt(ho,Se))),ho}_resolveAnimations(f,C,P){const B=this.chart,H=this._cachedDataOpts,ne=`animation-${C}`,me=H[ne];if(me)return me;let Se;if(!1!==B.options.animation){const Ft=this.chart.config,hn=Ft.datasetAnimationScopeKeys(this._type,C),vn=Ft.getOptionScopes(this.getDataset(),hn);Se=Ft.createResolver(vn,this.getContext(f,P,C))}const ft=new E(B,Se&&Se.animations);return Se&&Se._cacheable&&(H[ne]=Object.freeze(ft)),ft}getSharedOptions(f){if(f.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},f))}includeOptions(f,C){return!C||St(f)||this.chart._animationsDisabled}_getSharedOptions(f,C){const P=this.resolveDataElementOptions(f,C),B=this._sharedOptions,H=this.getSharedOptions(P),ne=this.includeOptions(C,H)||H!==B;return this.updateSharedOptions(H,C,P),{sharedOptions:H,includeOptions:ne}}updateElement(f,C,P,B){St(B)?Object.assign(f,P):this._resolveAnimations(C,B).update(f,P)}updateSharedOptions(f,C,P){f&&!St(C)&&this._resolveAnimations(void 0,C).update(f,P)}_setStyle(f,C,P,B){f.active=B;const H=this.getStyle(C,B);this._resolveAnimations(C,P,B).update(f,{options:!B&&this.getSharedOptions(H)||H})}removeHoverStyle(f,C,P){this._setStyle(f,P,"active",!1)}setHoverStyle(f,C,P){this._setStyle(f,P,"active",!0)}_removeDatasetHoverStyle(){const f=this._cachedMeta.dataset;f&&this._setStyle(f,void 0,"active",!1)}_setDatasetHoverStyle(){const f=this._cachedMeta.dataset;f&&this._setStyle(f,void 0,"active",!0)}_resyncElements(f){const C=this._data,P=this._cachedMeta.data;for(const[me,Se,ft]of this._syncList)this[me](Se,ft);this._syncList=[];const B=P.length,H=C.length,ne=Math.min(H,B);ne&&this.parse(0,ne),H>B?this._insertElements(B,H-B,f):H{for(ft.length+=C,me=ft.length-1;me>=ne;me--)ft[me]=ft[me-C]};for(Se(H),me=f;meP-B))}return I._cache.$bar}(y,I.type);let P,B,H,ne,C=y._length;const me=()=>{32767===H||-32768===H||((0,e.j)(ne)&&(C=Math.min(C,Math.abs(H-ne)||C)),ne=H)};for(P=0,B=f.length;PMath.abs(ne)&&(me=ne,Se=H),y[f.axis]=Se,y._custom={barStart:me,barEnd:Se,start:P,end:B,min:H,max:ne}}(I,y,f,C):y[f.axis]=f.parse(I,C),y}function qe(I,y,f,C){const P=I.iScale,B=I.vScale,H=P.getLabels(),ne=P===B,me=[];let Se,ft,Ft,hn;for(Se=f,ft=f+C;SeI.x,f="left",C="right"):(y=I.base{class I extends Ge{parsePrimitiveData(f,C,P,B){return qe(f,C,P,B)}parseArrayData(f,C,P,B){return qe(f,C,P,B)}parseObjectData(f,C,P,B){const{iScale:H,vScale:ne}=f,{xAxisKey:me="x",yAxisKey:Se="y"}=this._parsing,ft="x"===H.axis?me:Se,Ft="x"===ne.axis?me:Se,hn=[];let vn,Sn,qn,ho;for(vn=P,Sn=P+B;vnSe.controller.options.grouped),H=P.options.stacked,ne=[],me=Se=>{const ft=Se.controller.getParsed(C),Ft=ft&&ft[Se.vScale.axis];if((0,e.k)(Ft)||isNaN(Ft))return!0};for(const Se of B)if((void 0===C||!me(Se))&&((!1===H||-1===ne.indexOf(Se.stack)||void 0===H&&void 0===Se.stack)&&ne.push(Se.stack),Se.index===f))break;return ne.length||ne.push(void 0),ne}_getStackCount(f){return this._getStacks(void 0,f).length}_getStackIndex(f,C,P){const B=this._getStacks(f,P),H=void 0!==C?B.indexOf(C):-1;return-1===H?B.length-1:H}_getRuler(){const f=this.options,C=this._cachedMeta,P=C.iScale,B=[];let H,ne;for(H=0,ne=C.data.length;H=f?1:-1)}(qn,C,ne)*H,Ft===ne&&(Fo-=qn/2);const zo=C.getPixelForDecimal(0),ai=C.getPixelForDecimal(1),W=Math.min(zo,ai),te=Math.max(zo,ai);Fo=Math.max(Math.min(Fo,te),W),Sn=Fo+qn}if(Fo===C.getPixelForValue(ne)){const zo=(0,e.s)(qn)*C.getLineWidthForValue(ne)/2;Fo+=zo,qn-=zo}return{size:qn,base:Fo,head:Sn,center:Sn+qn/2}}_calculateBarIndexPixels(f,C){const P=C.scale,B=this.options,H=B.skipNull,ne=(0,e.v)(B.maxBarThickness,1/0);let me,Se;if(C.grouped){const ft=H?this._getStackCount(f):C.stackCount,Ft="flex"===B.barThickness?function Ke(I,y,f,C){const P=y.pixels,B=P[I];let H=I>0?P[I-1]:null,ne=I{class I extends Ge{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(f){const C=this._cachedMeta,{dataset:P,data:B=[],_dataset:H}=C,ne=this.chart._animationsDisabled;let{start:me,count:Se}=(0,e.q)(C,B,ne);this._drawStart=me,this._drawCount=Se,(0,e.w)(C)&&(me=0,Se=B.length),P._chart=this.chart,P._datasetIndex=this.index,P._decimated=!!H._decimated,P.points=B;const ft=this.resolveDatasetElementOptions(f);this.options.showLine||(ft.borderWidth=0),ft.segment=this.options.segment,this.updateElement(P,void 0,{animated:!ne,options:ft},f),this.updateElements(B,me,Se,f)}updateElements(f,C,P,B){const H="reset"===B,{iScale:ne,vScale:me,_stacked:Se,_dataset:ft}=this._cachedMeta,{sharedOptions:Ft,includeOptions:hn}=this._getSharedOptions(C,B),vn=ne.axis,Sn=me.axis,{spanGaps:qn,segment:ho}=this.options,Fo=(0,e.x)(qn)?qn:Number.POSITIVE_INFINITY,zo=this.chart._animationsDisabled||H||"none"===B;let ai=C>0&&this.getParsed(C-1);for(let W=C;W0&&Math.abs(ye[vn]-ai[vn])>Fo,ho&&(se.parsed=ye,se.raw=ft.data[W]),hn&&(se.options=Ft||this.resolveDataElementOptions(W,te.active?"active":B)),zo||this.updateElement(te,W,se,B),ai=ye}}getMaxOverflow(){const f=this._cachedMeta,C=f.dataset,P=C.options&&C.options.borderWidth||0,B=f.data||[];if(!B.length)return P;const H=B[0].size(this.resolveDataElementOptions(0)),ne=B[B.length-1].size(this.resolveDataElementOptions(B.length-1));return Math.max(P,H,ne)/2}draw(){const f=this._cachedMeta;f.dataset.updateControlPoints(this.chart.chartArea,f.iScale.axis),super.draw()}}return I.id="line",I.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},I.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}},I})();class gn{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(y){const{x:f,y:C}=this.getProps(["x","y"],y);return{x:f,y:C}}hasValue(){return(0,e.x)(this.x)&&(0,e.x)(this.y)}getProps(y,f){const C=this.$animations;if(!f||!C)return this;const P={};return y.forEach(B=>{P[B]=C[B]&&C[B].active()?C[B]._to:this[B]}),P}}gn.defaults={},gn.defaultRoutes=void 0;const Vt={values:I=>(0,e.b)(I)?I:""+I,numeric(I,y,f){if(0===I)return"0";const C=this.chart.options.locale;let P,B=I;if(f.length>1){const Se=Math.max(Math.abs(f[0].value),Math.abs(f[f.length-1].value));(Se<1e-4||Se>1e15)&&(P="scientific"),B=function Gt(I,y){let f=y.length>3?y[2].value-y[1].value:y[1].value-y[0].value;return Math.abs(f)>=1&&I!==Math.floor(I)&&(f=I-Math.floor(I)),f}(I,f)}const H=(0,e.z)(Math.abs(B)),ne=Math.max(Math.min(-1*Math.floor(H),20),0),me={notation:P,minimumFractionDigits:ne,maximumFractionDigits:ne};return Object.assign(me,this.options.ticks.format),(0,e.o)(I,C,me)},logarithmic(I,y,f){if(0===I)return"0";const C=I/Math.pow(10,Math.floor((0,e.z)(I)));return 1===C||2===C||5===C?Vt.numeric.call(this,I,y,f):""}};var Ln={formatters:Vt};function yo(I,y,f,C,P){const B=(0,e.v)(C,0),H=Math.min((0,e.v)(P,I.length),I.length);let me,Se,ft,ne=0;for(f=Math.ceil(f),P&&(me=P-C,f=me/Math.floor(me/f)),ft=B;ft<0;)ne++,ft=Math.round(B+ne*f);for(Se=Math.max(B,0);Sey.lineWidth,tickColor:(I,y)=>y.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:Ln.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.d.route("scale.ticks","color","","color"),e.d.route("scale.grid","color","","borderColor"),e.d.route("scale.grid","borderColor","","borderColor"),e.d.route("scale.title","color","","color"),e.d.describe("scale",{_fallback:!1,_scriptable:I=>!I.startsWith("before")&&!I.startsWith("after")&&"callback"!==I&&"parser"!==I,_indexable:I=>"borderDash"!==I&&"tickBorderDash"!==I}),e.d.describe("scales",{_fallback:"scale"}),e.d.describe("scale.ticks",{_scriptable:I=>"backdropPadding"!==I&&"callback"!==I,_indexable:I=>"backdropPadding"!==I});const ci=(I,y,f)=>"top"===y||"left"===y?I[y]+f:I[y]-f;function ko(I,y){const f=[],C=I.length/y,P=I.length;let B=0;for(;BH+1e-6)))return me}function Ji(I){return I.drawTicks?I.tickLength:0}function pi(I,y){if(!I.display)return 0;const f=(0,e.O)(I.font,y),C=(0,e.K)(I.padding);return((0,e.b)(I.text)?I.text.length:1)*f.lineHeight+C.height}function Pi(I,y,f){let C=(0,e.R)(I);return(f&&"right"!==y||!f&&"right"===y)&&(C=(I=>"left"===I?"right":"right"===I?"left":I)(C)),C}class qt extends gn{constructor(y){super(),this.id=y.id,this.type=y.type,this.options=void 0,this.ctx=y.ctx,this.chart=y.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(y){this.options=y.setContext(this.getContext()),this.axis=y.axis,this._userMin=this.parse(y.min),this._userMax=this.parse(y.max),this._suggestedMin=this.parse(y.suggestedMin),this._suggestedMax=this.parse(y.suggestedMax)}parse(y,f){return y}getUserBounds(){let{_userMin:y,_userMax:f,_suggestedMin:C,_suggestedMax:P}=this;return y=(0,e.B)(y,Number.POSITIVE_INFINITY),f=(0,e.B)(f,Number.NEGATIVE_INFINITY),C=(0,e.B)(C,Number.POSITIVE_INFINITY),P=(0,e.B)(P,Number.NEGATIVE_INFINITY),{min:(0,e.B)(y,C),max:(0,e.B)(f,P),minDefined:(0,e.g)(y),maxDefined:(0,e.g)(f)}}getMinMax(y){let H,{min:f,max:C,minDefined:P,maxDefined:B}=this.getUserBounds();if(P&&B)return{min:f,max:C};const ne=this.getMatchingVisibleMetas();for(let me=0,Se=ne.length;meC?C:f,C=P&&f>C?f:C,{min:(0,e.B)(f,(0,e.B)(C,f)),max:(0,e.B)(C,(0,e.B)(f,C))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const y=this.chart.data;return this.options.labels||(this.isHorizontal()?y.xLabels:y.yLabels)||y.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,e.C)(this.options.beforeUpdate,[this])}update(y,f,C){const{beginAtZero:P,grace:B,ticks:H}=this.options,ne=H.sampleSize;this.beforeUpdate(),this.maxWidth=y,this.maxHeight=f,this._margins=C=Object.assign({left:0,right:0,top:0,bottom:0},C),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+C.left+C.right:this.height+C.top+C.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,e.D)(this,B,P),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const me=neC)return function Bn(I,y,f,C){let H,P=0,B=f[0];for(C=Math.ceil(C),H=0;HP)return me}return Math.max(P,1)}(P,y,C);if(B>0){let ft,Ft;const hn=B>1?Math.round((ne-H)/(B-1)):null;for(yo(y,me,Se,(0,e.k)(hn)?0:H-hn,H),ft=0,Ft=B-1;ft=B||C<=1||!this.isHorizontal())return void(this.labelRotation=P);const ft=this._getLabelSizes(),Ft=ft.widest.width,hn=ft.highest.height,vn=(0,e.E)(this.chart.width-Ft,0,this.maxWidth);ne=y.offset?this.maxWidth/C:vn/(C-1),Ft+6>ne&&(ne=vn/(C-(y.offset?.5:1)),me=this.maxHeight-Ji(y.grid)-f.padding-pi(y.title,this.chart.options.font),Se=Math.sqrt(Ft*Ft+hn*hn),H=(0,e.F)(Math.min(Math.asin((0,e.E)((ft.highest.height+6)/ne,-1,1)),Math.asin((0,e.E)(me/Se,-1,1))-Math.asin((0,e.E)(hn/Se,-1,1)))),H=Math.max(P,Math.min(B,H))),this.labelRotation=H}afterCalculateLabelRotation(){(0,e.C)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,e.C)(this.options.beforeFit,[this])}fit(){const y={width:0,height:0},{chart:f,options:{ticks:C,title:P,grid:B}}=this,H=this._isVisible(),ne=this.isHorizontal();if(H){const me=pi(P,f.options.font);if(ne?(y.width=this.maxWidth,y.height=Ji(B)+me):(y.height=this.maxHeight,y.width=Ji(B)+me),C.display&&this.ticks.length){const{first:Se,last:ft,widest:Ft,highest:hn}=this._getLabelSizes(),vn=2*C.padding,Sn=(0,e.t)(this.labelRotation),qn=Math.cos(Sn),ho=Math.sin(Sn);ne?y.height=Math.min(this.maxHeight,y.height+(C.mirror?0:ho*Ft.width+qn*hn.height)+vn):y.width=Math.min(this.maxWidth,y.width+(C.mirror?0:qn*Ft.width+ho*hn.height)+vn),this._calculatePadding(Se,ft,ho,qn)}}this._handleMargins(),ne?(this.width=this._length=f.width-this._margins.left-this._margins.right,this.height=y.height):(this.width=y.width,this.height=this._length=f.height-this._margins.top-this._margins.bottom)}_calculatePadding(y,f,C,P){const{ticks:{align:B,padding:H},position:ne}=this.options,me=0!==this.labelRotation,Se="top"!==ne&&"x"===this.axis;if(this.isHorizontal()){const ft=this.getPixelForTick(0)-this.left,Ft=this.right-this.getPixelForTick(this.ticks.length-1);let hn=0,vn=0;me?Se?(hn=P*y.width,vn=C*f.height):(hn=C*y.height,vn=P*f.width):"start"===B?vn=f.width:"end"===B?hn=y.width:"inner"!==B&&(hn=y.width/2,vn=f.width/2),this.paddingLeft=Math.max((hn-ft+H)*this.width/(this.width-ft),0),this.paddingRight=Math.max((vn-Ft+H)*this.width/(this.width-Ft),0)}else{let ft=f.height/2,Ft=y.height/2;"start"===B?(ft=0,Ft=y.height):"end"===B&&(ft=f.height,Ft=0),this.paddingTop=ft+H,this.paddingBottom=Ft+H}}_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,e.C)(this.options.afterFit,[this])}isHorizontal(){const{axis:y,position:f}=this.options;return"top"===f||"bottom"===f||"x"===y}isFullSize(){return this.options.fullSize}_convertTicksToLabels(y){let f,C;for(this.beforeTickToLabelConversion(),this.generateTickLabels(y),f=0,C=y.length;f{const C=f.gc,P=C.length/2;let B;if(P>y){for(B=0;B({width:B[se]||0,height:H[se]||0});return{first:ye(0),last:ye(f-1),widest:ye(W),highest:ye(te),widths:B,heights:H}}getLabelForValue(y){return y}getPixelForValue(y,f){return NaN}getValueForPixel(y){}getPixelForTick(y){const f=this.ticks;return y<0||y>f.length-1?null:this.getPixelForValue(f[y].value)}getPixelForDecimal(y){this._reversePixels&&(y=1-y);const f=this._startPixel+y*this._length;return(0,e.I)(this._alignToPixels?(0,e.J)(this.chart,f,0):f)}getDecimalForPixel(y){const f=(y-this._startPixel)/this._length;return this._reversePixels?1-f:f}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:y,max:f}=this;return y<0&&f<0?f:y>0&&f>0?y:0}getContext(y){const f=this.ticks||[];if(y>=0&&yne*P?ne/C:me/P:me*P0}_computeGridLineItems(y){const f=this.axis,C=this.chart,P=this.options,{grid:B,position:H}=P,ne=B.offset,me=this.isHorizontal(),ft=this.ticks.length+(ne?1:0),Ft=Ji(B),hn=[],vn=B.setContext(this.getContext()),Sn=vn.drawBorder?vn.borderWidth:0,qn=Sn/2,ho=function(di){return(0,e.J)(C,di,Sn)};let Fo,zo,ai,W,te,ye,se,Oe,bt,wt,zn,lo;if("top"===H)Fo=ho(this.bottom),ye=this.bottom-Ft,Oe=Fo-qn,wt=ho(y.top)+qn,lo=y.bottom;else if("bottom"===H)Fo=ho(this.top),wt=y.top,lo=ho(y.bottom)-qn,ye=Fo+qn,Oe=this.top+Ft;else if("left"===H)Fo=ho(this.right),te=this.right-Ft,se=Fo-qn,bt=ho(y.left)+qn,zn=y.right;else if("right"===H)Fo=ho(this.left),bt=y.left,zn=ho(y.right)-qn,te=Fo+qn,se=this.left+Ft;else if("x"===f){if("center"===H)Fo=ho((y.top+y.bottom)/2+.5);else if((0,e.i)(H)){const di=Object.keys(H)[0];Fo=ho(this.chart.scales[di].getPixelForValue(H[di]))}wt=y.top,lo=y.bottom,ye=Fo+qn,Oe=ye+Ft}else if("y"===f){if("center"===H)Fo=ho((y.left+y.right)/2);else if((0,e.i)(H)){const di=Object.keys(H)[0];Fo=ho(this.chart.scales[di].getPixelForValue(H[di]))}te=Fo-qn,se=te-Ft,bt=y.left,zn=y.right}const no=(0,e.v)(P.ticks.maxTicksLimit,ft),vi=Math.max(1,Math.ceil(ft/no));for(zo=0;zoB.value===y);return P>=0?f.setContext(this.getContext(P)).lineWidth:0}drawGrid(y){const f=this.options.grid,C=this.ctx,P=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(y));let B,H;const ne=(me,Se,ft)=>{!ft.width||!ft.color||(C.save(),C.lineWidth=ft.width,C.strokeStyle=ft.color,C.setLineDash(ft.borderDash||[]),C.lineDashOffset=ft.borderDashOffset,C.beginPath(),C.moveTo(me.x,me.y),C.lineTo(Se.x,Se.y),C.stroke(),C.restore())};if(f.display)for(B=0,H=P.length;B{this.drawBackground(),this.drawGrid(P),this.drawTitle()}},{z:C+1,draw:()=>{this.drawBorder()}},{z:f,draw:P=>{this.drawLabels(P)}}]:[{z:f,draw:P=>{this.draw(P)}}]}getMatchingVisibleMetas(y){const f=this.chart.getSortedVisibleDatasetMetas(),C=this.axis+"AxisID",P=[];let B,H;for(B=0,H=f.length;B{const C=f.split("."),P=C.pop(),B=[I].concat(C).join("."),H=y[f].split("."),ne=H.pop(),me=H.join(".");e.d.route(B,P,me,ne)})}(y,I.defaultRoutes),I.descriptors&&e.d.describe(y,I.descriptors)}(y,H,C),this.override&&e.d.override(y.id,y.overrides)),H}get(y){return this.items[y]}unregister(y){const f=this.items,C=y.id,P=this.scope;C in f&&delete f[C],P&&C in e.d[P]&&(delete e.d[P][C],this.override&&delete e.U[C])}}var en=new class tt{constructor(){this.controllers=new Pt(Ge,"datasets",!0),this.elements=new Pt(gn,"elements"),this.plugins=new Pt(Object,"plugins"),this.scales=new Pt(qt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...y){this._each("register",y)}remove(...y){this._each("unregister",y)}addControllers(...y){this._each("register",y,this.controllers)}addElements(...y){this._each("register",y,this.elements)}addPlugins(...y){this._each("register",y,this.plugins)}addScales(...y){this._each("register",y,this.scales)}getController(y){return this._get(y,this.controllers,"controller")}getElement(y){return this._get(y,this.elements,"element")}getPlugin(y){return this._get(y,this.plugins,"plugin")}getScale(y){return this._get(y,this.scales,"scale")}removeControllers(...y){this._each("unregister",y,this.controllers)}removeElements(...y){this._each("unregister",y,this.elements)}removePlugins(...y){this._each("unregister",y,this.plugins)}removeScales(...y){this._each("unregister",y,this.scales)}_each(y,f,C){[...f].forEach(P=>{const B=C||this._getRegistryForType(P);C||B.isForType(P)||B===this.plugins&&P.id?this._exec(y,B,P):(0,e.Q)(P,H=>{const ne=C||this._getRegistryForType(H);this._exec(y,ne,H)})})}_exec(y,f,C){const P=(0,e.W)(y);(0,e.C)(C["before"+P],[],C),f[y](C),(0,e.C)(C["after"+P],[],C)}_getRegistryForType(y){for(let f=0;f{class I{constructor(f){this.options=f||{}}init(f){}formats(){return zt()}parse(f,C){return zt()}format(f,C){return zt()}add(f,C,P){return zt()}diff(f,C,P){return zt()}startOf(f,C,P){return zt()}endOf(f,C){return zt()}}return I.override=function(y){Object.assign(I.prototype,y)},I})()};function an(I,y,f,C){const{controller:P,data:B,_sorted:H}=I,ne=P._cachedMeta.iScale;if(ne&&y===ne.axis&&"r"!==y&&H&&B.length){const me=ne._reversePixels?e.Y:e.Z;if(!C)return me(B,y,f);if(P._sharedOptions){const Se=B[0],ft="function"==typeof Se.getRange&&Se.getRange(y);if(ft){const Ft=me(B,y,f-ft),hn=me(B,y,f+ft);return{lo:Ft.lo,hi:hn.hi}}}}return{lo:0,hi:B.length-1}}function Wn(I,y,f,C,P){const B=I.getSortedVisibleDatasetMetas(),H=f[y];for(let ne=0,me=B.length;ne{me[H](y[f],P)&&(B.push({element:me,datasetIndex:Se,index:ft}),ne=ne||me.inRange(y.x,y.y,P))}),C&&!ne?[]:B}var Ro={evaluateInteractionItems:Wn,modes:{index(I,y,f,C){const P=(0,e.X)(y,I),B=f.axis||"x",H=f.includeInvisible||!1,ne=f.intersect?Do(I,P,B,C,H):On(I,P,B,!1,C,H),me=[];return ne.length?(I.getSortedVisibleDatasetMetas().forEach(Se=>{const ft=ne[0].index,Ft=Se.data[ft];Ft&&!Ft.skip&&me.push({element:Ft,datasetIndex:Se.index,index:ft})}),me):[]},dataset(I,y,f,C){const P=(0,e.X)(y,I),B=f.axis||"xy",H=f.includeInvisible||!1;let ne=f.intersect?Do(I,P,B,C,H):On(I,P,B,!1,C,H);if(ne.length>0){const me=ne[0].datasetIndex,Se=I.getDatasetMeta(me).data;ne=[];for(let ft=0;ftDo(I,(0,e.X)(y,I),f.axis||"xy",C,f.includeInvisible||!1),nearest:(I,y,f,C)=>On(I,(0,e.X)(y,I),f.axis||"xy",f.intersect,C,f.includeInvisible||!1),x:(I,y,f,C)=>ni(I,(0,e.X)(y,I),"x",f.intersect,C),y:(I,y,f,C)=>ni(I,(0,e.X)(y,I),"y",f.intersect,C)}};const bo=["left","top","right","bottom"];function $i(I,y){return I.filter(f=>f.pos===y)}function yi(I,y){return I.filter(f=>-1===bo.indexOf(f.pos)&&f.box.axis===y)}function Gi(I,y){return I.sort((f,C)=>{const P=y?C:f,B=y?f:C;return P.weight===B.weight?P.index-B.index:P.weight-B.weight})}function Ki(I,y,f,C){return Math.max(I[f],y[f])+Math.max(I[C],y[C])}function kr(I,y){I.top=Math.max(I.top,y.top),I.left=Math.max(I.left,y.left),I.bottom=Math.max(I.bottom,y.bottom),I.right=Math.max(I.right,y.right)}function Wr(I,y,f,C){const{pos:P,box:B}=f,H=I.maxPadding;if(!(0,e.i)(P)){f.size&&(I[P]-=f.size);const Ft=C[f.stack]||{size:0,count:1};Ft.size=Math.max(Ft.size,f.horizontal?B.height:B.width),f.size=Ft.size/Ft.count,I[P]+=f.size}B.getPadding&&kr(H,B.getPadding());const ne=Math.max(0,y.outerWidth-Ki(H,I,"left","right")),me=Math.max(0,y.outerHeight-Ki(H,I,"top","bottom")),Se=ne!==I.w,ft=me!==I.h;return I.w=ne,I.h=me,f.horizontal?{same:Se,other:ft}:{same:ft,other:Se}}function io(I,y){const f=y.maxPadding;return function C(P){const B={left:0,top:0,right:0,bottom:0};return P.forEach(H=>{B[H]=Math.max(y[H],f[H])}),B}(I?["left","right"]:["top","bottom"])}function Ho(I,y,f,C){const P=[];let B,H,ne,me,Se,ft;for(B=0,H=I.length,Se=0;BSe.box.fullSize),!0),C=Gi($i(y,"left"),!0),P=Gi($i(y,"right")),B=Gi($i(y,"top"),!0),H=Gi($i(y,"bottom")),ne=yi(y,"x"),me=yi(y,"y");return{fullSize:f,leftAndTop:C.concat(B),rightAndBottom:P.concat(me).concat(H).concat(ne),chartArea:$i(y,"chartArea"),vertical:C.concat(P).concat(me),horizontal:B.concat(H).concat(ne)}}(I.boxes),me=ne.vertical,Se=ne.horizontal;(0,e.Q)(I.boxes,qn=>{"function"==typeof qn.beforeLayout&&qn.beforeLayout()});const ft=me.reduce((qn,ho)=>ho.box.options&&!1===ho.box.options.display?qn:qn+1,0)||1,Ft=Object.freeze({outerWidth:y,outerHeight:f,padding:P,availableWidth:B,availableHeight:H,vBoxMaxWidth:B/2/ft,hBoxMaxHeight:H/2}),hn=Object.assign({},P);kr(hn,(0,e.K)(C));const vn=Object.assign({maxPadding:hn,w:B,h:H,x:P.left,y:P.top},P),Sn=function wi(I,y){const f=function Sr(I){const y={};for(const f of I){const{stack:C,pos:P,stackWeight:B}=f;if(!C||!bo.includes(P))continue;const H=y[C]||(y[C]={count:0,placed:0,weight:0,size:0});H.count++,H.weight+=B}return y}(I),{vBoxMaxWidth:C,hBoxMaxHeight:P}=y;let B,H,ne;for(B=0,H=I.length;B{const ho=qn.box;Object.assign(ho,I.chartArea),ho.update(vn.w,vn.h,{left:0,top:0,right:0,bottom:0})})}};class qi{acquireContext(y,f){}releaseContext(y){return!1}addEventListener(y,f,C){}removeEventListener(y,f,C){}getDevicePixelRatio(){return 1}getMaximumSize(y,f,C,P){return f=Math.max(0,f||y.width),C=C||y.height,{width:f,height:Math.max(0,P?Math.floor(f/P):C)}}isAttached(y){return!0}updateConfig(y){}}class bi extends qi{acquireContext(y){return y&&y.getContext&&y.getContext("2d")||null}updateConfig(y){y.options.animation=!1}}const Rr="$chartjs",Fi={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ri=I=>null===I||""===I,wr=!!e.a5&&{passive:!0};function Zr(I,y,f){I.canvas.removeEventListener(y,f,wr)}function Mr(I,y){for(const f of I)if(f===y||f.contains(y))return!0}function Fs(I,y,f){const C=I.canvas,P=new MutationObserver(B=>{let H=!1;for(const ne of B)H=H||Mr(ne.addedNodes,C),H=H&&!Mr(ne.removedNodes,C);H&&f()});return P.observe(document,{childList:!0,subtree:!0}),P}function es(I,y,f){const C=I.canvas,P=new MutationObserver(B=>{let H=!1;for(const ne of B)H=H||Mr(ne.removedNodes,C),H=H&&!Mr(ne.addedNodes,C);H&&f()});return P.observe(document,{childList:!0,subtree:!0}),P}const Cr=new Map;let Dr=0;function rs(){const I=window.devicePixelRatio;I!==Dr&&(Dr=I,Cr.forEach((y,f)=>{f.currentDevicePixelRatio!==I&&y()}))}function Pr(I,y,f){const C=I.canvas,P=C&&(0,e.a2)(C);if(!P)return;const B=(0,e.a4)((ne,me)=>{const Se=P.clientWidth;f(ne,me),Se{const me=ne[0],Se=me.contentRect.width,ft=me.contentRect.height;0===Se&&0===ft||B(Se,ft)});return H.observe(P),function ys(I,y){Cr.size||window.addEventListener("resize",rs),Cr.set(I,y)}(I,B),H}function ts(I,y,f){f&&f.disconnect(),"resize"===y&&function _r(I){Cr.delete(I),Cr.size||window.removeEventListener("resize",rs)}(I)}function hi(I,y,f){const C=I.canvas,P=(0,e.a4)(B=>{null!==I.ctx&&f(function Kr(I,y){const f=Fi[I.type]||I.type,{x:C,y:P}=(0,e.X)(I,y);return{type:f,chart:y,native:I,x:void 0!==C?C:null,y:void 0!==P?P:null}}(B,I))},I,B=>{const H=B[0];return[H,H.offsetX,H.offsetY]});return function xr(I,y,f){I.addEventListener(y,f,wr)}(C,y,P),P}class yt extends qi{acquireContext(y,f){const C=y&&y.getContext&&y.getContext("2d");return C&&C.canvas===y?(function is(I,y){const f=I.style,C=I.getAttribute("height"),P=I.getAttribute("width");if(I[Rr]={initial:{height:C,width:P,style:{display:f.display,height:f.height,width:f.width}}},f.display=f.display||"block",f.boxSizing=f.boxSizing||"border-box",ri(P)){const B=(0,e.a3)(I,"width");void 0!==B&&(I.width=B)}if(ri(C))if(""===I.style.height)I.height=I.width/(y||2);else{const B=(0,e.a3)(I,"height");void 0!==B&&(I.height=B)}}(y,f),C):null}releaseContext(y){const f=y.canvas;if(!f[Rr])return!1;const C=f[Rr].initial;["height","width"].forEach(B=>{const H=C[B];(0,e.k)(H)?f.removeAttribute(B):f.setAttribute(B,H)});const P=C.style||{};return Object.keys(P).forEach(B=>{f.style[B]=P[B]}),f.width=f.width,delete f[Rr],!0}addEventListener(y,f,C){this.removeEventListener(y,f),(y.$proxies||(y.$proxies={}))[f]=({attach:Fs,detach:es,resize:Pr}[f]||hi)(y,f,C)}removeEventListener(y,f){const C=y.$proxies||(y.$proxies={}),P=C[f];P&&(({attach:ts,detach:ts,resize:ts}[f]||Zr)(y,f,P),C[f]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(y,f,C,P){return(0,e.a1)(y,f,C,P)}isAttached(y){const f=(0,e.a2)(y);return!(!f||!f.isConnected)}}class Pn{constructor(){this._init=[]}notify(y,f,C,P){"beforeInit"===f&&(this._init=this._createDescriptors(y,!0),this._notify(this._init,y,"install"));const B=P?this._descriptors(y).filter(P):this._descriptors(y),H=this._notify(B,y,f,C);return"afterDestroy"===f&&(this._notify(B,y,"stop"),this._notify(this._init,y,"uninstall")),H}_notify(y,f,C,P){P=P||{};for(const B of y){const H=B.plugin;if(!1===(0,e.C)(H[C],[f,P,B.options],H)&&P.cancelable)return!1}return!0}invalidate(){(0,e.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(y){if(this._cache)return this._cache;const f=this._cache=this._createDescriptors(y);return this._notifyStateChanges(y),f}_createDescriptors(y,f){const C=y&&y.config,P=(0,e.v)(C.options&&C.options.plugins,{}),B=function Zt(I){const y={},f=[],C=Object.keys(en.plugins.items);for(let B=0;BB.filter(ne=>!H.some(me=>ne.plugin.id===me.plugin.id));this._notify(P(f,C),y,"stop"),this._notify(P(C,f),y,"start")}}function Cn(I,y){return y||!1!==I?!0===I?{}:I:null}function go(I,{plugin:y,local:f},C,P){const B=I.pluginScopeKeys(y),H=I.getOptionScopes(C,B);return f&&y.defaults&&H.push(y.defaults),I.createResolver(H,P,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function so(I,y){return((y.datasets||{})[I]||{}).indexAxis||y.indexAxis||(e.d.datasets[I]||{}).indexAxis||"x"}function L(I,y){return"x"===I||"y"===I?I:y.axis||function Jo(I){return"top"===I||"bottom"===I?"x":"left"===I||"right"===I?"y":void 0}(y.position)||I.charAt(0).toLowerCase()}function ce(I){const y=I.options||(I.options={});y.plugins=(0,e.v)(y.plugins,{}),y.scales=function re(I,y){const f=e.U[I.type]||{scales:{}},C=y.scales||{},P=so(I.type,y),B=Object.create(null),H=Object.create(null);return Object.keys(C).forEach(ne=>{const me=C[ne];if(!(0,e.i)(me))return console.error(`Invalid scale configuration for scale: ${ne}`);if(me._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${ne}`);const Se=L(ne,me),ft=function si(I,y){return I===y?"_index_":"_value_"}(Se,P),Ft=f.scales||{};B[Se]=B[Se]||ne,H[ne]=(0,e.ac)(Object.create(null),[{axis:Se},me,Ft[Se],Ft[ft]])}),I.data.datasets.forEach(ne=>{const me=ne.type||I.type,Se=ne.indexAxis||so(me,y),Ft=(e.U[me]||{}).scales||{};Object.keys(Ft).forEach(hn=>{const vn=function Wo(I,y){let f=I;return"_index_"===I?f=y:"_value_"===I&&(f="x"===y?"y":"x"),f}(hn,Se),Sn=ne[vn+"AxisID"]||B[vn]||vn;H[Sn]=H[Sn]||Object.create(null),(0,e.ac)(H[Sn],[{axis:vn},C[Sn],Ft[hn]])})}),Object.keys(H).forEach(ne=>{const me=H[ne];(0,e.ac)(me,[e.d.scales[me.type],e.d.scale])}),H}(I,y)}function Pe(I){return(I=I||{}).datasets=I.datasets||[],I.labels=I.labels||[],I}const We=new Map,lt=new Set;function jt(I,y){let f=We.get(I);return f||(f=y(),We.set(I,f),lt.add(f)),f}const Jt=(I,y,f)=>{const C=(0,e.f)(y,f);void 0!==C&&I.add(C)};class ie{constructor(y){this._config=function et(I){return(I=I||{}).data=Pe(I.data),ce(I),I}(y),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(y){this._config.type=y}get data(){return this._config.data}set data(y){this._config.data=Pe(y)}get options(){return this._config.options}set options(y){this._config.options=y}get plugins(){return this._config.plugins}update(){const y=this._config;this.clearCache(),ce(y)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(y){return jt(y,()=>[[`datasets.${y}`,""]])}datasetAnimationScopeKeys(y,f){return jt(`${y}.transition.${f}`,()=>[[`datasets.${y}.transitions.${f}`,`transitions.${f}`],[`datasets.${y}`,""]])}datasetElementScopeKeys(y,f){return jt(`${y}-${f}`,()=>[[`datasets.${y}.elements.${f}`,`datasets.${y}`,`elements.${f}`,""]])}pluginScopeKeys(y){const f=y.id;return jt(`${this.type}-plugin-${f}`,()=>[[`plugins.${f}`,...y.additionalOptionScopes||[]]])}_cachedScopes(y,f){const C=this._scopeCache;let P=C.get(y);return(!P||f)&&(P=new Map,C.set(y,P)),P}getOptionScopes(y,f,C){const{options:P,type:B}=this,H=this._cachedScopes(y,C),ne=H.get(f);if(ne)return ne;const me=new Set;f.forEach(ft=>{y&&(me.add(y),ft.forEach(Ft=>Jt(me,y,Ft))),ft.forEach(Ft=>Jt(me,P,Ft)),ft.forEach(Ft=>Jt(me,e.U[B]||{},Ft)),ft.forEach(Ft=>Jt(me,e.d,Ft)),ft.forEach(Ft=>Jt(me,e.a7,Ft))});const Se=Array.from(me);return 0===Se.length&&Se.push(Object.create(null)),lt.has(f)&&H.set(f,Se),Se}chartOptionScopes(){const{options:y,type:f}=this;return[y,e.U[f]||{},e.d.datasets[f]||{},{type:f},e.d,e.a7]}resolveNamedOptions(y,f,C,P=[""]){const B={$shared:!0},{resolver:H,subPrefixes:ne}=Be(this._resolverCache,y,P);let me=H;if(function ct(I,y){const{isScriptable:f,isIndexable:C}=(0,e.ab)(I);for(const P of y){const B=f(P),H=C(P),ne=(H||B)&&I[P];if(B&&((0,e.a8)(ne)||Qe(ne))||H&&(0,e.b)(ne))return!0}return!1}(H,f)){B.$shared=!1,C=(0,e.a8)(C)?C():C;const Se=this.createResolver(y,C,ne);me=(0,e.a9)(H,C,Se)}for(const Se of f)B[Se]=me[Se];return B}createResolver(y,f,C=[""],P){const{resolver:B}=Be(this._resolverCache,y,C);return(0,e.i)(f)?(0,e.a9)(B,f,void 0,P):B}}function Be(I,y,f){let C=I.get(y);C||(C=new Map,I.set(y,C));const P=f.join();let B=C.get(P);return B||(B={resolver:(0,e.aa)(y,f),subPrefixes:f.filter(ne=>!ne.toLowerCase().includes("hover"))},C.set(P,B)),B}const Qe=I=>(0,e.i)(I)&&Object.getOwnPropertyNames(I).reduce((y,f)=>y||(0,e.a8)(I[f]),!1),Dt=["top","bottom","left","right","chartArea"];function fn(I,y){return"top"===I||"bottom"===I||-1===Dt.indexOf(I)&&"x"===y}function un(I,y){return function(f,C){return f[I]===C[I]?f[y]-C[y]:f[I]-C[I]}}function In(I){const y=I.chart,f=y.options.animation;y.notifyPlugins("afterRender"),(0,e.C)(f&&f.onComplete,[I],y)}function $n(I){const y=I.chart,f=y.options.animation;(0,e.C)(f&&f.onProgress,[I],y)}function vo(I){return(0,e.a6)()&&"string"==typeof I?I=document.getElementById(I):I&&I.length&&(I=I[0]),I&&I.canvas&&(I=I.canvas),I}const Mo={},po=I=>{const y=vo(I);return Object.values(Mo).filter(f=>f.canvas===y).pop()};function uo(I,y,f){const C=Object.keys(I);for(const P of C){const B=+P;if(B>=y){const H=I[P];delete I[P],(f>0||B>y)&&(I[B+f]=H)}}}class Co{constructor(y,f){const C=this.config=new ie(f),P=vo(y),B=po(P);if(B)throw new Error("Canvas is already in use. Chart with ID '"+B.id+"' must be destroyed before the canvas with ID '"+B.canvas.id+"' can be reused.");const H=C.createResolver(C.chartOptionScopes(),this.getContext());this.platform=new(C.platform||function Wt(I){return!(0,e.a6)()||typeof OffscreenCanvas<"u"&&I instanceof OffscreenCanvas?bi:yt}(P)),this.platform.updateConfig(C);const ne=this.platform.acquireContext(P,H.aspectRatio),me=ne&&ne.canvas,Se=me&&me.height,ft=me&&me.width;this.id=(0,e.ad)(),this.ctx=ne,this.canvas=me,this.width=ft,this.height=Se,this._options=H,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 Pn,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,e.ae)(Ft=>this.update(Ft),H.resizeDelay||0),this._dataChanges=[],Mo[this.id]=this,ne&&me?(l.listen(this,"complete",In),l.listen(this,"progress",$n),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:y,maintainAspectRatio:f},width:C,height:P,_aspectRatio:B}=this;return(0,e.k)(y)?f&&B?B:P?C/P:null:y}get data(){return this.config.data}set data(y){this.config.data=y}get options(){return this._options}set options(y){this.config.options=y}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,e.af)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,e.ag)(this.canvas,this.ctx),this}stop(){return l.stop(this),this}resize(y,f){l.running(this)?this._resizeBeforeDraw={width:y,height:f}:this._resize(y,f)}_resize(y,f){const C=this.options,H=this.platform.getMaximumSize(this.canvas,y,f,C.maintainAspectRatio&&this.aspectRatio),ne=C.devicePixelRatio||this.platform.getDevicePixelRatio(),me=this.width?"resize":"attach";this.width=H.width,this.height=H.height,this._aspectRatio=this.aspectRatio,(0,e.af)(this,ne,!0)&&(this.notifyPlugins("resize",{size:H}),(0,e.C)(C.onResize,[this,H],this),this.attached&&this._doResize(me)&&this.render())}ensureScalesHaveIDs(){(0,e.Q)(this.options.scales||{},(C,P)=>{C.id=P})}buildOrUpdateScales(){const y=this.options,f=y.scales,C=this.scales,P=Object.keys(C).reduce((H,ne)=>(H[ne]=!1,H),{});let B=[];f&&(B=B.concat(Object.keys(f).map(H=>{const ne=f[H],me=L(H,ne),Se="r"===me,ft="x"===me;return{options:ne,dposition:Se?"chartArea":ft?"bottom":"left",dtype:Se?"radialLinear":ft?"category":"linear"}}))),(0,e.Q)(B,H=>{const ne=H.options,me=ne.id,Se=L(me,ne),ft=(0,e.v)(ne.type,H.dtype);(void 0===ne.position||fn(ne.position,Se)!==fn(H.dposition))&&(ne.position=H.dposition),P[me]=!0;let Ft=null;me in C&&C[me].type===ft?Ft=C[me]:(Ft=new(en.getScale(ft))({id:me,type:ft,ctx:this.ctx,chart:this}),C[Ft.id]=Ft),Ft.init(ne,y)}),(0,e.Q)(P,(H,ne)=>{H||delete C[ne]}),(0,e.Q)(C,H=>{Ii.configure(this,H,H.options),Ii.addBox(this,H)})}_updateMetasets(){const y=this._metasets,f=this.data.datasets.length,C=y.length;if(y.sort((P,B)=>P.index-B.index),C>f){for(let P=f;Pf.length&&delete this._stacks,y.forEach((C,P)=>{0===f.filter(B=>B===C._dataset).length&&this._destroyDatasetMeta(P)})}buildOrUpdateControllers(){const y=[],f=this.data.datasets;let C,P;for(this._removeUnreferencedMetasets(),C=0,P=f.length;C{this.getDatasetMeta(f).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(y){const f=this.config;f.update();const C=this._options=f.createResolver(f.chartOptionScopes(),this.getContext()),P=this._animationsDisabled=!C.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:y,cancelable:!0}))return;const B=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let H=0;for(let Se=0,ft=this.data.datasets.length;Se{Se.reset()}),this._updateDatasets(y),this.notifyPlugins("afterUpdate",{mode:y}),this._layers.sort(un("z","_idx"));const{_active:ne,_lastEvent:me}=this;me?this._eventHandler(me,!0):ne.length&&this._updateHoverStyles(ne,ne,!0),this.render()}_updateScales(){(0,e.Q)(this.scales,y=>{Ii.removeBox(this,y)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const y=this.options,f=new Set(Object.keys(this._listeners)),C=new Set(y.events);(!(0,e.ah)(f,C)||!!this._responsiveListeners!==y.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:y}=this,f=this._getUniformDataChanges()||[];for(const{method:C,start:P,count:B}of f)uo(y,P,"_removeElements"===C?-B:B)}_getUniformDataChanges(){const y=this._dataChanges;if(!y||!y.length)return;this._dataChanges=[];const f=this.data.datasets.length,C=B=>new Set(y.filter(H=>H[0]===B).map((H,ne)=>ne+","+H.splice(1).join(","))),P=C(0);for(let B=1;BB.split(",")).map(B=>({method:B[1],start:+B[2],count:+B[3]}))}_updateLayout(y){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Ii.update(this,this.width,this.height,y);const f=this.chartArea,C=f.width<=0||f.height<=0;this._layers=[],(0,e.Q)(this.boxes,P=>{C&&"chartArea"===P.position||(P.configure&&P.configure(),this._layers.push(...P._layers()))},this),this._layers.forEach((P,B)=>{P._idx=B}),this.notifyPlugins("afterLayout")}_updateDatasets(y){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:y,cancelable:!0})){for(let f=0,C=this.data.datasets.length;f=0;--f)this._drawDataset(y[f]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(y){const f=this.ctx,C=y._clip,P=!C.disabled,B=this.chartArea,H={meta:y,index:y.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",H)&&(P&&(0,e.L)(f,{left:!1===C.left?0:B.left-C.left,right:!1===C.right?this.width:B.right+C.right,top:!1===C.top?0:B.top-C.top,bottom:!1===C.bottom?this.height:B.bottom+C.bottom}),y.controller.draw(),P&&(0,e.N)(f),H.cancelable=!1,this.notifyPlugins("afterDatasetDraw",H))}isPointInArea(y){return(0,e.$)(y,this.chartArea,this._minPadding)}getElementsAtEventForMode(y,f,C,P){const B=Ro.modes[f];return"function"==typeof B?B(this,y,C,P):[]}getDatasetMeta(y){const f=this.data.datasets[y],C=this._metasets;let P=C.filter(B=>B&&B._dataset===f).pop();return P||(P={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:f&&f.order||0,index:y,_dataset:f,_parsed:[],_sorted:!1},C.push(P)),P}getContext(){return this.$context||(this.$context=(0,e.h)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(y){const f=this.data.datasets[y];if(!f)return!1;const C=this.getDatasetMeta(y);return"boolean"==typeof C.hidden?!C.hidden:!f.hidden}setDatasetVisibility(y,f){this.getDatasetMeta(y).hidden=!f}toggleDataVisibility(y){this._hiddenIndices[y]=!this._hiddenIndices[y]}getDataVisibility(y){return!this._hiddenIndices[y]}_updateVisibility(y,f,C){const P=C?"show":"hide",B=this.getDatasetMeta(y),H=B.controller._resolveAnimations(void 0,P);(0,e.j)(f)?(B.data[f].hidden=!C,this.update()):(this.setDatasetVisibility(y,C),H.update(B,{visible:C}),this.update(ne=>ne.datasetIndex===y?P:void 0))}hide(y,f){this._updateVisibility(y,f,!1)}show(y,f){this._updateVisibility(y,f,!0)}_destroyDatasetMeta(y){const f=this._metasets[y];f&&f.controller&&f.controller._destroy(),delete this._metasets[y]}_stop(){let y,f;for(this.stop(),l.remove(this),y=0,f=this.data.datasets.length;y{f.addEventListener(this,B,H),y[B]=H},P=(B,H,ne)=>{B.offsetX=H,B.offsetY=ne,this._eventHandler(B)};(0,e.Q)(this.options.events,B=>C(B,P))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const y=this._responsiveListeners,f=this.platform,C=(me,Se)=>{f.addEventListener(this,me,Se),y[me]=Se},P=(me,Se)=>{y[me]&&(f.removeEventListener(this,me,Se),delete y[me])},B=(me,Se)=>{this.canvas&&this.resize(me,Se)};let H;const ne=()=>{P("attach",ne),this.attached=!0,this.resize(),C("resize",B),C("detach",H)};H=()=>{this.attached=!1,P("resize",B),this._stop(),this._resize(0,0),C("attach",ne)},f.isAttached(this.canvas)?ne():H()}unbindEvents(){(0,e.Q)(this._listeners,(y,f)=>{this.platform.removeEventListener(this,f,y)}),this._listeners={},(0,e.Q)(this._responsiveListeners,(y,f)=>{this.platform.removeEventListener(this,f,y)}),this._responsiveListeners=void 0}updateHoverStyle(y,f,C){const P=C?"set":"remove";let B,H,ne,me;for("dataset"===f&&(B=this.getDatasetMeta(y[0].datasetIndex),B.controller["_"+P+"DatasetHoverStyle"]()),ne=0,me=y.length;ne{const ne=this.getDatasetMeta(B);if(!ne)throw new Error("No dataset found at index "+B);return{datasetIndex:B,element:ne.data[H],index:H}});!(0,e.ai)(C,f)&&(this._active=C,this._lastEvent=null,this._updateHoverStyles(C,f))}notifyPlugins(y,f,C){return this._plugins.notify(this,y,f,C)}_updateHoverStyles(y,f,C){const P=this.options.hover,B=(me,Se)=>me.filter(ft=>!Se.some(Ft=>ft.datasetIndex===Ft.datasetIndex&&ft.index===Ft.index)),H=B(f,y),ne=C?y:B(y,f);H.length&&this.updateHoverStyle(H,P.mode,!1),ne.length&&P.mode&&this.updateHoverStyle(ne,P.mode,!0)}_eventHandler(y,f){const C={event:y,replay:f,cancelable:!0,inChartArea:this.isPointInArea(y)},P=H=>(H.options.events||this.options.events).includes(y.native.type);if(!1===this.notifyPlugins("beforeEvent",C,P))return;const B=this._handleEvent(y,f,C.inChartArea);return C.cancelable=!1,this.notifyPlugins("afterEvent",C,P),(B||C.changed)&&this.render(),this}_handleEvent(y,f,C){const{_active:P=[],options:B}=this,ne=this._getActiveElements(y,P,C,f),me=(0,e.aj)(y),Se=function Po(I,y,f,C){return f&&"mouseout"!==I.type?C?y:I:null}(y,this._lastEvent,C,me);C&&(this._lastEvent=null,(0,e.C)(B.onHover,[y,ne,this],this),me&&(0,e.C)(B.onClick,[y,ne,this],this));const ft=!(0,e.ai)(ne,P);return(ft||f)&&(this._active=ne,this._updateHoverStyles(ne,P,f)),this._lastEvent=Se,ft}_getActiveElements(y,f,C,P){if("mouseout"===y.type)return[];if(!C)return f;const B=this.options.hover;return this.getElementsAtEventForMode(y,B.mode,B,P)}}const Vo=()=>(0,e.Q)(Co.instances,I=>I._plugins.invalidate()),So=!0;function Yo(I,y,f){const{startAngle:C,pixelMargin:P,x:B,y:H,outerRadius:ne,innerRadius:me}=y;let Se=P/ne;I.beginPath(),I.arc(B,H,ne,C-Se,f+Se),me>P?(Se=P/me,I.arc(B,H,me,f+Se,C-Se,!0)):I.arc(B,H,P,f+e.H,C-e.H),I.closePath(),I.clip()}function fi(I,y,f,C){return{x:f+I*Math.cos(y),y:C+I*Math.sin(y)}}function fr(I,y,f,C,P,B){const{x:H,y:ne,startAngle:me,pixelMargin:Se,innerRadius:ft}=y,Ft=Math.max(y.outerRadius+C+f-Se,0),hn=ft>0?ft+C+f+Se:0;let vn=0;const Sn=P-me;if(C){const or=((ft>0?ft-C:0)+(Ft>0?Ft-C:0))/2;vn=(Sn-(0!==or?Sn*or/(or+C):Sn))/2}const ho=(Sn-Math.max(.001,Sn*Ft-f/e.P)/Ft)/2,Fo=me+ho+vn,zo=P-ho-vn,{outerStart:ai,outerEnd:W,innerStart:te,innerEnd:ye}=function Lr(I,y,f,C){const P=function Or(I){return(0,e.al)(I,["outerStart","outerEnd","innerStart","innerEnd"])}(I.options.borderRadius),B=(f-y)/2,H=Math.min(B,C*y/2),ne=me=>{const Se=(f-Math.min(B,me))*C/2;return(0,e.E)(me,0,Math.min(B,Se))};return{outerStart:ne(P.outerStart),outerEnd:ne(P.outerEnd),innerStart:(0,e.E)(P.innerStart,0,H),innerEnd:(0,e.E)(P.innerEnd,0,H)}}(y,hn,Ft,zo-Fo),se=Ft-ai,Oe=Ft-W,bt=Fo+ai/se,wt=zo-W/Oe,zn=hn+te,lo=hn+ye,no=Fo+te/zn,vi=zo-ye/lo;if(I.beginPath(),B){if(I.arc(H,ne,Ft,bt,wt),W>0){const or=fi(Oe,wt,H,ne);I.arc(or.x,or.y,W,wt,zo+e.H)}const di=fi(lo,zo,H,ne);if(I.lineTo(di.x,di.y),ye>0){const or=fi(lo,vi,H,ne);I.arc(or.x,or.y,ye,zo+e.H,vi+Math.PI)}if(I.arc(H,ne,hn,zo-ye/hn,Fo+te/hn,!0),te>0){const or=fi(zn,no,H,ne);I.arc(or.x,or.y,te,no+Math.PI,Fo-e.H)}const Ri=fi(se,Fo,H,ne);if(I.lineTo(Ri.x,Ri.y),ai>0){const or=fi(se,bt,H,ne);I.arc(or.x,or.y,ai,Fo-e.H,bt)}}else{I.moveTo(H,ne);const di=Math.cos(bt)*Ft+H,Ri=Math.sin(bt)*Ft+ne;I.lineTo(di,Ri);const or=Math.cos(wt)*Ft+H,bs=Math.sin(wt)*Ft+ne;I.lineTo(or,bs)}I.closePath()}Object.defineProperties(Co,{defaults:{enumerable:So,value:e.d},instances:{enumerable:So,value:Mo},overrides:{enumerable:So,value:e.U},registry:{enumerable:So,value:en},version:{enumerable:So,value:"3.9.1"},getChart:{enumerable:So,value:po},register:{enumerable:So,value:(...I)=>{en.add(...I),Vo()}},unregister:{enumerable:So,value:(...I)=>{en.remove(...I),Vo()}}});class ar extends gn{constructor(y){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,y&&Object.assign(this,y)}inRange(y,f,C){const P=this.getProps(["x","y"],C),{angle:B,distance:H}=(0,e.a0)(P,{x:y,y:f}),{startAngle:ne,endAngle:me,innerRadius:Se,outerRadius:ft,circumference:Ft}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],C),hn=this.options.spacing/2,Sn=(0,e.v)(Ft,me-ne)>=e.T||(0,e.p)(B,ne,me),qn=(0,e.ak)(H,Se+hn,ft+hn);return Sn&&qn}getCenterPoint(y){const{x:f,y:C,startAngle:P,endAngle:B,innerRadius:H,outerRadius:ne}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],y),{offset:me,spacing:Se}=this.options,ft=(P+B)/2,Ft=(H+ne+Se+me)/2;return{x:f+Math.cos(ft)*Ft,y:C+Math.sin(ft)*Ft}}tooltipPosition(y){return this.getCenterPoint(y)}draw(y){const{options:f,circumference:C}=this,P=(f.offset||0)/2,B=(f.spacing||0)/2,H=f.circular;if(this.pixelMargin="inner"===f.borderAlign?.33:0,this.fullCircles=C>e.T?Math.floor(C/e.T):0,0===C||this.innerRadius<0||this.outerRadius<0)return;y.save();let ne=0;if(P){ne=P/2;const Se=(this.startAngle+this.endAngle)/2;y.translate(Math.cos(Se)*ne,Math.sin(Se)*ne),this.circumference>=e.P&&(ne=P)}y.fillStyle=f.backgroundColor,y.strokeStyle=f.borderColor;const me=function Er(I,y,f,C,P){const{fullCircles:B,startAngle:H,circumference:ne}=y;let me=y.endAngle;if(B){fr(I,y,f,C,H+e.T,P);for(let Se=0;Sene&&B>ne)?C+Se-me:Se-me}}function ks(I,y,f,C){const{points:P,options:B}=y,{count:H,start:ne,loop:me,ilen:Se}=Hr(P,f,C),ft=function Nr(I){return I.stepped?e.as:I.tension||"monotone"===I.cubicInterpolationMode?e.at:jr}(B);let vn,Sn,qn,{move:Ft=!0,reverse:hn}=C||{};for(vn=0;vn<=Se;++vn)Sn=P[(ne+(hn?Se-vn:vn))%H],!Sn.skip&&(Ft?(I.moveTo(Sn.x,Sn.y),Ft=!1):ft(I,qn,Sn,hn,B.stepped),qn=Sn);return me&&(Sn=P[(ne+(hn?Se:0))%H],ft(I,qn,Sn,hn,B.stepped)),!!me}function b(I,y,f,C){const P=y.points,{count:B,start:H,ilen:ne}=Hr(P,f,C),{move:me=!0,reverse:Se}=C||{};let hn,vn,Sn,qn,ho,Fo,ft=0,Ft=0;const zo=W=>(H+(Se?ne-W:W))%B,ai=()=>{qn!==ho&&(I.lineTo(ft,ho),I.lineTo(ft,qn),I.lineTo(ft,Fo))};for(me&&(vn=P[zo(0)],I.moveTo(vn.x,vn.y)),hn=0;hn<=ne;++hn){if(vn=P[zo(hn)],vn.skip)continue;const W=vn.x,te=vn.y,ye=0|W;ye===Sn?(teho&&(ho=te),ft=(Ft*ft+W)/++Ft):(ai(),I.lineTo(W,te),Sn=ye,Ft=0,qn=ho=te),Fo=te}ai()}function ee(I){const y=I.options;return I._decimated||I._loop||y.tension||"monotone"===y.cubicInterpolationMode||y.stepped||y.borderDash&&y.borderDash.length?ks:b}ar.id="arc",ar.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},ar.defaultRoutes={backgroundColor:"backgroundColor"};const Y="function"==typeof Path2D;let Ee=(()=>{class I extends gn{constructor(f){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,f&&Object.assign(this,f)}updateControlPoints(f,C){const P=this.options;!P.tension&&"monotone"!==P.cubicInterpolationMode||P.stepped||this._pointsUpdated||((0,e.am)(this._points,P,f,P.spanGaps?this._loop:this._fullLoop,C),this._pointsUpdated=!0)}set points(f){this._points=f,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,e.an)(this,this.options.segment))}first(){const f=this.segments;return f.length&&this.points[f[0].start]}last(){const f=this.segments,P=f.length;return P&&this.points[f[P-1].end]}interpolate(f,C){const P=this.options,B=f[C],H=this.points,ne=(0,e.ao)(this,{property:C,start:B,end:B});if(!ne.length)return;const me=[],Se=function oe(I){return I.stepped?e.ap:I.tension||"monotone"===I.cubicInterpolationMode?e.aq:e.ar}(P);let ft,Ft;for(ft=0,Ft=ne.length;ft"borderDash"!==y&&"fill"!==y},I})();function _e(I,y,f,C){const P=I.options,{[f]:B}=I.getProps([f],C);return Math.abs(y-B){class I extends gn{constructor(f){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,f&&Object.assign(this,f)}inRange(f,C,P){const B=this.options,{x:H,y:ne}=this.getProps(["x","y"],P);return Math.pow(f-H,2)+Math.pow(C-ne,2)I;y--){const C=f[y];if(!isNaN(C.x)&&!isNaN(C.y))break}return y}function jn(I,y,f,C){return I&&y?C(I[f],y[f]):I?I[f]:y?y[f]:0}function Yn(I,y){let f=[],C=!1;return(0,e.b)(I)?(C=!0,f=I):f=function ue(I,y){const{x:f=null,y:C=null}=I||{},P=y.points,B=[];return y.segments.forEach(({start:H,end:ne})=>{ne=st(H,ne,P);const me=P[H],Se=P[ne];null!==C?(B.push({x:me.x,y:C}),B.push({x:Se.x,y:C})):null!==f&&(B.push({x:f,y:me.y}),B.push({x:f,y:Se.y}))}),B}(I,y),f.length?new Ee({points:f,options:{tension:0},_loop:C,_fullLoop:C}):null}function Lo(I){return I&&!1!==I.fill}function To(I,y,f){let P=I[y].fill;const B=[y];let H;if(!f)return P;for(;!1!==P&&-1===B.indexOf(P);){if(!(0,e.g)(P))return P;if(H=I[P],!H)return!1;if(H.visible)return P;B.push(P),P=H.fill}return!1}function ki(I,y,f){const C=function dr(I){const y=I.options,f=y.fill;let C=(0,e.v)(f&&f.target,f);return void 0===C&&(C=!!y.backgroundColor),!1!==C&&null!==C&&(!0===C?"origin":C)}(I);if((0,e.i)(C))return!isNaN(C.value)&&C;let P=parseFloat(C);return(0,e.g)(P)&&Math.floor(P)===P?function cr(I,y,f,C){return("-"===I||"+"===I)&&(f=y+f),!(f===y||f<0||f>=C)&&f}(C[0],y,P,f):["origin","start","end","stack","shape"].indexOf(C)>=0&&C}function Ce(I,y,f){const C=[];for(let P=0;P=0;--H){const ne=P[H].$filler;ne&&(ne.line.updateControlPoints(B,ne.axis),C&&ne.fill&&Bo(I.ctx,ne,B))}},beforeDatasetsDraw(I,y,f){if("beforeDatasetsDraw"!==f.drawTime)return;const C=I.getSortedVisibleDatasetMetas();for(let P=C.length-1;P>=0;--P){const B=C[P].$filler;Lo(B)&&Bo(I.ctx,B,I.chartArea)}},beforeDatasetDraw(I,y,f){const C=y.meta.$filler;!Lo(C)||"beforeDatasetDraw"!==f.drawTime||Bo(I.ctx,C,I.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ss=(I,y)=>{let{boxHeight:f=y,boxWidth:C=y}=I;return I.usePointStyle&&(f=Math.min(f,y),C=I.pointStyleWidth||Math.min(C,y)),{boxWidth:C,boxHeight:f,itemHeight:Math.max(y,f)}};class ms extends gn{constructor(y){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=y.chart,this.options=y.options,this.ctx=y.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(y,f,C){this.maxWidth=y,this.maxHeight=f,this._margins=C,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 y=this.options.labels||{};let f=(0,e.C)(y.generateLabels,[this.chart],this)||[];y.filter&&(f=f.filter(C=>y.filter(C,this.chart.data))),y.sort&&(f=f.sort((C,P)=>y.sort(C,P,this.chart.data))),this.options.reverse&&f.reverse(),this.legendItems=f}fit(){const{options:y,ctx:f}=this;if(!y.display)return void(this.width=this.height=0);const C=y.labels,P=(0,e.O)(C.font),B=P.size,H=this._computeTitleHeight(),{boxWidth:ne,itemHeight:me}=ss(C,B);let Se,ft;f.font=P.string,this.isHorizontal()?(Se=this.maxWidth,ft=this._fitRows(H,B,ne,me)+10):(ft=this.maxHeight,Se=this._fitCols(H,B,ne,me)+10),this.width=Math.min(Se,y.maxWidth||this.maxWidth),this.height=Math.min(ft,y.maxHeight||this.maxHeight)}_fitRows(y,f,C,P){const{ctx:B,maxWidth:H,options:{labels:{padding:ne}}}=this,me=this.legendHitBoxes=[],Se=this.lineWidths=[0],ft=P+ne;let Ft=y;B.textAlign="left",B.textBaseline="middle";let hn=-1,vn=-ft;return this.legendItems.forEach((Sn,qn)=>{const ho=C+f/2+B.measureText(Sn.text).width;(0===qn||Se[Se.length-1]+ho+2*ne>H)&&(Ft+=ft,Se[Se.length-(qn>0?0:1)]=0,vn+=ft,hn++),me[qn]={left:0,top:vn,row:hn,width:ho,height:P},Se[Se.length-1]+=ho+ne}),Ft}_fitCols(y,f,C,P){const{ctx:B,maxHeight:H,options:{labels:{padding:ne}}}=this,me=this.legendHitBoxes=[],Se=this.columnSizes=[],ft=H-y;let Ft=ne,hn=0,vn=0,Sn=0,qn=0;return this.legendItems.forEach((ho,Fo)=>{const zo=C+f/2+B.measureText(ho.text).width;Fo>0&&vn+P+2*ne>ft&&(Ft+=hn+ne,Se.push({width:hn,height:vn}),Sn+=hn+ne,qn++,hn=vn=0),me[Fo]={left:Sn,top:vn,col:qn,width:zo,height:P},hn=Math.max(hn,zo),vn+=P+ne}),Ft+=hn,Se.push({width:hn,height:vn}),Ft}adjustHitBoxes(){if(!this.options.display)return;const y=this._computeTitleHeight(),{legendHitBoxes:f,options:{align:C,labels:{padding:P},rtl:B}}=this,H=(0,e.aA)(B,this.left,this.width);if(this.isHorizontal()){let ne=0,me=(0,e.S)(C,this.left+P,this.right-this.lineWidths[ne]);for(const Se of f)ne!==Se.row&&(ne=Se.row,me=(0,e.S)(C,this.left+P,this.right-this.lineWidths[ne])),Se.top+=this.top+y+P,Se.left=H.leftForLtr(H.x(me),Se.width),me+=Se.width+P}else{let ne=0,me=(0,e.S)(C,this.top+y+P,this.bottom-this.columnSizes[ne].height);for(const Se of f)Se.col!==ne&&(ne=Se.col,me=(0,e.S)(C,this.top+y+P,this.bottom-this.columnSizes[ne].height)),Se.top=me,Se.left+=this.left+P,Se.left=H.leftForLtr(H.x(Se.left),Se.width),me+=Se.height+P}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const y=this.ctx;(0,e.L)(y,this),this._draw(),(0,e.N)(y)}}_draw(){const{options:y,columnSizes:f,lineWidths:C,ctx:P}=this,{align:B,labels:H}=y,ne=e.d.color,me=(0,e.aA)(y.rtl,this.left,this.width),Se=(0,e.O)(H.font),{color:ft,padding:Ft}=H,hn=Se.size,vn=hn/2;let Sn;this.drawTitle(),P.textAlign=me.textAlign("left"),P.textBaseline="middle",P.lineWidth=.5,P.font=Se.string;const{boxWidth:qn,boxHeight:ho,itemHeight:Fo}=ss(H,hn),W=this.isHorizontal(),te=this._computeTitleHeight();Sn=W?{x:(0,e.S)(B,this.left+Ft,this.right-C[0]),y:this.top+Ft+te,line:0}:{x:this.left+Ft,y:(0,e.S)(B,this.top+te+Ft,this.bottom-f[0].height),line:0},(0,e.aB)(this.ctx,y.textDirection);const ye=Fo+Ft;this.legendItems.forEach((se,Oe)=>{P.strokeStyle=se.fontColor||ft,P.fillStyle=se.fontColor||ft;const bt=P.measureText(se.text).width,wt=me.textAlign(se.textAlign||(se.textAlign=H.textAlign)),zn=qn+vn+bt;let lo=Sn.x,no=Sn.y;me.setWidth(this.width),W?Oe>0&&lo+zn+Ft>this.right&&(no=Sn.y+=ye,Sn.line++,lo=Sn.x=(0,e.S)(B,this.left+Ft,this.right-C[Sn.line])):Oe>0&&no+ye>this.bottom&&(lo=Sn.x=lo+f[Sn.line].width+Ft,Sn.line++,no=Sn.y=(0,e.S)(B,this.top+te+Ft,this.bottom-f[Sn.line].height)),function(se,Oe,bt){if(isNaN(qn)||qn<=0||isNaN(ho)||ho<0)return;P.save();const wt=(0,e.v)(bt.lineWidth,1);if(P.fillStyle=(0,e.v)(bt.fillStyle,ne),P.lineCap=(0,e.v)(bt.lineCap,"butt"),P.lineDashOffset=(0,e.v)(bt.lineDashOffset,0),P.lineJoin=(0,e.v)(bt.lineJoin,"miter"),P.lineWidth=wt,P.strokeStyle=(0,e.v)(bt.strokeStyle,ne),P.setLineDash((0,e.v)(bt.lineDash,[])),H.usePointStyle){const zn={radius:ho*Math.SQRT2/2,pointStyle:bt.pointStyle,rotation:bt.rotation,borderWidth:wt},lo=me.xPlus(se,qn/2);(0,e.aE)(P,zn,lo,Oe+vn,H.pointStyleWidth&&qn)}else{const zn=Oe+Math.max((hn-ho)/2,0),lo=me.leftForLtr(se,qn),no=(0,e.ax)(bt.borderRadius);P.beginPath(),Object.values(no).some(vi=>0!==vi)?(0,e.av)(P,{x:lo,y:zn,w:qn,h:ho,radius:no}):P.rect(lo,zn,qn,ho),P.fill(),0!==wt&&P.stroke()}P.restore()}(me.x(lo),no,se),lo=(0,e.aC)(wt,lo+qn+vn,W?lo+zn:this.right,y.rtl),function(se,Oe,bt){(0,e.M)(P,bt.text,se,Oe+Fo/2,Se,{strikethrough:bt.hidden,textAlign:me.textAlign(bt.textAlign)})}(me.x(lo),no,se),W?Sn.x+=zn+Ft:Sn.y+=ye}),(0,e.aD)(this.ctx,y.textDirection)}drawTitle(){const y=this.options,f=y.title,C=(0,e.O)(f.font),P=(0,e.K)(f.padding);if(!f.display)return;const B=(0,e.aA)(y.rtl,this.left,this.width),H=this.ctx,ne=f.position,Se=P.top+C.size/2;let ft,Ft=this.left,hn=this.width;if(this.isHorizontal())hn=Math.max(...this.lineWidths),ft=this.top+Se,Ft=(0,e.S)(y.align,Ft,this.right-hn);else{const Sn=this.columnSizes.reduce((qn,ho)=>Math.max(qn,ho.height),0);ft=Se+(0,e.S)(y.align,this.top,this.bottom-Sn-y.labels.padding-this._computeTitleHeight())}const vn=(0,e.S)(ne,Ft,Ft+hn);H.textAlign=B.textAlign((0,e.R)(ne)),H.textBaseline="middle",H.strokeStyle=f.color,H.fillStyle=f.color,H.font=C.string,(0,e.M)(H,f.text,vn,ft,C)}_computeTitleHeight(){const y=this.options.title,f=(0,e.O)(y.font),C=(0,e.K)(y.padding);return y.display?f.lineHeight+C.height:0}_getLegendItemAt(y,f){let C,P,B;if((0,e.ak)(y,this.left,this.right)&&(0,e.ak)(f,this.top,this.bottom))for(B=this.legendHitBoxes,C=0;Cnull!==I&&null!==y&&I.datasetIndex===y.datasetIndex&&I.index===y.index)(P,C);P&&!B&&(0,e.C)(f.onLeave,[y,P,this],this),this._hoveredItem=C,C&&!B&&(0,e.C)(f.onHover,[y,C,this],this)}else C&&(0,e.C)(f.onClick,[y,C,this],this)}}var Xs={id:"legend",_element:ms,start(I,y,f){const C=I.legend=new ms({ctx:I.ctx,options:f,chart:I});Ii.configure(I,C,f),Ii.addBox(I,C)},stop(I){Ii.removeBox(I,I.legend),delete I.legend},beforeUpdate(I,y,f){const C=I.legend;Ii.configure(I,C,f),C.options=f},afterUpdate(I){const y=I.legend;y.buildLabels(),y.adjustHitBoxes()},afterEvent(I,y){y.replay||I.legend.handleEvent(y.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(I,y,f){const C=y.datasetIndex,P=f.chart;P.isDatasetVisible(C)?(P.hide(C),y.hidden=!0):(P.show(C),y.hidden=!1)},onHover:null,onLeave:null,labels:{color:I=>I.chart.options.color,boxWidth:40,padding:10,generateLabels(I){const y=I.data.datasets,{labels:{usePointStyle:f,pointStyle:C,textAlign:P,color:B}}=I.legend.options;return I._getSortedDatasetMetas().map(H=>{const ne=H.controller.getStyle(f?0:void 0),me=(0,e.K)(ne.borderWidth);return{text:y[H.index].label,fillStyle:ne.backgroundColor,fontColor:B,hidden:!H.visible,lineCap:ne.borderCapStyle,lineDash:ne.borderDash,lineDashOffset:ne.borderDashOffset,lineJoin:ne.borderJoinStyle,lineWidth:(me.width+me.height)/4,strokeStyle:ne.borderColor,pointStyle:C||ne.pointStyle,rotation:ne.rotation,textAlign:P||ne.textAlign,borderRadius:0,datasetIndex:H.index}},this)}},title:{color:I=>I.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:I=>!I.startsWith("on"),labels:{_scriptable:I=>!["generateLabels","filter","sort"].includes(I)}}};const Qs={average(I){if(!I.length)return!1;let y,f,C=0,P=0,B=0;for(y=0,f=I.length;y-1?I.split("\n"):I}function Vs(I,y){const{element:f,datasetIndex:C,index:P}=y,B=I.getDatasetMeta(C).controller,{label:H,value:ne}=B.getLabelAndValue(P);return{chart:I,label:H,parsed:B.getParsed(P),raw:I.data.datasets[C].data[P],formattedValue:ne,dataset:B.getDataset(),dataIndex:P,datasetIndex:C,element:f}}function Ia(I,y){const f=I.chart.ctx,{body:C,footer:P,title:B}=I,{boxWidth:H,boxHeight:ne}=y,me=(0,e.O)(y.bodyFont),Se=(0,e.O)(y.titleFont),ft=(0,e.O)(y.footerFont),Ft=B.length,hn=P.length,vn=C.length,Sn=(0,e.K)(y.padding);let qn=Sn.height,ho=0,Fo=C.reduce((W,te)=>W+te.before.length+te.lines.length+te.after.length,0);Fo+=I.beforeBody.length+I.afterBody.length,Ft&&(qn+=Ft*Se.lineHeight+(Ft-1)*y.titleSpacing+y.titleMarginBottom),Fo&&(qn+=vn*(y.displayColors?Math.max(ne,me.lineHeight):me.lineHeight)+(Fo-vn)*me.lineHeight+(Fo-1)*y.bodySpacing),hn&&(qn+=y.footerMarginTop+hn*ft.lineHeight+(hn-1)*y.footerSpacing);let zo=0;const ai=function(W){ho=Math.max(ho,f.measureText(W).width+zo)};return f.save(),f.font=Se.string,(0,e.Q)(I.title,ai),f.font=me.string,(0,e.Q)(I.beforeBody.concat(I.afterBody),ai),zo=y.displayColors?H+2+y.boxPadding:0,(0,e.Q)(C,W=>{(0,e.Q)(W.before,ai),(0,e.Q)(W.lines,ai),(0,e.Q)(W.after,ai)}),zo=0,f.font=ft.string,(0,e.Q)(I.footer,ai),f.restore(),ho+=Sn.width,{width:ho,height:qn}}function Aa(I,y,f,C){const{x:P,width:B}=f,{width:H,chartArea:{left:ne,right:me}}=I;let Se="center";return"center"===C?Se=P<=(ne+me)/2?"left":"right":P<=B/2?Se="left":P>=H-B/2&&(Se="right"),function ya(I,y,f,C){const{x:P,width:B}=C,H=f.caretSize+f.caretPadding;if("left"===I&&P+B+H>y.width||"right"===I&&P-B-H<0)return!0}(Se,I,y,f)&&(Se="center"),Se}function ua(I,y,f){const C=f.yAlign||y.yAlign||function Qa(I,y){const{y:f,height:C}=y;return fI.height-C/2?"bottom":"center"}(I,f);return{xAlign:f.xAlign||y.xAlign||Aa(I,y,f,C),yAlign:C}}function ca(I,y,f,C){const{caretSize:P,caretPadding:B,cornerRadius:H}=I,{xAlign:ne,yAlign:me}=f,Se=P+B,{topLeft:ft,topRight:Ft,bottomLeft:hn,bottomRight:vn}=(0,e.ax)(H);let Sn=function Na(I,y){let{x:f,width:C}=I;return"right"===y?f-=C:"center"===y&&(f-=C/2),f}(y,ne);const qn=function Za(I,y,f){let{y:C,height:P}=I;return"top"===y?C+=f:C-="bottom"===y?P+f:P/2,C}(y,me,Se);return"center"===me?"left"===ne?Sn+=Se:"right"===ne&&(Sn-=Se):"left"===ne?Sn-=Math.max(ft,hn)+P:"right"===ne&&(Sn+=Math.max(Ft,vn)+P),{x:(0,e.E)(Sn,0,C.width-y.width),y:(0,e.E)(qn,0,C.height-y.height)}}function Zs(I,y,f){const C=(0,e.K)(f.padding);return"center"===y?I.x+I.width/2:"right"===y?I.x+I.width-C.right:I.x+C.left}function va(I){return js([],gs(I))}function ae(I,y){const f=y&&y.dataset&&y.dataset.tooltip&&y.dataset.tooltip.callbacks;return f?I.override(f):I}let Ue=(()=>{class I extends gn{constructor(f){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=f.chart||f._chart,this._chart=this.chart,this.options=f.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(f){this.options=f,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const f=this._cachedAnimations;if(f)return f;const C=this.chart,P=this.options.setContext(this.getContext()),B=P.enabled&&C.options.animation&&P.animations,H=new E(this.chart,B);return B._cacheable&&(this._cachedAnimations=Object.freeze(H)),H}getContext(){return this.$context||(this.$context=function Ja(I,y,f){return(0,e.h)(I,{tooltip:y,tooltipItems:f,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(f,C){const{callbacks:P}=C,B=P.beforeTitle.apply(this,[f]),H=P.title.apply(this,[f]),ne=P.afterTitle.apply(this,[f]);let me=[];return me=js(me,gs(B)),me=js(me,gs(H)),me=js(me,gs(ne)),me}getBeforeBody(f,C){return va(C.callbacks.beforeBody.apply(this,[f]))}getBody(f,C){const{callbacks:P}=C,B=[];return(0,e.Q)(f,H=>{const ne={before:[],lines:[],after:[]},me=ae(P,H);js(ne.before,gs(me.beforeLabel.call(this,H))),js(ne.lines,me.label.call(this,H)),js(ne.after,gs(me.afterLabel.call(this,H))),B.push(ne)}),B}getAfterBody(f,C){return va(C.callbacks.afterBody.apply(this,[f]))}getFooter(f,C){const{callbacks:P}=C,B=P.beforeFooter.apply(this,[f]),H=P.footer.apply(this,[f]),ne=P.afterFooter.apply(this,[f]);let me=[];return me=js(me,gs(B)),me=js(me,gs(H)),me=js(me,gs(ne)),me}_createItems(f){const C=this._active,P=this.chart.data,B=[],H=[],ne=[];let Se,ft,me=[];for(Se=0,ft=C.length;Sef.filter(Ft,hn,vn,P))),f.itemSort&&(me=me.sort((Ft,hn)=>f.itemSort(Ft,hn,P))),(0,e.Q)(me,Ft=>{const hn=ae(f.callbacks,Ft);B.push(hn.labelColor.call(this,Ft)),H.push(hn.labelPointStyle.call(this,Ft)),ne.push(hn.labelTextColor.call(this,Ft))}),this.labelColors=B,this.labelPointStyles=H,this.labelTextColors=ne,this.dataPoints=me,me}update(f,C){const P=this.options.setContext(this.getContext()),B=this._active;let H,ne=[];if(B.length){const me=Qs[P.position].call(this,B,this._eventPosition);ne=this._createItems(P),this.title=this.getTitle(ne,P),this.beforeBody=this.getBeforeBody(ne,P),this.body=this.getBody(ne,P),this.afterBody=this.getAfterBody(ne,P),this.footer=this.getFooter(ne,P);const Se=this._size=Ia(this,P),ft=Object.assign({},me,Se),Ft=ua(this.chart,P,ft),hn=ca(P,ft,Ft,this.chart);this.xAlign=Ft.xAlign,this.yAlign=Ft.yAlign,H={opacity:1,x:hn.x,y:hn.y,width:Se.width,height:Se.height,caretX:me.x,caretY:me.y}}else 0!==this.opacity&&(H={opacity:0});this._tooltipItems=ne,this.$context=void 0,H&&this._resolveAnimations().update(this,H),f&&P.external&&P.external.call(this,{chart:this.chart,tooltip:this,replay:C})}drawCaret(f,C,P,B){const H=this.getCaretPosition(f,P,B);C.lineTo(H.x1,H.y1),C.lineTo(H.x2,H.y2),C.lineTo(H.x3,H.y3)}getCaretPosition(f,C,P){const{xAlign:B,yAlign:H}=this,{caretSize:ne,cornerRadius:me}=P,{topLeft:Se,topRight:ft,bottomLeft:Ft,bottomRight:hn}=(0,e.ax)(me),{x:vn,y:Sn}=f,{width:qn,height:ho}=C;let Fo,zo,ai,W,te,ye;return"center"===H?(te=Sn+ho/2,"left"===B?(Fo=vn,zo=Fo-ne,W=te+ne,ye=te-ne):(Fo=vn+qn,zo=Fo+ne,W=te-ne,ye=te+ne),ai=Fo):(zo="left"===B?vn+Math.max(Se,Ft)+ne:"right"===B?vn+qn-Math.max(ft,hn)-ne:this.caretX,"top"===H?(W=Sn,te=W-ne,Fo=zo-ne,ai=zo+ne):(W=Sn+ho,te=W+ne,Fo=zo+ne,ai=zo-ne),ye=W),{x1:Fo,x2:zo,x3:ai,y1:W,y2:te,y3:ye}}drawTitle(f,C,P){const B=this.title,H=B.length;let ne,me,Se;if(H){const ft=(0,e.aA)(P.rtl,this.x,this.width);for(f.x=Zs(this,P.titleAlign,P),C.textAlign=ft.textAlign(P.titleAlign),C.textBaseline="middle",ne=(0,e.O)(P.titleFont),me=P.titleSpacing,C.fillStyle=P.titleColor,C.font=ne.string,Se=0;Se0!==W)?(f.beginPath(),f.fillStyle=H.multiKeyBackground,(0,e.av)(f,{x:Fo,y:ho,w:ft,h:Se,radius:ai}),f.fill(),f.stroke(),f.fillStyle=ne.backgroundColor,f.beginPath(),(0,e.av)(f,{x:zo,y:ho+1,w:ft-2,h:Se-2,radius:ai}),f.fill()):(f.fillStyle=H.multiKeyBackground,f.fillRect(Fo,ho,ft,Se),f.strokeRect(Fo,ho,ft,Se),f.fillStyle=ne.backgroundColor,f.fillRect(zo,ho+1,ft-2,Se-2))}f.fillStyle=this.labelTextColors[P]}drawBody(f,C,P){const{body:B}=this,{bodySpacing:H,bodyAlign:ne,displayColors:me,boxHeight:Se,boxWidth:ft,boxPadding:Ft}=P,hn=(0,e.O)(P.bodyFont);let vn=hn.lineHeight,Sn=0;const qn=(0,e.aA)(P.rtl,this.x,this.width),ho=function(bt){C.fillText(bt,qn.x(f.x+Sn),f.y+vn/2),f.y+=vn+H},Fo=qn.textAlign(ne);let zo,ai,W,te,ye,se,Oe;for(C.textAlign=ne,C.textBaseline="middle",C.font=hn.string,f.x=Zs(this,Fo,P),C.fillStyle=P.bodyColor,(0,e.Q)(this.beforeBody,ho),Sn=me&&"right"!==Fo?"center"===ne?ft/2+Ft:ft+2+Ft:0,te=0,se=B.length;te0&&C.stroke()}_updateAnimationTarget(f){const C=this.chart,P=this.$animations,B=P&&P.x,H=P&&P.y;if(B||H){const ne=Qs[f.position].call(this,this._active,this._eventPosition);if(!ne)return;const me=this._size=Ia(this,f),Se=Object.assign({},ne,this._size),ft=ua(C,f,Se),Ft=ca(f,Se,ft,C);(B._to!==Ft.x||H._to!==Ft.y)&&(this.xAlign=ft.xAlign,this.yAlign=ft.yAlign,this.width=me.width,this.height=me.height,this.caretX=ne.x,this.caretY=ne.y,this._resolveAnimations().update(this,Ft))}}_willRender(){return!!this.opacity}draw(f){const C=this.options.setContext(this.getContext());let P=this.opacity;if(!P)return;this._updateAnimationTarget(C);const B={width:this.width,height:this.height},H={x:this.x,y:this.y};P=Math.abs(P)<.001?0:P;const ne=(0,e.K)(C.padding);C.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(f.save(),f.globalAlpha=P,this.drawBackground(H,f,B,C),(0,e.aB)(f,C.textDirection),H.y+=ne.top,this.drawTitle(H,f,C),this.drawBody(H,f,C),this.drawFooter(H,f,C),(0,e.aD)(f,C.textDirection),f.restore())}getActiveElements(){return this._active||[]}setActiveElements(f,C){const P=this._active,B=f.map(({datasetIndex:me,index:Se})=>{const ft=this.chart.getDatasetMeta(me);if(!ft)throw new Error("Cannot find a dataset at index "+me);return{datasetIndex:me,element:ft.data[Se],index:Se}}),H=!(0,e.ai)(P,B),ne=this._positionChanged(B,C);(H||ne)&&(this._active=B,this._eventPosition=C,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(f,C,P=!0){if(C&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const B=this.options,H=this._active||[],ne=this._getActiveElements(f,H,C,P),me=this._positionChanged(ne,f),Se=C||!(0,e.ai)(ne,H)||me;return Se&&(this._active=ne,(B.enabled||B.external)&&(this._eventPosition={x:f.x,y:f.y},this.update(!0,C))),Se}_getActiveElements(f,C,P,B){const H=this.options;if("mouseout"===f.type)return[];if(!B)return C;const ne=this.chart.getElementsAtEventForMode(f,H.mode,H,P);return H.reverse&&ne.reverse(),ne}_positionChanged(f,C){const{caretX:P,caretY:B,options:H}=this,ne=Qs[H.position].call(this,f,C);return!1!==ne&&(P!==ne.x||B!==ne.y)}}return I.positioners=Qs,I})();var Qt={id:"tooltip",_element:Ue,positioners:Qs,afterInit(I,y,f){f&&(I.tooltip=new Ue({chart:I,options:f}))},beforeUpdate(I,y,f){I.tooltip&&I.tooltip.initialize(f)},reset(I,y,f){I.tooltip&&I.tooltip.initialize(f)},afterDraw(I){const y=I.tooltip;if(y&&y._willRender()){const f={tooltip:y};if(!1===I.notifyPlugins("beforeTooltipDraw",f))return;y.draw(I.ctx),I.notifyPlugins("afterTooltipDraw",f)}},afterEvent(I,y){I.tooltip&&I.tooltip.handleEvent(y.event,y.replay,y.inChartArea)&&(y.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:(I,y)=>y.bodyFont.size,boxWidth:(I,y)=>y.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:e.aF,title(I){if(I.length>0){const y=I[0],f=y.chart.data.labels,C=f?f.length:0;if(this&&this.options&&"dataset"===this.options.mode)return y.dataset.label||"";if(y.label)return y.label;if(C>0&&y.dataIndex"filter"!==I&&"itemSort"!==I&&"external"!==I,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};class Qo extends qt{constructor(y){super(y),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(y){const f=this._addedLabels;if(f.length){const C=this.getLabels();for(const{index:P,label:B}of f)C[P]===B&&C.splice(P,1);this._addedLabels=[]}super.init(y)}parse(y,f){if((0,e.k)(y))return null;const C=this.getLabels();return((I,y)=>null===I?null:(0,e.E)(Math.round(I),0,y))(f=isFinite(f)&&C[f]===y?f:function Dn(I,y,f,C){const P=I.indexOf(y);return-1===P?((I,y,f,C)=>("string"==typeof y?(f=I.push(y)-1,C.unshift({index:f,label:y})):isNaN(y)&&(f=null),f))(I,y,f,C):P!==I.lastIndexOf(y)?f:P}(C,y,(0,e.v)(f,y),this._addedLabels),C.length-1)}determineDataLimits(){const{minDefined:y,maxDefined:f}=this.getUserBounds();let{min:C,max:P}=this.getMinMax(!0);"ticks"===this.options.bounds&&(y||(C=0),f||(P=this.getLabels().length-1)),this.min=C,this.max=P}buildTicks(){const y=this.min,f=this.max,C=this.options.offset,P=[];let B=this.getLabels();B=0===y&&f===B.length-1?B:B.slice(y,f+1),this._valueRange=Math.max(B.length-(C?0:1),1),this._startValue=this.min-(C?.5:0);for(let H=y;H<=f;H++)P.push({value:H});return P}getLabelForValue(y){const f=this.getLabels();return y>=0&&yf.length-1?null:this.getPixelForValue(f[y].value)}getValueForPixel(y){return Math.round(this._startValue+this.getDecimalForPixel(y)*this._valueRange)}getBasePixel(){return this.bottom}}function Ir(I,y,{horizontal:f,minRotation:C}){const P=(0,e.t)(C),B=(f?Math.sin(P):Math.cos(P))||.001;return Math.min(y/B,.75*y*(""+I).length)}Qo.id="category",Qo.defaults={ticks:{callback:Qo.prototype.getLabelForValue}};class gr extends qt{constructor(y){super(y),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(y,f){return(0,e.k)(y)||("number"==typeof y||y instanceof Number)&&!isFinite(+y)?null:+y}handleTickRangeOptions(){const{beginAtZero:y}=this.options,{minDefined:f,maxDefined:C}=this.getUserBounds();let{min:P,max:B}=this;const H=me=>P=f?P:me,ne=me=>B=C?B:me;if(y){const me=(0,e.s)(P),Se=(0,e.s)(B);me<0&&Se<0?ne(0):me>0&&Se>0&&H(0)}if(P===B){let me=1;(B>=Number.MAX_SAFE_INTEGER||P<=Number.MIN_SAFE_INTEGER)&&(me=Math.abs(.05*B)),ne(B+me),y||H(P-me)}this.min=P,this.max=B}getTickLimit(){const y=this.options.ticks;let P,{maxTicksLimit:f,stepSize:C}=y;return C?(P=Math.ceil(this.max/C)-Math.floor(this.min/C)+1,P>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${C} would result generating up to ${P} ticks. Limiting to 1000.`),P=1e3)):(P=this.computeTickLimit(),f=f||11),f&&(P=Math.min(f,P)),P}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const y=this.options,f=y.ticks;let C=this.getTickLimit();C=Math.max(2,C);const H=function nr(I,y){const f=[],{bounds:P,step:B,min:H,max:ne,precision:me,count:Se,maxTicks:ft,maxDigits:Ft,includeBounds:hn}=I,vn=B||1,Sn=ft-1,{min:qn,max:ho}=y,Fo=!(0,e.k)(H),zo=!(0,e.k)(ne),ai=!(0,e.k)(Se),W=(ho-qn)/(Ft+1);let ye,se,Oe,bt,te=(0,e.aI)((ho-qn)/Sn/vn)*vn;if(te<1e-14&&!Fo&&!zo)return[{value:qn},{value:ho}];bt=Math.ceil(ho/te)-Math.floor(qn/te),bt>Sn&&(te=(0,e.aI)(bt*te/Sn/vn)*vn),(0,e.k)(me)||(ye=Math.pow(10,me),te=Math.ceil(te*ye)/ye),"ticks"===P?(se=Math.floor(qn/te)*te,Oe=Math.ceil(ho/te)*te):(se=qn,Oe=ho),Fo&&zo&&B&&(0,e.aJ)((ne-H)/B,te/1e3)?(bt=Math.round(Math.min((ne-H)/te,ft)),te=(ne-H)/bt,se=H,Oe=ne):ai?(se=Fo?H:se,Oe=zo?ne:Oe,bt=Se-1,te=(Oe-se)/bt):(bt=(Oe-se)/te,bt=(0,e.aK)(bt,Math.round(bt),te/1e3)?Math.round(bt):Math.ceil(bt));const wt=Math.max((0,e.aL)(te),(0,e.aL)(se));ye=Math.pow(10,(0,e.k)(me)?wt:me),se=Math.round(se*ye)/ye,Oe=Math.round(Oe*ye)/ye;let zn=0;for(Fo&&(hn&&se!==H?(f.push({value:H}),se0?C:null;this._zero=!0}determineDataLimits(){const{min:y,max:f}=this.getMinMax(!0);this.min=(0,e.g)(y)?Math.max(0,y):null,this.max=(0,e.g)(f)?Math.max(0,f):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:y,maxDefined:f}=this.getUserBounds();let C=this.min,P=this.max;const B=me=>C=y?C:me,H=me=>P=f?P:me,ne=(me,Se)=>Math.pow(10,Math.floor((0,e.z)(me))+Se);C===P&&(C<=0?(B(1),H(10)):(B(ne(C,-1)),H(ne(P,1)))),C<=0&&B(ne(P,-1)),P<=0&&H(ne(C,1)),this._zero&&this.min!==this._suggestedMin&&C===ne(this.min,0)&&B(ne(C,-1)),this.min=C,this.max=P}buildTicks(){const y=this.options,C=function $r(I,y){const f=Math.floor((0,e.z)(y.max)),C=Math.ceil(y.max/Math.pow(10,f)),P=[];let B=(0,e.B)(I.min,Math.pow(10,Math.floor((0,e.z)(y.min)))),H=Math.floor((0,e.z)(B)),ne=Math.floor(B/Math.pow(10,H)),me=H<0?Math.pow(10,Math.abs(H)):1;do{P.push({value:B,major:Br(B)}),++ne,10===ne&&(ne=1,++H,me=H>=0?1:me),B=Math.round(ne*Math.pow(10,H)*me)/me}while(HP?{start:y-f,end:y}:{start:y,end:y+f}}function yr(I,y,f,C,P){const B=Math.abs(Math.sin(f)),H=Math.abs(Math.cos(f));let ne=0,me=0;C.starty.r&&(ne=(C.end-y.r)/B,I.r=Math.max(I.r,y.r+ne)),P.starty.b&&(me=(P.end-y.b)/H,I.b=Math.max(I.b,y.b+me))}function Jr(I){return 0===I||180===I?"center":I<180?"left":"right"}function Es(I,y,f){return"right"===f?I-=y:"center"===f&&(I-=y/2),I}function da(I,y,f){return 90===f||270===f?I-=y/2:(f>270||f<90)&&(I-=y),I}function as(I,y,f,C){const{ctx:P}=I;if(f)P.arc(I.xCenter,I.yCenter,y,0,e.T);else{let B=I.getPointPosition(0,y);P.moveTo(B.x,B.y);for(let H=1;H{const P=(0,e.C)(this.options.pointLabels.callback,[f,C],this);return P||0===P?P:""}).filter((f,C)=>this.chart.getDataVisibility(C))}fit(){const y=this.options;y.display&&y.pointLabels.display?function Ei(I){const y={l:I.left+I._padding.left,r:I.right-I._padding.right,t:I.top+I._padding.top,b:I.bottom-I._padding.bottom},f=Object.assign({},y),C=[],P=[],B=I._pointLabels.length,H=I.options.pointLabels,ne=H.centerPointLabels?e.P/B:0;for(let me=0;me=0&&y=0;P--){const B=C.setContext(I.getPointLabelContext(P)),H=(0,e.O)(B.font),{x:ne,y:me,textAlign:Se,left:ft,top:Ft,right:hn,bottom:vn}=I._pointLabelItems[P],{backdropColor:Sn}=B;if(!(0,e.k)(Sn)){const qn=(0,e.ax)(B.borderRadius),ho=(0,e.K)(B.backdropPadding);f.fillStyle=Sn;const Fo=ft-ho.left,zo=Ft-ho.top,ai=hn-ft+ho.width,W=vn-Ft+ho.height;Object.values(qn).some(te=>0!==te)?(f.beginPath(),(0,e.av)(f,{x:Fo,y:zo,w:ai,h:W,radius:qn}),f.fill()):f.fillRect(Fo,zo,ai,W)}(0,e.M)(f,I._pointLabels[P],ne,me+H.lineHeight/2,H,{color:B.color,textAlign:Se,textBaseline:"middle"})}}(this,B),P.display&&this.ticks.forEach((Se,ft)=>{0!==ft&&(ne=this.getDistanceFromCenterForValue(Se.value),function fs(I,y,f,C){const P=I.ctx,B=y.circular,{color:H,lineWidth:ne}=y;!B&&!C||!H||!ne||f<0||(P.save(),P.strokeStyle=H,P.lineWidth=ne,P.setLineDash(y.borderDash),P.lineDashOffset=y.borderDashOffset,P.beginPath(),as(I,f,B,C),P.closePath(),P.stroke(),P.restore())}(this,P.setContext(this.getContext(ft-1)),ne,B))}),C.display){for(y.save(),H=B-1;H>=0;H--){const Se=C.setContext(this.getPointLabelContext(H)),{color:ft,lineWidth:Ft}=Se;!Ft||!ft||(y.lineWidth=Ft,y.strokeStyle=ft,y.setLineDash(Se.borderDash),y.lineDashOffset=Se.borderDashOffset,ne=this.getDistanceFromCenterForValue(f.ticks.reverse?this.min:this.max),me=this.getPointPosition(H,ne),y.beginPath(),y.moveTo(this.xCenter,this.yCenter),y.lineTo(me.x,me.y),y.stroke())}y.restore()}}drawBorder(){}drawLabels(){const y=this.ctx,f=this.options,C=f.ticks;if(!C.display)return;const P=this.getIndexAngle(0);let B,H;y.save(),y.translate(this.xCenter,this.yCenter),y.rotate(P),y.textAlign="center",y.textBaseline="middle",this.ticks.forEach((ne,me)=>{if(0===me&&!f.reverse)return;const Se=C.setContext(this.getContext(me)),ft=(0,e.O)(Se.font);if(B=this.getDistanceFromCenterForValue(this.ticks[me].value),Se.showLabelBackdrop){y.font=ft.string,H=y.measureText(ne.label).width,y.fillStyle=Se.backdropColor;const Ft=(0,e.K)(Se.backdropPadding);y.fillRect(-H/2-Ft.left,-B-ft.size/2-Ft.top,H+Ft.width,ft.size+Ft.height)}(0,e.M)(y,ne.label,0,-B,ft,{color:Se.color})}),y.restore()}drawTitle(){}}ws.id="radialLinear",ws.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ln.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:I=>I,padding:5,centerPointLabels:!1}},ws.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},ws.descriptors={angleLines:{_fallback:"grid"}};const Is={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}},ds=Object.keys(Is);function cs(I,y){return I-y}function Js(I,y){if((0,e.k)(y))return null;const f=I._adapter,{parser:C,round:P,isoWeekday:B}=I._parseOpts;let H=y;return"function"==typeof C&&(H=C(H)),(0,e.g)(H)||(H="string"==typeof C?f.parse(H,C):f.parse(H)),null===H?null:(P&&(H="week"!==P||!(0,e.x)(B)&&!0!==B?f.startOf(H,P):f.startOf(H,"isoWeek",B)),+H)}function us(I,y,f,C){const P=ds.length;for(let B=ds.indexOf(I);B=y?f[C]:f[P]]=!0}}else I[y]=!0}function $a(I,y,f){const C=[],P={},B=y.length;let H,ne;for(H=0;H=0&&(y[me].major=!0);return y}(I,C,P,f):C}let Bs=(()=>{class I extends qt{constructor(f){super(f),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(f,C){const P=f.time||(f.time={}),B=this._adapter=new kt._date(f.adapters.date);B.init(C),(0,e.ac)(P.displayFormats,B.formats()),this._parseOpts={parser:P.parser,round:P.round,isoWeekday:P.isoWeekday},super.init(f),this._normalized=C.normalized}parse(f,C){return void 0===f?null:Js(this,f)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const f=this.options,C=this._adapter,P=f.time.unit||"day";let{min:B,max:H,minDefined:ne,maxDefined:me}=this.getUserBounds();function Se(ft){!ne&&!isNaN(ft.min)&&(B=Math.min(B,ft.min)),!me&&!isNaN(ft.max)&&(H=Math.max(H,ft.max))}(!ne||!me)&&(Se(this._getLabelBounds()),("ticks"!==f.bounds||"labels"!==f.ticks.source)&&Se(this.getMinMax(!1))),B=(0,e.g)(B)&&!isNaN(B)?B:+C.startOf(Date.now(),P),H=(0,e.g)(H)&&!isNaN(H)?H:+C.endOf(Date.now(),P)+1,this.min=Math.min(B,H-1),this.max=Math.max(B+1,H)}_getLabelBounds(){const f=this.getLabelTimestamps();let C=Number.POSITIVE_INFINITY,P=Number.NEGATIVE_INFINITY;return f.length&&(C=f[0],P=f[f.length-1]),{min:C,max:P}}buildTicks(){const f=this.options,C=f.time,P=f.ticks,B="labels"===P.source?this.getLabelTimestamps():this._generate();"ticks"===f.bounds&&B.length&&(this.min=this._userMin||B[0],this.max=this._userMax||B[B.length-1]);const H=this.min,me=(0,e.aN)(B,H,this.max);return this._unit=C.unit||(P.autoSkip?us(C.minUnit,this.min,this.max,this._getLabelCapacity(H)):function pa(I,y,f,C,P){for(let B=ds.length-1;B>=ds.indexOf(f);B--){const H=ds[B];if(Is[H].common&&I._adapter.diff(P,C,H)>=y-1)return H}return ds[f?ds.indexOf(f):0]}(this,me.length,C.minUnit,this.min,this.max)),this._majorUnit=P.major.enabled&&"year"!==this._unit?function qs(I){for(let y=ds.indexOf(I)+1,f=ds.length;y+f.value))}initOffsets(f){let B,H,C=0,P=0;this.options.offset&&f.length&&(B=this.getDecimalForValue(f[0]),C=1===f.length?1-B:(this.getDecimalForValue(f[1])-B)/2,H=this.getDecimalForValue(f[f.length-1]),P=1===f.length?H:(H-this.getDecimalForValue(f[f.length-2]))/2);const ne=f.length<3?.5:.25;C=(0,e.E)(C,0,ne),P=(0,e.E)(P,0,ne),this._offsets={start:C,end:P,factor:1/(C+1+P)}}_generate(){const f=this._adapter,C=this.min,P=this.max,B=this.options,H=B.time,ne=H.unit||us(H.minUnit,C,P,this._getLabelCapacity(C)),me=(0,e.v)(H.stepSize,1),Se="week"===ne&&H.isoWeekday,ft=(0,e.x)(Se)||!0===Se,Ft={};let vn,Sn,hn=C;if(ft&&(hn=+f.startOf(hn,"isoWeek",Se)),hn=+f.startOf(hn,ft?"day":ne),f.diff(P,C,ne)>1e5*me)throw new Error(C+" and "+P+" are too far apart with stepSize of "+me+" "+ne);const qn="data"===B.ticks.source&&this.getDataTimestamps();for(vn=hn,Sn=0;vnho-Fo).map(ho=>+ho)}getLabelForValue(f){const P=this.options.time;return this._adapter.format(f,P.tooltipFormat?P.tooltipFormat:P.displayFormats.datetime)}_tickFormatFunction(f,C,P,B){const H=this.options,ne=H.time.displayFormats,me=this._unit,Se=this._majorUnit,Ft=Se&&ne[Se],hn=P[C],Sn=this._adapter.format(f,B||(Se&&Ft&&hn&&hn.major?Ft:me&&ne[me])),qn=H.ticks.callback;return qn?(0,e.C)(qn,[Sn,C,P],this):Sn}generateTickLabels(f){let C,P,B;for(C=0,P=f.length;C0?me:1}getDataTimestamps(){let C,P,f=this._cache.data||[];if(f.length)return f;const B=this.getMatchingVisibleMetas();if(this._normalized&&B.length)return this._cache.data=B[0].controller.getAllParsedValues(this);for(C=0,P=B.length;C=I[C].pos&&y<=I[P].pos&&({lo:C,hi:P}=(0,e.Z)(I,"pos",y)),({pos:B,time:ne}=I[C]),({pos:H,time:me}=I[P])):(y>=I[C].time&&y<=I[P].time&&({lo:C,hi:P}=(0,e.Z)(I,"time",y)),({time:B,pos:ne}=I[C]),({time:H,pos:me}=I[P]));const Se=H-B;return Se?ne+(me-ne)*(y-B)/Se:ne}class Ra extends Bs{constructor(y){super(y),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const y=this._getTimestampsForTable(),f=this._table=this.buildLookupTable(y);this._minPos=Mi(f,this.min),this._tableRange=Mi(f,this.max)-this._minPos,super.initOffsets(y)}buildLookupTable(y){const{min:f,max:C}=this,P=[],B=[];let H,ne,me,Se,ft;for(H=0,ne=y.length;H=f&&Se<=C&&P.push(Se);if(P.length<2)return[{time:f,pos:0},{time:C,pos:1}];for(H=0,ne=P.length;H{"use strict";function e(){}i.d(z,{$:()=>Zt,A:()=>It,B:()=>a,C:()=>u,D:()=>Qe,E:()=>Tn,F:()=>Ht,G:()=>Pr,H:()=>_t,I:()=>dn,J:()=>hi,K:()=>Jt,L:()=>Cn,M:()=>Wo,N:()=>ro,O:()=>ie,P:()=>mt,Q:()=>O,R:()=>ko,S:()=>ei,T:()=>at,U:()=>Fs,V:()=>J,W:()=>je,X:()=>Ae,Y:()=>Ln,Z:()=>Gt,_:()=>Bn,a:()=>Be,a0:()=>Xt,a1:()=>Nt,a2:()=>D,a3:()=>Ct,a4:()=>Ko,a5:()=>pn,a6:()=>oe,a7:()=>es,a8:()=>pt,a9:()=>Dt,aA:()=>Te,aB:()=>ge,aC:()=>Go,aD:()=>He,aE:()=>Pn,aF:()=>e,aG:()=>ln,aH:()=>Kn,aI:()=>Bt,aJ:()=>xo,aK:()=>Hn,aL:()=>$t,aM:()=>ts,aN:()=>Lt,aO:()=>Vt,aa:()=>Mt,ab:()=>fn,ac:()=>G,ad:()=>t,ae:()=>ci,af:()=>Ot,ag:()=>yt,ah:()=>Ye,ai:()=>A,aj:()=>St,ak:()=>gn,al:()=>We,am:()=>ee,an:()=>cr,ao:()=>Lo,ap:()=>on,aq:()=>Qn,ar:()=>nn,as:()=>go,at:()=>so,au:()=>Wt,av:()=>L,aw:()=>lt,ax:()=>jt,ay:()=>Yn,az:()=>En,b:()=>M,b2:()=>mn,c:()=>Kr,d:()=>ys,e:()=>Gn,f:()=>ke,g:()=>p,h:()=>ct,i:()=>d,j:()=>it,k:()=>l,l:()=>Mn,m:()=>v,n:()=>E,o:()=>jo,p:()=>Un,q:()=>Ji,r:()=>oo,s:()=>qe,t:()=>xt,u:()=>bn,v:()=>_,w:()=>pi,x:()=>Nn,y:()=>Er,z:()=>Xe});const t=function(){let U=0;return function(){return U++}}();function l(U){return null===U||typeof U>"u"}function M(U){if(Array.isArray&&Array.isArray(U))return!0;const Ce=Object.prototype.toString.call(U);return"[object"===Ce.slice(0,7)&&"Array]"===Ce.slice(-6)}function d(U){return null!==U&&"[object Object]"===Object.prototype.toString.call(U)}const p=U=>("number"==typeof U||U instanceof Number)&&isFinite(+U);function a(U,Ce){return p(U)?U:Ce}function _(U,Ce){return typeof U>"u"?Ce:U}const v=(U,Ce)=>"string"==typeof U&&U.endsWith("%")?parseFloat(U)/100:U/Ce,E=(U,Ce)=>"string"==typeof U&&U.endsWith("%")?parseFloat(U)/100*Ce:+U;function u(U,Ce,Ve){if(U&&"function"==typeof U.call)return U.apply(Ve,Ce)}function O(U,Ce,Ve,dt){let At,rn,cn;if(M(U))if(rn=U.length,dt)for(At=rn-1;At>=0;At--)Ce.call(Ve,U[At],At);else for(At=0;AtU,x:U=>U.x,y:U=>U.y};function ke(U,Ce){return(Me[Ce]||(Me[Ce]=function be(U){const Ce=function Ne(U){const Ce=U.split("."),Ve=[];let dt="";for(const At of Ce)dt+=At,dt.endsWith("\\")?dt=dt.slice(0,-1)+".":(Ve.push(dt),dt="");return Ve}(U);return Ve=>{for(const dt of Ce){if(""===dt)break;Ve=Ve&&Ve[dt]}return Ve}}(Ce)))(U)}function je(U){return U.charAt(0).toUpperCase()+U.slice(1)}const it=U=>typeof U<"u",pt=U=>"function"==typeof U,Ye=(U,Ce)=>{if(U.size!==Ce.size)return!1;for(const Ve of U)if(!Ce.has(Ve))return!1;return!0};function St(U){return"mouseup"===U.type||"click"===U.type||"contextmenu"===U.type}const mt=Math.PI,at=2*mt,Ge=at+mt,gt=Number.POSITIVE_INFINITY,mn=mt/180,_t=mt/2,Ke=mt/4,Je=2*mt/3,Xe=Math.log10,qe=Math.sign;function Bt(U){const Ce=Math.round(U);U=Hn(U,Ce,U/1e3)?Ce:U;const Ve=Math.pow(10,Math.floor(Xe(U))),dt=U/Ve;return(dt<=1?1:dt<=2?2:dt<=5?5:10)*Ve}function It(U){const Ce=[],Ve=Math.sqrt(U);let dt;for(dt=1;dtAt-rn).pop(),Ce}function Nn(U){return!isNaN(parseFloat(U))&&isFinite(U)}function Hn(U,Ce,Ve){return Math.abs(U-Ce)=U}function Kn(U,Ce,Ve){let dt,At,rn;for(dt=0,At=U.length;dt_o&&Bo=Math.min(Ce,Ve)-dt&&U<=Math.max(Ce,Ve)+dt}function Vt(U,Ce,Ve){Ve=Ve||(cn=>U[cn]1;)rn=At+dt>>1,Ve(rn)?At=rn:dt=rn;return{lo:At,hi:dt}}const Gt=(U,Ce,Ve,dt)=>Vt(U,Ve,dt?At=>U[At][Ce]<=Ve:At=>U[At][Ce]Vt(U,Ve,dt=>U[dt][Ce]>=Ve);function Lt(U,Ce,Ve){let dt=0,At=U.length;for(;dtdt&&U[At-1]>Ve;)At--;return dt>0||At{const dt="_onData"+je(Ve),At=U[Ve];Object.defineProperty(U,Ve,{configurable:!0,enumerable:!1,value(...rn){const cn=At.apply(this,rn);return U._chartjs.listeners.forEach(Fn=>{"function"==typeof Fn[dt]&&Fn[dt](...rn)}),cn}})}))}function bn(U,Ce){const Ve=U._chartjs;if(!Ve)return;const dt=Ve.listeners,At=dt.indexOf(Ce);-1!==At&&dt.splice(At,1),!(dt.length>0)&&(yn.forEach(rn=>{delete U[rn]}),delete U._chartjs)}function Bn(U){const Ce=new Set;let Ve,dt;for(Ve=0,dt=U.length;Ve"u"?function(U){return U()}:window.requestAnimationFrame;function Ko(U,Ce,Ve){const dt=Ve||(cn=>Array.prototype.slice.call(cn));let At=!1,rn=[];return function(...cn){rn=dt(cn),At||(At=!0,oo.call(window,()=>{At=!1,U.apply(Ce,rn)}))}}function ci(U,Ce){let Ve;return function(...dt){return Ce?(clearTimeout(Ve),Ve=setTimeout(U,Ce,dt)):U.apply(this,dt),Ce}}const ko=U=>"start"===U?"left":"end"===U?"right":"center",ei=(U,Ce,Ve)=>"start"===U?Ce:"end"===U?Ve:(Ce+Ve)/2,Go=(U,Ce,Ve,dt)=>U===(dt?"left":"right")?Ve:"center"===U?(Ce+Ve)/2:Ce;function Ji(U,Ce,Ve){const dt=Ce.length;let At=0,rn=dt;if(U._sorted){const{iScale:cn,_parsed:Fn}=U,_o=cn.axis,{min:Bo,max:ti,minDefined:Li,maxDefined:er}=cn.getUserBounds();Li&&(At=Tn(Math.min(Gt(Fn,cn.axis,Bo).lo,Ve?dt:Gt(Ce,_o,cn.getPixelForValue(Bo)).lo),0,dt-1)),rn=er?Tn(Math.max(Gt(Fn,cn.axis,ti,!0).hi+1,Ve?0:Gt(Ce,_o,cn.getPixelForValue(ti),!0).hi+1),At,dt)-At:dt-At}return{start:At,count:rn}}function pi(U){const{xScale:Ce,yScale:Ve,_scaleRanges:dt}=U,At={xmin:Ce.min,xmax:Ce.max,ymin:Ve.min,ymax:Ve.max};if(!dt)return U._scaleRanges=At,!0;const rn=dt.xmin!==Ce.min||dt.xmax!==Ce.max||dt.ymin!==Ve.min||dt.ymax!==Ve.max;return Object.assign(dt,At),rn}const Si=U=>0===U||1===U,hr=(U,Ce,Ve)=>-Math.pow(2,10*(U-=1))*Math.sin((U-Ce)*at/Ve),Pi=(U,Ce,Ve)=>Math.pow(2,-10*U)*Math.sin((U-Ce)*at/Ve)+1,Gn={linear:U=>U,easeInQuad:U=>U*U,easeOutQuad:U=>-U*(U-2),easeInOutQuad:U=>(U/=.5)<1?.5*U*U:-.5*(--U*(U-2)-1),easeInCubic:U=>U*U*U,easeOutCubic:U=>(U-=1)*U*U+1,easeInOutCubic:U=>(U/=.5)<1?.5*U*U*U:.5*((U-=2)*U*U+2),easeInQuart:U=>U*U*U*U,easeOutQuart:U=>-((U-=1)*U*U*U-1),easeInOutQuart:U=>(U/=.5)<1?.5*U*U*U*U:-.5*((U-=2)*U*U*U-2),easeInQuint:U=>U*U*U*U*U,easeOutQuint:U=>(U-=1)*U*U*U*U+1,easeInOutQuint:U=>(U/=.5)<1?.5*U*U*U*U*U:.5*((U-=2)*U*U*U*U+2),easeInSine:U=>1-Math.cos(U*_t),easeOutSine:U=>Math.sin(U*_t),easeInOutSine:U=>-.5*(Math.cos(mt*U)-1),easeInExpo:U=>0===U?0:Math.pow(2,10*(U-1)),easeOutExpo:U=>1===U?1:1-Math.pow(2,-10*U),easeInOutExpo:U=>Si(U)?U:U<.5?.5*Math.pow(2,10*(2*U-1)):.5*(2-Math.pow(2,-10*(2*U-1))),easeInCirc:U=>U>=1?U:-(Math.sqrt(1-U*U)-1),easeOutCirc:U=>Math.sqrt(1-(U-=1)*U),easeInOutCirc:U=>(U/=.5)<1?-.5*(Math.sqrt(1-U*U)-1):.5*(Math.sqrt(1-(U-=2)*U)+1),easeInElastic:U=>Si(U)?U:hr(U,.075,.3),easeOutElastic:U=>Si(U)?U:Pi(U,.075,.3),easeInOutElastic:U=>Si(U)?U:U<.5?.5*hr(2*U,.1125,.45):.5+.5*Pi(2*U-1,.1125,.45),easeInBack:U=>U*U*(2.70158*U-1.70158),easeOutBack:U=>(U-=1)*U*(2.70158*U+1.70158)+1,easeInOutBack(U){let Ce=1.70158;return(U/=.5)<1?U*U*((1+(Ce*=1.525))*U-Ce)*.5:.5*((U-=2)*U*((1+(Ce*=1.525))*U+Ce)+2)},easeInBounce:U=>1-Gn.easeOutBounce(1-U),easeOutBounce:U=>U<1/2.75?7.5625*U*U:U<2/2.75?7.5625*(U-=1.5/2.75)*U+.75:U<2.5/2.75?7.5625*(U-=2.25/2.75)*U+.9375:7.5625*(U-=2.625/2.75)*U+.984375,easeInOutBounce:U=>U<.5?.5*Gn.easeInBounce(2*U):.5*Gn.easeOutBounce(2*U-1)+.5};function qt(U){return U+.5|0}const Pt=(U,Ce,Ve)=>Math.max(Math.min(U,Ve),Ce);function ot(U){return Pt(qt(2.55*U),0,255)}function De(U){return Pt(qt(255*U),0,255)}function Fe(U){return Pt(qt(U/2.55)/100,0,1)}function tt(U){return Pt(qt(100*U),0,100)}const en={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},Xn=[..."0123456789ABCDEF"],sn=U=>Xn[15&U],zt=U=>Xn[(240&U)>>4]+Xn[15&U],_n=U=>(240&U)>>4==(15&U);const Do=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function ao(U,Ce,Ve){const dt=Ce*Math.min(Ve,1-Ve),At=(rn,cn=(rn+U/30)%12)=>Ve-dt*Math.max(Math.min(cn-3,9-cn,1),-1);return[At(0),At(8),At(4)]}function kn(U,Ce,Ve){const dt=(At,rn=(At+U/60)%6)=>Ve-Ve*Ce*Math.max(Math.min(rn,4-rn,1),0);return[dt(5),dt(3),dt(1)]}function On(U,Ce,Ve){const dt=ao(U,1,.5);let At;for(Ce+Ve>1&&(At=1/(Ce+Ve),Ce*=At,Ve*=At),At=0;At<3;At++)dt[At]*=1-Ce-Ve,dt[At]+=Ce;return dt}function Ro(U){const Ve=U.r/255,dt=U.g/255,At=U.b/255,rn=Math.max(Ve,dt,At),cn=Math.min(Ve,dt,At),Fn=(rn+cn)/2;let _o,Bo,ti;return rn!==cn&&(ti=rn-cn,Bo=Fn>.5?ti/(2-rn-cn):ti/(rn+cn),_o=function ni(U,Ce,Ve,dt,At){return U===At?(Ce-Ve)/dt+(CeU<=.0031308?12.92*U:1.055*Math.pow(U,1/2.4)-.055,qi=U=>U<=.04045?U/12.92:Math.pow((U+.055)/1.055,2.4);function Rr(U,Ce,Ve){if(U){let dt=Ro(U);dt[Ce]=Math.max(0,Math.min(dt[Ce]+dt[Ce]*Ve,0===Ce?360:1)),dt=$i(dt),U.r=dt[0],U.g=dt[1],U.b=dt[2]}}function Fi(U,Ce){return U&&Object.assign(Ce||{},U)}function ri(U){var Ce={r:0,g:0,b:0,a:255};return Array.isArray(U)?U.length>=3&&(Ce={r:U[0],g:U[1],b:U[2],a:255},U.length>3&&(Ce.a=De(U[3]))):(Ce=Fi(U,{r:0,g:0,b:0,a:1})).a=De(Ce.a),Ce}function is(U){return"r"===U.charAt(0)?function gi(U){const Ce=Ho.exec(U);let dt,At,rn,Ve=255;if(Ce){if(Ce[7]!==dt){const cn=+Ce[7];Ve=Ce[8]?ot(cn):Pt(255*cn,0,255)}return dt=+Ce[1],At=+Ce[3],rn=+Ce[5],dt=255&(Ce[2]?ot(dt):Pt(dt,0,255)),At=255&(Ce[4]?ot(At):Pt(At,0,255)),rn=255&(Ce[6]?ot(rn):Pt(rn,0,255)),{r:dt,g:At,b:rn,a:Ve}}}(U):function Sr(U){const Ce=Do.exec(U);let dt,Ve=255;if(!Ce)return;Ce[5]!==dt&&(Ve=Ce[6]?ot(+Ce[5]):De(+Ce[5]));const At=tr(+Ce[2]),rn=+Ce[3]/100,cn=+Ce[4]/100;return dt="hwb"===Ce[1]?function yi(U,Ce,Ve){return bo(On,U,Ce,Ve)}(At,rn,cn):"hsv"===Ce[1]?function Gi(U,Ce,Ve){return bo(kn,U,Ce,Ve)}(At,rn,cn):$i(At,rn,cn),{r:dt[0],g:dt[1],b:dt[2],a:Ve}}(U)}class wr{constructor(Ce){if(Ce instanceof wr)return Ce;const Ve=typeof Ce;let dt;"object"===Ve?dt=ri(Ce):"string"===Ve&&(dt=function an(U){var Ve,Ce=U.length;return"#"===U[0]&&(4===Ce||5===Ce?Ve={r:255&17*en[U[1]],g:255&17*en[U[2]],b:255&17*en[U[3]],a:5===Ce?17*en[U[4]]:255}:(7===Ce||9===Ce)&&(Ve={r:en[U[1]]<<4|en[U[2]],g:en[U[3]]<<4|en[U[4]],b:en[U[5]]<<4|en[U[6]],a:9===Ce?en[U[7]]<<4|en[U[8]]:255})),Ve}(Ce)||function io(U){Yt||(Yt=function Wr(){const U={},Ce=Object.keys(kr),Ve=Object.keys(Ki);let dt,At,rn,cn,Fn;for(dt=0;dt>16&255,rn>>8&255,255&rn]}return U}(),Yt.transparent=[0,0,0,0]);const Ce=Yt[U.toLowerCase()];return Ce&&{r:Ce[0],g:Ce[1],b:Ce[2],a:4===Ce.length?Ce[3]:255}}(Ce)||is(Ce)),this._rgb=dt,this._valid=!!dt}get valid(){return this._valid}get rgb(){var Ce=Fi(this._rgb);return Ce&&(Ce.a=Fe(Ce.a)),Ce}set rgb(Ce){this._rgb=ri(Ce)}rgbString(){return this._valid?function xi(U){return U&&(U.a<255?`rgba(${U.r}, ${U.g}, ${U.b}, ${Fe(U.a)})`:`rgb(${U.r}, ${U.g}, ${U.b})`)}(this._rgb):void 0}hexString(){return this._valid?function Jn(U){var Ce=(U=>_n(U.r)&&_n(U.g)&&_n(U.b)&&_n(U.a))(U)?sn:zt;return U?"#"+Ce(U.r)+Ce(U.g)+Ce(U.b)+((U,Ce)=>U<255?Ce(U):"")(U.a,Ce):void 0}(this._rgb):void 0}hslString(){return this._valid?function mr(U){if(!U)return;const Ce=Ro(U),Ve=Ce[0],dt=tt(Ce[1]),At=tt(Ce[2]);return U.a<255?`hsla(${Ve}, ${dt}%, ${At}%, ${Fe(U.a)})`:`hsl(${Ve}, ${dt}%, ${At}%)`}(this._rgb):void 0}mix(Ce,Ve){if(Ce){const dt=this.rgb,At=Ce.rgb;let rn;const cn=Ve===rn?.5:Ve,Fn=2*cn-1,_o=dt.a-At.a,Bo=((Fn*_o==-1?Fn:(Fn+_o)/(1+Fn*_o))+1)/2;rn=1-Bo,dt.r=255&Bo*dt.r+rn*At.r+.5,dt.g=255&Bo*dt.g+rn*At.g+.5,dt.b=255&Bo*dt.b+rn*At.b+.5,dt.a=cn*dt.a+(1-cn)*At.a,this.rgb=dt}return this}interpolate(Ce,Ve){return Ce&&(this._rgb=function bi(U,Ce,Ve){const dt=qi(Fe(U.r)),At=qi(Fe(U.g)),rn=qi(Fe(U.b));return{r:De(Ii(dt+Ve*(qi(Fe(Ce.r))-dt))),g:De(Ii(At+Ve*(qi(Fe(Ce.g))-At))),b:De(Ii(rn+Ve*(qi(Fe(Ce.b))-rn))),a:U.a+Ve*(Ce.a-U.a)}}(this._rgb,Ce._rgb,Ve)),this}clone(){return new wr(this.rgb)}alpha(Ce){return this._rgb.a=De(Ce),this}clearer(Ce){return this._rgb.a*=1-Ce,this}greyscale(){const Ce=this._rgb,Ve=qt(.3*Ce.r+.59*Ce.g+.11*Ce.b);return Ce.r=Ce.g=Ce.b=Ve,this}opaquer(Ce){return this._rgb.a*=1+Ce,this}negate(){const Ce=this._rgb;return Ce.r=255-Ce.r,Ce.g=255-Ce.g,Ce.b=255-Ce.b,this}lighten(Ce){return Rr(this._rgb,2,Ce),this}darken(Ce){return Rr(this._rgb,2,-Ce),this}saturate(Ce){return Rr(this._rgb,1,Ce),this}desaturate(Ce){return Rr(this._rgb,1,-Ce),this}rotate(Ce){return function wi(U,Ce){var Ve=Ro(U);Ve[0]=tr(Ve[0]+Ce),Ve=$i(Ve),U.r=Ve[0],U.g=Ve[1],U.b=Ve[2]}(this._rgb,Ce),this}}function xr(U){return new wr(U)}function Zr(U){if(U&&"object"==typeof U){const Ce=U.toString();return"[object CanvasPattern]"===Ce||"[object CanvasGradient]"===Ce}return!1}function Kr(U){return Zr(U)?U:xr(U)}function Mr(U){return Zr(U)?U:xr(U).saturate(.5).darken(.1).hexString()}const Fs=Object.create(null),es=Object.create(null);function Cr(U,Ce){if(!Ce)return U;const Ve=Ce.split(".");for(let dt=0,At=Ve.length;dtVe.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=(Ve,dt)=>Mr(dt.backgroundColor),this.hoverBorderColor=(Ve,dt)=>Mr(dt.borderColor),this.hoverColor=(Ve,dt)=>Mr(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(Ce)}set(Ce,Ve){return Dr(this,Ce,Ve)}get(Ce){return Cr(this,Ce)}describe(Ce,Ve){return Dr(es,Ce,Ve)}override(Ce,Ve){return Dr(Fs,Ce,Ve)}route(Ce,Ve,dt,At){const rn=Cr(this,Ce),cn=Cr(this,dt),Fn="_"+Ve;Object.defineProperties(rn,{[Fn]:{value:rn[Ve],writable:!0},[Ve]:{enumerable:!0,get(){const _o=this[Fn],Bo=cn[At];return d(_o)?Object.assign({},Bo,_o):_(_o,Bo)},set(_o){this[Fn]=_o}}})}}({_scriptable:U=>!U.startsWith("on"),_indexable:U=>"events"!==U,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Pr(U,Ce,Ve,dt,At){let rn=Ce[At];return rn||(rn=Ce[At]=U.measureText(At).width,Ve.push(At)),rn>dt&&(dt=rn),dt}function ts(U,Ce,Ve,dt){let At=(dt=dt||{}).data=dt.data||{},rn=dt.garbageCollect=dt.garbageCollect||[];dt.font!==Ce&&(At=dt.data={},rn=dt.garbageCollect=[],dt.font=Ce),U.save(),U.font=Ce;let cn=0;const Fn=Ve.length;let _o,Bo,ti,Li,er;for(_o=0;_oVe.length){for(_o=0;_o0&&U.stroke()}}function Zt(U,Ce,Ve){return Ve=Ve||.5,!Ce||U&&U.x>Ce.left-Ve&&U.xCe.top-Ve&&U.y0&&""!==rn.strokeColor;let _o,Bo;for(U.save(),U.font=At.string,function si(U,Ce){Ce.translation&&U.translate(Ce.translation[0],Ce.translation[1]),l(Ce.rotation)||U.rotate(Ce.rotation),Ce.color&&(U.fillStyle=Ce.color),Ce.textAlign&&(U.textAlign=Ce.textAlign),Ce.textBaseline&&(U.textBaseline=Ce.textBaseline)}(U,rn),_o=0;_o+U||0;function We(U,Ce){const Ve={},dt=d(Ce),At=dt?Object.keys(Ce):Ce,rn=d(U)?dt?cn=>_(U[cn],U[Ce[cn]]):cn=>U[cn]:()=>U;for(const cn of At)Ve[cn]=et(rn(cn));return Ve}function lt(U){return We(U,{top:"y",right:"x",bottom:"y",left:"x"})}function jt(U){return We(U,["topLeft","topRight","bottomLeft","bottomRight"])}function Jt(U){const Ce=lt(U);return Ce.width=Ce.left+Ce.right,Ce.height=Ce.top+Ce.bottom,Ce}function ie(U,Ce){let Ve=_((U=U||{}).size,(Ce=Ce||ys.font).size);"string"==typeof Ve&&(Ve=parseInt(Ve,10));let dt=_(U.style,Ce.style);dt&&!(""+dt).match(ce)&&(console.warn('Invalid font style specified: "'+dt+'"'),dt="");const At={family:_(U.family,Ce.family),lineHeight:Pe(_(U.lineHeight,Ce.lineHeight),Ve),size:Ve,style:dt,weight:_(U.weight,Ce.weight),string:""};return At.string=function _r(U){return!U||l(U.size)||l(U.family)?null:(U.style?U.style+" ":"")+(U.weight?U.weight+" ":"")+U.size+"px "+U.family}(At),At}function Be(U,Ce,Ve,dt){let rn,cn,Fn,At=!0;for(rn=0,cn=U.length;rnVe&&0===Fn?0:Fn+_o;return{min:cn(dt,-Math.abs(rn)),max:cn(At,rn)}}function ct(U,Ce){return Object.assign(Object.create(U),Ce)}function Mt(U,Ce=[""],Ve=U,dt,At=()=>U[0]){it(dt)||(dt=Lr("_fallback",U));const rn={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:U,_rootScopes:Ve,_fallback:dt,_getTarget:At,override:cn=>Mt([cn,...U],Ce,Ve,dt)};return new Proxy(rn,{deleteProperty:(cn,Fn)=>(delete cn[Fn],delete cn._keys,delete U[0][Fn],!0),get:(cn,Fn)=>$n(cn,Fn,()=>function Or(U,Ce,Ve,dt){let At;for(const rn of Ce)if(At=Lr(un(rn,U),Ve),it(At))return In(U,At)?Vo(Ve,dt,U,At):At}(Fn,Ce,U,cn)),getOwnPropertyDescriptor:(cn,Fn)=>Reflect.getOwnPropertyDescriptor(cn._scopes[0],Fn),getPrototypeOf:()=>Reflect.getPrototypeOf(U[0]),has:(cn,Fn)=>fi(cn).includes(Fn),ownKeys:cn=>fi(cn),set(cn,Fn,_o){const Bo=cn._storage||(cn._storage=At());return cn[Fn]=Bo[Fn]=_o,delete cn._keys,!0}})}function Dt(U,Ce,Ve,dt){const At={_cacheable:!1,_proxy:U,_context:Ce,_subProxy:Ve,_stack:new Set,_descriptors:fn(U,dt),setContext:rn=>Dt(U,rn,Ve,dt),override:rn=>Dt(U.override(rn),Ce,Ve,dt)};return new Proxy(At,{deleteProperty:(rn,cn)=>(delete rn[cn],delete U[cn],!0),get:(rn,cn,Fn)=>$n(rn,cn,()=>function vo(U,Ce,Ve){const{_proxy:dt,_context:At,_subProxy:rn,_descriptors:cn}=U;let Fn=dt[Ce];return pt(Fn)&&cn.isScriptable(Ce)&&(Fn=function Mo(U,Ce,Ve,dt){const{_proxy:At,_context:rn,_subProxy:cn,_stack:Fn}=Ve;if(Fn.has(U))throw new Error("Recursion detected: "+Array.from(Fn).join("->")+"->"+U);return Fn.add(U),Ce=Ce(rn,cn||dt),Fn.delete(U),In(U,Ce)&&(Ce=Vo(At._scopes,At,U,Ce)),Ce}(Ce,Fn,U,Ve)),M(Fn)&&Fn.length&&(Fn=function po(U,Ce,Ve,dt){const{_proxy:At,_context:rn,_subProxy:cn,_descriptors:Fn}=Ve;if(it(rn.index)&&dt(U))Ce=Ce[rn.index%Ce.length];else if(d(Ce[0])){const _o=Ce,Bo=At._scopes.filter(ti=>ti!==_o);Ce=[];for(const ti of _o){const Li=Vo(Bo,At,U,ti);Ce.push(Dt(Li,rn,cn&&cn[U],Fn))}}return Ce}(Ce,Fn,U,cn.isIndexable)),In(Ce,Fn)&&(Fn=Dt(Fn,At,rn&&rn[Ce],cn)),Fn}(rn,cn,Fn)),getOwnPropertyDescriptor:(rn,cn)=>rn._descriptors.allKeys?Reflect.has(U,cn)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(U,cn),getPrototypeOf:()=>Reflect.getPrototypeOf(U),has:(rn,cn)=>Reflect.has(U,cn),ownKeys:()=>Reflect.ownKeys(U),set:(rn,cn,Fn)=>(U[cn]=Fn,delete rn[cn],!0)})}function fn(U,Ce={scriptable:!0,indexable:!0}){const{_scriptable:Ve=Ce.scriptable,_indexable:dt=Ce.indexable,_allKeys:At=Ce.allKeys}=U;return{allKeys:At,scriptable:Ve,indexable:dt,isScriptable:pt(Ve)?Ve:()=>Ve,isIndexable:pt(dt)?dt:()=>dt}}const un=(U,Ce)=>U?U+je(Ce):Ce,In=(U,Ce)=>d(Ce)&&"adapters"!==U&&(null===Object.getPrototypeOf(Ce)||Ce.constructor===Object);function $n(U,Ce,Ve){if(Object.prototype.hasOwnProperty.call(U,Ce))return U[Ce];const dt=Ve();return U[Ce]=dt,dt}function uo(U,Ce,Ve){return pt(U)?U(Ce,Ve):U}const Po=(U,Ce)=>!0===U?Ce:"string"==typeof U?ke(Ce,U):void 0;function Co(U,Ce,Ve,dt,At){for(const rn of Ce){const cn=Po(Ve,rn);if(cn){U.add(cn);const Fn=uo(cn._fallback,Ve,At);if(it(Fn)&&Fn!==Ve&&Fn!==dt)return Fn}else if(!1===cn&&it(dt)&&Ve!==dt)return null}return!1}function Vo(U,Ce,Ve,dt){const At=Ce._rootScopes,rn=uo(Ce._fallback,Ve,dt),cn=[...U,...At],Fn=new Set;Fn.add(dt);let _o=So(Fn,cn,Ve,rn||Ve,dt);return!(null===_o||it(rn)&&rn!==Ve&&(_o=So(Fn,cn,rn,_o,dt),null===_o))&&Mt(Array.from(Fn),[""],At,rn,()=>function Yo(U,Ce,Ve){const dt=U._getTarget();Ce in dt||(dt[Ce]={});const At=dt[Ce];return M(At)&&d(Ve)?Ve:At}(Ce,Ve,dt))}function So(U,Ce,Ve,dt,At){for(;Ve;)Ve=Co(U,Ce,Ve,dt,At);return Ve}function Lr(U,Ce){for(const Ve of Ce){if(!Ve)continue;const dt=Ve[U];if(it(dt))return dt}}function fi(U){let Ce=U._keys;return Ce||(Ce=U._keys=function fr(U){const Ce=new Set;for(const Ve of U)for(const dt of Object.keys(Ve).filter(At=>!At.startsWith("_")))Ce.add(dt);return Array.from(Ce)}(U._scopes)),Ce}function Er(U,Ce,Ve,dt){const{iScale:At}=U,{key:rn="r"}=this._parsing,cn=new Array(dt);let Fn,_o,Bo,ti;for(Fn=0,_o=dt;Fn<_o;++Fn)Bo=Fn+Ve,ti=Ce[Bo],cn[Fn]={r:At.parse(ke(ti,rn),Bo)};return cn}const Ci=Number.EPSILON||1e-14,_i=(U,Ce)=>Ce"x"===U?"y":"x";function Zi(U,Ce,Ve,dt){const At=U.skip?Ce:U,rn=Ce,cn=Ve.skip?Ce:Ve,Fn=ln(rn,At),_o=ln(cn,rn);let Bo=Fn/(Fn+_o),ti=_o/(Fn+_o);Bo=isNaN(Bo)?0:Bo,ti=isNaN(ti)?0:ti;const Li=dt*Bo,er=dt*ti;return{previous:{x:rn.x-Li*(cn.x-At.x),y:rn.y-Li*(cn.y-At.y)},next:{x:rn.x+er*(cn.x-At.x),y:rn.y+er*(cn.y-At.y)}}}function ks(U,Ce,Ve){return Math.max(Math.min(U,Ve),Ce)}function ee(U,Ce,Ve,dt,At){let rn,cn,Fn,_o;if(Ce.spanGaps&&(U=U.filter(Bo=>!Bo.skip)),"monotone"===Ce.cubicInterpolationMode)!function Hr(U,Ce="x"){const Ve=ar(Ce),dt=U.length,At=Array(dt).fill(0),rn=Array(dt);let cn,Fn,_o,Bo=_i(U,0);for(cn=0;cnwindow.getComputedStyle(U,null),Ee=["top","right","bottom","left"];function _e(U,Ce,Ve){const dt={};Ve=Ve?"-"+Ve:"";for(let At=0;At<4;At++){const rn=Ee[At];dt[rn]=parseFloat(U[Ce+"-"+rn+Ve])||0}return dt.width=dt.left+dt.right,dt.height=dt.top+dt.bottom,dt}const Ie=(U,Ce,Ve)=>(U>0||Ce>0)&&(!Ve||!Ve.shadowRoot);function Ae(U,Ce){if("native"in U)return U;const{canvas:Ve,currentDevicePixelRatio:dt}=Ce,At=Y(Ve),rn="border-box"===At.boxSizing,cn=_e(At,"padding"),Fn=_e(At,"border","width"),{x:_o,y:Bo,box:ti}=function Le(U,Ce){const Ve=U.touches,dt=Ve&&Ve.length?Ve[0]:U,{offsetX:At,offsetY:rn}=dt;let Fn,_o,cn=!1;if(Ie(At,rn,U.target))Fn=At,_o=rn;else{const Bo=Ce.getBoundingClientRect();Fn=dt.clientX-Bo.left,_o=dt.clientY-Bo.top,cn=!0}return{x:Fn,y:_o,box:cn}}(U,Ve),Li=cn.left+(ti&&Fn.left),er=cn.top+(ti&&Fn.top);let{width:Yi,height:Ai}=Ce;return rn&&(Yi-=cn.width+Fn.width,Ai-=cn.height+Fn.height),{x:Math.round((_o-Li)/Yi*Ve.width/dt),y:Math.round((Bo-er)/Ai*Ve.height/dt)}}const Et=U=>Math.round(10*U)/10;function Nt(U,Ce,Ve,dt){const At=Y(U),rn=_e(At,"margin"),cn=N(At.maxWidth,U,"clientWidth")||gt,Fn=N(At.maxHeight,U,"clientHeight")||gt,_o=function ut(U,Ce,Ve){let dt,At;if(void 0===Ce||void 0===Ve){const rn=D(U);if(rn){const cn=rn.getBoundingClientRect(),Fn=Y(rn),_o=_e(Fn,"border","width"),Bo=_e(Fn,"padding");Ce=cn.width-Bo.width-_o.width,Ve=cn.height-Bo.height-_o.height,dt=N(Fn.maxWidth,rn,"clientWidth"),At=N(Fn.maxHeight,rn,"clientHeight")}else Ce=U.clientWidth,Ve=U.clientHeight}return{width:Ce,height:Ve,maxWidth:dt||gt,maxHeight:At||gt}}(U,Ce,Ve);let{width:Bo,height:ti}=_o;if("content-box"===At.boxSizing){const Li=_e(At,"border","width"),er=_e(At,"padding");Bo-=er.width+Li.width,ti-=er.height+Li.height}return Bo=Math.max(0,Bo-rn.width),ti=Math.max(0,dt?Math.floor(Bo/dt):ti-rn.height),Bo=Et(Math.min(Bo,cn,_o.maxWidth)),ti=Et(Math.min(ti,Fn,_o.maxHeight)),Bo&&!ti&&(ti=Et(Bo/2)),{width:Bo,height:ti}}function Ot(U,Ce,Ve){const dt=Ce||1,At=Math.floor(U.height*dt),rn=Math.floor(U.width*dt);U.height=At/dt,U.width=rn/dt;const cn=U.canvas;return cn.style&&(Ve||!cn.style.height&&!cn.style.width)&&(cn.style.height=`${U.height}px`,cn.style.width=`${U.width}px`),(U.currentDevicePixelRatio!==dt||cn.height!==At||cn.width!==rn)&&(U.currentDevicePixelRatio=dt,cn.height=At,cn.width=rn,U.ctx.setTransform(dt,0,0,dt,0,0),!0)}const pn=function(){let U=!1;try{const Ce={get passive(){return U=!0,!1}};window.addEventListener("test",null,Ce),window.removeEventListener("test",null,Ce)}catch{}return U}();function Ct(U,Ce){const Ve=function xe(U,Ce){return Y(U).getPropertyValue(Ce)}(U,Ce),dt=Ve&&Ve.match(/^(\d+)(\.\d+)?px$/);return dt?+dt[1]:void 0}function nn(U,Ce,Ve,dt){return{x:U.x+Ve*(Ce.x-U.x),y:U.y+Ve*(Ce.y-U.y)}}function on(U,Ce,Ve,dt){return{x:U.x+Ve*(Ce.x-U.x),y:"middle"===dt?Ve<.5?U.y:Ce.y:"after"===dt?Ve<1?U.y:Ce.y:Ve>0?Ce.y:U.y}}function Qn(U,Ce,Ve,dt){const At={x:U.cp2x,y:U.cp2y},rn={x:Ce.cp1x,y:Ce.cp1y},cn=nn(U,At,Ve),Fn=nn(At,rn,Ve),_o=nn(rn,Ce,Ve),Bo=nn(cn,Fn,Ve),ti=nn(Fn,_o,Ve);return nn(Bo,ti,Ve)}const eo=new Map;function jo(U,Ce,Ve){return function fo(U,Ce){Ce=Ce||{};const Ve=U+JSON.stringify(Ce);let dt=eo.get(Ve);return dt||(dt=new Intl.NumberFormat(U,Ce),eo.set(Ve,dt)),dt}(Ce,Ve).format(U)}const wo=function(U,Ce){return{x:Ve=>U+U+Ce-Ve,setWidth(Ve){Ce=Ve},textAlign:Ve=>"center"===Ve?Ve:"right"===Ve?"left":"right",xPlus:(Ve,dt)=>Ve-dt,leftForLtr:(Ve,dt)=>Ve-dt}},ii=function(){return{x:U=>U,setWidth(U){},textAlign:U=>U,xPlus:(U,Ce)=>U+Ce,leftForLtr:(U,Ce)=>U}};function Te(U,Ce,Ve){return U?wo(Ce,Ve):ii()}function ge(U,Ce){let Ve,dt;("ltr"===Ce||"rtl"===Ce)&&(Ve=U.canvas.style,dt=[Ve.getPropertyValue("direction"),Ve.getPropertyPriority("direction")],Ve.setProperty("direction",Ce,"important"),U.prevTextDirection=dt)}function He(U,Ce){void 0!==Ce&&(delete U.prevTextDirection,U.canvas.style.setProperty("direction",Ce[0],Ce[1]))}function ue(U){return"angle"===U?{between:Un,compare:tn,normalize:En}:{between:gn,compare:(Ce,Ve)=>Ce-Ve,normalize:Ce=>Ce}}function st({start:U,end:Ce,count:Ve,loop:dt,style:At}){return{start:U%Ve,end:Ce%Ve,loop:dt&&(Ce-U+1)%Ve==0,style:At}}function Yn(U,Ce,Ve){if(!Ve)return[U];const{property:dt,start:At,end:rn}=Ve,cn=Ce.length,{compare:Fn,between:_o,normalize:Bo}=ue(dt),{start:ti,end:Li,loop:er,style:Yi}=function jn(U,Ce,Ve){const{property:dt,start:At,end:rn}=Ve,{between:cn,normalize:Fn}=ue(dt),_o=Ce.length;let er,Yi,{start:Bo,end:ti,loop:Li}=U;if(Li){for(Bo+=_o,ti+=_o,er=0,Yi=_o;erAt&&U[rn%Ce].skip;)rn--;return rn%=Ce,{start:At,end:rn}}(Ve,At,rn,dt);return Gr(U,!0===dt?[{start:cn,end:Fn,loop:rn}]:function ki(U,Ce,Ve,dt){const At=U.length,rn=[];let _o,cn=Ce,Fn=U[Ce];for(_o=Ce+1;_o<=Ve;++_o){const Bo=U[_o%At];Bo.skip||Bo.stop?Fn.skip||(rn.push({start:Ce%At,end:(_o-1)%At,loop:dt=!1}),Ce=cn=Bo.stop?_o:null):(cn=_o,Fn.skip&&(Ce=_o)),Fn=Bo}return null!==cn&&rn.push({start:Ce%At,end:cn%At,loop:dt}),rn}(Ve,cn,Fn{"use strict";i.d(z,{PI:()=>e.P,tn:()=>e.b2,If:()=>e.av,E2:()=>e.C,uv:()=>e.L,sw:()=>e.j,Lt:()=>e.aG,DE:()=>e.au,__:()=>e.Q,cy:()=>e.b,MI:()=>e.g,Pj:()=>e.k,Gv:()=>e.i,h1:()=>e.V,hd:()=>e.a,di:()=>e.O,Lv:()=>e.K,eh:()=>e.t,u$:()=>e.ax,$J:()=>e.N,a4:()=>e.v});var e=i(66935)},99130:(Ze,z,i)=>{"use strict";i.d(z,{uk:()=>dn,L_:()=>Un}),i(78590);const a={year:0,month:1,day:2,hour:3,minute:4,second:5},E={},u=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")),O="06/25/2014, 00:00:00"===u||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===u;function $(Vt,Gt,Ln,Lt,yn,Mn,bn){const Bn=new Date(0);return Bn.setUTCFullYear(Vt,Gt,Ln),Bn.setUTCHours(Lt,yn,Mn,bn),Bn}const K=36e5,X=6e4,J={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function G(Vt,Gt,Ln){if(!Vt)return 0;let yn,Mn,Lt=J.timezoneZ.exec(Vt);if(Lt)return 0;if(Lt=J.timezoneHH.exec(Vt),Lt)return yn=parseInt(Lt[1],10),ke(yn)?-yn*K:NaN;if(Lt=J.timezoneHHMM.exec(Vt),Lt){yn=parseInt(Lt[2],10);const bn=parseInt(Lt[3],10);return ke(yn,bn)?(Mn=Math.abs(yn)*K+bn*X,"+"===Lt[1]?-Mn:Mn):NaN}if(function Ne(Vt){if(be[Vt])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:Vt}),be[Vt]=!0,!0}catch{return!1}}(Vt)){Gt=new Date(Gt||Date.now());const bn=Ln?Gt:function fe(Vt){return $(Vt.getFullYear(),Vt.getMonth(),Vt.getDate(),Vt.getHours(),Vt.getMinutes(),Vt.getSeconds(),Vt.getMilliseconds())}(Gt),Bn=he(bn,Vt);return-(Ln?Bn:function Me(Vt,Gt,Ln){let yn=Vt.getTime()-Gt;const Mn=he(new Date(yn),Ln);if(Gt===Mn)return Gt;yn-=Mn-Gt;const bn=he(new Date(yn),Ln);return Mn===bn?Mn:Math.max(Mn,bn)}(Gt,Bn,Vt))}return NaN}function he(Vt,Gt){const Ln=function p(Vt,Gt){const Ln=function A(Vt){return E[Vt]||(E[Vt]=O?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:Vt,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:Vt,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),E[Vt]}(Gt);return"formatToParts"in Ln?function _(Vt,Gt){try{const Ln=Vt.formatToParts(Gt),Lt=[];for(let yn=0;yn=0?Mn:1e3+Mn,Lt-yn}function ke(Vt,Gt){return-23<=Vt&&Vt<=23&&(null==Gt||0<=Gt&&Gt<=59)}const be={};function Ge(Vt){const Gt=new Date(Date.UTC(Vt.getFullYear(),Vt.getMonth(),Vt.getDate(),Vt.getHours(),Vt.getMinutes(),Vt.getSeconds(),Vt.getMilliseconds()));return Gt.setUTCFullYear(Vt.getFullYear()),+Vt-+Gt}const gt=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,mn=36e5,_t=6e4,Ke=2,Je={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:gt};function Xe(Vt,Gt={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===Vt)return new Date(NaN);const Ln=null==Gt.additionalDigits?Ke:Number(Gt.additionalDigits);if(2!==Ln&&1!==Ln&&0!==Ln)throw new RangeError("additionalDigits must be 0, 1 or 2");if(Vt instanceof Date||"object"==typeof Vt&&"[object Date]"===Object.prototype.toString.call(Vt))return new Date(Vt.getTime());if("number"==typeof Vt||"[object Number]"===Object.prototype.toString.call(Vt))return new Date(Vt);if("[object String]"!==Object.prototype.toString.call(Vt))return new Date(NaN);const Lt=function qe(Vt){const Gt={};let Lt,Ln=Je.dateTimePattern.exec(Vt);if(Ln?(Gt.date=Ln[1],Lt=Ln[3]):(Ln=Je.datePattern.exec(Vt),Ln?(Gt.date=Ln[1],Lt=Ln[2]):(Gt.date=null,Lt=Vt)),Lt){const yn=Je.timeZone.exec(Lt);yn?(Gt.time=Lt.replace(yn[1],""),Gt.timeZone=yn[1].trim()):Gt.time=Lt}return Gt}(Vt),{year:yn,restDateString:Mn}=function Bt(Vt,Gt){if(Vt){const Ln=Je.YYY[Gt],Lt=Je.YYYYY[Gt];let yn=Je.YYYY.exec(Vt)||Lt.exec(Vt);if(yn){const Mn=yn[1];return{year:parseInt(Mn,10),restDateString:Vt.slice(Mn.length)}}if(yn=Je.YY.exec(Vt)||Ln.exec(Vt),yn){const Mn=yn[1];return{year:100*parseInt(Mn,10),restDateString:Vt.slice(Mn.length)}}}return{year:null}}(Lt.date,Ln),bn=function It(Vt,Gt){if(null===Gt)return null;let Ln,Lt,yn;if(!Vt||!Vt.length)return Ln=new Date(0),Ln.setUTCFullYear(Gt),Ln;let Mn=Je.MM.exec(Vt);if(Mn)return Ln=new Date(0),Lt=parseInt(Mn[1],10)-1,Ht(Gt,Lt)?(Ln.setUTCFullYear(Gt,Lt),Ln):new Date(NaN);if(Mn=Je.DDD.exec(Vt),Mn){Ln=new Date(0);const bn=parseInt(Mn[1],10);return function $t(Vt,Gt){if(Gt<1)return!1;const Ln=xt(Vt);return!(Ln&&Gt>366||!Ln&&Gt>365)}(Gt,bn)?(Ln.setUTCFullYear(Gt,0,bn),Ln):new Date(NaN)}if(Mn=Je.MMDD.exec(Vt),Mn){Ln=new Date(0),Lt=parseInt(Mn[1],10)-1;const bn=parseInt(Mn[2],10);return Ht(Gt,Lt,bn)?(Ln.setUTCFullYear(Gt,Lt,bn),Ln):new Date(NaN)}if(Mn=Je.Www.exec(Vt),Mn)return yn=parseInt(Mn[1],10)-1,Xt(yn)?Hn(Gt,yn):new Date(NaN);if(Mn=Je.WwwD.exec(Vt),Mn){yn=parseInt(Mn[1],10)-1;const bn=parseInt(Mn[2],10)-1;return Xt(yn,bn)?Hn(Gt,yn,bn):new Date(NaN)}return null}(Mn,yn);if(null===bn||isNaN(bn.getTime()))return new Date(NaN);if(bn){const Bn=bn.getTime();let oo,yo=0;if(Lt.time&&(yo=function Nn(Vt){let Gt,Ln,Lt=Je.HH.exec(Vt);if(Lt)return Gt=parseFloat(Lt[1].replace(",",".")),ln(Gt)?Gt%24*mn:NaN;if(Lt=Je.HHMM.exec(Vt),Lt)return Gt=parseInt(Lt[1],10),Ln=parseFloat(Lt[2].replace(",",".")),ln(Gt,Ln)?Gt%24*mn+Ln*_t:NaN;if(Lt=Je.HHMMSS.exec(Vt),Lt){Gt=parseInt(Lt[1],10),Ln=parseInt(Lt[2],10);const yn=parseFloat(Lt[3].replace(",","."));return ln(Gt,Ln,yn)?Gt%24*mn+Ln*_t+1e3*yn:NaN}return null}(Lt.time),null===yo||isNaN(yo)))return new Date(NaN);if(Lt.timeZone||Gt.timeZone){if(oo=G(Lt.timeZone||Gt.timeZone,new Date(Bn+yo)),isNaN(oo))return new Date(NaN)}else oo=Ge(new Date(Bn+yo)),oo=Ge(new Date(Bn+yo+oo));return new Date(Bn+yo+oo)}return new Date(NaN)}function Hn(Vt,Gt,Ln){Gt=Gt||0,Ln=Ln||0;const Lt=new Date(0);Lt.setUTCFullYear(Vt,0,4);const Mn=7*Gt+Ln+1-(Lt.getUTCDay()||7);return Lt.setUTCDate(Lt.getUTCDate()+Mn),Lt}const xo=[31,28,31,30,31,30,31,31,30,31,30,31],Kn=[31,29,31,30,31,30,31,31,30,31,30,31];function xt(Vt){return Vt%400==0||Vt%4==0&&Vt%100!=0}function Ht(Vt,Gt,Ln){if(Gt<0||Gt>11)return!1;if(null!=Ln){if(Ln<1)return!1;const Lt=xt(Vt);if(Lt&&Ln>Kn[Gt]||!Lt&&Ln>xo[Gt])return!1}return!0}function Xt(Vt,Gt){return!(Vt<0||Vt>52||null!=Gt&&(Gt<0||Gt>6))}function ln(Vt,Gt,Ln){return!(Vt<0||Vt>=25||null!=Gt&&(Gt<0||Gt>=60)||null!=Ln&&(Ln<0||Ln>=60))}function Un(Vt,Gt,Ln){const Lt=G(Gt,Vt=Xe(Vt,Ln),!0),yn=new Date(Vt.getTime()-Lt),Mn=new Date(0);return Mn.setFullYear(yn.getUTCFullYear(),yn.getUTCMonth(),yn.getUTCDate()),Mn.setHours(yn.getUTCHours(),yn.getUTCMinutes(),yn.getUTCSeconds(),yn.getUTCMilliseconds()),Mn}function dn(Vt,Gt,Ln){if("string"==typeof Vt&&!Vt.match(gt))return Xe(Vt,{...Ln,timeZone:Gt});const Lt=$((Vt=Xe(Vt,Ln)).getFullYear(),Vt.getMonth(),Vt.getDate(),Vt.getHours(),Vt.getMinutes(),Vt.getSeconds(),Vt.getMilliseconds()).getTime(),yn=G(Gt,new Date(Lt));return new Date(Lt+yn)}},9807:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>t});let e={};function t(){return e}},83849:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>M});const e=(d,p)=>{switch(d){case"P":return p.date({width:"short"});case"PP":return p.date({width:"medium"});case"PPP":return p.date({width:"long"});default:return p.date({width:"full"})}},t=(d,p)=>{switch(d){case"p":return p.time({width:"short"});case"pp":return p.time({width:"medium"});case"ppp":return p.time({width:"long"});default:return p.time({width:"full"})}},M={p:t,P:(d,p)=>{const a=d.match(/(P+)(p+)?/)||[],_=a[1],v=a[2];if(!v)return e(d,p);let E;switch(_){case"P":E=p.dateTime({width:"short"});break;case"PP":E=p.dateTime({width:"medium"});break;case"PPP":E=p.dateTime({width:"long"});break;default:E=p.dateTime({width:"full"})}return E.replace("{{date}}",e(_,p)).replace("{{time}}",t(v,p))}}},48833:(Ze,z,i)=>{"use strict";i.d(z,{G:()=>t});var e=i(91490);function t(l){const M=(0,e.a)(l),d=new Date(Date.UTC(M.getFullYear(),M.getMonth(),M.getDate(),M.getHours(),M.getMinutes(),M.getSeconds(),M.getMilliseconds()));return d.setUTCFullYear(M.getFullYear()),+l-+d}},77530:(Ze,z,i)=>{"use strict";i.d(z,{x:()=>t});var e=i(91298);function t(l,...M){const d=e.w.bind(null,l||M.find(p=>"object"==typeof p));return M.map(d)}},18648:(Ze,z,i)=>{"use strict";i.d(z,{Ss:()=>p,ef:()=>M,xM:()=>d});const e=/^D+$/,t=/^Y+$/,l=["D","DD","YY","YYYY"];function M(_){return e.test(_)}function d(_){return t.test(_)}function p(_,v,E){const u=function a(_,v,E){const u="Y"===_[0]?"years":"days of the month";return`Use \`${_.toLowerCase()}\` instead of \`${_}\` (in \`${v}\`) for formatting ${u} to the input \`${E}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(_,v,E);if(console.warn(u),l.includes(_))throw new RangeError(u)}},71479:(Ze,z,i)=>{"use strict";i.d(z,{f:()=>l});var e=i(91298),t=i(91490);function l(d,p,a){const _=(0,t.a)(d,a?.in);return isNaN(p)?(0,e.w)(a?.in||d,NaN):(p&&_.setDate(_.getDate()+p),_)}},53759:(Ze,z,i)=>{"use strict";i.d(z,{P:()=>l});var e=i(91298),t=i(91490);function l(d,p,a){const _=(0,t.a)(d,a?.in);if(isNaN(p))return(0,e.w)(a?.in||d,NaN);if(!p)return _;const v=_.getDate(),E=(0,e.w)(a?.in||d,_.getTime());return E.setMonth(_.getMonth()+p+1,0),v>=E.getDate()?E:(_.setFullYear(E.getFullYear(),E.getMonth(),v),_)}},72162:(Ze,z,i)=>{"use strict";i.d(z,{Cg:()=>a,_P:()=>Ne,_m:()=>v,my:()=>d,s0:()=>_,w4:()=>p}),Math.pow(10,8);const d=6048e5,p=864e5,a=6e4,_=36e5,v=1e3,Ne=Symbol.for("constructDateFrom")},91298:(Ze,z,i)=>{"use strict";i.d(z,{w:()=>t});var e=i(72162);function t(M,d){return"function"==typeof M?M(d):M&&"object"==typeof M&&e._P in M?M[e._P](d):M instanceof Date?new M.constructor(d):new Date(d)}},81266:(Ze,z,i)=>{"use strict";i.d(z,{m:()=>d});var e=i(48833),t=i(77530),l=i(72162),M=i(30226);function d(a,_,v){const[E,u]=(0,t.x)(v?.in,a,_),O=(0,M.o)(E),A=(0,M.o)(u),$=+O-(0,e.G)(O),K=+A-(0,e.G)(A);return Math.round(($-K)/l.w4)}},69831:(Ze,z,i)=>{"use strict";i.d(z,{$:()=>l});var e=i(9807),t=i(91490);function l(d,p){const a=(0,e.q)(),_=p?.weekStartsOn??p?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,v=(0,t.a)(d,p?.in),E=v.getDay(),u=6+(E<_?-7:0)-(E-_);return v.setDate(v.getDate()+u),v.setHours(23,59,59,999),v}},7083:(Ze,z,i)=>{"use strict";i.d(z,{GP:()=>pt});var e=i(54238),t=i(9807),l=i(81266),M=i(80167),d=i(91490),_=i(79865),v=i(98539),E=i(3719),u=i(4110);function O(mt,at){return(mt<0?"-":"")+Math.abs(mt).toString().padStart(at,"0")}const A={y(mt,at){const Ge=mt.getFullYear(),gt=Ge>0?Ge:1-Ge;return O("yy"===at?gt%100:gt,at.length)},M(mt,at){const Ge=mt.getMonth();return"M"===at?String(Ge+1):O(Ge+1,2)},d:(mt,at)=>O(mt.getDate(),at.length),a(mt,at){const Ge=mt.getHours()/12>=1?"pm":"am";switch(at){case"a":case"aa":return Ge.toUpperCase();case"aaa":return Ge;case"aaaaa":return Ge[0];default:return"am"===Ge?"a.m.":"p.m."}},h:(mt,at)=>O(mt.getHours()%12||12,at.length),H:(mt,at)=>O(mt.getHours(),at.length),m:(mt,at)=>O(mt.getMinutes(),at.length),s:(mt,at)=>O(mt.getSeconds(),at.length),S(mt,at){const Ge=at.length,gt=mt.getMilliseconds();return O(Math.trunc(gt*Math.pow(10,Ge-3)),at.length)}},K={G:function(mt,at,Ge){const gt=mt.getFullYear()>0?1:0;switch(at){case"G":case"GG":case"GGG":return Ge.era(gt,{width:"abbreviated"});case"GGGGG":return Ge.era(gt,{width:"narrow"});default:return Ge.era(gt,{width:"wide"})}},y:function(mt,at,Ge){if("yo"===at){const gt=mt.getFullYear();return Ge.ordinalNumber(gt>0?gt:1-gt,{unit:"year"})}return A.y(mt,at)},Y:function(mt,at,Ge,gt){const mn=(0,u.h)(mt,gt),_t=mn>0?mn:1-mn;return"YY"===at?O(_t%100,2):"Yo"===at?Ge.ordinalNumber(_t,{unit:"year"}):O(_t,at.length)},R:function(mt,at){return O((0,v.p)(mt),at.length)},u:function(mt,at){return O(mt.getFullYear(),at.length)},Q:function(mt,at,Ge){const gt=Math.ceil((mt.getMonth()+1)/3);switch(at){case"Q":return String(gt);case"QQ":return O(gt,2);case"Qo":return Ge.ordinalNumber(gt,{unit:"quarter"});case"QQQ":return Ge.quarter(gt,{width:"abbreviated",context:"formatting"});case"QQQQQ":return Ge.quarter(gt,{width:"narrow",context:"formatting"});default:return Ge.quarter(gt,{width:"wide",context:"formatting"})}},q:function(mt,at,Ge){const gt=Math.ceil((mt.getMonth()+1)/3);switch(at){case"q":return String(gt);case"qq":return O(gt,2);case"qo":return Ge.ordinalNumber(gt,{unit:"quarter"});case"qqq":return Ge.quarter(gt,{width:"abbreviated",context:"standalone"});case"qqqqq":return Ge.quarter(gt,{width:"narrow",context:"standalone"});default:return Ge.quarter(gt,{width:"wide",context:"standalone"})}},M:function(mt,at,Ge){const gt=mt.getMonth();switch(at){case"M":case"MM":return A.M(mt,at);case"Mo":return Ge.ordinalNumber(gt+1,{unit:"month"});case"MMM":return Ge.month(gt,{width:"abbreviated",context:"formatting"});case"MMMMM":return Ge.month(gt,{width:"narrow",context:"formatting"});default:return Ge.month(gt,{width:"wide",context:"formatting"})}},L:function(mt,at,Ge){const gt=mt.getMonth();switch(at){case"L":return String(gt+1);case"LL":return O(gt+1,2);case"Lo":return Ge.ordinalNumber(gt+1,{unit:"month"});case"LLL":return Ge.month(gt,{width:"abbreviated",context:"standalone"});case"LLLLL":return Ge.month(gt,{width:"narrow",context:"standalone"});default:return Ge.month(gt,{width:"wide",context:"standalone"})}},w:function(mt,at,Ge,gt){const mn=(0,E.N)(mt,gt);return"wo"===at?Ge.ordinalNumber(mn,{unit:"week"}):O(mn,at.length)},I:function(mt,at,Ge){const gt=(0,_.s)(mt);return"Io"===at?Ge.ordinalNumber(gt,{unit:"week"}):O(gt,at.length)},d:function(mt,at,Ge){return"do"===at?Ge.ordinalNumber(mt.getDate(),{unit:"date"}):A.d(mt,at)},D:function(mt,at,Ge){const gt=function p(mt,at){const Ge=(0,d.a)(mt,at?.in);return(0,l.m)(Ge,(0,M.D)(Ge))+1}(mt);return"Do"===at?Ge.ordinalNumber(gt,{unit:"dayOfYear"}):O(gt,at.length)},E:function(mt,at,Ge){const gt=mt.getDay();switch(at){case"E":case"EE":case"EEE":return Ge.day(gt,{width:"abbreviated",context:"formatting"});case"EEEEE":return Ge.day(gt,{width:"narrow",context:"formatting"});case"EEEEEE":return Ge.day(gt,{width:"short",context:"formatting"});default:return Ge.day(gt,{width:"wide",context:"formatting"})}},e:function(mt,at,Ge,gt){const mn=mt.getDay(),_t=(mn-gt.weekStartsOn+8)%7||7;switch(at){case"e":return String(_t);case"ee":return O(_t,2);case"eo":return Ge.ordinalNumber(_t,{unit:"day"});case"eee":return Ge.day(mn,{width:"abbreviated",context:"formatting"});case"eeeee":return Ge.day(mn,{width:"narrow",context:"formatting"});case"eeeeee":return Ge.day(mn,{width:"short",context:"formatting"});default:return Ge.day(mn,{width:"wide",context:"formatting"})}},c:function(mt,at,Ge,gt){const mn=mt.getDay(),_t=(mn-gt.weekStartsOn+8)%7||7;switch(at){case"c":return String(_t);case"cc":return O(_t,at.length);case"co":return Ge.ordinalNumber(_t,{unit:"day"});case"ccc":return Ge.day(mn,{width:"abbreviated",context:"standalone"});case"ccccc":return Ge.day(mn,{width:"narrow",context:"standalone"});case"cccccc":return Ge.day(mn,{width:"short",context:"standalone"});default:return Ge.day(mn,{width:"wide",context:"standalone"})}},i:function(mt,at,Ge){const gt=mt.getDay(),mn=0===gt?7:gt;switch(at){case"i":return String(mn);case"ii":return O(mn,at.length);case"io":return Ge.ordinalNumber(mn,{unit:"day"});case"iii":return Ge.day(gt,{width:"abbreviated",context:"formatting"});case"iiiii":return Ge.day(gt,{width:"narrow",context:"formatting"});case"iiiiii":return Ge.day(gt,{width:"short",context:"formatting"});default:return Ge.day(gt,{width:"wide",context:"formatting"})}},a:function(mt,at,Ge){const mn=mt.getHours()/12>=1?"pm":"am";switch(at){case"a":case"aa":return Ge.dayPeriod(mn,{width:"abbreviated",context:"formatting"});case"aaa":return Ge.dayPeriod(mn,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return Ge.dayPeriod(mn,{width:"narrow",context:"formatting"});default:return Ge.dayPeriod(mn,{width:"wide",context:"formatting"})}},b:function(mt,at,Ge){const gt=mt.getHours();let mn;switch(mn=12===gt?"noon":0===gt?"midnight":gt/12>=1?"pm":"am",at){case"b":case"bb":return Ge.dayPeriod(mn,{width:"abbreviated",context:"formatting"});case"bbb":return Ge.dayPeriod(mn,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return Ge.dayPeriod(mn,{width:"narrow",context:"formatting"});default:return Ge.dayPeriod(mn,{width:"wide",context:"formatting"})}},B:function(mt,at,Ge){const gt=mt.getHours();let mn;switch(mn=gt>=17?"evening":gt>=12?"afternoon":gt>=4?"morning":"night",at){case"B":case"BB":case"BBB":return Ge.dayPeriod(mn,{width:"abbreviated",context:"formatting"});case"BBBBB":return Ge.dayPeriod(mn,{width:"narrow",context:"formatting"});default:return Ge.dayPeriod(mn,{width:"wide",context:"formatting"})}},h:function(mt,at,Ge){if("ho"===at){let gt=mt.getHours()%12;return 0===gt&&(gt=12),Ge.ordinalNumber(gt,{unit:"hour"})}return A.h(mt,at)},H:function(mt,at,Ge){return"Ho"===at?Ge.ordinalNumber(mt.getHours(),{unit:"hour"}):A.H(mt,at)},K:function(mt,at,Ge){const gt=mt.getHours()%12;return"Ko"===at?Ge.ordinalNumber(gt,{unit:"hour"}):O(gt,at.length)},k:function(mt,at,Ge){let gt=mt.getHours();return 0===gt&&(gt=24),"ko"===at?Ge.ordinalNumber(gt,{unit:"hour"}):O(gt,at.length)},m:function(mt,at,Ge){return"mo"===at?Ge.ordinalNumber(mt.getMinutes(),{unit:"minute"}):A.m(mt,at)},s:function(mt,at,Ge){return"so"===at?Ge.ordinalNumber(mt.getSeconds(),{unit:"second"}):A.s(mt,at)},S:function(mt,at){return A.S(mt,at)},X:function(mt,at,Ge){const gt=mt.getTimezoneOffset();if(0===gt)return"Z";switch(at){case"X":return J(gt);case"XXXX":case"XX":return G(gt);default:return G(gt,":")}},x:function(mt,at,Ge){const gt=mt.getTimezoneOffset();switch(at){case"x":return J(gt);case"xxxx":case"xx":return G(gt);default:return G(gt,":")}},O:function(mt,at,Ge){const gt=mt.getTimezoneOffset();switch(at){case"O":case"OO":case"OOO":return"GMT"+X(gt,":");default:return"GMT"+G(gt,":")}},z:function(mt,at,Ge){const gt=mt.getTimezoneOffset();switch(at){case"z":case"zz":case"zzz":return"GMT"+X(gt,":");default:return"GMT"+G(gt,":")}},t:function(mt,at,Ge){return O(Math.trunc(+mt/1e3),at.length)},T:function(mt,at,Ge){return O(+mt,at.length)}};function X(mt,at=""){const Ge=mt>0?"-":"+",gt=Math.abs(mt),mn=Math.trunc(gt/60),_t=gt%60;return 0===_t?Ge+String(mn):Ge+String(mn)+at+O(_t,2)}function J(mt,at){return mt%60==0?(mt>0?"-":"+")+O(Math.abs(mt)/60,2):G(mt,at)}function G(mt,at=""){const Ge=mt>0?"-":"+",gt=Math.abs(mt);return Ge+O(Math.trunc(gt/60),2)+at+O(gt%60,2)}var fe=i(83849),he=i(18648),Me=i(6509);const ke=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,be=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ne=/^'([^]*?)'?$/,je=/''/g,it=/[a-zA-Z]/;function pt(mt,at,Ge){const gt=(0,t.q)(),mn=Ge?.locale??gt.locale??e.c,_t=Ge?.firstWeekContainsDate??Ge?.locale?.options?.firstWeekContainsDate??gt.firstWeekContainsDate??gt.locale?.options?.firstWeekContainsDate??1,Ke=Ge?.weekStartsOn??Ge?.locale?.options?.weekStartsOn??gt.weekStartsOn??gt.locale?.options?.weekStartsOn??0,Je=(0,d.a)(mt,Ge?.in);if(!(0,Me.f)(Je))throw new RangeError("Invalid time value");let Xe=at.match(be).map(Bt=>{const It=Bt[0];return"p"===It||"P"===It?(0,fe.m[It])(Bt,mn.formatLong):Bt}).join("").match(ke).map(Bt=>{if("''"===Bt)return{isToken:!1,value:"'"};const It=Bt[0];if("'"===It)return{isToken:!1,value:Ye(Bt)};if(K[It])return{isToken:!0,value:Bt};if(It.match(it))throw new RangeError("Format string contains an unescaped latin alphabet character `"+It+"`");return{isToken:!1,value:Bt}});mn.localize.preprocessor&&(Xe=mn.localize.preprocessor(Je,Xe));const qe={firstWeekContainsDate:_t,weekStartsOn:Ke,locale:mn};return Xe.map(Bt=>{if(!Bt.isToken)return Bt.value;const It=Bt.value;return(!Ge?.useAdditionalWeekYearTokens&&(0,he.xM)(It)||!Ge?.useAdditionalDayOfYearTokens&&(0,he.ef)(It))&&(0,he.Ss)(It,at,String(mt)),(0,K[It[0]])(Je,It,mn.localize,qe)}).join("")}function Ye(mt){const at=mt.match(Ne);return at?at[1].replace(je,"'"):mt}},78590:(Ze,z,i)=>{"use strict";i.d(z,{q:()=>t});var e=i(9807);function t(){return Object.assign({},(0,e.q)())}},79865:(Ze,z,i)=>{"use strict";i.d(z,{s:()=>_});var e=i(72162),t=i(31337),l=i(91298),M=i(98539),a=i(91490);function _(E,u){const O=(0,a.a)(E,u?.in),A=+(0,t.b)(O)-+function d(E,u){const O=(0,M.p)(E,u),A=(0,l.w)(u?.in||E,0);return A.setFullYear(O,0,4),A.setHours(0,0,0,0),(0,t.b)(A)}(O);return Math.round(A/e.my)+1}},98539:(Ze,z,i)=>{"use strict";i.d(z,{p:()=>M});var e=i(91298),t=i(31337),l=i(91490);function M(p,a){const _=(0,l.a)(p,a?.in),v=_.getFullYear(),E=(0,e.w)(_,0);E.setFullYear(v+1,0,4),E.setHours(0,0,0,0);const u=(0,t.b)(E),O=(0,e.w)(_,0);O.setFullYear(v,0,4),O.setHours(0,0,0,0);const A=(0,t.b)(O);return _.getTime()>=u.getTime()?v+1:_.getTime()>=A.getTime()?v:v-1}},3719:(Ze,z,i)=>{"use strict";i.d(z,{N:()=>v});var e=i(72162),t=i(28034),l=i(9807),M=i(91298),d=i(4110),_=i(91490);function v(u,O){const A=(0,_.a)(u,O?.in),$=+(0,t.k)(A,O)-+function p(u,O){const A=(0,l.q)(),$=O?.firstWeekContainsDate??O?.locale?.options?.firstWeekContainsDate??A.firstWeekContainsDate??A.locale?.options?.firstWeekContainsDate??1,K=(0,d.h)(u,O),X=(0,M.w)(O?.in||u,0);return X.setFullYear(K,0,$),X.setHours(0,0,0,0),(0,t.k)(X,O)}(A,O);return Math.round($/e.my)+1}},4110:(Ze,z,i)=>{"use strict";i.d(z,{h:()=>d});var e=i(9807),t=i(91298),l=i(28034),M=i(91490);function d(a,_){const v=(0,M.a)(a,_?.in),E=v.getFullYear(),u=(0,e.q)(),O=_?.firstWeekContainsDate??_?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,A=(0,t.w)(_?.in||a,0);A.setFullYear(E+1,0,O),A.setHours(0,0,0,0);const $=(0,l.k)(A,_),K=(0,t.w)(_?.in||a,0);K.setFullYear(E,0,O),K.setHours(0,0,0,0);const X=(0,l.k)(K,_);return+v>=+$?E+1:+v>=+X?E:E-1}},6509:(Ze,z,i)=>{"use strict";i.d(z,{f:()=>M});var l=i(91490);function M(p){return!(!function e(p){return p instanceof Date||"object"==typeof p&&"[object Date]"===Object.prototype.toString.call(p)}(p)&&"number"!=typeof p||isNaN(+(0,l.a)(p)))}},13130:(Ze,z,i)=>{"use strict";function e(t){return(l={})=>{const M=l.width?String(l.width):t.defaultWidth;return t.formats[M]||t.formats[t.defaultWidth]}}i.d(z,{k:()=>e})},34228:(Ze,z,i)=>{"use strict";function e(t){return(l,M)=>{let p;if("formatting"===(M?.context?String(M.context):"standalone")&&t.formattingValues){const _=t.defaultFormattingWidth||t.defaultWidth,v=M?.width?String(M.width):_;p=t.formattingValues[v]||t.formattingValues[_]}else{const _=t.defaultWidth,v=M?.width?String(M.width):t.defaultWidth;p=t.values[v]||t.values[_]}return p[t.argumentCallback?t.argumentCallback(l):l]}}i.d(z,{o:()=>e})},23990:(Ze,z,i)=>{"use strict";function e(M){return(d,p={})=>{const a=p.width,v=d.match(a&&M.matchPatterns[a]||M.matchPatterns[M.defaultMatchWidth]);if(!v)return null;const E=v[0],u=a&&M.parsePatterns[a]||M.parsePatterns[M.defaultParseWidth],O=Array.isArray(u)?function l(M,d){for(let p=0;pK.test(E)):function t(M,d){for(const p in M)if(Object.prototype.hasOwnProperty.call(M,p)&&d(M[p]))return p}(u,K=>K.test(E));let A;return A=M.valueCallback?M.valueCallback(O):O,A=p.valueCallback?p.valueCallback(A):A,{value:A,rest:d.slice(E.length)}}}i.d(z,{A:()=>e})},8762:(Ze,z,i)=>{"use strict";function e(t){return(l,M={})=>{const d=l.match(t.matchPattern);if(!d)return null;const p=d[0],a=l.match(t.parsePattern);if(!a)return null;let _=t.valueCallback?t.valueCallback(a[0]):a[0];return _=M.valueCallback?M.valueCallback(_):_,{value:_,rest:l.slice(p.length)}}}i.d(z,{K:()=>e})},54238:(Ze,z,i)=>{"use strict";i.d(z,{c:()=>E});var e=i(98306),t=i(13130);const p={date:(0,t.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,t.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,t.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var a=i(80669),_=i(78157),v=i(39225);const E={code:"en-US",formatDistance:e.B,formatLong:p,formatRelative:a.o,localize:_.k,match:v.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}}},98306:(Ze,z,i)=>{"use strict";i.d(z,{B:()=>t});const e={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"}},t=(l,M,d)=>{let p;const a=e[l];return p="string"==typeof a?a:1===M?a.one:a.other.replace("{{count}}",M.toString()),d?.addSuffix?d.comparison&&d.comparison>0?"in "+p:p+" ago":p}},80669:(Ze,z,i)=>{"use strict";i.d(z,{o:()=>t});const e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},t=(l,M,d,p)=>e[l]},78157:(Ze,z,i)=>{"use strict";i.d(z,{k:()=>v});var e=i(34228);const v={ordinalNumber:(E,u)=>{const O=Number(E),A=O%100;if(A>20||A<10)switch(A%10){case 1:return O+"st";case 2:return O+"nd";case 3:return O+"rd"}return O+"th"},era:(0,e.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,e.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:E=>E-1}),month:(0,e.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,e.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,e.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:(Ze,z,i)=>{"use strict";i.d(z,{Y:()=>K});var e=i(23990);const K={ordinalNumber:(0,i(8762).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:X=>parseInt(X,10)}),era:(0,e.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,e.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:X=>X+1}),month:(0,e.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,e.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,e.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:(Ze,z,i)=>{"use strict";i.d(z,{o:()=>t});var e=i(91490);function t(M,d){const p=(0,e.a)(M,d?.in);return p.setHours(0,0,0,0),p}},31337:(Ze,z,i)=>{"use strict";i.d(z,{b:()=>t});var e=i(28034);function t(M,d){return(0,e.k)(M,{...d,weekStartsOn:1})}},85578:(Ze,z,i)=>{"use strict";i.d(z,{w:()=>t});var e=i(91490);function t(M,d){const p=(0,e.a)(M,d?.in);return p.setDate(1),p.setHours(0,0,0,0),p}},28034:(Ze,z,i)=>{"use strict";i.d(z,{k:()=>l});var e=i(9807),t=i(91490);function l(d,p){const a=(0,e.q)(),_=p?.weekStartsOn??p?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,v=(0,t.a)(d,p?.in),E=v.getDay(),u=(E<_?7:0)+E-_;return v.setDate(v.getDate()-u),v.setHours(0,0,0,0),v}},80167:(Ze,z,i)=>{"use strict";i.d(z,{D:()=>t});var e=i(91490);function t(M,d){const p=(0,e.a)(M,d?.in);return p.setFullYear(p.getFullYear(),0,1),p.setHours(0,0,0,0),p}},91490:(Ze,z,i)=>{"use strict";i.d(z,{a:()=>t});var e=i(91298);function t(M,d){return(0,e.w)(d||M,M)}},10467:(Ze,z,i)=>{"use strict";function e(l,M,d,p,a,_,v){try{var E=l[_](v),u=E.value}catch(O){return void d(O)}E.done?M(u):Promise.resolve(u).then(p,a)}function t(l){return function(){var M=this,d=arguments;return new Promise(function(p,a){var _=l.apply(M,d);function v(u){e(_,p,a,v,E,"next",u)}function E(u){e(_,p,a,v,E,"throw",u)}v(void 0)})}}i.d(z,{A:()=>t})},99842:(Ze,z,i)=>{"use strict";function e(d){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(p){return typeof p}:function(p){return p&&"function"==typeof Symbol&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p})(d)}function M(d,p,a){return(p=function l(d){var p=function t(d,p){if("object"!=e(d)||!d)return d;var a=d[Symbol.toPrimitive];if(void 0!==a){var _=a.call(d,p||"default");if("object"!=e(_))return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===p?String:Number)(d)}(d,"string");return"symbol"==e(p)?p:p+""}(p))in d?Object.defineProperty(d,p,{value:a,enumerable:!0,configurable:!0,writable:!0}):d[p]=a,d}i.d(z,{A:()=>M})},31635:(Ze,z,i)=>{"use strict";function d(Ke,Je,Xe,qe){var Nn,Bt=arguments.length,It=Bt<3?Je:null===qe?qe=Object.getOwnPropertyDescriptor(Je,Xe):qe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)It=Reflect.decorate(Ke,Je,Xe,qe);else for(var Hn=Ke.length-1;Hn>=0;Hn--)(Nn=Ke[Hn])&&(It=(Bt<3?Nn(It):Bt>3?Nn(Je,Xe,It):Nn(Je,Xe))||It);return Bt>3&&It&&Object.defineProperty(Je,Xe,It),It}function O(Ke,Je,Xe,qe){return new(Xe||(Xe=Promise))(function(It,Nn){function Hn(xt){try{Kn(qe.next(xt))}catch(Ht){Nn(Ht)}}function xo(xt){try{Kn(qe.throw(xt))}catch(Ht){Nn(Ht)}}function Kn(xt){xt.done?It(xt.value):function Bt(It){return It instanceof Xe?It:new Xe(function(Nn){Nn(It)})}(xt.value).then(Hn,xo)}Kn((qe=qe.apply(Ke,Je||[])).next())})}function Me(Ke){return this instanceof Me?(this.v=Ke,this):new Me(Ke)}function ke(Ke,Je,Xe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Bt,qe=Xe.apply(Ke,Je||[]),It=[];return Bt={},Hn("next"),Hn("throw"),Hn("return",function Nn(Xt){return function(ln){return Promise.resolve(ln).then(Xt,Ht)}}),Bt[Symbol.asyncIterator]=function(){return this},Bt;function Hn(Xt,ln){qe[Xt]&&(Bt[Xt]=function(tn){return new Promise(function(En,Un){It.push([Xt,tn,En,Un])>1||xo(Xt,tn)})},ln&&(Bt[Xt]=ln(Bt[Xt])))}function xo(Xt,ln){try{!function Kn(Xt){Xt.value instanceof Me?Promise.resolve(Xt.value.v).then(xt,Ht):$t(It[0][2],Xt)}(qe[Xt](ln))}catch(tn){$t(It[0][3],tn)}}function xt(Xt){xo("next",Xt)}function Ht(Xt){xo("throw",Xt)}function $t(Xt,ln){Xt(ln),It.shift(),It.length&&xo(It[0][0],It[0][1])}}function Ne(Ke){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Xe,Je=Ke[Symbol.asyncIterator];return Je?Je.call(Ke):(Ke=function X(Ke){var Je="function"==typeof Symbol&&Symbol.iterator,Xe=Je&&Ke[Je],qe=0;if(Xe)return Xe.call(Ke);if(Ke&&"number"==typeof Ke.length)return{next:function(){return Ke&&qe>=Ke.length&&(Ke=void 0),{value:Ke&&Ke[qe++],done:!Ke}}};throw new TypeError(Je?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ke),Xe={},qe("next"),qe("throw"),qe("return"),Xe[Symbol.asyncIterator]=function(){return this},Xe);function qe(It){Xe[It]=Ke[It]&&function(Nn){return new Promise(function(Hn,xo){!function Bt(It,Nn,Hn,xo){Promise.resolve(xo).then(function(Kn){It({value:Kn,done:Hn})},Nn)}(Hn,xo,(Nn=Ke[It](Nn)).done,Nn.value)})}}}i.d(z,{AQ:()=>ke,Cg:()=>d,N3:()=>Me,sH:()=>O,xN:()=>Ne}),"function"==typeof SuppressedError&&SuppressedError}},Ze=>{Ze(Ze.s=96331)}]); \ No newline at end of file diff --git a/branch/kby-3682-enhancement-a11y-improvements-for-menu/runtime.6de009d48e2263f2.js b/branch/kby-3682-enhancement-a11y-improvements-for-menu/runtime.6de009d48e2263f2.js new file mode 100644 index 0000000000..d07fd1069a --- /dev/null +++ b/branch/kby-3682-enhancement-a11y-improvements-for-menu/runtime.6de009d48e2263f2.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},m={};function a(e){var c=m[e];if(void 0!==c)return c.exports;var d=m[e]={exports:{}};return v[e](d,d.exports,a),d.exports}a.m=v,e=[],a.O=(c,d,t,b)=>{if(!d){var f=1/0;for(r=0;r=b)&&Object.keys(a.O).every(p=>a.O[p](d[n]))?d.splice(n--,1):(u=!1,b0&&e[r-1][2]>b;r--)e[r]=e[r-1];e[r]=[d,t,b]},a.n=e=>{var c=e&&e.__esModule?()=>e.default:()=>e;return a.d(c,{a:c}),c},a.d=(e,c)=>{for(var d in c)a.o(c,d)&&!a.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:c[d]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((c,d)=>(a.f[d](e,c),c),[])),a.u=e=>(2076===e?"common":e)+"."+{441:"6697e4274204ab87",964:"7f2a0eaba6041a6b",1049:"490e081d79df402b",1102:"e7b300c4432d06ae",1293:"3f33ef2a10058d50",1459:"dc4d6c6515d34228",1577:"8bf6183c60b82119",2075:"2b107bbc884fc078",2076:"d1ce7db47f202e06",2348:"fed8e88f25b1e729",2372:"72c1a9a7aa1b8c7c",2375:"d3ab7495f79aa923",2415:"6f07ab1b66a9ed59",2560:"9ee85df1845e1319",2885:"fc8f681d25073212",3162:"c8bf94f3650fe991",3506:"856c2fe59d753f79",3511:"9d442494c527b6e4",3687:"d669c9e37280e466",3814:"64993bc23b06a2fd",4171:"d93d0ac03535ca7c",4183:"3814158fc86806b9",4406:"85325f694a44c1ee",4463:"af0d2138fc75a196",4591:"1cc8031675fc3310",4699:"8e38a31677d011e0",5100:"708956dd6b74448c",5197:"166296338695851b",5222:"ff5dd8dc8f8e3154",5712:"3ea8629b2ef79517",5766:"d4f1d5572a129e9e",5887:"9ada2e9c560a1d95",5949:"7d1ab7205ddc0a7c",6024:"6c6acfbc926598bd",6433:"5048fd24894cac5d",6499:"4403e643bca7643e",6521:"5c1f9be4ce79f1db",6631:"1f49d17f2c0787df",6840:"ede04bae8a79af97",7030:"c2cfa813b61344e3",7076:"fe5051c1ea911b3d",7179:"4a03688de1e73db0",7240:"ad5a9f515d1bb29b",7338:"e0e87750c65de55b",7356:"10126f01f80dd7ab",7372:"6d2214eecc8ed059",7402:"c75e927bd5edae36",7428:"d93c121f28bc42ce",7720:"49e00b5d864a84bf",8066:"5acb787fdf8d7f4c",8193:"77a3c181e49ca965",8314:"45735b2024a73010",8361:"a786822c87443943",8477:"4456431cd264ca47",8584:"bb5df2b9628d836f",8782:"c09d8cb98e29aa07",8805:"08c27196fb857946",8814:"0e6702fbed0a2aed",8970:"80b1d911cdedeed0",8996:"7d1984e799e99c0f",9013:"aa0eccdc7f413862",9344:"eb9e3f0581de6c5e",9751:"877e38a4ba8834a5",9977:"dd74ca8d140fe1f9"}[e]+".js",a.miniCssF=e=>{},a.o=(e,c)=>Object.prototype.hasOwnProperty.call(e,c),(()=>{var e={},c="cookbook:";a.l=(d,t,b,r)=>{if(e[d])e[d].push(t);else{var f,u;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{f.onerror=f.onload=null,clearTimeout(s);var _=e[d];if(delete e[d],f.parentNode&&f.parentNode.removeChild(f),_&&_.forEach(h=>h(p)),g)return g(p)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=l.bind(null,f.onerror),f.onload=l.bind(null,f.onload),u&&document.head.appendChild(f)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:c=>c},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={9121:0};a.f.j=(t,b)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)b.push(r[2]);else if(9121!=t){var f=new Promise((o,l)=>r=e[t]=[o,l]);b.push(r[2]=f);var u=a.p+a.u(t),n=new Error;a.l(u,o=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var l=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;n.message="Loading chunk "+t+" failed.\n("+l+": "+s+")",n.name="ChunkLoadError",n.type=l,n.request=s,r[1](n)}},"chunk-"+t,t)}else e[t]=0},a.O.j=t=>0===e[t];var c=(t,b)=>{var n,i,[r,f,u]=b,o=0;if(r.some(s=>0!==e[s])){for(n in f)a.o(f,n)&&(a.m[n]=f[n]);if(u)var l=u(a)}for(t&&t(b);o