@deck9/ui 0.9.12 → 0.9.13

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.
@@ -1079,7 +1079,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1079
1079
  return (_ctx, _cache) => {
1080
1080
  return openBlock(), createElementBlock("div", _hoisted_1$6, [
1081
1081
  createElementVNode("input", mergeProps({
1082
- class: ["mono-50 bg-white text-grey-800 placeholder-grey-600 border-grey-300 dark:bg-grey-800 dark:text-grey-100 dark:placeholder-grey-400 dark:border-grey-700 focus:border-blue-400 focus:ring-blue-400 dark:focus:border-blue-800 dark:focus:ring-blue-800 rounded", [unref$1(inputClasses), unref$1(textSizeClasses), unref$1(disabledClasses)]],
1082
+ class: ["mono-50 bg-white text-grey-800 placeholder:text-grey-400 placeholder:font-normal border-grey-300 dark:bg-grey-800 dark:text-grey-100 dark:placeholder:text-grey-500 dark:border-grey-700 focus:border-blue-400 focus:ring-blue-400 dark:focus:border-blue-800 dark:focus:ring-blue-800 rounded", [unref$1(inputClasses), unref$1(textSizeClasses), unref$1(disabledClasses)]],
1083
1083
  placeholder: __props.placeholder,
1084
1084
  type: __props.type,
1085
1085
  tabindex: __props.isDisabled ? "-1" : void 0,
@@ -2,7 +2,7 @@ var Wo=Object.defineProperty,Ko=Object.defineProperties;var qo=Object.getOwnProp
2
2
  * Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  * Copyright 2022 Fonticons, Inc.
5
- */var qt={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.8 90.69 226.4 209.3 245V327.7h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.3 482.4 504 379.8 504 256z"]},Gt={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},Xt={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},Yt={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},Jt={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.4 151.7c.325 4.548 .325 9.097 .325 13.65 0 138.7-105.6 298.6-298.6 298.6-59.45 0-114.7-17.22-161.1-47.11 8.447 .974 16.57 1.299 25.34 1.299 49.06 0 94.21-16.57 130.3-44.83-46.13-.975-84.79-31.19-98.11-72.77 6.498 .974 12.99 1.624 19.82 1.624 9.421 0 18.84-1.3 27.61-3.573-48.08-9.747-84.14-51.98-84.14-102.1v-1.299c13.97 7.797 30.21 12.67 47.43 13.32-28.26-18.84-46.78-51.01-46.78-87.39 0-19.49 5.197-37.36 14.29-52.95 51.65 63.67 129.3 105.3 216.4 109.8-1.624-7.797-2.599-15.92-2.599-24.04 0-57.83 46.78-104.9 104.9-104.9 30.21 0 57.5 12.67 76.67 33.14 23.72-4.548 46.46-13.32 66.6-25.34-7.798 24.37-24.37 44.83-46.13 57.83 21.12-2.273 41.58-8.122 60.43-16.24-14.29 20.79-32.16 39.31-52.63 54.25z"]};De.library.add(g.faAt,g.faBold,g.faCalendar,g.faChartPie,g.faCheck,g.faCheckCircle,g.faChevronDown,g.faChevronLeft,g.faChevronRight,g.faChevronUp,g.faCircleCheck,g.faCircleNotch,g.faClipboard,g.faCog,g.faDoorOpen,g.faDotCircle,g.faEllipsis,g.faEllipsisVertical,g.faEnvelope,g.faExclamationTriangle,g.faFileLines,g.faFileUpload,g.faFingerprint,g.faGlobe,g.faGripHorizontal,g.faGripVertical,g.faHandPointRight,g.faHashtag,g.faInfoCircle,g.faItalic,g.faLink,g.faMedal,g.faPencilAlt,g.faPenToSquare,g.faPhone,g.faPlayCircle,g.faPlus,g.faPlusCircle,g.faReply,g.faReplyAll,g.faRobot,g.faSave,g.faShield,g.faSignature,g.faSquareCheck,g.faStar,g.faTimes,g.faTrash,g.faTrophy,g.faUpload,g.faUser,g.faUserShield,Jt,Xt,Gt,Yt,qt);var Qe=[...Object.keys(De.library.definitions.fas)].sort();const Me=[...Object.keys(De.library.definitions.fab)].sort(),N=r.defineComponent({props:{name:{default:"user"}},setup(e){const t=e,n=r.computed(()=>Me.includes(t.name)?"fab":"fas"),o=r.computed(()=>Qe.includes(t.name)||Me.includes(t.name)?!0:(console.warn("could not load icon, because it is not available",t.name),!1));return(a,i)=>r.unref(o)?(r.openBlock(),r.createBlock(r.unref(R.FontAwesomeIcon),r.mergeProps({key:0,icon:[r.unref(n),e.name]},a.$attrs),null,16,["icon"])):r.createCommentVNode("",!0)}}),Qt=["aria-label","tabindex"],Zt={key:0,class:"absolute inset-0 flex items-center justify-center"},en=r.defineComponent({props:{label:null,size:{default:"medium"},color:{default:"primary"},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},icon:null,iconPosition:{default:"right"}},emits:["onClick"],setup(e,{emit:t}){const n=e,o=r.computed(()=>{const c={"text-white bg-blue-600 border-transparent hover:bg-blue-700 active:bg-blue-700 dark:ring-blue-800 ring-offset-2 dark:ring-offset-grey-900":n.color==="primary","text-blue-600 bg-grey-100 border-transparent hover:bg-blue-100 hover:text-blue-700 active:bg-grey-100 ring-blue-300 ring-offset-2 dark:ring-offset-grey-900":n.color==="light","text-grey-50 bg-grey-700 border-transparent hover:bg-grey-800 active:bg-grey-700 ring-grey-500 dark:ring-grey-400 dark:ring-opacity-50 ring-offset-2 dark:ring-offset-grey-900":n.color==="dark"},s={"pointer-events-none opacity-75 cursor-not-allowed":n.isDisabled},l={"px-4 py-1 text-xs leading-5 mono-100 rounded-lg":n.size==="small","px-5 py-2 text-sm leading-4 font-medium rounded-lg":n.size==="medium","px-8 py-3 text-base leading-6 font-medium rounded-lg":n.size==="large"};return G(G(G({},c),s),l)}),a=r.computed(()=>{const c={"mr-2 -ml-1":["small","medium"].includes(n.size)&&n.iconPosition==="left","mr-4 -ml-2":["large"].includes(n.size)&&n.iconPosition==="left"},s={"ml-3 -mr-1":["small","medium"].includes(n.size)&&n.iconPosition==="right","ml-3 -mr-3":["large"].includes(n.size)&&n.iconPosition==="right"},l={"text-white":n.color==="primary","text-blue-600":n.color==="light","text-grey-50":n.color==="dark"};return G(G(G({},c),s),l)});function i(){n.isDisabled||t("onClick")}return(c,s)=>(r.openBlock(),r.createElementBlock("button",{class:r.normalizeClass(["relative inline-flex items-center focus:outline-none focus:ring active:ring transition duration-150 ease-in-out",r.unref(o)]),type:"button","aria-label":e.label,tabindex:e.isDisabled?"-1":void 0,onClick:i},[r.createElementVNode("div",{class:r.normalizeClass(!e.isLoading||"invisible")},[e.icon&&e.iconPosition==="left"?(r.openBlock(),r.createBlock(N,{key:0,name:e.icon,class:r.normalizeClass(r.unref(a))},null,8,["name","class"])):r.createCommentVNode("",!0),r.createElementVNode("span",null,r.toDisplayString(e.label),1),e.icon&&e.iconPosition==="right"?(r.openBlock(),r.createBlock(N,{key:1,name:e.icon,class:r.normalizeClass(r.unref(a))},null,8,["name","class"])):r.createCommentVNode("",!0)],2),e.isLoading?(r.openBlock(),r.createElementBlock("span",Zt,[r.createVNode(N,{class:"animate-spin",name:"circle-notch"})])):r.createCommentVNode("",!0)],10,Qt))}});var ye,tn=new Uint8Array(16);function nn(){if(!ye&&(ye=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!ye))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ye(tn)}var rn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function on(e){return typeof e=="string"&&rn.test(e)}for(var V=[],$e=0;$e<256;++$e)V.push(($e+256).toString(16).substr(1));function an(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(V[e[t+0]]+V[e[t+1]]+V[e[t+2]]+V[e[t+3]]+"-"+V[e[t+4]]+V[e[t+5]]+"-"+V[e[t+6]]+V[e[t+7]]+"-"+V[e[t+8]]+V[e[t+9]]+"-"+V[e[t+10]]+V[e[t+11]]+V[e[t+12]]+V[e[t+13]]+V[e[t+14]]+V[e[t+15]]).toLowerCase();if(!on(n))throw TypeError("Stringified UUID is invalid");return n}function Ze(e,t,n){e=e||{};var o=e.random||(e.rng||nn)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=o[a];return t}return an(o)}const ln={class:"relative flex items-start"},sn={class:"flex items-center h-5"},cn=["checked","id"],un={class:"ml-2 text-sm leading-5"},fn=["for"],dn={key:0,class:"block text-xs text-grey-400 font-normal mono-0 casual-60"},pn=r.defineComponent({props:{id:{default:Ze()},label:null,modelValue:{type:Boolean},description:null},emits:["update:modelValue"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o.target.checked)};return(o,a)=>(r.openBlock(),r.createElementBlock("div",ln,[r.createElementVNode("div",sn,[r.createElementVNode("input",{class:"h-4 w-4 border-grey-600 dark:text-blue-500 dark:border-grey-300 dark:checked:border-blue-500 dark:focus:ring-blue-900 dark:focus:ring-offset-grey-800 rounded-sm",type:"checkbox",checked:e.modelValue,onChange:n,id:e.id},null,40,cn)]),r.createElementVNode("div",un,[r.createElementVNode("label",{for:e.id,class:"font-medium text-grey-700 dark:text-grey-200 casual-25"},r.toDisplayString(e.label),9,fn),e.description?(r.openBlock(),r.createElementBlock("p",dn,r.toDisplayString(e.description),1)):r.createCommentVNode("",!0)])]))}}),mn={},Le=()=>{},fe=Object.assign,hn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Q=Array.isArray,bn=e=>Ne(e)==="[object Map]",gn=e=>Ne(e)==="[object Set]",A=e=>typeof e=="function",vn=e=>typeof e=="string",yn=e=>typeof e=="symbol",et=e=>e!==null&&typeof e=="object",xn=e=>et(e)&&A(e.then)&&A(e.catch),wn=Object.prototype.toString,Ne=e=>wn.call(e),kn=e=>Ne(e)==="[object Object]",tt=(e,t)=>!Object.is(e,t),Cn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let Sn;function On(e,t=Sn){t&&t.active&&t.effects.push(e)}const En=e=>{const t=new Set(e);return t.w=0,t.n=0,t},nt=e=>(e.w&H)>0,rt=e=>(e.n&H)>0,In=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=H},Vn=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];nt(a)&&!rt(a)?a.delete(e):t[n++]=a,a.w&=~H,a.n&=~H}t.length=n}};let de=0,H=1;const je=30;let _;class ot{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,On(this,o)}run(){if(!this.active)return this.fn();let t=_,n=xe;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=_,_=this,xe=!0,H=1<<++de,de<=je?In(this):at(this),this.fn()}finally{de<=je&&Vn(this),H=1<<--de,_=this.parent,xe=n,this.parent=void 0}}stop(){this.active&&(at(this),this.onStop&&this.onStop(),this.active=!1)}}function at(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let xe=!0;function Bn(e,t){let n=!1;de<=je?rt(e)||(e.n|=H,n=!nt(e)):n=!e.has(_),n&&(e.add(_),_.deps.push(e))}function Pn(e,t){for(const n of Q(e)?e:[...e])(n!==_||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(yn));function pe(e){return Rn(e)?pe(e.__v_raw):!!(e&&e.__v_isReactive)}function Rn(e){return!!(e&&e.__v_isReadonly)}function Tn(e){return!!(e&&e.__v_isShallow)}function we(e){const t=e&&e.__v_raw;return t?we(t):e}function Dn(e){return Cn(e,"__v_skip",!0),e}function Mn(e){xe&&_&&(e=we(e),Bn(e.dep||(e.dep=En())))}function $n(e,t){e=we(e),e.dep&&Pn(e.dep)}function Z(e){return!!(e&&e.__v_isRef===!0)}function Ln(e){return Z(e)?e.value:e}const Nn={get:(e,t,n)=>Ln(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const a=e[t];return Z(a)&&!Z(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};function jn(e){return pe(e)?e:new Proxy(e,Nn)}class An{constructor(t,n,o,a){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ot(t,()=>{this._dirty||(this._dirty=!0,$n(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=o}get value(){const t=we(this);return Mn(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function _n(e,t,n=!1){let o,a;const i=A(e);return i?(o=e,a=Le):(o=e.get,a=e.set),new An(o,a,i||!a,n)}Promise.resolve();function ee(e,t,n,o){let a;try{a=o?e(...o):e()}catch(i){it(i,t,n)}return a}function Ae(e,t,n,o){if(A(e)){const i=ee(e,t,n,o);return i&&xn(i)&&i.catch(c=>{it(c,t,n)}),i}const a=[];for(let i=0;i<e.length;i++)a.push(Ae(e[i],t,n,o));return a}function it(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let i=t.parent;const c=t.proxy,s=n;for(;i;){const u=i.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,c,s)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){ee(l,null,10,[e,c,s]);return}}zn(e,n,a,o)}function zn(e,t,n,o=!0){console.error(e)}let ke=!1,_e=!1;const D=[];let W=0;const me=[];let he=null,te=0;const be=[];let K=null,ne=0;const lt=Promise.resolve();let ze=null,Ue=null;function Un(e){const t=ze||lt;return e?t.then(this?e.bind(this):e):t}function Fn(e){let t=W+1,n=D.length;for(;t<n;){const o=t+n>>>1;ge(D[o])<e?t=o+1:n=o}return t}function Hn(e){(!D.length||!D.includes(e,ke&&e.allowRecurse?W+1:W))&&e!==Ue&&(e.id==null?D.push(e):D.splice(Fn(e.id),0,e),st())}function st(){!ke&&!_e&&(_e=!0,ze=lt.then(ft))}function ct(e,t,n,o){Q(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?o+1:o))&&n.push(e),st()}function Wn(e){ct(e,he,me,te)}function Kn(e){ct(e,K,be,ne)}function ut(e,t=null){if(me.length){for(Ue=t,he=[...new Set(me)],me.length=0,te=0;te<he.length;te++)he[te]();he=null,te=0,Ue=null,ut(e,t)}}function qn(e){if(be.length){const t=[...new Set(be)];if(be.length=0,K){K.push(...t);return}for(K=t,K.sort((n,o)=>ge(n)-ge(o)),ne=0;ne<K.length;ne++)K[ne]();K=null,ne=0}}const ge=e=>e.id==null?1/0:e.id;function ft(e){_e=!1,ke=!0,ut(e),D.sort((n,o)=>ge(n)-ge(o));const t=Le;try{for(W=0;W<D.length;W++){const n=D[W];n&&n.active!==!1&&ee(n,null,14)}}finally{W=0,D.length=0,qn(),ke=!1,ze=null,(D.length||me.length||be.length)&&ft(e)}}function Gn(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Kn(e)}const dt={};function Xn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:c}=mn){const s=oe;let l,u=!1,f=!1;if(Z(e)?(l=()=>e.value,u=Tn(e)):pe(e)?(l=()=>e,o=!0):Q(e)?(f=!0,u=e.some(pe),l=()=>e.map(b=>{if(Z(b))return b.value;if(pe(b))return re(b);if(A(b))return ee(b,s,2)})):A(e)?t?l=()=>ee(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return v&&v(),Ae(e,s,3,[y])}:l=Le,t&&o){const b=l;l=()=>re(b())}let v,y=b=>{v=m.onStop=()=>{ee(b,s,4)}},p=f?[]:dt;const h=()=>{if(!!m.active)if(t){const b=m.run();(o||u||(f?b.some((O,S)=>tt(O,p[S])):tt(b,p)))&&(v&&v(),Ae(t,s,3,[b,p===dt?void 0:p,y]),p=b)}else m.run()};h.allowRecurse=!!t;let d;a==="sync"?d=h:a==="post"?d=()=>ht(h,s&&s.suspense):d=()=>{!s||s.isMounted?Wn(h):h()};const m=new ot(l,d);return t?n?h():p=m.run():a==="post"?ht(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&hn(s.scope.effects,m)}}function Yn(e,t,n){const o=this.proxy,a=vn(e)?e.includes(".")?Jn(o,e):()=>o[e]:e.bind(o,o);let i;A(t)?i=t:(i=t.handler,n=t);const c=oe;gt(this);const s=Xn(a,i.bind(o),n);return c?gt(c):nr(),s}function Jn(e,t){const n=t.split(".");return()=>{let o=e;for(let a=0;a<n.length&&o;a++)o=o[n[a]];return o}}function re(e,t){if(!et(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Z(e))re(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)re(e[n],t);else if(gn(e)||bn(e))e.forEach(n=>{re(n,t)});else if(kn(e))for(const n in e)re(e[n],t);return e}function Qn(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:c}}=e.appContext,s=i.get(t);let l;return s?l=s:!a.length&&!n&&!o?l=t:(l={},a.length&&a.forEach(u=>Ce(l,u,c,!0)),Ce(l,t,c)),i.set(t,l),l}function Ce(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&Ce(e,i,n,!0),a&&a.forEach(c=>Ce(e,c,n,!0));for(const c in t)if(!(o&&c==="expose")){const s=Zn[c]||n&&n[c];e[c]=s?s(e[c],t[c]):t[c]}return e}const Zn={data:pt,props:X,emits:X,methods:X,computed:X,beforeCreate:P,created:P,beforeMount:P,mounted:P,beforeUpdate:P,updated:P,beforeDestroy:P,beforeUnmount:P,destroyed:P,unmounted:P,activated:P,deactivated:P,errorCaptured:P,serverPrefetch:P,components:X,directives:X,watch:tr,provide:pt,inject:er};function pt(e,t){return t?e?function(){return fe(A(e)?e.call(this,this):e,A(t)?t.call(this,this):t)}:t:e}function er(e,t){return X(mt(e),mt(t))}function mt(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function P(e,t){return e?[...new Set([].concat(e,t))]:t}function X(e,t){return e?fe(fe(Object.create(null),e),t):t}function tr(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const o in t)n[o]=P(e[o],t[o]);return n}const ht=Gn,Fe=e=>e?rr(e)?ar(e)||e.proxy:Fe(e.parent):null,bt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fe(e.parent),$root:e=>Fe(e.root),$emit:e=>e.emit,$options:e=>Qn(e),$forceUpdate:e=>()=>Hn(e.update),$nextTick:e=>Un.bind(e.proxy),$watch:e=>Yn.bind(e)});let oe=null;const gt=e=>{oe=e,e.scope.on()},nr=()=>{oe&&oe.scope.off(),oe=null};function rr(e){return e.vnode.shapeFlag&4}let or=!1;function ar(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(jn(Dn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in bt)return bt[n](e)}}))}const He=(e,t)=>_n(e,t,or);function vt(e){const t=He(()=>({"pl-3 pr-10 py-1":!e.icon&&e.size==="small","pl-4 pr-10 py-3":!e.icon&&e.size==="medium","pl-6 pr-10 py-3":!e.icon&&e.size==="large","pl-10 pr-10 py-1":e.icon&&e.size==="small","pl-12 pr-10 py-3":e.icon&&(e.size==="medium"||e.size==="large"),"w-full block":e.block===!0})),n=He(()=>({"pointer-events-none opacity-50 cursor-not-allowed":e.isDisabled})),o=He(()=>({"text-xs leading-4":e.size==="small","text-sm leading-4":e.size==="medium","text-base leading-5":e.size==="large"}));return{inputClasses:t,disabledClasses:n,textSizeClasses:o}}const ir={class:"relative"},lr=["placeholder","type","tabindex","value"],sr={inheritAttrs:!1},cr=r.defineComponent(Ht(G({},sr),{props:{modelValue:null,type:{default:"text"},placeholder:null,size:{default:"medium"},icon:null,isDisabled:{type:Boolean,default:!1},block:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,{inputClasses:o,disabledClasses:a,textSizeClasses:i}=vt(n),c=function(s){t("update:modelValue",(s==null?void 0:s.target).value)};return(s,l)=>(r.openBlock(),r.createElementBlock("div",ir,[r.createElementVNode("input",r.mergeProps({class:["mono-50 bg-white text-grey-800 placeholder-grey-600 border-grey-300 dark:bg-grey-800 dark:text-grey-100 dark:placeholder-grey-400 dark:border-grey-700 focus:border-blue-400 focus:ring-blue-400 dark:focus:border-blue-800 dark:focus:ring-blue-800 rounded",[r.unref(o),r.unref(i),r.unref(a)]],placeholder:e.placeholder,type:e.type,tabindex:e.isDisabled?"-1":void 0,value:e.modelValue},s.$attrs,{onInput:c}),null,16,lr),e.icon?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["absolute left-0 inset-y-0 inline-flex items-center justify-center text-grey-700 dark:text-grey-100 px-4",r.unref(i)])},[r.createVNode(N,{name:e.icon},null,8,["name"])],2)):r.createCommentVNode("",!0)]))}})),ur={class:"inline-block text-grey-700 dark:text-grey-200 text-sm font-medium casual-20"},fr=["for"],dr={key:0,class:"block text-xs text-grey-400 font-normal mono-0 casual-60"},pr=r.defineComponent({props:{id:null,label:null,description:null},setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock("span",ur,[r.createElementVNode("label",{for:e.id},r.toDisplayString(e.label),9,fr),e.description?(r.openBlock(),r.createElementBlock("span",dr,r.toDisplayString(e.description),1)):r.createCommentVNode("",!0)]))}});function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},M.apply(this,arguments)}function yt(e,t){if(e==null)return{};var n={},o=Object.keys(e),a,i;for(i=0;i<o.length;i++)a=o[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function mr(e,t){if(!!e){if(typeof e=="string")return xt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xt(e,t)}}function xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function hr(e,t){var n;if(typeof Symbol=="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=mr(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
+ */var qt={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.8 90.69 226.4 209.3 245V327.7h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.3 482.4 504 379.8 504 256z"]},Gt={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},Xt={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},Yt={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},Jt={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.4 151.7c.325 4.548 .325 9.097 .325 13.65 0 138.7-105.6 298.6-298.6 298.6-59.45 0-114.7-17.22-161.1-47.11 8.447 .974 16.57 1.299 25.34 1.299 49.06 0 94.21-16.57 130.3-44.83-46.13-.975-84.79-31.19-98.11-72.77 6.498 .974 12.99 1.624 19.82 1.624 9.421 0 18.84-1.3 27.61-3.573-48.08-9.747-84.14-51.98-84.14-102.1v-1.299c13.97 7.797 30.21 12.67 47.43 13.32-28.26-18.84-46.78-51.01-46.78-87.39 0-19.49 5.197-37.36 14.29-52.95 51.65 63.67 129.3 105.3 216.4 109.8-1.624-7.797-2.599-15.92-2.599-24.04 0-57.83 46.78-104.9 104.9-104.9 30.21 0 57.5 12.67 76.67 33.14 23.72-4.548 46.46-13.32 66.6-25.34-7.798 24.37-24.37 44.83-46.13 57.83 21.12-2.273 41.58-8.122 60.43-16.24-14.29 20.79-32.16 39.31-52.63 54.25z"]};De.library.add(g.faAt,g.faBold,g.faCalendar,g.faChartPie,g.faCheck,g.faCheckCircle,g.faChevronDown,g.faChevronLeft,g.faChevronRight,g.faChevronUp,g.faCircleCheck,g.faCircleNotch,g.faClipboard,g.faCog,g.faDoorOpen,g.faDotCircle,g.faEllipsis,g.faEllipsisVertical,g.faEnvelope,g.faExclamationTriangle,g.faFileLines,g.faFileUpload,g.faFingerprint,g.faGlobe,g.faGripHorizontal,g.faGripVertical,g.faHandPointRight,g.faHashtag,g.faInfoCircle,g.faItalic,g.faLink,g.faMedal,g.faPencilAlt,g.faPenToSquare,g.faPhone,g.faPlayCircle,g.faPlus,g.faPlusCircle,g.faReply,g.faReplyAll,g.faRobot,g.faSave,g.faShield,g.faSignature,g.faSquareCheck,g.faStar,g.faTimes,g.faTrash,g.faTrophy,g.faUpload,g.faUser,g.faUserShield,Jt,Xt,Gt,Yt,qt);var Qe=[...Object.keys(De.library.definitions.fas)].sort();const Me=[...Object.keys(De.library.definitions.fab)].sort(),N=r.defineComponent({props:{name:{default:"user"}},setup(e){const t=e,n=r.computed(()=>Me.includes(t.name)?"fab":"fas"),o=r.computed(()=>Qe.includes(t.name)||Me.includes(t.name)?!0:(console.warn("could not load icon, because it is not available",t.name),!1));return(a,i)=>r.unref(o)?(r.openBlock(),r.createBlock(r.unref(R.FontAwesomeIcon),r.mergeProps({key:0,icon:[r.unref(n),e.name]},a.$attrs),null,16,["icon"])):r.createCommentVNode("",!0)}}),Qt=["aria-label","tabindex"],Zt={key:0,class:"absolute inset-0 flex items-center justify-center"},en=r.defineComponent({props:{label:null,size:{default:"medium"},color:{default:"primary"},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},icon:null,iconPosition:{default:"right"}},emits:["onClick"],setup(e,{emit:t}){const n=e,o=r.computed(()=>{const c={"text-white bg-blue-600 border-transparent hover:bg-blue-700 active:bg-blue-700 dark:ring-blue-800 ring-offset-2 dark:ring-offset-grey-900":n.color==="primary","text-blue-600 bg-grey-100 border-transparent hover:bg-blue-100 hover:text-blue-700 active:bg-grey-100 ring-blue-300 ring-offset-2 dark:ring-offset-grey-900":n.color==="light","text-grey-50 bg-grey-700 border-transparent hover:bg-grey-800 active:bg-grey-700 ring-grey-500 dark:ring-grey-400 dark:ring-opacity-50 ring-offset-2 dark:ring-offset-grey-900":n.color==="dark"},s={"pointer-events-none opacity-75 cursor-not-allowed":n.isDisabled},l={"px-4 py-1 text-xs leading-5 mono-100 rounded-lg":n.size==="small","px-5 py-2 text-sm leading-4 font-medium rounded-lg":n.size==="medium","px-8 py-3 text-base leading-6 font-medium rounded-lg":n.size==="large"};return G(G(G({},c),s),l)}),a=r.computed(()=>{const c={"mr-2 -ml-1":["small","medium"].includes(n.size)&&n.iconPosition==="left","mr-4 -ml-2":["large"].includes(n.size)&&n.iconPosition==="left"},s={"ml-3 -mr-1":["small","medium"].includes(n.size)&&n.iconPosition==="right","ml-3 -mr-3":["large"].includes(n.size)&&n.iconPosition==="right"},l={"text-white":n.color==="primary","text-blue-600":n.color==="light","text-grey-50":n.color==="dark"};return G(G(G({},c),s),l)});function i(){n.isDisabled||t("onClick")}return(c,s)=>(r.openBlock(),r.createElementBlock("button",{class:r.normalizeClass(["relative inline-flex items-center focus:outline-none focus:ring active:ring transition duration-150 ease-in-out",r.unref(o)]),type:"button","aria-label":e.label,tabindex:e.isDisabled?"-1":void 0,onClick:i},[r.createElementVNode("div",{class:r.normalizeClass(!e.isLoading||"invisible")},[e.icon&&e.iconPosition==="left"?(r.openBlock(),r.createBlock(N,{key:0,name:e.icon,class:r.normalizeClass(r.unref(a))},null,8,["name","class"])):r.createCommentVNode("",!0),r.createElementVNode("span",null,r.toDisplayString(e.label),1),e.icon&&e.iconPosition==="right"?(r.openBlock(),r.createBlock(N,{key:1,name:e.icon,class:r.normalizeClass(r.unref(a))},null,8,["name","class"])):r.createCommentVNode("",!0)],2),e.isLoading?(r.openBlock(),r.createElementBlock("span",Zt,[r.createVNode(N,{class:"animate-spin",name:"circle-notch"})])):r.createCommentVNode("",!0)],10,Qt))}});var ye,tn=new Uint8Array(16);function nn(){if(!ye&&(ye=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!ye))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ye(tn)}var rn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function on(e){return typeof e=="string"&&rn.test(e)}for(var V=[],$e=0;$e<256;++$e)V.push(($e+256).toString(16).substr(1));function an(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(V[e[t+0]]+V[e[t+1]]+V[e[t+2]]+V[e[t+3]]+"-"+V[e[t+4]]+V[e[t+5]]+"-"+V[e[t+6]]+V[e[t+7]]+"-"+V[e[t+8]]+V[e[t+9]]+"-"+V[e[t+10]]+V[e[t+11]]+V[e[t+12]]+V[e[t+13]]+V[e[t+14]]+V[e[t+15]]).toLowerCase();if(!on(n))throw TypeError("Stringified UUID is invalid");return n}function Ze(e,t,n){e=e||{};var o=e.random||(e.rng||nn)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=o[a];return t}return an(o)}const ln={class:"relative flex items-start"},sn={class:"flex items-center h-5"},cn=["checked","id"],un={class:"ml-2 text-sm leading-5"},fn=["for"],dn={key:0,class:"block text-xs text-grey-400 font-normal mono-0 casual-60"},pn=r.defineComponent({props:{id:{default:Ze()},label:null,modelValue:{type:Boolean},description:null},emits:["update:modelValue"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o.target.checked)};return(o,a)=>(r.openBlock(),r.createElementBlock("div",ln,[r.createElementVNode("div",sn,[r.createElementVNode("input",{class:"h-4 w-4 border-grey-600 dark:text-blue-500 dark:border-grey-300 dark:checked:border-blue-500 dark:focus:ring-blue-900 dark:focus:ring-offset-grey-800 rounded-sm",type:"checkbox",checked:e.modelValue,onChange:n,id:e.id},null,40,cn)]),r.createElementVNode("div",un,[r.createElementVNode("label",{for:e.id,class:"font-medium text-grey-700 dark:text-grey-200 casual-25"},r.toDisplayString(e.label),9,fn),e.description?(r.openBlock(),r.createElementBlock("p",dn,r.toDisplayString(e.description),1)):r.createCommentVNode("",!0)])]))}}),mn={},Le=()=>{},fe=Object.assign,hn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Q=Array.isArray,bn=e=>Ne(e)==="[object Map]",gn=e=>Ne(e)==="[object Set]",A=e=>typeof e=="function",vn=e=>typeof e=="string",yn=e=>typeof e=="symbol",et=e=>e!==null&&typeof e=="object",xn=e=>et(e)&&A(e.then)&&A(e.catch),wn=Object.prototype.toString,Ne=e=>wn.call(e),kn=e=>Ne(e)==="[object Object]",tt=(e,t)=>!Object.is(e,t),Cn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let Sn;function On(e,t=Sn){t&&t.active&&t.effects.push(e)}const En=e=>{const t=new Set(e);return t.w=0,t.n=0,t},nt=e=>(e.w&H)>0,rt=e=>(e.n&H)>0,In=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=H},Vn=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];nt(a)&&!rt(a)?a.delete(e):t[n++]=a,a.w&=~H,a.n&=~H}t.length=n}};let de=0,H=1;const je=30;let _;class ot{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,On(this,o)}run(){if(!this.active)return this.fn();let t=_,n=xe;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=_,_=this,xe=!0,H=1<<++de,de<=je?In(this):at(this),this.fn()}finally{de<=je&&Vn(this),H=1<<--de,_=this.parent,xe=n,this.parent=void 0}}stop(){this.active&&(at(this),this.onStop&&this.onStop(),this.active=!1)}}function at(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let xe=!0;function Bn(e,t){let n=!1;de<=je?rt(e)||(e.n|=H,n=!nt(e)):n=!e.has(_),n&&(e.add(_),_.deps.push(e))}function Pn(e,t){for(const n of Q(e)?e:[...e])(n!==_||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(yn));function pe(e){return Rn(e)?pe(e.__v_raw):!!(e&&e.__v_isReactive)}function Rn(e){return!!(e&&e.__v_isReadonly)}function Tn(e){return!!(e&&e.__v_isShallow)}function we(e){const t=e&&e.__v_raw;return t?we(t):e}function Dn(e){return Cn(e,"__v_skip",!0),e}function Mn(e){xe&&_&&(e=we(e),Bn(e.dep||(e.dep=En())))}function $n(e,t){e=we(e),e.dep&&Pn(e.dep)}function Z(e){return!!(e&&e.__v_isRef===!0)}function Ln(e){return Z(e)?e.value:e}const Nn={get:(e,t,n)=>Ln(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const a=e[t];return Z(a)&&!Z(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};function jn(e){return pe(e)?e:new Proxy(e,Nn)}class An{constructor(t,n,o,a){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ot(t,()=>{this._dirty||(this._dirty=!0,$n(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=o}get value(){const t=we(this);return Mn(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function _n(e,t,n=!1){let o,a;const i=A(e);return i?(o=e,a=Le):(o=e.get,a=e.set),new An(o,a,i||!a,n)}Promise.resolve();function ee(e,t,n,o){let a;try{a=o?e(...o):e()}catch(i){it(i,t,n)}return a}function Ae(e,t,n,o){if(A(e)){const i=ee(e,t,n,o);return i&&xn(i)&&i.catch(c=>{it(c,t,n)}),i}const a=[];for(let i=0;i<e.length;i++)a.push(Ae(e[i],t,n,o));return a}function it(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let i=t.parent;const c=t.proxy,s=n;for(;i;){const u=i.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,c,s)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){ee(l,null,10,[e,c,s]);return}}zn(e,n,a,o)}function zn(e,t,n,o=!0){console.error(e)}let ke=!1,_e=!1;const D=[];let W=0;const me=[];let he=null,te=0;const be=[];let K=null,ne=0;const lt=Promise.resolve();let ze=null,Ue=null;function Un(e){const t=ze||lt;return e?t.then(this?e.bind(this):e):t}function Fn(e){let t=W+1,n=D.length;for(;t<n;){const o=t+n>>>1;ge(D[o])<e?t=o+1:n=o}return t}function Hn(e){(!D.length||!D.includes(e,ke&&e.allowRecurse?W+1:W))&&e!==Ue&&(e.id==null?D.push(e):D.splice(Fn(e.id),0,e),st())}function st(){!ke&&!_e&&(_e=!0,ze=lt.then(ft))}function ct(e,t,n,o){Q(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?o+1:o))&&n.push(e),st()}function Wn(e){ct(e,he,me,te)}function Kn(e){ct(e,K,be,ne)}function ut(e,t=null){if(me.length){for(Ue=t,he=[...new Set(me)],me.length=0,te=0;te<he.length;te++)he[te]();he=null,te=0,Ue=null,ut(e,t)}}function qn(e){if(be.length){const t=[...new Set(be)];if(be.length=0,K){K.push(...t);return}for(K=t,K.sort((n,o)=>ge(n)-ge(o)),ne=0;ne<K.length;ne++)K[ne]();K=null,ne=0}}const ge=e=>e.id==null?1/0:e.id;function ft(e){_e=!1,ke=!0,ut(e),D.sort((n,o)=>ge(n)-ge(o));const t=Le;try{for(W=0;W<D.length;W++){const n=D[W];n&&n.active!==!1&&ee(n,null,14)}}finally{W=0,D.length=0,qn(),ke=!1,ze=null,(D.length||me.length||be.length)&&ft(e)}}function Gn(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Kn(e)}const dt={};function Xn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:c}=mn){const s=oe;let l,u=!1,f=!1;if(Z(e)?(l=()=>e.value,u=Tn(e)):pe(e)?(l=()=>e,o=!0):Q(e)?(f=!0,u=e.some(pe),l=()=>e.map(b=>{if(Z(b))return b.value;if(pe(b))return re(b);if(A(b))return ee(b,s,2)})):A(e)?t?l=()=>ee(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return v&&v(),Ae(e,s,3,[y])}:l=Le,t&&o){const b=l;l=()=>re(b())}let v,y=b=>{v=m.onStop=()=>{ee(b,s,4)}},p=f?[]:dt;const h=()=>{if(!!m.active)if(t){const b=m.run();(o||u||(f?b.some((O,S)=>tt(O,p[S])):tt(b,p)))&&(v&&v(),Ae(t,s,3,[b,p===dt?void 0:p,y]),p=b)}else m.run()};h.allowRecurse=!!t;let d;a==="sync"?d=h:a==="post"?d=()=>ht(h,s&&s.suspense):d=()=>{!s||s.isMounted?Wn(h):h()};const m=new ot(l,d);return t?n?h():p=m.run():a==="post"?ht(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&hn(s.scope.effects,m)}}function Yn(e,t,n){const o=this.proxy,a=vn(e)?e.includes(".")?Jn(o,e):()=>o[e]:e.bind(o,o);let i;A(t)?i=t:(i=t.handler,n=t);const c=oe;gt(this);const s=Xn(a,i.bind(o),n);return c?gt(c):nr(),s}function Jn(e,t){const n=t.split(".");return()=>{let o=e;for(let a=0;a<n.length&&o;a++)o=o[n[a]];return o}}function re(e,t){if(!et(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Z(e))re(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)re(e[n],t);else if(gn(e)||bn(e))e.forEach(n=>{re(n,t)});else if(kn(e))for(const n in e)re(e[n],t);return e}function Qn(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:c}}=e.appContext,s=i.get(t);let l;return s?l=s:!a.length&&!n&&!o?l=t:(l={},a.length&&a.forEach(u=>Ce(l,u,c,!0)),Ce(l,t,c)),i.set(t,l),l}function Ce(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&Ce(e,i,n,!0),a&&a.forEach(c=>Ce(e,c,n,!0));for(const c in t)if(!(o&&c==="expose")){const s=Zn[c]||n&&n[c];e[c]=s?s(e[c],t[c]):t[c]}return e}const Zn={data:pt,props:X,emits:X,methods:X,computed:X,beforeCreate:P,created:P,beforeMount:P,mounted:P,beforeUpdate:P,updated:P,beforeDestroy:P,beforeUnmount:P,destroyed:P,unmounted:P,activated:P,deactivated:P,errorCaptured:P,serverPrefetch:P,components:X,directives:X,watch:tr,provide:pt,inject:er};function pt(e,t){return t?e?function(){return fe(A(e)?e.call(this,this):e,A(t)?t.call(this,this):t)}:t:e}function er(e,t){return X(mt(e),mt(t))}function mt(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function P(e,t){return e?[...new Set([].concat(e,t))]:t}function X(e,t){return e?fe(fe(Object.create(null),e),t):t}function tr(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const o in t)n[o]=P(e[o],t[o]);return n}const ht=Gn,Fe=e=>e?rr(e)?ar(e)||e.proxy:Fe(e.parent):null,bt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fe(e.parent),$root:e=>Fe(e.root),$emit:e=>e.emit,$options:e=>Qn(e),$forceUpdate:e=>()=>Hn(e.update),$nextTick:e=>Un.bind(e.proxy),$watch:e=>Yn.bind(e)});let oe=null;const gt=e=>{oe=e,e.scope.on()},nr=()=>{oe&&oe.scope.off(),oe=null};function rr(e){return e.vnode.shapeFlag&4}let or=!1;function ar(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(jn(Dn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in bt)return bt[n](e)}}))}const He=(e,t)=>_n(e,t,or);function vt(e){const t=He(()=>({"pl-3 pr-10 py-1":!e.icon&&e.size==="small","pl-4 pr-10 py-3":!e.icon&&e.size==="medium","pl-6 pr-10 py-3":!e.icon&&e.size==="large","pl-10 pr-10 py-1":e.icon&&e.size==="small","pl-12 pr-10 py-3":e.icon&&(e.size==="medium"||e.size==="large"),"w-full block":e.block===!0})),n=He(()=>({"pointer-events-none opacity-50 cursor-not-allowed":e.isDisabled})),o=He(()=>({"text-xs leading-4":e.size==="small","text-sm leading-4":e.size==="medium","text-base leading-5":e.size==="large"}));return{inputClasses:t,disabledClasses:n,textSizeClasses:o}}const ir={class:"relative"},lr=["placeholder","type","tabindex","value"],sr={inheritAttrs:!1},cr=r.defineComponent(Ht(G({},sr),{props:{modelValue:null,type:{default:"text"},placeholder:null,size:{default:"medium"},icon:null,isDisabled:{type:Boolean,default:!1},block:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,{inputClasses:o,disabledClasses:a,textSizeClasses:i}=vt(n),c=function(s){t("update:modelValue",(s==null?void 0:s.target).value)};return(s,l)=>(r.openBlock(),r.createElementBlock("div",ir,[r.createElementVNode("input",r.mergeProps({class:["mono-50 bg-white text-grey-800 placeholder:text-grey-400 placeholder:font-normal border-grey-300 dark:bg-grey-800 dark:text-grey-100 dark:placeholder:text-grey-500 dark:border-grey-700 focus:border-blue-400 focus:ring-blue-400 dark:focus:border-blue-800 dark:focus:ring-blue-800 rounded",[r.unref(o),r.unref(i),r.unref(a)]],placeholder:e.placeholder,type:e.type,tabindex:e.isDisabled?"-1":void 0,value:e.modelValue},s.$attrs,{onInput:c}),null,16,lr),e.icon?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["absolute left-0 inset-y-0 inline-flex items-center justify-center text-grey-700 dark:text-grey-100 px-4",r.unref(i)])},[r.createVNode(N,{name:e.icon},null,8,["name"])],2)):r.createCommentVNode("",!0)]))}})),ur={class:"inline-block text-grey-700 dark:text-grey-200 text-sm font-medium casual-20"},fr=["for"],dr={key:0,class:"block text-xs text-grey-400 font-normal mono-0 casual-60"},pr=r.defineComponent({props:{id:null,label:null,description:null},setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock("span",ur,[r.createElementVNode("label",{for:e.id},r.toDisplayString(e.label),9,fr),e.description?(r.openBlock(),r.createElementBlock("span",dr,r.toDisplayString(e.description),1)):r.createCommentVNode("",!0)]))}});function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},M.apply(this,arguments)}function yt(e,t){if(e==null)return{};var n={},o=Object.keys(e),a,i;for(i=0;i<o.length;i++)a=o[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function mr(e,t){if(!!e){if(typeof e=="string")return xt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xt(e,t)}}function xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function hr(e,t){var n;if(typeof Symbol=="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=mr(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6
6
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function ae(e,t){if(e in t){for(var n=t[e],o=arguments.length,a=new Array(o>2?o-2:0),i=2;i<o;i++)a[i-2]=arguments[i];return typeof n=="function"?n.apply(void 0,a):n}var c=new Error('Tried to handle "'+e+'" but there is no handler defined. Only defined handlers are: '+Object.keys(t).map(function(s){return'"'+s+'"'}).join(", ")+".");throw Error.captureStackTrace&&Error.captureStackTrace(c,ae),c}var z;(function(e){e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static"})(z||(z={}));var ie;(function(e){e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden"})(ie||(ie={}));function U(e){var t=e.visible,n=t===void 0?!0:t,o=e.features,a=o===void 0?z.None:o,i=yt(e,["visible","features"]);if(n||a&z.Static&&i.props.static)return Se(i);if(a&z.RenderStrategy){var c,s,l=((c=i.props.unmount)!=null?c:!0)?ie.Unmount:ie.Hidden;return ae(l,(s={},s[ie.Unmount]=function(){return null},s[ie.Hidden]=function(){return Se(M({},i,{props:M({},i.props,{hidden:!0,style:{display:"none"}})}))},s))}return Se(i)}function Se(e){var t=e.props,n=e.attrs,o=e.slots,a=e.slot,i=e.name,c=wt(t,["unmount","static"]),s=c.as,l=yt(c,["as"]),u=o.default==null?void 0:o.default(a);if(s==="template"){if(Object.keys(l).length>0||Object.keys(n).length>0){var f=u!=null?u:[],v=f[0],y=f.slice(1);if(!br(v)||y.length>0)throw new Error(['Passing props on "template"!',"","The current component <"+i+' /> is rendering a "template".',"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(n)).map(function(p){return" - "+p}).join(`
7
7
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(function(p){return" - "+p}).join(`
8
8
  `)].join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deck9/ui",
3
- "version": "0.9.12",
3
+ "version": "0.9.13",
4
4
  "description": "The UI components used in deck9 software applications.",
5
5
  "author": "Philipp Reinking <philipp@deck9.co> (https://deck9.co)",
6
6
  "scripts": {