1import{d as me,P as X,D as Pe,L as Y,Z as Fe,q as Ee,n as S,w as ze,o as E,b as ee,s as z,z as te,j as ne,h as Le,ag as Me,v as _e,i as $e,t as Ne,_ as De}from"./BiZZLVzD.js";import{u as Re,r as qe}from"./B6zuLhRY.js";import"./Xz-sM4wD.js";const ye=Object.freeze({left:0,top:0,width:16,height:16}),xe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),G=Object.freeze({...ye,...xe});Object.freeze({...G,body:"",hidden:!1});({...ye});const be=Object.freeze({width:null,height:null}),Ie=Object.freeze({...be,...xe});function Ue(e,n){const o={...e};for(const s in n){const t=n[s],i=typeof t;s in be?(t===null||t&&(i==="string"||i==="number"))&&(o[s]=t):i===typeof o[s]&&(o[s]=s==="rotate"?t%4:t)}return o}const Qe=/[\s,]+/;function Be(e,n){n.split(Qe).forEach(o=>{switch(o.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function He(e,n=0){const o=e.replace(/^-?[0-9.]*/,"");function s(t){for(;t<0;)t+=4;return t%4}if(o===""){const t=parseInt(e);return isNaN(t)?0:s(t)}else if(o!==e){let t=0;switch(o){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-o.length));return isNaN(i)?0:(i=i/t,i%1===0?s(i):0)}}return n}const Ve=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ge=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function oe(e,n,o){if(n===1)return e;if(o=o||100,typeof e=="number")return Math.ceil(e*n*o)/o;if(typeof e!="string")return e;const s=e.split(Ve);if(s===null||!s.length)return e;const t=[];let i=s.shift(),r=Ge.test(i);for(;;){if(r){const l=parseFloat(i);isNaN(l)?t.push(i):t.push(Math.ceil(l*n*o)/o)}else t.push(i);if(i=s.shift(),i===void 0)return t.join("");r=!r}}function Ke(e,n="defs"){let o="";const s=e.indexOf("<"+n);for(;s>=0;){const t=e.indexOf(">",s),i=e.indexOf("</"+n);if(t===-1||i===-1)break;const r=e.indexOf(">",i);if(r===-1)break;o+=e.slice(t+1,i).trim(),e=e.slice(0,s).trim()+e.slice(r+1)}return{defs:o,content:e}}function We(e,n){return e?"<defs>"+e+"</defs>"+n:n}function Ze(e,n,o){const s=Ke(e);return We(s.defs,n+s.content+o)}const Je=e=>e==="unset"||e==="undefined"||e==="none";function Xe(e,n){const o={...G,...e},s={...Ie,...n},t={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;
1[o,s].forEach(m=>{const c=[],x=m.hFlip,v=m.vFlip;let y=m.rotate;x?v?y+=2:(c.push("translate("+(t.width+t.left).toString()+" "+(0-t.top).toString()+")"),c.push("scale(-1 1)"),t.top=t.left=0):v&&(c.push("translate("+(0-t.left).toString()+" "+(t.height+t.top).toString()+")"),c.push("scale(1 -1)"),t.top=t.left=0);let b;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:b=t.height/2+t.top,c.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:c.unshift("rotate(180 "+(t.width/2+t.left).toString()+" "+(t.height/2+t.top).toString()+")");break;case 3:b=t.width/2+t.left,c.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}y%2===1&&(t.left!==t.top&&(b=t.left,t.left=t.top,t.top=b),t.width!==t.height&&(b=t.width,t.width=t.height,t.height=b)),c.length&&(i=Ze(i,'<g transform="'+c.join(" ")+'">',"</g>"))});const r=s.width,l=s.height,u=t.width,a=t.height;let f,d;r===null?(d=l===null?"1em":l==="auto"?a:l,f=oe(d,u/a)):(f=r==="auto"?u:r,d=l===null?oe(f,a/u):l==="auto"?a:l);const p={},h=(m,c)=>{Je(c)||(p[m]=c.toString())};h("width",f),h("height",d);const I=[t.left,t.top,u,a];return p.viewBox=I.join(" "),{attributes:p,viewBox:I,body:i}}const Ye=/\sid="(\S+)"/g,et="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let tt=0;function nt(e,n=et){const o=[];let s;for(;s=Ye.exec(e);)o.push(s[1]);if(!o.length)return e;const t="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(i=>{const r=typeof n=="function"?n(i):n+(tt++).toString(),l=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+r+t+"$3")}),e=e.replace(new RegExp(t,"g"),""),e}function ot(e,n){let o=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in n)o+=" "+s+'="'+n[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}function st(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function it(e){return"data:image/svg+xml,"+st(e)}function rt(e){return'url("'+it(e)+'")'}const se={...Ie,inline:!1},ct={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},lt={display:"inline-block"},U={backgroundColor:"currentColor"},ve={backgroundColor:"transparent"},ie={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},re={webkitMask:U,mask:U,background:ve};for(const e in re){const n=re[e];for(const o in ie)n[e+o]=ie[o]}const L={};["horizontal","vertical"].forEach(e=>{const n=e.slice(0,1)+"Flip";L[e+"-flip"]=n,L[e.slice(0,1)+"-flip"]=n,L[e+"Flip"]=n});function ce(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const ut=(e,n)=>{const o=Ue(se,n),s={...ct},t=n.mode||"svg",i={},r=n.style,l=typeof r=="object"&&!(r instanceof Array)?r:{};for(let m in n){const c=n[m];if(c!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":o[m]=c===!0||c==="true"||c===1;break;case"flip":typeof c=="string"&&Be(o,c);break;case"color":i.color=c;break;case"rotate":typeof c=="string"?o[m]=He(c):typeof c=="number"&&(o[m]=c);break;case"ariaHidden":case"aria-hidden":c!==!0&&c!=="true"&&delete s["aria-hidden"];break;default:{const x=L[m];x?(c===!0||c==="true"||c===1)&&(o[x]=!0):se[m]===void 0&&(s[m]=c)}}}const u=Xe(e,o),a=u.attributes;if(o.inline&&(i.verticalAlign="-0.125em"),t==="svg"){s.style={...i,...l},Object.assign(s,a);let m=0,c=n.id;return typeof c=="string"&&(c=c.replace(/-/g,"_")),s.innerHTML=nt(u.body,c?()=>c+"ID"+m++:"iconifyVue"),X("svg",s)}const{body:f,width:d,height:p}=e,h=t==="mask"||(t==="bg"?!1:f.indexOf("currentColor")!==-1),I=ot(f,{...a,width:d+"",height:p+""});return s.style={...i,"--svg":rt(I),width:ce(a.width),height:ce(a.height),...lt,...h?U:ve,...l},X("span",s)},at=Object.create(null),ft=me({inheritAttrs:!1,render(){const e=this.$attrs,n=e.icon,o=typeof n=="string"?at[n]:typeof n=="object"?n:null;return o===null||typeof o!="object"||typeof o.body!="string"?this.$slots.default?this.$slots.default():null:ut({...G,...o},e)}}),we=/^[a-z0-9]+(-[a-z0-9]+)*$/,N=(e,n,o,s="")=>{const t=e.split(":");if(e.slice(0,1)==="@"){if(t.length<2||t.length>3)return null;s=t.shift().slice(1)}if(t.length>3||!t.length)return null;if(t.length>1){const l=t.pop(),u=t.pop(),a={provider:t.length>0?t[0]:s,prefix:u,name:l};return n&&!M(a)?null:a}const i=t[0],r=i.split("-");if(r.length>1){const l={provider:s,prefix:r.shift(),name:r.join("-")};return n&&!M(l)?null:l}if(o&&s===""){const l={provider:s,prefix:"",name:i};return n&&!M(l,o)?null:l}return null},M=(e,n)=>e?!!((n&&e.prefix===""||e.prefix)&&e.name):!1,ke=Object.freeze({left:0,top:0,width:16,height:16}),$=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),K=Object.freeze({...ke,...$}),Q=Object.freeze({...K,body:"",hidden:!1});function dt(e,n){const o={};!e.hFlip!=!n.hFlip&&(o.hFlip=!0),!e.vFlip!=!n.vFlip&&(o.vFlip=!0);const s=((e.rotate||0)+(n.rotate||0))%4;return s&&(o.rotate=s),o}function le(e,n){const o=dt(e,n);for(const s in Q)s in $?s in e&&!(s in o)&&(o[s]=$[s]):s in n?o[s]=n[s]:s in e&&(o[s]=e[s]);return o}function pt(e,n){const o=e.icons,s=e.aliases||Object.create(null),t=Object.create(null);function i(r){if(o[r])return t[r]=[];if(!(r in t)){t[r]=null;const l=s[r]&&s[r].parent,u=l&&i(l);u&&(t[r]=[l].concat(u))}return t[r]}
1return Object.keys(o).concat(Object.keys(s)).forEach(i),t}function ht(e,n,o){const s=e.icons,t=e.aliases||Object.create(null);let i={};function r(l){i=le(s[l]||t[l],i)}return r(n),o.forEach(r),le(e,i)}function Se(e,n){const o=[];if(typeof e!="object"||typeof e.icons!="object")return o;e.not_found instanceof Array&&e.not_found.forEach(t=>{n(t,null),o.push(t)});const s=pt(e);for(const t in s){const i=s[t];i&&(n(t,ht(e,t,i)),o.push(t))}return o}const gt={provider:"",aliases:{},not_found:{},...ke};function D(e,n){for(const o in n)if(o in e&&typeof e[o]!=typeof n[o])return!1;return!0}function Ce(e){if(typeof e!="object"||e===null)return null;const n=e;if(typeof n.prefix!="string"||!e.icons||typeof e.icons!="object"||!D(e,gt))return null;const o=n.icons;for(const t in o){const i=o[t];if(!t||typeof i.body!="string"||!D(i,Q))return null}const s=n.aliases||Object.create(null);for(const t in s){const i=s[t],r=i.parent;if(!t||typeof r!="string"||!o[r]&&!s[r]||!D(i,Q))return null}return n}const ue=Object.create(null);function mt(e,n){return{provider:e,prefix:n,icons:Object.create(null),missing:new Set}}function j(e,n){const o=ue[e]||(ue[e]=Object.create(null));return o[n]||(o[n]=mt(e,n))}function je(e,n){return Ce(n)?Se(n,(o,s)=>{s?e.icons[o]=s:e.missing.add(o)}):[]}function yt(e,n,o){try{if(typeof o.body=="string")return e.icons[n]={...o},!0}catch{}return!1}let P=!1;function Ae(e){return typeof e=="boolean"&&(P=e),P}function xt(e){const n=typeof e=="string"?N(e,!0,P):e;if(n){const o=j(n.provider,n.prefix),s=n.name;return o.icons[s]||(o.missing.has(s)?null:void 0)}}function bt(e,n){const o=N(e,!0,P);if(!o)return!1;const s=j(o.provider,o.prefix);return n?yt(s,o.name,n):(s.missing.add(o.name),!0)}function It(e,n){if(typeof e!="object")return!1;if(typeof n!="string"&&(n=e.provider||""),P&&!n&&!e.prefix){let t=!1;return Ce(e)&&(e.prefix="",Se(e,(i,r)=>{bt(i,r)&&(t=!0)})),t}const o=e.prefix;if(!M({provider:n,prefix:o,name:"a"}))return!1;const s=j(n,o);return!!je(s,e)}const vt=Object.freeze({width:null,height:null}),wt=Object.freeze({...vt,...$});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const B=Object.create(null);function kt(e,n){B[e]=n}function H(e){return B[e]||B[""]}function W(e){let n;if(typeof e.resources=="string")n=[e.resources];else if(n=e.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Z=Object.create(null),O=["https://api.simplesvg.com","https://api.unisvg.com"],_=[];for(;O.length>0;)O.length===1||Math.random()>.5?_.push(O.shift()):_.push(O.pop());Z[""]=W({resources:["https://api.iconify.design"].concat(_)});function V(e,n){const o=W(n);return o===null?!1:(Z[e]=o,!0)}function J(e){return Z[e]}const St=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ae=St();function Ct(e,n){const o=J(e);if(!o)return 0;let s;if(!o.maxURL)s=0;else{let t=0;o.resources.forEach(r=>{t=Math.max(t,r.length)});const i=n+".json?icons=";s=o.maxURL-t-o.path.length-i.length}return s}function jt(e){return e===404}const At=(e,n,o)=>{const s=[],t=Ct(e,n),i="icons";let r={type:i,provider:e,prefix:n,icons:[]},l=0;return o.forEach((u,a)=>{l+=u.length+1,l>=t&&a>0&&(s.push(r),r={type:i,provider:e,prefix:n,icons:[]},l=u.length),r.icons.push(u)}),s.push(r),s};function Ot(e){if(typeof e=="string"){const n=J(e);if(n)return n.path}return"/"}const Tt=(e,n,o)=>{if(!ae){o("abort",424);return}let s=Ot(n.provider);switch(n.type){case"icons":{const i=n.prefix,l=n.icons.join(","),u=new URLSearchParams({icons:l});s+=i+".json?"+u.toString();break}case"custom":{const i=n.uri;s+=i.slice(0,1)==="/"?i.slice(1):i;break}default:o("abort",400);return}let t=503;ae(e+s).then(i=>{const r=i.status;if(r!==200){setTimeout(()=>{o(jt(r)?"abort":"next",r)});return}return t=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?o("abort",i):o("next",t)});return}setTimeout(()=>{o("success",i)})}).catch(()=>{o("next",t)})},Pt={prepare:At,send:Tt};function Ft(e){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort((t,i)=>t.provider!==i.provider?t.provider.localeCompare(i.provider):t.prefix!==i.prefix?t.prefix.localeCompare(i.prefix):t.name.localeCompare(i.name));let s={provider:"",prefix:"",name:""};return e.forEach(t=>{if(s.name===t.name&&s.prefix===t.prefix&&s.provider===t.provider)return;s=t;const i=t.provider,r=t.prefix,l=t.name,u=o[i]||(o[i]=Object.create(null)),a=u[r]||(u[r]=j(i,r));let f;l in a.icons?f=n.loaded:r===""||a.missing.has(l)?f=n.missing:f=n.pending;const d={provider:i,prefix:r,name:l};f.push(d)}),n}function Oe(e,n){e.forEach(o=>{const s=o.loaderCallbacks;s&&(o.loaderCallbacks=s.filter(t=>t.id!==n))})}
1function Et(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const n=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const s=e.provider,t=e.prefix;n.forEach(i=>{const r=i.icons,l=r.pending.length;r.pending=r.pending.filter(u=>{if(u.prefix!==t)return!0;const a=u.name;if(e.icons[a])r.loaded.push({provider:s,prefix:t,name:a});else if(e.missing.has(a))r.missing.push({provider:s,prefix:t,name:a});else return o=!0,!0;return!1}),r.pending.length!==l&&(o||Oe([e],i.id),i.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),i.abort))})}))}let zt=0;function Lt(e,n,o){const s=zt++,t=Oe.bind(null,o,s);if(!n.pending.length)return t;const i={id:s,icons:n,callback:e,abort:t};return o.forEach(r=>{(r.loaderCallbacks||(r.loaderCallbacks=[])).push(i)}),t}function Mt(e,n=!0,o=!1){const s=[];return e.forEach(t=>{const i=typeof t=="string"?N(t,n,o):t;i&&s.push(i)}),s}var _t={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function $t(e,n,o,s){const t=e.resources.length,i=e.random?Math.floor(Math.random()*t):e.index;let r;if(e.random){let g=e.resources.slice(0);for(r=[];g.length>1;){const w=Math.floor(Math.random()*g.length);r.push(g[w]),g=g.slice(0,w).concat(g.slice(w+1))}r=r.concat(g)}else r=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let u="pending",a=0,f,d=null,p=[],h=[];typeof s=="function"&&h.push(s);function I(){d&&(clearTimeout(d),d=null)}function m(){u==="pending"&&(u="aborted"),I(),p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function c(g,w){w&&(h=[]),typeof g=="function"&&h.push(g)}function x(){return{startTime:l,payload:n,status:u,queriesSent:a,queriesPending:p.length,subscribe:c,abort:m}}function v(){u="failed",h.forEach(g=>{g(void 0,f)})}function y(){p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function b(g,w,A){const F=w!=="success";switch(p=p.filter(k=>k!==g),u){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){f=A,v();return}if(F){f=A,p.length||(r.length?C():v());return}if(I(),y(),!e.random){const k=e.resources.indexOf(g.resource);k!==-1&&k!==e.index&&(e.index=k)}u="completed",h.forEach(k=>{k(A)})}function C(){if(u!=="pending")return;I();const g=r.shift();if(g===void 0){if(p.length){d=setTimeout(()=>{I(),u==="pending"&&(y(),v())},e.timeout);return}v();return}const w={status:"pending",resource:g,callback:(A,F)=>{b(w,A,F)}};p.push(w),a++,d=setTimeout(C,e.rotate),o(g,n,w.callback)}return setTimeout(C),x}function Te(e){const n={..._t,...e};let o=[];function s(){o=o.filter(l=>l().status==="pending")}function t(l,u,a){const f=$t(n,l,u,(d,p)=>{s(),a&&a(d,p)});return o.push(f),f}function i(l){return o.find(u=>l(u))||null}return{query:t,find:i,setIndex:l=>{n.index=l},getIndex:()=>n.index,cleanup:s}}function fe(){}const R=Object.create(null);function Nt(e){if(!R[e]){const n=J(e);if(!n)return;const o=Te(n),s={config:n,redundancy:o};R[e]=s}return R[e]}function Dt(e,n,o){let s,t;if(typeof e=="string"){const i=H(e);if(!i)return o(void 0,424),fe;t=i.send;const r=Nt(e);r&&(s=r.redundancy)}else{const i=W(e);if(i){s=Te(i);const r=e.resources?e.resources[0]:"",l=H(r);l&&(t=l.send)}}return!s||!t?(o(void 0,424),fe):s.query(n,t,o)().abort}function Rt(){}function qt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Et(e)}))}function Ut(e){const n=[],o=[];return e.forEach(s=>{(s.match(we)?n:o).push(s)}),{valid:n,invalid:o}}function T(e,n,o){function s(){const t=e.pendingIcons;n.forEach(i=>{t&&t.delete(i),e.icons[i]||e.missing.add(i)})}if(o&&typeof o=="object")try{if(!je(e,o).length){s();return}}catch(t){console.error(t)}s(),qt(e)}function de(e,n){e instanceof Promise?e.then(o=>{n(o)}).catch(()=>{n(null)}):n(e)}function Qt(e,n){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(n).sort():e.iconsToLoad=n,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:o,prefix:s}=e,t=e.iconsToLoad;if(delete e.iconsToLoad,!t||!t.length)return;const i=e.loadIcon;if(e.loadIcons&&(t.length>1||!i)){de(e.loadIcons(t,s,o),f=>{T(e,t,f)});return}if(i){t.forEach(f=>{const d=i(f,s,o);de(d,p=>{const h=p?{prefix:s,icons:{[f]:p}}:null;T(e,[f],h)})});return}
1const{valid:r,invalid:l}=Ut(t);if(l.length&&T(e,l,null),!r.length)return;const u=s.match(we)?H(o):null;if(!u){T(e,r,null);return}u.prepare(o,s,r).forEach(f=>{Dt(o,f,d=>{T(e,f.icons,d)})})}))}const Bt=(e,n)=>{const o=Mt(e,!0,Ae()),s=Ft(o);if(!s.pending.length){let u=!0;return setTimeout(()=>{u&&n(s.loaded,s.missing,s.pending,Rt)}),()=>{u=!1}}const t=Object.create(null),i=[];let r,l;return s.pending.forEach(u=>{const{provider:a,prefix:f}=u;if(f===l&&a===r)return;r=a,l=f,i.push(j(a,f));const d=t[a]||(t[a]=Object.create(null));d[f]||(d[f]=[])}),s.pending.forEach(u=>{const{provider:a,prefix:f,name:d}=u,p=j(a,f),h=p.pendingIcons||(p.pendingIcons=new Set);h.has(d)||(h.add(d),t[a][f].push(d))}),i.forEach(u=>{const a=t[u.provider][u.prefix];a.length&&Qt(u,a)}),Lt(n,s,i)},Ht=e=>new Promise((n,o)=>{const s=typeof e=="string"?N(e,!0):e;if(!s){o(e);return}Bt([s||e],t=>{if(t.length&&s){const i=xt(s);if(i){n({...K,...i});return}}o(e)})});({...wt});const pe={backgroundColor:"currentColor"},Vt={backgroundColor:"transparent"},he={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ge={webkitMask:pe,mask:pe,background:Vt};for(const e in ge){const n=ge[e];for(const o in he)n[e+o]=he[o]}const q={};["horizontal","vertical"].forEach(e=>{const n=e.slice(0,1)+"Flip";q[e+"-flip"]=n,q[e.slice(0,1)+"-flip"]=n,q[e+"Flip"]=n});Ae(!0);kt("",Pt);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const n=e.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!It(s))&&console.error(o)}catch{console.error(o)}})}if(e.IconifyProviders!==void 0){const n=e.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const s="IconifyProviders["+o+"] is invalid.";try{const t=n[o];if(typeof t!="object"||!t||t.resources===void 0)continue;V(o,t)||console.error(s)}catch{console.error(s)}}}}({...K});const Gt=me({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let n,o;const s=Pe(),t=Re(),i=e;Y(()=>{var c;return(c=t.nuxtIcon)==null?void 0:c.iconifyApiOptions},()=>{var c,x,v,y,b,C;if((x=(c=t.nuxtIcon)==null?void 0:c.iconifyApiOptions)!=null&&x.url){try{new URL(t.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((y=(v=t.nuxtIcon)==null?void 0:v.iconifyApiOptions)!=null&&y.publicApiFallback){V("custom",{resources:[(b=t.nuxtIcon)==null?void 0:b.iconifyApiOptions.url],index:0});return}V("",{resources:[(C=t.nuxtIcon)==null?void 0:C.iconifyApiOptions.url]})}},{immediate:!0});const r=Fe("icons",()=>({})),l=Ee(!1),u=S(()=>{var c,x;return(x=(c=t.nuxtIcon)==null?void 0:c.aliases)!=null&&x[i.name]?t.nuxtIcon.aliases[i.name]:i.name}),a=S(()=>qe(u.value)),f=S(()=>[a.value.provider,a.value.prefix,a.value.name].filter(Boolean).join(":")),d=S(()=>{var c;return(c=r.value)==null?void 0:c[f.value]}),p=S(()=>{var c;return(c=s.vueApp)==null?void 0:c.component(u.value)}),h=S(()=>{var x,v,y;if(!i.size&&typeof((x=t.nuxtIcon)==null?void 0:x.size)=="boolean"&&!((v=t.nuxtIcon)!=null&&v.size))return;const c=i.size||((y=t.nuxtIcon)==null?void 0:y.size)||"1em";return String(Number(c))===c?`${c}px`:c}),I=S(()=>{var c;return((c=t==null?void 0:t.nuxtIcon)==null?void 0:c.class)??"icon"});async function m(){var c;p.value||(c=r.value)!=null&&c[f.value]||(l.value=!0,r.value[f.value]=await Ht(a.value).catch(()=>{}),l.value=!1)}return Y(u,m),!p.value&&([n,o]=ze(()=>m()),n=await n,o()),(c,x)=>l.value?(E(),ee("span",{key:0,class:z(I.value),style:te({width:h.value,height:h.value})},null,6)):d.value?(E(),ne(Le(ft),{key:1,icon:d.value,class:z(I.value),width:h.value,height:h.value},null,8,["icon","class","width","height"])):p.value?(E(),ne(Me(p.value),{key:2,class:z(I.value),width:h.value,height:h.value},null,8,["class","width","height"])):(E(),ee("span",{key:3,class:z(I.value),style:te({fontSize:h.value,lineHeight:h.value,width:h.value,height:h.value})},[_e(c.$slots,"default",{},()=>[$e(Ne(e.name),1)],!0)],6))}}),Jt=Object.assign(De(Gt,[["__scopeId","data-v-4847b53f"]]),{__name:"Icon"});export{Jt as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.