UNPKG

tav-ui

Version:
25 lines 6.29 MB
/*! Castianta Vue Admin UI v0.0.0 */(function(Wt,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(Wt=typeof globalThis<"u"?globalThis:Wt||self,a(Wt.TavUI={},Wt.Vue))})(this,function(Wt,a){"use strict";function lu(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(e)}const sa=e=>(e.install=function(t){t.component(e.name,e)},e);/** * (c) Iconify * * For the full copyright and license information, please view the license.txt or license.gpl.txt * files at https://github.com/iconify/iconify * * Licensed under Apache 2.0 or GPL 2.0 at your option. * If derivative product is not compatible with one of licenses, you can pick one of licenses. * * @license Apache 2.0 * @license GPL 2.0 * @version 2.2.1 */const zP=/^[a-z0-9]+(-[a-z0-9]+)*$/,Nv=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function bse(e){return{...Nv,...e}}function Dyt(e,t){const n={...e};for(const r in Nv){const o=r;if(t[o]!==void 0){const i=t[o];if(n[o]===void 0){n[o]=i;continue}switch(o){case"rotate":n[o]=(n[o]+i)%4;break;case"hFlip":case"vFlip":n[o]=i!==n[o];break;default:n[o]=i}}}return n}function HAe(e,t,n=!1){function r(i,u){if(e.icons[i]!==void 0)return Object.assign({},e.icons[i]);if(u>5)return null;const s=e.aliases;if(s&&s[i]!==void 0){const p=s[i],h=r(p.parent,u+1);return h&&Dyt(h,p)}const d=e.chars;return!u&&d&&d[i]!==void 0?r(d[i],u+1):null}const o=r(t,0);if(o)for(const i in Nv)o[i]===void 0&&e[i]!==void 0&&(o[i]=e[i]);return o&&n?bse(o):o}function Syt(e){for(const t in Nv)if(e[t]!==void 0)return!0;return!1}function YAe(e,t,n){n=n||{};const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(u=>{t(u,null),r.push(u)});const o=e.icons;Object.keys(o).forEach(u=>{const s=HAe(e,u,!0);s&&(t(u,s),r.push(u))});const i=n.aliases||"all";if(i!=="none"&&typeof e.aliases=="object"){const u=e.aliases;Object.keys(u).forEach(s=>{if(i==="variations"&&Syt(u[s]))return;const d=HAe(e,s,!0);d&&(t(s,d),r.push(s))})}return r}const Cse={provider:"string",aliases:"object",not_found:"object"};for(const e in Nv)Cse[e]=typeof Nv[e];function UAe(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object")return null;for(const o in Cse)if(e[o]!==void 0&&typeof e[o]!==Cse[o])return null;const n=t.icons;for(const o in n){const i=n[o];if(!o.match(zP)||typeof i.body!="string")return null;for(const u in Nv)if(i[u]!==void 0&&typeof i[u]!=typeof Nv[u])return null}const r=t.aliases;if(r)for(const o in r){const i=r[o],u=i.parent;if(!o.match(zP)||typeof u!="string"||!n[u]&&!r[u])return null;for(const s in Nv)if(i[s]!==void 0&&typeof i[s]!=typeof Nv[s])return null}return t}const v_=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const s=o.pop(),d=o.pop(),p={provider:o.length>0?o[0]:r,prefix:d,name:s};return t&&!y_(p)?null:p}const i=o[0],u=i.split("-");if(u.length>1){const s={provider:r,prefix:u.shift(),name:u.join("-")};return t&&!y_(s)?null:s}if(n&&r===""){const s={provider:r,prefix:"",name:i};return t&&!y_(s,n)?null:s}return null},y_=(e,t)=>e?!!((e.provider===""||e.provider.match(zP))&&(t&&e.prefix===""||e.prefix.match(zP))&&e.name.match(zP)):!1,WAe=1;let k7=Object.create(null);try{const e=window||self;e&&e._iconifyStorage.version===WAe&&(k7=e._iconifyStorage.storage)}catch{}function Tyt(){try{const e=window||self;e&&!e._iconifyStorage&&(e._iconifyStorage={version:WAe,storage:k7})}catch{}}function Nyt(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:Object.create(null)}}function Ov(e,t){k7[e]===void 0&&(k7[e]=Object.create(null));const n=k7[e];return n[t]===void 0&&(n[t]=Nyt(e,t)),n[t]}function wse(e,t){if(!UAe(t))return[];const n=Date.now();return YAe(t,(r,o)=>{o?e.icons[r]=o:e.missing[r]=n})}function Oyt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]=Object.freeze(bse(n)),!0}catch{}return!1}function Ese(e,t){const n=e.icons[t];return n===void 0?null:n}function $yt(e,t){let n=[],r;return typeof e=="string"?r=[e]:r=Object.keys(k7),r.forEach(o=>{let i;typeof o=="string"&&typeof t=="string"?i=[t]:i=k7[o]===void 0?[]:Object.keys(k7[o]),i.forEach(u=>{const s=Ov(o,u),d=Object.keys(s.icons).map(p=>(o!==""?"@"+o+":":"")+u+":"+p);n=n.concat(d)})}),n}let jP=!1;function Myt(e){return typeof e=="boolean"&&(jP=e),jP}function rZ(e){const t=typeof e=="string"?v_(e,!0,jP):e;return t?Ese(Ov(t.provider,t.prefix),t.name):null}function qAe(e,t){const n=v_(e,!0,jP);if(!n)return!1;const r=Ov(n.provider,n.prefix);return Oyt(r,n.name,t)}function ZAe(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=typeof e.provider=="string"?e.provider:""),jP&&t===""&&(typeof e.prefix!="string"||e.prefix==="")){let r=!1;return UAe(e)&&(e.prefix="",YAe(e,(o,i)=>{i&&qAe(o,i)&&(r=!0)})),r}if(typeof e.prefix!="string"||!y_({provider:t,prefix:e.prefix,name:"a"}))return!1;const n=Ov(t,e.prefix);return!!wse(n,e)}function Pyt(e){return rZ(e)!==null}function Iyt(e){const t=rZ(e);return t?{...t}:null}const VP=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0});function oZ(e,t){const n={};for(const r in e){const o=r;if(n[o]=e[o],t[o]===void 0)continue;const i=t[o];switch(o){case"inline":case"slice":typeof i=="boolean"&&(n[o]=i);break;case"hFlip":case"vFlip":i===!0&&(n[o]=!n[o]);break;case"hAlign":case"vAlign":typeof i=="string"&&i!==""&&(n[o]=i);break;case"width":case"height":(typeof i=="string"&&i!==""||typeof i=="number"&&i||i===null)&&(n[o]=i);break;case"rotate":typeof i=="number"&&(n[o]+=i);break}}return n}const Lyt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ryt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function aZ(e,t,n){if(t===1)return e;if(n=n===void 0?100:n,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Lyt);if(r===null||!r.length)return e;const o=[];let i=r.shift(),u=Ryt.test(i);for(;;){if(u){const s=parseFloat(i);isNaN(s)?o.push(i):o.push(Math.ceil(s*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");u=!u}}function zyt(e){let t="";switch(e.hAlign){case"left":t+="xMin";break;case"right":t+="xMax";break;default:t+="xMid"}switch(e.vAlign){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet",t}function Fse(e,t){const n={left:e.left,top:e.top,width:e.width,height:e.height};let r=e.body;[e,t].forEach(s=>{const d=[],p=s.hFlip,h=s.vFlip;let v=s.rotate;p?h?v+=2:(d.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),d.push("scale(-1 1)"),n.top=n.left=0):h&&(d.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),d.push("scale(1 -1)"),n.top=n.left=0);let m;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:m=n.height/2+n.top,d.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:d.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:m=n.width/2+n.left,d.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}v%2===1&&((n.left!==0||n.top!==0)&&(m=n.left,n.left=n.top,n.top=m),n.width!==n.height&&(m=n.width,n.width=n.height,n.height=m)),d.length&&(r='<g transform="'+d.join(" ")+'">'+r+"</g>")});let o,i;t.width===null&&t.height===null?(i="1em",o=aZ(i,n.width/n.height)):t.width!==null&&t.height!==null?(o=t.width,i=t.height):t.height!==null?(i=t.height,o=aZ(i,n.width/n.height)):(o=t.width,i=aZ(o,n.height/n.width)),o==="auto"&&(o=n.width),i==="auto"&&(i=n.height),o=typeof o=="string"?o:o.toString()+"",i=typeof i=="string"?i:i.toString()+"";const u={attributes:{width:o,height:i,preserveAspectRatio:zyt(t),viewBox:n.left.toString()+" "+n.top.toString()+" "+n.width.toString()+" "+n.height.toString()},body:r};return t.inline&&(u.inline=!0),u}function jyt(e,t){return Fse(bse(e),t?oZ(VP,t):VP)}const Vyt=/\sid="(\S+)"/g,Hyt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Yyt=0;function XAe(e,t=Hyt){const n=[];let r;for(;r=Vyt.exec(e);)n.push(r[1]);return n.length&&n.forEach(o=>{const i=typeof t=="function"?t(o):t+(Yyt++).toString(),u=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+u+')([")]|\\.[a-z])',"g"),"$1"+i+"$3")}),e}const KAe="iconify2",HP="iconify",GAe=HP+"-count",JAe=HP+"-version",QAe=36e5,Uyt=168,b_={local:!0,session:!0};let xse=!1;const eke={local:0,session:0},tke={local:[],session:[]};let iZ=typeof window>"u"?{}:window;function nke(e){const t=e+"Storage";try{if(iZ&&iZ[t]&&typeof iZ[t].length=="number")return iZ[t]}catch{}return b_[e]=!1,null}function Ase(e,t,n){try{return e.setItem(GAe,n.toString()),eke[t]=n,!0}catch{return!1}}function rke(e){const t=e.getItem(GAe);if(t){const n=parseInt(t);return n||0}return 0}function Wyt(e,t){try{e.setItem(JAe,KAe)}catch{}Ase(e,t,0)}function qyt(e){try{const t=rke(e);for(let n=0;n<t;n++)e.removeItem(HP+n.toString())}catch{}}const oke=()=>{if(xse)return;xse=!0;const e=Math.floor(Date.now()/QAe)-Uyt;function t(n){const r=nke(n);if(!r)return;const o=i=>{const u=HP+i.toString(),s=r.getItem(u);if(typeof s!="string")return!1;let d=!0;try{const p=JSON.parse(s);if(typeof p!="object"||typeof p.cached!="number"||p.cached<e||typeof p.provider!="string"||typeof p.data!="object"||typeof p.data.prefix!="string")d=!1;else{const h=p.provider,v=p.data.prefix,m=Ov(h,v);d=wse(m,p.data).length>0}}catch{d=!1}return d||r.removeItem(u),d};try{const i=r.getItem(JAe);if(i!==KAe){i&&qyt(r),Wyt(r,n);return}let u=rke(r);for(let s=u-1;s>=0;s--)o(s)||(s===u-1?u--:tke[n].push(s));Ase(r,n,u)}catch{}}for(const n in b_)t(n)},Zyt=(e,t)=>{xse||oke();function n(r){if(!b_[r])return!1;const o=nke(r);if(!o)return!1;let i=tke[r].shift();if(i===void 0&&(i=eke[r],!Ase(o,r,i+1)))return!1;try{const u={cached:Math.floor(Date.now()/QAe),provider:e,data:t};o.setItem(HP+i.toString(),JSON.stringify(u))}catch{return!1}return!0}!Object.keys(t.icons).length||(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))},kse={};function ake(e,t){switch(e){case"local":case"session":b_[e]=t;break;case"all":for(const n in b_)b_[n]=t;break}}const Bse=Object.create(null);function ike(e,t){Bse[e]=t}function _se(e){return Bse[e]||Bse[""]}function Dse(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path===void 0?"/":e.path,maxURL:e.maxURL?e.maxURL:500,rotate:e.rotate?e.rotate:750,timeout:e.timeout?e.timeout:5e3,random:e.random===!0,index:e.index?e.index:0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const uZ=Object.create(null),YP=["https://api.simplesvg.com","https://api.unisvg.com"],lZ=[];for(;YP.length>0;)YP.length===1||Math.random()>.5?lZ.push(YP.shift()):lZ.push(YP.pop());uZ[""]=Dse({resources:["https://api.iconify.design"].concat(lZ)});function uke(e,t){const n=Dse(t);return n===null?!1:(uZ[e]=n,!0)}function sZ(e){return uZ[e]}function Xyt(){return Object.keys(uZ)}const Sse=(e,t)=>{let n=e,r=n.indexOf("?")!==-1;function o(i){switch(typeof i){case"boolean":return i?"true":"false";case"number":return encodeURIComponent(i);case"string":return encodeURIComponent(i);default:throw new Error("Invalid parameter")}}return Object.keys(t).forEach(i=>{let u;try{u=o(t[i])}catch{return}n+=(r?"&":"?")+encodeURIComponent(i)+"="+u,r=!0}),n},lke={},cZ={};let dZ=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}return null})();function Kyt(e){dZ=e}function Gyt(){return dZ}function Jyt(e,t){const n=sZ(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const u=Sse(t+".json",{icons:""});r=n.maxURL-i-n.path.length-u.length}const o=e+":"+t;return cZ[e]=n.path,lke[o]=r,r}function Qyt(e){return e===404}const ebt=(e,t,n)=>{const r=[];let o=lke[t];o===void 0&&(o=Jyt(e,t));const i="icons";let u={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((d,p)=>{s+=d.length+1,s>=o&&p>0&&(r.push(u),u={type:i,provider:e,prefix:t,icons:[]},s=d.length),u.icons.push(d)}),r.push(u),r};function tbt(e){if(typeof e=="string"){if(cZ[e]===void 0){const t=sZ(e);if(!t)return"/";cZ[e]=t.path}return cZ[e]}return"/"}const nbt={prepare:ebt,send:(e,t,n)=>{if(!dZ){n("abort",424);return}let r=tbt(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(",");r+=Sse(i+".json",{icons:s});break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;dZ(e+r).then(i=>{const u=i.status;if(u!==200){setTimeout(()=>{n(Qyt(u)?"abort":"next",u)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})}};function rbt(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,u=o.prefix,s=o.name;n[i]===void 0&&(n[i]=Object.create(null));const d=n[i];d[u]===void 0&&(d[u]=Ov(i,u));const p=d[u];let h;p.icons[s]!==void 0?h=t.loaded:u===""||p.missing[s]!==void 0?h=t.missing:h=t.pending;const v={provider:i,prefix:u,name:s};h.push(v)}),t}const B7=Object.create(null),Tse=Object.create(null);function ske(e,t){e.forEach(n=>{const r=n.provider;if(B7[r]===void 0)return;const o=B7[r],i=n.prefix,u=o[i];u&&(o[i]=u.filter(s=>s.id!==t))})}function obt(e,t){Tse[e]===void 0&&(Tse[e]=Object.create(null));const n=Tse[e];n[t]||(n[t]=!0,setTimeout(()=>{if(n[t]=!1,B7[e]===void 0||B7[e][t]===void 0)return;const r=B7[e][t].slice(0);if(!r.length)return;const o=Ov(e,t);let i=!1;r.forEach(u=>{const s=u.icons,d=s.pending.length;s.pending=s.pending.filter(p=>{if(p.prefix!==t)return!0;const h=p.name;if(o.icons[h]!==void 0)s.loaded.push({provider:e,prefix:t,name:h});else if(o.missing[h]!==void 0)s.missing.push({provider:e,prefix:t,name:h});else return i=!0,!0;return!1}),s.pending.length!==d&&(i||ske([{provider:e,prefix:t}],u.id),u.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),u.abort))})}))}let abt=0;function ibt(e,t,n){const r=abt++,o=ske.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(u=>{const s=u.provider,d=u.prefix;B7[s]===void 0&&(B7[s]=Object.create(null));const p=B7[s];p[d]===void 0&&(p[d]=[]),p[d].push(i)}),o}function ubt(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?v_(o,!1,n):o;(!t||y_(i,n))&&r.push({provider:i.provider,prefix:i.prefix,name:i.name})}),r}var cke={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function lbt(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let u;if(e.random){let z=e.resources.slice(0);for(u=[];z.length>1;){const Y=Math.floor(Math.random()*z.length);u.push(z[Y]),z=z.slice(0,Y).concat(z.slice(Y+1))}u=u.concat(z)}else u=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let d="pending",p=0,h,v=null,m=[],b=[];typeof r=="function"&&b.push(r);function w(){v&&(clearTimeout(v),v=null)}function C(){d==="pending"&&(d="aborted"),w(),m.forEach(z=>{z.status==="pending"&&(z.status="aborted")}),m=[]}function F(z,Y){Y&&(b=[]),typeof z=="function"&&b.push(z)}function A(){return{startTime:s,payload:t,status:d,queriesSent:p,queriesPending:m.length,subscribe:F,abort:C}}function D(){d="failed",b.forEach(z=>{z(void 0,h)})}function B(){m.forEach(z=>{z.status==="pending"&&(z.status="aborted")}),m=[]}function T(z,Y,M){const I=Y!=="success";switch(m=m.filter(H=>H!==z),d){case"pending":break;case"failed":if(I||!e.dataAfterTimeout)return;break;default:return}if(Y==="abort"){h=M,D();return}if(I){h=M,m.length||(u.length?N():D());return}if(w(),B(),!e.random){const H=e.resources.indexOf(z.resource);H!==-1&&H!==e.index&&(e.index=H)}d="completed",b.forEach(H=>{H(M)})}function N(){if(d!=="pending")return;w();const z=u.shift();if(z===void 0){if(m.length){v=setTimeout(()=>{w(),d==="pending"&&(B(),D())},e.timeout);return}D();return}const Y={status:"pending",resource:z,callback:(M,I)=>{T(Y,M,I)}};m.push(Y),p++,v=setTimeout(N,e.rotate),n(z,t,Y.callback)}return setTimeout(N),A}function sbt(e){if(typeof e!="object"||typeof e.resources!="object"||!(e.resources instanceof Array)||!e.resources.length)throw new Error("Invalid Reduncancy configuration");const t=Object.create(null);let n;for(n in cke)e[n]!==void 0?t[n]=e[n]:t[n]=cke[n];return t}function dke(e){const t=sbt(e);let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,d,p){const h=lbt(t,s,d,(v,m)=>{r(),p&&p(v,m)});return n.push(h),h}function i(s){const d=n.find(p=>s(p));return d!==void 0?d:null}return{query:o,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function fke(){}const Nse=Object.create(null);function cbt(e){if(Nse[e]===void 0){const t=sZ(e);if(!t)return;const n=dke(t),r={config:t,redundancy:n};Nse[e]=r}return Nse[e]}function pke(e,t,n){let r,o;if(typeof e=="string"){const i=_se(e);if(!i)return n(void 0,424),fke;o=i.send;const u=cbt(e);u&&(r=u.redundancy)}else{const i=Dse(e);if(i){r=dke(i);const u=e.resources?e.resources[0]:"",s=_se(u);s&&(o=s.send)}}return!r||!o?(n(void 0,424),fke):r.query(t,o,n)().abort}function hke(){}const $v=Object.create(null),Ose=Object.create(null),$se=Object.create(null),Mse=Object.create(null);function dbt(e,t){$se[e]===void 0&&($se[e]=Object.create(null));const n=$se[e];n[t]||(n[t]=!0,setTimeout(()=>{n[t]=!1,obt(e,t)}))}const mke=Object.create(null);function fbt(e,t,n){function r(){const s=(e===""?"":"@"+e+":")+t,d=Math.floor(Date.now()/6e4);mke[s]<d&&(mke[s]=d,console.error('Unable to retrieve icons for "'+s+'" because API is not configured properly.'))}Ose[e]===void 0&&(Ose[e]=Object.create(null));const o=Ose[e];Mse[e]===void 0&&(Mse[e]=Object.create(null));const i=Mse[e];$v[e]===void 0&&($v[e]=Object.create(null));const u=$v[e];o[t]===void 0?o[t]=n:o[t]=o[t].concat(n).sort(),i[t]||(i[t]=!0,setTimeout(()=>{i[t]=!1;const s=o[t];delete o[t];const d=_se(e);if(!d){r();return}d.prepare(e,t,s).forEach(h=>{pke(e,h,(v,m)=>{const b=Ov(e,t);if(typeof v!="object"){if(m!==404)return;const w=Date.now();h.icons.forEach(C=>{b.missing[C]=w})}else try{const w=wse(b,v);if(!w.length)return;const C=u[t];w.forEach(F=>{delete C[F]}),kse.store&&kse.store(e,v)}catch(w){console.error(w)}dbt(e,t)})})}))}const gke=e=>{const t=e.provider,n=e.prefix;return $v[t]&&$v[t][n]&&$v[t][n][e.name]!==void 0},Pse=(e,t)=>{const n=ubt(e,!0,Myt()),r=rbt(n);if(!r.pending.length){let p=!0;return t&&setTimeout(()=>{p&&t(r.loaded,r.missing,r.pending,hke)}),()=>{p=!1}}const o=Object.create(null),i=[];let u,s;r.pending.forEach(p=>{const h=p.provider,v=p.prefix;if(v===s&&h===u)return;u=h,s=v,i.push({provider:h,prefix:v}),$v[h]===void 0&&($v[h]=Object.create(null));const m=$v[h];m[v]===void 0&&(m[v]=Object.create(null)),o[h]===void 0&&(o[h]=Object.create(null));const b=o[h];b[v]===void 0&&(b[v]=[])});const d=Date.now();return r.pending.forEach(p=>{const h=p.provider,v=p.prefix,m=p.name,b=$v[h][v];b[m]===void 0&&(b[m]=d,o[h][v].push(m))}),i.forEach(p=>{const h=p.provider,v=p.prefix;o[h][v].length&&fbt(h,v,o[h][v])}),t?ibt(t,r,i):hke},pbt=e=>new Promise((t,n)=>{const r=typeof e=="string"?v_(e):e;Pse([r||e],o=>{if(o.length&&r){const i=Ov(r.provider,r.prefix),u=Ese(i,r.name);if(u){t(u);return}}n(e)})}),C_="iconifyFinder"+Date.now(),UP="iconifyData"+Date.now();function vke(e,t,n,r){let o;try{o=document.createElement("span")}catch{return r?"":null}const i=Fse(n,oZ(VP,t)),u=e.element,s=e.finder,d=e.name,p=u?u.getAttribute("class"):"",h=s?s.classFilter(p?p.split(/\s+/):[]):[],v="iconify iconify--"+d.prefix+(d.provider===""?"":" iconify--"+d.provider)+(h.length?" "+h.join(" "):""),m='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="'+v+'">'+XAe(i.body)+"</svg>";o.innerHTML=m;const b=o.childNodes[0],w=b.style,C=i.attributes;if(Object.keys(C).forEach(A=>{b.setAttribute(A,C[A])}),i.inline&&(w.verticalAlign="-0.125em"),u){const A=u.attributes;for(let B=0;B<A.length;B++){const T=A.item(B);if(T){const N=T.name;if(N!=="class"&&N!=="style"&&C[N]===void 0)try{b.setAttribute(N,T.value)}catch{}}}const D=u.style;for(let B=0;B<D.length;B++){const T=D[B];w[T]=D[T]}}if(s){const A={name:d,status:"loaded",customisations:t};b[UP]=A,b[C_]=s}const F=r?o.innerHTML:b;return u&&u.parentNode?u.parentNode.replaceChild(b,u):o.removeChild(b),F}let FE=[];function WP(e){for(let t=0;t<FE.length;t++){const n=FE[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function yke(e,t=!1){let n=WP(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},FE.push(n),n)}function hbt(){if(document.documentElement)return yke(document.documentElement);FE.push({node:()=>document.documentElement})}function mbt(e){FE=FE.filter(t=>{const n=typeof t.node=="function"?t.node():t.node;return e!==n})}function qP(){return FE}function gbt(e){const t=document;t.readyState==="complete"||t.readyState!=="loading"&&!t.documentElement.doScroll?e():(t.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}let ZP=null;const vbt={childList:!0,subtree:!0,attributes:!0};function bke(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,ZP&&ZP(e)}))}function ybt(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r<t.length;r++){const o=t[r];if(o.addedNodes&&o.addedNodes.length>0||o.type==="attributes"&&o.target[C_]!==void 0){n.paused||bke(e);return}}}function Cke(e,t){e.observer.instance.observe(t,vbt)}function fZ(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;!n||(t||(t={paused:0},e.observer=t),t.instance=new MutationObserver(ybt.bind(null,e)),Cke(e,n),t.paused||bke(e))}function wke(){qP().forEach(fZ)}function Eke(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function bbt(e){const t=ZP!==null;if(ZP!==e&&(ZP=e,t&&qP().forEach(Eke)),t){wke();return}gbt(wke)}function Ise(e){(e?[e]:qP()).forEach(t=>{if(!t.observer){t.observer={paused:1};return}const n=t.observer;if(n.paused++,n.paused>1||!n.instance)return;n.instance.disconnect()})}function Cbt(e){if(e){const t=WP(e);t&&Ise(t)}else Ise()}function Lse(e){(e?[e]:qP()).forEach(t=>{if(!t.observer){fZ(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const r=typeof t.node=="function"?t.node():t.node;if(r)n.instance?Cke(t,r):fZ(t);else return}})}function wbt(e){if(e){const t=WP(e);t&&Lse(t)}else Lse()}function Fke(e,t=!1){const n=yke(e,t);return fZ(n),n}function xke(e){const t=WP(e);t&&(Eke(t),mbt(e))}const Rse=[];function Ebt(e){Rse.indexOf(e)===-1&&Rse.push(e)}function Ake(e){return typeof e=="string"&&(e=v_(e)),e===null||!y_(e)?null:e}function Fbt(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++){const i=n[o];if(t[i]!==e[i])return!1}return!0}function xbt(e){const t=[];Rse.forEach(r=>{const o=r.find(e);Array.prototype.forEach.call(o,i=>{const u=i;if(u[C_]!==void 0&&u[C_]!==r)return;const s=Ake(r.name(u));if(s===null)return;u[C_]=r;const d={element:u,finder:r,name:s};t.push(d)})});const n=e.querySelectorAll("svg.iconify");return Array.prototype.forEach.call(n,r=>{const o=r,i=o[C_],u=o[UP];if(!i||!u)return;const s=Ake(i.name(o));if(s===null)return;let d=!1,p;if(s.prefix!==u.name.prefix||s.name!==u.name.name?d=!0:(p=i.customisations(o),Fbt(u.customisations,p)||(d=!0)),d){const h={element:o,finder:i,name:s,customisations:p};t.push(h)}}),t}let XP=!1;function Abt(){XP||(XP=!0,setTimeout(()=>{XP&&(XP=!1,w_())}))}const kbt=(e,t)=>e!==null&&t!==null&&e.name===t.name&&e.prefix===t.prefix;function Bbt(e){const t=WP(e);t?w_(t):w_({node:e,temporary:!0},!0)}function w_(e,t=!1){XP=!1;const n=Object.create(null);(e?[e]:qP()).forEach(r=>{const o=typeof r.node=="function"?r.node():r.node;if(!o||!o.querySelectorAll)return;let i=!1,u=!1;xbt(o).forEach(s=>{const d=s.element,p=s.name,h=p.provider,v=p.prefix,m=p.name;let b=d[UP];if(b!==void 0&&kbt(b.name,p))switch(b.status){case"missing":return;case"loading":if(gke({provider:h,prefix:v,name:m})){i=!0;return}}const w=Ov(h,v);if(w.icons[m]!==void 0){!u&&r.observer&&(Ise(r),u=!0);const C=s.customisations!==void 0?s.customisations:s.finder.customisations(d);vke(s,C,Ese(w,m));return}if(w.missing[m]){b={name:p,status:"missing",customisations:{}},d[UP]=b;return}if(!gke({provider:h,prefix:v,name:m})){n[h]===void 0&&(n[h]=Object.create(null));const C=n[h];C[v]===void 0&&(C[v]=Object.create(null)),C[v][m]=!0}b={name:p,status:"loading",customisations:{}},d[UP]=b,i=!0}),r.temporary&&!i?xke(o):t&&i?Fke(o,!0):u&&r.observer&&Lse(r)}),Object.keys(n).forEach(r=>{const o=n[r];Object.keys(o).forEach(i=>{Pse(Object.keys(o[i]).map(u=>({provider:r,prefix:i,name:u})),Abt)})})}function _bt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}const kke=/[\s,]+/;function Dbt(e,t){t.split(kke).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Sbt(e,t){t.split(kke).forEach(n=>{const r=n.trim();switch(r){case"left":case"center":case"right":e.hAlign=r;break;case"top":case"middle":case"bottom":e.vAlign=r;break;case"slice":case"crop":e.slice=!0;break;case"meet":e.slice=!1}})}function E_(e,t){return e.hasAttribute(t)}function KP(e,t){return e.getAttribute(t)}function Tbt(e,t){const n=e.getAttribute(t);return n===t||n==="true"?!0:n===""||n==="false"?!1:null}const Nbt=["inline","hFlip","vFlip"],Obt=["width","height"],Bke="iconify",zse="iconify-inline",$bt="i."+Bke+", span."+Bke+", i."+zse+", span."+zse,Mbt={find:e=>e.querySelectorAll($bt),name:e=>E_(e,"data-icon")?KP(e,"data-icon"):null,customisations:(e,t={inline:!1})=>{const n=t,r=e.getAttribute("class");if((r?r.split(/\s+/):[]).indexOf(zse)!==-1&&(n.inline=!0),E_(e,"data-rotate")){const i=_bt(KP(e,"data-rotate"));i&&(n.rotate=i)}return E_(e,"data-flip")&&Dbt(n,KP(e,"data-flip")),E_(e,"data-align")&&Sbt(n,KP(e,"data-align")),Nbt.forEach(i=>{if(E_(e,"data-"+i)){const u=Tbt(e,"data-"+i);typeof u=="boolean"&&(n[i]=u)}}),Obt.forEach(i=>{if(E_(e,"data-"+i)){const u=KP(e,"data-"+i);u!==""&&(n[i]=u)}}),n},classFilter:e=>{const t=[];return e.forEach(n=>{n!=="iconify"&&n!==""&&n.slice(0,9)!=="iconify--"&&t.push(n)}),t}};function _ke(e,t,n){const r=rZ(e);if(!r)return null;const o=v_(e),i=oZ(VP,typeof t=="object"?t:{});return vke({name:o},i,r,n)}function Pbt(){return"2.2.1"}function Ibt(e,t){return _ke(e,t,!1)}function Lbt(e,t){return _ke(e,t,!0)}function Rbt(e,t){const n=rZ(e);if(!n)return null;const r=oZ(VP,typeof t=="object"?t:{});return Fse(n,r)}function zbt(e){e?Bbt(e):w_()}if(typeof document<"u"&&typeof window<"u"){hbt(),Ebt(Mbt);const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!ZAe(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{bbt(w_),w_()})}function jbt(e,t){ake(e,t!==!1)}function Vbt(e){ake(e,!0)}if(ike("",nbt),typeof document<"u"&&typeof window<"u"){kse.store=Zyt,oke();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;uke(n,o)||console.error(r)}catch{console.error(r)}}}}const Dke={_api:{getAPIConfig:sZ,setAPIModule:ike,sendAPIQuery:pke,setFetch:Kyt,getFetch:Gyt,listAPIProviders:Xyt,mergeParams:Sse},addAPIProvider:uke,loadIcons:Pse,loadIcon:pbt,iconExists:Pyt,getIcon:Iyt,listIcons:$yt,addIcon:qAe,addCollection:ZAe,shareStorage:Tyt,replaceIDs:XAe,calculateSize:aZ,buildIcon:jyt,getVersion:Pbt,renderSVG:Ibt,renderHTML:Lbt,renderIcon:Rbt,scan:zbt,observe:Fke,stopObserving:xke,pauseObserver:Cbt,resumeObserver:wbt,enableCache:jbt,disableCache:Vbt};try{self.Iconify===void 0&&(self.Iconify=Dke)}catch{}const Hbt=Object.prototype.toString;function Mv(e,t){return Hbt.call(e)===`[object ${t}]`}function _7(e){return typeof e<"u"}function Pv(e){return!_7(e)}function wl(e){return e!==null&&Mv(e,"Object")}function Ske(e){return dp(e)||Jl(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:wl(e)?Object.keys(e).length===0:!1}function Ybt(e){return Mv(e,"Date")}function pZ(e){return e===null}function Ubt(e){return Pv(e)&&pZ(e)}function Cc(e){return Pv(e)||pZ(e)}function tg(e){return Mv(e,"Number")}function Wbt(e){return Mv(e,"Promise")}function Jl(e){return Mv(e,"String")}function ga(e){return typeof e=="function"}function ei(e){return Mv(e,"Boolean")}function qbt(e){return Mv(e,"RegExp")}function dp(e){return e&&Array.isArray(e)}function Tke(e){return typeof window<"u"&&Mv(e,"Window")}function Zbt(e){return wl(e)&&!!e.tagName}function Nke(e){return Mv(e,"Map")}const jse=typeof window>"u",Oke=!jse;function Xbt(e){return/(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/.test(e)}/*! * is-plain-object <https://github.com/jonschlinkert/is-plain-object> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */function $ke(e){return Object.prototype.toString.call(e)==="[object Object]"}function Kbt(e){var t,n;return $ke(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!($ke(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}function GP(){return GP=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GP.apply(this,arguments)}function Mke(e,t){if(e==null)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}const Gbt={silent:!1,logLevel:"warn"},Jbt=["validator"],Pke=Object.prototype,Ike=Pke.toString,Qbt=Pke.hasOwnProperty,Lke=/^\s*function (\w+)/;function Rke(e){var t;const n=(t=e?.type)!==null&&t!==void 0?t:e;if(n){const r=n.toString().match(Lke);return r?r[1]:""}return""}const xE=Kbt;let Xp=e=>e;const F_=(e,t)=>Qbt.call(e,t),e6t=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},x_=Array.isArray||function(e){return Ike.call(e)==="[object Array]"},A_=e=>Ike.call(e)==="[object Function]",hZ=e=>xE(e)&&F_(e,"_vueTypes_name"),zke=e=>xE(e)&&(F_(e,"type")||["_vueTypes_name","validator","default","required"].some(t=>F_(e,t)));function Vse(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function AE(e,t,n=!1){let r,o=!0,i="";r=xE(e)?e:{type:e};const u=hZ(r)?r._vueTypes_name+" - ":"";if(zke(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&t===void 0)return o;x_(r.type)?(o=r.type.some(s=>AE(s,t,!0)===!0),i=r.type.map(s=>Rke(s)).join(" or ")):(i=Rke(r),o=i==="Array"?x_(t):i==="Object"?xE(t):i==="String"||i==="Number"||i==="Boolean"||i==="Function"?function(s){if(s==null)return"";const d=s.constructor.toString().match(Lke);return d?d[1]:""}(t)===i:t instanceof r.type)}if(!o){const s=`${u}value "${t}" should be of type "${i}"`;return n===!1?(Xp(s),!1):s}if(F_(r,"validator")&&A_(r.validator)){const s=Xp,d=[];if(Xp=p=>{d.push(p)},o=r.validator(t),Xp=s,!o){const p=(d.length>1?"* ":"")+d.join(` * `);return d.length=0,n===!1?(Xp(p),o):p}}return o}function F1(e,t){const n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(o){return o===void 0?(F_(this,"default")&&delete this.default,this):A_(o)||AE(this,o,!0)===!0?(this.default=x_(o)?()=>[...o]:xE(o)?()=>Object.assign({},o):o,this):(Xp(`${this._vueTypes_name} - invalid default value: "${o}"`),this)}}}),{validator:r}=n;return A_(r)&&(n.validator=Vse(r,n)),n}function Iv(e,t){const n=F1(e,t);return Object.defineProperty(n,"validate",{value(r){return A_(this.validator)&&Xp(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info: ${JSON.stringify(this)}`),this.validator=Vse(r,this),this}})}function jke(e,t,n){const r=function(d){const p={};return Object.getOwnPropertyNames(d).forEach(h=>{p[h]=Object.getOwnPropertyDescriptor(d,h)}),Object.defineProperties({},p)}(t);if(r._vueTypes_name=e,!xE(n))return r;const{validator:o}=n,i=Mke(n,Jbt);if(A_(o)){let{validator:d}=r;d&&(d=(s=(u=d).__original)!==null&&s!==void 0?s:u),r.validator=Vse(d?function(p){return d.call(this,p)&&o.call(this,p)}:o,r)}var u,s;return Object.assign(r,i)}function mZ(e){return e.replace(/^(?!\s*$)/gm," ")}const t6t=()=>Iv("any",{}),n6t=()=>Iv("function",{type:Function}),r6t=()=>Iv("boolean",{type:Boolean}),o6t=()=>Iv("string",{type:String}),a6t=()=>Iv("number",{type:Number}),i6t=()=>Iv("array",{type:Array}),u6t=()=>Iv("object",{type:Object}),l6t=()=>F1("integer",{type:Number,validator:e=>e6t(e)}),s6t=()=>F1("symbol",{validator:e=>typeof e=="symbol"});function c6t(e,t="custom validation failed"){if(typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return F1(e.name||"<<anonymous function>>",{type:null,validator(n){const r=e(n);return r||Xp(`${this._vueTypes_name} - ${t}`),r}})}function d6t(e){if(!x_(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const t=`oneOf - value should be one of "${e.join('", "')}".`,n=e.reduce((r,o)=>{if(o!=null){const i=o.constructor;r.indexOf(i)===-1&&r.push(i)}return r},[]);return F1("oneOf",{type:n.length>0?n:void 0,validator(r){const o=e.indexOf(r)!==-1;return o||Xp(t),o}})}function f6t(e){if(!x_(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");let t=!1,n=[];for(let o=0;o<e.length;o+=1){const i=e[o];if(zke(i)){if(hZ(i)&&i._vueTypes_name==="oneOf"&&i.type){n=n.concat(i.type);continue}if(A_(i.validator)&&(t=!0),i.type===!0||!i.type){Xp('oneOfType - invalid usage of "true" or "null" as types.');continue}n=n.concat(i.type)}else n.push(i)}n=n.filter((o,i)=>n.indexOf(o)===i);const r=n.length>0?n:null;return F1("oneOfType",t?{type:r,validator(o){const i=[],u=e.some(s=>{const d=AE(hZ(s)&&s._vueTypes_name==="oneOf"?s.type||null:s,o,!0);return typeof d=="string"&&i.push(d),d===!0});return u||Xp(`oneOfType - provided value does not match any of the ${i.length} passed-in validators: ${mZ(i.join(` `))}`),u}}:{type:r})}function p6t(e){return F1("arrayOf",{type:Array,validator(t){let n="";const r=t.every(o=>(n=AE(e,o,!0),n===!0));return r||Xp(`arrayOf - value validation error: ${mZ(n)}`),r}})}function h6t(e){return F1("instanceOf",{type:e})}function m6t(e){return F1("objectOf",{type:Object,validator(t){let n="";const r=Object.keys(t).every(o=>(n=AE(e,t[o],!0),n===!0));return r||Xp(`objectOf - value validation error: ${mZ(n)}`),r}})}function g6t(e){const t=Object.keys(e),n=t.filter(o=>{var i;return!((i=e[o])===null||i===void 0||!i.required)}),r=F1("shape",{type:Object,validator(o){if(!xE(o))return!1;const i=Object.keys(o);if(n.length>0&&n.some(u=>i.indexOf(u)===-1)){const u=n.filter(s=>i.indexOf(s)===-1);return Xp(u.length===1?`shape - required property "${u[0]}" is not defined.`:`shape - required properties "${u.join('", "')}" are not defined.`),!1}return i.every(u=>{if(t.indexOf(u)===-1)return this._vueTypes_isLoose===!0||(Xp(`shape - shape definition does not include a "${u}" property. Allowed keys: "${t.join('", "')}".`),!1);const s=AE(e[u],o[u],!0);return typeof s=="string"&&Xp(`shape - "${u}" property validation error: ${mZ(s)}`),s===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),r}const v6t=["name","validate","getter"],y6t=(()=>{var e,t;return t=e=class{static get any(){return t6t()}static get func(){return n6t().def(this.defaults.func)}static get bool(){return r6t().def(this.defaults.bool)}static get string(){return o6t().def(this.defaults.string)}static get number(){return a6t().def(this.defaults.number)}static get array(){return i6t().def(this.defaults.array)}static get object(){return u6t().def(this.defaults.object)}static get integer(){return l6t().def(this.defaults.integer)}static get symbol(){return s6t()}static extend(n){if(x_(n))return n.forEach(p=>this.extend(p)),this;const{name:r,validate:o=!1,getter:i=!1}=n,u=Mke(n,v6t);if(F_(this,r))throw new TypeError(`[VueTypes error]: Type "${r}" already defined`);const{type:s}=u;if(hZ(s))return delete u.type,Object.defineProperty(this,r,i?{get:()=>jke(r,s,u)}:{value(...p){const h=jke(r,s,u);return h.validator&&(h.validator=h.validator.bind(h,...p)),h}});let d;return d=i?{get(){const p=Object.assign({},u);return o?Iv(r,p):F1(r,p)},enumerable:!0}:{value(...p){const h=Object.assign({},u);let v;return v=o?Iv(r,h):F1(r,h),h.validator&&(v.validator=h.validator.bind(v,...p)),v},enumerable:!0},Object.defineProperty(this,r,d)}},e.defaults={},e.sensibleDefaults=void 0,e.config=Gbt,e.custom=c6t,e.oneOf=d6t,e.instanceOf=h6t,e.oneOfType=f6t,e.arrayOf=p6t,e.objectOf=m6t,e.shape=g6t,e.utils={validate:(n,r)=>AE(r,n,!0)===!0,toType:(n,r,o=!1)=>o?Iv(n,r):F1(n,r)},t})();function Vke(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var t,n;return n=t=class extends y6t{static get sensibleDefaults(){return GP({},this.defaults)}static set sensibleDefaults(r){this.defaults=r!==!1?GP({},r!==!0?r:e):{}}},t.defaults=GP({},e),n}class R0r extends Vke(){}const zr=Vke({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});zr.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VNodeChild",getter:!0,type:void 0}]);function b6t(e){return e.default=void 0,e}var Po=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const C6t=a.defineComponent({name:"SvgIcon",props:{prefix:{type:String,default:"icon"},name:{type:String,required:!0},size:{type:[Number,String],default:16},spin:{type:Boolean,default:!1}},setup(e){const t="ta-icon-svg",n=a.computed(()=>`#${e.prefix}-${e.name}`),r=a.computed(()=>{const{size:o}=e;let i=`${o}`;return i=`${i.replace("px","")}px`,{width:i,height:i}});return{symbolId:n,prefixCls:t,getStyle:r}}}),w6t=["xlink:href"];function E6t(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("svg",{class:a.normalizeClass([e.prefixCls,e.$attrs.class,e.spin&&"svg-icon-spin"]),style:a.normalizeStyle(e.getStyle),"aria-hidden":"true"},[a.createElementVNode("use",{"xlink:href":e.symbolId},null,8,w6t)],6)}var F6t=Po(C6t,[["render",E6t],["__file","icon-svg.vue"]]);const gZ=sa(F6t),Hke="|svg",x6t=a.defineComponent({name:"TaIcon",components:{SvgIcon:gZ},props:{icon:zr.string,color:zr.string,size:{type:[String,Number],default:16},spin:zr.bool.def(!1),prefix:zr.string.def("")},setup(e){const t=a.ref(null),n=a.computed(()=>e.icon?.endsWith(Hke)),r=a.computed(()=>e.icon.replace(Hke,"")),o=a.computed(()=>`${e.prefix?`${e.prefix}:`:""}${e.icon}`),i=async()=>{if(a.unref(n))return;const s=a.unref(t);if(!s)return;await a.nextTick();const d=a.unref(o);if(!d)return;const p=Dke.renderSVG(d,{});if(p)s.textContent="",s.appendChild(p);else{const h=document.createElement("span");h.className="iconify",h.dataset.icon=d,s.textContent="",s.appendChild(h)}},u=a.computed(()=>{const{size:s,color:d}=e;let p=s;return Jl(s)&&(p=parseInt(s,10)),{fontSize:`${p}px`,color:d,display:"inline-flex"}});return a.watch(()=>e.icon,i,{flush:"post"}),a.onMounted(i),{elRef:t,getWrapStyle:u,isSvgIcon:n,getSvgIcon:r}}});function A6t(e,t,n,r,o,i){const u=a.resolveComponent("SvgIcon");return e.isSvgIcon?(a.openBlock(),a.createBlock(u,{key:0,size:e.size,name:e.getSvgIcon,class:a.normalizeClass([e.$attrs.class,"anticon"]),spin:e.spin},null,8,["size","name","class","spin"])):(a.openBlock(),a.createElementBlock("span",{key:1,ref:"elRef",class:a.normalizeClass([e.$attrs.class,"app-iconify anticon",e.spin&&"app-iconify-spin"]),style:a.normalizeStyle(e.getWrapStyle)},null,6))}var Hse=Po(x6t,[["render",A6t],["__file","icon.vue"]]);const ld=sa(Hse),Yke={expand:{type:Boolean},up:{type:Boolean},down:{type:Boolean},inset:{type:Boolean},iconStyle:{type:String}},k6t=a.defineComponent({name:"TaBasicArrow",components:{Icon:ld},props:Yke,setup(e){const t="ta-basic-arrow",n=a.computed(()=>{const{expand:r,up:o,down:i,inset:u}=e;return[t,{[`${t}--active`]:r,up:o,inset:u,down:i}]});return{prefixCls:t,getClass:n}}});function B6t(e,t,n,r,o,i){const u=a.resolveComponent("Icon");return a.openBlock(),a.createElementBlock("span",{class:a.normalizeClass(e.getClass)},[a.createVNode(u,{icon:"ion:chevron-forward",style:a.normalizeStyle(e.$attrs.iconStyle)},null,8,["style"])],2)}var _6t=Po(k6t,[["render",B6t],["__file","basic-arrow.vue"]]);const JP=sa(_6t);function fp(e,t){D6t(e)&&(e="100%");var n=S6t(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function vZ(e){return Math.min(1,Math.max(0,e))}function D6t(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function S6t(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Uke(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function yZ(e){return e<=1?"".concat(Number(e)*100,"%"):e}function kE(e){return e.length===1?"0"+e:String(e)}function T6t(e,t,n){return{r:fp(e,255)*255,g:fp(t,255)*255,b:fp(n,255)*255}}function Wke(e,t,n){e=fp(e,255),t=fp(t,255),n=fp(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,u=0,s=(r+o)/2;if(r===o)u=0,i=0;else{var d=r-o;switch(u=s>.5?d/(2-r-o):d/(r+o),r){case e:i=(t-n)/d+(t<n?6:0);break;case t:i=(n-e)/d+2;break;case n:i=(e-t)/d+4;break}i/=6}return{h:i,s:u,l:s}}function Yse(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function N6t(e,t,n){var r,o,i;if(e=fp(e,360),t=fp(t,100),n=fp(n,100),t===0)o=n,i=n,r=n;else{var u=n<.5?n*(1+t):n+t-n*t,s=2*n-u;r=Yse(s,u,e+1/3),o=Yse(s,u,e),i=Yse(s,u,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function Use(e,t,n){e=fp(e,255),t=fp(t,255),n=fp(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,u=r,s=r-o,d=r===0?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:d,v:u}}function O6t(e,t,n){e=fp(e,360)*6,t=fp(t,100),n=fp(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),u=n*(1-o*t),s=n*(1-(1-o)*t),d=r%6,p=[n,u,i,i,s,n][d],h=[s,n,n,u,i,i][d],v=[i,i,s,n,n,u][d];return{r:p*255,g:h*255,b:v*255}}function Wse(e,t,n,r){var o=[kE(Math.round(e).toString(16)),kE(Math.round(t).toString(16)),kE(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function $6t(e,t,n,r,o){var i=[kE(Math.round(e).toString(16)),kE(Math.round(t).toString(16)),kE(Math.round(n).toString(16)),kE(M6t(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function M6t(e){return Math.round(parseFloat(e)*255).toString(16)}function qke(e){return x1(e)/255}function x1(e){return parseInt(e,16)}function P6t(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var qse={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function k_(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,u=!1,s=!1;return typeof e=="string"&&(e=R6t(e)),typeof e=="object"&&(Tb(e.r)&&Tb(e.g)&&Tb(e.b)?(t=T6t(e.r,e.g,e.b),u=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Tb(e.h)&&Tb(e.s)&&Tb(e.v)?(r=yZ(e.s),o=yZ(e.v),t=O6t(e.h,r,o),u=!0,s="hsv"):Tb(e.h)&&Tb(e.s)&&Tb(e.l)&&(r=yZ(e.s),i=yZ(e.l),t=N6t(e.h,r,i),u=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Uke(n),{ok:u,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var I6t="[-\\+]?\\d+%?",L6t="[-\\+]?\\d*\\.\\d+%?",D7="(?:".concat(L6t,")|(?:").concat(I6t,")"),Zse="[\\s|\\(]+(".concat(D7,")[,|\\s]+(").concat(D7,")[,|\\s]+(").concat(D7,")\\s*\\)?"),Xse="[\\s|\\(]+(".concat(D7,")[,|\\s]+(").concat(D7,")[,|\\s]+(").concat(D7,")[,|\\s]+(").concat(D7,")\\s*\\)?"),N3={CSS_UNIT:new RegExp(D7),rgb:new RegExp("rgb"+Zse),rgba:new RegExp("rgba"+Xse),hsl:new RegExp("hsl"+Zse),hsla:new RegExp("hsla"+Xse),hsv:new RegExp("hsv"+Zse),hsva:new RegExp("hsva"+Xse),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function R6t(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(qse[e])e=qse[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=N3.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=N3.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=N3.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=N3.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=N3.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=N3.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=N3.hex8.exec(e),n?{r:x1(n[1]),g:x1(n[2]),b:x1(n[3]),a:qke(n[4]),format:t?"name":"hex8"}:(n=N3.hex6.exec(e),n?{r:x1(n[1]),g:x1(n[2]),b:x1(n[3]),format:t?"name":"hex"}:(n=N3.hex4.exec(e),n?{r:x1(n[1]+n[1]),g:x1(n[2]+n[2]),b:x1(n[3]+n[3]),a:qke(n[4]+n[4]),format:t?"name":"hex8"}:(n=N3.hex3.exec(e),n?{r:x1(n[1]+n[1]),g:x1(n[2]+n[2]),b:x1(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Tb(e){return Boolean(N3.CSS_UNIT.exec(String(e)))}var Kse=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=P6t(t)),this.originalInput=t;var o=k_(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=fu