"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r,o=n(t),i={},s={get exports(){return i},set exports(e){i=e}},a={};var c,l,u={}; /** * @license React * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function f(e){function t(e,r,c,l,d){for(var p,h,m,y,w,x=0,k=0,C=0,A=0,E=0,I=0,R=m=p=0,M=0,D=0,F=0,L=0,z=c.length,V=z-1,B="",H="",U="",q="";Mp)&&(L=(B=B.replace(" ",":")).length),0r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(y,"$1"+e.trim());case 58:return e.trim()+t.replace(y,"$1"+e.trim());default:if(0<1*n&&0c.charCodeAt(8))break;case 115:s=s.replace(c,"-webkit-"+c)+";"+s;break;case 207:case 102:s=s.replace(c,"-webkit-"+(102r.charCodeAt(0)&&(r=r.trim()),r=[r],0 ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document ``\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to ``, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function Y(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n1?t-1:0),r=1;r0?" Args: "+n.join(", "):"")):new Error(Y.apply(void 0,[G[e]].concat(n)).trim())}var X=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&W(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i1<<30)&&W(16,""+t),J.set(e,t),Q.set(t,e),t},ee=function(e){return Q.get(e)},te=function(e,t){t>=Z&&(Z=t+1),J.set(e,t),Q.set(t,e)},ne="style["+H+'][data-styled-version="5.3.6"]',re=new RegExp("^"+H+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),oe=function(e,t,n){for(var r,o=n.split(","),i=0,s=o.length;i=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(H))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(H,"active"),r.setAttribute("data-styled-version","5.3.6");var s="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return s&&r.setAttribute("nonce",s),n.insertBefore(r,i),r},ae=function(){function e(e){var t=this.element=se(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),r+=""+a+c+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},e}(),pe=/(a)(d)/gi,he=function(e){return String.fromCharCode(e+(e>25?39:97))};function me(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=he(t%52)+n;return(he(t%52)+n).replace(pe,"$1-$2")}var ye=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ge=function(e){return ye(5381,e)};var be=ge("5.3.6"),ve=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t>>0);if(!t.hasNameForId(r,s)){var a=n(i,"."+s,void 0,r);t.insertRules(r,s,a)}o.push(s),this.staticRulesId=s}else{for(var c=this.rules.length,l=ye(this.baseHash,n.hash),u="",f=0;f>>0);if(!t.hasNameForId(r,m)){var y=n(u,"."+m,void 0,r);t.insertRules(r,m,y)}o.push(m)}}return o.join(" ")},e}(),we=/^\s*\/\/.*$/gm,Se=[":","[",".","#"];var xe=o.default.createContext();xe.Consumer;var ke=o.default.createContext(),Ce=(ke.Consumer,new de),Ae=function(e){var t,n,r,o,i=void 0===e?L:e,s=i.options,a=void 0===s?L:s,c=i.plugins,l=void 0===c?F:c,u=new f(a),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,s,a,c,l,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,r,i){return 0===r&&-1!==Se.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,s,a){void 0===a&&(a="&");var c=e.replace(we,""),l=i&&s?s+" "+i+" { "+c+" }":c;return t=a,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),u(s||!i?"":i,l)}return u.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=l.length?l.reduce((function(e,t){return t.name||W(15),ye(e,t.name)}),5381).toString():"",m}();var Ee=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ae);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return W(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=Ae),this.name+e.hash},e}(),_e=/([A-Z])/,Oe=/([A-Z])/g,je=/^ms-/,$e=function(e){return"-"+e.toLowerCase()};function Pe(e){return _e.test(e)?e.replace(Oe,$e).replace(je,"-ms-"):e}var Ie=function(e){return null==e||!1===e||""===e};function Ne(e,t,n,r){if(Array.isArray(e)){for(var o,s=[],a=0,c=e.length;a1?t-1:0),r=1;r1?t-1:0),s=1;s?@[\\\]^`{|}~-]+/g,Ve=/(^-|-$)/g;function Be(e){return e.replace(ze,"-").replace(Ve,"")}var He=function(e){return me(ge(e)>>>0)};function Ue(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var qe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ge=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ye(e,t,n){var r=e[n];qe(t)&&qe(r)?We(r,t):e[n]=t}function We(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(o[n]=e[n]);return o}(n,["componentId"]),i=t&&t+"-"+(Ue(e)?e:Be(V(e)));return Qe(e,T({},o,{attrs:h,componentId:i}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?We({},e.defaultProps,t):t}}),"production"!==process.env.NODE_ENV&&(Fe(d,p),g.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var i=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+i+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n "),r=!0,n={}}}}(d,p)),g.toString=function(){return"."+g.styledComponentId},s&&R(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Ze=function(e){return function e(t,n,r){if(void 0===r&&(r=L),!i.isValidElementType(n))return W(1,String(n));var o=function(){return t(n,r,Te.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,T({},r,{},o))},o.attrs=function(o){return e(t,n,T({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Qe,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ze[e]=Ze(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var Ke=Ze;const et=/^[a-z0-9]+(-[a-z0-9]+)*$/,tt=(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 e=o.pop(),n=o.pop(),i={provider:o.length>0?o[0]:r,prefix:n,name:e};return t&&!nt(i)?null:i}const i=o[0],s=i.split("-");if(s.length>1){const e={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!nt(e)?null:e}if(n&&""===r){const e={provider:r,prefix:"",name:i};return t&&!nt(e,n)?null:e}return null},nt=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(et)||!(t&&""===e.prefix||e.prefix.match(et))||!e.name.match(et)),rt=Object.freeze({left:0,top:0,width:16,height:16}),ot=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),it=Object.freeze({...rt,...ot}),st=Object.freeze({...it,body:"",hidden:!1});function at(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}(e,t);for(const r in st)r in ot?r in e&&!(r in n)&&(n[r]=ot[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ct(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function s(e){i=at(r[e]||o[e],i)}return s(t),n.forEach(s),at(e,i)}function lt(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),n.push(e)}));const r=function(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);return(t||Object.keys(n).concat(Object.keys(r))).forEach((function e(t){if(n[t])return o[t]=[];if(!(t in o)){o[t]=null;const n=r[t]&&r[t].parent,i=n&&e(n);i&&(o[t]=[n].concat(i))}return o[t]})),o}(e);for(const o in r){const i=r[o];i&&(t(o,ct(e,o,i)),n.push(o))}return n}const ut={provider:"",aliases:{},not_found:{},...rt};function ft(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function dt(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!ft(e,ut))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e.match(et)||"string"!=typeof t.body||!ft(t,st))return null}const r=t.aliases||Object.create(null);for(const e in r){const t=r[e],o=t.parent;if(!e.match(et)||"string"!=typeof o||!n[o]&&!r[o]||!ft(t,st))return null}return t}const pt=Object.create(null);function ht(e,t){const n=pt[e]||(pt[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function mt(e,t){return dt(t)?lt(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}let yt=!1;function gt(e){return"boolean"==typeof e&&(yt=e),yt}function bt(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),yt&&!t&&!e.prefix){let t=!1;return dt(e)&&(e.prefix="",lt(e,((e,n)=>{n&&function(e,t){const n=tt(e,!0,yt);return!!n&&function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch(e){}return!1}(ht(n.provider,n.prefix),n.name,t)}(e,n)&&(t=!0)}))),t}const n=e.prefix;if(!nt({provider:t,prefix:n,name:"a"}))return!1;return!!mt(ht(t,n),e)}const vt=Object.freeze({width:null,height:null}),wt=Object.freeze({...vt,...ot}),St=/(-?[0-9.]*[0-9]+[0-9.]*)/g,xt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function kt(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;const r=e.split(St);if(null===r||!r.length)return e;const o=[];let i=r.shift(),s=xt.test(i);for(;;){if(s){const e=parseFloat(i);isNaN(e)?o.push(i):o.push(Math.ceil(e*t*n)/n)}else o.push(i);if(i=r.shift(),void 0===i)return o.join("");s=!s}}const Ct=e=>"unset"===e||"undefined"===e||"none"===e;const At=/\sid="(\S+)"/g,Et="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let _t=0;function Ot(e,t=Et){const n=[];let r;for(;r=At.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const r="function"==typeof t?t(n):t+(_t++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+r+o+"$3")})),e=e.replace(new RegExp(o,"g"),"")}const jt=Object.create(null);function $t(e){return jt[e]||jt[""]}function Pt(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t 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}}const It=Object.create(null),Nt=["https://api.simplesvg.com","https://api.unisvg.com"],Rt=[];for(;Nt.length>0;)1===Nt.length||Math.random()>.5?Rt.push(Nt.shift()):Rt.push(Nt.pop());function Tt(e,t){const n=Pt(t);return null!==n&&(It[e]=n,!0)}function Mt(e){return It[e]}It[""]=Pt({resources:["https://api.iconify.design"].concat(Rt)});let Dt=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(e){}})();const Ft={prepare:(e,t,n)=>{const r=[],o=function(e,t){const n=Mt(e);if(!n)return 0;let r;if(n.maxURL){let e=0;n.resources.forEach((t=>{const n=t;e=Math.max(e,n.length)}));const o=t+".json?icons=";r=n.maxURL-e-n.path.length-o.length}else r=0;return r}(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return n.forEach(((n,c)=>{a+=n.length+1,a>=o&&c>0&&(r.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=n.length),s.icons.push(n)})),r.push(s),r},send:(e,t,n)=>{if(!Dt)return void n("abort",424);let r=function(e){if("string"==typeof e){const t=Mt(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");r+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let o=503;Dt(e+r).then((e=>{const t=e.status;if(200===t)return o=501,e.json();setTimeout((()=>{n(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{404===e?n("abort",e):n("next",o)}))})).catch((()=>{n("next",o)}))}};function Lt(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}let zt=0;var Vt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Bt(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let t=e.resources.slice(0);for(s=[];t.length>1;){const e=Math.floor(Math.random()*t.length);s.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}s=s.concat(t)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c,l="pending",u=0,f=null,d=[],p=[];function h(){f&&(clearTimeout(f),f=null)}function m(){"pending"===l&&(l="aborted"),h(),d.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),d=[]}function y(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function g(){l="failed",p.forEach((e=>{e(void 0,c)}))}function b(){d.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),d=[]}function v(){if("pending"!==l)return;h();const r=s.shift();if(void 0===r)return d.length?void(f=setTimeout((()=>{h(),"pending"===l&&(b(),g())}),e.timeout)):void g();const o={status:"pending",resource:r,callback:(t,n)=>{!function(t,n,r){const o="success"!==n;switch(d=d.filter((e=>e!==t)),l){case"pending":break;case"failed":if(o||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return c=r,void g();if(o)return c=r,void(d.length||(s.length?v():g()));if(h(),b(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",p.forEach((e=>{e(r)}))}(o,t,n)}};d.push(o),u++,f=setTimeout(v,e.rotate),n(r,t,o.callback)}return"function"==typeof r&&p.push(r),setTimeout(v),function(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:d.length,subscribe:y,abort:m}}}function Ht(e){const t={...Vt,...e};let n=[];function r(){n=n.filter((e=>"pending"===e().status))}return{query:function(e,o,i){const s=Bt(t,e,o,((e,t)=>{r(),i&&i(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 Ut(){}const qt=Object.create(null);function Gt(e,t,n){let r,o;if("string"==typeof e){const t=$t(e);if(!t)return n(void 0,424),Ut;o=t.send;const i=function(e){if(!qt[e]){const t=Mt(e);if(!t)return;const n={config:t,redundancy:Ht(t)};qt[e]=n}return qt[e]}(e);i&&(r=i.redundancy)}else{const t=Pt(e);if(t){r=Ht(t);const n=$t(e.resources?e.resources[0]:"");n&&(o=n.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),Ut)}const Yt="iconify2",Wt="iconify",Xt=Wt+"-count",Jt=Wt+"-version",Qt=36e5,Zt=168;function Kt(e,t){try{return e.getItem(t)}catch(e){}}function en(e,t,n){try{return e.setItem(t,n),!0}catch(e){}}function tn(e,t){try{e.removeItem(t)}catch(e){}}function nn(e,t){return en(e,Xt,t.toString())}function rn(e){return parseInt(Kt(e,Xt))||0}const on={local:!0,session:!0},sn={local:new Set,session:new Set};let an=!1;let cn="undefined"==typeof window?{}:window;function ln(e){const t=e+"Storage";try{if(cn&&cn[t]&&"number"==typeof cn[t].length)return cn[t]}catch(e){}on[e]=!1}function un(e,t){const n=ln(e);if(!n)return;const r=Kt(n,Jt);if(r!==Yt){if(r){const e=rn(n);for(let t=0;t{const r=Wt+e.toString(),i=Kt(n,r);if("string"==typeof i){try{const n=JSON.parse(i);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>o&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch(e){}tn(n,r)}};let s=rn(n);for(let t=s-1;t>=0;t--)i(t)||(t===s-1?(s--,nn(n,s)):sn[e].add(t))}function fn(){if(!an){an=!0;for(const e in on)un(e,(e=>{const t=e.data,n=ht(e.provider,t.prefix);if(!mt(n,t).length)return!1;const r=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,r):r,!0}))}}function dn(e,t){function n(n){let r;if(!on[n]||!(r=ln(n)))return;const o=sn[n];let i;if(o.size)o.delete(i=Array.from(o).shift());else if(i=rn(r),!nn(r,i+1))return;const s={cached:Math.floor(Date.now()/Qt),provider:e.provider,data:t};return en(r,Wt+i.toString(),JSON.stringify(s))}an||fn(),t.lastModified&&!function(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const n in on)un(n,(n=>{const r=n.data;return n.provider!==e.provider||r.prefix!==e.prefix||r.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}function pn(){}function hn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach((t=>{const i=t.icons,s=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==o)return!0;const s=t.name;if(e.icons[s])i.loaded.push({provider:r,prefix:o,name:s});else{if(!e.missing.has(s))return n=!0,!0;i.missing.push({provider:r,prefix:o,name:s})}return!1})),i.pending.length!==s&&(n||Lt([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}(e)})))}const mn=(e,t)=>{const n=function(e,t=!0,n=!1){const r=[];return e.forEach((e=>{const o="string"==typeof e?tt(e,t,n):e;o&&r.push(o)})),r}(e,!0,gt()),r=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.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)));let r={provider:"",prefix:"",name:""};return e.forEach((e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const o=e.provider,i=e.prefix,s=e.name,a=n[o]||(n[o]=Object.create(null)),c=a[i]||(a[i]=ht(o,i));let l;l=s in c.icons?t.loaded:""===i||c.missing.has(s)?t.missing:t.pending;const u={provider:o,prefix:i,name:s};l.push(u)})),t}(n);if(!r.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(r.loaded,r.missing,r.pending,pn)})),()=>{e=!1}}const o=Object.create(null),i=[];let s,a;return r.pending.forEach((e=>{const{provider:t,prefix:n}=e;if(n===a&&t===s)return;s=t,a=n,i.push(ht(t,n));const r=o[t]||(o[t]=Object.create(null));r[n]||(r[n]=[])})),r.pending.forEach((e=>{const{provider:t,prefix:n,name:r}=e,i=ht(t,n),s=i.pendingIcons||(i.pendingIcons=new Set);s.has(r)||(s.add(r),o[t][n].push(r))})),i.forEach((e=>{const{provider:t,prefix:n}=e;o[t][n].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,r=e.iconsToLoad;let o;delete e.iconsToLoad,r&&(o=$t(t))&&o.prepare(t,n,r).forEach((n=>{Gt(t,n,(t=>{if("object"!=typeof t)n.icons.forEach((t=>{e.missing.add(t)}));else try{const n=mt(e,t);if(!n.length)return;const r=e.pendingIcons;r&&n.forEach((e=>{r.delete(e)})),dn(e,t)}catch(e){console.error(e)}hn(e)}))}))})))}(e,o[t][n])})),t?function(e,t,n){const r=zt++,o=Lt.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),o}(t,r,i):pn};const yn=/[\s,]+/;function gn(e,t){t.split(yn).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function bn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===n){const 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 o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o/=t,o%1==0?r(o):0)}}return t}const vn={...wt,inline:!1},wn={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Sn={display:"inline-block"},xn={backgroundColor:"currentColor"},kn={backgroundColor:"transparent"},Cn={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},An={webkitMask:xn,mask:xn,background:kn};for(const e in An){const t=An[e];for(const n in Cn)t[e+n]=Cn[n]}const En={...vn,inline:!0};function _n(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const On=(e,t,n,r)=>{const i=n?En:vn,s=function(e,t){const n={...e};for(const e in t){const r=t[e],o=typeof r;e in vt?(null===r||r&&("string"===o||"number"===o))&&(n[e]=r):o===typeof n[e]&&(n[e]="rotate"===e?r%4:r)}return n}(i,t),a=t.mode||"svg",c={},l=t.style||{},u={..."svg"===a?wn:{},ref:r};for(let e in t){const n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":s[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&gn(s,n);break;case"color":c.color=n;break;case"rotate":"string"==typeof n?s[e]=bn(n):"number"==typeof n&&(s[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete u["aria-hidden"];break;default:void 0===i[e]&&(u[e]=n)}}const f=function(e,t){const n={...it,...e},r={...wt,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach((e=>{const t=[],n=e.hFlip,r=e.vFlip;let s,a=e.rotate;switch(n?r?a+=2:(t.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),t.push("scale(-1 1)"),o.top=o.left=0):r&&(t.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),t.push("scale(1 -1)"),o.top=o.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:s=o.height/2+o.top,t.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:t.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:s=o.width/2+o.left,t.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")")}a%2==1&&(o.left!==o.top&&(s=o.left,o.left=o.top,o.top=s),o.width!==o.height&&(s=o.width,o.width=o.height,o.height=s)),t.length&&(i=''+i+"")}));const s=r.width,a=r.height,c=o.width,l=o.height;let u,f;null===s?(f=null===a?"1em":"auto"===a?l:a,u=kt(f,c/l)):(u="auto"===s?c:s,f=null===a?kt(u,l/c):"auto"===a?l:a);const d={},p=(e,t)=>{Ct(t)||(d[e]=t.toString())};return p("width",u),p("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:i}}(e,s),d=f.attributes;if(s.inline&&(c.verticalAlign="-0.125em"),"svg"===a){u.style={...c,...l},Object.assign(u,d);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),u.dangerouslySetInnerHTML={__html:Ot(f.body,n?()=>n+"ID"+e++:"iconifyReact")},o.default.createElement("svg",u)}const{body:p,width:h,height:m}=e,y="mask"===a||"bg"!==a&&-1!==p.indexOf("currentColor"),g=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'"+e+""}(p,{...d,width:h+"",height:m+""});var b;return u.style={...c,"--svg":(b=g,'url("data:image/svg+xml,'+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}(b)+'")'),width:_n(d.width),height:_n(d.height),...Sn,...y?xn:kn,...l},o.default.createElement("span",u)};var jn;if(gt(!0),jn=Ft,jt[""]=jn,"undefined"!=typeof document&&"undefined"!=typeof window){fn();const e=window;if(void 0!==e.IconifyPreload){const 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||!bt(e))&&console.error(n)}catch(e){console.error(n)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;Tt(e,r)||console.error(n)}catch(e){console.error(n)}}}}class $n extends o.default.Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){const t=this.state,n=this.props.icon;if("object"==typeof n&&null!==n&&"string"==typeof n.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:n}));let r;if("string"!=typeof n||null===(r=tt(n,!1,!0)))return this._abortLoading(),void this._setData(null);const o=function(e){const t="string"==typeof e?tt(e,!0,yt):e;if(t){const e=ht(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}(r);if(o){if(this._icon!==n||null===t.icon){this._abortLoading(),this._icon=n;const e=["iconify"];""!==r.prefix&&e.push("iconify--"+r.prefix),""!==r.provider&&e.push("iconify--"+r.provider),this._setData({data:o,classes:e}),this.props.onLoad&&this.props.onLoad(n)}}else this._loading&&this._loading.name===n||(this._abortLoading(),this._icon="",this._setData(null),null!==o&&(this._loading={name:n,abort:mn([r],this._checkIcon.bind(this,!1))}))}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const e=this.props,t=this.state.icon;if(null===t)return e.children?e.children:o.default.createElement("span",{});let n=e;return t.classes&&(n={...e,className:("string"==typeof e.className?e.className+" ":"")+t.classes.join(" ")}),On({...it,...t.data},n,e._inline,e._ref)}}const Pn=o.default.forwardRef((function(e,t){const n={...e,_ref:t,_inline:!1};return o.default.createElement($n,n)}));o.default.forwardRef((function(e,t){const n={...e,_ref:t,_inline:!0};return o.default.createElement($n,n)}));const In=["material-symbols:account-balance","material-symbols:add-shopping-cart","material-symbols:account-tree-outline","material-symbols:account-balance-wallet-outline-rounded","material-symbols:attach-money","material-symbols:card-travel-outline","material-symbols:contactless","material-symbols:paid","material-symbols:account-balance","material-symbols:add-shopping-cart","material-symbols:account-tree-outline","material-symbols:account-balance-wallet-outline-rounded","material-symbols:attach-money","material-symbols:card-travel-outline","material-symbols:contactless","material-symbols:paid","material-symbols:account-balance","material-symbols:add-shopping-cart","material-symbols:account-tree-outline","material-symbols:account-balance-wallet-outline-rounded","material-symbols:attach-money","material-symbols:card-travel-outline","material-symbols:contactless","material-symbols:paid","material-symbols:account-balance","material-symbols:add-shopping-cart","material-symbols:account-tree-outline","material-symbols:account-balance-wallet-outline-rounded","material-symbols:attach-money","material-symbols:card-travel-outline","material-symbols:contactless","material-symbols:paid","material-symbols:account-balance","material-symbols:add-shopping-cart","material-symbols:account-tree-outline","material-symbols:account-balance-wallet-outline-rounded","material-symbols:attach-money","material-symbols:card-travel-outline","material-symbols:contactless","material-symbols:paid"],Nn=Ke.div` position: relative; display: inline-block; `,Rn=Ke.div` cursor: pointer; `,Tn=Ke.div` display: ${e=>e.visible?"block":"none"}; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; padding: 0px; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.4); `,Mn=Ke.div` background-color: #fefefe; margin: 15% auto; border: 1px solid #888; min-width: 320px; width: 23%; height: 220px; padding: 0px; `,Dn=Ke.div` text-align: right; height: 16px; padding: 4px; margin: auto; border-bottom: 1px solid #ddd; `,Fn=Ke.span` color: #aaa; font-size: 28px; line-height: 16px; font-family: sans-serif; &:hover, &:focus { color: black; text-decoration: none; cursor: pointer; } `,Ln=Ke.div` height: calc(100% - 16px - 8px); overflow-y: auto; text-align: center; `,zn=Ke.span` color: gray; cursor: pointer; margin: 5px; &:hover { color: ${e=>e.color?e.color:"blue"}; } `;exports.IconifyList=function({provider:n="mdi",sizeButton:r="28",color:o="#000",iconList:i=In,icon:s=In[0],onChange:a,showHint:c=!1}){const[l,u]=t.useState(!1),[f,d]=t.useState(i),[p,h]=t.useState(s),[m,y]=t.useState(!1),[g,b]=t.useState(""),v=()=>{c&&y(!1)};return e.jsx(e.Fragment,{children:e.jsxs(Nn,{children:[e.jsx(Rn,Object.assign({onClick:()=>u((e=>!e)),style:{width:r,height:r}},{children:e.jsx(Pn,{icon:p,width:r,height:r,color:o})})),e.jsx(Tn,Object.assign({visible:l,onClick:e=>{u(!1)}},{children:e.jsxs(Mn,Object.assign({onClick:e=>e.stopPropagation()},{children:[e.jsxs(Dn,{children:[c&&m&&g,e.jsx(Fn,Object.assign({onClick:()=>u(!1)},{children:"×"}))]}),e.jsx(Ln,{children:f.map(((t,n)=>e.jsx(zn,Object.assign({color:o},{children:e.jsx(Pn,{icon:t,width:"32",height:"32",onClick:e=>(e=>{h(e),u(!1),a(e)})(t),onMouseEnter:()=>(e=>{c&&(y(!0),b(e))})(t),onMouseLeave:v})}))))})]}))}),"teste")]})})}; //# sourceMappingURL=index.ts.map