smoothly 0.3.64 → 0.3.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/smoothly-accordion_53.cjs.entry.js +6382 -119
- package/dist/collection/components/display/index.js +1 -1
- package/dist/custom-elements/index.js +6682 -419
- package/dist/esm/smoothly-accordion_53.entry.js +6395 -132
- package/dist/smoothly/p-158aa6a1.entry.js +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/package.json +2 -2
- package/dist/smoothly/p-06dc5d78.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o,a as e,c as s,H as i}from"./p-c88ae468.js";import{r as n,A as l,N as r}from"./p-675a8d09.js";import{T as a,M as h,a as c}from"./p-db43430d.js";import"./p-bd478a53.js";import{D as d,L as m,g as u,a as p,b as y,C as b,c as g}from"./p-a14dfd75.js";const v=class{constructor(o){t(this,o),this.items=[],this.value=void 0}valueChanged(t){this.updateItems()}handleOpenClose(t){t.detail.open?this.value=t.detail.name:this.value==t.detail.name&&(this.value=void 0)}onAccordionItemDidLoad(t){const o=t.target;this.items.push(o),null==this.value&&o.open?this.value=o.name:this.updateItems()}onAccordionItemDidUnload(t){const o=this.items.indexOf(t.target);o>-1&&this.items.splice(o,1)}componentDidLoad(){this.updateItems()}updateItems(){let t=!1;for(const o of this.items)(o.open=!t&&o.name==this.value)&&(t=!0)}render(){return[o("slot",null)]}get me(){return e(this)}static get watchers(){return{value:["valueChanged"]}}};v.style="smoothly-accordion-item.sc-smoothly-accordion{border:1px solid rgb(var(--smoothly-dark-color));border-bottom:none}smoothly-accordion-item.sc-smoothly-accordion:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px;margin-top:0.4em}smoothly-accordion-item.sc-smoothly-accordion:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:1px solid rgb(var(--smoothly-dark-color));margin-bottom:0.6em}smoothly-accordion-item[open].sc-smoothly-accordion{border-color:rgb(var(--smoothly-primary-color));border-bottom:1px solid rgb(var(--smoothly-primary-color))}smoothly-accordion-item[open].sc-smoothly-accordion+smoothly-accordion-item.sc-smoothly-accordion{border-top:none}";const f=class{constructor(o){t(this,o),this.smoothlyAccordionItemDidLoad=s(this,"smoothlyAccordionItemDidLoad",7),this.smoothlyAccordionItemDidUnload=s(this,"smoothlyAccordionItemDidUnload",7),this.smoothlyOpen=s(this,"smoothlyOpen",7),this.smoothlyClose=s(this,"smoothlyClose",7),this.name=void 0,this.brand=void 0,this.open=void 0}openChanged(t){this.open=t,t&&this.smoothlyOpen.emit({open:!0,name:this.name})}componentDidLoad(){const t=this.me.getElementsByTagName("summary");if(t.length>0){const o=t=>{this.open?this.smoothlyClose.emit({open:this.open,name:this.name}):this.open=!0,t.preventDefault()};t[0].addEventListener("click",o),t[0].addEventListener("touch",o)}this.smoothlyAccordionItemDidLoad.emit()}disconnectedCallback(){this.smoothlyAccordionItemDidUnload.emit()}render(){return o("details",{open:this.open},o("summary",null,o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},o("path",this.open?{d:"M256 48C141.6 48 48 141.6 48 256s93.6 208 208 208 208-93.6 208-208S370.4 48 256 48zm-42.7 318.9L106.7 260.3l29.9-29.9 76.8 76.8 162.1-162.1 29.9 29.9-192.1 191.9z"}:{d:"M256 48C141.601 48 48 141.601 48 256s93.601 208 208 208 208-93.601 208-208S370.399 48 256 48zm0 374.399c-91.518 0-166.399-74.882-166.399-166.399S164.482 89.6 256 89.6 422.4 164.482 422.4 256 347.518 422.399 256 422.399z"})),this.name,"string"==typeof this.brand?o("span",{class:this.brand.toLowerCase()},this.brand):Array.isArray(this.brand)?this.brand.map((t=>o("span",{class:t.toLowerCase()},t))):[]),o("fieldset",{disabled:!this.open,name:this.name},o("slot",null)))}get me(){return e(this)}static get watchers(){return{open:["openChanged"]}}};f.style=".sc-smoothly-accordion-item-h{display:block}[hidden].sc-smoothly-accordion-item-h{display:none}details.sc-smoothly-accordion-item{padding:0}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>span.sc-smoothly-accordion-item{float:right;margin:0.2em;font-size:60%}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item{font-size:120%;list-style-type:none;cursor:pointer;padding:0.4em;color:rgb(var(--smoothly-text-tint))}details.sc-smoothly-accordion-item>fieldset.sc-smoothly-accordion-item{border:none;margin:0;padding:0}[open].sc-smoothly-accordion-item-h>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color))}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item::-webkit-details-marker{display:none}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{width:1em;height:auto;margin-bottom:-0.2em;margin-right:0.4em}[open].sc-smoothly-accordion-item-h>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{fill:rgb(var(--smoothly-primary-contrast))}.sc-smoothly-accordion-item-h:not([open])>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{fill:rgb(var(--smoothly-text-tint))}";const S=class{constructor(o){t(this,o),this.color=void 0}render(){return o("smoothly-notifier",null,o("slot",{name:"header"}),o("slot",{name:"main"}),o("slot",null))}};S.style="smoothly-app{display:block;scrollbar-width:none}smoothly-app[hidden]{display:none}smoothly-app[color=default],smoothly-app:not([color]){--smoothly-app-background:var(--smoothly-default-color);--smoothly-app-color:var(--smoothly-default-contrast);--smoothly-app-hover-background:var(--smoothly-primary-color);--smoothly-app-hover-color:var(--smoothly-primary-contrast);--smoothly-app-shadow:var(--smoothly-default-shadow)}smoothly-app[color=primary]{--smoothly-app-background:var(--smoothly-primary-shade);--smoothly-app-color:var(--smoothly-primary-contrast);--smoothly-app-hover-background:var(--smoothly-secondary-color);--smoothly-app-hover-color:var(--smoothly-secondary-contrast);--smoothly-app-shadow:var(--smoothly-primary-shadow)}smoothly-app[color=secondary]{--smoothly-app-background:var(--smoothly-secondary-shade);--smoothly-app-color:var(--smoothly-secondary-contrast);--smoothly-app-hover-background:var(--smoothly-primary-color);--smoothly-app-hover-color:var(--smoothly-primary-contrast);--smoothly-app-shadow:var(--smoothly-secondary-shadow)}smoothly-app[color=tertiary],smoothly-app[color=success],smoothly-app[color=warning],smoothly-app[color=danger]{--smoothly-app-background:var(--smoothly-color-shade);--smoothly-app-color:var(--smoothly-color-contrast);--smoothly-app-hover-background:var(--smoothly-default-shade);--smoothly-app-hover-color:var(--smoothly-default-contrast);--smoothly-app-shadow:var(--smoothly-color-shadow)}smoothly-app>smoothly-notifier>header{position:fixed;top:0;left:0;width:100%;z-index:5;height:5rem;background-color:rgb(var(--smoothly-app-background));color:rgba(var(--smoothly-medium-color));fill:rgb(var(--smoothly-medium-color));stroke:rgb(var(--smoothly-medium-color));display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 5px 0 rgba(var(--smoothly-app-shadow));border-bottom:1px solid rgba(var(--smoothly-dark-color))}smoothly-app>smoothly-notifier>header a{color:inherit;text-decoration:inherit}smoothly-app>smoothly-notifier>header>nav{width:100%;flex-shrink:2}smoothly-app>smoothly-notifier>header>h1,smoothly-app>smoothly-notifier>header>nav,smoothly-app>smoothly-notifier>header>nav>ul,smoothly-app>smoothly-notifier>header>nav>ul li,smoothly-app>smoothly-notifier>header>nav>ul li>*:not(a){display:flex;height:100%;margin:0}smoothly-app>smoothly-notifier>header>h1{margin-left:3.8rem}smoothly-app>smoothly-notifier>header>h1>a{overflow:hidden;user-select:none;height:200%;display:flex;align-self:center;size:100%;background-position-y:center}smoothly-app>smoothly-notifier>header>nav>ul>li a{line-height:1.6cm}smoothly-app>smoothly-notifier>header>nav>ul{width:100%}smoothly-app>smoothly-notifier>header>[slot=header]{margin-right:2.1rem;border:0}smoothly-app>smoothly-notifier>header>[slot=header]>a{display:flex;border-width:0;align-items:center;margin-right:3.9rem}smoothly-app>smoothly-notifier>header>[slot=header]>a>smoothly-icon{fill:rgb(var(--smoothly-primary-shade));stroke:rgb(var(--smoothly-primary-shade));color:rgb(var(--smoothly-primary-shade))}smoothly-app>smoothly-notifier>header>nav>ul li a{display:flex;height:2.3rem;margin:0 0.4cm;text-decoration:none}smoothly-app>smoothly-notifier>header>nav>ul li>a{display:flex;align-items:center;align-self:center;margin-bottom:2px}smoothly-app>smoothly-notifier>header>nav>ul li smoothly-trigger.sc-smoothly-trigger-h{border:0}smoothly-app>smoothly-notifier>header>nav>ul li>a>smoothly-icon>svg{fill:rgb(var(--smoothly-medium-color));stroke:rgb(var(--smoothly-medium-color));color:rgb(var(--smoothly-medium-color));align-items:center;display:flex}smoothly-app>smoothly-notifier>header>nav>ul li>a:hover>smoothly-icon>svg,smoothly-app>smoothly-notifier>header>nav>ul li>a.active>smoothly-icon>svg{color:rgb(var(--smoothly-app-color));stroke:rgb(var(--smoothly-app-color));fill:rgb(var(--smoothly-app-color))}smoothly-app>smoothly-notifier>header>nav>ul li>smoothly-trigger.active a>smoothly-icon,smoothly-app>smoothly-notifier>header>nav>ul li>smoothly-trigger:hover a>smoothly-icon,smoothly-app>smoothly-notifier>header>nav>ul li a:hover,smoothly-app>smoothly-notifier>header>nav>ul li a.active{border-bottom:2px solid rgb(var(--smoothly-app-color));margin-bottom:0px;border-bottom-width:2px;color:rgb(var(--smoothly-app-color));stroke:rgb(var(--smoothly-app-color));fill:rgb(var(--smoothly-app-color))}smoothly-app>smoothly-notifier>main{position:relative;top:5rem}";const w=class{constructor(o){t(this,o),this.baseUrl=void 0}render(){return o(l,{label:"Smoothly Demo"},o("a",{slot:"nav-start",href:"display"},"Display"),o("a",{slot:"nav-start",href:"https://google.com"},"External"),o("smoothly-room",{path:""},o("smoothly-input",{type:"text"},"Default"),o("div",{style:{padding:"1em",maxWidth:"12em"}},o("smoothly-button",{fill:"solid",color:"danger",link:"https://google.com"},"open"),o("smoothly-button",{fill:"solid",color:"danger",link:"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",download:!0},"download"),o("smoothly-button",{fill:"solid",color:"danger",onClick:()=>alert("clicked")},"action"),o("smoothly-button",{disabled:!0,fill:"solid",color:"danger",onClick:()=>alert("clicked")},"action"),o("smoothly-button",{type:"link",fill:"clear",color:"danger",onClick:()=>alert("clicked")},"action link"))),o("smoothly-room",{path:"input",label:"Input"},o("smoothly-input-demo",null)),o("smoothly-room",{path:"dialog",label:"Dialog"},o("smoothly-dialog-demo",null)),o("smoothly-room",{path:"display",label:"Display",icon:"eye-outline"},o("smoothly-display-demo",null)),o("smoothly-room",{path:"table",label:"Table"},o("smoothly-table-demo",null)),o("smoothly-room",{path:"select",label:"Select"},o("smoothly-select-demo",null)),o("smoothly-room",{path:"icon",label:"Icon"},o("smoothly-icon-demo",null)),o("smoothly-room",{path:"/redirect",label:"Redirect"},o("smoothly-button",{style:{"max-width":"300px"},onClick:()=>{n("/routing/pathParameter1")}},"Internal"),o("smoothly-button",{style:{"max-width":"300px"},onClick:()=>{n("https://google.com")}},"External"),o("smoothly-button",{disabled:!0,style:{"max-width":"300px"},onClick:()=>{n("https://google.com")}},"External")),o("smoothly-room",{path:/^\/routing\/\w+\/?/,label:"No effect"},o("h2",null,"Regex routing")),o("smoothly-room",{path:"old",label:"Old",to:"select"}),o("span",{slot:"header",style:{width:"100%",maxWidth:"500px"}},o("smoothly-picker",{label:"All Animals Selected",style:{minWidth:"100px"},labelSetting:"hide","empty-menu-label":"Sorry, we're out of options.","max-height":"58px",multiple:!0,"select-none-name":"Select All",options:[{name:"Big Dog",value:"dog",aliases:["WOFF"]},{name:"Cat Stevens",value:"cat",aliases:["moew"],hint:"moew 🐈"},{name:"Noble Pig",value:"pig",hint:"🐷"},{name:"Turtle Wax",value:"turtle"},{name:"Spider Man",value:"spider"},{name:"Phoenix Order Long Wooord",value:"phoenix"},{name:"Horse Back",value:"horse"},{name:"Unicorn Horn",value:"unicorn"},{name:"Talking Parrot Parrot",value:"parrot"},{name:"Hidden Dragon",value:"dragon"},{name:"Scary Kraken",value:"kraken"}]})),o("smoothly-trigger",{slot:"header",type:"link",name:"logout"},o("smoothly-icon",{toolTip:"Log out",name:"log-out",size:"medium"})))}},k=class{constructor(o){t(this,o),this.opacity="0.5",this.bottom="1rem",this.right="1rem",this.visible=void 0}componentWillLoad(){window.addEventListener("scroll",(()=>{this.visible=document.body.scrollTop>20||document.documentElement.scrollTop>20}))}render(){return o(i,{style:{"--opacity":this.visible?this.opacity:"0","--pointer-events":this.visible?"auto":"none","--bottom":this.bottom,"--right":this.right},onClick:()=>window.scrollTo({top:0,left:0,behavior:"smooth"})},o("smoothly-icon",{name:"chevron-up-outline"}))}};k.style=".sc-smoothly-backtotop-h{background-color:rgba(var(--smoothly-default-color), 1);opacity:var(--opacity);pointer-events:var(--pointer-events);transition:opacity 400ms;z-index:3;border-radius:50%;box-shadow:var(--smoothly-shadow);height:3rem;width:3rem;position:fixed;bottom:var(--bottom);right:var(--right);outline:none;cursor:pointer;display:flex;justify-content:center;align-items:center}";const C=class{constructor(o){t(this,o),this.color=void 0,this.expand=void 0,this.fill=void 0,this.disabled=!1,this.type="button",this.link=void 0,this.download=void 0}render(){let t;switch(this.type){case"link":t=this.disabled?o("slot",null):o("a",{href:this.link},o("slot",null));break;case"button":t=this.link?this.disabled?o("slot",null):o("a",{href:this.link,target:"_blank",download:this.download},o("slot",null)):o("button",{disabled:this.disabled},o("slot",null))}return t}};function M(t){const o=new globalThis.Date(t),e=[];for(let s=0;s<12;s++){o.setMonth(s,28);const i=d.create(o);e.push({date:i,name:o.toLocaleString(void 0,{month:"long"}),selected:i.substring(0,7)==t.substring(0,7)})}return e}function A(t){const o=new globalThis.Date(t),e=(new Date).getFullYear()-10,s=(new Date).getFullYear()+10,i=[];for(let n=e;n<=s;n++){o.setFullYear(n);const e=d.create(o);i.push({date:e,name:o.toLocaleString(void 0,{year:"numeric"}),selected:e==t})}return i}C.style="[type=link].sc-smoothly-button-h{display:inline;border:none}.sc-smoothly-button-h:not([type=link]){display:flex;align-items:center;justify-content:center}.sc-smoothly-button-h{margin:1em;border-style:solid;border-width:1px;border-radius:3px}[hidden].sc-smoothly-button-h{display:none}[disabled].sc-smoothly-button-h{opacity:0.5;pointer-events:none}a.sc-smoothly-button,button.sc-smoothly-button{display:block;border-color:transparent;background-color:transparent;padding:0.2em 0.3em;font-size:110%;font-weight:400}.sc-smoothly-button-h:not([disabled]):hover,.sc-smoothly-button-h:not([disabled]):focus,.sc-smoothly-button-h:not([disabled]):active{border-color:var(--smoothly-button-border)}[type=button].sc-smoothly-button-h>a.sc-smoothly-button{display:block;text-align:center;text-decoration:inherit}[type=button].sc-smoothly-button-h>a.sc-smoothly-button{width:calc(100% - 0.6em)}.sc-smoothly-button-h>button.sc-smoothly-button{height:100%;width:100%}[expand=fill].sc-smoothly-button-h{width:100%;border-left:none;border-right:none}";const N=class{constructor(o){t(this,o),this.valueChanged=s(this,"valueChanged",7),this.startChanged=s(this,"startChanged",7),this.endChanged=s(this,"endChanged",7),this.dateSet=s(this,"dateSet",7),this.dateRangeSet=s(this,"dateRangeSet",7),this.clickCounter=0,this.month=void 0,this.value=d.now(),this.start=void 0,this.end=void 0,this.max=void 0,this.min=void 0,this.doubleInput=void 0,this.color=void 0,this.firstSelected=void 0}onStart(t){this.startChanged.emit(t)}onEnd(t){this.endChanged.emit(t)}onClick(t){this.valueChanged.emit(this.value=t),this.clickCounter+=1,this.doubleInput&&(this.clickCounter%2==1?this.start=this.end=this.frozenDate=t:this.start&&t>this.start?this.end=t:this.start=t),!this.doubleInput&&this.dateSet.emit(this.value),this.doubleInput&&this.clickCounter%2==0&&this.start&&this.end&&this.dateRangeSet.emit({start:this.start,end:this.end})}onHover(t){this.doubleInput&&this.clickCounter%2==1&&(t<this.frozenDate?(this.start=t,this.end=this.frozenDate):(this.start=this.frozenDate,this.end=t))}render(){var t,e;return o(i,null,o("smoothly-input-month",{value:null!==(t=this.month)&&void 0!==t?t:this.value,onValueChanged:t=>{this.month=t.detail,t.stopPropagation()}}),o("table",null,o("thead",null,o("tr",null,function(){const t=new globalThis.Date;t.setDate(t.getDate()-t.getDay()+1);const o=[];for(let e=0;e<7;e++)o.push(t.toLocaleString(void 0,{weekday:"short"})),t.setDate(t.getDate()+1);return o}().map((t=>o("th",null,t))))),function(t){const o=new Date(t);o.setDate(1);let e=-(o.getDay()+6)%7+1;const s=[];for(let o=0;o<6;o++){const i=[];for(let o=0;o<7;o++){const o=new Date(t);o.setUTCDate(e++),i.push(d.create(o))}(o<5||d.firstOfMonth(i[0])==d.firstOfMonth(t))&&s.push(i)}return s}(null!==(e=this.month)&&void 0!==e?e:this.value).map((t=>o("tr",null,t.map((t=>{var e,s,i;return o("td",{tabindex:1,onMouseOver:()=>{!this.doubleInput&&(this.min||this.max)&&(t<this.min||t>this.max)||this.onHover(t)},onClick:(this.min||this.max)&&(t<this.min||t>this.max)?void 0:()=>this.onClick(t),class:(t==this.value?["selected"]:[]).concat(...t==d.now()?["today"]:[],d.firstOfMonth(null!==(e=this.month)&&void 0!==e?e:this.value)==d.firstOfMonth(t)?["currentMonth"]:[],this.doubleInput?this.start==t||this.end==t?["selected"]:t>=(null!==(s=this.start)&&void 0!==s?s:"")&&t<=(null!==(i=this.end)&&void 0!==i?i:"")?["dateRange"]:[]:"").concat(...this.min||this.max?t<this.min||t>this.max?["disable"]:[]:"").join(" ")},t.substring(8,10))})))))))}get element(){return e(this)}static get watchers(){return{start:["onStart"],end:["onEnd"]}}};function x(t,o){let e;if(o){m.is(o)||(o=u(o));const s=o&&t[o];e=s?x(s):T}else{const o=t;e=(t,...e)=>{const s=o[t];return s?"function"==typeof s?s(...e):e.length>0?T(s,...e):s:T(t,...e)}}return e}function T(t,...o){return o.length>0?o.reduce(((t,o,e)=>t.replace("$"+e,o)),t):t}N.style="html smoothly-notifier .sc-smoothly-calendar-h{display:block;--other-month-opacity:0.5;padding-bottom:1rem}html smoothly-notifier [color].sc-smoothly-calendar-h{background-color:rgb(var(--smoothly-color-shade))}.sc-smoothly-calendar-h>smoothly-input-month.sc-smoothly-calendar{width:calc(100% - 1em);padding:0.5em 0.5em 0 0.5em;background-color:rgb(var(--smoothly-color-shade))}.sc-smoothly-calendar-h>table.sc-smoothly-calendar{table-layout:fixed;width:100%}th.sc-smoothly-calendar,td.sc-smoothly-calendar{text-align:center;padding:0.5em;min-width:2em;background-color:rgb(var(--smoothly-color-shade));cursor:pointer;user-select:none}td.currentMonth.sc-smoothly-calendar{color:rgb(var(--smoothly-color-contrast))}td.sc-smoothly-calendar:not(.currentMonth){color:rgba(var(--smoothly-color-contrast), var(--other-month-opacity))}td.sc-smoothly-calendar:nth-child(6):not(.currentMonth).selected,td.sc-smoothly-calendar:nth-child(6):not(.currentMonth).dateRange,td.sc-smoothly-calendar:nth-child(7):not(.currentMonth).selected,td.sc-smoothly-calendar:nth-child(7):not(.currentMonth).dateRange{color:rgba(var(--smoothly-color-contrast))}td.sc-smoothly-calendar:nth-child(6),td.sc-smoothly-calendar:nth-child(7){color:rgb(var(--smoothly-danger-tint))}td.sc-smoothly-calendar:nth-child(6):not(.currentMonth),td.sc-smoothly-calendar:nth-child(7):not(.currentMonth){color:rgba(var(--smoothly-danger-tint), var(--other-month-opacity))}td.sc-smoothly-calendar:not(.selected,.disable).sc-smoothly-calendar:hover{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-tint))}td.selected.sc-smoothly-calendar{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color))}td.sc-smoothly-calendar:not(.selected,.dateRange).sc-smoothly-calendar:not(:hover).today{background:rgb(var(--smoothly-dark-tint));color:rgb(var(--smoothly-dark-contrast))}td.dateRange.sc-smoothly-calendar{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-tint))}td.disable.sc-smoothly-calendar{cursor:not-allowed;background-color:rgb(var(--smoothly-color-tint), 0.5);color:rgb(var(--smoothly-color-contrast), 0.5)}";const I={"Select all":"Markera alla","Deselect all":"Avmarkera alla",Select:"Markera",Deselect:"Avmarkera"};function R(t){return x({sv:I},t)}const B=class{constructor(o){t(this,o),this.checked=s(this,"checked",7),this.selectAll=!1,this.size="small",this.intermediate=void 0,this.selected=void 0,this.disabled=void 0,this.t=void 0}componentWillLoad(){this.t=R(this.element)}toggle(){this.disabled||(this.selected=!this.selected,this.checked.emit({selected:this.selected}))}render(){return[o("smoothly-icon",{toolTip:this.t(this.selectAll?"Deselect all":"Deselect"),onClick:()=>this.toggle(),style:{display:this.selected?"":"none"},size:this.size,name:"checkbox-outline"}),o("smoothly-icon",{toolTip:this.t(this.intermediate&&!this.selected?"Deselect all":"Select all"),onClick:()=>this.toggle(),style:{display:this.intermediate&&!this.selected?"":"none"},size:this.size,name:"remove-outline"}),o("smoothly-icon",{toolTip:this.t(this.selectAll?"Select all":"Select"),onClick:()=>this.toggle(),style:{display:this.selected?"none":""},size:this.size,name:"square-outline"})]}get element(){return e(this)}};B.style=".sc-smoothly-checkbox-h{display:block}[hidden].sc-smoothly-checkbox-h{display:none}smoothly-icon.sc-smoothly-checkbox{cursor:pointer}smoothly-icon.sc-smoothly-checkbox:nth-child(2){position:absolute;transform:scaleX(0.6)}[disabled].sc-smoothly-checkbox-h smoothly-icon.sc-smoothly-checkbox{stroke:rgba(var(--smoothly-color-contrast), 0.3)}";const D=class{constructor(o){t(this,o),this.color=void 0,this.open=!0,this.closable=!1,this.header=void 0}TriggerListener(t){a.is(t.detail)&&"close"==t.detail.name&&(this.open=!1)}hostData(){return{style:{display:this.open?"block":"none"}}}__stencil_render(){return[o("header",null,this.closable?o("smoothly-trigger",{fill:"clear",name:"close"},o("smoothly-icon",{name:"close-circle",fill:"solid",color:this.color})):[],this.header?o("h1",null,this.header):o("slot",{name:"header"})),o("main",null,o("slot",null))]}render(){return o(i,this.hostData(),this.__stencil_render())}};D.style=".sc-smoothly-dialog-h{display:block;position:fixed;left:0;top:0;width:100%;height:100%;z-index:1;background:rgba(var(--smoothly-default-color), var(--smoothly-semitransparent)) !important}[hidden].sc-smoothly-dialog-h{display:none}.sc-smoothly-dialog-h>header.sc-smoothly-dialog{border-top-left-radius:8px;border-top-right-radius:8px;margin-top:2em;color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color));border-color:rgb(var(--smoothly-primary-color))}.sc-smoothly-dialog-h:not([header]) header.sc-smoothly-dialog{border:none}.sc-smoothly-dialog-h>*.sc-smoothly-dialog{position:relative;color:rgb(var(--smoothly-default-contrast));background-color:rgb(var(--smoothly-default-color));border-color:rgb(var(--smoothly-color));border-width:1px;border-style:solid;max-width:40em;width:calc(100vw - 4em - 2px);max-height:calc(100vh - 6em - 2px);height:auto;margin-left:auto;margin-right:auto;border-collapse:collapse}.sc-smoothly-dialog-h>main.sc-smoothly-dialog{border-bottom-left-radius:8px;border-bottom-right-radius:8px;margin-bottom:2em;border:1px solid rgb(var(--smoothly-default-contrast));box-sizing:border-box;overflow:hidden}.sc-smoothly-dialog-h:not([header]) main.sc-smoothly-dialog{border-radius:8px}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog{position:absolute;right:-2em;top:-2em;z-index:1;border-color:transparent}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog:hover{border-color:transparent}.sc-smoothly-dialog-h smoothly-icon.sc-smoothly-dialog{background-color:rgb(var(--smoothly-color));border-radius:50%}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>*.sc-smoothly-dialog{margin:10px}";const G=class{constructor(o){t(this,o)}render(){return o("smoothly-dialog",{color:"default",style:{"margin-top":"6vh"},closable:!0},o("smoothly-frame",{url:"https://www.wikipedia.org/",name:"parent",style:{height:"80vh"}}))}};function L(t,o,e){const s=/([\wåäöüéáúíóßðœøæñµçþ_]+|[@-]+)/gi;return"backward"==e?function(t,o,e){let s,i=0;for(;null!=(s=e.exec(t))&&e.lastIndex-s[0].length<o;)i=e.lastIndex-s[0].length;return i}(t,o,s):function(t,o,e){let s=0;for(;null!=e.exec(t)&&(s=e.lastIndex,!(e.lastIndex>o)););return e.lastIndex<=o&&(s=t.length),s}(t,o,s)}var P,E,O;!function(t){t.getCursor=function(t){return"backward"==t.direction?t.start:t.end},t.getStalker=function(t){return"backward"!=t.direction?t.start:t.end}}(P||(P={})),function(t){t.copy=function(t){return{value:t.value,selection:{start:t.selection.start,end:t.selection.end,direction:t.selection.direction}}}}(E||(E={}));class K{constructor(t){this.value=t.value,this.selection={start:t.selection?.start,end:t.selection?.end,direction:t.selection?.direction}}get(t,o=1){return this.value.substr(t,o)}is(t,...o){const e=this.get(t);return o.some((t=>e==t))}isDigit(t){const o=this.get(t);return o>="0"&&o<="9"}match(t){return this.value.match(t)}replace(t,o,e){let s;if("string"==typeof t&&"string"==typeof o){let e;for(s=this;(e=s.value.indexOf(t))>-1;)s=s.replace(e,e+t.length,o)}else if("number"==typeof t&&"number"==typeof o){const i={value:this.value,selection:{start:this.selection.start,end:this.selection.end,direction:this.selection.direction}};e||(e=""),i.value=this.value.slice(0,t)+e+this.value.slice(o,this.value.length),this.selection.start>=o?i.selection.start=this.selection.start+e.length-o+t:this.selection.start>t&&this.selection.start<o&&(i.selection.start=Math.min(this.selection.start,t+e.length)),this.selection.end>=o?i.selection.end=this.selection.end+e.length-o+t:this.selection.end>t&&this.selection.end<o&&(i.selection.end=Math.min(this.selection.end,t+e.length)),s=new K(i)}return s||this}insert(t,o){return this.replace(t,t,o)}append(t){return this.insert(this.value.length,t)}prepend(t){return this.insert(0,t)}suffix(t){return new K({value:this.value+t,selection:this.selection})}delete(t,o){let e;if(this.value)if("string"==typeof t){let o;for(e=this;t&&(o=e.value.indexOf(t))>-1;)e=e.delete(o,o+t.length)}else e=this.replace(t,o||t+1,"");else e=this;return e}truncate(t){return this.value.length>=t?this.delete(t,this.value.length):this}pad(t,o,e){let s=this;for(;t>s.value.length+o.length;)s=s.insert(e,o);return t>s.value.length&&(s=s.insert(e,o.substring(0,t-s.value.length))),s}padEnd(t,o){return this.pad(t,o,this.value.length)}padStart(t,o){return this.pad(t,o,0)}map(t){let o=this,e=0;for(let s=0;s<this.value.length;s++){const i=t(this.get(s),s);o=o.replace(e,e+1,i),e+=i.length}return o}static copy(t){return new K({...t})}static create(){return new K({value:"",selection:{start:0,end:0}})}static modify(t){return new K("string"==typeof t?{value:t,selection:{start:t.length,end:t.length}}:t)}}!function(t){function o(t,o,e,s){t.selection.start=o,t.selection.end=e,s&&(t.selection.direction=s)}function e(t){s(t,"")}function s(t,o){t.value=t.value.substring(0,t.selection.start)+o+t.value.substring(t.selection.end),t.selection.start=t.selection.start+o.length,t.selection.end=t.selection.start}t.apply=function(t,i,n){let l=E.copy(t.unformat(K.copy(i)));return"cc-exp"==i.autocomplete&&/^\d\d \/$/g.test(i.value)&&n?.key&&(n.key="Backspace"),n&&(n.ctrlKey||n.metaKey?"a"==n.key?o(l,0,l.value.length,"forward"):["ArrowLeft","ArrowRight"].includes(n.key)&&"password"!=i?.type?l=function(t,o,e){let s=P.getCursor(o.selection),i=P.getStalker(o.selection);return s=L(o.value,s,"ArrowLeft"==e.key?"backward":"forward"),i=e.shiftKey?i:s,E.copy(t.unformat(K.copy({...o,selection:{start:Math.min(i,s),end:Math.max(i,s),direction:i<s?"forward":i>s?"backward":"none"}})))}(t,i,n):["Delete","Backspace"].includes(n.key)&&"password"!=i?.type&&(l=function(t,o,e){const s=P.getCursor(o.selection),i=L(o.value,s,"Backspace"==e.key?"backward":"forward"),n=E.copy(t.unformat(K.copy({...o,selection:{start:Math.min(s,i),end:Math.max(s,i),direction:"none"}})));return n.value=n.value.substring(0,n.selection.start)+n.value.substring(n.selection.end),n.selection.end=n.selection.start,n}(t,i,n)):["ArrowLeft","ArrowRight","Home","End"].includes(n.key)?function(t,o){let e=P.getCursor(t.selection),s=P.getStalker(t.selection);e="Home"==o.key?0:"End"==o.key?t.value.length:t.selection.start==t.selection.end||o.shiftKey?Math.min(Math.max(e+("ArrowLeft"==o.key?-1:1),0),t.value.length):"ArrowLeft"==o.key?t.selection.start:t.selection.end,s=o.shiftKey?s:e,t.selection.direction=s<e?"forward":s>e?"backward":"none",t.selection.start=Math.min(s,e),t.selection.end=Math.max(s,e)}(l,n):["Delete","Backspace"].includes(n.key)?(l.selection.start==l.selection.end&&o(l,l.selection.start+("Backspace"==n.key?-1:0),l.selection.end+("Delete"==n.key?1:0)),e(l)):"Unidentified"!=n.key&&(e(l),t.allowed(n.key,l)&&s(l,n.key))),t.format(K.copy(l))},t.paste=function(t,o,e){const i=E.copy(t.unformat(K.copy(o)));return s(i,e),t.format(K.copy(i))}}(O||(O={}));const U={};function H(t,o){U[t]=o}function F(t,...o){const e=U[t];return e&&e(o)}function Y(t,o,...e){const s=F(o,...e);return s?s.format(K.modify(s.toString("string"==typeof t?function(t,o,...e){const s=F(o,e);return s?s.fromString(s.unformat(K.modify(t)).value):void 0}(t,o,e):t))).value:""}class W{toString(t){return"string"==typeof t?t:""}fromString(t){return"string"==typeof t?t:void 0}format(t){return{...t,type:"tel",autocomplete:"cc-csc",length:[3,3],pattern:/^\d{3}$/}}unformat(t){return t}allowed(t,o){return o.value.length<3&&t>="0"&&t<="9"}}H("card-csc",(()=>new W));class Z{toString(t){return Array.isArray(t)&&2==t.length&&"number"==typeof t[0]&&"number"==typeof t[1]?t[0].toString().padStart(2,"0")+t[1].toString().padStart(2,"0"):""}fromString(t){return"string"==typeof t&&4==t.length?[Number.parseInt(t.slice(0,2)),Number.parseInt(t.slice(2))]:void 0}format(t){let o=t;return t.value.length>0&&!t.is(0,"0","1")&&(o=o.prepend("0")),o.value.length>1&&(o=o.insert(2," / ")),{...o,type:"tel",autocomplete:"cc-exp",length:[7,7],pattern:/^(0[1-9]|1[012]) \/ \d\d$/}}unformat(t){return t.delete(" / ")}allowed(t,o){return o.value.length<4&&t>="0"&&t<="9"}}H("card-expires",(()=>new Z));class V{toString(t){return"string"==typeof t?t:""}fromString(t){return"string"==typeof t?t:void 0}format(t){const o=z(t.value);return{...t.map(((t,e)=>(0!=e&&e%4==0&&e+1<o.length[0]?" ":"")+t)),type:"tel",autocomplete:"cc-number",length:o.length.slice(1),pattern:o.verification,classes:["issuer-"+o.icon]}}unformat(t){return t.delete(" ")}allowed(t,o){const e=z(o.value);return t>="0"&&t<="9"&&o.value.length<e.length[0]}}function z(t){let o=X;for(const e in J)if(Object.prototype.hasOwnProperty.call(J,e)&&J[e].identification.test(t)){o={...X,name:e,...J[e]};break}return o}H("card-number",(()=>new V));const X={name:"unknown",verification:/^\d{19}$/,identification:/^\d/,length:[16,16,19],icon:"generic"},J={amex:{verification:/^3[47][0-9]{2}\s[0-9]{4}\s[0-9]{4}\s[0-9]{3}$/,identification:/^3[47]/,length:[15,18,18],icon:"amex"},dankort:{verification:/^(5019)\s[0-9]{4}\s[0-9]{4}\s[0-9]{4}$/,identification:/^(5019)\d+/,length:[16,19,19],icon:"generic"},diners:{verification:/^3(?:0[0-5]|[68][0-9])[0-9]\s[0-9]{4}\s[0-9]{4}\s[0-9]{2}$/,identification:/^3(?:0[0-5]|[68][0-9])/,length:[14,17,17],icon:"diners"},discover:{verification:/^6(?:011|5[0-9]{2})\s[0-9]{4}\s[0-9]{4}\s[0-9]{4}$/,identification:/^6(?:011|5[0-9]{2})/,length:[16,19,19],icon:"generic"},electron:{verification:/^((4026|4405|4508|4844|4913|4917)\s[0-9]{4}\s[0-9]{4}\s[0-9]{4})|((4175)\s(00)[0-9]{2}\s[0-9]{4}\s[0-9]{4})$/,identification:/^(4026|417500|4405|4508|4844|4913|4917)/,length:[16,19,19],icon:"generic"},interpayment:{verification:/^(636)[0-9]\s[0-9]{4}\s[0-9]{4}\s[0-9]{4}$/,identification:/^(636)/,length:[16,19,19],icon:"generic"},jcb:{verification:/^((?:2131|1800)\s[0-9]{4}\s[0-9]{4}\s[0-9]{4})|(35[0-9]{2}\s[0-9]{4}\s[0-9]{4}\s[0-9]{4})$/,identification:/^(?:2131|1800|35\d{3})/,length:[16,19,19],icon:"generic"},unionpay:{verification:/^(62|88)[0-9]{2}\s[0-9]{4}\s[0-9]{4}\s[0-9]{4}$/,identification:/^(62|88)/,length:[16,19,19],icon:"generic"},maestro:{verification:/^(5018|5020|5038|5612|5893|6304|6759|6761|6762|6763|0604|6390)\s[0-9]{4}\s[0-9]{4}\s[0-9]{4}$/,identification:/^(5018|5020|5038|5612|5893|6304|6759|6761|6762|6763|0604|6390)/,length:[16,19,19],icon:"maestro"},mastercard:{verification:/^5[1-5][0-9]{2}\s[0-9]{4}\s[0-9]{4}\s[0-9]{4}$/,identification:/^5[1-5][0-9]/,length:[16,19,19],icon:"mastercard"},visa:{verification:/^4[0-9]{3}\s[0-9]{4}\s[0-9]{4}\s[0-9](?:[0-9]{3})?$/,identification:/^4[0-9]/,length:[16,16,19],icon:"visa"}};var j;!function(t){t.types=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],t.is=function(o){return t.types.includes(o)},t.from=function(t){return"number"==typeof t?$[t]:_[t]},t.isEEA=function(t){return["AT","BE","BG","HR","CY","DK","EE","FI","FR","DE","GR","HU","IS","IE","IT","LV","LT","MT","NL","NO","PL","PT","RO","SI","ES","SE","LI","LU","SK","CZ"].includes(t)}}(j||(j={}));const $={4:"AF",248:"AX",8:"AL",12:"DZ",16:"AS",20:"AD",24:"AO",660:"AI",10:"AQ",28:"AG",32:"AR",51:"AM",533:"AW",36:"AU",40:"AT",31:"AZ",44:"BS",48:"BH",50:"BD",52:"BB",112:"BY",56:"BE",84:"BZ",204:"BJ",60:"BM",64:"BT",68:"BO",535:"BQ",70:"BA",72:"BW",74:"BV",76:"BR",86:"IO",96:"BN",100:"BG",854:"BF",108:"BI",132:"CV",116:"KH",120:"CM",124:"CA",136:"KY",140:"CF",148:"TD",152:"CL",156:"CN",162:"CX",166:"CC",170:"CO",174:"KM",178:"CG",180:"CD",184:"CK",188:"CR",384:"CI",191:"HR",192:"CU",531:"CW",196:"CY",203:"CZ",208:"DK",262:"DJ",212:"DM",214:"DO",218:"EC",818:"EG",222:"SV",226:"GQ",232:"ER",233:"EE",748:"SZ",231:"ET",238:"FK",234:"FO",242:"FJ",246:"FI",250:"FR",254:"GF",258:"PF",260:"TF",266:"GA",270:"GM",268:"GE",276:"DE",280:"DE",288:"GH",292:"GI",300:"GR",304:"GL",308:"GD",312:"GP",316:"GU",320:"GT",831:"GG",324:"GN",624:"GW",328:"GY",332:"HT",334:"HM",336:"VA",340:"HN",344:"HK",348:"HU",352:"IS",356:"IN",360:"ID",364:"IR",368:"IQ",372:"IE",833:"IM",376:"IL",380:"IT",388:"JM",392:"JP",832:"JE",400:"JO",398:"KZ",404:"KE",296:"KI",408:"KP",410:"KR",414:"KW",417:"KG",418:"LA",428:"LV",422:"LB",426:"LS",430:"LR",434:"LY",438:"LI",440:"LT",442:"LU",446:"MO",450:"MG",454:"MW",458:"MY",462:"MV",466:"ML",470:"MT",584:"MH",474:"MQ",478:"MR",480:"MU",175:"YT",484:"MX",583:"FM",498:"MD",492:"MC",496:"MN",499:"ME",500:"MS",504:"MA",508:"MZ",104:"MM",516:"NA",520:"NR",524:"NP",528:"NL",540:"NC",554:"NZ",558:"NI",562:"NE",566:"NG",570:"NU",574:"NF",807:"MK",580:"MP",578:"NO",512:"OM",586:"PK",585:"PW",275:"PS",591:"PA",598:"PG",600:"PY",604:"PE",608:"PH",612:"PN",616:"PL",620:"PT",630:"PR",634:"QA",638:"RE",642:"RO",643:"RU",646:"RW",652:"BL",654:"SH",659:"KN",662:"LC",663:"MF",666:"PM",670:"VC",882:"WS",674:"SM",678:"ST",682:"SA",686:"SN",688:"RS",690:"SC",694:"SL",702:"SG",534:"SX",703:"SK",705:"SI",90:"SB",706:"SO",710:"ZA",239:"GS",728:"SS",724:"ES",144:"LK",729:"SD",740:"SR",744:"SJ",752:"SE",756:"CH",760:"SY",158:"TW",762:"TJ",834:"TZ",764:"TH",626:"TL",768:"TG",772:"TK",776:"TO",780:"TT",788:"TN",792:"TR",795:"TM",796:"TC",798:"TV",800:"UG",804:"UA",784:"AE",826:"GB",840:"US",581:"UM",858:"UY",860:"UZ",548:"VU",862:"VE",704:"VN",92:"VG",850:"VI",876:"WF",732:"EH",887:"YE",894:"ZM",716:"ZW",926:"XK"},_={AFG:"AF",ALA:"AX",ALB:"AL",DZA:"DZ",ASM:"AS",AND:"AD",AGO:"AO",AIA:"AI",ATA:"AQ",ATG:"AG",ARG:"AR",ARM:"AM",ABW:"AW",AUS:"AU",AUT:"AT",AZE:"AZ",BHS:"BS",BHR:"BH",BGD:"BD",BRB:"BB",BLR:"BY",BEL:"BE",BLZ:"BZ",BEN:"BJ",BMU:"BM",BTN:"BT",BOL:"BO",BES:"BQ",BIH:"BA",BWA:"BW",BVT:"BV",BRA:"BR",IOT:"IO",BRN:"BN",BGR:"BG",BFA:"BF",BDI:"BI",CPV:"CV",KHM:"KH",CMR:"CM",CAN:"CA",CYM:"KY",CAF:"CF",TCD:"TD",CHL:"CL",CHN:"CN",CXR:"CX",CCK:"CC",COL:"CO",COM:"KM",COG:"CG",COD:"CD",COK:"CK",CRI:"CR",CIV:"CI",HRV:"HR",CUB:"CU",CUW:"CW",CYP:"CY",CZE:"CZ",DNK:"DK",DJI:"DJ",DMA:"DM",DOM:"DO",ECU:"EC",EGY:"EG",SLV:"SV",GNQ:"GQ",ERI:"ER",EST:"EE",SWZ:"SZ",ETH:"ET",FLK:"FK",FRO:"FO",FJI:"FJ",FIN:"FI",FRA:"FR",GUF:"GF",PYF:"PF",ATF:"TF",GAB:"GA",GMB:"GM",GEO:"GE",DEU:"DE",GHA:"GH",GIB:"GI",GRC:"GR",GRL:"GL",GRD:"GD",GLP:"GP",GUM:"GU",GTM:"GT",GGY:"GG",GIN:"GN",GNB:"GW",GUY:"GY",HTI:"HT",HMD:"HM",VAT:"VA",HND:"HN",HKG:"HK",HUN:"HU",ISL:"IS",IND:"IN",IDN:"ID",IRN:"IR",IRQ:"IQ",IRL:"IE",IMN:"IM",ISR:"IL",ITA:"IT",JAM:"JM",JPN:"JP",JEY:"JE",JOR:"JO",KAZ:"KZ",KEN:"KE",KIR:"KI",PRK:"KP",KOR:"KR",KWT:"KW",KGZ:"KG",LAO:"LA",LVA:"LV",LBN:"LB",LSO:"LS",LBR:"LR",LBY:"LY",LIE:"LI",LTU:"LT",LUX:"LU",MAC:"MO",MDG:"MG",MWI:"MW",MYS:"MY",MDV:"MV",MLI:"ML",MLT:"MT",MHL:"MH",MTQ:"MQ",MRT:"MR",MUS:"MU",MYT:"YT",MEX:"MX",FSM:"FM",MDA:"MD",MCO:"MC",MNG:"MN",MNE:"ME",MSR:"MS",MAR:"MA",MOZ:"MZ",MMR:"MM",NAM:"NA",NRU:"NR",NPL:"NP",NLD:"NL",NCL:"NC",NZL:"NZ",NIC:"NI",NER:"NE",NGA:"NG",NIU:"NU",NFK:"NF",MKD:"MK",MNP:"MP",NOR:"NO",OMN:"OM",PAK:"PK",PLW:"PW",PSE:"PS",PAN:"PA",PNG:"PG",PRY:"PY",PER:"PE",PHL:"PH",PCN:"PN",POL:"PL",PRT:"PT",PRI:"PR",QAT:"QA",REU:"RE",ROU:"RO",RUS:"RU",RWA:"RW",BLM:"BL",SHN:"SH",KNA:"KN",LCA:"LC",MAF:"MF",SPM:"PM",VCT:"VC",WSM:"WS",SMR:"SM",STP:"ST",SAU:"SA",SEN:"SN",SRB:"RS",SYC:"SC",SLE:"SL",SGP:"SG",SXM:"SX",SVK:"SK",SVN:"SI",SLB:"SB",SOM:"SO",ZAF:"ZA",SGS:"GS",SSD:"SS",ESP:"ES",LKA:"LK",SDN:"SD",SUR:"SR",SJM:"SJ",SWE:"SE",CHE:"CH",SYR:"SY",TWN:"TW",TJK:"TJ",TZA:"TZ",THA:"TH",TLS:"TL",TGO:"TG",TKL:"TK",TON:"TO",TTO:"TT",TUN:"TN",TUR:"TR",TKM:"TM",TCA:"TC",TUV:"TV",UGA:"UG",UKR:"UA",ARE:"AE",GBR:"GB",USA:"US",UMI:"UM",URY:"UY",UZB:"UZ",VUT:"VU",VEN:"VE",VNM:"VN",VGB:"VG",VIR:"VI",WLF:"WF",ESH:"EH",YEM:"YE",ZMB:"ZM",ZWE:"ZW",XKX:"XK"};var Q;!function(t){t.types=["ABW","AFG","AGO","AIA","ALA","ALB","AND","ARE","ARG","ARM","ASM","ATA","ATF","ATG","AUS","AUT","AZE","BDI","BEL","BEN","BES","BFA","BGD","BGR","BHR","BHS","BIH","BLM","BLR","BLZ","BMU","BOL","BRA","BRB","BRN","BTN","BVT","BWA","CAF","CAN","CCK","CHE","CHL","CHN","CIV","CMR","COD","COG","COK","COL","COM","CPV","CRI","CUB","CUW","CXR","CYM","CYP","CZE","DEU","DJI","DMA","DNK","DOM","DZA","ECU","EGY","ERI","ESH","ESP","EST","ETH","FIN","FJI","FLK","FRA","FRO","FSM","GAB","GBR","GEO","GGY","GHA","GIB","GIN","GLP","GMB","GNB","GNQ","GRC","GRD","GRL","GTM","GUF","GUM","GUY","HKG","HMD","HND","HRV","HTI","HUN","IDN","IMN","IND","IOT","IRL","IRN","IRQ","ISL","ISR","ITA","JAM","JEY","JOR","JPN","KAZ","KEN","KGZ","KHM","KIR","KNA","KOR","KWT","LAO","LBN","LBR","LBY","LCA","LIE","LKA","LSO","LTU","LUX","LVA","MAC","MAF","MAR","MCO","MDA","MDG","MDV","MEX","MHL","MKD","MLI","MLT","MMR","MNE","MNG","MNP","MOZ","MRT","MSR","MTQ","MUS","MWI","MYS","MYT","NAM","NCL","NER","NFK","NGA","NIC","NIU","NLD","NOR","NPL","NRU","NZL","OMN","PAK","PAN","PCN","PER","PHL","PLW","PNG","POL","PRI","PRK","PRT","PRY","PSE","PYF","QAT","REU","ROU","RUS","RWA","SAU","SDN","SEN","SGP","SGS","SHN","SJM","SLB","SLE","SLV","SMR","SOM","SPM","SRB","SSD","STP","SUR","SVK","SVN","SWE","SWZ","SXM","SYC","SYR","TCA","TCD","TGO","THA","TJK","TKL","TKM","TLS","TON","TTO","TUN","TUR","TUV","TWN","TZA","UGA","UKR","UMI","URY","USA","UZB","VAT","VCT","VEN","VGB","VIR","VNM","VUT","WLF","WSM","XKX","YEM","ZAF","ZMB","ZWE"],t.is=function(o){return"string"==typeof o&&3==o.length&&t.types.includes(o)},t.from=function t(o){return"number"==typeof o?t(j.from(o)):q[o]}}(Q||(Q={}));const q={AF:"AFG",AX:"ALA",AL:"ALB",DZ:"DZA",AS:"ASM",AD:"AND",AO:"AGO",AI:"AIA",AQ:"ATA",AG:"ATG",AR:"ARG",AM:"ARM",AW:"ABW",AU:"AUS",AT:"AUT",AZ:"AZE",BS:"BHS",BH:"BHR",BD:"BGD",BB:"BRB",BY:"BLR",BE:"BEL",BZ:"BLZ",BJ:"BEN",BM:"BMU",BT:"BTN",BO:"BOL",BQ:"BES",BA:"BIH",BW:"BWA",BV:"BVT",BR:"BRA",IO:"IOT",BN:"BRN",BG:"BGR",BF:"BFA",BI:"BDI",CV:"CPV",KH:"KHM",CM:"CMR",CA:"CAN",KY:"CYM",CF:"CAF",TD:"TCD",CL:"CHL",CN:"CHN",CX:"CXR",CC:"CCK",CO:"COL",KM:"COM",CG:"COG",CD:"COD",CK:"COK",CR:"CRI",CI:"CIV",HR:"HRV",CU:"CUB",CW:"CUW",CY:"CYP",CZ:"CZE",DK:"DNK",DJ:"DJI",DM:"DMA",DO:"DOM",EC:"ECU",EG:"EGY",SV:"SLV",GQ:"GNQ",ER:"ERI",EE:"EST",SZ:"SWZ",ET:"ETH",FK:"FLK",FO:"FRO",FJ:"FJI",FI:"FIN",FR:"FRA",GF:"GUF",PF:"PYF",TF:"ATF",GA:"GAB",GM:"GMB",GE:"GEO",DE:"DEU",GH:"GHA",GI:"GIB",GR:"GRC",GL:"GRL",GD:"GRD",GP:"GLP",GU:"GUM",GT:"GTM",GG:"GGY",GN:"GIN",GW:"GNB",GY:"GUY",HT:"HTI",HM:"HMD",VA:"VAT",HN:"HND",HK:"HKG",HU:"HUN",IS:"ISL",IN:"IND",ID:"IDN",IR:"IRN",IQ:"IRQ",IE:"IRL",IM:"IMN",IL:"ISR",IT:"ITA",JM:"JAM",JP:"JPN",JE:"JEY",JO:"JOR",KZ:"KAZ",KE:"KEN",KI:"KIR",KP:"PRK",KR:"KOR",KW:"KWT",KG:"KGZ",LA:"LAO",LV:"LVA",LB:"LBN",LS:"LSO",LR:"LBR",LY:"LBY",LI:"LIE",LT:"LTU",LU:"LUX",MO:"MAC",MG:"MDG",MW:"MWI",MY:"MYS",MV:"MDV",ML:"MLI",MT:"MLT",MH:"MHL",MQ:"MTQ",MR:"MRT",MU:"MUS",YT:"MYT",MX:"MEX",FM:"FSM",MD:"MDA",MC:"MCO",MN:"MNG",ME:"MNE",MS:"MSR",MA:"MAR",MZ:"MOZ",MM:"MMR",NA:"NAM",NR:"NRU",NP:"NPL",NL:"NLD",NC:"NCL",NZ:"NZL",NI:"NIC",NE:"NER",NG:"NGA",NU:"NIU",NF:"NFK",MK:"MKD",MP:"MNP",NO:"NOR",OM:"OMN",PK:"PAK",PW:"PLW",PS:"PSE",PA:"PAN",PG:"PNG",PY:"PRY",PE:"PER",PH:"PHL",PN:"PCN",PL:"POL",PT:"PRT",PR:"PRI",QA:"QAT",RE:"REU",RO:"ROU",RU:"RUS",RW:"RWA",BL:"BLM",SH:"SHN",KN:"KNA",LC:"LCA",MF:"MAF",PM:"SPM",VC:"VCT",WS:"WSM",SM:"SMR",ST:"STP",SA:"SAU",SN:"SEN",RS:"SRB",SC:"SYC",SL:"SLE",SG:"SGP",SX:"SXM",SK:"SVK",SI:"SVN",SB:"SLB",SO:"SOM",ZA:"ZAF",GS:"SGS",SS:"SSD",ES:"ESP",LK:"LKA",SD:"SDN",SR:"SUR",SJ:"SJM",SE:"SWE",CH:"CHE",SY:"SYR",TW:"TWN",TJ:"TJK",TZ:"TZA",TH:"THA",TL:"TLS",TG:"TGO",TK:"TKL",TO:"TON",TT:"TTO",TN:"TUN",TR:"TUR",TM:"TKM",TC:"TCA",TV:"TUV",UG:"UGA",UA:"UKR",AE:"ARE",GB:"GBR",US:"USA",UM:"UMI",UY:"URY",UZ:"UZB",VU:"VUT",VE:"VEN",VN:"VNM",VG:"VGB",VI:"VIR",WF:"WLF",EH:"ESH",YE:"YEM",ZM:"ZMB",ZW:"ZWE",XK:"XKX"};var tt;!function(t){t.types=[4,8,10,12,16,20,24,28,31,32,36,40,44,48,50,51,52,56,60,64,68,70,72,74,76,84,86,90,92,96,100,104,108,112,116,120,124,132,136,140,144,148,152,156,158,162,166,170,174,175,178,180,184,188,191,192,196,203,204,208,212,214,218,222,226,231,232,233,234,238,239,242,246,248,250,254,258,260,262,266,268,270,275,276,280,288,292,296,300,304,308,312,316,320,324,328,332,334,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,398,400,404,408,410,414,417,418,422,426,428,430,434,438,440,442,446,450,454,458,462,466,470,474,478,480,484,492,496,498,499,500,504,508,512,516,520,524,528,531,533,534,535,540,548,554,558,562,566,570,574,578,580,581,583,584,585,586,591,598,600,604,608,612,616,620,624,626,630,634,638,642,643,646,652,654,659,660,662,663,666,670,674,678,682,686,688,690,694,702,703,704,705,706,710,716,724,728,729,732,740,744,748,752,756,760,762,764,768,772,776,780,784,788,792,795,796,798,800,804,807,818,826,831,832,833,834,840,850,854,858,860,862,876,882,887,894,926],t.is=function(o){return"number"==typeof o&&o>=0&&o<=999&&Number.isInteger(o)&&t.types.includes(o)},t.from=function t(o){return 2==o.length?ot[o]:t(j.from(o))}}(tt||(tt={}));const ot={AF:4,AX:248,AL:8,DZ:12,AS:16,AD:20,AO:24,AI:660,AQ:10,AG:28,AR:32,AM:51,AW:533,AU:36,AT:40,AZ:31,BS:44,BH:48,BD:50,BB:52,BY:112,BE:56,BZ:84,BJ:204,BM:60,BT:64,BO:68,BQ:535,BA:70,BW:72,BV:74,BR:76,IO:86,BN:96,BG:100,BF:854,BI:108,CV:132,KH:116,CM:120,CA:124,KY:136,CF:140,TD:148,CL:152,CN:156,CX:162,CC:166,CO:170,KM:174,CG:178,CD:180,CK:184,CR:188,CI:384,HR:191,CU:192,CW:531,CY:196,CZ:203,DK:208,DJ:262,DM:212,DO:214,EC:218,EG:818,SV:222,GQ:226,ER:232,EE:233,SZ:748,ET:231,FK:238,FO:234,FJ:242,FI:246,FR:250,GF:254,PF:258,TF:260,GA:266,GM:270,GE:268,DE:276,GH:288,GI:292,GR:300,GL:304,GD:308,GP:312,GU:316,GT:320,GG:831,GN:324,GW:624,GY:328,HT:332,HM:334,VA:336,HN:340,HK:344,HU:348,IS:352,IN:356,ID:360,IR:364,IQ:368,IE:372,IM:833,IL:376,IT:380,JM:388,JP:392,JE:832,JO:400,KZ:398,KE:404,KI:296,KP:408,KR:410,KW:414,KG:417,LA:418,LV:428,LB:422,LS:426,LR:430,LY:434,LI:438,LT:440,LU:442,MO:446,MG:450,MW:454,MY:458,MV:462,ML:466,MT:470,MH:584,MQ:474,MR:478,MU:480,YT:175,MX:484,FM:583,MD:498,MC:492,MN:496,ME:499,MS:500,MA:504,MZ:508,MM:104,NA:516,NR:520,NP:524,NL:528,NC:540,NZ:554,NI:558,NE:562,NG:566,NU:570,NF:574,MK:807,MP:580,NO:578,OM:512,PK:586,PW:585,PS:275,PA:591,PG:598,PY:600,PE:604,PH:608,PN:612,PL:616,PT:620,PR:630,QA:634,RE:638,RO:642,RU:643,RW:646,BL:652,SH:654,KN:659,LC:662,MF:663,PM:666,VC:670,WS:882,SM:674,ST:678,SA:682,SN:686,RS:688,SC:690,SL:694,SG:702,SX:534,SK:703,SI:705,SB:90,SO:706,ZA:710,GS:239,SS:728,ES:724,LK:144,SD:729,SR:740,SJ:744,SE:752,CH:756,SY:760,TW:158,TJ:762,TZ:834,TH:764,TL:626,TG:768,TK:772,TO:776,TT:780,TN:788,TR:792,TM:795,TC:796,TV:798,UG:800,UA:804,AE:784,GB:826,US:840,UM:581,UY:858,UZ:860,VU:548,VE:862,VN:704,VG:92,VI:850,WF:876,EH:732,YE:887,ZM:894,ZW:716,XK:926};var et,st;!function(t){(t.Default||(t.Default={})).is=function(t){return t&&"object"==typeof t&&t.street&&"string"==typeof t.street&&t.zipCode&&"string"==typeof t.zipCode&&t.city&&"string"==typeof t.city&&(!("county"in t)||"string"==typeof t.county)&&(!("state"in t)||"string"==typeof t.state)&&j.is(t.countryCode)&&Object.keys(t).every((t=>["street","zipCode","city","countryCode","county","state"].includes(t)))},(t.GB||(t.GB={})).is=function(t){return t&&"object"==typeof t&&t.street&&"string"==typeof t.street&&t.building&&"string"==typeof t.building&&t.zipCode&&"string"==typeof t.zipCode&&t.city&&"string"==typeof t.city&&"GB"==t.countryCode&&Object.keys(t).every((t=>["street","building","zipCode","city","countryCode"].includes(t)))},(t.SE||(t.SE={})).is=function(t){return t&&"object"==typeof t&&t.street&&"string"==typeof t.street&&t.zipCode&&"string"==typeof t.zipCode&&t.city&&"string"==typeof t.city&&"SE"==t.countryCode&&Object.keys(t).every((t=>["street","zipCode","city","countryCode"].includes(t)))}}(et||(et={})),function(t){function o(o){let e=[void 0,o];if("+"==o.substring(0,1))for(let s=5;s>1;s--){const i=o.substring(0,s);if(t.is(i)){e=[i,o.substring(s)];break}}return e}t.is=function(t){return"string"==typeof t&&t.length<=5&&("+93"==t||"+358"==t||"+355"==t||"+213"==t||"+1684"==t||"+376"==t||"+244"==t||"+1264"==t||"+672"==t||"+1268"==t||"+54"==t||"+374"==t||"+297"==t||"+61"==t||"+43"==t||"+994"==t||"+1242"==t||"+973"==t||"+880"==t||"+1246"==t||"+375"==t||"+32"==t||"+501"==t||"+229"==t||"+1441"==t||"+975"==t||"+591"==t||"+387"==t||"+267"==t||"+55"==t||"+246"==t||"+673"==t||"+359"==t||"+226"==t||"+257"==t||"+855"==t||"+237"==t||"+1"==t||"+238"==t||"+345"==t||"+236"==t||"+235"==t||"+56"==t||"+86"==t||"+61"==t||"+61"==t||"+57"==t||"+269"==t||"+242"==t||"+243"==t||"+682"==t||"+506"==t||"+225"==t||"+385"==t||"+53"==t||"+357"==t||"+420"==t||"+45"==t||"+253"==t||"+1767"==t||"+1849"==t||"+593"==t||"+20"==t||"+503"==t||"+240"==t||"+291"==t||"+372"==t||"+251"==t||"+500"==t||"+298"==t||"+679"==t||"+358"==t||"+33"==t||"+594"==t||"+689"==t||"+241"==t||"+220"==t||"+995"==t||"+49"==t||"+233"==t||"+350"==t||"+30"==t||"+299"==t||"+1473"==t||"+590"==t||"+1671"==t||"+502"==t||"+44"==t||"+224"==t||"+245"==t||"+592"==t||"+509"==t||"+379"==t||"+504"==t||"+852"==t||"+36"==t||"+354"==t||"+91"==t||"+62"==t||"+98"==t||"+964"==t||"+353"==t||"+44"==t||"+972"==t||"+39"==t||"+1876"==t||"+81"==t||"+44"==t||"+962"==t||"+77"==t||"+254"==t||"+686"==t||"+850"==t||"+82"==t||"+965"==t||"+996"==t||"+856"==t||"+371"==t||"+961"==t||"+266"==t||"+231"==t||"+218"==t||"+423"==t||"+370"==t||"+352"==t||"+853"==t||"+389"==t||"+261"==t||"+265"==t||"+60"==t||"+960"==t||"+223"==t||"+356"==t||"+692"==t||"+596"==t||"+222"==t||"+230"==t||"+262"==t||"+52"==t||"+691"==t||"+373"==t||"+377"==t||"+976"==t||"+382"==t||"+1664"==t||"+212"==t||"+258"==t||"+95"==t||"+264"==t||"+674"==t||"+977"==t||"+31"==t||"+599"==t||"+687"==t||"+64"==t||"+505"==t||"+227"==t||"+234"==t||"+683"==t||"+672"==t||"+1670"==t||"+47"==t||"+968"==t||"+92"==t||"+680"==t||"+970"==t||"+507"==t||"+675"==t||"+595"==t||"+51"==t||"+63"==t||"+872"==t||"+48"==t||"+351"==t||"+1939"==t||"+974"==t||"+40"==t||"+7"==t||"+250"==t||"+262"==t||"+590"==t||"+290"==t||"+1869"==t||"+1758"==t||"+590"==t||"+508"==t||"+1784"==t||"+685"==t||"+378"==t||"+239"==t||"+966"==t||"+221"==t||"+381"==t||"+248"==t||"+232"==t||"+65"==t||"+421"==t||"+386"==t||"+677"==t||"+252"==t||"+27"==t||"+211"==t||"+500"==t||"+34"==t||"+94"==t||"+249"==t||"+597"==t||"+47"==t||"+268"==t||"+46"==t||"+41"==t||"+963"==t||"+886"==t||"+992"==t||"+255"==t||"+66"==t||"+670"==t||"+228"==t||"+690"==t||"+676"==t||"+1868"==t||"+216"==t||"+90"==t||"+993"==t||"+1649"==t||"+688"==t||"+256"==t||"+380"==t||"+971"==t||"+44"==t||"+1"==t||"+598"==t||"+998"==t||"+678"==t||"+58"==t||"+84"==t||"+1284"==t||"+1340"==t||"+681"==t||"+967"==t||"+260"==t||"+263"==t)},t.from=function(t){return nt[t]},t.to=function(t){return it[t]},t.separate=o,t.seperate=o}(st||(st={}));const it={"+93":"AF","+358":["FI","AX"],"+355":"AL","+213":"DZ","+1684":"AS","+376":"AD","+244":"AO","+1264":"AI","+672":["NF","AQ"],"+1268":"AG","+54":"AR","+374":"AM","+297":"AW","+61":["AU","CX","CC"],"+43":"AT","+994":"AZ","+1242":"BS","+973":"BH","+880":"BD","+1246":"BB","+375":"BY","+32":"BE","+501":"BZ","+229":"BJ","+1441":"BM","+975":"BT","+591":"BO","+599":"BQ","+387":"BA","+267":"BW","+55":"BR","+246":"IO","+673":"BN","+359":"BG","+226":"BF","+257":"BI","+855":"KH","+237":"CM","+1":["US","CA"],"+238":"CV","+345":"KY","+236":"CF","+235":"TD","+56":"CL","+86":"CN","+57":"CO","+269":"KM","+242":"CG","+243":"CD","+682":"CK","+506":"CR","+225":"CI","+385":"HR","+53":"CU","+357":"CY","+420":"CZ","+45":"DK","+253":"DJ","+1767":"DM","+1849":"DO","+593":"EC","+20":"EG","+503":"SV","+240":"GQ","+291":"ER","+372":"EE","+251":"ET","+500":["FK","GS"],"+298":"FO","+679":"FJ","+33":"FR","+594":"GF","+689":"PF","+241":"GA","+220":"GM","+995":"GE","+49":"DE","+233":"GH","+350":"GI","+30":"GR","+299":"GL","+1473":"GD","+590":["GP","BL","MF"],"+1671":"GU","+502":"GT","+44":["GB","JE","IM","GG"],"+224":"GN","+245":"GW","+592":"GY","+595":"PY","+509":"HT","+379":"VA","+504":"HN","+852":"HK","+36":"HU","+354":"IS","+91":"IN","+62":"ID","+98":"IR","+964":"IQ","+353":"IE","+972":"IL","+39":"IT","+1876":"JM","+81":"JP","+962":"JO","+77":"KZ","+254":"KE","+686":"KI","+850":"KP","+82":"KR","+965":"KW","+996":"KG","+856":"LA","+371":"LV","+961":"LB","+266":"LS","+231":"LR","+218":"LY","+423":"LI","+370":"LT","+352":"LU","+853":"MO","+389":"MK","+261":"MG","+265":"MW","+60":"MY","+960":"MV","+223":"ML","+356":"MT","+692":"MH","+596":"MQ","+222":"MR","+230":"MU","+262":["RE","YT"],"+52":"MX","+691":"FM","+373":"MD","+377":"MC","+976":"MN","+382":"ME","+1664":"MS","+212":"MA","+258":"MZ","+95":"MM","+264":"NA","+674":"NR","+977":"NP","+31":"NL","+687":"NC","+64":"NZ","+505":"NI","+227":"NE","+234":"NG","+683":"NU","+1670":"MP","+47":["NO","SJ"],"+968":"OM","+92":"PK","+680":"PW","+970":"PS","+507":"PA","+675":"PG","+51":"PE","+63":"PH","+872":"PN","+48":"PL","+351":"PT","+1939":"PR","+974":"QA","+40":"RO","+7":"RU","+250":"RW","+290":"SH","+1869":"KN","+1758":"LC","+508":"PM","+1784":"VC","+685":"WS","+378":"SM","+239":"ST","+966":"SA","+221":"SN","+381":"RS","+248":"SC","+232":"SL","+65":"SG","+421":"SK","+386":"SI","+677":"SB","+252":"SO","+27":"ZA","+211":"SS","+34":"ES","+94":"LK","+249":"SD","+597":"SR","+268":"SZ","+46":"SE","+41":"CH","+963":"SY","+886":"TW","+992":"TJ","+255":"TZ","+66":"TH","+670":"TL","+228":"TG","+690":"TK","+676":"TO","+1868":"TT","+216":"TN","+90":"TR","+993":"TM","+1649":"TC","+688":"TV","+256":"UG","+380":"UA","+971":"AE","+598":"UY","+998":"UZ","+678":"VU","+58":"VE","+84":"VN","+1284":"VG","+1340":"VI","+681":"WF","+967":"YE","+260":"ZM","+263":"ZW"},nt={AF:"+93",AX:"+358",AL:"+355",DZ:"+213",AS:"+1684",AD:"+376",AO:"+244",AI:"+1264",AQ:"+672",AG:"+1268",AR:"+54",AM:"+374",AW:"+297",AU:"+61",AT:"+43",AZ:"+994",BS:"+1242",BH:"+973",BD:"+880",BB:"+1246",BY:"+375",BE:"+32",BZ:"+501",BJ:"+229",BM:"+1441",BT:"+975",BO:"+591",BQ:"+599",BA:"+387",BW:"+267",BR:"+55",IO:"+246",BN:"+673",BG:"+359",BF:"+226",BI:"+257",KH:"+855",CM:"+237",CA:"+1",CV:"+238",KY:"+345",CF:"+236",TD:"+235",CL:"+56",CN:"+86",CX:"+61",CC:"+61",CO:"+57",KM:"+269",CG:"+242",CD:"+243",CK:"+682",CR:"+506",CI:"+225",HR:"+385",CU:"+53",CY:"+357",CZ:"+420",DK:"+45",DJ:"+253",DM:"+1767",DO:"+1849",EC:"+593",EG:"+20",SV:"+503",GQ:"+240",ER:"+291",EE:"+372",ET:"+251",FK:"+500",FO:"+298",FJ:"+679",FI:"+358",FR:"+33",GF:"+594",PF:"+689",GA:"+241",GM:"+220",GE:"+995",DE:"+49",GH:"+233",GI:"+350",GR:"+30",GL:"+299",GD:"+1473",GP:"+590",GU:"+1671",GT:"+502",GG:"+44",GN:"+224",GW:"+245",GY:"+592",HT:"+509",VA:"+379",HN:"+504",HK:"+852",HU:"+36",IS:"+354",IN:"+91",ID:"+62",IR:"+98",IQ:"+964",IE:"+353",IM:"+44",IL:"+972",IT:"+39",JM:"+1876",JP:"+81",JE:"+44",JO:"+962",KZ:"+77",KE:"+254",KI:"+686",KP:"+850",KR:"+82",KW:"+965",KG:"+996",LA:"+856",LV:"+371",LB:"+961",LS:"+266",LR:"+231",LY:"+218",LI:"+423",LT:"+370",LU:"+352",MO:"+853",MK:"+389",MG:"+261",MW:"+265",MY:"+60",MV:"+960",ML:"+223",MT:"+356",MH:"+692",MQ:"+596",MR:"+222",MU:"+230",YT:"+262",MX:"+52",FM:"+691",MD:"+373",MC:"+377",MN:"+976",ME:"+382",MS:"+1664",MA:"+212",MZ:"+258",MM:"+95",NA:"+264",NR:"+674",NP:"+977",NL:"+31",NC:"+687",NZ:"+64",NI:"+505",NE:"+227",NG:"+234",NU:"+683",NF:"+672",MP:"+1670",NO:"+47",OM:"+968",PK:"+92",PW:"+680",PS:"+970",PA:"+507",PG:"+675",PY:"+595",PE:"+51",PH:"+63",PN:"+872",PL:"+48",PT:"+351",PR:"+1939",QA:"+974",RO:"+40",RU:"+7",RW:"+250",RE:"+262",BL:"+590",SH:"+290",KN:"+1869",LC:"+1758",MF:"+590",PM:"+508",VC:"+1784",WS:"+685",SM:"+378",ST:"+239",SA:"+966",SN:"+221",RS:"+381",SC:"+248",SL:"+232",SG:"+65",SK:"+421",SI:"+386",SB:"+677",SO:"+252",ZA:"+27",SS:"+211",GS:"+500",ES:"+34",LK:"+94",SD:"+249",SR:"+597",SJ:"+47",SZ:"+268",SE:"+46",CH:"+41",SY:"+963",TW:"+886",TJ:"+992",TZ:"+255",TH:"+66",TL:"+670",TG:"+228",TK:"+690",TO:"+676",TT:"+1868",TN:"+216",TR:"+90",TM:"+993",TC:"+1649",TV:"+688",UG:"+256",UA:"+380",AE:"+971",GB:"+44",US:"+1",UY:"+598",UZ:"+998",VU:"+678",VE:"+58",VN:"+84",VG:"+1284",VI:"+1340",WF:"+681",YE:"+967",ZM:"+260",ZW:"+263"},lt=["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"];var rt,at,ht,ct,dt,mt,ut;!function(t){function o(o,e){const s=t.decimalDigits(e)??2,i=Math.pow(10,s),n=(o.toString().split(".")?.[1]?.length??0)-1;return Math.round((o+(n<=s+5?Number.EPSILON:Math.pow(10,-n)))*i)/i}t.types=[...lt],t.is=function(o){return t.types.includes(o)},t.from=function(t){return{784:"AED",971:"AFN","008":"ALL","051":"AMD",532:"ANG",973:"AOA","032":"ARS","036":"AUD",533:"AWG",944:"AZN",977:"BAM","052":"BBD","050":"BDT",975:"BGN","048":"BHD",108:"BIF","060":"BMD","096":"BND","068":"BOB",984:"BOV",986:"BRL","044":"BSD","064":"BTN","072":"BWP",933:"BYN","084":"BZD",124:"CAD",976:"CDF",947:"CHE",756:"CHF",948:"CHW",990:"CLF",152:"CLP",156:"CNY",170:"COP",970:"COU",188:"CRC",931:"CUC",192:"CUP",132:"CVE",203:"CZK",262:"DJF",208:"DKK",214:"DOP","012":"DZD",818:"EGP",232:"ERN",230:"ETB",978:"EUR",242:"FJD",238:"FKP",826:"GBP",981:"GEL",936:"GHS",292:"GIP",270:"GMD",324:"GNF",320:"GTQ",328:"GYD",344:"HKD",340:"HNL",191:"HRK",332:"HTG",348:"HUF",360:"IDR",376:"ILS",356:"INR",368:"IQD",364:"IRR",352:"ISK",388:"JMD",400:"JOD",392:"JPY",404:"KES",417:"KGS",116:"KHR",174:"KMF",408:"KPW",410:"KRW",414:"KWD",136:"KYD",398:"KZT",418:"LAK",422:"LBP",144:"LKR",430:"LRD",426:"LSL",434:"LYD",504:"MAD",498:"MDL",969:"MGA",807:"MKD",104:"MMK",496:"MNT",446:"MOP",929:"MRU",480:"MUR",462:"MVR",454:"MWK",484:"MXN",979:"MXV",458:"MYR",943:"MZN",516:"NAD",566:"NGN",558:"NIO",578:"NOK",524:"NPR",554:"NZD",512:"OMR",590:"PAB",604:"PEN",598:"PGK",608:"PHP",586:"PKR",985:"PLN",600:"PYG",634:"QAR",946:"RON",941:"RSD",643:"RUB",646:"RWF",682:"SAR","090":"SBD",690:"SCR",938:"SDG",752:"SEK",702:"SGD",654:"SHP",694:"SLL",706:"SOS",968:"SRD",728:"SSP",930:"STN",222:"SVC",760:"SYP",748:"SZL",764:"THB",972:"TJS",934:"TMT",788:"TND",776:"TOP",949:"TRY",780:"TTD",901:"TWD",834:"TZS",980:"UAH",800:"UGX",840:"USD",997:"USN",940:"UYI",858:"UYU",927:"UYW",860:"UZS",928:"VES",704:"VND",548:"VUV",882:"WST",950:"XAF",961:"XAG",959:"XAU",955:"XBA",956:"XBB",957:"XBC",958:"XBD",951:"XCD",960:"XDR",952:"XOF",964:"XPD",953:"XPF",962:"XPT",994:"XSU",963:"XTS",965:"XUA",999:"XXX",886:"YER",710:"ZAR",967:"ZMW",932:"ZWL"}[t]},t.round=o,t.add=function(t,e,s){return o(o(e,t)+o(s,t),t)},t.divide=function(t,e,s){return o(o(e,t)/s,t)},t.multiply=function(t,e,s,i){return o(o(e,t)*s,i??t)},t.subtract=function(t,e,s){return o(o(e,t)-o(s,t),t)},t.toMinor=function(o,e){const s=t.decimalDigits(e);return"number"==typeof s?Math.round(o*10**s):o},t.fromMinor=function(o,e){const s=t.decimalDigits(e);return"number"==typeof s?t.divide(e,o,10**s):o},t.isRounded=function(o,e){const s=t.decimalDigits(e);return null==s||!isNaN(o)&&(o.toString().split(".")[1]?.length??0)<=s},t.decimalDigits=function(t){return{AED:2,AFN:2,ALL:2,AMD:2,ANG:2,AOA:2,ARS:2,AUD:2,AWG:2,AZN:2,BAM:2,BBD:2,BDT:2,BGN:2,BHD:3,BIF:0,BMD:2,BND:2,BOB:2,BOV:2,BRL:2,BSD:2,BTN:2,BWP:2,BYN:2,BZD:2,CAD:2,CDF:2,CHE:2,CHF:2,CHW:2,CLF:4,CLP:0,CNY:2,COP:2,COU:2,CRC:2,CUC:2,CUP:2,CVE:2,CZK:2,DJF:0,DKK:2,DOP:2,DZD:2,EGP:2,ERN:2,ETB:2,EUR:2,FJD:2,FKP:2,GBP:2,GEL:2,GHS:2,GIP:2,GMD:2,GNF:0,GTQ:2,GYD:2,HKD:2,HNL:2,HRK:2,HTG:2,HUF:2,IDR:2,ILS:2,INR:2,IQD:3,IRR:2,ISK:0,JMD:2,JOD:3,JPY:0,KES:2,KGS:2,KHR:2,KMF:0,KPW:2,KRW:0,KWD:3,KYD:2,KZT:2,LAK:2,LBP:2,LKR:2,LRD:2,LSL:2,LYD:3,MAD:2,MDL:2,MGA:2,MKD:2,MMK:2,MNT:2,MOP:2,MRU:2,MUR:2,MVR:2,MWK:2,MXN:2,MXV:2,MYR:2,MZN:2,NAD:2,NGN:2,NIO:2,NOK:2,NPR:2,NZD:2,OMR:3,PAB:2,PEN:2,PGK:2,PHP:2,PKR:2,PLN:2,PYG:0,QAR:2,RON:2,RSD:2,RUB:2,RWF:0,SAR:2,SBD:2,SCR:2,SDG:2,SEK:2,SGD:2,SHP:2,SLL:2,SOS:2,SRD:2,SSP:2,STN:2,SVC:2,SYP:2,SZL:2,THB:2,TJS:2,TMT:2,TND:3,TOP:2,TRY:2,TTD:2,TWD:2,TZS:2,UAH:2,UGX:0,USD:2,USN:2,UYI:0,UYU:2,UYW:4,UZS:2,VES:2,VND:0,VUV:0,WST:2,XAF:0,XAG:void 0,XAU:void 0,XBA:void 0,XBB:void 0,XBC:void 0,XBD:void 0,XCD:2,XDR:void 0,XOF:0,XPD:void 0,XPF:0,XPT:void 0,XSU:void 0,XTS:void 0,XUA:void 0,XXX:void 0,YER:2,ZAR:2,ZMW:2,ZWL:2}[t]}}(rt||(rt={})),function(t){t.types=["008","012","032","036","044","048","050","051","052","060","064","068","072","084","090","096","104","108","116","124","132","136","144","152","156","170","174","188","191","192","203","208","214","222","230","232","238","242","262","270","292","320","324","328","332","340","344","348","352","356","360","364","368","376","388","392","398","400","404","408","410","414","417","418","422","426","430","434","446","454","458","462","480","484","496","498","504","512","516","524","532","533","548","554","558","566","578","586","590","598","600","604","608","634","643","646","654","682","690","694","702","704","706","710","728","748","752","756","760","764","776","780","784","788","800","807","818","826","834","840","858","860","882","886","901","927","928","929","930","931","932","933","934","936","938","940","941","943","944","946","947","948","949","950","951","952","953","955","956","957","958","959","960","961","962","963","964","965","967","968","969","970","971","972","973","975","976","977","978","979","980","981","984","985","986","990","994","997","999"],t.is=function(o){return t.types.includes(o)},t.from=function(t){return{ALL:"008",DZD:"012",ARS:"032",AUD:"036",BSD:"044",BHD:"048",BDT:"050",AMD:"051",BBD:"052",BMD:"060",BTN:"064",BOB:"068",BWP:"072",BZD:"084",SBD:"090",BND:"096",MMK:"104",BIF:"108",KHR:"116",CAD:"124",CVE:"132",KYD:"136",LKR:"144",CLP:"152",CNY:"156",COP:"170",KMF:"174",CRC:"188",HRK:"191",CUP:"192",CZK:"203",DKK:"208",DOP:"214",SVC:"222",ETB:"230",ERN:"232",FKP:"238",FJD:"242",DJF:"262",GMD:"270",GIP:"292",GTQ:"320",GNF:"324",GYD:"328",HTG:"332",HNL:"340",HKD:"344",HUF:"348",ISK:"352",INR:"356",IDR:"360",IRR:"364",IQD:"368",ILS:"376",JMD:"388",JPY:"392",KZT:"398",JOD:"400",KES:"404",KPW:"408",KRW:"410",KWD:"414",KGS:"417",LAK:"418",LBP:"422",LSL:"426",LRD:"430",LYD:"434",MOP:"446",MWK:"454",MYR:"458",MVR:"462",MUR:"480",MXN:"484",MNT:"496",MDL:"498",MAD:"504",OMR:"512",NAD:"516",NPR:"524",ANG:"532",AWG:"533",VUV:"548",NZD:"554",NIO:"558",NGN:"566",NOK:"578",PKR:"586",PAB:"590",PGK:"598",PYG:"600",PEN:"604",PHP:"608",QAR:"634",RUB:"643",RWF:"646",SHP:"654",SAR:"682",SCR:"690",SLL:"694",SGD:"702",VND:"704",SOS:"706",ZAR:"710",SSP:"728",SZL:"748",SEK:"752",CHF:"756",SYP:"760",THB:"764",TOP:"776",TTD:"780",AED:"784",TND:"788",UGX:"800",MKD:"807",EGP:"818",GBP:"826",TZS:"834",USD:"840",UYU:"858",UZS:"860",WST:"882",YER:"886",TWD:"901",UYW:"927",VES:"928",MRU:"929",STN:"930",CUC:"931",ZWL:"932",BYN:"933",TMT:"934",GHS:"936",SDG:"938",UYI:"940",RSD:"941",MZN:"943",AZN:"944",RON:"946",CHE:"947",CHW:"948",TRY:"949",XAF:"950",XCD:"951",XOF:"952",XPF:"953",XBA:"955",XBB:"956",XBC:"957",XBD:"958",XAU:"959",XDR:"960",XAG:"961",XPT:"962",XTS:"963",XPD:"964",XUA:"965",ZMW:"967",SRD:"968",MGA:"969",COU:"970",AFN:"971",TJS:"972",AOA:"973",BGN:"975",CDF:"976",BAM:"977",EUR:"978",MXV:"979",UAH:"980",GEL:"981",BOV:"984",PLN:"985",BRL:"986",CLF:"990",XSU:"994",USN:"997",XXX:"999"}[t]},t.decimalDigits=function(t){return{"008":2,"012":2,"032":2,"036":2,"044":2,"048":3,"050":2,"051":2,"052":2,"060":2,"064":2,"068":2,"072":2,"084":2,"090":2,"096":2,104:2,108:0,116:2,124:2,132:2,136:2,144:2,152:0,156:2,170:2,174:0,188:2,191:2,192:2,203:2,208:2,214:2,222:2,230:2,232:2,238:2,242:2,262:0,270:2,292:2,320:2,324:0,328:2,332:2,340:2,344:2,348:2,352:0,356:2,360:2,364:2,368:3,376:2,388:2,392:0,398:2,400:3,404:2,408:2,410:0,414:3,417:2,418:2,422:2,426:2,430:2,434:3,446:2,454:2,458:2,462:2,480:2,484:2,496:2,498:2,504:2,512:3,516:2,524:2,532:2,533:2,548:0,554:2,558:2,566:2,578:2,586:2,590:2,598:2,600:0,604:2,608:2,634:2,643:2,646:0,654:2,682:2,690:2,694:2,702:2,704:0,706:2,710:2,728:2,748:2,752:2,756:2,760:2,764:2,776:2,780:2,784:2,788:3,800:0,807:2,818:2,826:2,834:2,840:2,858:2,860:2,882:2,886:2,901:2,927:4,928:2,929:2,930:2,931:2,932:2,933:2,934:2,936:2,938:2,940:0,941:2,943:2,944:2,946:2,947:2,948:2,949:2,950:0,951:2,952:0,953:0,955:void 0,956:void 0,957:void 0,958:void 0,959:void 0,960:void 0,961:void 0,962:void 0,963:void 0,964:void 0,965:void 0,967:2,968:2,969:2,970:2,971:2,972:2,973:2,975:2,976:2,977:2,978:2,979:2,980:2,981:2,984:2,985:2,986:2,990:4,994:void 0,997:2,999:void 0}[t]}}(at||(at={})),function(t){function o(t){return"string"==typeof t&&10==t.length&&"Invalid Date"!=new globalThis.Date(t).toString()&&s(new globalThis.Date(t))==t}function e(t,o){return new globalThis.Date(t+(o??"T12:00:00.000Z"))}function s(t){return t.toISOString().substring(0,10)}function i(o,s=1){let l;if("number"==typeof s){const i=e(o);i.setDate(i.getDate()+s),l=t.create(i)}else l=o,s.years&&(l=r(l,s.years)),s.months&&(l=n(l,s.months)),s.days&&(l=i(l,s.days));return l}function n(o,s=1){const i=e(o);return i.setMonth(i.getMonth()+s),t.create(i)}function l(t,o=1){return n(t,-o)}function r(o,s=1){const i=e(o);return i.setFullYear(i.getFullYear()+s),t.create(i)}function a(t,o=1){return r(t,-o)}function h(t){return Number.parseInt(t.substring(0,4))}function c(t){return Number.parseInt(t.substring(5,7))}function d(t){return Number.parseInt(t.substring(8,10))}function m(t,o,e){const s=e?.format??"long";return o?new globalThis.Date(t).toLocaleDateString(o,{weekday:s}):new globalThis.Date(t).getDay()}function u(t,o=new Set){const e=m(t);return!(6==e||0==e||o.has(t))}t.is=o,t.parse=e,t.create=s,t.now=function(){return s(new globalThis.Date)},t.localize=function(t,s,i){return(o(t)?e(t):t).toLocaleString(s||Intl.DateTimeFormat().resolvedOptions().locale,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:i??Intl.DateTimeFormat().resolvedOptions().timeZone}).substring(0,10).replaceAll(" "," ")},t.next=i,t.previous=function o(s,i=1){let n;if("number"==typeof i){const o=e(s);o.setDate(o.getDate()-i),n=t.create(o)}else n=s,i.years&&(n=a(n,i.years)),i.months&&(n=l(n,i.months)),i.days&&(n=o(n,i.days));return n},t.nextMonth=n,t.previousMonth=l,t.nextYear=r,t.previousYear=a,t.firstOfYear=function(o){const s=e(o);return s.setMonth(0),s.setDate(1),t.create(s)},t.lastOfYear=function(o){const s=e(o);return s.setFullYear(s.getFullYear()+1),s.setMonth(0),s.setDate(0),t.create(s)},t.firstOfMonth=function(o){const s=e(o);return s.setDate(1),t.create(s)},t.lastOfMonth=function(o){const s=e(o);return s.setMonth(s.getMonth()+1),s.setDate(0),t.create(s)},t.firstOfWeek=function(o){const s=e(o),i=s.getDate()-(s.getDay()||7)+1;return s.setDate(i),t.create(s)},t.lastOfWeek=function(o){const s=e(o),i=s.getDate()-s.getDay()+7;return s.setDate(i),t.create(s)},t.getYear=h,t.getMonth=c,t.getWeek=function(t){const o=new globalThis.Date(t);o.setHours(0,0,0,0),o.setDate(o.getDate()+3-(o.getDay()+6)%7);const e=new globalThis.Date(o.getFullYear(),0,4);return 1+Math.round(((o.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},t.getDay=d,t.getWeekDay=m,t.nextWeekday=function(t,o=1,e=[]){const s=new Set(e);let n=i(t,o),l=m(n);for(;6==l||0==l||s.has(n);)n=i(n,6==l?2:1),l=m(n);return n},t.nextBusinessDay=function t(o,e=1,s=[]){const n=new Set(s);if(e<=0&&u(o,n))return o;const l=i(o);return t(l,u(l,n)?e-1:e,n)},t.span=function(t,o){return{years:h(t)-h(o),months:c(t)-c(o),days:d(t)-d(o)}},t.epochStart="0000-01-01",t.epochEnd="9999-12-31",t.invert=function(t){return`${(9999-h(t)).toFixed(0).padStart(4,"0")}-${(13-c(t)).toFixed(0).padStart(2,"0")}-${(32-d(t)).toFixed(0).padStart(2,"0")}`}}(ht||(ht={})),function(t){t.is=function(t){return"object"==typeof t&&ht.is(t.start)&&ht.is(t.end)},t.create=function t(o,e){return ht.is(e)?o<=e?{start:o,end:e}:{start:e,end:o}:t(o,ht.next(o,e))},t.toDates=function(t,o=!0){const e=[];for(let s=t.start;o?s<=t.end:s<t.end;s=ht.next(s))e.push(s);return e},t.getDays=function t(o){return o.start<=o.end?Math.ceil((new globalThis.Date(o.end).getTime()-new globalThis.Date(o.start).getTime())/864e5):-t({start:o.end,end:o.start})}}(ct||(ct={})),function(t){t.is=function(t){return!("object"!=typeof t||!t||Array.isArray(t)||"number"!=typeof t.years&&null!=t.years||"number"!=typeof t.months&&null!=t.months||"number"!=typeof t.days&&null!=t.days)}}(dt||(dt={})),function(t){t.values=["-12:00","-11:00","-10:00","-09:30","-09:00","-08:00","-07:00","-06:00","-05:00","-04:00","-03:30","-03:00","-02:00","-01:00","-00:00","Z","+00:00","+01:00","+02:00","+03:00","+03:30","+04:00","+04:30","+05:00","+05:30","+05:45","+06:00","+06:30","+07:00","+08:00","+08:45","+09:00","+09:30","+10:00","+10:30","+11:00","+12:00","+12:45","+13:00","+14:00"],t.is=function(o){return"string"==typeof o&&t.values.includes(o)}}(mt||(mt={})),function(t){function o(t){return"string"==typeof t&&t.length>=13&&t.length<=29&&ht.is(t.substring(0,10))&&"T"==t[10]&&((o=t.substring(11,13))[0]>="0"&&o[0]<="1"&&o[1]>="0"&&o[1]<="9"||"2"==o[0]&&o[1]>="0"&&o[1]<="3")&&(13==t.length||mt.is(t.substring(13))||":"==t[13]&&t.length>=16&&function(t){return t[0]>="0"&&t[0]<="5"&&t[1]>="0"&&t[1]<="9"}(t.substring(14,16))&&(16==t.length||mt.is(t.substring(16))||":"==t[16]&&t.length>=19&&function(t){return t[0]>="0"&&t[0]<="5"&&t[1]>="0"&&t[1]<="9"||"60"==t||"61"==t}(t.substring(17,19))&&(19==t.length||mt.is(t.substring(19))||"."==t[19]&&t.length>=23&&[...t.substring(20,23)].every((t=>t>="0"&&t<="9"))&&(23==t.length||mt.is(t.substring(23))))));var o}function e(o){return new globalThis.Date(t.truncate(o,"milliseconds"))}function s(t,o="seconds"){if("number"==typeof t){switch(o){case"days":t*=24;case"hours":t*=60;case"minutes":t*=60;case"seconds":t*=1e3}t=new globalThis.Date(t)}return i(t.toISOString())}function i(t){return 22==t.length&&t.match(/\.\dZ$/)?t=t.substring(0,21)+"00Z":23==t.length&&t.match(/\.\d\dZ$/)&&(t=t.substring(0,22)+"0Z"),t}function n(t){const o="Z"==t[t.length-1]?"Z":t.substring(t.length-6);return mt.is(o)?o:""}function l(t,o="seconds"){let s=("string"==typeof t?e(t):t).getTime();switch(o){case"days":s=Math.round(s/24);case"hours":s=Math.round(s/60);case"minutes":s=Math.round(s/60);case"seconds":s=Math.round(s/1e3)}return s}function r(o,s=1){const i=e(o);return i.setUTCMilliseconds(i.getUTCMilliseconds()+s),t.create(i)}function a(t,o=1){return r(t,-o)}function h(o,s=1){const i=e(o);return i.setUTCSeconds(i.getUTCSeconds()+s),t.create(i)}function c(t,o=1){return h(t,-o)}function d(o,s=1){const i=e(o);return i.setUTCMinutes(i.getUTCMinutes()+s),t.create(i)}function m(t,o=1){return d(t,-o)}function u(o,s=1){const i=e(o);return i.setUTCHours(i.getUTCHours()+s),t.create(i)}function p(t,o=1){return u(t,-o)}function y(o,s=1){const i=e(o);return i.setUTCDate(i.getUTCDate()+s),i.setUTCMinutes(i.getUTCMinutes()),t.create(i)}function b(t,o=1){return y(t,-o)}function g(o,s=1){const i=e(o);return i.setUTCMonth(i.getUTCMonth()+s),i.setUTCMinutes(i.getUTCMinutes()),t.create(i)}function v(t,o=1){return g(t,-o)}function f(o,s=1){const i=e(o);return i.setUTCFullYear(i.getUTCFullYear()+s),t.create(i)}function S(t,o=1){return f(t,-o)}function w(t){return t.substring(0,10)}function k(t){return Number.parseInt(t.substring(11,13))}function C(t){return Number.parseInt(t.substring(14,16))}function M(t){return Number.parseInt(t.substring(17,19))}function A(t){return Number.parseInt(t.substring(20,23))}t.is=o,t.parse=e,t.create=s,t.fixIncorrect=i,t.fromLocalDateTime=function(t,o){t=t.replace(/(Z|([+-].{5}))?$/,"");const e=new globalThis.Date(`${t}Z`),s=(new globalThis.Date(e.toLocaleString("sv-SE",{timeZone:o}).replace(" ","T")+"Z").getTime()-e.getTime())/6e4;return`${t}${s>=0?"+":"-"}${Math.floor(Math.abs(s)/60).toString().padStart(2,"0")}:${(Math.abs(s)%60).toString().padStart(2,"0")}`},t.now=function(){return s(new globalThis.Date)},t.localize=function s(i,n,l){let r;if("object"==typeof n){const t=l||Intl.DateTimeFormat().resolvedOptions().locale;r=(o(i)?e(i):i).toLocaleString(t,n).replaceAll(" "," ")}else{const e=o(i)?t.precision(i):"milliseconds";r=s(i,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"minutes"==e||"seconds"==e||"milliseconds"==e?"2-digit":void 0,second:"seconds"==e||"milliseconds"==e?"2-digit":void 0,timeZone:l},n)}return r},t.timeZone=function(t){return n(t)},t.timeZoneOffset=n,t.timeZoneShort=function(t){return e(t).getTimezoneOffset()},t.precision=function(t){const o=n(t);let e;switch(t.substring(0,t.length-o.length).split("T",2)[1].length){case 2:e="hours";break;case 5:e="minutes";break;case 8:e="seconds";break;default:e="milliseconds"}return e},t.truncate=function(t,o){const e=n(t);let s,[i,l]=t.split("T",2);switch(l=l.substring(0,l.length-e.length),l.length){case 2:l+=":00:00.000";break;case 5:l+=":00.000";break;case 8:l+=".000"}switch(o){case"hours":s=l.substring(0,2);break;case"minutes":s=l.substring(0,5);break;case"seconds":s=l.substring(0,8);break;case"milliseconds":s=l.substring(0,12)}return i+"T"+s+e},t.epoch=l,t.next=function(t,o=1){let e;return"number"==typeof o?e=h(t,o):(e=t,o.years&&(e=f(e,o.years)),o.months&&(e=g(e,o.months)),o.days&&(e=y(e,o.days)),o.hours&&(e=u(e,o.hours)),o.minutes&&(e=d(e,o.minutes)),o.seconds&&(e=h(e,o.seconds)),o.milliseconds&&(e=r(e,o.milliseconds))),e},t.previous=function(t,o=1){let e;return"number"==typeof o?e=c(t,o):(e=t,o.years&&(e=S(e,o.years)),o.months&&(e=v(e,o.months)),o.days&&(e=b(e,o.days)),o.hours&&(e=p(e,o.hours)),o.minutes&&(e=m(e,o.minutes)),o.seconds&&(e=c(e,o.seconds)),o.milliseconds&&(e=a(e,o.milliseconds))),e},t.nextMillisecond=r,t.previousMillisecond=a,t.nextSecond=h,t.previousSecond=c,t.nextMinute=d,t.previousMinute=m,t.nextHour=u,t.previousHour=p,t.nextDay=y,t.previousDay=b,t.nextMonth=g,t.previousMonth=v,t.nextYear=f,t.previousYear=S,t.getDate=w,t.getTime=function(t){return t.substring(11)},t.getYear=function(t){return Number.parseInt(t.substring(0,4))},t.getMonth=function(t){return Number.parseInt(t.substring(5,7))},t.getDay=function(t){return Number.parseInt(t.substring(8,10))},t.getHour=k,t.getMinute=C,t.getSecond=M,t.getMillisecond=A,t.span=function(t,o,e="years"){let s;if("years"==e)s={...ht.span(t,o),hours:k(t)-k(o),minutes:C(t)-C(o),seconds:M(t)-M(o),milliseconds:A(t)-A(o)};else{let i=l(t,"milliseconds")-l(o,"milliseconds");const n=Math.sign(i);switch(i=Math.abs(i),s={},e){case"hours":s.hours=n*Math.floor(i/36e5),i-=n*s.hours*3600*1e3;case"minutes":s.minutes=n*Math.floor(i/6e4),i-=n*s.minutes*60*1e3;case"seconds":s.seconds=n*Math.floor(i/1e3),i-=n*s.seconds*1e3;case"milliseconds":s.milliseconds=n*i}}return s},t.epochStart="0000-01-01T00:00:00.000Z",t.epochEnd="9999-12-31T23:59:59.999Z",t.invert=function(t){return`${ht.invert(w(t))}T${(24-k(t)).toFixed(0).padStart(2,"0")}:${(60-C(t)).toFixed(0).padStart(2,"0")}:${(60-M(t)).toFixed(0).padStart(2,"0")}.${(999-A(t)).toFixed(0).padStart(3,"0")}Z`}}(ut||(ut={}));class pt{}class yt extends pt{encode(t){return Uint8Array.from(t.split(""),(t=>gt[t]))}decode(t){return t?new Uint8Array(t.buffer,t.byteOffset,t.byteLength).reduce(((t,o)=>t+bt[o]),""):""}}const bt=["\0","","","","","","","","\b","\t","\n","\v","\f","\r","","","","","","","","","","","","","","","","","",""," ","!",'"',"#","$","%","&",'"',"(",")","*","+",",","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","\\","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","","€","","‚","ƒ","„","…","†","‡","ˆ","‰","Š","‹","Œ","","Ž","","","‘","’","“","”","•","–","—","˜","™","š","›","œ","","ž","Ÿ"," ","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","¬","","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ"],gt={"\0":0,"":1,"":2,"":3,"":4,"":5,"":6,"":7,"\b":8,"\t":9,"\n":10,"\v":11,"\f":12,"\r":13,"":14,"":15,"":16,"":17,"":18,"":19,"":20,"":21,"":22,"":23,"":24,"":25,"":26,"":27,"":28,"":29,"":30,"":31," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,a:97,b:98,c:99,d:100,e:101,f:102,g:103,h:104,i:105,j:106,k:107,l:108,m:109,n:110,o:111,p:112,q:113,r:114,s:115,t:116,u:117,v:118,w:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126,"":127,"€":128,"":129,"‚":130,ƒ:131,"„":132,"…":133,"†":134,"‡":135,ˆ:136,"‰":137,Š:138,"‹":139,Œ:140,"":141,Ž:142,"":143,"":144,"‘":145,"’":146,"“":147,"”":148,"•":149,"–":150,"—":151,"˜":152,"™":153,š:154,"›":155,œ:156,"":157,ž:158,Ÿ:159," ":160,"¡":161,"¢":162,"£":163,"¤":164,"¥":165,"¦":166,"§":167,"¨":168,"©":169,ª:170,"«":171,"¬":172,"":173,"®":174,"¯":175,"°":176,"±":177,"²":178,"³":179,"´":180,µ:181,"¶":182,"·":183,"¸":184,"¹":185,º:186,"»":187,"¼":188,"½":189,"¾":190,"¿":191,À:192,Á:193,Â:194,Ã:195,Ä:196,Å:197,Æ:198,Ç:199,È:200,É:201,Ê:202,Ë:203,Ì:204,Í:205,Î:206,Ï:207,Ð:208,Ñ:209,Ò:210,Ó:211,Ô:212,Õ:213,Ö:214,"×":215,Ø:216,Ù:217,Ú:218,Û:219,Ü:220,Ý:221,Þ:222,ß:223,à:224,á:225,â:226,ã:227,ä:228,å:229,æ:230,ç:231,è:232,é:233,ê:234,ë:235,ì:236,í:237,î:238,ï:239,ð:240,ñ:241,ò:242,ó:243,ô:244,õ:245,ö:246,"÷":247,ø:248,ù:249,ú:250,û:251,ü:252,ý:253,þ:254,ÿ:255};class vt extends pt{encode(t){return Uint8Array.from(unescape(encodeURIComponent(t)).split(""),(t=>t.charCodeAt(0)))}decode(t){return t?decodeURIComponent(escape(Array.from(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),(t=>String.fromCharCode(t))).join(""))):""}}var ft,St,wt,kt,Ct,Mt,At;function Nt(t){const o=Date.UTC(0,0),e=new Date(o);return Date.UTC(e.getUTCFullYear()+(t.years??0),e.getUTCMonth()+(t.months??0),e.getUTCDate()+(t.days??0),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()).valueOf()-e.valueOf()}function xt(t,o){return o?"ceiling"==o?Math.ceil(t):"floor"==o?Math.floor(t):Math.round(t):t}!function(t){t.values=["UTF-8","UTF-16","UTF-32","ASCII","CP037","CP930","CP1047","ISO-8859-1","ISO-8859-2","ISO-8859-3","ISO-8859-4","ISO-8859-5","ISO-8859-6","ISO-8859-7","ISO-8859-8","ISO-8859-9","ISO-8859-10","ISO-8859-11","ISO-8859-13","ISO-8859-14","ISO-8859-15","ISO-8859-16","CP437","CP720","CP737","CP850","CP852","CP855","CP857","CP858","CP860","CP861","CP862","CP863","CP865","CP866","CP869","CP872","Windows-1250","Windows-1251","Windows-1252","Windows-1253","Windows-1254","Windows-1255","Windows-1256","Windows-1257","Windows-1258","Mac OS Roman","KOI8-R","KOI8-U","KOI7","MIK","ISCII","TSCII","VISCII","Shift_JIS","EUC-JP","ISO-2022-JP","Shift_JIS-2004","EUC-JIS-2004","ISO-2022-2004","GB 2312","GBK","GB 18030","Big5","HKSCS","KS X 1001","EUC-KR","ISO-2022-KR","T.51"],t.is=function(o){return"string"==typeof o&&t.values.some((t=>t==o))},t.parse=function(t){let o;switch(t.toUpperCase()){case"UTF-8":case"UTF8":case"UTF 8":o="UTF-8";break;case"UTF-16":o="UTF-16";break;case"UTF-32":o="UTF-32";break;case"US-ASCII":case"ASCII":o="ASCII";break;case"CP037":o="CP037";break;case"CP930":o="CP930";break;case"CP1047":o="CP1047";break;case"ISO-IR-100":case"CSISOLATIN1":case"LATIN1":case"LATIN-1":case"L1":case"IBM819":case"CODE PAGE 28591":case"WINDOWS-28591":case"CODE PAGE 819":case"CP819":case"CCSID 819":case"WE8ISO8859P1":case"ISO 8859-1":case"ISO-8859-1":o="ISO-8859-1";break;case"ISO-8859-2":o="ISO-8859-2";break;case"ISO-8859-3":o="ISO-8859-3";break;case"ISO-8859-4":o="ISO-8859-4";break;case"ISO-8859-5":o="ISO-8859-5";break;case"ISO-8859-6":o="ISO-8859-6";break;case"ISO-8859-7":o="ISO-8859-7";break;case"ISO-8859-8":o="ISO-8859-8";break;case"ISO-8859-9":o="ISO-8859-9";break;case"ISO-8859-10":o="ISO-8859-10";break;case"ISO-8859-11":o="ISO-8859-11";break;case"ISO-8859-13":o="ISO-8859-13";break;case"ISO-8859-14":o="ISO-8859-14";break;case"ISO-8859-15":o="ISO-8859-15";break;case"ISO-8859-16":o="ISO-8859-16";break;case"CP437":o="CP437";break;case"CP720":o="CP720";break;case"CP737":o="CP737";break;case"CP850":o="CP850";break;case"CP852":o="CP852";break;case"CP855":o="CP855";break;case"CP857":o="CP857";break;case"CP858":o="CP858";break;case"CP860":o="CP860";break;case"CP861":o="CP861";break;case"CP862":o="CP862";break;case"CP863":o="CP863";break;case"CP865":o="CP865";break;case"CP866":o="CP866";break;case"CP869":o="CP869";break;case"CP872":o="CP872";break;case"WINDOWS-1250":o="Windows-1250";break;case"WINDOWS-1251":o="Windows-1251";break;case"WINDOWS-1252":o="Windows-1252";break;case"WINDOWS-1253":o="Windows-1253";break;case"WINDOWS-1254":o="Windows-1254";break;case"WINDOWS-1255":o="Windows-1255";break;case"WINDOWS-1256":o="Windows-1256";break;case"WINDOWS-1257":o="Windows-1257";break;case"WINDOWS-1258":o="Windows-1258";break;case"MAC OS ROMAN":o="Mac OS Roman";break;case"KOI8-R":o="KOI8-R";break;case"KOI8-U":o="KOI8-U";break;case"KOI7":o="KOI7";break;case"MIK":o="MIK";break;case"ISCII":o="ISCII";break;case"TSCII":o="TSCII";break;case"VISCII":o="VISCII";break;case"SHIFT_JIS":o="Shift_JIS";break;case"EUC-JP":o="EUC-JP";break;case"ISO-2022-JP":o="ISO-2022-JP";break;case"SHIFT_JIS-2004":o="Shift_JIS-2004";break;case"EUC-JIS-2004":o="EUC-JIS-2004";break;case"ISO-2022-2004":o="ISO-2022-2004";break;case"GB 2312":o="GB 2312";break;case"GBK":o="GBK";break;case"GB 18030":o="GB 18030";break;case"BIG5":o="Big5";break;case"HKSCS":o="HKSCS";break;case"KS X 1001":o="KS X 1001";break;case"EUC-KR":o="EUC-KR";break;case"ISO-2022-KR":o="ISO-2022-KR";break;case"T.51":o="T.51"}return o},t.encode=function(t,e){return o[t].encode(e)},t.decode=function(t,e){return o[t].decode(e)};const o={"ISO-8859-1":new yt,"UTF-8":new vt}}(ft||(ft={})),function(t){t.is=function(t){return"string"==typeof t&&("ab"==t||"aa"==t||"af"==t||"ak"==t||"sq"==t||"am"==t||"ar"==t||"an"==t||"hy"==t||"as"==t||"av"==t||"ae"==t||"ay"==t||"az"==t||"bm"==t||"ba"==t||"eu"==t||"be"==t||"bn"==t||"bh"==t||"bi"==t||"bs"==t||"br"==t||"bg"==t||"my"==t||"ca"==t||"ch"==t||"ce"==t||"ny"==t||"zh"==t||"cv"==t||"kw"==t||"co"==t||"cr"==t||"hr"==t||"cs"==t||"da"==t||"dv"==t||"nl"==t||"dz"==t||"en"==t||"eo"==t||"et"==t||"ee"==t||"fo"==t||"fj"==t||"fi"==t||"fr"==t||"ff"==t||"gl"==t||"ka"==t||"de"==t||"el"==t||"gn"==t||"gu"==t||"ht"==t||"ha"==t||"he"==t||"hz"==t||"hi"==t||"ho"==t||"hu"==t||"ia"==t||"id"==t||"ie"==t||"ga"==t||"ig"==t||"ik"==t||"io"==t||"is"==t||"it"==t||"iu"==t||"ja"==t||"jv"==t||"kl"==t||"kn"==t||"kr"==t||"ks"==t||"kk"==t||"km"==t||"ki"==t||"rw"==t||"ky"==t||"kv"==t||"kg"==t||"ko"==t||"ku"==t||"kj"==t||"la"==t||"lb"==t||"lg"==t||"li"==t||"ln"==t||"lo"==t||"lt"==t||"lu"==t||"lv"==t||"gv"==t||"mk"==t||"mg"==t||"ms"==t||"ml"==t||"mt"==t||"mi"==t||"mr"==t||"mh"==t||"mn"==t||"na"==t||"nv"==t||"nd"==t||"ne"==t||"ng"==t||"nb"==t||"nn"==t||"no"==t||"ii"==t||"nr"==t||"oc"==t||"oj"==t||"cu"==t||"om"==t||"or"==t||"os"==t||"pa"==t||"pi"==t||"fa"==t||"pl"==t||"ps"==t||"pt"==t||"qu"==t||"rm"==t||"rn"==t||"ro"==t||"ru"==t||"sa"==t||"sc"==t||"sd"==t||"se"==t||"sm"==t||"sg"==t||"sr"==t||"gd"==t||"sn"==t||"si"==t||"sk"==t||"sl"==t||"so"==t||"st"==t||"es"==t||"su"==t||"sw"==t||"ss"==t||"sv"==t||"ta"==t||"te"==t||"tg"==t||"th"==t||"ti"==t||"bo"==t||"tk"==t||"tl"==t||"tn"==t||"to"==t||"tr"==t||"ts"==t||"tt"==t||"tw"==t||"ty"==t||"ug"==t||"uk"==t||"ur"==t||"uz"==t||"ve"==t||"vi"==t||"vo"==t||"wa"==t||"cy"==t||"wo"==t||"fy"==t||"xh"==t||"yi"==t||"yo"==t||"za"==t||"zu"==t)},t.toName=function(t){return{ab:"Abkhazian",aa:"Afar",af:"Afrikaans",ak:"Akan",sq:"Albanian",am:"Amharic",ar:"Arabic",an:"Aragonese",hy:"Armenian",as:"Assamese",av:"Avaric",ae:"Avestan",ay:"Aymara",az:"Azerbaijani",bm:"Bambara",ba:"Bashkir",eu:"Basque",be:"Belarusian",bn:"Bengali",bh:"Bihari languages",bi:"Bislama",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan, Valencian",ch:"Chamorro",ce:"Chechen",ny:"Chichewa, Chewa, Nyanja",zh:"Chinese",cv:"Chuvash",kw:"Cornish",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",dv:"Divehi, Dhivehi, Maldivian",nl:"Dutch, Flemish",dz:"Dzongkha",en:"English",eo:"Esperanto",et:"Estonian",ee:"Ewe",fo:"Faroese",fj:"Fijian",fi:"Finnish",fr:"French",ff:"Fulah",gl:"Galician",ka:"Georgian",de:"German",el:"Greek, Modern (1453-)",gn:"Guarani",gu:"Gujarati",ht:"Haitian, Haitian Creole",ha:"Hausa",he:"Hebrew",hz:"Herero",hi:"Hindi",ho:"Hiri Motu",hu:"Hungarian",ia:"Interlingua (International Auxiliary Language Association)",id:"Indonesian",ie:"Interlingue, Occidental",ga:"Irish",ig:"Igbo",ik:"Inupiaq",io:"Ido",is:"Icelandic",it:"Italian",iu:"Inuktitut",ja:"Japanese",jv:"Javanese",kl:"Kalaallisut, Greenlandic",kn:"Kannada",kr:"Kanuri",ks:"Kashmiri",kk:"Kazakh",km:"Central Khmer",ki:"Kikuyu, Gikuyu",rw:"Kinyarwanda",ky:"Kirghiz, Kyrgyz",kv:"Komi",kg:"Kongo",ko:"Korean",ku:"Kurdish",kj:"Kuanyama, Kwanyama",la:"Latin",lb:"Luxembourgish, Letzeburgesch",lg:"Ganda",li:"Limburgan, Limburger, Limburgish",ln:"Lingala",lo:"Lao",lt:"Lithuanian",lu:"Luba-Katanga",lv:"Latvian",gv:"Manx",mk:"Macedonian",mg:"Malagasy",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mh:"Marshallese",mn:"Mongolian",na:"Nauru",nv:"Navajo, Navaho",nd:"North Ndebele",ne:"Nepali",ng:"Ndonga",nb:"Norwegian Bokmål",nn:"Norwegian Nynorsk",no:"Norwegian",ii:"Sichuan Yi, Nuosu",nr:"South Ndebele",oc:"Occitan",oj:"Ojibwa",cu:"Church Slavic, Old Slavonic, Church Slavonic, Old Bulgarian, Old Church Slavonic",om:"Oromo",or:"Oriya",os:"Ossetian, Ossetic",pa:"Panjabi, Punjabi",pi:"Pali",fa:"Persian",pl:"Polish",ps:"Pashto, Pushto",pt:"Portuguese",qu:"Quechua",rm:"Romansh",rn:"Rundi",ro:"Romanian, Moldavian, Moldovan",ru:"Russian",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",se:"Northern Sami",sm:"Samoan",sg:"Sango",sr:"Serbian",gd:"Gaelic, Scottish Gaelic",sn:"Shona",si:"Sinhala, Sinhalese",sk:"Slovak",sl:"Slovenian",so:"Somali",st:"Southern Sotho",es:"Spanish, Castilian",su:"Sundanese",sw:"Swahili",ss:"Swati",sv:"Swedish",ta:"Tamil",te:"Telugu",tg:"Tajik",th:"Thai",ti:"Tigrinya",bo:"Tibetan",tk:"Turkmen",tl:"Tagalog",tn:"Tswana",to:"Tonga (Tonga Islands)",tr:"Turkish",ts:"Tsonga",tt:"Tatar",tw:"Twi",ty:"Tahitian",ug:"Uighur, Uyghur",uk:"Ukrainian",ur:"Urdu",uz:"Uzbek",ve:"Venda",vi:"Vietnamese",vo:"Volapük",wa:"Walloon",cy:"Welsh",wo:"Wolof",fy:"Western Frisian",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",za:"Zhuang, Chuang",zu:"Zulu"}[t]},t.toNativeName=function(t){return{ab:"аҧсуа бызшәа, аҧсшәа",aa:"Afaraf",af:"Afrikaans",ak:"Akan",sq:"Shqip",am:"አማርኛ",ar:"العربية",an:"aragonés",hy:"Հայերեն",as:"অসমীয়া",av:"авар мацӀ, магӀарул мацӀ",ae:"avesta",ay:"aymar aru",az:"azərbaycan dili",bm:"bamanankan",ba:"башҡорт теле",eu:"euskara, euskera",be:"беларуская мова",bn:"বাংলা",bh:"ोजपुरी",bi:"Bislama",bs:"bosanski jezik",br:"brezhoneg",bg:"български език",my:"ဗမာစာ",ca:";català, valencià",ch:"Chamoru",ce:"нохчийн мотт",ny:"chiCheŵa, chinyanja",zh:"中文 (Zhōngwén), 汉语, 漢語",cv:"чӑваш чӗлхи",kw:"Kernewek",co:"corsu, lingua corsa",cr:"ᓀᐦᐃᔭᐍᐏᐣ",hr:"hrvatski jezik",cs:"čeština, český jazyk",da:"dansk",dv:";ދިވެހި",nl:"Nederlands, Vlaams",dz:"རྫོང་ཁ",en:"English",eo:"Esperanto",et:"eesti, eesti keel",ee:"Eʋegbe",fo:"føroyskt",fj:"vosa Vakaviti",fi:"suomi, suomen kieli",fr:"français, langue française",ff:"Fulfulde, Pulaar, Pular",gl:"Galego",ka:"ქართული",de:"Deutsch",el:"ελληνικά",gn:"Avañe'ẽ",gu:"ગુજરાતી",ht:"Kreyòl ayisyen",ha:"(Hausa) هَوُسَ",he:"עברית",hz:"Otjiherero",hi:"हिन्दी, हिंदी",ho:";Hiri Motu",hu:"magyar",ia:"Interlingua",id:"Bahasa Indonesia",ie:"Interlingue",ga:"Gaeilge",ig:"Asụsụ Igbo",ik:"Iñupiaq, Iñupiatun",io:"Ido",is:"Íslenska",it:"Italiano",iu:"ᐃᓄᒃᑎᑐᑦ",ja:"日本語 (にほんご)",jv:"ꦧꦱꦗꦮ, Basa Jawa",kl:"kalaallisut, kalaallit oqaasii",kn:"ಕನ್ನಡ",kr:"Kanuri",ks:"कश्मीरी, كشميري",kk:"қазақ тілі",km:"្មែរ, ខេមរភាសា, ភាសាខ្មែរ",ki:"Gĩkũyũ",rw:"Ikinyarwanda",ky:"Кыргызча, Кыргыз тили",kv:"коми кыв",kg:"Kikongo",ko:"한국어",ku:"Kurdî, کوردی",kj:"Kuanyama",la:"latine, lingua latina",lb:"Lëtzebuergesch",lg:"Luganda",li:"Limburgs",ln:"Lingála",lo:"ພາສາລາວ",lt:"lietuvių kalba",lu:";Kiluba",lv:"latviešu valoda",gv:"Gaelg, Gailck",mk:"македонски јазик",mg:"fiteny malagasy",ms:"Bahasa Melayu, بهاس ملايو",ml:"മലയാളം",mt:"Malti",mi:"te reo Māori",mr:"मराठी",mh:"Kajin M̧ajeļ",mn:"Монгол хэл",na:"Dorerin Naoero",nv:";Diné bizaad",nd:";isiNdebele",ne:"नेपाली",ng:"Owambo",nb:"Norsk Bokmål",nn:"Norsk Nynorsk",no:"Norsk",ii:";ꆈꌠ꒿ Nuosuhxop",nr:";isiNdebele",oc:"occitan, lenga d'òc",oj:"ᐊᓂᔑᓈᐯᒧᐎᓐ",cu:";ѩзыкъ словѣньскъ",om:"Afaan Oromoo",or:"ଓଡ଼ିଆ",os:";ирон æвзаг",pa:";ਪੰਜਾਬੀ",pi:"पाऴि",fa:"فارسی",pl:"język polski, polszczyzna",ps:"پښتو",pt:"Português",qu:"Runa Simi, Kichwa",rm:"Rumantsch Grischun",rn:"Ikirundi",ro:";Română",ru:"русский",sa:"संस्कृतम्",sc:"sardu",sd:"सिन्धी, سنڌي، سندھی",se:";Davvisámegiella",sm:"gagana fa'a Samoa",sg:"yângâ tî sängö",sr:"српски језик",gd:";Gàidhlig",sn:"chiShona",si:";සිංහල",sk:"Slovenčina, Slovenský Jazyk",sl:"Slovenski Jezik, Slovenščina",so:"Soomaaliga, af Soomaali",st:";Sesotho",es:";Español",su:"Basa Sunda",sw:"Kiswahili",ss:"SiSwati",sv:"Svenska",ta:"தமிழ்",te:"తెలుగు",tg:"тоҷикӣ, toçikī, تاجیکی",th:"ไทย",ti:"ትግርኛ",bo:"བོད་ཡིག",tk:"Türkmen, Түркмен",tl:"Wikang Tagalog",tn:"Setswana",to:"Faka Tonga",tr:"Türkçe",ts:"Xitsonga",tt:"татар теле, tatar tele",tw:"Twi",ty:"Reo Tahiti",ug:";ئۇيغۇرچە, Uyghurche",uk:"Українська",ur:"اردو",uz:"Oʻzbek, Ўзбек, أۇزبېك",ve:"Tshivenḓa",vi:"Tiếng Việt",vo:"Volapük",wa:"Walon",cy:"Cymraeg",wo:"Wollof",fy:";Frysk",xh:"isiXhosa",yi:"ייִדיש",yo:"Yorùbá",za:"Saɯ cueŋƅ, Saw cuengh",zu:"isiZu"}[t]}}(St||(St={})),function(t){function o(t){return"af-ZA"==t||"am-ET"==t||"ar-AE"==t||"ar-BH"==t||"ar-DZ"==t||"ar-EG"==t||"ar-IQ"==t||"ar-JO"==t||"ar-KW"==t||"ar-LB"==t||"ar-LY"==t||"ar-MA"==t||"arn-CL"==t||"ar-OM"==t||"ar-QA"==t||"ar-SA"==t||"ar-SY"==t||"ar-TN"==t||"ar-YE"==t||"as-IN"==t||"az-AZ"==t||"az-Cyrl-AZ"==t||"az-Latn-AZ"==t||"ba-RU"==t||"be-BY"==t||"bg-BG"==t||"bn-BD"==t||"bn-IN"==t||"bo-CN"==t||"br-FR"==t||"bs-BA"==t||"bs-Cyrl-BA"==t||"bs-Latn-BA"==t||"ca-ES"==t||"co-FR"==t||"cs-CZ"==t||"cy-GB"==t||"da-DK"==t||"de-AT"==t||"de-CH"==t||"de-DE"==t||"de-LI"==t||"de-LU"==t||"dsb-DE"==t||"dv-MV"==t||"el-GR"==t||"en-029"==t||"en-AU"==t||"en-BZ"==t||"en-CA"==t||"en-GB"==t||"en-IE"==t||"en-IN"==t||"en-JM"==t||"en-MY"==t||"en-NZ"==t||"en-PH"==t||"en-SG"==t||"en-TT"==t||"en-US"==t||"en-ZA"==t||"en-ZW"==t||"es-AR"==t||"es-BO"==t||"es-CL"==t||"es-CO"==t||"es-CR"==t||"es-DO"==t||"es-EC"==t||"es-ES"==t||"es-GT"==t||"es-HN"==t||"es-MX"==t||"es-NI"==t||"es-PA"==t||"es-PE"==t||"es-PR"==t||"es-PY"==t||"es-SV"==t||"es-US"==t||"es-UY"==t||"es-VE"==t||"et-EE"==t||"eu-ES"==t||"fa-IR"==t||"fi-FI"==t||"fil-PH"==t||"fo-FO"==t||"fr-BE"==t||"fr-CA"==t||"fr-CH"==t||"fr-FR"==t||"fr-LU"==t||"fr-MC"==t||"fy-NL"==t||"ga-IE"==t||"gd-GB"==t||"gl-ES"==t||"gsw-FR"==t||"gu-IN"==t||"ha-Latn-NG"==t||"he-IL"==t||"hi-IN"==t||"hr-BA"==t||"hr-HR"==t||"hsb-DE"==t||"hu-HU"==t||"hy-AM"==t||"id-ID"==t||"ig-NG"==t||"ii-CN"==t||"is-IS"==t||"it-CH"==t||"it-IT"==t||"iu-Cans-CA"==t||"iu-Latn-CA"==t||"ja-JP"==t||"ka-GE"==t||"kk-KZ"==t||"kl-GL"==t||"km-KH"==t||"kn-IN"==t||"kok-IN"==t||"ko-KR"==t||"ky-KG"==t||"lb-LU"==t||"lo-LA"==t||"lt-LT"==t||"lv-LV"==t||"mi-NZ"==t||"mk-MK"==t||"ml-IN"==t||"mn-MN"==t||"mn-Mong-CN"==t||"moh-CA"==t||"mr-IN"==t||"ms-BN"==t||"ms-MY"==t||"mt-MT"==t||"nb-NO"==t||"ne-NP"==t||"nl-BE"==t||"nl-NL"==t||"nn-NO"==t||"nso-ZA"==t||"oc-FR"==t||"or-IN"==t||"pa-IN"==t||"pl-PL"==t||"prs-AF"==t||"ps-AF"==t||"pt-BR"==t||"pt-PT"==t||"qut-GT"==t||"quz-BO"==t||"quz-EC"==t||"quz-PE"==t||"rm-CH"==t||"ro-RO"==t||"ru-RU"==t||"rw-RW"==t||"sah-RU"==t||"sa-IN"==t||"se-FI"==t||"se-NO"==t||"se-SE"==t||"si-LK"==t||"sk-SK"==t||"sl-SI"==t||"sma-NO"==t||"sma-SE"==t||"smj-NO"==t||"smj-SE"==t||"smn-FI"==t||"sms-FI"==t||"sq-AL"==t||"sr-BA"==t||"sr-CS"==t||"sr-ME"==t||"sr-RS"==t||"sr-Cyrl-BA"==t||"sr-Cyrl-CS"==t||"sr-Cyrl-ME"==t||"sr-Cyrl-RS"==t||"sr-Latn-BA"==t||"sr-Latn-CS"==t||"sr-Latn-ME"==t||"sr-Latn-RS"==t||"sv-FI"==t||"sv-SE"==t||"sw-KE"==t||"syr-SY"==t||"ta-IN"==t||"te-IN"==t||"tg-TJ"==t||"tg-Cyrl-TJ"==t||"th-TH"==t||"tk-TM"==t||"tn-ZA"==t||"tr-TR"==t||"tt-RU"==t||"tzm-DZ"==t||"tzm-Latn-DZ"==t||"ug-CN"==t||"uk-UA"==t||"ur-PK"==t||"uz-UZ"==t||"uz-Cyrl-UZ"==t||"uz-Latn-UZ"==t||"vi-VN"==t||"wo-SN"==t||"xh-ZA"==t||"yo-NG"==t||"zh-CN"==t||"zh-HK"==t||"zh-MO"==t||"zh-SG"==t||"zh-TW"==t||"zu-ZA"==t}t.is=o,t.toLanguage=function(t){const o=t.split("-").shift();return St.is(o)?o:void 0},t.toAlpha2=function(t){const o=t.split("-").pop();return j.is(o)?o:void 0},t.toLocale=function(t,e){let s;return s=e?t+"-"+e:{ca:"ca-ES",co:"co-FR",da:"da-DK",de:"de-DE",en:"en-GB",es:"es-ES",et:"et-EE",fi:"fi-FI",fr:"fr-FR",is:"is-IS",ja:"ja-JP",ko:"ko-KR",lb:"lb-LU",lt:"lt-LT",nb:"nb-NO",no:"nn-NO",nl:"nl-NL",pl:"pl-PL",pt:"pt-PT",ru:"ru-RU",sv:"sv-SE"}[t],o(s)?s:void 0}}(wt||(wt={})),function(t){t.is=function(t){return"object"==typeof t&&ut.is(t.start)&&ut.is(t.end)},t.create=function t(o,e){return ut.is(e)?o<=e?{start:o,end:e}:{start:e,end:o}:t(o,ut.next(o,e))}}(kt||(kt={})),function(t){function o(t,o){return xt((Nt(t)+(t.milliseconds??0))/36e5+(t.seconds??0)/3600+(t.minutes??0)/60+(t.hours??0),o)}function e(t,o){return xt((Nt(t)+(t.milliseconds??0))/6e4+(t.seconds??0)/60+(t.minutes??0)+60*(t.hours??0),o)}function s(t,o){return xt((Nt(t)+(t.milliseconds??0))/1e3+(t.seconds??0)+60*(t.minutes??0)+60*(t.hours??0)*60,o)}function i(t,o){return xt(Nt(t)+(t.milliseconds??0)+1e3*(t.seconds??0)+60*(t.minutes??0)*1e3+60*(t.hours??0)*60*1e3,o)}function n(t,o,...e){return e.reduce(((o,e)=>Object.entries(e).reduce(((o,[e,s])=>(({[e]:o,...i})=>Object.assign(i,{[e]:+t(o??0,s??0).toFixed(9)}))(o)),o)),o)}function l(...t){return d(n(((t,o)=>t+o),{},...t))}function r(t,o){let e;const s=o?.precision??"milliseconds",i=Math.trunc(t),n=+(t%1).toFixed(9);return e="hours"!=s?{hours:i,...a(60*n,{precision:s,normalize:!1})}:{hours:i+Math.round(n)},0==o?.normalize?e:d(e)}function a(t,o){let e;const s=o?.precision??"milliseconds",i=Math.trunc(t),n=+(t%1).toFixed(7);if("minutes"!=s)e={minutes:i,...h(60*n,{precision:s,normalize:!1})};else{const t=i+Math.round(n);e=l({minutes:t%60},r(Math.trunc(t/60),{precision:"hours",normalize:!1}))}return 0==o?.normalize?e:d(e)}function h(t,o){let e;const s=o?.precision??"milliseconds",i=Math.trunc(t),n=+(t%1).toFixed(5);if("seconds"!=s)e={...i&&{seconds:i},...c(1e3*n,{normalize:!1})};else{const t=i+Math.round(n);e=l({seconds:t%60},a(Math.trunc(t/60),{precision:"minutes",normalize:!1}))}return 0==o?.normalize?e:d(e)}function c(t,o){const e=Math.round(t),s=l(e?{milliseconds:e%1e3}:{},Math.abs(e)<1e3?{}:h(Math.trunc(e/1e3),{precision:"seconds",normalize:!1}));return 0==o?.normalize?s:d(s)}function d(t){const n={milliseconds:Math.round(i(t)%1e3),seconds:Math.trunc(s(t)%60),minutes:Math.trunc(e(t)%60),hours:Math.trunc(o(t))};return-1e3<n.milliseconds&&n.milliseconds<1e3||(n.seconds+=Math.trunc(n.milliseconds/1e3),n.milliseconds=n.milliseconds%1e3),-60<n.seconds&&n.seconds<60||(n.minutes+=Math.trunc(n.seconds/60),n.seconds=n.seconds%60),-60<n.minutes&&n.minutes<60||(n.hours+=Math.trunc(n.minutes),n.minutes=n.minutes%60),Object.fromEntries(Object.entries(n).filter((([,t])=>!!t)))}t.is=function(t){return!("object"!=typeof t||!t||Array.isArray(t)||"number"!=typeof t.years&&null!=t.years||"number"!=typeof t.months&&null!=t.months||"number"!=typeof t.days&&null!=t.days||"number"!=typeof t.hours&&null!=t.hours||"number"!=typeof t.minutes&&null!=t.minutes||"number"!=typeof t.seconds&&null!=t.seconds||"number"!=typeof t.milliseconds&&null!=t.milliseconds)},t.toHours=o,t.toMinutes=e,t.toSeconds=s,t.toMilliseconds=i,t.add=l,t.subtract=function(t,...o){return d(n(((t,o)=>t-o),t,...o))},t.fromHours=r,t.fromMinutes=a,t.fromSeconds=h,t.fromMilliseconds=c,t.normalize=d}(Ct||(Ct={})),function(t){t.is=function(t){let o;try{o="string"==typeof t&&!!new Intl.DateTimeFormat("en-GB",{timeZone:t})}catch(t){o=!1}return o}}(Mt||(Mt={})),function(t){t.fromLocale=function(t){let o;switch(t){case"sq-AL":case"es-AR":case"it-IT":case"en-GB":case"fr-FR":o="dd/mm/YYYY";break;case"en-US":o="mm/dd/YYYY";break;case"et-EE":case"de-AT":case"de-DE":case"he-IL":case"is-IS":case"lv-LV":case"pl-PL":case"ru-RU":case"fi-FI":o="dd.mm.YYYY";break;case"hi-IN":case"en-IN":o="dd-mm-YYYY";break;default:o="YYYY-mm-dd"}return o},t.toLocale=function(t){let o;switch(t){case"dd/mm/YYYY":o="en-GB";break;case"mm/dd/YYYY":o="en-US";break;case"dd.mm.YYYY":o="de-DE";break;default:o="sv-SE"}return o},t.is=function(t){return"string"==typeof t&&("YYYY-mm-dd"==t||"dd/mm/YYYY"==t||"dd.mm.YYYY"==t||"mm/dd/YYYY"==t)}}(At||(At={}));class Tt{constructor(t){this.separator=t}unformat(t){return t.delete(this.separator)}validMonth(t,o,e){return new Date(Number.parseInt(e??"2004"),Number.parseInt(o),0).getDate()>=Number.parseInt(t)}}const It={};function Rt(t,o){It[t]=o}H("date",(t=>{const o=t&&t.length>0?t[0]:void 0,e=At.is(o)?o:At.fromLocale(o);return(It[e]??It["YYYY-mm-dd"])()}));class Bt extends Tt{constructor(t){super(t)}toString(t){return ht.is(t)&&10==t.length?[t.substring(8,10),t.substring(5,7),t.substring(0,4)].join(this.separator):""}fromString(t){const o=8==t?.length?`${t.substring(4,8)}-${t.substring(2,4)}-${t.substring(0,2)}`:void 0;return ht.is(o)?o:void 0}format(t){let o=t;return o.get(0,1)>"3"&&(o=o.insert(0,"0")),o.value.length>1&&(o=o.insert(2,this.separator)),o.get(3,1)>"1"&&(o=o.insert(3,"0")),o.value.length>4&&(o=o.insert(5,this.separator)),{...o,type:"text",length:[0,10],pattern:new RegExp(["^(0[1-9]|[12][0-9]|3[01])","(0[1-9]|1[012])","\\d{4}$"].join(this.separator))}}allowed(t,o){return 1==o.selection.start&&"3"==o.value[0]?t>="0"&&t<="1":1==o.selection.start&&"0"==o.value[0]?t>="1"&&t<="9":2==o.selection.start?t>="0"&&t<="9"&&("0"==t||"1"==t||this.validMonth(o.value.substring(0,2),t)):3==o.selection.start?t>="0"&&t<="9"&&this.validMonth(o.value.substring(0,2),o.value[2]+t):7==o.selection.start?t>="0"&&t<="9"&&this.validMonth(o.value.substring(0,2),o.value.substring(2,4),o.value.substring(4,7)+t):o.selection.start<8&&t>="0"&&t<="9"}}Rt("dd.mm.YYYY",(()=>new Bt("."))),Rt("dd/mm/YYYY",(()=>new Bt("/"))),Rt("dd-mm-YYYY",(()=>new Bt("-")));class Dt extends Tt{constructor(t){super(t)}toString(t){return ht.is(t)&&10==t.length?[t.substring(5,7),t.substring(8,10),t.substring(0,4)].join(this.separator):""}fromString(t){const o=8==t.length?`${t.substring(4,8)}-${t.substring(0,2)}-${t.substring(2,4)}`:void 0;return ht.is(o)?o:void 0}format(t){let o=t;return o.get(0,1)>"1"&&(o=o.insert(0,"0")),o.value.length>1&&(o=o.insert(2,this.separator)),o.get(3,1)>("02"==o.get(0,2)?"2":"3")&&(o=o.insert(3,"0")),o.value.length>4&&(o=o.insert(5,this.separator)),{...o,type:"text",length:[0,10],pattern:new RegExp(["^(0[1-9]|1[012])","(0[1-9]|[12][0-9]|3[01])","\\d{4}$"].join(this.separator))}}allowed(t,o){return 1==o.selection.start&&"1"==o.value[0]?t>="0"&&t<="2":1==o.selection.start&&"0"==o.value[0]?t>="1"&&t<="9":3==o.selection.start?t>="0"&&t<="9"&&this.validMonth(o.value[2]+t,o.value.substring(0,2)):7==o.selection.start?t>="0"&&t<="9"&&this.validMonth(o.value.substring(2,4),o.value.substring(0,2),o.value.substring(4,7)+t):o.selection.start<8&&t>="0"&&t<="9"}}Rt("mm/dd/YYYY",(()=>new Dt("/")));class Gt extends Tt{constructor(t){super(t)}toString(t){return"string"!=typeof t?"":t}fromString(t){const o=8==t?.length?`${t.substring(0,4)}-${t.substring(4,6)}-${t.substring(6,8)}`:void 0;return ht.is(o)?o:void 0}daysInMonth(t){const o=`${t.substring(0,4)}-${t.substring(4,6)}-01`;return ht.is(o)?+ht.lastOfMonth(`${t.substring(0,4)}-${t.substring(4,6)}-01`).substring(8,10):31}format(t){let o=t;return o.value.length>3&&(o=o.insert(4,this.separator),o.get(5,1)>"1"&&(o=o.insert(5,"0")),o.value.length>6&&(o=o.insert(7,this.separator),o.get(8,1)>this.daysInMonth(t.value).toString().substring(0,1)&&(o=o.insert(8,"0")))),{...o,type:"text",length:[0,10],pattern:new RegExp(["^\\d{4}","(0[1-9]|1[012])","(0[1-9]|[12][0-9]|3[01])$"].join(this.separator))}}allowed(t,o){const e=this.daysInMonth(o.value);return 5==o.selection.start&&"0"==o.value[4]?t>="1"&&t<="9":5==o.selection.start&&"1"==o.value[4]?t>="0"&&t<="2":7==o.selection.start&&"0"==o.value[6]?t>="1"&&t<="9":7==o.selection.start&&("2"==o.value[6]&&e<30||"3"==o.value[6])?t>="0"&&t<=e.toString().substring(1):o.selection.start<8&&t>="0"&&t<="9"}}Rt("YYYY-mm-dd",(()=>new Gt("-")));class Lt{toString(t){return"string"==typeof t?t:""}fromString(t){let o=t.replace(" ","T");const e="0000-01-01T00:00:00.000Z";return o?.match(/-\d$/)&&(o=o.substring(0,o.length-1)+"0"+o.substring(o.length-1,o.length)),o=o.match(/^\d{4}-(0[1-9]|1[012])/)?o+e.substring(o.length,e.length):void 0,ut.is(o)?o:void 0}format(t){let o=function(t){let o=t;switch(void 0){default:if(10==t.value.length){if(!Pt(o.value)){o=o.replace(0,10,Pt(o.value.substring(0,8)+"31")?o.value.substring(0,8)+"31":Pt(o.value.substring(0,8)+"30")?o.value.substring(0,8)+"30":Pt(o.value.substring(0,8)+"29")?o.value.substring(0,8)+"29":Pt(o.value.substring(0,8)+"28")?o.value.substring(0,8)+"28":o.value);break}return t}}return o}(t);return o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[\d:.-]$/)&&(o=o.insert(10," ")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 3$/)&&(o=o.replace(11,12,"23:")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) [45]$/)&&(o=o.insert(11,"23:")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) [6-9]$/)&&(o=o.insert(11,"23:5")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 24$/)&&(o=o.replace(10,13,"00:")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 25$/)&&(o=o.insert(12,"3:")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 2[6-9]$/)&&(o=o.insert(12,"3:5").append(":")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3])\d[\s\S]$/)&&(o=o.insert(13,":")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[6-9]$/)&&(o=o.insert(14,"5")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[0-5]\d\d$/)&&(o=o.insert(16,":")),o.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[0-5]\d:[6-9]$/)&&(o=o.insert(17,"5")),{...o,type:"text",length:[0,19],pattern:/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3])(:[0-5]\d){2}$/}}unformat(t){return t}allowed(t,o){return o.value.length<19&&(t>="0"&&t<="9"||"-"==t||":"==t||"."==t||" "==t)}}function Pt(t,o){let e,s,i;switch(o){case"dd/mm/YYYY":case"dd.mm.YYYY":return e=parseInt(t.substring(6,10)),s=parseInt(t.substring(3,5)),i=parseInt(t.substring(0,2)),!!(e&&s&&i)&&i>0&&Et(0,s)>=i;case"mm/dd/YYYY":return e=parseInt(t.substring(6,10)),s=parseInt(t.substring(0,2)),i=parseInt(t.substring(3,5)),!!(e&&s&&i)&&i>0&&Et(0,s)>=i;default:return e=parseInt(t.substring(0,4)),s=parseInt(t.substring(5,7)),i=parseInt(t.substring(8,10)),!!(e&&s&&i)&&i>0&&Et(0,s)>=i}}function Et(t,o){let e;switch(o){case 1:case 3:case 5:case 7:case 8:case 10:case 12:default:e=31;break;case 4:case 6:case 9:case 11:e=30;break;case 2:e=28}return e}H("date-time",(()=>new Lt));class Ot{toString(t){return Array.isArray(t)&&2==t.length&&"number"==typeof t[0]&&"number"==typeof t[1]?t[0].toString()+" / "+t[1].toString():"number"==typeof t?t.toString():""}fromString(t){return"string"==typeof t&&t.match(/^\d{1,2}\s+\/\s+\d{1,2}$/)?[Number.parseInt(t.slice(0,2)),Number.parseInt(t.slice(t.length-2))]:"string"==typeof t&&t.match(/\d{1,2}/)?Number.parseInt(t):void 0}format(t){let o=t;return t.match(/^\d\/$/)?o=t.replace(1,2," / "):t.match(/^\d{1,2}\s$/)?o=t.replace(t.value.length-1,t.value.length," / "):t.match(/^[\D.]+\/[\D.]+$/)?o=t.delete(0,t.value.length):t.match(/^[\D.]+\/[\D.]+\d$/)?o=t.delete(0,t.value.length-1):t.match(/^[\D.]+\/[\D.]+\d\d$/)?o=t.delete(0,t.value.length-2):t.match(/^[\D.]+\//)?o=t.delete(0,t.value.search("/")+1):t.match(/^\d\d\/$/)?o=t.replace(2,3," / "):t.match(/^\d\d\s+\/$/)?o=t.delete(2,t.value.length):t.match(/^\d\s+\/$/)?o=t.delete(1,t.value.length):t.match(/^\d\d\s\s+\/\s*$/)?o=t.replace(2,t.value.length," / "):t.match(/^\d\s\s+(\/\s*)?$/)?o=t.replace(1,t.value.length," / "):t.match(/^\d\s\/\s\d\d.+$/)?o=t.delete(6,t.value.length):t.value.length>1&&t.value.indexOf("/")<1?o=t.insert(2," / "):t.value.length>1&&t.value.split("/").length>2?o=t.delete(t.value.lastIndexOf("/")):1!=t.value.length||t.isDigit(0)||(o=t.delete(0)),{...o,type:"text",length:[1,7],pattern:/^(\d{1,2}|\d{1,2} \/ \d{1,2})$/}}unformat(t){return t}allowed(t,o){return o.value.length<7&&(t>="0"&&t<="9"||"/"==t||" "==t)}}H("divisor",(()=>new Ot));class Kt{constructor(){this.separator=":",this.patterns={allowed:/^-?\d*(?::{0,1}[0-5]{0,1}[0-9]{0,1}|[.,]{0,1}[0-9]{0,2})$/,extract:/^(-?)(\d*)([:,.]{0,1})([0-9]{0,2})$/,zeros:/^(-?)(0+)(?:[1-9]|0[,.:]?)/}}toString(t){let o;if(Ct.is(t)){const e=Ct.normalize(t);o=e.minutes||e.hours?":"!=this.separator?(+Ct.toHours(e).toFixed(2)||"").toString(10):e.hours&&!e.minutes?e.hours.toString(10):!e.hours&&e.minutes?`${e.minutes<0?"-":""}0:${Math.abs(e.minutes).toString(10)}`:`${e.hours?.toString(10)}:${Math.abs(e.minutes??0).toString(10)}`:""}else o="";return o}fromString(t){let o;const e=t.match(this.patterns.extract);if(e){const[t,s,i,n,l]=e;if(this.separator=n,":"==n){const t={hours:parseInt(i),minutes:parseInt(l)},e=s?-1:1;o=Ct.normalize({hours:Number.isFinite(t.hours)?t.hours*e:0,minutes:Number.isFinite(t.minutes)?t.minutes*e:0})}else{const e=parseFloat(t.replace(",","."));o=Ct.normalize({hours:Number.isFinite(e)?e:0})}}else o=void 0;return o}format(t){let o=t;const[,e,s,i]=t.match(this.patterns.extract)??[];!s&&i&&(o=o.insert(e?1:0,"0"));const n=o.match(this.patterns.zeros);if(n){const[,t,e]=n;if(e){const s=t?1:0;o=o.delete(s,e.length+s)}}return{...o,type:"tel",pattern:this.patterns.allowed}}unformat(t){const[,,,o]=t.match(this.patterns.extract)??[];return o&&(this.separator=o),t}allowed(t,o){return!!(o.value.slice(0,o.selection.start)+t+o.value.slice(o.selection.end)).match(this.patterns.allowed)}}H("duration",(()=>new Kt));class Ut{constructor(t){this.country=t}toString(t){return"string"==typeof t?t:""}fromString(t){return"string"==typeof t?t:void 0}format(t){let o=t;const e=(new Date).getFullYear().toString();return t.value.length>1&&"19"!=t.get(0,2)&&"20"!=t.get(0,2)&&(o=o.prepend(t.get(0,2)>e.substr(2,2)?"19":"20")),o.value.length>=8&&(o=o.insert(8,"-")),{...o.truncate(13),type:"text",length:[11,13],pattern:/^\d{6,8}-\d{4}$/}}unformat(t){return t.delete("-")}allowed(t,o){return o.value.length<13&&t>="0"&&t<="9"}}H("identity-number",(t=>new Ut(t&&t.length>0?t[0]:void 0)));class Ht{toString(t){return"string"==typeof t?t:""}fromString(t){return"string"==typeof t?t:void 0}format(t){return{...t,type:"password",autocomplete:"current-password"}}unformat(t){return t}allowed(t,o){return!0}}H("password",(()=>new Ht));class Ft{toString(t){return"number"==typeof t?(100*t).toString():""}fromString(t){const o="string"==typeof t?Number.parseFloat(t):void 0;return"number"!=typeof o||Number.isNaN(o)?void 0:o/100}format(t){return{...t.value?t.suffix(" %"):t,type:"text",length:[3,void 0],pattern:/^\d+(.\d)? %+$/}}unformat(t){return t.delete(" %")}allowed(t,o){return t>="0"&&t<="9"||"."==t&&!o.value.includes(".")}}H("percent",(()=>new Ft));const Yt=[{countryCode:"+46",areaCodes:["011","0120","0121","0122","0123","0125","013","0140","0141","0142","0143","0144","0150","0151","0152","0155","0156","0157","0158","0159","016","0171","0173","0174","0175","0176","018","019","021","0220","0221","0222","0223","0224","0225","0226","0227","023","0240","0241","0243","0246","0247","0248","0250","0251","0253","0258","026","0270","0271","0278","0280","0281","0290","0291","0292","0293","0294","0295","0297","0300","0301","0302","0303","0304","031","0320","0321","0322","0325","033","0340","0345","0346","035","036","0370","0371","0372","0380","0381","0382","0383","0390","0392","0393","040","0410","0411","0413","0414","0415","0416","0417","0418","042","0430","0431","0433","0435","044","0451","0454","0455","0456","0457","0459","046","0470","0471","0472","0474","0476","0477","0478","0479","0480","0481","0485","0486","0490","0491","0492","0493","0494","0495","0496","0498","0499","0500","0501","0502","0503","0504","0505","0506","0510","0511","0512","0513","0514","0515","0520","0521","0522","0523","0524","0525","0526","0528","0530","0531","0532","0533","0534","054","0550","0551","0552","0553","0554","0555","0560","0563","0564","0565","0570","0571","0573","0580","0581","0582","0583","0584","0585","0586","0587","0589","0590","0591","060","0611","0612","0613","0620","0621","0622","0623","0624","063","0640","0642","0643","0644","0645","0647","0650","0651","0652","0653","0657","0660","0661","0662","0663","0670","0671","0672","0680","0682","0684","0687","0690","0691","0692","0693","0695","0696","08","090","0910","0911","0912","0913","0914","0915","0916","0918","0920","0921","0922","0923","0924","0925","0926","0927","0928","0929","0930","0932","0933","0934","0935","0940","0941","0942","0943","0950","0951","0952","0953","0954","0960","0961","0970","0971","0973","0975","0976","0977","0978","0980","0981","010","020","0378","070","072","073","076","079","0710","0740","0746","0749","0741","0742","0743","0744","0745","0747","075","077","078","0900","0939","0944","0969","099"]}];class Wt{toString(t){return"string"==typeof t?t:""}fromString(t){return"string"==typeof t?t:void 0}format(t){let o=t;if(o.value.startsWith("+")){for(const t of Yt)if(o.value.startsWith(t.countryCode))for(let e of t.areaCodes)e=e.substring(1),o.value.startsWith(t.countryCode+e)&&!o.value.includes("-")&&(o=o.insert(t.countryCode.length,"-").insert(t.countryCode.length+1+e.length,"-"))}else{const t=Yt[0];for(const e of t.areaCodes)o.value.startsWith(e)&&!o.value.includes("-")&&(o=o.insert(e.length,"-"),o=o.delete(0),o=o.insert(0,"-").insert(0,t.countryCode))}if(o.value.includes("-")){const t=o.value.indexOf("-",o.value.indexOf("-")+1)+1,e=o.value.substring(t,o.value.length+1).length;switch(e){case 4:o=o.insert(t+2," ");break;case 5:o=o.insert(t+3," ");break;case 6:o=o.insert(t+2," "),o=o.insert(t+5," ");break;case 7:o=o.insert(t+3," "),o=o.insert(t+6," ");break;case 8:case 9:o=o.insert(t+3," "),o=o.insert(t+7," ")}if(e>9){const s=Math.ceil(e/3)-1;if(s>0)for(let e=0;e<s;e++)o=o.insert(3*e+3+e+t," ")}}return{...o,type:"text",autocomplete:"tel"}}unformat(t){return t.delete(" ").delete("-")}allowed(t,o){return t>="0"&&t<="9"||0==o.selection.start&&"+"==t&&!o.value.includes("+")}}H("phone",(()=>new Wt));class Zt{constructor(t){this.country=t}toString(t){return"string"==typeof t?t:""}fromString(t){return"string"==typeof t?t:void 0}format(t){return{...(!t.value.includes(" ")&&t.value.length>=4?t.insert(3," "):t).truncate(6),type:"text",autocomplete:"postal-code",length:[6,6],pattern:/^\d{3} \d{2}$/}}unformat(t){return t.delete(" ")}allowed(t,o){return o.value.length<=5&&t>="0"&&t<="9"}}H("postal-code",(t=>new Zt(t&&t.length>0?t[0]:void 0)));class Vt{constructor(t){this.currency=t}toString(t){return"number"==typeof t?isNaN(t)?"":t.toString():""}fromString(t){const o="string"==typeof t?Number.parseFloat(t):void 0;return null==o||isNaN(o)?void 0:o}format(t){let o=t.value&&t.value.includes(".")?t.value.indexOf("."):void 0,e="NaN"==t.value?t.replace(0,t.value.length,""):K.copy(t);if(0==o&&(e=e.prepend("0"),o++),null!=o){const t=o+1+(this.currency&&null!=rt.decimalDigits(this.currency)?rt.decimalDigits(this.currency)??2:2)-e.value.length;e=t<0?e.truncate(e.value.length+t):e.suffix("0".repeat(t))}else o=e.value.length;const s=o<=0?0:Math.ceil(o/3)-1;for(let t=0;t<s;t++)e=e.insert(o-3*(s-t)," "),o++;return e.match(/^[0\s]{2,}$/)?e=e.replace(0,e.value.length,"0"):e.match(/^[0\s]{2,}(\s\w{3}){1}$/)&&(e=e.replace(0,e.value.length-4,"0")),e=this.currency&&(e.value.length>1||1==e.value.length&&"."!=e.value.charAt(0))?e.suffix(" "+this.currency):e,{...e,type:"text",length:[3,void 0],pattern:new RegExp("^(\\d{0,3})( \\d{3})*(\\.\\d+)?"+(this.currency?" "+this.currency:"")+"$")}}unformat(t){return this.currency?t.delete(" ").delete(""+this.currency):t.delete(" ")}allowed(t,o){return t>="0"&&t<="9"||"."==t&&!o.value.includes(".")}}H("price",(t=>new Vt(t&&t.length>0?t[0]:void 0)));class zt{constructor(t){this.settings=t}toString(t){return"string"==typeof t?t:""}fromString(t){return"string"==typeof t?t:void 0}format(t){return{...t,type:"text",...this.settings}}unformat(t){return t}allowed(t,o){return null==this.settings.length||null==this.settings.length[1]||o.value.length<this.settings.length[1]}}H("text",(t=>new zt(t||{}))),H("email",(t=>new zt(t||{})));const Xt=class{constructor(o){t(this,o),this.type=void 0,this.value=void 0,this.currency=void 0,this.country=void 0,this.format=void 0}render(){var t,e;let s;const i=this.type;switch(i){default:s=Y(this.value,i);break;case"email":s=o("a",{href:"mailto:"+this.value},Y(this.value,i));break;case"phone":s=o("a",{href:"tel:"+this.value},Y(this.value,i,this.country));break;case"postal-code":s=Y(this.value,i,this.country);break;case"price":s=Y(this.value,i,this.currency);break;case"date":s=null===(t=F(this.type,Jt()))||void 0===t?void 0:t.toString(this.value);break;case"date-time":s=this.format?p.localize(this.value,this.format,Jt()):null===(e=F(this.type,Jt()))||void 0===e?void 0:e.toString(this.value)}return s}};function Jt(){const t=navigator.language;return y.is(t)?t:m.is(t)?y.toLocale(t):void 0}Xt.style=".sc-smoothly-display-h{display:block}[hidden].sc-smoothly-display-h{display:none}";const jt=class{constructor(o){t(this,o),this.amount=void 0,this.currency=void 0,this.toInteger=!1}format(t){const o=b.decimalDigits(this.currency)?b.decimalDigits(this.currency):2;let e,s=t.length,i=t;""==i&&(i="0"),t.includes(".")?(e=t.indexOf("."),0==e&&(i="0"+i,e++),s=e,i=i.padEnd(e+o+1,"0"),i=i.substring(0,e+o+1)):this.toInteger||(i+=".",e=i.length-1,i=i.padEnd(e+o+1,"0"));const n=Math.ceil(s/3)-1;if(n>0)for(let t=0;t<n;t++){const o=s-3*(n-t);i=i.slice(0,o)+" "+i.slice(o,i.length),s++}return i}render(){return[this.format("number"==typeof this.amount?this.amount.toString():this.amount)," ",this.currency]}};jt.style=".sc-smoothly-display-amount-h{display:block}[hidden].sc-smoothly-display-amount-h{display:none}";const $t=class{constructor(o){t(this,o),this.datetime=void 0}componentWillLoad(){console.warn('Component <smoothly-display-date-time> is deprecated, use <smoothly-display type="date-time">.')}render(){const t=this.datetime.split("T");return[t[0]," ",t[1]]}};$t.style=".sc-smoothly-display-date-time-h{display:block}[hidden].sc-smoothly-display-date-time-h{display:none}";const _t=class{constructor(o){t(this,o),this.notice=s(this,"notice",7)}noticeWarning(t){console.log("emit",t),this.notice.emit(t)}render(){return[o("main",null,o("smoothly-popup",null,o("div",null,"Popup, click me"),o("div",{color:"dark",slot:"popup"},"1 line popup")),o("smoothly-display-date-time",{datetime:"2019-08-15T08:08:17.65Z"}),o("dl",null,o("dt",null,"text"),o("dd",null,o("smoothly-display",{type:"text",value:"text"})),o("dt",null,"postal code"),o("dd",null,o("smoothly-display",{type:"postal-code",value:"752 31"})),o("dt",null,"password"),o("dd",null,o("smoothly-display",{type:"password",value:"password"})),o("dt",null,"email"),o("dd",null,o("smoothly-display",{type:"email",value:"test@example.com"})),o("dt",null,"price"),o("dd",null,o("smoothly-display",{type:"price",value:"13.37",currency:"SEK"})),o("dt",null,"display amount without decimals"),o("dd",null,o("smoothly-display-amount",{amount:200,currency:"SEK",toInteger:!0})),o("dt",null,"display amount with decimals if they are set, otherwise no decimal"),o("dd",null,o("smoothly-display-amount",{amount:200.2,currency:"SEK",toInteger:!0})),o("dt",null,"display amount with decimals"),o("dd",null,o("smoothly-display-amount",{amount:200.2,currency:"SEK"})),o("dt",null,"percent"),o("dd",null,o("smoothly-display",{type:"percent",value:"42"})),o("dt",null,"phone"),o("dd",null,o("smoothly-display",{type:"phone",value:"0101881108"})),o("dt",null,"card number"),o("dd",null,o("smoothly-display",{type:"card-number",value:"4111111111111111"})),o("dt",null,"card expires"),o("dd",null,o("smoothly-display",{type:"card-expires",value:"7/22"})),o("dt",null,"card csc"),o("dd",null,o("smoothly-display",{type:"card-csc",value:"987"})),o("dt",null,"date"),o("dd",null,o("smoothly-display",{type:"date",value:"2022-07-07"})),o("dt",null,"date time"),o("dd",null,o("smoothly-display",{type:"date-time",format:{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},value:"2022-07-07T02:02:02Z"})),o("dd",null,o("smoothly-display",{type:"date-time",format:{year:"2-digit",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},value:"2022-07-07T02:02:02Z"})),o("dd",null,o("smoothly-display",{type:"date-time",format:{year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric"},value:"2022-07-07T12:22:24Z"})),o("dd",null,o("smoothly-display",{type:"date-time",format:{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},value:"2022-07-07T12:22:24Z"})),o("dd",null,o("smoothly-display",{type:"date-time",format:{year:"numeric",month:"short",day:"numeric"},value:"2022-07-07T00:00+02:00"})),o("dd",null,o("smoothly-display",{type:"date-time",format:{year:"2-digit",month:"numeric",day:"numeric"},value:"2022-07-07T00:00+02:00"})),o("dd",null,o("smoothly-display",{type:"date-time",format:{year:"2-digit",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:"+01:00"},value:"2022-07-07T12:15Z"})),o("dt",null,"Deprecated display date time"),o("dd",null,o("smoothly-display-date-time",{datetime:"2019-01-31T20:01:34"})),o("dt",null,"Display amount"),o("dd",null,o("smoothly-display-amount",{currency:"SEK",amount:"1289.5"})),o("dt",null,"Quiet"),o("dd",null,o("smoothly-quiet",{color:"dark"},"-"))),o("smoothly-skeleton",{period:3,distance:"20rem",width:"20rem"}),o("smoothly-skeleton",{period:3,distance:"20rem",color:"200,200,255"}),o("smoothly-skeleton",{period:3,distance:"20rem",color:"var(--smoothly-warning-color)"}),o("smoothly-skeleton",{period:3,distance:"20rem"}),o("smoothly-skeleton",{align:"center",period:3,distance:"20rem",width:"20rem"}),o("smoothly-skeleton",{align:"center",period:3,distance:"20rem"}),o("smoothly-skeleton",{align:"center",period:3,distance:"20rem"}),o("smoothly-skeleton",{align:"center",period:3,distance:"20rem"}),o("smoothly-skeleton",{align:"right",period:3,distance:"20rem",width:"20rem"}),o("smoothly-skeleton",{align:"right",period:3,distance:"20rem"}),o("smoothly-skeleton",{align:"right",period:3,distance:"20rem"}),o("smoothly-skeleton",{align:"right",period:3,distance:"20rem"}),o("smoothly-urlencoded",{data:"hej=hopp&tjena=moss"}),o("div",{style:{display:"flex",justifyContent:"space-between"}},o("smoothly-popup",{direction:"down"},"Click for popup",o("span",{slot:"popup",color:"dark",style:{whiteSpace:"nowrap"}},"Some popup stuff that has a lot of text")),o("smoothly-popup",{direction:"down"},"Click for popup",o("span",{slot:"popup",color:"dark",style:{whiteSpace:"nowrap"}},"Some popup with a bunch of text."))),o("p",null,"Test of diffrent kinds of notifier:"),o("button",{onClick:()=>this.noticeWarning(r.warn("This is a test warning notice."))},"warning"),o("button",{onClick:()=>this.noticeWarning(r.succeded("This is a test success notice."))},"success"),o("button",{onClick:()=>this.noticeWarning(r.failed("This is a test danger notice."))},"danger"),o("button",{onClick:()=>this.noticeWarning(r.execute("This is a test execute notice.",(()=>new Promise((t=>window.setTimeout((()=>t([!0,"This went great"])),3e3))))))},"execute"),o("button",{onClick:()=>this.noticeWarning(r.delay("This is a test delay notice.",(()=>new Promise((t=>window.setTimeout((()=>t([!0,"This went great"])),3e3))))))},"delay"),o("div",{style:{position:"relative",height:"10em"}},"Large Spinner",o("smoothly-spinner",{active:!0,size:"large",style:{"--background-color":"255,255,255","--background-opacity":"0.2","--spinner-color":"0,130,0"}})),o("div",{style:{position:"relative",height:"10em"}},"Medium Spinner",o("smoothly-spinner",{active:!0,size:"medium"})),o("div",{style:{position:"relative",height:"10em"}},"Small Spinner",o("smoothly-spinner",{active:!0,size:"small"})),o("div",{style:{position:"absolute",left:"500px",top:"150px"}},o("smoothly-svg",{url:"https://theme.payfunc.com/intergiro/animated-logo.svg"})))]}},Qt=class{constructor(o){t(this,o),this.trigger=s(this,"trigger",7),this.message=s(this,"message",7),this.url=void 0,this.name=void 0,this.origin=void 0}get contentWindow(){const t=this.element&&this.element.firstElementChild?this.element.firstElementChild:void 0;return t&&t.contentWindow||void 0}get defaultOrigin(){const t=this.url.match(/^(([a-z]+\+)*[a-z]+:\/\/)?[^/^\n]+/);return t?t[0]:"*"}componentDidLoad(){var t;this.contentWindow&&h.listen(null!==(t=this.origin)&&void 0!==t?t:this.defaultOrigin,((t,o)=>{t==this.name&&(a.is(o)?this.trigger.emit(o):this.message.emit({destination:t,content:o}))}),window)}async send(t,o){var e,s;"string"==typeof t?h.send((null!==(e=this.origin)&&void 0!==e?e:this.defaultOrigin)+"#"+t,o,this.contentWindow):h.is(t)&&this.contentWindow&&h.send({destination:(null!==(s=this.origin)&&void 0!==s?s:this.defaultOrigin)+"#"+t.destination,content:t.destination},this.contentWindow)}render(){return o("iframe",{src:this.url+"#"+window.location.origin,height:"100%",width:"100%"})}get element(){return e(this)}};Qt.style=".sc-smoothly-frame-h{display:block;width:100%;height:100%}[hidden].sc-smoothly-frame-h{display:none}.sc-smoothly-frame-h>iframe.sc-smoothly-frame{border:none;padding:none;margin:none}";const qt=class{constructor(o){t(this,o),this.color=void 0,this.fill="solid",this.name=void 0,this.size="medium",this.toolTip=void 0,this.document=void 0}async loadDocument(){if(this.name)try{this.document=await c.load(this.name)}catch(t){console.log(t)}}async componentWillLoad(){await this.loadDocument()}hostData(){return{innerHTML:this.document?this.document.replace(' width="512" height="512"',"").replace(/(<title>)[\w\d\s-]*(<\/title>)/,`<title>${this.toolTip||""}</title>`).replace(/stroke:#000;/gi,""):'<img src="undefined.jpg"/>'}}__stencil_render(){return[]}static get watchers(){return{name:["loadDocument"]}}render(){return o(i,this.hostData(),this.__stencil_render())}};qt.style="[size].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-h{display:block;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0)}[hidden].sc-smoothly-icon-h{display:none}[size=tiny].sc-smoothly-icon-h{width:1.2em;height:1.2em}[size=small].sc-smoothly-icon-h{width:1.4em;height:1.4em}[size=medium].sc-smoothly-icon-h{width:1.8em;height:1.8em}[size=large].sc-smoothly-icon-h{width:2.8em;height:2.8em}[size=xlarge].sc-smoothly-icon-h{width:4em;height:4em}";const to=class{constructor(o){t(this,o)}render(){return[o("h1",null,"Icons"),o("div",null,["add-circle","add","airplane","alarm","albums","alert-circle","alert","american-football","analytics","aperture","apps","archive","arrow-back-circle","arrow-back","arrow-down-circle","arrow-down","arrow-forward-circle","arrow-forward","arrow-redo-circle","arrow-redo","arrow-undo-circle","arrow-undo","arrow-up-circle","arrow-up","at-circle","at","attach","backspace","bandage","barbell","bar-chart","barcode","baseball","basketball","basket","battery-charging","battery-dead","battery-full","battery-half","beaker","bed","beer","bicycle","bluetooth","boat","body","bonfire","bookmarks","bookmark","book","briefcase","browsers","brush","bug","build","bulb","business","bus","cafe","calculator","calendar","call","camera-reverse","camera","card","caret-back-circle","caret-back","caret-down-circle","caret-down","caret-forward-circle","caret-forward","caret-up-circle","caret-up","car-sport","car","cart","cash","cellular","chatbox-ellipses","chatbox","chatbubble-ellipses","chatbubbles","chatbubble","checkbox","checkmark-circle","checkmark-done-circle","checkmark-done","checkmark","chevron-back-circle","chevron-back","chevron-down-circle","chevron-down","chevron-forward-circle","chevron-forward","chevron-up-circle","chevron-up","clipboard","close-circle","close","cloud-circle","cloud-done","cloud-download","cloud-offline","cloud","cloud-upload","cloudy-night","cloudy","code-download","code-slash","code","code-working","cog","color-fill","color-filter","color-palette","color-wand","compass","construct","contract","contrast","copy","create","crop","cube","cut","desktop","disc","document-attach","documents","document","document-text","download","duplicate","ear","earth","easel","egg","ellipse","ellipsis-horizontal-circle","ellipsis-horizontal","ellipsis-vertical-circle","ellipsis-vertical","enter","exit","expand","eyedrop","eye-off","eye","fast-food","female","file-tray-full","file-tray-stacked","file-tray","film","filter","finger-print","fitness","flag","flame","flashlight","flash-off","flash","flask","flower","folder-open","folder","football","funnel","game-controller","gift","git-branch","git-commit","git-compare","git-merge","git-network","git-pull-request","glasses","globe","golf","grid","hammer","hand-left","hand-right","happy","hardware-chip","headset","heart-circle","heart-dislike-circle","heart-dislike","heart-half","heart","help-buoy","help-circle","help","home","hourglass","ice-cream","images","image","infinite","information-circle","information","journal","keypad","key","language","laptop","layers","leaf","library","link","list-circle","list","locate","location","lock-closed","lock-open","log-in","logo-amazon","logo-amplify","logo-android","logo-angular","logo-apple-appstore","logo-apple","logo-behance","logo-bitbucket","logo-bitcoin","logo-buffer","logo-capacitor","logo-chrome","logo-closed-captioning","logo-codepen","logo-css3","logo-designernews","logo-docker","logo-dribbble","logo-dropbox","logo-edge","logo-electron","logo-euro","logo-facebook","logo-firebase","logo-firefox","logo-flickr","logo-foursquare","logo-github","logo-gitlab","logo-google-playstore","logo-google","logo-hackernews","logo-html5","logo-instagram","logo-ionic","logo-ionitron","logo-javascript","logo-laravel","logo-linkedin","logo-markdown","logo-medium","logo-nodejs","logo-no-smoking","logo-npm","logo-octocat","logo-paypal","logo-pinterest","logo-playstation","logo-pwa","logo-python","logo-react","logo-reddit","logo-rss","logo-sass","logo-skype","logo-slack","logo-snapchat","logo-soundcloud","logo-stackoverflow","logo-steam","logo-stencil","logo-tiktok","logo-tumblr","logo-tux","logo-twitch","logo-twitter","logo-usd","log-out","logo-web-component","logo-venmo","logo-whatsapp","logo-vimeo","logo-windows","logo-vk","logo-wordpress","logo-vue","logo-xbox","logo-xing","logo-yahoo","logo-yen","logo-youtube","magnet","mail-open","mail","mail-unread","male-female","male","man","map","medal","medical","medkit","megaphone","menu","mic-circle","mic-off-circle","mic-off","mic","moon","move","musical-notes","musical-note","navigate-circle","navigate","newspaper","notifications-circle","notifications-off-circle","notifications-off","notifications","nuclear","nutrition","open","options","paper-plane","partly-sunny","pause-circle","pause","paw","pencil","people-circle","people","person-add","person-circle","person-remove","person","phone-landscape","phone-portrait","pie-chart","pin","pint","pizza","planet","play-back-circle","play-back","play-circle","play-forward-circle","play-forward","play-skip-back-circle","play-skip-back","play-skip-forward-circle","play-skip-forward","play","podium","power","pricetags","pricetag","print","pulse","push","qr-code","radio-button-off","radio-button-on","radio","rainy","reader","receipt","recording","refresh-circle","refresh","reload-circle","reload","remove-circle","remove","reorder-four","reorder-three","reorder-two","repeat","resize","restaurant","return-down-back","return-down-forward","return-up-back","return-up-forward","ribbon","rocket","rose","sad","save","scan-circle","scan","school","search-circle","search","send","server","settings","shapes","share-social","share","shield-checkmark","shield","shirt","shuffle","skull","snow","speedometer","square","star-half","star","stats-chart","stop-circle","stop","stopwatch","subway","sunny","swap-horizontal","swap-vertical","sync-circle","sync","tablet-landscape","tablet-portrait","tennisball","terminal","text","thermometer","thumbs-down","thumbs-up","thunderstorm","timer","time","today","toggle","trail-sign","train","transgender","trash-bin","trash","trending-down","trending-up","triangle","trophy","tv","umbrella","walk","wallet","warning","watch","water","videocam","wifi","wine","volume-high","volume-low","volume-medium","volume-mute","volume-off","woman"].map((t=>o("smoothly-icon",{name:t,toolTip:t}))))]}};to.style=".sc-smoothly-icon-demo-h{display:block;padding:1rem;max-width:900px;margin:auto}.sc-smoothly-icon-demo-h>div.sc-smoothly-icon-demo{display:flex;flex-wrap:wrap;justify-content:center}.sc-smoothly-icon-demo-h>div.sc-smoothly-icon-demo>smoothly-icon.sc-smoothly-icon-demo{margin:1.5rem}";const oo=class{constructor(o){t(this,o),this.smoothlyBlur=s(this,"smoothlyBlur",7),this.smoothlyChange=s(this,"smoothlyChange",7),this.smoothlyInput=s(this,"smoothlyInput",7),this.keepFocusOnReRender=!1,this.name=void 0,this.value=void 0,this.type="text",this.required=!1,this.minLength=0,this.showLabel=!0,this.maxLength=Number.POSITIVE_INFINITY,this.autocomplete=!0,this.pattern=void 0,this.placeholder=void 0,this.disabled=!1,this.readonly=!1,this.currency=void 0,this.initialValue=void 0}get formatter(){let t;return t="price"===this.type?F("price",this.currency):F(this.type,function(){const t=navigator.language;return y.is(t)?t:m.is(t)?y.toLocale(t):void 0}()),t||F("text")}newState(t){const o=this.formatter;return o.format(K.copy(o.unformat(K.copy(t))))}valueWatcher(t,o){this.lastValue!=t&&(this.lastValue=t,this.state=Object.assign(Object.assign({},this.state),{value:this.newState({value:this.formatter.toString(t),selection:this.state.selection}).value})),t!=o&&("string"==typeof t&&(t=t.trim()),this.smoothlyInput.emit({name:this.name,value:t}))}onCurrency(){this.state=Object.assign(Object.assign({},this.state),{value:this.newState({value:this.formatter.toString(this.value),selection:this.state.selection}).value,pattern:this.newState({value:this.formatter.toString(this.value),selection:this.state.selection}).pattern})}componentWillLoad(){const t=this.formatter.toString(this.value)||"";this.lastValue=this.value;const o=t.length;this.state=this.newState({value:t,selection:{start:o,end:o,direction:"none"}})}componentDidRender(){this.keepFocusOnReRender&&(this.inputElement.focus(),this.keepFocusOnReRender=!1)}async getFormData(t){const o={},e=document.forms.namedItem(t);if(e){const t=e.elements;for(let e=0;e<t.length;e++){const s=t.item(e);this.hasNameAndValue(s)&&s.name&&(o[s.name]=s.value)}const s=e.getElementsByTagName("smoothly-input");for(let t=0;t<s.length;t++){const e=s.item(t);this.hasNameAndValue(e)&&e.name&&(o[e.name]=e.value)}}return o}hasNameAndValue(t){return"string"==typeof t.name&&"string"==typeof t.value}async setKeepFocusOnReRender(t){this.keepFocusOnReRender=t}async setSelectionRange(t,o,e){this.state=this.newState(Object.assign(Object.assign({},this.state),{selection:{start:t,end:o,direction:null!=e?e:this.state.selection.direction}}));const s=this.formatter.format(K.copy(this.formatter.unformat(K.copy(Object.assign({},this.state)))));this.updateBackend(s,this.inputElement)}onBlur(t){this.smoothlyBlur.emit(),this.initialValue!=this.value&&this.smoothlyChange.emit({name:this.name,value:this.value}),this.initialValue=void 0}onFocus(t){this.initialValue=this.value;const o=this.formatter.format(K.copy(this.formatter.unformat(K.copy(Object.assign({},this.state)))));t.target&&this.updateBackend(o,t.target)}onClick(t){const o=t.target;this.state=Object.assign(Object.assign({},this.state),{value:o.value,selection:{start:null!=o.selectionStart?o.selectionStart:o.value.length,end:null!=o.selectionEnd?o.selectionEnd:o.value.length,direction:o.selectionDirection?o.selectionDirection:"none"}});const e=this.newState(Object.assign({},this.state));this.updateBackend(e,o)}onKeyDown(t){if(t.key&&"Unidentified"!=t.key){const o=t.target;this.state=Object.assign(Object.assign({},this.state),{value:o.value,selection:{start:null!=o.selectionStart?o.selectionStart:o.value.length,end:null!=o.selectionEnd?o.selectionEnd:o.value.length,direction:o.selectionDirection?o.selectionDirection:"none"}}),(!t.ctrlKey&&!t.metaKey||"v"!=t.key&&"x"!=t.key&&"c"!=t.key)&&1==t.key.length||"ArrowLeft"==t.key||"ArrowRight"==t.key||"Delete"==t.key||"Backspace"==t.key||"Home"==t.key||"End"==t.key?(t.preventDefault(),this.processKey(t,o)):"ArrowUp"!=t.key&&"ArrowDown"!=t.key||t.preventDefault()}}onPaste(t){t.preventDefault();let o=t.clipboardData?t.clipboardData.getData("text").trim():"";const e=t.target;o=this.expiresAutocompleteFix(e,o),this.processPaste(o,e)}onInput(t){var o;if("insertReplacementText"==t.inputType)this.processKey({key:"a",ctrlKey:!0},t.target),[...null!==(o=t.data)&&void 0!==o?o:""].forEach((o=>this.processKey({key:o},t.target)));else{const o=t.target;let e=o.value;if(e){t.preventDefault(),this.processKey({key:"a",ctrlKey:!0},o),e=this.expiresAutocompleteFix(o,e);for(const t of e)this.processKey({key:t},o)}}}expiresAutocompleteFix(t,o){var e;return"cc-exp"==(null===(e=t.attributes.getNamedItem("autocomplete"))||void 0===e?void 0:e.value)&&(o=o.match(/^20\d\d[.\D]*\d\d$/)?o.substring(o.length-2,o.length)+o.substring(2,4):o.match(/^(1[3-9]|[2-9]\d)[.\D]*\d\d$/)?o.substring(o.length-2,o.length)+o.substring(0,2):o.match(/^\d\d[.\D]*20\d\d$/)?o.substring(0,2)+o.substring(o.length-2,o.length):o),o}processPaste(t,o){if(!this.readonly){const e=O.paste(this.formatter,this.state,t);this.updateBackend(e,o)}}processKey(t,o){if(!this.readonly){const e=O.apply(this.formatter,this.state,t);this.updateBackend(e,o)}}updateBackend(t,o){t.value!=o.value&&(o.value=t.value),null!=o.selectionStart&&t.selection.start!=o.selectionStart&&(o.selectionStart=t.selection.start),null!=o.selectionEnd&&t.selection.end!=o.selectionEnd&&(o.selectionEnd=t.selection.end),o.selectionDirection=t.selection.direction?t.selection.direction:o.selectionDirection,this.state=t,this.value=this.lastValue=this.formatter.fromString(this.formatter.unformat(K.copy(Object.assign({},this.state))).value)}render(){var t,e,s,n,l,r,a;return o(i,{class:{"has-value":null!=(null===(t=this.state)||void 0===t?void 0:t.value)&&""!=(null===(e=this.state)||void 0===e?void 0:e.value)},onclick:()=>{var t;return null===(t=this.inputElement)||void 0===t?void 0:t.focus()}},o("div",null,o("input",{name:this.name,type:null===(s=this.state)||void 0===s?void 0:s.type,placeholder:this.placeholder,required:this.required,autocomplete:this.autocomplete?null===(n=this.state)||void 0===n?void 0:n.autocomplete:"off",disabled:this.disabled,readOnly:this.readonly,pattern:(null===(l=this.state)||void 0===l?void 0:l.pattern)&&(null===(r=this.state)||void 0===r?void 0:r.pattern.source),value:null===(a=this.state)||void 0===a?void 0:a.value,onInput:t=>this.onInput(t),onFocus:t=>this.onFocus(t),onClick:t=>this.onClick(t),onBlur:t=>this.onBlur(t),onKeyDown:t=>this.onKeyDown(t),ref:t=>this.inputElement=t,onPaste:t=>this.onPaste(t)}),o("label",{htmlFor:this.name},o("slot",null)),o("smoothly-icon",{name:"alert-circle",color:"danger",fill:"clear",size:"small"})))}static get watchers(){return{value:["valueWatcher"],currency:["onCurrency"]}}};oo.style=".sc-smoothly-input-h{display:block;position:relative;font-weight:var(--smoothly-font-weight);padding:var(--padding);overflow:hidden;background-color:rgb(var(--background-color));color:rgb(var(--text-color, var(--smoothly-default-contrast)))}[hidden].sc-smoothly-input-h{display:none}.sc-smoothly-input-h>div.sc-smoothly-input{position:relative;width:100%;height:100%}label.sc-smoothly-input{position:absolute;left:0.4em;top:0.6em;color:rgb(var(--text-color, var(--smoothly-default-contrast)));opacity:0.8;user-select:none;cursor:inherit;transition:transform 0.1s;transform-origin:top left;transition-timing-function:ease}.sc-smoothly-input-h:not([show-label]) label.sc-smoothly-input{display:none}.sc-smoothly-input-h:not([show-label]) input.sc-smoothly-input{padding:0.7em 0.3em 0.7em 0.4em}input.sc-smoothly-input{padding:1.2em 0.3em 0.2em 0.4em;box-sizing:border-box;width:100%;height:100%;background:none;border:0;z-index:1;position:relative;font-size:1rem;font-family:var(--smoothly-font-family);background-color:rgb(var(--background-color))}smoothly-icon.sc-smoothly-input{display:none;position:absolute;right:0.2em;top:0.6em}input.sc-smoothly-input:invalid+label.sc-smoothly-input+smoothly-icon.sc-smoothly-input{display:block}.sc-smoothly-input-h>div.sc-smoothly-input>label.sc-smoothly-input{z-index:1;pointer-events:none}.has-value.sc-smoothly-input-h>div.sc-smoothly-input>label.sc-smoothly-input,.sc-smoothly-input-h:focus-within>div.sc-smoothly-input>label.sc-smoothly-input{top:0.4em;transform:scale(0.6)}input.sc-smoothly-input:focus{outline:none}input.sc-smoothly-input:-webkit-autofill,input.sc-smoothly-input:-webkit-autofill:hover,input.sc-smoothly-input:-webkit-autofill:focus,input.sc-smoothly-input:-webkit-autofill:active{box-shadow:0 0 0 40em rgb(var(--background-color)) inset;-webkit-box-shadow:0 0 0 40em rgb(var(--background-color)) inset}input.sc-smoothly-input:-webkit-autofill,input.sc-smoothly-input:-webkit-autofill+label.sc-smoothly-input{-webkit-text-fill-color:rgb(var(--text-color, var(--smoothly-default-contrast)))}";const eo=class{constructor(o){t(this,o),this.valueChanged=s(this,"valueChanged",7),this.name=void 0,this.value=void 0,this.open=void 0,this.max=void 0,this.min=void 0,this.disabled=void 0,this.flexible=!1,this.color="default"}onStart(t){this.valueChanged.emit(t)}dateSetHandler(t){this.open=!1,t.stopPropagation()}render(){var t;return[o("smoothly-input",{name:this.name,onFocus:()=>this.open=!this.open,onClick:()=>this.open=!this.open,disabled:this.disabled,type:"date",value:this.value,onSmoothlyInput:t=>this.value=t.detail.value},o("slot",null)),this.open&&!this.disabled?[o("div",{onClick:()=>this.open=!1}),o("nav",{class:{flexible:this.flexible}},o("div",{class:"arrow",color:this.color}),o("smoothly-calendar",{doubleInput:!1,value:null!==(t=this.value)&&void 0!==t?t:d.now(),onValueChanged:t=>{this.value=t.detail,t.stopPropagation()},color:this.color,max:this.max,min:this.min}))]:[]]}static get watchers(){return{value:["onStart"]}}};eo.style=".sc-smoothly-input-date-h{position:relative;max-width:100vw}.sc-smoothly-input-date-h>nav.sc-smoothly-input-date{position:absolute;z-index:10;top:3.5em;background-color:rgb(var(--smoothly-color-shade));min-width:18em}.sc-smoothly-input-date-h>.flexible.sc-smoothly-input-date{min-width:unset}.sc-smoothly-input-date-h>div.sc-smoothly-input-date{position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100vh;z-index:2}.sc-smoothly-input-date-h>nav.sc-smoothly-input-date>.arrow.sc-smoothly-input-date{position:absolute;z-index:9;transform:translate(2em, -0.55em) rotate(45deg);width:1em;height:1em;background-color:rgb(var(--smoothly-color-shade))}@media screen and (min-width: 400px){nav.sc-smoothly-input-date{position:absolute;z-index:10;top:3.5em;background-color:rgb(var(--smoothly-color-shade));max-width:22em}}";const so=class{constructor(o){t(this,o),this.valueChanged=s(this,"valueChanged",7),this.dateRangeClear=s(this,"dateRangeClear",7),this.dateRangeSelected=s(this,"dateRangeSelected",7),this.value=void 0,this.start=void 0,this.end=void 0,this.max=void 0,this.min=void 0,this.open=void 0,this.disabled=!1,this.showLabel=!0,this.labelStart="from",this.labelEnd="to",this.clearable=!1}onValue(t){this.valueChanged.emit(t)}onStartChanged(t){this.start=t.detail}onEndChanged(t){this.end=t.detail}onDateRangeSet(t){this.open=!1,t.stopPropagation(),g.is(t.detail)&&this.dateRangeSelected.emit(t.detail)}async clear(){this.start=void 0,this.end=void 0,this.value=void 0,this.dateRangeClear.emit()}render(){var t;return[o("section",null,o("div",{onClick:()=>this.open=!this.disabled&&!this.open},o("smoothly-input",{type:"date",value:this.start,showLabel:this.showLabel,onSmoothlyInput:t=>this.start=t.detail.value},`${this.labelStart}`),o("span",null,"–"),o("smoothly-input",{type:"date",showLabel:this.showLabel,value:this.end,onSmoothlyInput:t=>this.end=t.detail.value},`${this.labelEnd}`)),this.clearable&&o("smoothly-icon",{name:"close-circle",size:"small",onClick:this.clear.bind(this)})),this.open?o("div",{onClick:()=>this.open=!1}):[],this.open?o("nav",null,o("div",{class:"arrow"}),o("smoothly-calendar",{doubleInput:!0,value:null!==(t=this.value)&&void 0!==t?t:d.now(),onValueChanged:t=>{this.value=t.detail,t.stopPropagation()},start:this.start,end:this.end,max:this.max,min:this.min})):[]]}static get watchers(){return{value:["onValue"]}}};so.style=".sc-smoothly-input-date-range-h{position:relative;display:block;width:fit-content}.sc-smoothly-input-date-range-h>nav.sc-smoothly-input-date-range{position:absolute;z-index:10;top:3.5em;background-color:rgb(var(--smoothly-default-shade));max-width:22em}.sc-smoothly-input-date-range-h>div.sc-smoothly-input-date-range{position:fixed;top:0px;left:0px;right:0px;bottom:0px;width:100vw;height:100vh;z-index:2}.sc-smoothly-input-date-range-h>nav.sc-smoothly-input-date-range>.arrow.sc-smoothly-input-date-range{position:absolute;z-index:9;transform:translate(10em, -0.55em) rotate(45deg);width:1em;height:1em;background-color:rgb(var(--smoothly-default-shade))}.sc-smoothly-input-date-range-h>section.sc-smoothly-input-date-range{display:flex;background-color:var(--background, transparent);border-radius:0.25rem;cursor:pointer;align-items:center}.sc-smoothly-input-date-range-h>section.sc-smoothly-input-date-range>div.sc-smoothly-input-date-range{display:flex;align-items:center}smoothly-icon.sc-smoothly-input-date-range{margin-right:0.5rem}smoothly-input.sc-smoothly-input-date-range{border-radius:var(--border-radius, none);background-color:transparent;width:var(--input-width)}span.sc-smoothly-input-date-range{padding:0.5em 0.2em 0.5em 0.2em;align-self:center}";const io=class{constructor(o){t(this,o)}render(){return[o("form",{action:"done",style:{position:"relative"}},o("header",null,o("h5",null,"Form")),o("main",null,o("fieldset",null,o("h2",null,"Smoothly Input"),o("h3",null,"Card"),o("smoothly-input",{type:"text",name:"name",readonly:!0,value:"Readonly",onSmoothlyBlur:()=>console.log("smoothly blur")},"Readonly"),o("smoothly-input",{type:"text",name:"name.last",onSmoothlyChange:()=>console.log("smoothly change event")},"Name"),o("smoothly-input",{type:"text",name:"name.first",onSmoothlyChange:()=>console.log("smoothly change event")},"Name"),o("smoothly-input-date",null),o("smoothly-input",{type:"date",name:"date"},"Date"),o("smoothly-input",{type:"date-time",name:"date-time"},"Date-Time"),o("smoothly-input",{type:"divisor",name:"divisor"},"Divisor"),o("smoothly-input",{type:"text",name:"street",value:"street"},"Street"),o("smoothly-input",{type:"card-number",name:"card"},"Card #"),o("smoothly-input",{type:"card-expires",name:"card",style:{width:"calc(60% - 2px)"}},"Expires"),o("smoothly-input",{type:"card-csc",name:"card",style:{width:"calc(40% - 1px)",borderLeft:"none"}},"CVV/CVC"),o("h3",null,"Contact"),o("smoothly-input",{type:"postal-code",name:"zip",style:{width:"calc(60% - 2px)"}},"ZipCode"),o("smoothly-input",{type:"text",name:"testing"},"Texttest"),o("smoothly-input",{type:"password",name:"password"},"Password"),o("smoothly-input",{type:"email",name:"email"},"Email"),o("smoothly-input",{type:"price",currency:"SEK",name:"price"},"Price"),o("smoothly-input",{type:"percent",name:"percent"},"Percent"),o("smoothly-input",{type:"phone",name:"phone"},"Phone"),o("smoothly-input-date",{name:"some-date"},"Calendar"),o("smoothly-input-date",{name:"some-date",color:"tertiary"},"Calendar (chosen color)"),o("smoothly-input-date",{name:"some-date",flexible:!0},"Calendar (no min-width)")),o("fieldset",null,o("h2",null,"Smoothly Radio"),o("h3",null,"Deselectable Radio List with button"),o("smoothly-radio-button",{deselectable:!0,decoration:"button"},o("smoothly-radio-button-item",{value:{some:"content",yes:"sir"},color:"primary",iconColor:"medium"},o("span",null,"Option 1"),o("span",{slot:"expansion"},"Some description.")),o("smoothly-radio-button-item",{value:{some:"thing",yes:"miss"},iconColor:"light"},o("span",null,"Option 2"),o("span",{slot:"expansion"},"Some other description.")),o("smoothly-radio-button-item",{value:{some:"one",yes:"kid"},iconColor:"danger"},o("span",null,"Option 3")),o("smoothly-radio-button-item",{value:{some:"some",yes:"thing"},disabled:!0},o("span",null,"Option 4 (Disabled)"))),o("h3",null,"Radio List with button"),o("smoothly-radio-button",{decoration:"button"},o("smoothly-radio-button-item",{value:{some:"content",yes:"sir"},color:"warning"},o("span",null,"Option 1"),o("span",{slot:"expansion"},"Some description.")),o("smoothly-radio-button-item",{value:{some:"thing",yes:"miss"}},o("span",null,"Option 2"),o("span",{slot:"expansion"},"Some other description.")),o("smoothly-radio-button-item",{value:{some:"one",yes:"kid"}},o("span",null,"Option 3"))),o("h3",null,"Radio List ",o("b",null,"without button")),o("smoothly-radio-button",null,o("smoothly-radio-button-item",{value:{some:"content",yes:"sir"},selected:!0,color:"light"},o("span",null,"Option 1"),o("span",{slot:"expansion"},"Some description.")),o("smoothly-radio-button-item",{value:{some:"thing",yes:"miss"},color:"light"},o("span",null,"Option 2"),o("span",{slot:"expansion"},"Some other description.")),o("smoothly-radio-button-item",{value:{some:"one",yes:"kid"},color:"light"},o("span",null,"Option 3"))),o("smoothly-radio",{name:"option",value:"1"},"option 1"),o("smoothly-radio",{name:"option",value:"2",checked:!0},"option 2"),o("smoothly-radio",{name:"option",value:"3"},"option 3")),o("fieldset",null,o("h2",null,"Smoothly Accordion"),o("smoothly-accordion",null,o("smoothly-accordion-item",{name:"A",open:!0},o("smoothly-radio",{name:"a",value:"1"},"a 1"),o("smoothly-radio",{name:"a",value:"2",checked:!0},"a 2"),o("smoothly-radio",{name:"a",value:"3"},"a 3")),o("smoothly-accordion-item",{name:"B"},o("smoothly-radio",{name:"b",value:"1"},"b 1"),o("smoothly-radio",{name:"b",value:"2"},"b 2"),o("smoothly-radio",{name:"b",value:"3"},"b 3")))),o("fieldset",null,o("h2",null,"Smoothly checkbox"),o("smoothly-checkbox",{selectAll:!0,intermediate:!0}),o("smoothly-checkbox",null),o("smoothly-checkbox",{disabled:!0})),o("fieldset",null,o("h2",null,"Smoothly addresses"),o("smoothly-address-display",{value:'{ "countryCode": "SE", "street": "Korkstigen 2", "zipCode": "654 31", "city": "Fejksala" }'}),o("smoothly-address",{editable:!1,value:'{ "countryCode": "SE", "street": "Stigvägen 34", "zipCode": "123 45", "city": "Hobbiton" }'}),o("smoothly-addresses",{allowed:"billing delivery visit",editable:!0,value:'{ "billing": { "countryCode": "SE", "street": "Rundslingan 3", "zipCode": "987 65", "city": "Klotby" }, "visit": { "countryCode": "SE", "street": "Gångbanan 34", "zipCode": "543 21", "city": "Traskträsk" } }'}))),o("footer",null,o("smoothly-submit",{expand:"block",onSubmit:t=>alert(t),color:"success"},"Submit"),o("smoothly-submit",{disabled:!0,expand:"block",onClick:t=>console.log(t),onSubmit:t=>alert(t),color:"success"},"Submit"),o("smoothly-trigger",{expand:"block",color:"success",onClick:t=>console.log(t.detail)},"Trigger"))),o("smoothly-backtotop",null)]}},no=class{constructor(o){t(this,o),this.valueChanged=s(this,"valueChanged",7),this.value=void 0}onValueChanged(t){this.valueChanged.emit(t)}adjustMonth(t){var o;const e=d.parse(null!==(o=this.value)&&void 0!==o?o:d.now());e.setMonth(e.getMonth()+t),this.value=d.create(e)}render(){var t,e;return[o("div",{onClick:()=>this.adjustMonth(-1)},o("smoothly-icon",{name:"chevron-back-outline",size:"tiny"})),o("smoothly-selector",{onSelected:t=>this.value=t.detail},A(null!==(t=this.value)&&void 0!==t?t:d.now()).map((t=>o("smoothly-item",{value:t.date,selected:t.selected},t.name)))),o("smoothly-selector",{onSelected:t=>this.value=t.detail},M(null!==(e=this.value)&&void 0!==e?e:d.now()).map((t=>o("smoothly-item",{value:t.date,selected:t.selected},t.name)))),o("div",{onClick:()=>this.adjustMonth(1)},o("smoothly-icon",{name:"chevron-forward-outline",size:"tiny"}))]}static get watchers(){return{value:["onValueChanged"]}}};no.style=".sc-smoothly-input-month-h{display:flex;justify-content:space-between;font-size:large;align-items:center}smoothly-icon.sc-smoothly-input-month{font-size:smaller}";const lo=class{constructor(o){t(this,o),this.itemSelected=s(this,"itemSelected",7),this.value=void 0,this.selected=void 0,this.marked=void 0}onSelectedChanged(t,o){t&&!o&&this.itemSelected.emit()}onClick(){this.selected=!0,this.itemSelected.emit()}componentDidLoad(){this.selected&&this.itemSelected.emit()}async filter(t){return!(this.element.hidden=!!t&&!(("string"==typeof this.value?this.value:JSON.stringify(this.value)).toLowerCase().includes(t)||this.element.innerText.toLowerCase().includes(t)))}render(){return o(i,{tabIndex:-1},o("slot",null))}get element(){return e(this)}static get watchers(){return{selected:["onSelectedChanged"]}}};lo.style="[selected].sc-smoothly-item-h{background-color:rgb(var(--smoothly-primary-shade));color:rgb(var(--smoothly-primary-contrast))}.sc-smoothly-item-h{padding:0.5em;cursor:pointer;background-color:rgb(var(--smoothly-default-shade));color:rgb(var(--smoothly-default-contrast));border:rgb(var(--smoothly-default-shade) solid 1px)}[marked].sc-smoothly-item-h,.sc-smoothly-item-h:hover{background-color:rgb(var(--smoothly-primary-color));color:rgb(var(--smoothly-primary-contrast))}";const ro=class{constructor(o){t(this,o),this.menuEmpty=s(this,"menuEmpty",7),this.optionElements=[],this.filteredOptions=[],this.highlightIndex=0,this.keyword=void 0,this.toggle=!1,this.emptyMenuLabel="No Options",this.newOptionLabel="Add:",this.maxMenuHeight=void 0,this.order=!1,this.optionStyle=void 0,this.options=[],this.resetHighlightOnOptionsChange=!0,this.mutable=!1}optionsChangeHandler(){this.highlightIndex=this.resetHighlightOnOptionsChange?0:this.highlightIndex}optionHoverHandler(t){t.detail.value&&this.setHighlight(t.detail.value),t.stopPropagation()}async moveHighlight(t){this.filteredOptions.length>0&&this.setHighlight((this.highlightIndex+t+this.filteredOptions.length)%this.filteredOptions.length,!0)}async setHighlight(t,o=!1){if("number"==typeof t)this.highlightIndex=t,o&&this.scrollTo(this.highlightIndex);else{const e=t;let s=!1;this.filteredOptions.forEach(((t,i)=>{const n=t.value==e;this.highlightIndex=n?i:this.highlightIndex,n&&o&&this.scrollTo(i),s=!!n||s})),s||this.setHighlight(0,!0)}}async getHighlighted(){let t;return null!=this.highlightIndex&&this.filteredOptions.length>0&&(t=this.filteredOptions[this.highlightIndex]),t}async filterOptions(t,o=[]){this.keyword=t;const e=t.toLowerCase();if(this.filteredOptions=[],""==e)this.showAllOptions();else for(const t of this.options)(t.name+(t.aliases?t.aliases.join(" "):"")).toLowerCase().includes(e)&&!o.includes(t.value)&&this.filteredOptions.push(t);this.menuEmpty.emit(!this.filteredOptions.length),this.order&&this.sortOptions(t)}showAllOptions(){this.filteredOptions=[...this.options]}sortOptions(t){const o=t.toLowerCase();this.filteredOptions.sort(((t,e)=>this.getPriorityScore(t,o)-this.getPriorityScore(e,o)))}getPriorityScore(t,o){let e=Number.MAX_SAFE_INTEGER;const s=t.name,i=`${s||""} ${(t.aliases?t.aliases.join(" "):"")||""}`.toLowerCase();return s&&(e=i.split(" ").reduce(((t,e)=>{const s=e.indexOf(o);return-1!=s&&s<t?s:t}),Number.MAX_SAFE_INTEGER)),e}scrollTo(t){var o;const e=null===(o=this.firstOptionsElement)||void 0===o?void 0:o.getBoundingClientRect().height;if(e){const o=this.element.getBoundingClientRect().height,s=this.element.scrollTop,i=t*e,n=Math.floor(o/e);i-e/2<s?this.element.scrollTo({top:(t-1)*e}):s<i+e-o&&this.element.scrollTo({top:(t+1-n)*e})}}render(){return o(i,{style:{"--max-menu-height":this.maxMenuHeight}},this.filteredOptions.length>0?this.filteredOptions.map(((t,e)=>{var s;return o("smoothly-option",{style:this.optionStyle,key:t.value,toggle:null!==(s=t.toggle)&&void 0!==s?s:this.toggle,ref:t=>{0==e&&(this.firstOptionsElement=null!=t?t:this.firstOptionsElement),t&&(this.optionElements[e]=t)},checked:t.checked,value:t.value,name:t.name,divider:t.divider,"data-highlight":this.highlightIndex==e},t.hint?o("div",{slot:"hint"},t.hint):void 0)})):this.mutable?o("smoothly-option",{style:this.optionStyle,value:this.keyword,name:this.keyword,"data-highlight":0,new:!0},o("div",{slot:"left"},o("smoothly-icon",{name:"square-outline",size:"small"})," ",this.newOptionLabel)):o("div",null,this.emptyMenuLabel))}get element(){return e(this)}static get watchers(){return{options:["optionsChangeHandler"]}}};ro.style=":host{max-height:18.75rem;width:85%;max-height:var(--max-menu-height);box-sizing:border-box;background-color:rgb(var(--smoothly-default-color));border-radius:0.25em;color:rgb(var(--smoothly-primary-color));stroke:rgb(var(--smoothly-primary-color));fill:rgb(var(--smoothly-primary-color));box-shadow:0px 2px 1.5rem rgba(64, 60, 57, 0.08), inset 0px 0px 1px rgba(64, 60, 57, 0.4);overflow-y:auto;cursor:pointer}:host:first-child{margin:10em}";const ao=class{constructor(o){t(this,o),this.remove=s(this,"remove",7),this.listener=t=>{console.log("changed: ",t),"closed"==t.state?this.remove.emit(t):this.tick={}},this.notice=void 0,this.tick={}}get color(){let t;switch(this.notice.state){case"delayed":case"warning":t="warning";break;case"success":t="success";break;case"executing":default:t="light";break;case"failed":t="danger"}return t}onTrigger(t){"close"==t.detail.name&&(t.stopPropagation(),this.notice.close())}onUpdatedNotice(t,o){o&&o.unlisten(this.listener),t.listen(this.listener)}componentDidLoad(){this.onUpdatedNotice(this.notice)}render(){return o(i,{color:this.color,fill:"solid"},o("smoothly-trigger",{fill:"clear",name:"close"},o("smoothly-icon",{name:"close-circle-outline"})),o("p",null,this.notice.message))}static get watchers(){return{notice:["onUpdatedNotice"]}}};ao.style=".sc-smoothly-notification-h{display:block;min-width:32.6%;min-height:3em;border-radius:5px;margin:0.5em}[hidden].sc-smoothly-notification-h{display:none}smoothly-trigger.sc-smoothly-notification{float:right;text-align:right;margin-right:0.2em}";const ho=class{constructor(o){t(this,o),this.notices=[]}onNotice(t){this.notices=[...this.notices,t.detail]}onRemove(t){this.notices=[...this.notices.filter((o=>o!=t.detail))]}render(){return[o("slot",null),o("aside",null,this.notices.map((t=>o("smoothly-notification",{notice:t}))))]}};ho.style=".sc-smoothly-notifier-h{display:block}[hidden].sc-smoothly-notifier-h{display:none}.sc-smoothly-notifier-h>aside.sc-smoothly-notifier{display:flex;flex-wrap:wrap-reverse;align-content:stretch;justify-content:flex-start;position:fixed;bottom:3em;left:0;text-align:center;width:100%;z-index:100}";const co=class{constructor(o){t(this,o),this.optionHover=s(this,"optionHover",7),this.optionSelect=s(this,"optionSelect",7),this.optionUnselect=s(this,"optionUnselect",7),this.optionAdd=s(this,"optionAdd",7),this.aliases=void 0,this.dataHighlight=!1,this.name=void 0,this.value=void 0,this.divider=!1,this.checkbox=void 0,this.new=void 0,this.toggle=!1,this.checked=!1}onHover(t){this.optionHover.emit({name:this.name,value:this.value})}onSelect(t){if(!this.value)throw`smoothly-option ${this.element.innerHTML} lacks value-property and can therefore not be selected`;this.new?this.optionAdd.emit({name:this.name,value:this.value}):!this.toggle||this.toggle&&!this.checked?this.optionSelect.emit({name:this.name,value:this.value}):this.optionUnselect.emit({name:this.name,value:this.value}),this.toggle&&(this.checked=!this.checked)}render(){return o(i,{onMouseDown:t=>this.onSelect(t),onMouseOver:t=>this.onHover(t)},this.toggle&&o("smoothly-icon",{name:this.checked?"checkbox":"square-outline"}),o("div",{class:"name"},this.name),o("smoothly-quiet",null,o("slot",{name:"hint"})))}get element(){return e(this)}};co.style=':host{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;padding:0.7em 1em;margin-left:1px;margin-right:1px;background-color:transparent;position:relative}:host([data-highlight]){background-color:rgb(var(--smoothly-default-shade))}:host>div.name{padding-left:0.5em;flex-shrink:1;width:100%}:host([divider]){margin-bottom:0.5em}::slotted([slot=right]){font-style:italic;white-space:nowrap}:host([divider])::after{position:absolute;height:1px;width:100%;left:0;bottom:-0.25em;content:"";background-color:rgba(var(--smoothly-dark-color))}::slotted([slot=hint]){display:flex;align-items:center;gap:1ch;font-style:italic;white-space:nowrap}';const mo=class{constructor(o){t(this,o),this.menuClose=s(this,"menuClose",7),this.notice=s(this,"notice",7),this.keepFocusOnReRender=!1,this.isOpen=void 0,this.empty=void 0,this.disabled=!1,this.readonly=!1,this.maxMenuHeight="inherit",this.maxHeight=void 0,this.emptyMenuLabel="No Options",this.multiple=!1,this.mutable=!1,this.optionStyle=void 0,this.options=[],this.labelSetting=void 0,this.label=void 0,this.selections=[],this.selectNoneName="Select None",this.selectAllName="Select All",this.selectAllEnabled=!0,this.selectionName="items selected",this.newOptionLabel="Add:",this.valueValidator=()=>[!0,void 0]}isOpenChangeHandler(){0==this.isOpen&&this.menuClose.emit(this.selections)}componentDidRender(){this.filterOptions(),this.keepFocusOnReRender&&(this.inputElement.focus(),this.keepFocusOnReRender=!1)}optionSelectHandler(t){this.toggle(t.detail),t.stopPropagation()}optionAddHandler(t){if(this.mutable){const[o,e]=this.valueValidator(t.detail.value);if(o){const o=Object.assign({},t.detail);this.options=[...this.options,o],this.select(o)}e&&this.notice.emit(e)}t.stopPropagation()}emptyHandler(t){this.empty=t.detail,t.stopPropagation()}toggle(t){"select-none"==t.value?this.toggleAll():this.selections.map((t=>t.value)).includes(t.value)?this.unselect(t):this.select(t)}toggleAll(){var t;this.selections=this.selections.length!=(null===(t=this.options)||void 0===t?void 0:t.length)&&this.selectAllEnabled?this.options:[],this.inputElement.focus(),this.keepFocusOnReRender=!0}unselect(t){const o=this.selections.map((t=>t.value)).indexOf(t.value);-1!=o&&(this.selections=[...this.selections.slice(0,o),...this.selections.slice(o+1,this.selections.length)],this.keepFocusOnReRender=!0)}select(t){this.selections.reduce(((o,e)=>o&&e.value!=t.value),!0)&&(this.selections=this.multiple?[...this.selections,t]:[t]),this.keepFocusOnReRender=!0,this.isOpen=this.multiple}toggleHighlighted(){var t;if(this.mutable&&this.empty){const[t,o]=this.valueValidator(this.inputElement.value);if(t){const t={name:this.inputElement.value,value:this.inputElement.value};this.options=[...this.options,t],this.select(t)}o&&this.notice.emit(o)}else null===(t=this.menuElement)||void 0===t||t.getHighlighted().then((t=>{t&&this.toggle(t)}))}highlightDefault(){var t;this.filterOptions(),null===(t=this.menuElement)||void 0===t||t.setHighlight(this.multiple||0==this.selections.length?0:this.selections[0].value)}filterOptions(){var t;null===(t=this.menuElement)||void 0===t||t.filterOptions(this.inputElement.value,[])}onInput(t){this.isOpen=""!=this.inputElement.value||this.isOpen,this.highlightDefault()}onKeyDown(t){var o;"ArrowUp"==t.key||"ArrowDown"==t.key?(null===(o=this.menuElement)||void 0===o||o.moveHighlight("ArrowUp"==t.key?-1:1),t.preventDefault()):"Enter"==t.key&&this.isOpen?this.toggleHighlighted():"Escape"==t.key?(this.inputElement.value="",this.isOpen=!1):" "==t.key&&""==this.inputElement.value&&(t.preventDefault(),this.isOpen=!0,this.filterOptions())}onClick(){this.readonly||this.disabled||(this.isOpen=!this.isOpen,this.inputElement.focus(),this.highlightDefault())}onBlur(){this.inputElement.value="",this.isOpen=!1}render(){var t,e,s;const n={"--max-height":null!==(t=this.maxHeight)&&void 0!==t?t:"inherit","--label-display":"hide"==this.labelSetting?"none":"absolute"};null===(e=this.options)||void 0===e||e.forEach((t=>{t.checked=this.selections.map((t=>t.value)).includes(t.value)}));const l=[...this.multiple?[{value:"select-none",name:this.selections.length!=this.options.length&&this.selectAllEnabled?this.selectAllName:this.selectNoneName,checked:this.selectAllEnabled?this.selections.length==this.options.length:void 0,divider:!0,toggle:this.selectAllEnabled}]:[],...null!==(s=this.options)&&void 0!==s?s:[]];return o(i,{style:n,"has-selection":this.selections.length>0,"is-open":this.isOpen?"":void 0,onMouseDown:t=>t.preventDefault(),onClick:()=>this.onClick()},o("div",null,o("smoothly-icon",{part:"search",class:"search",name:"search-outline",size:"tiny"}),o("label",{part:"label-element"},this.label),o("input",{part:"input",disabled:this.disabled,readonly:this.readonly,type:"text",ref:t=>this.inputElement=t||this.inputElement,onBlur:()=>this.onBlur(),placeholder:this.selections.length>3?this.selections.length.toString()+" "+this.selectionName:this.selections.map((t=>t.name)).join(", "),onKeyDown:t=>this.onKeyDown(t),onInput:t=>this.onInput(t)}),o("smoothly-icon",{part:"chevron",class:"down",name:"chevron-down",size:"tiny"}),o("smoothly-icon",{part:"chevron",class:"up",name:"chevron-up",size:"tiny"})),o("smoothly-menu-options",{part:"menu-options",style:{width:"100%"},toggle:!0,optionStyle:Object.assign({},this.optionStyle),order:!1,emptyMenuLabel:this.emptyMenuLabel,newOptionLabel:this.newOptionLabel,"max-menu-height":this.maxMenuHeight,mutable:this.mutable,ref:t=>this.menuElement=null!=t?t:this.menuElement,onClick:t=>t.stopPropagation(),resetHighlightOnOptionsChange:!1,options:l}))}get element(){return e(this)}static get watchers(){return{isOpen:["isOpenChangeHandler"]}}};mo.style=':host{--background-color:var(--smoothly-default-color), 1;--color:var(--smoothly-secondary-contrast);--border-color:var(--smoothly-default-shade), 1;--border-highlight-color:var(--smoothly-secondary-contrast), 1;--label-color:var(--smoothly-secondary-contrast), 0.8;--selected-item-border-radius:0.25rem;--selected-item-background-color:var(--smoothly-secondary-color), 1;--selected-item-color:255, 255, 255, 1}:host{display:block;position:relative;background-color:rgba(var(--background-color));width:100%;cursor:pointer;--intergiro-transition:border-color 200ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:var(--intergiro-transition);border:1px solid rgb(var(--border-color));margin:1px;height:2.5rem;border-radius:0.25rem}:host([disabled]){cursor:default}:host([disabled]) div>input{cursor:default}:host(:focus-within){border-color:rgb(var(--smoothly-primary-shade));border-width:2px;margin:0px}:host>div{display:flex;background-color:transparent;min-height:2.5rem;align-items:center;align-self:center;border:none;max-height:var(--max-height)}:host>div .icons>smoothly-icon{flex-shrink:0;padding-left:0.6em;stroke:rgba(var(--color), 0.4);fill:rgba(var(--color), 0.4);width:1.5em !important;height:1.5em !important}:host>div .icons>smoothly-icon:hover{fill:rgba(var(--color), 1)}:host>div input{width:100%;background-color:transparent;outline:none;border:none;cursor:pointer;color:rgb(var(--color));padding:0 0.6rem;font-family:var(--smoothly-font-family);font-size:1.05rem}:host>div input::placeholder{opacity:1;text-overflow:ellipsis}:host([is-open])>div input{color:rgb(var(--smoothly-medium-color))}:host(:not(:focus-within)[multiple]) ul>li:last-child{position:absolute;pointer-events:none}:host([label=""]) ul,:host:not([label]) ul,:host([label-setting=hide]) ul{padding-top:0.1rem;padding-bottom:0.1rem}label{padding-left:0.6rem;white-space:nowrap;color:rgba(var(--label-color));transition:var(--intergiro-transition);font-family:var(--smoothly-font-family);pointer-events:none;transform-origin:left}:host([has-selection]) label{display:var(--label-display)}:host([has-selection]) label,:host(:focus-within) label{display:none}:host(:hover) smoothly-icon[data-arrow],:host(:focus-within) smoothly-icon[data-arrow]{stroke:rgba(var(--color), 1)}:host smoothly-icon[data-arrow]{pointer-events:none}:host smoothly-icon{flex-shrink:0;width:1rem;height:1rem}:host(:not([is-open])) smoothly-icon.up,:host([is-open]) smoothly-icon.down{display:none}smoothly-icon.search{display:flex;align-self:center;padding-left:0.8rem}smoothly-icon.up,smoothly-icon.down{display:flex;align-self:center;padding-right:0.8rem;stroke:rgb(var(--smoothly-primary-shade))}:host smoothly-menu-options{margin-top:0.5rem;padding-top:0.5rem;padding-bottom:0.5rem;position:absolute;z-index:1}:host(:not([is-open]))>smoothly-menu-options{display:none}';const uo=class{constructor(o){t(this,o),this.popup=s(this,"popup",7),this.visible=!1,this.direction="down",this.cssVariables={"--left":"0.1em"}}onClick(){var t,o,e,s,i,n;0==this.visible&&(null===(t=this.aside)||void 0===t||t.style.setProperty("display","block"),this.cssVariables=(null!==(e=null===(o=this.aside)||void 0===o?void 0:o.getBoundingClientRect().right)&&void 0!==e?e:0)>=window.innerWidth?{"--right":"0.1em"}:(null!==(i=null===(s=this.aside)||void 0===s?void 0:s.getBoundingClientRect().left)&&void 0!==i?i:0)<0?{"--left":"0.1em"}:this.cssVariables,null===(n=this.aside)||void 0===n||n.style.removeProperty("display")),this.visible=!this.visible,this.popup.emit(this.visible)}render(){return o(i,{style:Object.assign({},this.cssVariables)},o("content",{class:"pointer",onClick:()=>this.onClick()},o("slot",null)),o("div",{class:"background",onClick:()=>this.onClick()}),o("div",{class:"arrow",onClick:()=>this.onClick()}),o("aside",{ref:t=>this.aside=t},o("slot",{name:"popup"})))}};uo.style='.sc-smoothly-popup-h{display:inline-flex;position:relative}[hidden].sc-smoothly-popup-h{display:none}.sc-smoothly-popup-h:not([visible]) aside.sc-smoothly-popup{display:none}.sc-smoothly-popup-h aside.sc-smoothly-popup{display:inline;position:absolute;padding:0.3em;left:var(--left);right:var(--right);background-color:rgb(238, 238, 238);border-color:rgb(238, 238, 238);border-style:solid;border-width:0.1em;border-radius:0.6em;z-index:3}[direction=down].sc-smoothly-popup-h aside.sc-smoothly-popup{top:2.2em;box-shadow:6px 5px 9px -9px black, 5px 6px 9px -9px black}[direction=up].sc-smoothly-popup-h aside.sc-smoothly-popup{bottom:2.2em;box-shadow:-6px -5px 9px -9px black, -5px -6px 9px -9px black}.sc-smoothly-popup-h:not([visible]) .background.sc-smoothly-popup{display:none}.sc-smoothly-popup-h .background.sc-smoothly-popup{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:2}.sc-smoothly-popup-h:not([visible]) .arrow.sc-smoothly-popup{display:none}.sc-smoothly-popup-h .arrow.sc-smoothly-popup{background-color:rgb(238, 238, 238);border-color:rgb(238, 238, 238);z-index:2;content:"";position:absolute;width:12px;height:12px;transform:rotate(45deg);left:calc(var(--left) + 1em);right:calc(var(--right) + 1em)}[direction=down].sc-smoothly-popup-h .arrow.sc-smoothly-popup{top:2em;border-top-style:solid;border-top-width:1px;border-left-style:solid;border-left-width:1px}[direction=up].sc-smoothly-popup-h .arrow.sc-smoothly-popup{bottom:2em;border-bottom-style:solid;border-bottom-width:1px;border-right-style:solid;border-right-width:1px}.sc-smoothly-popup-h .pointer.sc-smoothly-popup{cursor:pointer}';const po=class{constructor(o){t(this,o),this.color=void 0}render(){return o(i,{color:this.color},o("slot",null))}};po.style=".sc-smoothly-quiet-h{opacity:0.5}";const yo=class{constructor(o){t(this,o),this.smoothlySelected=s(this,"smoothlySelected",7),this.name=void 0,this.value=void 0,this.checked=void 0,this.tabIndex=void 0}async onInput(t){return t.target&&t.target.value&&(this.checked=t.target.checked)&&this.smoothlySelected.emit({name:this.name,value:this.value}),!0}render(){return[o("input",{type:"radio",name:this.name,id:this.value,tabindex:this.tabIndex,checked:this.checked,value:this.value,onChange:t=>this.onInput(t)}),o("label",{htmlFor:this.value},o("slot",null))]}};yo.style=".sc-smoothly-radio-h{display:block;position:relative}[hidden].sc-smoothly-radio-h{display:none}label.sc-smoothly-radio{display:block;width:calc(100% - 2 * 0.4em);padding:0.2em 0.4em 0.2em 0.4em}input[type=radio].sc-smoothly-radio{position:absolute;left:0;top:0;width:calc(100%);height:100%;margin:0;appearance:none;-webkit-appearance:none}input[type=radio].sc-smoothly-radio~label.sc-smoothly-radio{border:1px solid rgb(var(--smoothly-default-color));color:rgba(var(--smoothly-default-contrast), 0.5);background:rgb(var(--smoothly-default-color))}input[type=radio].sc-smoothly-radio:checked~label.sc-smoothly-radio{background-color:rgb(var(--smoothly-default-shade));color:rgb(var(--smoothly-default-contrast))}";const bo=class{constructor(o){t(this,o),this.radioButtonSelected=s(this,"radioButtonSelected",7),this.name=void 0,this.value=void 0,this.deselectable=void 0,this.decoration="radio"}radioSelectHandler(t){var o,e;(this.deselectable||(null===(o=this.active)||void 0===o?void 0:o.value)!=t.detail.value)&&(null===(e=this.active)||void 0===e||e.select(!1),this.active=t.detail,this.radioButtonSelected.emit({name:this.name,value:this.value=this.active.selected?this.active.value:void 0}),this.active.select(this.active.selected))}render(){return o(i,null,o("slot",null))}};bo.style=".sc-smoothly-radio-button-h{display:block}";const go=class{constructor(o){t(this,o),this.radioItemSelectInternal=s(this,"radioItemSelectInternal",7),this.value=void 0,this.selected=void 0,this.color="medium",this.iconColor="medium",this.disabled=void 0}componentWillLoad(){this.selected&&this.select(this.selected)}select(t=!1){this.radioItemSelectInternal.emit({value:this.value,selected:t,select:t=>this.selected=t})}render(){return o(i,null,o("header",{onClick:()=>this.select(!this.selected)},o("smoothly-icon",{color:this.selected?"success":this.iconColor,fill:"outline",name:this.selected?"checkmark-circle":"ellipse-outline",size:"tiny",toolTip:"Select"}),o("slot",null),o("slot",{name:"end"})),o("slot",{name:"expansion"}))}};go.style='smoothly-radio-button[decoration=radio] .sc-smoothly-radio-button-item-h{transition:0.1s}smoothly-radio-button[decoration=radio] .sc-smoothly-radio-button-item-h>header.sc-smoothly-radio-button-item{padding:0.5rem}smoothly-radio-button[decoration=radio] .sc-smoothly-radio-button-item-h>header.sc-smoothly-radio-button-item>smoothly-icon.sc-smoothly-radio-button-item{display:none}smoothly-radio-button[decoration=radio] [selected].sc-smoothly-radio-button-item-h>header.sc-smoothly-radio-button-item{color:rgb(var(--smoothly-secondary-contrast));background:rgb(var(--smoothly-secondary-color))}smoothly-radio-button[decoration=radio].sc-smoothly-radio-button-item-s>[slot=expansion]::before,smoothly-radio-button[decoration=radio] .sc-smoothly-radio-button-item-s>[slot=expansion]::before{content:unset}@media screen and (min-width: 900px){smoothly-radio-button[decoration=radio] .sc-smoothly-radio-button-item-h:hover{background:rgb(var(--smoothly-secondary-shade));cursor:pointer}}smoothly-radio-button[decoration=button] .sc-smoothly-radio-button-item-h{padding:0.3rem}smoothly-radio-button[decoration=button] .sc-smoothly-radio-button-item-h>header.sc-smoothly-radio-button-item>smoothly-icon.sc-smoothly-radio-button-item{margin-right:0.5rem;border-radius:100%;font-size:1.3rem;display:flex}smoothly-radio-button[decoration=button].sc-smoothly-radio-button-item-s>[slot=expansion],smoothly-radio-button[decoration=button] .sc-smoothly-radio-button-item-s>[slot=expansion]{background:rgb(var(--smoothly-color));color:rgb(var(--smoothly-color-contrast));border-radius:5px;margin-top:0.5rem}html smoothly-radio-button[decoration=button]>.sc-smoothly-radio-button-item-h{background-color:inherit;color:inherit}smoothly-radio-button[decoration=button].sc-smoothly-radio-button-item-s>[slot=expansion]::before,smoothly-radio-button[decoration=button] .sc-smoothly-radio-button-item-s>[slot=expansion]::before{content:"\\25B2";position:absolute;top:-0.8rem;left:3rem;color:rgb(var(--smoothly-color))}@media screen and (min-width: 900px){smoothly-radio-button[decoration=button] .sc-smoothly-radio-button-item-h>header.sc-smoothly-radio-button-item:hover>smoothly-icon.sc-smoothly-radio-button-item{cursor:pointer}smoothly-radio-button[deselectable] [selected].sc-smoothly-radio-button-item-h>header.sc-smoothly-radio-button-item:hover>smoothly-icon.sc-smoothly-radio-button-item{cursor:pointer}}.sc-smoothly-radio-button-item-h{display:block}.sc-smoothly-radio-button-item-h>header.sc-smoothly-radio-button-item{display:flex;align-items:center}.sc-smoothly-radio-button-item-s>[slot=expansion]{display:none;padding:0;position:relative;transition:0.1s}[selected].sc-smoothly-radio-button-item-s>[slot=expansion]{display:block;padding:0.5rem}[disabled].sc-smoothly-radio-button-item-h{pointer-events:none}[disabled].sc-smoothly-radio-button-item-h>header.sc-smoothly-radio-button-item>smoothly-icon.sc-smoothly-radio-button-item{opacity:0.25}';const vo=class{constructor(o){t(this,o),this.label=void 0,this.icon=void 0,this.path=void 0,this.to=void 0}render(){return o("slot",null)}},fo=class{constructor(o){t(this,o),this.selectionChanged=s(this,"selectionChanged",7),this.identifier=void 0,this.background=void 0,this.value=void 0}optionSelected(){this.selectElement&&this.selectionChanged.emit({identifier:this.identifier,value:this.value=this.selectElement.value})}componentDidLoad(){var t;this.selectElement&&(this.value=null===(t=this.selectElement)||void 0===t?void 0:t.value)}render(){return[o("select",{ref:t=>this.selectElement=t,id:this.identifier,onChange:()=>this.optionSelected(),style:{background:this.background}},o("slot",null))]}};fo.style=".sc-smoothly-select-h{display:block}[hidden].sc-smoothly-select-h{display:none}select.sc-smoothly-select{min-width:1.5em;padding-top:0.5em;border:none;-webkit-appearance:none;background-color:rgb(var(--smoothly-color));padding:0.3em}select.sc-smoothly-select>option.sc-smoothly-select{background-color:inherit}select.sc-smoothly-select:focus{outline:none}";const So=class{constructor(o){t(this,o),this.currencies=["SEK","EUR"],this.currency="SEK"}alertf(){var t;console.log(this.quantityElement),alert(null===(t=this.quantityElement)||void 0===t?void 0:t.value)}handleSelectionChanged(t){console.log("selectionChanged",t.detail)}handleDateRangeClear(){console.log("dateRangeClear")}render(){return[o("smoothly-select",{identifier:"currency"},this.currencies.map((t=>o("option",this.currency==t?{value:t,selected:!0}:{value:t},t)))),o("smoothly-select",{identifier:"language"},o("optgroup",{label:"Nordic"},o("option",{value:"sv"},"Swedish"),o("option",{value:"da",selected:!0},"Danish"),o("option",{value:"no"},"Norwegian")),o("optgroup",{label:"Other"},o("option",{value:"en"},"English"))),o("smoothly-select",{identifier:"quantity",ref:t=>this.quantityElement=t},o("option",{value:"1"},"1"),o("option",{value:"2"},"2"),o("option",{value:"3"},"3")),o("smoothly-input-date",null,"Date"),o("smoothly-input-date",{value:"2021-10-28",max:"2021-12-30",min:"2021-10-10"},"Date"),o("smoothly-input-date-range",{clearable:!0,min:d.previous(d.now(),40),max:d.next(d.now(),40)}),o("smoothly-input-date-range",{start:d.previous(d.now(),1),end:d.next(d.now(),1),min:d.previous(d.now(),30),max:d.next(d.now(),30),showLabel:!1,style:{"--background":"rgb(var(--smoothly-dark-shade))","--border-radius":"4px","--padding":"0 0.75em","--input-width":"6rem"}}),o("smoothly-selector",{initialPrompt:"Select...",ref:t=>this.selectorElement=t},o("smoothly-item",{value:"1"},"January"),o("smoothly-item",{value:"2"},"February"),o("smoothly-item",{value:"3"},"March"),o("smoothly-item",{value:"4"},"April"),o("smoothly-item",{value:"5"},"May"),o("smoothly-item",{value:"6"},"June"),o("smoothly-item",{value:"7"},"July"),o("smoothly-item",{value:"8"},"August"),o("smoothly-item",{value:"9"},"September"),o("smoothly-item",{value:"10"},"October"),o("smoothly-item",{value:"11"},"November"),o("smoothly-item",{value:"12"},"December")),o("button",{onClick:async()=>this.selectorElement.reset()},"reset selector"),o("button",{onClick:()=>this.alertf()},"press here"),o("smoothly-picker",{label:"Filter","empty-menu-label":"Sorry, we're out of options.","max-height":"58px",maxMenuHeight:"20rem",multiple:!0,options:[{name:"Big Dog",value:"dog",aliases:["WOFF"]},{name:"Cat Stevens",value:"cat",aliases:["moew"],hint:"moew"},{name:"Noble Pig",value:"pig"},{name:"Turtle Wax",value:"turtle",hint:"slow"},{name:"Spider Man",value:"spider"},{name:"Phoenix Order Long Wooord",value:"phoenix"},{name:"Horse Back",value:"horse"},{name:"Unicorn Horn",value:"unicorn"},{name:"Talking Parrot Parrot",value:"parrot"},{name:"Hidden Dragon",value:"dragon"},{name:"Scary Kraken",value:"kraken"}]}),o("br",null),o("smoothly-picker",{label:"Multiple","empty-menu-label":"Sorry, we're out of options.","max-height":"58px",multiple:!0,options:[{name:"Big Dog",value:"dog",aliases:["WOFF"]},{name:"Cat Stevens",value:"cat",aliases:["moew"]},{name:"Noble Pig",value:"pig"},{name:"Turtle Wax",value:"turtle"},{name:"Spider Man",value:"spider"},{name:"Phoenix Order Long Wooord",value:"phoenix"},{name:"Horse Back",value:"horse"},{name:"Unicorn Horn",value:"unicorn"},{name:"Talking Parrot Parrot",value:"parrot"},{name:"Hidden Dragon",value:"dragon"},{name:"Scary Kraken",value:"kraken"}]}),o("br",null),o("smoothly-picker",{label:"Multiple mutable","max-height":"58px",multiple:!0,mutable:!0,newOptionLabel:"Invite:",options:[{name:"john@example.com",value:"john@example.com"},{name:"jane@example.com",value:"jane@example.com"},{name:"james@example.com",value:"james@example.com"},{name:"jessie@example.com",value:"jessie@example.com"}],valueValidator:t=>t.match(/^\w+@\w+/)?[!0,void 0]:[!1,r.failed("Incorrectly formatted email")]}),o("br",null),o("smoothly-picker",{label:"Single select",multiple:!1,"max-menu-height":"200px",options:[{name:"Dog",value:"dog",aliases:["WOFF"],hint:"Woof 🐶"},{name:"Cat",value:"cat",aliases:["moew"]},{name:"Pig",value:"pig"},{name:"Turtle",value:"turtle"},{name:"Spider",value:"spider"},{name:"Phoenix",value:"phoenix"},{name:"Horse",value:"horse"},{name:"Unicorn",value:"unicorn"},{name:"Parrot",value:"parrot"},{name:"Dragon",value:"dragon"},{name:"Kraken",value:"kraken"}]}),o("br",null),o("smoothly-picker",{label:"readonly",readonly:!0,options:[{name:"readonly",value:"readonly"}]}),o("br",null),o("smoothly-tab-switch",null,o("smoothly-tab",{label:"test1",open:!0},"Hello world!"),o("smoothly-tab",{label:"test2"},"this is a test message!"),o("smoothly-tab",{label:"test3"},"this is a test message again!")),o("smoothly-selector",{initialPrompt:"select",style:{maxWidth:"25px"},disableFilter:!0},o("smoothly-item",null,o("img",{src:"assets/images/da-DK.svg",alt:"danish",style:{width:"25px"}})),o("smoothly-item",null,o("img",{src:"assets/images/en-GB.svg",alt:"british english"})),o("smoothly-item",null,o("img",{src:"assets/images/en-US.svg",alt:"american english"})))]}};So.style=".sc-smoothly-select-demo-h{display:block}[hidden].sc-smoothly-select-demo-h{display:none}button.sc-smoothly-select-demo:focus{outline:none}smoothly-selector.sc-smoothly-select-demo{outline:none}button.sc-smoothly-select-demo{display:block}";const wo=class{constructor(o){t(this,o),this.selected=s(this,"selected",7),this.items=[],this.initialPrompt=void 0,this.disableFilter=!1,this.opened=!1,this.selectedElement=void 0,this.missing=!1,this.filter=""}async reset(){var t;this.selectedElement=void 0,this.mainElement&&(this.mainElement.innerHTML=null!==(t=this.initialPrompt)&&void 0!==t?t:"(none)")}onSelectedChange(t,o){o&&(o.selected=!1),this.selected.emit(null==t?void 0:t.value)}async onFilterChange(t){t=t.toLowerCase(),(await Promise.all(this.items.map((o=>o.filter(t))))).some((t=>t))?this.missing=!1:(this.missing=!0,this.items.forEach((t=>t.filter(""))))}onClick(t){t.stopPropagation(),this.opened=!this.opened}onItemSelected(t){this.selectedElement=t.target,this.mainElement&&(this.mainElement.innerHTML=this.selectedElement.innerHTML)}onClosed(){if(!this.opened){const t=this.items.find((t=>t.marked));t&&(t.marked=!1)}}onKeyDown(t){if(!this.disableFilter)if(t.stopPropagation(),t.preventDefault(),this.opened){let o=0;switch(t.key){case"ArrowUp":o=-1;break;case"ArrowDown":o=1;break;case"Escape":this.filter="";break;case"Backspace":this.filter=this.filter.slice(0,-1);break;case"Enter":const e=this.items.find((t=>t.marked));(null==e?void 0:e.value)&&(e.selected=!0),this.opened=!1,this.filter="";break;default:1==t.key.length&&(this.filter+=t.key)}this.move(o)}else"Enter"==t.key&&(this.opened=!0)}move(t){if(t){let o=this.items.findIndex((t=>t.marked));-1==o&&(o=this.items.findIndex((t=>t.selected))),this.items[o]&&(this.items[o].marked=!1);do{o=(o+t+this.items.length)%this.items.length}while(this.items[o].hidden);this.items[o].marked=!0,this.items[o].focus()}}render(){var t;return o(i,{tabIndex:2,class:this.missing?"missing":""},o("main",{ref:t=>this.mainElement=t},null!==(t=this.initialPrompt)&&void 0!==t?t:"(none)"),0!=this.filter.length?o("aside",{ref:t=>this.aside=t},this.filter,o("button",{onClick:t=>{t.stopPropagation(),this.filter=""}},o("smoothly-icon",{name:"close",size:"small"}))):void 0,this.opened?o("section",{onClick:()=>this.opened=!0}):[],o("div",{class:this.opened?"":"hidden"},o("nav",null,o("slot",null))))}componentDidRender(){const t=[],o=this.element.querySelectorAll("div > nav > smoothly-item");for(let s=0;s<o.length;s++){const i=o.item(s);"object"!=typeof(e=i)||"boolean"!=typeof e.selected&&null!=e.selected||"function"!=typeof e.filter||t.push(i)}var e;this.items=t}get element(){return e(this)}static get watchers(){return{selectedElement:["onSelectedChange"],filter:["onFilterChange"],opened:["onClosed"]}}};wo.style=".sc-smoothly-selector-h{position:relative;height:100%}.sc-smoothly-selector-h>main.sc-smoothly-selector,.sc-smoothly-selector-h>main.sc-smoothly-selector>*.sc-smoothly-selector{min-width:25px;max-width:inherit;height:100%;display:flex;align-items:center;border:1px transparent;margin:0.5em}.sc-smoothly-selector-h>div.sc-smoothly-selector>nav.sc-smoothly-selector{display:flex;flex-direction:column;position:absolute;z-index:10;height:var(--menu-height, unset);overflow-y:scroll}.sc-smoothly-selector-h>aside.sc-smoothly-selector{position:absolute;top:0;left:5em;z-index:10;background-color:rgb(var(--smoothly-tertiary-color));color:rgb(var(--smoothly-tertiary-contrast));height:1.25rem;border-radius:0.3rem;padding:0.3rem;display:flex;align-items:center}.missing.sc-smoothly-selector-h>aside.sc-smoothly-selector{background-color:rgb(var(--smoothly-warning-color));color:rgb(var(--smoothly-warning-contast))}.hidden.sc-smoothly-selector{display:none}";const ko=class{constructor(o){t(this,o),this.widths=["8rem","9rem","10rem"],this.width=void 0,this.color=void 0,this.period=void 0,this.distance=void 0,this.align="left"}componentWillLoad(){var t;this.width=null!==(t=this.width)&&void 0!==t?t:this.widths[Math.floor(Math.random()*this.widths.length)]}render(){var t;const e=Object.assign(Object.assign({"--width":this.width,"--distance":null!==(t=this.distance)&&void 0!==t?t:"10rem"},this.color?{"--color":this.color}:void 0),this.period?{"--period":this.period+"s"}:void 0);return o(i,{style:e})}};ko.style='.sc-smoothly-skeleton-h{display:block;height:1rem}.sc-smoothly-skeleton-h::before{content:"";display:block;width:var(--width);height:100%;border-radius:0.4rem;background-image:linear-gradient(90deg, rgb(var(--color, var(--smoothly-dark-color))) 0, transparent 2.5rem, rgb(var(--color, var(--smoothly-dark-color))) 5rem);background-size:calc(var(--distance) + 5rem);animation-duration:var(--period, 1.6s);animation-iteration-count:infinite;animation-timing-function:linear;animation-name:shine-lines-left}@keyframes shine-lines-left{0%{background-position:-5rem}40%,100%{background-position:var(--distance)}}[align=center].sc-smoothly-skeleton-h::before{margin:0 auto;animation-name:shine-lines-center}@keyframes shine-lines-center{0%{background-position:calc((var(--width) - var(--distance)) / 2 - 5rem)}40%,100%{background-position:calc(var(--width) + (var(--distance) - var(--width)) / 2)}}[align=right].sc-smoothly-skeleton-h::before{margin:0;margin-left:auto;animation-name:shine-lines-right}@keyframes shine-lines-right{0%{background-position:calc(var(--width) - var(--distance) - 5rem)}40%,100%{background-position:var(--width)}}';const Co=class{constructor(o){t(this,o),this.active=void 0,this.size="large"}render(){const t="large"==this.size?6:"medium"==this.size?8:12;return o(i,{style:{"--color":"var(--spinner-color)","--size":"large"==this.size?"5em":"medium"==this.size?"3em":"1.2em"}},o("svg",{class:"spinner",viewBox:`0 0 ${60+t} ${60+t}`,xmlns:"http://www.w3.org/2000/svg"},o("circle",{class:"path",fill:"none","stroke-width":t,"stroke-linecap":"round",cx:""+(30+t/2),cy:""+(30+t/2),r:"30"})))}};var Mo;Co.style=".sc-smoothly-spinner-h:not([active]){display:none}[hidden].sc-smoothly-spinner-h{display:none}.sc-smoothly-spinner-h{display:block;stroke:rgb(var(--spinner-color, var(--smoothly-primary-tint)));position:absolute;inset:0;width:100%;height:100%;background-color:rgba(var(--background-color, var(--smoothly-default-color)), var(--background-opacity, var(--smoothly-semitransparent, 0.8)))}.sc-smoothly-spinner-h svg.sc-smoothly-spinner{position:absolute;left:calc(50% - var(--size) / 2);top:calc(50% - var(--size) / 2);width:var(--size);animation:SPIN-SVG 1.4s linear infinite}.sc-smoothly-spinner-h svg.sc-smoothly-spinner circle.sc-smoothly-spinner{transform-origin:center;animation:SPIN-CIRCLE 1.4s ease-in-out infinite;stroke-dasharray:187;stroke-dashoffset:0}@keyframes SPIN-SVG{0%{transform:rotate(0deg)}100%{transform:rotate(270deg)}}@keyframes SPIN-CIRCLE{0%{stroke-dashoffset:187}50%{stroke-dashoffset:46.75;transform:rotate(135deg)}100%{stroke-dashoffset:187;transform:rotate(450deg)}}",function(t){function o(t,[e,...s],i){const n=t[e];return Object.assign(Object.assign({},t),{[e]:s.length?o("object"==typeof n?n:{},s,i):i})}t.set=o,t.deepen=function(t){return Object.entries(t).reduce(((t,[e,s])=>o(t,e.split("."),s)),{})}}(Mo||(Mo={}));const Ao=class{constructor(o){t(this,o),this.submitEvent=s(this,"submit",7),this.processing=void 0,this.color=void 0,this.expand=void 0,this.fill=void 0,this.disabled=!1,this.prevent=void 0}get form(){return this.button&&this.button.form||void 0}async handleSubmit(t){if(!this.processing){this.processing=!0,this.prevent&&t.preventDefault();const o={};if(this.form){const t=this.form.elements;for(let e=0;e<t.length;e++){const s=t.item(e);No(s)&&s.name&&(o[s.name]=s.value)}const e=this.form.getElementsByTagName("smoothly-input");for(let t=0;t<e.length;t++){const s=e.item(t);No(s)&&s.name&&(o[s.name]=s.value)}}this.submitEvent.emit(Mo.deepen(o)),this.processing=!1}}handleClick(t){this.disabled&&t.stopImmediatePropagation()}async submit(){let t;return(t=!!this.form)&&this.form.submit(),t}render(){return o(i,{onClick:t=>this.handleClick(t)},o("smoothly-spinner",{active:this.processing}),o("button",{type:"submit",disabled:this.disabled||this.processing,ref:t=>this.button=t},o("slot",null)))}};function No(t){return"string"==typeof t.name&&"string"==typeof t.value}Ao.style=".sc-smoothly-submit-h{display:block;border-width:1px;border-style:solid;border-radius:3px}[hidden].sc-smoothly-submit-h{display:none}[disabled].sc-smoothly-submit-h{opacity:0.5}button.sc-smoothly-submit{padding:0.2em 0.3em;font-size:110%;font-weight:400}[processing].sc-smoothly-submit-h{border-color:rgb(var(--smoothly-light-color))}[processing].sc-smoothly-submit-h>button.sc-smoothly-submit{color:rgb(var(--smoothly-light-contrast));background:rgb(var(--smoothly-light-color))}.sc-smoothly-submit-h:not([processing]):not([disabled]):hover,.sc-smoothly-submit-h:not([processing]):not([disabled]):focus,.sc-smoothly-submit-h:not([processing]):not([disabled]):active{border-color:rgb(var(--smoothly-submit-border))}[expand=fill].sc-smoothly-submit-h>button.sc-smoothly-submit,[expand=block].sc-smoothly-submit-h>button.sc-smoothly-submit{width:100%}[expand=fill].sc-smoothly-submit-h{border-left:none;border-right:none}";const xo=class{constructor(o){t(this,o),this.defaultSizes={large:{height:"50rem",width:"50rem"},medium:{height:"30rem",width:"30rem"},small:{height:"10rem",width:"10rem"},tiny:{height:"5rem",width:"5rem"}},this.url=void 0,this.size=void 0,this.color=void 0}render(){const t=this.size?"object"==typeof this.size?this.size.height:this.defaultSizes[this.size].height:"10rem",e=this.size?"object"==typeof this.size?this.size.width:this.defaultSizes[this.size].width:"10rem";return o(i,{style:{"min-height":t,"min-width":e,"--size-height":t,"--size-width":e,"--color":this.color}},o("object",{height:t,width:e,type:"image/svg+xml",data:this.url}))}};xo.style=".sc-smoothly-svg-h{display:block;min-width:var(--size-width);min-height:var(--size-height);background-color:rgb(var(--color))}object.sc-smoothly-svg{min-width:var(--size-width);min-height:var(--size-height);background-color:rgb(var(--color))}";const To=class{constructor(o){t(this,o),this.expansionOpen=s(this,"expansionOpen",7),this.label=void 0,this.open=void 0}openChanged(){this.expansionElement&&this.expansionOpen.emit(this.expansionElement)}onClick(t){this.open=!this.open,t.stopPropagation()}componentDidLoad(){this.expansionElement&&this.open&&this.expansionOpen.emit(this.expansionElement)}render(){return o(i,null,o("label",null,this.label),o("div",{ref:t=>this.expansionElement=t,class:this.open?"":"hide"},o("slot",null)))}static get watchers(){return{open:["openChanged"]}}};To.style="[open].sc-smoothly-tab-h{border-bottom:3px solid rgb(var(--smoothly-primary-color));box-sizing:border-box;margin-bottom:-3px}.hide.sc-smoothly-tab{display:none}label.sc-smoothly-tab{display:block;padding:.5rem;background-color:transparent;width:auto}";const Io=class{constructor(o){t(this,o),this.selectedElement=void 0}openChanged(t){t.stopPropagation(),this.selectedElement=t.target,this.selectedElement.open=!0,this.element.after(t.detail)}onSelectedChange(t,o){o&&(o.open=!1)}render(){return o(i,null,o("slot",null))}get element(){return e(this)}static get watchers(){return{selectedElement:["onSelectedChange"]}}};Io.style=".sc-smoothly-tab-switch-h{display:flex;flex-direction:row;justify-content:space-around;border-bottom:3px solid rgb(var(--smoothly-default-shade))}";const Ro=class{constructor(o){t(this,o),this.smoothlyNestedTable=s(this,"smoothlyNestedTable",7),this.spotlightChange=s(this,"spotlightChange",7),this.tableLoad=s(this,"tableLoad",7),this.expandable=new Map,this.expanded=new Set,this.root=!0}componentWillLoad(){this.smoothlyNestedTable.emit((()=>this.root=!1)),this.tableLoad.emit((t=>this.owner=t))}handleExpandableLoaded(t){t.stopPropagation(),t.target&&this.expandable.set(t.target,t.detail)}handleExpandableState(t){t.stopPropagation(),t.target&&(t.detail?this.expanded.add(t.target):this.expanded.delete(t.target)),this.spotlightChange.emit({allowSpotlight:!this.expanded.size,owner:this.owner})}handleSpotlightState(t){var o;t.target!=this.element&&(t.stopPropagation(),t.detail.owner&&(null===(o=this.expandable.get(t.detail.owner))||void 0===o||o.allowSpotlight(t.detail.allowSpotlight)))}handleNestedTable(t){t.target!=this.element&&(t.stopPropagation(),t.detail())}handleEvents(t){t.stopPropagation()}render(){return[o("slot",null)]}get element(){return e(this)}};Ro.style=".sc-smoothly-table-h{display:table;width:var(--table-width, 80%);box-sizing:border-box;background-color:rgb(var(--smoothly-default-color))}[root].sc-smoothly-table-h{margin-left:auto;margin-right:auto;margin-left:1.5rem;margin-right:1.5rem}.sc-smoothly-table-h:not([root]){margin:0;width:100%}";const Bo=class{constructor(o){t(this,o)}render(){return o(i,null,o("div",null,o("div",null,o("slot",null)),o("smoothly-icon",{name:"chevron-forward",size:"tiny"})))}};Bo.style=".sc-smoothly-table-cell-h{display:table-cell;line-height:1.5rem;white-space:nowrap;padding:0.3rem 0 0.3rem 1rem;border-bottom:1px solid rgb(var(--smoothly-dark-color))}.sc-smoothly-table-cell-h smoothly-icon.sc-smoothly-table-cell{display:none}.sc-smoothly-table-cell-h>div.sc-smoothly-table-cell{display:flex;align-items:center}.sc-smoothly-table-cell-h>div.sc-smoothly-table-cell>div.sc-smoothly-table-cell{width:100%}.sc-smoothly-table-cell-h smoothly-icon.sc-smoothly-table-cell{width:0.6rem;height:0.6rem;margin:0 0.3rem;transition:transform 0.2s}";const Do=class{constructor(o){t(this,o)}render(){return[o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"Header A"),o("smoothly-table-header",null,"Header B"),o("smoothly-table-header",null,"Header C"),o("smoothly-table-header",null,"Header D")),o("smoothly-table-row",null,o("smoothly-table-expandable-cell",{open:!0},"normal row (exp.cell)",o("div",{slot:"detail"},"expandable cell 1 content")),o("smoothly-table-expandable-cell",null,"expandable cell",o("div",{slot:"detail"},"expandable cell 2 content")),o("smoothly-table-expandable-cell",null,"expandable cell",o("div",{slot:"detail"},"expandable cell 3 content")),o("smoothly-table-expandable-cell",null,"expandable cell",o("div",{slot:"detail"},"expandable cell 4 content"))),o("smoothly-table-row",null,o("smoothly-table-cell",null,'normal row (nor.cell)"'),o("smoothly-table-cell",null,"normal cell"),o("smoothly-table-expandable-cell",{open:!0},"expandable cell",o("div",{slot:"detail"},"expandable cell details.")),o("smoothly-table-expandable-cell",null,"expandable cell",o("div",{slot:"detail"},"expandable cell details."))),o("smoothly-table-expandable-row",null,o("smoothly-table-cell",null,"expandable row (nor.cell)"),o("smoothly-table-cell",null,"Normal cell"),o("smoothly-table-cell",null,"normal cell"),o("smoothly-table-cell",null,"Normal cell"),o("div",{slot:"detail"},"expandable row content"))),o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"Header A")),o("smoothly-table-expandable-row",null,o("smoothly-table-cell",null,"A Content"),o("div",{slot:"detail"},o("smoothly-tab-switch",null,o("smoothly-tab",{label:"innertable 1",open:!0},o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"Header B")),o("smoothly-table-expandable-row",null,"B Content"))),o("smoothly-tab",{label:"innertable 2"},o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"Header C")),o("smoothly-table-expandable-row",null,o("smoothly-table-cell",null,"C Content")))))))),o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"A"),o("smoothly-table-header",null,"B")),o("smoothly-table-expandable-row",null,o("smoothly-table-cell",null,"a row"),o("smoothly-table-cell",null,"b row"),o("div",{slot:"detail"},o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"C"),o("smoothly-table-header",null,"D")),o("smoothly-table-expandable-row",null,o("smoothly-table-cell",null,"c"),o("smoothly-table-cell",null,"d"),o("div",{slot:"detail"},o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"E"),o("smoothly-table-header",null,"F")),o("smoothly-table-expandable-row",null,o("smoothly-table-cell",null,"e row"),o("smoothly-table-cell",null,"f row"),o("div",{slot:"detail"},"nested expandable row expansion e f")))))))),o("smoothly-table-expandable-row",null,o("smoothly-table-cell",null,o("span",null,"one"),o("span",null,"two"),o("span",null,"three")),o("smoothly-table-cell",null,"five",o("smoothly-icon",{name:"paper-plane-sharp",size:"small"})),o("div",{slot:"detail"},"four")),o("smoothly-table-row",null,o("smoothly-table-expandable-cell",null,"a cell",o("div",{slot:"detail"},o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"E"),o("smoothly-table-header",null,"F")),o("smoothly-table-row",null,o("smoothly-table-expandable-cell",null,"e cell",o("div",{slot:"detail"},"nested expandable cell expansion e")),o("smoothly-table-expandable-cell",null,"f cell",o("div",{slot:"detail"},"nested expandable cell expansion f")))))),o("smoothly-table-expandable-cell",null,"b cell",o("div",{slot:"detail"},o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"C"),o("smoothly-table-header",null,"D")),o("smoothly-table-row",null,o("smoothly-table-expandable-cell",null,"c cell",o("div",{slot:"detail"},"nested expandable cell expansion c")),o("smoothly-table-expandable-cell",null,"d cell",o("div",{slot:"detail"},"nested expandable cell expansion d")))))))),o("smoothly-table",null,o("smoothly-table-row",null,o("smoothly-table-header",null,"display"),o("smoothly-table-header",null,"contents")),o("smoothly-table-expandable-row",null,o("div",{class:"content"},o("smoothly-table-cell",null,"A"),o("smoothly-table-cell",null,"B")),o("div",{slot:"detail"},"expansion")))]}};Do.style=".sc-smoothly-table-demo-h{display:flex;flex-direction:column;align-items:center;gap:3rem;padding-bottom:10rem}.content.sc-smoothly-table-demo{display:contents}";const Go=class{constructor(o){t(this,o),this.expansionOpen=s(this,"expansionOpen",7),this.expansionLoad=s(this,"expansionLoad",7),this.expandableChange=s(this,"expandableChange",7),this.expandableLoad=s(this,"expandableLoad",7),this.allowSpotlight=!0,this.spotlight=!0,this.align="left",this.open=void 0}openChanged(t){this.expansionElement&&(t?this.beginOpen=!0:this.element.append(this.expansionElement)),this.expandableChange.emit(this.open)}handleSpotlight(){this.spotlight=this.open&&this.allowSpotlight}componentWillLoad(){this.expansionLoad.emit(),this.expandableLoad.emit({allowSpotlight:t=>this.allowSpotlight=t})}componentDidRender(){this.beginOpen&&(this.beginOpen=!1,this.expansionOpen.emit(this.expansionElement))}componentDidLoad(){var t;this.open&&this.expansionElement&&(null===(t=this.element.parentElement)||void 0===t||t.after(this.expansionElement))}onClick(){this.open=!this.open}handleTableLoaded(t){t.stopPropagation(),t.detail(this.element)}render(){return o(i,{style:{textAlign:this.align}},o("aside",null,o("smoothly-icon",{name:"chevron-forward",size:"tiny"}),o("slot",null)),o("tr",{class:this.spotlight?"spotlight":"",ref:t=>this.expansionElement=t},o("td",{colSpan:999,class:this.open?"":"hide"},o("slot",{name:"detail"}))))}get element(){return e(this)}static get watchers(){return{open:["openChanged","handleSpotlight"],allowSpotlight:["handleSpotlight"]}}};Go.style='.sc-smoothly-table-expandable-cell-h{display:table-cell;padding:0.3rem 0 0.3rem 0;cursor:pointer;line-height:1.5rem;border-bottom:1px solid rgb(var(--smoothly-dark-color))}[open].sc-smoothly-table-expandable-cell-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-default-color));box-shadow:-1px 0 0 rgb(var(--smoothly-dark-color)) inset, \n\t\t1px 0 0 rgb(var(--smoothly-dark-color)) inset;border-bottom:none}.sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{width:0.6rem;float:left;padding:0 0.3rem;transition:transform 0.2s;display:flex;height:100%;align-self:center}[open].sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{transform:rotate(90deg)}aside.sc-smoothly-table-expandable-cell{display:flex}.hide.sc-smoothly-table-expandable-cell{display:none}td.sc-smoothly-table-expandable-cell-s>*{--expansion-width:1.5rem;--expansion-border-width:3px;position:relative;background-color:rgb(var(--smoothly-default-color));width:calc(100% + 3rem - var(--expansion-border-width));left:calc(-1 * var(--expansion-width));border-left:var(--expansion-border-width) solid rgb(0, 0, 0, 0);box-shadow:0px 0px 4px 2px rgb(var(--smoothly-dark-color));box-sizing:border-box;padding:0.5rem calc(var(--expansion-width) - var(--expansion-border-width));border-bottom:1px solid rgb(var(--smoothly-dark-color));border-left-width:3px}tr.spotlight>td.sc-smoothly-table-expandable-cell-s>*{border-left-color:rgb(var(--smoothly-tertiary-color))}td.sc-smoothly-table-expandable-cell-s>*::before{content:"";position:absolute;display:flex;top:-1px;bottom:0;left:-3px;width:calc(var(--expansion-width) + 1px);border-top:1px solid rgb(var(--smoothly-dark-color))}td.sc-smoothly-table-expandable-cell-s>*::after{content:"";position:absolute;display:flex;top:-1px;bottom:0;right:0;width:calc(var(--expansion-width) -1px);border-top:1px solid rgb(var(--smoothly-dark-color))}';const Lo=class{constructor(o){t(this,o),this.expansionOpen=s(this,"expansionOpen",7),this.expandableChange=s(this,"expandableChange",7),this.expandableLoad=s(this,"expandableLoad",7),this.allowSpotlight=!0,this.spotlight=!0,this.align="left",this.open=void 0}openChanged(){this.expansionElement&&this.element.after(this.expansionElement),this.expandableChange.emit(this.open)}handleSpotlight(){this.spotlight=this.open&&this.allowSpotlight}componentWillLoad(){this.expandableLoad.emit({allowSpotlight:t=>this.allowSpotlight=t})}componentDidRender(){this.expansionOpen.emit(this.expansionElement),this.expansionElement&&this.open&&this.element.after(this.expansionElement)}onClick(t){t.stopPropagation(),this.open=!this.open}handleTableLoaded(t){t.stopPropagation(),t.detail(this.element)}render(){return o(i,{style:{textAlign:this.align}},o("slot",null),o("tr",{class:this.spotlight?"spotlight":"",ref:t=>this.expansionElement=t},o("td",{colSpan:999,class:this.open?"":"hide"},o("slot",{name:"detail"}))))}get element(){return e(this)}static get watchers(){return{open:["openChanged","handleSpotlight"],allowSpotlight:["handleSpotlight"]}}};Lo.style='.sc-smoothly-table-expandable-row-h{display:table-row;cursor:pointer;line-height:1.5rem}[open].sc-smoothly-table-expandable-row-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-default-color));box-shadow:-1px 0 0 0 rgb(var(--smoothly-dark-color)) inset, \n\t\t1px 0 0 0 rgb(var(--smoothly-dark-color)) inset}.sc-smoothly-table-expandable-row-h[open].sc-smoothly-table-expandable-row-s smoothly-table-cell,.sc-smoothly-table-expandable-row-h[open].sc-smoothly-table-expandable-row-s>smoothly-table-cell{border-bottom:none}.hide.sc-smoothly-table-expandable-row{display:none}.sc-smoothly-table-expandable-row-h>tr.sc-smoothly-table-expandable-row>td.sc-smoothly-table-expandable-row{position:relative}td.sc-smoothly-table-expandable-row-s>*{--expansion-width:1.5rem;--expansion-border-width:3px;position:relative;background-color:rgb(var(--smoothly-default-color));width:calc(100% + 3rem - var(--expansion-border-width));left:calc(-1 * var(--expansion-width));border-left:var(--expansion-border-width) solid rgb(0, 0, 0, 0);box-shadow:0px 0px 4px 2px rgb(var(--smoothly-dark-color));box-sizing:border-box;padding:0.5rem calc(var(--expansion-width) - var(--expansion-border-width));border-bottom:1px solid rgb(var(--smoothly-dark-color));border-left-width:3px}tr.spotlight>td.sc-smoothly-table-expandable-row-s>*{border-left-color:rgb(var(--smoothly-tertiary-color))}td.sc-smoothly-table-expandable-row-s>*::before{content:"";position:absolute;display:flex;top:0;bottom:0;left:-3px;width:calc(var(--expansion-width) + 1px);border-top:1px solid rgb(var(--smoothly-dark-color))}td.sc-smoothly-table-expandable-row-s>*::after{content:"";position:absolute;display:flex;top:0;bottom:0;right:0;width:calc(var(--expansion-width) -1px);border-top:1px solid rgb(var(--smoothly-dark-color))}.sc-smoothly-table-expandable-row-h.sc-smoothly-table-expandable-row-s smoothly-table-cell:last-of-type>div>smoothly-icon:last-of-type,.sc-smoothly-table-expandable-row-h.sc-smoothly-table-expandable-row-s>smoothly-table-cell:last-of-type>div>smoothly-icon:last-of-type{display:flex}.sc-smoothly-table-expandable-row-h[open].sc-smoothly-table-expandable-row-s smoothly-table-cell:last-of-type>div>smoothly-icon:last-of-type,.sc-smoothly-table-expandable-row-h[open].sc-smoothly-table-expandable-row-s>smoothly-table-cell:last-of-type>div>smoothly-icon:last-of-type{transform:rotate(90deg)}';const Po=class{constructor(o){t(this,o),this.name=void 0}render(){return o(i,null,o("slot",null))}};Po.style=".sc-smoothly-table-header-h{display:table-cell;line-height:2.5rem;border-bottom:1px solid rgb(var(--smoothly-dark-color));border-top:1px solid rgb(var(--smoothly-dark-color));padding-left:1rem;font-weight:bold}";const Eo=class{constructor(o){t(this,o),this.expansions=[]}onExpansionLoad(t){this.expansions.push(t.target)}onExpansionOpen(t){this.expansions.forEach((o=>{o!=t.target&&(o.open=!1)})),t.detail&&this.element.after(t.detail)}render(){return o("slot",null)}get element(){return e(this)}};Eo.style=".sc-smoothly-table-row-h{display:table-row;cursor:default;line-height:1.5rem}.hide.sc-smoothly-table-row{display:none}";const Oo=class{constructor(o){t(this,o),this.trigger=s(this,"trigger",7),this.color=void 0,this.expand=void 0,this.fill=void 0,this.disabled=!1,this.type="button",this.name=void 0,this.value=void 0}onClick(t){this.trigger.emit({name:this.name,value:this.value}),t.stopPropagation(),t.preventDefault()}render(){let t;switch(this.type){case"link":t=this.disabled?o("slot",null):o("a",{onClick:t=>this.onClick(t)},o("slot",null));break;case"button":t=o("button",{disabled:this.disabled,name:this.name},o("slot",null))}return t}};Oo.style=".sc-smoothly-trigger-h{display:block;border-style:solid;border-width:1px;border-radius:3px}[hidden].sc-smoothly-trigger-h{display:none}[disabled].sc-smoothly-trigger-h{opacity:0.5}button.sc-smoothly-trigger{border-color:transparent;background-color:transparent;padding:0.2em 0.3em;font-size:110%;font-weight:400}.sc-smoothly-trigger-h:not([disabled]):hover,.sc-smoothly-trigger-h:not([disabled]):focus,.sc-smoothly-trigger-h:not([disabled]):active{border-color:var(--smoothly-trigger-border)}[expand=fill].sc-smoothly-trigger-h>button.sc-smoothly-trigger,[expand=block].sc-smoothly-trigger-h>button.sc-smoothly-trigger{width:100%}[expand=fill].sc-smoothly-trigger-h{border-left:none;border-right:none}";const Ko=class{constructor(o){t(this,o),this.tuple=void 0}render(){return[o("b",null,this.tuple[0]),": ",this.tuple[1],o("br",null)]}},Uo=class{constructor(o){t(this,o),this.data=void 0}render(){return this.data.split("&").map((t=>t.split("="))).map((t=>o("smoothly-tuple",{tuple:t})))}};export{v as smoothly_accordion,f as smoothly_accordion_item,S as smoothly_app,w as smoothly_app_demo,k as smoothly_backtotop,C as smoothly_button,N as smoothly_calendar,B as smoothly_checkbox,D as smoothly_dialog,G as smoothly_dialog_demo,Xt as smoothly_display,jt as smoothly_display_amount,$t as smoothly_display_date_time,_t as smoothly_display_demo,Qt as smoothly_frame,qt as smoothly_icon,to as smoothly_icon_demo,oo as smoothly_input,eo as smoothly_input_date,so as smoothly_input_date_range,io as smoothly_input_demo,no as smoothly_input_month,lo as smoothly_item,ro as smoothly_menu_options,ao as smoothly_notification,ho as smoothly_notifier,co as smoothly_option,mo as smoothly_picker,uo as smoothly_popup,po as smoothly_quiet,yo as smoothly_radio,bo as smoothly_radio_button,go as smoothly_radio_button_item,vo as smoothly_room,fo as smoothly_select,So as smoothly_select_demo,wo as smoothly_selector,ko as smoothly_skeleton,Co as smoothly_spinner,Ao as smoothly_submit,xo as smoothly_svg,To as smoothly_tab,Io as smoothly_tab_switch,Ro as smoothly_table,Bo as smoothly_table_cell,Do as smoothly_table_demo,Go as smoothly_table_expandable_cell,Lo as smoothly_table_expandable_row,Po as smoothly_table_header,Eo as smoothly_table_row,Oo as smoothly_trigger,Ko as smoothly_tuple,Uo as smoothly_urlencoded}
|