1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72635],{72635:(e,t,n)=>{let r;n.d(t,{In:()=>eD});var i=n(12115);let o=Object.freeze({left:0,top:0,width:16,height:16}),s=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),l=Object.freeze({...o,...s}),c=Object.freeze({...l,body:"",hidden:!1}),a=Object.freeze({...Object.freeze({width:null,height:null}),...s}),u=/[\s,]+/,f={...a,preserveAspectRatio:""};function h(e){let t={...f},n=(t,n)=>e.getAttribute(t)||n;return t.width=n("width",null),t.height=n("height",null),t.rotate=function(e,t=0){let n=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===n){let t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t)%1==0?r(i):0}}return t}(n("rotate","")),n("flip","").split(u).forEach(e=>{switch(e.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0}}),t.preserveAspectRatio=n("preserveAspectRatio",n("preserveaspectratio","")),t}let d=/^[a-z0-9]+(-[a-z0-9]+)*$/,p=(e,t,n,r="")=>{let i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),o={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!g(o)?null:o}let o=i[0],s=o.split("-");if(s.length>1){let e={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!g(e)?null:e}if(n&&""===r){let e={provider:r,prefix:"",name:o};return t&&!g(e,n)?null:e}return null},g=(e,t)=>!!e&&!!((t&&""===e.prefix||e.prefix)&&e.name);function b(e,t){let n,r,i=(n={},!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0),(r=((e.rotate||0)+(t.rotate||0))%4)&&(n.rotate=r),n);for(let n in c)n in s?n in e&&!(n in i)&&(i[n]=s[n]):n in t?i[n]=t[n]:n in e&&(i[n]=e[n]);return i}function m(e,t){let n,r,i,o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),o.push(e)});let s=(n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null),Object.keys(n).concat(Object.keys(r)).forEach(function e(t){if(n[t])return i[t]=[];if(!(t in i)){i[t]=null;let n=r[t]&&r[t].parent,o=n&&e(n);o&&(i[t]=[n].concat(o))}return i[t]}),i);for(let n in s){let r=s[n];r&&(t(n,function(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),o={};function s(e){o=b(r[e]||i[e],o)}return s(t),n.forEach(s),b(e,o)}(e,n,r)),o.push(n))}return o}let v={provider:"",aliases:{},not_found:{},...o};function y(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function _(e){if("object"!=typeof e||null===e||"string"!=typeof e.prefix||!e.icons||"object"!=typeof e.icons||!y(e,v))return null;let t=e.icons;for(let e in t){let n=t[e];if(!e||"string"!=typeof n.body||!y(n,c))return null}let n=e.aliases||Object.create(null);for(let e in n){let r=n[e],i=r.parent;if(!e||"string"!=typeof i||!t[i]&&!n[i]||!y(r,c))return null}return e}let w=Object.create(null);function x(e,t){let n=w[e]||(w[e]=Object.create(null));return n[t]||(n[t]={provider:e,prefix:t,icons:Object.create(null),missing:new Set})}function k(e,t){return _(t)?m(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function j(e,t){let n=[];return("string"==typeof e?[e]:Object.keys(w)).forEach(e=>{("string"==typeof e&&"string"==typeof t?[t]:Object.keys(w[e]||{})).forEach(t=>{let r=x(e,t);n=n.concat(Object.keys(r.icons).map(n=>(""!==e?"@"+e+":":"")+t+":"+n))})}),n}let O=!1;function A(e){return"boolean"==typeof e&&(O=e),O}function C(e){let t="string"==typeof e?p(e,!0,O):e;if(t){let e=x(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function E(e,t){let n=p(e,!0,O);if(!n)return!1;let r=x(n.provider,n.prefix);if(!t)return r.missing.add(n.name),!0;var i=n.name;try{if("string"==typeof t.body)return r.icons[i]={...t},!0}catch(e){}return!1}function I(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),O&&!t&&!e.prefix){let t=!1;return _(e)&&(e.prefix="",m(e,(e,n)=>{E(e,n)&&(t=!0)})),t}let n=e.prefix;return!!g({prefix:n,name:"a"})&&!!k(x(t,n),e)}function T(e){return!!C(e)}function R(e){let t=C(e);return t?{...l,...t}:t}
1function S(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let F=0,L=Object.create(null);function N(e,t){L[e]=t}function M(e){return L[e]||L[""]}function P(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(!((t=e.resources)instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}let z=Object.create(null),Q=["https://api.simplesvg.com","https://api.unisvg.com"],q=[];for(;Q.length>0;)1===Q.length||Math.random()>.5?q.push(Q.shift()):q.push(Q.pop());function U(e,t){let n=P(t);return null!==n&&(z[e]=n,!0)}function D(e){return z[e]}function H(){return Object.keys(z)}z[""]=P({resources:["https://api.iconify.design"].concat(q)});let J={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function $(e){let t={...J,...e},n=[];function r(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,i,o){let s=function(e,t,n,r){let i,o,s=e.resources.length,l=e.random?Math.floor(Math.random()*s):e.index;if(e.random){let t=e.resources.slice(0);for(i=[];t.length>1;){let e=Math.floor(Math.random()*t.length);i.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}i=i.concat(t)}else i=e.resources.slice(l).concat(e.resources.slice(0,l));let c=Date.now(),a="pending",u=0,f=null,h=[],d=[];function p(){f&&(clearTimeout(f),f=null)}function g(){"pending"===a&&(a="aborted"),p(),h.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),h=[]}function b(e,t){t&&(d=[]),"function"==typeof e&&d.push(e)}function m(){a="failed",d.forEach(e=>{e(void 0,o)})}function v(){h.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),h=[]}return"function"==typeof r&&d.push(r),setTimeout(function r(){if("pending"!==a)return;p();let s=i.shift();if(void 0===s){if(h.length){f=setTimeout(()=>{p(),"pending"===a&&(v(),m())},e.timeout);return}m();return}let l={status:"pending",resource:s,callback:(t,n)=>{!function(t,n,s){let l="success"!==n;switch(h=h.filter(e=>e!==t),a){case"pending":break;case"failed":if(l||!e.dataAfterTimeout)return;break;default:return}if("abort"===n){o=s,m();return}if(l){o=s,h.length||(i.length?r():m());return}if(p(),v(),!e.random){let n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}a="completed",d.forEach(e=>{e(s)})}(l,t,n)}};h.push(l),u++,f=setTimeout(r,e.rotate),n(s,t,l.callback)}),function(){return{startTime:c,payload:t,status:a,queriesSent:u,queriesPending:h.length,subscribe:b,abort:g}}}(t,e,i,(e,t)=>{r(),o&&o(e,t)});return n.push(s),s},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function B(){}let G=Object.create(null);function V(e,t,n){let r,i;if("string"==typeof e){let t=M(e);if(!t)return n(void 0,424),B;i=t.send;let o=function(e){if(!G[e]){let t=z[e];if(!t)return;G[e]={config:t,redundancy:$(t)}}return G[e]}(e);o&&(r=o.redundancy)}else{let t=P(e);if(t){r=$(t);let n=M(e.resources?e.resources[0]:"");n&&(i=n.send)}}return r&&i?r.query(t,i,n)().abort:(n(void 0,424),B)}function K(){}function W(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!k(e,n).length)return void r()}catch(e){console.error(e)}r(),e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let o=t.icons,s=o.pending.length;o.pending=o.pending.filter(t=>{if(t.prefix!==i)return!0;let s=t.name;if(e.icons[s])o.loaded.push({provider:r,prefix:i,name:s});else{if(!e.missing.has(s))return n=!0,!0;o.missing.push({provider:r,prefix:i,name:s})}return!1}),o.pending.length!==s&&(n||S([e],t.id),t.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),t.abort))})}))}))}function X(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}let Y=(e,t)=>
1{var n;let r,i,o,s,l,c=(n=function(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i="string"==typeof e?p(e,t,n):e;i&&r.push(i)}),r}(e,!0,A()),o={loaded:[],missing:[],pending:[]},s=Object.create(null),n.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)),l={provider:"",prefix:"",name:""},n.forEach(e=>{if(l.name===e.name&&l.prefix===e.prefix&&l.provider===e.provider)return;l=e;let t=e.provider,n=e.prefix,r=e.name,i=s[t]||(s[t]=Object.create(null)),c=i[n]||(i[n]=x(t,n));(r in c.icons?o.loaded:""===n||c.missing.has(r)?o.missing:o.pending).push({provider:t,prefix:n,name:r})}),o);if(!c.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(c.loaded,c.missing,c.pending,K)}),()=>{e=!1}}let a=Object.create(null),u=[];return c.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===i&&t===r)return;r=t,i=n,u.push(x(t,n));let o=a[t]||(a[t]=Object.create(null));o[n]||(o[n]=[])}),c.pending.forEach(e=>{let{provider:t,prefix:n,name:r}=e,i=x(t,n),o=i.pendingIcons||(i.pendingIcons=new Set);o.has(r)||(o.add(r),a[t][n].push(r))}),u.forEach(e=>{let t=a[e.provider][e.prefix];t.length&&(e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{let t,n;e.iconsQueueFlag=!1;let{provider:r,prefix:i}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;let s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s))return void X(e.loadIcons(o,i,r),t=>{W(e,o,t)});if(s)return void o.forEach(t=>{X(s(t,i,r),n=>{W(e,[t],n?{prefix:i,icons:{[t]:n}}:null)})});let{valid:l,invalid:c}=(t=[],n=[],o.forEach(e=>{(e.match(d)?t:n).push(e)}),{valid:t,invalid:n});if(c.length&&W(e,c,null),!l.length)return;let a=i.match(d)?M(r):null;a?a.prepare(r,i,l).forEach(t=>{V(r,t,n=>{W(e,t.icons,n)})}):W(e,l,null)})))}),t?function(e,t,n){let r=F++,i=S.bind(null,n,r);if(!t.pending.length)return i;let o={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(o)}),i}(t,c,u):K},Z=e=>new Promise((t,n)=>{let r="string"==typeof e?p(e,!0):e;r?Y([r||e],i=>{if(i.length&&r){let e=C(r);if(e)return void t({...l,...e})}n(e)}):n(e)});function ee(e){try{let t="string"==typeof e?JSON.parse(e):e;if("string"==typeof t.body)return{...t}}catch(e){}}let et=!1;try{et=0===navigator.vendor.indexOf("Apple")}catch(e){}let en=/(-?[0-9.]*[0-9]+[0-9.]*)/g,er=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ei(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;let r=e.split(en);if(null===r||!r.length)return e;let i=[],o=r.shift(),s=er.test(o);for(;;){if(s){let e=parseFloat(o);isNaN(e)?i.push(o):i.push(Math.ceil(e*t*n)/n)}else i.push(o);if(void 0===(o=r.shift()))return i.join("");s=!s}}function eo(e,t){let n,r,i={...l,...e},o={...a,...t},s={left:i.left,top:i.top,width:i.width,height:i.height},c=i.body;[i,o].forEach(e=>{var t,n,r,i;let o,l,a=[],u=e.hFlip,f=e.vFlip,h=e.rotate;switch(u?f?h+=2:(a.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),a.push("scale(-1 1)"),s.top=s.left=0):f&&(a.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),a.push("scale(1 -1)"),s.top=s.left=0),h<0&&(h-=4*Math.floor(h/4)),h%=4){case 1:a.unshift("rotate(90 "+(o=s.height/2+s.top).toString()+" "+o.toString()+")");break;case 2:a.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:a.unshift("rotate(-90 "+(o=s.width/2+s.left).toString()+" "+o.toString()+")")}h%2==1&&(s.left!==s.top&&(o=s.left,s.left=s.top,s.top=o),s.width!==s.height&&(o=s.width,s.width=s.height,s.height=o)),a.length&&(t=c,n='<g transform="'+a.join(" ")+'">',r=(l=function(e,t="defs"){let n="",r=e.indexOf("<"+t);for(;r>=0;){let i=e.indexOf(">",r),o=e.indexOf("</"+t);if(-1===i||-1===o)break;let s=e.indexOf(">",o);if(-1===s)break;n+=e.slice(i+1,o).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}(t)).defs,i=n+l.content+"</g>",c=r?"<defs>"+r+"</defs>"+i:i)});let u=o.width,f=o.height,h=s.width,d=s.height;null===u?n=ei(r=null===f?"1em":"auto"===f?d:f,h/d):(n="auto"===u?h:u,r=null===f?ei(n,d/h):"auto"===f?d:f);let p={},g=(e,t)=>{"unset"!==t&&"undefined"!==t&&"none"!==t&&(p[e]=t.toString())};g("width",n),g("height",r);let b=[s.left,s.top,h,d];return p.viewBox=b.join(" "),{attributes:p,viewBox:b,body:c}}function es(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function el(e){return'url("data:image/svg+xml,'+e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")+'")'}let ec=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(e){}})();function ea(e){ec=e}function eu(){return ec}
1let ef={prepare:(e,t,n)=>{let r=[],i=function(e,t){let n,r=z[e];if(!r)return 0;if(r.maxURL){let e=0;r.resources.forEach(t=>{e=Math.max(e,t.length)}),n=r.maxURL-e-r.path.length-(t+".json?icons=").length}else n=0;return n}(e,t),o="icons",s={type:o,provider:e,prefix:t,icons:[]},l=0;return n.forEach((n,c)=>{(l+=n.length+1)>=i&&c>0&&(r.push(s),s={type:o,provider:e,prefix:t,icons:[]},l=n.length),s.icons.push(n)}),r.push(s),r},send:(e,t,n)=>{if(!ec)return void n("abort",424);let r=function(e){if("string"==typeof e){let t=z[e];if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":r+=t.prefix+".json?"+new URLSearchParams({icons:t.icons.join(",")}).toString();break;case"custom":{let e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:n("abort",400);return}let i=503;ec(e+r).then(e=>{let t=e.status;return 200!==t?void setTimeout(()=>{n(404===t?"abort":"next",t)}):(i=501,e.json())}).then(e=>{"object"!=typeof e||null===e?setTimeout(()=>{404===e?n("abort",e):n("next",i)}):setTimeout(()=>{n("success",e)})}).catch(()=>{n("next",i)})}};function eh(e,t,n){x(n||"",t).loadIcons=e}function ed(e,t,n){x(n||"",t).loadIcon=e}let ep="data-style",eg="";function eb(e){eg=e}function em(e,t){let n=Array.from(e.childNodes).find(e=>e.hasAttribute&&e.hasAttribute(ep));n||((n=document.createElement("style")).setAttribute(ep,ep),e.appendChild(n)),n.textContent=":host{display:inline-block;vertical-align:"+(t?"-0.125em":"0")+"}span,svg{display:block;margin:auto}"+eg}function ev(){let e;L[""]=ef,A(!0);try{e=window}catch(e){}if(e){if(void 0!==e.IconifyPreload){let t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!I(e))&&console.error(n)}catch(e){console.error(n)}})}if(void 0!==e.IconifyProviders){let t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){let n="IconifyProviders["+e+"] is invalid.";try{let r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;U(e,r)||console.error(n)}catch(e){console.error(n)}}}}return{iconLoaded:T,getIcon:R,listIcons:j,addIcon:E,addCollection:I,calculateSize:ei,buildIcon:eo,iconToHTML:es,svgToURL:el,loadIcons:Y,loadIcon:Z,addAPIProvider:U,setCustomIconLoader:ed,setCustomIconsLoader:eh,appendCustomStyle:eb,_api:{getAPIConfig:D,setAPIModule:N,sendAPIQuery:V,setFetch:ea,getFetch:eu,listAPIProviders:H}}}let ey={"background-color":"currentColor"},e_={"background-color":"transparent"},ew={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},ex={"-webkit-mask":ey,mask:ey,background:e_};for(let e in ex){let t=ex[e];for(let n in ew)t[e+"-"+n]=ew[n]}function ek(e){return e?e+(e.match(/^[-0-9.]+$/)?"px":""):"inherit"}function ej(e){return Array.from(e.childNodes).find(e=>{let t=e.tagName&&e.tagName.toUpperCase();return"SPAN"===t||"SVG"===t})}function eO(e,t){let n,i=t.icon.data,o=t.customisations,s=eo(i,o);o.preserveAspectRatio&&(s.attributes.preserveAspectRatio=o.preserveAspectRatio);let c=t.renderedMode;if("svg"===c){var a;let e,t,i;e=document.createElement("span"),t=s.attributes,i="",t.width||(i="width: inherit;"),t.height||(i+="height: inherit;"),i&&(t.style=i),a=es(s.body,t),void 0===r&&function(){try{r=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch(e){r=null}}(),e.innerHTML=r?r.createHTML(a):a,n=e.firstChild}else n=function(e,t,n){let r=document.createElement("span"),i=e.body;-1!==i.indexOf("<a")&&(i+="\x3c!-- "+Date.now()+" --\x3e");let o=e.attributes,s=el(es(i,{...o,width:t.width+"",height:t.height+""})),l=r.style,c={"--svg":s,width:ek(o.width),height:ek(o.height),...n?ey:e_};for(let e in c)l.setProperty(e,c[e]);return r}(s,{...l,...i},"mask"===c);let u=ej(e);u?"SPAN"===n.tagName&&u.tagName===n.tagName?u.setAttribute("style",n.getAttribute("style")):e.replaceChild(n,u):e.appendChild(n)}function eA(e,t,n){return{rendered:!1,inline:t,icon:e,lastRender:n&&(n.rendered?n:n.lastRender)}}let{iconLoaded:eC,getIcon:eE,listIcons:eI,addIcon:eT,addCollection:eR,calculateSize:eS,buildIcon:eF,iconToHTML:eL,svgToURL:eN,loadIcons:eM,loadIcon:eP,setCustomIconLoader:ez,setCustomIconsLoader:eQ,addAPIProvider:eq,_api:eU}=function(e="iconify-icon"){let t,n;try{t=window.customElements,n=window.HTMLElement}catch(e){return}if(!t||!n)return;let r=t.get(e);if(r)return r;let i=["icon","mode","inline","noobserver","width","height","rotate","flip"],o=class extends n{_shadowRoot;_initialised=!1;_state;_checkQueued=!1;_connected=!1;_observer=null;_visible=!0;constructor(){super();const e=this._shadowRoot=this.attachShadow({mode:"open"}),t=this.hasAttribute("inline");em(e,t),this._state=eA({value:""},t),this._queueCheck()}connectedCallback(){this._connected=!0,this.startObserver()}disconnectedCallback(){this._connected=!1,this.stopObserver()}static get observedAttributes(){return i.slice(0)}attributeChangedCallback(e){switch(e){case"inline":{let e=this.hasAttribute("inline"),t=this._state;e!==t.inline&&(t.inline=e,em(this._shadowRoot,e));break}case"noobserver":this.hasAttribute("noobserver")?this.startObserver():this.stopObserver();break;default:this._queueCheck()}}get icon(){let e=this.getAttribute("icon");if(e&&"{"===e.slice(0,1))try{return JSON.parse(e)}catch(e){}return e}set icon(e){"object"==typeof e&&(e=JSON.stringify(e)),this.setAttribute("icon",e)}get inline(){return this.hasAttribute("inline")}set inline(e){e?this.setAttribute("inline","true"):this.removeAttribute("inline")}get observer(){return this.hasAttribute("observer")}set observer(e){e?this.setAttribute("observer","true"):this.removeAttribute("observer")}restartAnimation(){let e=this._state;if(e.rendered){let t=this._shadowRoot;if("svg"===e.renderedMode)try{t.lastChild.setCurrentTime(0);return}catch(e){}eO(t,e)}}get status(){let e=this._state;return e.rendered?"rendered":null===e.icon.data?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout(()=>{this._check()}))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;let e=this._state,t=this.getAttribute("icon");if(t!==e.icon.value)return void this._iconChanged(t);if(!e.rendered||!this._visible)return;let n=this.getAttribute("mode"),r=h(this);(e.attrMode!==n||function(e,t){for(let n in f)if(e[n]!==t[n])return!0;return!1}(e.customisations,r)||!ej(this._shadowRoot))&&this._renderIcon(e.icon,r,n)}_iconChanged(e){let t=function(e,t){if("object"==typeof e)return{data:ee(e),value:e};if("string"!=typeof e)return{value:e};if(e.includes("{")){let t=ee(e);
1if(t)return{data:t,value:e}}let n=p(e,!0,!0);if(!n)return{value:e};let r=C(n);if(void 0!==r||!n.prefix)return{value:e,name:n,data:r};let i=Y([n],()=>t(e,n,C(n)));return{value:e,name:n,loading:i}}(e,(e,t,n)=>{let r=this._state;if(r.rendered||this.getAttribute("icon")!==e)return;let i={value:e,name:t,data:n};i.data?this._gotIconData(i):r.icon=i});t.data?this._gotIconData(t):this._state=eA(t,this._state.inline,this._state)}_forceRender(){if(!this._visible){let e=ej(this._shadowRoot);e&&this._shadowRoot.removeChild(e);return}this._queueCheck()}_gotIconData(e){this._checkQueued=!1,this._renderIcon(e,h(this),this.getAttribute("mode"))}_renderIcon(e,t,n){let r=function(e,t){switch(t){case"svg":case"bg":case"mask":return t}return"style"!==t&&(et||-1===e.indexOf("<a"))?"svg":-1===e.indexOf("currentColor")?"bg":"mask"}(e.data.body,n),i=this._state.inline;eO(this._shadowRoot,this._state={rendered:!0,icon:e,inline:i,customisations:t,attrMode:n,renderedMode:r})}startObserver(){if(!this._observer&&!this.hasAttribute("noobserver"))try{this._observer=new IntersectionObserver(e=>{let t=e.some(e=>e.isIntersecting);t!==this._visible&&(this._visible=t,this._forceRender())}),this._observer.observe(this)}catch(e){if(this._observer){try{this._observer.disconnect()}catch(e){}this._observer=null}}}stopObserver(){this._observer&&(this._observer.disconnect(),this._observer=null,this._visible=!0,this._connected&&this._forceRender())}};i.forEach(e=>{e in o.prototype||Object.defineProperty(o.prototype,e,{get:function(){return this.getAttribute(e)},set:function(t){null!==t?this.setAttribute(e,t):this.removeAttribute(e)}})});let s=ev();for(let e in s)o[e]=o.prototype[e]=s[e];return t.define(e,o),o}()||ev();var eD=i.forwardRef((e,t)=>{let n={...e,ref:t};return"object"==typeof e.icon&&(n.icon=JSON.stringify(e.icon)),e.inline||delete n.inline,e.className&&(n.class=e.className),i.createElement("iconify-icon",n)})}}]);
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.